Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/location_assign.html

Issue 1295773004: update-w3c-deps import using blink c936ac9d274f959a4b5908db6835bcd612fb1a9e: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698