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

Side by Side Diff: LayoutTests/fast/events/init-serviceworker-message-event-expected.txt

Issue 1130113006: ServiceWorker: Introduce ServiceWorkerMessageEvent to replace MessageEvent (3/3). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add initEvent tests Created 5 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 Checks that initServiceWorkerMessageEvent() is working
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS newEvent.initServiceWorkerMessageEvent("message", true, true, "ff", "*", 43 , port, {x:1}); threw exception TypeError: Failed to execute 'initServiceWorkerM essageEvent' on 'ServiceWorkerMessageEvent': The 8th argument is neither an arra y, nor does it have indexed properties..
7 PASS newEvent.initServiceWorkerMessageEvent("message", true, true, "ff", "*", 43 , port, null) did not throw exception.
8 PASS [object ServiceWorkerMessageEvent] is an instance of function ServiceWorker MessageEvent() { [native code] }
9 PASS successfullyParsed is true
10
11 TEST COMPLETE
12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698