summaryrefslogtreecommitdiffstats
path: root/browser/components/sessionstore/test/browser_739531_sample.html
blob: e6c48ff26c798a8abad75b60c282203dbe053f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- originally a crash test for bug 713417
     https://bug713417.bugzilla.mozilla.org/attachment.cgi?id=584240 -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script>

function boom() {
  var w = document.getElementById("f").contentWindow;
  var d = w.document;
  d.designMode = "on";
  var r = d.documentElement;
  d.removeChild(r);
  document.adoptNode(r);
}

</script>
</head>
<body onload="boom();">
<iframe src="browser_739531_frame.html" id="f"></iframe>
</body>
</html>