dom/smil/crashtests/541297-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 <?xml version="1.0" encoding="UTF-8"?>
     2 <svg xmlns="http://www.w3.org/2000/svg"><svg id="w"><animate/></svg><script type="text/javascript">
     3 <![CDATA[
     5 function boom()
     6 {
     7   anim = document.createElementNS("http://www.w3.org/2000/svg", "animate");
     8   document.documentElement.appendChild(anim);
     9   document.documentElement.removeChild(anim);
    11   setTimeout(t, 0);
    13   function t()
    14   {
    15     document.getElementById("w").appendChild(anim);
    16   }
    17 }
    19 window.addEventListener("load", boom, false);
    21 ]]>
    22 </script></svg>

mercurial