diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wpt/mozilla/meta/MANIFEST.json | 6 | ||||
-rw-r--r-- | tests/wpt/mozilla/tests/mozilla/follow-hyperlink.html | 17 |
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index c723119186e..d0b6512b141 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -539,6 +539,12 @@ "url": "/_mozilla/mozilla/focus_blur.html" } ], + "mozilla/follow-hyperlink.html": [ + { + "path": "mozilla/follow-hyperlink.html", + "url": "/_mozilla/mozilla/follow-hyperlink.html" + } + ], "mozilla/getBoundingClientRect.html": [ { "path": "mozilla/getBoundingClientRect.html", diff --git a/tests/wpt/mozilla/tests/mozilla/follow-hyperlink.html b/tests/wpt/mozilla/tests/mozilla/follow-hyperlink.html new file mode 100644 index 00000000000..6ac9eaeb581 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/follow-hyperlink.html @@ -0,0 +1,17 @@ +<!doctype html> +<meta charset=utf-8> +<title>Following hyperlinks</title> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<div id=log></div> +<p><a id=link href="http://:">test</a></p> +<script> +async_test(function(t) { + var a = document.getElementById("link"); + a.click(); + setTimeout(function() { + // Don't crash. + t.done(); + }, 0); +}); +</script> |