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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/init-serviceworker-message-event-expected.txt
diff --git a/LayoutTests/fast/events/init-serviceworker-message-event-expected.txt b/LayoutTests/fast/events/init-serviceworker-message-event-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf915be3d9b5668fc549058006bcecad69e6ee1a
--- /dev/null
+++ b/LayoutTests/fast/events/init-serviceworker-message-event-expected.txt
@@ -0,0 +1,12 @@
+Checks that initServiceWorkerMessageEvent() is working
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS newEvent.initServiceWorkerMessageEvent("message", true, true, "ff", "*", 43, port, {x:1}); threw exception TypeError: Failed to execute 'initServiceWorkerMessageEvent' on 'ServiceWorkerMessageEvent': The 8th argument is neither an array, nor does it have indexed properties..
+PASS newEvent.initServiceWorkerMessageEvent("message", true, true, "ff", "*", 43, port, null) did not throw exception.
+PASS [object ServiceWorkerMessageEvent] is an instance of function ServiceWorkerMessageEvent() { [native code] }
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698