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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/background_sync/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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/permissions/resources/test-api-surface.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/background_sync/resources/interfaces-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/background_sync/resources/interfaces-worker.js b/third_party/WebKit/LayoutTests/http/tests/background_sync/resources/interfaces-worker.js
index 0df2dca6c08dad07d016d8d5805de99656c531fe..679cf3d03ad30c123e048683b0298d9ca0e43c7e 100644
--- a/third_party/WebKit/LayoutTests/http/tests/background_sync/resources/interfaces-worker.js
+++ b/third_party/WebKit/LayoutTests/http/tests/background_sync/resources/interfaces-worker.js
@@ -1,5 +1,4 @@
importScripts('/resources/testharness.js');
-importScripts('/resources/testharness-helpers.js');
test(function() {
assert_own_property(self, 'SyncManager', 'SyncManager needs to be exposed as a global.');
@@ -13,10 +12,11 @@ test(function() {
test(function() {
assert_own_property(self, 'SyncEvent');
- assert_will_be_idl_attribute(SyncEvent.prototype, 'tag');
+ var instance = new SyncEvent('dummy', {tag: ''});
+ assert_idl_attribute(instance, 'tag');
+ assert_idl_attribute(instance, 'lastChance');
// SyncEvent should be extending ExtendableEvent.
assert_inherits(SyncEvent.prototype, 'waitUntil');
}, 'SyncEvent should be exposed and have the expected interface.');
-
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/permissions/resources/test-api-surface.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698