summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/resources/window-close-during-parsing-popup1.html
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/manual-tests/resources/window-close-during-parsing-popup1.html')
-rw-r--r--Source/WebCore/manual-tests/resources/window-close-during-parsing-popup1.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/resources/window-close-during-parsing-popup1.html b/Source/WebCore/manual-tests/resources/window-close-during-parsing-popup1.html
new file mode 100644
index 0000000..249cea8
--- /dev/null
+++ b/Source/WebCore/manual-tests/resources/window-close-during-parsing-popup1.html
@@ -0,0 +1,11 @@
+<html>
+<body onload="alert('FAIL: onload fired')" onunload="alert('FAIL: onunload fired')">
+<script>
+window.close();
+alert('PASS: same script tag after close');
+</script>
+<script>
+alert('FAIL: different script tag after close');
+</script>
+</body>
+</html>