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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js

Issue 780963004: Use event init dictionaries in modules/{notifications,push_messaging,serviceworkers} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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: LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
index f9edce57fe867dfaebd0022431ee0f3866bd99ba..2ea9e668e3efd241543409022aefd45a043da9f3 100644
--- a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
@@ -67,4 +67,8 @@ test(function() {
assert_equals(new ExtendableEvent('ExtendableEvent').type, 'ExtendableEvent');
assert_equals(new InstallEvent('InstallEvent').type, 'InstallEvent');
+ assert_equals(new InstallEvent('InstallEvent').cancelable, false);
+ assert_equals(new InstallEvent('InstallEvent').bubbles, false);
+ assert_equals(new InstallEvent('InstallEvent', { cancelable : true }).cancelable, true);
+ assert_equals(new InstallEvent('InstallEvent', { bubbles : true }).bubbles, true);
}, 'Event constructors');
« no previous file with comments | « LayoutTests/http/tests/push_messaging/resources/pushevent-extendable-event.js ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698