| Index: LayoutTests/http/tests/push_messaging/subscribe-success-in-document.html
|
| diff --git a/LayoutTests/http/tests/push_messaging/subscribe-success-in-document.html b/LayoutTests/http/tests/push_messaging/subscribe-success-in-document.html
|
| index 79ee05f5ce9325b8ecd274d5cb72aa67445c2bda..2c6d49a159b69a2a5b94441dd13291fc1e81a23e 100644
|
| --- a/LayoutTests/http/tests/push_messaging/subscribe-success-in-document.html
|
| +++ b/LayoutTests/http/tests/push_messaging/subscribe-success-in-document.html
|
| @@ -31,10 +31,15 @@ async_test(function(test) {
|
|
|
| assert_will_be_idl_attribute(pushSubscription, 'endpoint');
|
| assert_equals(typeof pushSubscription.endpoint, 'string');
|
| +
|
| + // The |subscriptionId| attribute is being deprecated, and its value
|
| + // is now the last part of the |endpoint| attribute.
|
| + assert_true(pushSubscription.endpoint.endsWith(pushSubscription.subscriptionId));
|
| +
|
| try {
|
| - var endpointUrl = new URL(pushSubscription.endpoint);
|
| + var endpointUrl = new URL(pushSubscription.endpoint);
|
| } catch(e) {
|
| - assert_unreached('Constructing a URL from the endpoint should not throw.');
|
| + assert_unreached('Constructing a URL from the endpoint should not throw.');
|
| }
|
|
|
| return service_worker_unregister_and_done(test, workerScope);
|
|
|