Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 <?xml version="1.0" encoding="UTF-8"?>
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 <!DOCTYPE html [
8 <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> %htmlDTD;
9 <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd"> %globalDTD;
10 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> %brandDTD;
11 <!ENTITY % aboutSupportDTD SYSTEM "chrome://global/locale/aboutSupport.dtd"> %aboutSupportDTD;
12 <!ENTITY % resetProfileDTD SYSTEM "chrome://global/locale/resetProfile.dtd"> %resetProfileDTD;
13 ]>
15 <html xmlns="http://www.w3.org/1999/xhtml">
16 <head>
17 <title>&aboutSupport.pageTitle;</title>
19 <link rel="icon" type="image/png" id="favicon"
20 href="chrome://branding/content/icon32.png"/>
21 <link rel="stylesheet" href="chrome://global/skin/aboutSupport.css"
22 type="text/css"/>
24 <script type="application/javascript;version=1.7"
25 src="chrome://global/content/aboutSupport.js"/>
26 <script type="application/javascript;version=1.7"
27 src="chrome://global/content/resetProfile.js"/>
28 </head>
30 <body dir="&locale.dir;">
32 <div id="reset-box">
33 <h3>&resetProfile.title;</h3>
34 <p>&resetProfile.description;</p>
35 <button id="reset-box-button">
36 &resetProfile.button.label2;
37 </button>
38 </div>
40 <h1>
41 &aboutSupport.pageTitle;
42 </h1>
44 <div class="page-subtitle">
45 &aboutSupport.pageSubtitle;
46 </div>
48 <div>
49 <button id="copy-raw-data-to-clipboard">
50 &aboutSupport.copyRawDataToClipboard.label;
51 </button>
52 <button id="copy-to-clipboard">
53 &aboutSupport.copyTextToClipboard.label;
54 </button>
55 </div>
57 <div id="contents">
59 <!-- - - - - - - - - - - - - - - - - - - - - -->
61 <h2 class="major-section">
62 &aboutSupport.appBasicsTitle;
63 </h2>
65 <table>
66 <tbody>
67 <tr>
68 <th class="column">
69 &aboutSupport.appBasicsName;
70 </th>
72 <td id="application-box">
73 </td>
74 </tr>
76 <tr>
77 <th class="column">
78 &aboutSupport.appBasicsVersion;
79 </th>
81 <td id="version-box">
82 </td>
83 </tr>
85 #ifndef ANDROID
86 <tr class="no-copy">
87 <th class="column">
88 &aboutSupport.appBasicsUpdateHistory;
89 </th>
91 <td>
92 <button id="show-update-history-button">
93 &aboutSupport.appBasicsShowUpdateHistory;
94 </button>
95 </td>
96 </tr>
97 #endif
99 <tr>
100 <th class="column">
101 &aboutSupport.appBasicsUserAgent;
102 </th>
104 <td id="useragent-box">
105 </td>
106 </tr>
108 <tr id="profile-row" class="no-copy">
109 <th class="column">
110 #ifdef XP_WIN
111 &aboutSupport.appBasicsProfileDirWinMac;
112 #else
113 #ifdef XP_MACOSX
114 &aboutSupport.appBasicsProfileDirWinMac;
115 #else
116 &aboutSupport.appBasicsProfileDir;
117 #endif
118 #endif
119 </th>
121 <td>
122 <button id="profile-dir-button">
123 #ifdef XP_WIN
124 &aboutSupport.showWin.label;
125 #else
126 #ifdef XP_MACOSX
127 &aboutSupport.showMac.label;
128 #else
129 &aboutSupport.showDir.label;
130 #endif
131 #endif
132 </button>
133 </td>
134 </tr>
136 <tr class="no-copy">
137 <th class="column">
138 &aboutSupport.appBasicsEnabledPlugins;
139 </th>
141 <td>
142 <a href="about:plugins">about:plugins</a>
143 </td>
144 </tr>
146 <tr class="no-copy">
147 <th class="column">
148 &aboutSupport.appBasicsBuildConfig;
149 </th>
151 <td>
152 <a href="about:buildconfig">about:buildconfig</a>
153 </td>
154 </tr>
156 <tr class="no-copy">
157 <th class="column">
158 &aboutSupport.appBasicsMemoryUse;
159 </th>
161 <td>
162 <a href="about:memory">about:memory</a>
163 </td>
164 </tr>
166 </tbody>
167 </table>
169 <!-- - - - - - - - - - - - - - - - - - - - - -->
170 #ifdef MOZ_CRASHREPORTER
172 <h2 class="major-section" id="crashes-title">
173 &aboutSupport.crashes.title;
174 </h2>
176 <table id="crashes-table">
177 <thead>
178 <tr>
179 <th>
180 &aboutSupport.crashes.id;
181 </th>
182 <th>
183 &aboutSupport.crashes.sendDate;
184 </th>
185 </tr>
186 </thead>
187 <tbody id="crashes-tbody">
188 </tbody>
189 </table>
190 <p id="crashes-allReports" class="hidden no-copy">
191 <a href="about:crashes" id="crashes-allReportsWithPending" class="block">&aboutSupport.crashes.allReports;</a>
192 </p>
193 <p id="crashes-noConfig" class="hidden no-copy">&aboutSupport.crashes.noConfig;</p>
195 #endif
196 <!-- - - - - - - - - - - - - - - - - - - - - -->
198 <h2 class="major-section">
199 &aboutSupport.extensionsTitle;
200 </h2>
202 <table>
203 <thead>
204 <tr>
205 <th>
206 &aboutSupport.extensionName;
207 </th>
208 <th>
209 &aboutSupport.extensionVersion;
210 </th>
211 <th>
212 &aboutSupport.extensionEnabled;
213 </th>
214 <th>
215 &aboutSupport.extensionId;
216 </th>
217 </tr>
218 </thead>
219 <tbody id="extensions-tbody">
220 </tbody>
221 </table>
223 <!-- - - - - - - - - - - - - - - - - - - - - -->
225 <h2 class="major-section">
226 &aboutSupport.graphicsTitle;
227 </h2>
229 <table>
230 <tbody id="graphics-tbody">
231 </tbody>
233 <tbody id="graphics-info-properties">
234 </tbody>
236 <tbody id="graphics-failures-tbody">
237 </tbody>
238 </table>
240 <!-- - - - - - - - - - - - - - - - - - - - - -->
242 <h2 class="major-section">
243 &aboutSupport.modifiedKeyPrefsTitle;
244 </h2>
246 <table class="prefs-table">
247 <thead class="no-copy">
248 <th class="name">
249 &aboutSupport.modifiedPrefsName;
250 </th>
252 <th class="value">
253 &aboutSupport.modifiedPrefsValue;
254 </th>
255 </thead>
257 <tbody id="prefs-tbody">
258 </tbody>
259 </table>
261 <section id="prefs-user-js-section" class="hidden no-copy">
262 <h3>&aboutSupport.userJSTitle;</h3>
263 <p>&aboutSupport.userJSDescription;</p>
264 </section>
266 <!-- - - - - - - - - - - - - - - - - - - - - -->
267 <h2 class="major-section">
268 &aboutSupport.jsTitle;
269 </h2>
271 <table>
272 <tbody>
273 <tr>
274 <th class="column">
275 &aboutSupport.jsIncrementalGC;
276 </th>
278 <td id="javascript-incremental-gc">
279 </td>
280 </tr>
281 </tbody>
282 </table>
284 <!-- - - - - - - - - - - - - - - - - - - - - -->
285 <h2 class="major-section">
286 &aboutSupport.a11yTitle;
287 </h2>
289 <table>
290 <tbody>
291 <tr>
292 <th class="column">
293 &aboutSupport.a11yActivated;
294 </th>
296 <td id="a11y-activated">
297 </td>
298 </tr>
299 <tr>
300 <th class="column">
301 &aboutSupport.a11yForceDisabled;
302 </th>
304 <td id="a11y-force-disabled">
305 </td>
306 </tr>
307 </tbody>
308 </table>
310 <!-- - - - - - - - - - - - - - - - - - - - - -->
311 <h2 class="major-section">
312 &aboutSupport.libraryVersionsTitle;
313 </h2>
315 <table>
316 <tbody id="libversions-tbody">
317 </tbody>
318 </table>
321 <h2 class="major-section">
322 &aboutSupport.experimentsTitle;
323 </h2>
325 <table>
326 <thead>
327 <tr>
328 <th>
329 &aboutSupport.experimentName;
330 </th>
331 <th>
332 &aboutSupport.experimentId;
333 </th>
334 <th>
335 &aboutSupport.experimentDescription;
336 </th>
337 <th>
338 &aboutSupport.experimentActive;
339 </th>
340 <th>
341 &aboutSupport.experimentEndDate;
342 </th>
343 <th>
344 &aboutSupport.experimentHomepage;
345 </th>
346 </tr>
347 </thead>
348 <tbody id="experiments-tbody">
349 </tbody>
350 </table>
351 <!-- - - - - - - - - - - - - - - - - - - - - -->
353 </div>
355 </body>
357 </html>