browser/components/sessionstore/test/browser_739531_sample.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/components/sessionstore/test/browser_739531_sample.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!-- originally a crash test for bug 713417
     1.5 +     https://bug713417.bugzilla.mozilla.org/attachment.cgi?id=584240 -->
     1.6 +<!DOCTYPE html>
     1.7 +<html>
     1.8 +<head>
     1.9 +<meta charset="utf-8">
    1.10 +<script>
    1.11 +
    1.12 +function boom()
    1.13 +{
    1.14 +  var w = document.getElementById("f").contentWindow;
    1.15 +  var d = w.document;
    1.16 +  d.designMode = 'on';
    1.17 +  var r = d.documentElement;
    1.18 +  d.removeChild(r);
    1.19 +  document.adoptNode(r);
    1.20 +}
    1.21 +
    1.22 +</script>
    1.23 +</head>
    1.24 +<body onload="boom();">
    1.25 +<iframe src="data:text/html;charset=utf-8,1" id="f"></iframe>
    1.26 +</body>
    1.27 +</html>
    1.28 +

mercurial