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

Unified Diff: LayoutTests/fast/events/init-serviceworker-message-event-isolated-world-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-isolated-world-expected.txt
diff --git a/LayoutTests/fast/events/init-serviceworker-message-event-isolated-world-expected.txt b/LayoutTests/fast/events/init-serviceworker-message-event-isolated-world-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1606f46a04a88d2c6ac4dddd71ef3277b6f3eba6
--- /dev/null
+++ b/LayoutTests/fast/events/init-serviceworker-message-event-isolated-world-expected.txt
@@ -0,0 +1,7 @@
+CONSOLE MESSAGE: line 10: ServiceWorkerMessageEvent received in main world
+CONSOLE MESSAGE: line 11: detail was {"foo":5,"bar":"hello","targetWorld":"main"}
+CONSOLE MESSAGE: line 3: ServiceWorkerMessageEvent received in isolated world
+CONSOLE MESSAGE: line 4: detail was {"foo":5,"bar":"hello","targetWorld":"isolated"}
+Tests that properties of ServiceWorkerMessageEvents initialized with initServiceWorkerMessageEvent() are cloned when accessed in isolated worlds.
+
+

Powered by Google App Engine
This is Rietveld 408576698