js/xpconnect/crashtests/418139-1.svg

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 <svg xmlns="http://www.w3.org/2000/svg" 
     2      xmlns:xlink="http://www.w3.org/1999/xlink" 
     3      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
     4      onload="boom();">
     6 <script type="text/javascript">
     8 function boom()
     9 {
    10   document.getElementById("b").style.position = "absolute";
    11   document.getElementById("a").style.color = "green";
    12 }
    14 </script>
    16 <defs>
    17   <g id="a"><xul:listbox/></g>
    18 </defs>
    20 <g id="b"><use xlink:href="#a"/></g>
    22 </svg>

mercurial