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"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
7 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
8 [
9 <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
10 <!ENTITY % crashesDTD SYSTEM "chrome://global/locale/crashes.dtd">
11 %globalDTD;
12 %crashesDTD;
13 ]>
15 <html xmlns="http://www.w3.org/1999/xhtml">
16 <head>
17 <style type="text/css">
18 :root {
19 font-family: sans-serif;
20 }
21 table {
22 padding-bottom: 2em;
23 }
24 th {
25 text-align: left;
26 white-space: nowrap;
27 }
28 th[chromedir="rtl"] {
29 text-align: right;
30 }
31 /* name */
32 th:first-child {
33 -moz-padding-end: 2em;
34 }
35 :link, :visited {
36 display: block;
37 min-height: 17px;
38 }
39 /* date */
40 td:first-child + td {
41 -moz-padding-start: 1em;
42 -moz-padding-end: .5em;
43 white-space: nowrap;
44 }
45 /* time */
46 td:last-child {
47 -moz-padding-start: .5em;
48 white-space: nowrap;
49 }
51 #clear-reports {
52 float: right;
53 }
54 #clear-reports[chromedir="rtl"] {
55 float: left;
56 }
58 .submitting {
59 background-image: url(chrome://global/skin/icons/loading_16.png);
60 background-repeat: no-repeat;
61 background-position: right;
62 }
63 </style>
64 <link rel="stylesheet" media="screen, projection" type="text/css"
65 href="chrome://global/skin/dirListing/dirListing.css"/>
66 <script type="application/javascript;version=1.8" src="chrome://global/content/crashes.js"/>
68 <title>&crashes.title;</title>
69 </head><body onload="populateReportList()" dir="&locale.dir;">
70 <button chromedir="&locale.dir;" id="clear-reports"
71 onclick="clearReports().then(null, Cu.reportError)">&clearAllReports.label;</button>
72 <h1>&crashes.title;</h1>
73 <div id="reportList">
74 <table>
75 <thead>
76 <tr>
77 <th chromedir="&locale.dir;">&id.heading;</th>
78 <th chromedir="&locale.dir;" colspan="2">&date.heading;</th>
79 </tr>
80 </thead>
81 <tbody id="tbody">
82 </tbody>
83 </table>
84 </div>
85 <p id="noReports" style="display: none">&noReports.label;</p>
86 <p id="noConfig" style="display: none">&noConfig.label;</p>
87 </body>
88 </html>