Index: LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/location_assign.html |
diff --git a/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/location_assign.html b/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/location_assign.html |
index 5ec146f970c5746d1068b34c2ac818f53814713f..f86177b85e77fbdd7696aa45bbc6dac7b6e91fd6 100644 |
--- a/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/location_assign.html |
+++ b/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/location_assign.html |
@@ -15,6 +15,12 @@ |
assert_equals((href + "#x"), location.href, "location href"); |
}, "location assign"); |
+ |
+ test(function () { |
+ var href = location.href; |
+ location.assign("http://:"); |
+ assert_equals(location.href, href); |
+ }, "URL that fails to parse"); |
</script> |
</body> |
</html> |