gfx/tests/crashtests/483120-1.xhtml

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 xmlns="http://www.w3.org/1999/xhtml" style="font-family: monospace;">
     2 <head>
     4 <bindings xmlns="http://www.mozilla.org/xbl">
     5   <binding id="w"><content><div xmlns="http://www.w3.org/1999/xhtml"><children xmlns="http://www.mozilla.org/xbl"/></div></content></binding>
     6   <binding id="empty"><content/></binding>
     7 </bindings>
     9 <script type="text/javascript">
    11 function boom()
    12 {
    13   document.createElementNS("http://www.w3.org/2000/svg", "rect");
    14   document.getElementById("d").previousSibling.data += "C";
    15   document.getElementById("d").style.MozBinding = "url('#empty')";
    16 }
    18 </script>
    20 </head>
    22 <body onload="boom();"><span>A&#x202E;<span style="-moz-binding: url('#w');"></span>B<span id="d" style="font-size: 80%; color: green;">D</span></span></body>
    23 </html>

mercurial