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

Unified Diff: LayoutTests/http/tests/push_messaging/register_success.html

Issue 795153003: Push API: rename to endpoint and registrationId. [2/3] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 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 | Source/modules/push_messaging/PushRegistration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/push_messaging/register_success.html
diff --git a/LayoutTests/http/tests/push_messaging/register_success.html b/LayoutTests/http/tests/push_messaging/register_success.html
index 13db7e0822ce9bc7b86ae012fff148bb83b2e07d..9520fb01cbe6a45fe026c678366950c8919d6d2c 100644
--- a/LayoutTests/http/tests/push_messaging/register_success.html
+++ b/LayoutTests/http/tests/push_messaging/register_success.html
@@ -25,13 +25,13 @@ async_test(function(test) {
return swRegistration.pushManager.register();
})
.then(function(pushRegistration) {
- assert_own_property(pushRegistration, 'pushRegistrationId');
- assert_equals(typeof pushRegistration.pushRegistrationId, 'string');
+ assert_own_property(pushRegistration, 'registrationId');
+ assert_equals(typeof pushRegistration.registrationId, 'string');
- assert_own_property(pushRegistration, 'pushEndpoint');
- assert_equals(typeof pushRegistration.pushEndpoint, 'string');
+ assert_own_property(pushRegistration, 'endpoint');
+ assert_equals(typeof pushRegistration.endpoint, 'string');
try {
- var endpointUrl = new URL(pushRegistration.pushEndpoint);
+ var endpointUrl = new URL(pushRegistration.endpoint);
} catch(e) {
assert_unreached('Constructing a URL from the endpoint should not throw.');
}
« no previous file with comments | « no previous file | Source/modules/push_messaging/PushRegistration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698