browser/components/sessionstore/test/browser_739531_sample.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!-- originally a crash test for bug 713417
     2      https://bug713417.bugzilla.mozilla.org/attachment.cgi?id=584240 -->
     3 <!DOCTYPE html>
     4 <html>
     5 <head>
     6 <meta charset="utf-8">
     7 <script>
     9 function boom()
    10 {
    11   var w = document.getElementById("f").contentWindow;
    12   var d = w.document;
    13   d.designMode = 'on';
    14   var r = d.documentElement;
    15   d.removeChild(r);
    16   document.adoptNode(r);
    17 }
    19 </script>
    20 </head>
    21 <body onload="boom();">
    22 <iframe src="data:text/html;charset=utf-8,1" id="f"></iframe>
    23 </body>
    24 </html>

mercurial