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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/windowclient-navigate.html

Issue 1481523006: ServiceWorker: Should throw TypeError instead of Unknown/SecurityError. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/http/tests/serviceworker/windowclient-navigate.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/windowclient-navigate.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/windowclient-navigate.html
index ba7e3fb32ba2f41caaa9457dcff1d863574b8bfd..2d3e8e189dcf8f90b1004fe70792595d39711ea5 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/windowclient-navigate.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/windowclient-navigate.html
@@ -26,15 +26,11 @@ var test_list = [
var expected = [
location.origin + '/serviceworker/resources/blank.html',
- // TODO(zino): Should TypeError instead of UnknownError.
- // Please see: http://crbug.com/540503
- 'UnknownError',
+ 'TypeError',
null,
'TypeError',
- // TODO(zino): Should TypeError instead of UnknownError.
- // Please see: http://crbug.com/540503
- 'UnknownError',
- 'SecurityError',
+ 'TypeError',
+ 'TypeError',
'TypeError',
'TypeError'
];

Powered by Google App Engine
This is Rietveld 408576698