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

Unified Diff: LayoutTests/http/tests/serviceworker/chromium/clients-openwindow.html

Issue 1209933003: ServiceWorkerClients::openWindow() should reject with TypeError for an invalid URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/http/tests/serviceworker/chromium/clients-openwindow.html
diff --git a/LayoutTests/http/tests/serviceworker/chromium/clients-openwindow.html b/LayoutTests/http/tests/serviceworker/chromium/clients-openwindow.html
index 9e30ccb77f91efbcea2a46f8efedeb98e110f4f4..19b50acf76e6fd850f10ea5431154f374da6c353 100644
--- a/LayoutTests/http/tests/serviceworker/chromium/clients-openwindow.html
+++ b/LayoutTests/http/tests/serviceworker/chromium/clients-openwindow.html
@@ -43,6 +43,8 @@ t.step(function() {
'openWindow() result: null',
'openWindow() can open about:crash',
'openWindow() result: null',
+ 'openWindow() can not open invalid url',
+ 'openWindow() error is: TypeError',
'openWindow() can not open view-source scheme',
'openWindow() can not open file scheme',
'openWindow() error is: SecurityError',

Powered by Google App Engine
This is Rietveld 408576698