summaryrefslogtreecommitdiffstats
path: root/dom/bindings/crashtests/949940.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/bindings/crashtests/949940.html')
-rw-r--r--dom/bindings/crashtests/949940.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/dom/bindings/crashtests/949940.html b/dom/bindings/crashtests/949940.html
new file mode 100644
index 000000000..7f20085fe
--- /dev/null
+++ b/dom/bindings/crashtests/949940.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<script>
+function boom()
+{
+ var frameWin = document.getElementById("f").contentWindow;
+ Object.create(frameWin).self;
+}
+</script>
+</head>
+<body onload="boom()">
+<iframe id="f" src="data:text/html,3"></iframe>
+</body>
+</html>