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

Unified Diff: third_party/WebKit/LayoutTests/fast/url/script-tests/segments-from-data-url.js

Issue 1409293007: new URL('') should throw TypeError (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated testcase Created 5 years 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: third_party/WebKit/LayoutTests/fast/url/script-tests/segments-from-data-url.js
diff --git a/third_party/WebKit/LayoutTests/fast/url/script-tests/segments-from-data-url.js b/third_party/WebKit/LayoutTests/fast/url/script-tests/segments-from-data-url.js
index 96503d47c57bbb5164e6bd0422c970fd38e5f6e9..2ed1d4ac58ad24172e2b32826fb6b3fcb6a365e4 100644
--- a/third_party/WebKit/LayoutTests/fast/url/script-tests/segments-from-data-url.js
+++ b/third_party/WebKit/LayoutTests/fast/url/script-tests/segments-from-data-url.js
@@ -18,8 +18,8 @@ cases = [
["http://f:fifty-two/c", [":","","","","",""]],
["http://f:999999/c", [":","","0","","",""]],
["http://f: 21 / b ? d # e ", [":","","","","",""]],
- ["", ["data:","","","text/plain,baseURL","",""]],
- [" \\t", ["data:","","","text/plain,baseURL","",""]],
+ ["", [":","","","","",""]],
+ [" \\t", [":","","","","",""]],
[":foo.com/", [":","","","","",""]],
[":foo.com\\\\", [":","","","","",""]],
[":", [":","","","","",""]],

Powered by Google App Engine
This is Rietveld 408576698