| 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.');
|
| }
|
|
|