diff options
Diffstat (limited to 'testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/001-1.html')
-rw-r--r-- | testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/001-1.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/001-1.html b/testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/001-1.html new file mode 100644 index 000000000..df8d884e8 --- /dev/null +++ b/testing/web-platform/tests/html/browsers/browsing-the-web/navigating-across-documents/001-1.html @@ -0,0 +1,7 @@ +<!doctype html> +001-1 +<script> +addEventListener("unload", function() { + location = location.href.replace("http://", "http://www.").replace(/\d{3}-\d\.html/, "001-3.html"); +}, false); +</script> |