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(); |
}) |