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

Unified Diff: LayoutTests/http/tests/serviceworker/postmessage-expected.txt

Issue 185643009: Implement ServiceWorker::postMessage() [Blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add layout test Created 6 years, 9 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/http/tests/serviceworker/postmessage-expected.txt
diff --git a/LayoutTests/http/tests/serviceworker/postmessage-expected.txt b/LayoutTests/http/tests/serviceworker/postmessage-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8382a870c1c4de32275068a446352baf67d12121
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/postmessage-expected.txt
@@ -0,0 +1,14 @@
+Tests postMessage to and from a ServiceWorker
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+messageChannel = new MessageChannel()
+messageChannel.port1.onmessage = onMessageHandler
+
+navigator.serviceWorker.register('postmessage-worker.js')
+FAIL DisabledError
+PASS successfullyParsed is true
kinuko 2014/03/11 07:13:36 Can we also have test results for --enable-service
jsbell 2014/03/11 15:56:41 Ah, that's how it works! :) Yes, I'll add them.
jsbell 2014/03/11 20:10:51 Done.
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698