Index: LayoutTests/http/tests/push_messaging/subscribe_success.html |
diff --git a/LayoutTests/http/tests/push_messaging/subscribe_success.html b/LayoutTests/http/tests/push_messaging/subscribe_success.html |
index 196e6c4803369a3ba095fc47d46425643954b945..08eb626a85400f3d856942cfe21114844493906e 100644 |
--- a/LayoutTests/http/tests/push_messaging/subscribe_success.html |
+++ b/LayoutTests/http/tests/push_messaging/subscribe_success.html |
@@ -5,6 +5,7 @@ |
<link rel="manifest" href="resources/push_manifest.json"> |
<script src="../resources/testharness.js"></script> |
<script src="../resources/testharnessreport.js"></script> |
+<script src="../resources/testharness-helpers.js"></script> |
<script src="../serviceworker/resources/test-helpers.js"></script> |
</head> |
<body> |
@@ -25,10 +26,10 @@ async_test(function(test) { |
return swRegistration.pushManager.subscribe(); |
}) |
.then(function(pushSubscription) { |
- assert_own_property(pushSubscription, 'subscriptionId'); |
+ assert_will_be_idl_attribute(pushSubscription, 'subscriptionId'); |
assert_equals(typeof pushSubscription.subscriptionId, 'string'); |
- assert_own_property(pushSubscription, 'endpoint'); |
+ assert_will_be_idl_attribute(pushSubscription, 'endpoint'); |
assert_equals(typeof pushSubscription.endpoint, 'string'); |
try { |
var endpointUrl = new URL(pushSubscription.endpoint); |