Index: third_party/WebKit/LayoutTests/http/tests/push_messaging/resources/interfaces-worker.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/push_messaging/resources/interfaces-worker.js b/third_party/WebKit/LayoutTests/http/tests/push_messaging/resources/interfaces-worker.js |
index a28338a31a315fe34c58e290479cec0f1556727a..f91a8ed8f095278ed525476af6e17e3b962af072 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/push_messaging/resources/interfaces-worker.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/push_messaging/resources/interfaces-worker.js |
@@ -1,11 +1,10 @@ |
importScripts('/resources/testharness.js'); |
-importScripts('/resources/testharness-helpers.js'); |
test(function() { |
assert_own_property(self, 'PushEvent'); |
var event = new PushEvent('PushEvent'); |
- assert_will_be_idl_attribute(event, 'data'); |
+ assert_idl_attribute(event, 'data'); |
assert_equals(event.type, 'PushEvent'); |
// PushEvent should be extending ExtendableEvent. |
@@ -15,7 +14,7 @@ test(function() { |
test(function() { |
assert_own_property(self, 'PushManager', 'PushManager needs to be exposed as a global.'); |
- assert_will_be_idl_attribute(registration, 'pushManager', 'PushManager needs to be exposed on the registration.'); |
+ assert_idl_attribute(registration, 'pushManager', 'PushManager needs to be exposed on the registration.'); |
assert_inherits(registration.pushManager, 'subscribe'); |
assert_inherits(registration.pushManager, 'getSubscription'); |