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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/push_messaging/resources/interfaces-worker.js

Issue 1936533003: Layout Tests: Remove assert_will_be_idl_attribute() helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused import Created 4 years, 8 months 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
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');

Powered by Google App Engine
This is Rietveld 408576698