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

Unified Diff: LayoutTests/fast/workers/shared-worker-messageevent-source-expected.txt

Issue 23319002: Set MessageEvent.source to the newly created port for shared workers' connect events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test and assertions Created 7 years, 4 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/workers/shared-worker-messageevent-source-expected.txt
diff --git a/LayoutTests/fast/workers/shared-worker-messageevent-source-expected.txt b/LayoutTests/fast/workers/shared-worker-messageevent-source-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55adf7cf38c92fec8a4a432d41892106edb98809
--- /dev/null
+++ b/LayoutTests/fast/workers/shared-worker-messageevent-source-expected.txt
@@ -0,0 +1,12 @@
+Make sure that MessageEvent.source is properly set in connect event.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Starting worker: resources/messageevent-source.js
+PASS [Worker] event.__proto__ is MessageEvent.prototype
+PASS [Worker] event.source is event.ports[0]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698