summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/websockets/unload-a-document/001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/websockets/unload-a-document/001.html')
-rw-r--r--testing/web-platform/tests/websockets/unload-a-document/001.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/websockets/unload-a-document/001.html b/testing/web-platform/tests/websockets/unload-a-document/001.html
index d949b6eba..56e883c64 100644
--- a/testing/web-platform/tests/websockets/unload-a-document/001.html
+++ b/testing/web-platform/tests/websockets/unload-a-document/001.html
@@ -20,6 +20,6 @@ t.step(function() {
});
});
navigate = t.step_func(function() {
- w.location = 'data:text/html,<body onload="history.back()">';
+ w.location = w.location.href.replace("001-1.html", "001-2.html");
});
</script>