content/base/test/reftest/test_bug920877-ref.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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 <html>
     2 <body>
     3 <script>
     4 var img = document.createElement("img");
     5 img.id = "img-ori";
     6 img.src = "mixed-bmp-png.ico";
     7 document.body.appendChild(img);
     9 img = document.createElement("img");
    10 img.id = "img-res32";
    11 img.src = "mixed-bmp-png.ico#-moz-resolution=32,32";
    12 document.body.appendChild(img);
    14 img = document.createElement("img");
    15 img.id = "img-res48";
    16 img.src = "mixed-bmp-png.ico#-moz-resolution=48,48";
    17 document.body.appendChild(img);
    18 </script>
    19 </body>
    20 </html>

mercurial