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

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

Issue 715013003: ExtendableEvent and InstallEvent should have an EventConstructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: basic layout test Created 6 years, 1 month 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 846983441ee65d62a5da729df678796c30b25469..f9edce57fe867dfaebd0022431ee0f3866bd99ba 100644
--- a/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js
@@ -62,3 +62,9 @@ promise_test(function(t) {
});
});
}, 'Cache');
+
+test(function() {
+ assert_equals(new ExtendableEvent('ExtendableEvent').type, 'ExtendableEvent');
+ assert_equals(new InstallEvent('InstallEvent').type, 'InstallEvent');
+
+ }, 'Event constructors');
« no previous file with comments | « LayoutTests/http/tests/serviceworker/interfaces-expected.txt ('k') | Source/modules/serviceworkers/ExtendableEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698