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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html

Issue 2855263004: Throw in window.open() when an invalid URL is being passed (Closed)
Patch Set: updates Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <title>window.open: invalid URL</title>
3 <script src="../../../resources/testharness.js"></script>
4 <script src="../../../resources/testharnessreport.js"></script>
5 <script>
6 test(() => {
7 assert_throws("SyntaxError", () => { self.open("http:"); });
foolip 2017/05/05 11:21:29 This is the same as https://github.com/w3c/web-pla
jochen (gone - plz use gerrit) 2017/05/05 11:25:51 I don't know why the wpt/url isn't yet included, a
foolip 2017/05/05 11:28:55 Oh, importing that is https://codereview.chromium.
8 }, "Check that window.open() throws on an invalid URL.");
9 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698