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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 importScripts('interfaces.js'); 1 importScripts('interfaces.js');
2 importScripts('worker-testharness.js'); 2 importScripts('worker-testharness.js');
3 importScripts('/resources/testharness-helpers.js'); 3 importScripts('/resources/testharness-helpers.js');
4 4
5 var EVENT_HANDLER = 'object'; 5 var EVENT_HANDLER = 'object';
6 6
7 test(function() { 7 test(function() {
8 verify_interface('ServiceWorkerGlobalScope', 8 verify_interface('ServiceWorkerGlobalScope',
9 self, 9 self,
10 { 10 {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 match: 'function', 55 match: 'function',
56 matchAll: 'function', 56 matchAll: 'function',
57 add: 'function', 57 add: 'function',
58 addAll: 'function', 58 addAll: 'function',
59 put: 'function', 59 put: 'function',
60 delete: 'function', 60 delete: 'function',
61 keys: 'function' 61 keys: 'function'
62 }); 62 });
63 }); 63 });
64 }, 'Cache'); 64 }, 'Cache');
65
66 test(function() {
67 assert_equals(new ExtendableEvent('ExtendableEvent').type, 'ExtendableEvent' );
68 assert_equals(new InstallEvent('InstallEvent').type, 'InstallEvent');
69
70 }, 'Event constructors');
OLDNEW
« 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