diff options
Diffstat (limited to 'testing/web-platform/tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1-1.html')
-rw-r--r-- | testing/web-platform/tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1-1.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1-1.html b/testing/web-platform/tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1-1.html new file mode 100644 index 0000000000..70d946c818 --- /dev/null +++ b/testing/web-platform/tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1-1.html @@ -0,0 +1,9 @@ +<!doctype html> +2 +<script> + onunload = function() {} + opener.pages.push(2); + onload = function() { + document.write("<!doctype html>3<script>opener.pages.push(3); if(!opener.started) {opener.started = true; history.go(-1);}<\/script>"); + } +</script> |