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

Unified Diff: chrome/test/data/push_messaging/test.html

Issue 663813002: Clean up deprecated Web Push API code-paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/push-remove-senderId
Patch Set: rebase Created 6 years, 2 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
« no previous file with comments | « no previous file | content/renderer/push_messaging_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/push_messaging/test.html
diff --git a/chrome/test/data/push_messaging/test.html b/chrome/test/data/push_messaging/test.html
index 1a3bd65213324bd34421982620227f3d9f061647..19973cb8c91c00d9216f2a6739045e53e5215c59 100644
--- a/chrome/test/data/push_messaging/test.html
+++ b/chrome/test/data/push_messaging/test.html
@@ -24,8 +24,7 @@
function registerPush() {
navigator.serviceWorker.ready.then(function() {
- // TODO(peter): Remove the argument once Blink no longer requires it.
- navigator.push.register('DEPRECATED').then(function(pushRegistration) {
+ navigator.push.register().then(function(pushRegistration) {
sendResultToTest(pushRegistration.pushEndpoint + ' - ' + pushRegistration.pushRegistrationId);
}, sendErrorToTest);
}, sendErrorToTest);
« no previous file with comments | « no previous file | content/renderer/push_messaging_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698