Permalink
Browse files

Bug 713417 - Crash test.

  • Loading branch information...
1 parent 01b6ae9 commit c26466922755a2473ae53620d33ae1015fee712f @jruderman jruderman committed Dec 26, 2011
Showing with 23 additions and 0 deletions.
  1. +23 −0 content/base/crashtests/713417.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function boom()
+{
+ var f = document.getElementById("f");
+ var w = f.contentWindow;
+ var d = w.document;
+ d.designMode = 'on';
+ var r = d.documentElement;
+ d.removeChild(r);
+ document.adoptNode(r);
+ f.parentNode.removeChild(f);
+}
+
+</script>
+</head>
+<body onload="boom();">
+<iframe src="data:text/html,1" id="f"></iframe>
+</body>
+</html>

0 comments on commit c264669

Please sign in to comment.