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

Unified Diff: LayoutTests/http/tests/push_messaging/unsubscribe-in-service-worker.html

Issue 1148763005: Remove support for PushSubscription.subscriptionId. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/push_messaging/unsubscribe-in-service-worker.html
diff --git a/LayoutTests/http/tests/push_messaging/unsubscribe-in-service-worker.html b/LayoutTests/http/tests/push_messaging/unsubscribe-in-service-worker.html
index a3e56e5781305710847572ce2eeda1b449978596..458afaca39efb8be0af54c9648aedf1cca1503f7 100644
--- a/LayoutTests/http/tests/push_messaging/unsubscribe-in-service-worker.html
+++ b/LayoutTests/http/tests/push_messaging/unsubscribe-in-service-worker.html
@@ -29,12 +29,12 @@ async_test(function(test) {
return runCommandInServiceWorker(port, 'getSubscription');
})
.then(function(data) {
- assert_equals(data.subscriptionId, null,
+ assert_equals(data.endpoint, null,
'There must be no subscription after unsubscribing in the document.');
return runCommandInServiceWorker(port, 'subscribe');
})
.then(function(data) {
- assert_equals(typeof data.subscriptionId, 'string',
+ assert_equals(typeof data.endpoint, 'string',
'There must be a subscription after subscribing');
return runCommandInServiceWorker(port, 'unsubscribe');
})
@@ -49,7 +49,7 @@ async_test(function(test) {
return runCommandInServiceWorker(port, 'getSubscription');
})
.then(function(data) {
- assert_equals(data.subscriptionId, null,
+ assert_equals(data.endpoint, null,
'There must be no subscription after unsubscribing in the service worker.');
test.done();
})

Powered by Google App Engine
This is Rietveld 408576698