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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-permission-denied-in-document.html

Issue 2199213003: Use NotAllowedError instead of PermissionDeniedError for the Push API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the browser tests Created 4 years, 4 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: third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-permission-denied-in-document.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-permission-denied-in-document.html b/third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-permission-denied-in-document.html
index 1feb6c637e2f65734c45e38497f18a8a0fd37344..5c2b29dd801500a0ae5b4bd8a18c128639fc1259 100644
--- a/third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-permission-denied-in-document.html
+++ b/third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-permission-denied-in-document.html
@@ -27,7 +27,7 @@ async_test(function(test) {
.then(function(pushSubscription) {
assert_unreached('Subscription must not succeed after permission is denied.');
}, function(e) {
- assert_equals(e.name, 'PermissionDeniedError');
+ assert_equals(e.name, 'NotAllowedError');
assert_regexp_match(e.message, /permission denied/);
return service_worker_unregister_and_done(test, workerScope);
})

Powered by Google App Engine
This is Rietveld 408576698