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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/serviceworker-on-insecure-origin.html

Issue 1532463003: ServiceWorker: Reject SecurityError instead of NotSupportedError. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/serviceworker-on-insecure-origin.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/serviceworker-on-insecure-origin.html b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/serviceworker-on-insecure-origin.html
index 8fc6cbf228b659becf6ef9966a3a9a383c6c67a5..948cd3e0b1b457c3514682bfa5e3327000e29a74 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/serviceworker-on-insecure-origin.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/serviceworker-on-insecure-origin.html
@@ -18,7 +18,7 @@ if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
service_worker_unregister_and_done(this, scope);
}),
this.step_func(function(reason) {
- assert_equals(reason.name, "NotSupportedError");
+ assert_equals(reason.name, "SecurityError");
this.done();
})
);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698