gfx/tests/crashtests/815489.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 ><textarea></textarea><audio id=test1 style="cue-after: none; margin: 8508em -189em 182; ">><style>
michael@0 2 * { azimuth: behind; -moz-transform: skewy(86deg); }
michael@0 3 @-moz-keyframes cfpulse0 { 0% { opacity: 0.3175; transform: rotatex(67166.5665591deg); box-shadow: 167px 0px 8px ivory; quotes: "" "‹" "›"; } }
michael@0 4 * { -moz-animation-name: cfpulse0; -moz-animation-duration: 5s; background-color: -moz-buttonhoverface;</style><script>
michael@0 5 var docElement = document.body ? document.body : document.documentElement;
michael@0 6 function initCF() {
michael@0 7 try { test2 = document.createElementNS("http://www.w3.org/1999/xhtml", "tbody"); } catch(e) {}
michael@0 8 try { docElement.appendChild(test2); } catch(e) {}
michael@0 9 setTimeout("CFcrash()", 192);
michael@0 10 }
michael@0 11 document.addEventListener("DOMContentLoaded", initCF, false);
michael@0 12 function CFcrash() {
michael@0 13 try { test1.style.display = "table-column" } catch(e) {}
michael@0 14 setTimeout('try { var x = new XSLTProcessor(); x.transformToDocument(test1); } catch(e) {}', 205);
michael@0 15 setTimeout('try { docElement.appendChild(test1); } catch(e) {}', 391);
michael@0 16 try { test2.classList.add("not-exist"); } catch(e) {}
michael@0 17 }</script>>

mercurial