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

Unified Diff: LayoutTests/http/tests/serviceworker/postmessage-msgport-to-client.html

Issue 1130113006: ServiceWorker: Introduce ServiceWorkerMessageEvent to replace MessageEvent (3/3). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: make more tests pass Created 5 years, 6 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-msgport-to-client.html
diff --git a/LayoutTests/http/tests/serviceworker/postmessage-msgport-to-client.html b/LayoutTests/http/tests/serviceworker/postmessage-msgport-to-client.html
index d294d9b89ffd1fe11e18520b89ff031002e5d4e3..e1726bbe313f5380c171df77e7c7fcf9ab0ccaef 100644
--- a/LayoutTests/http/tests/serviceworker/postmessage-msgport-to-client.html
+++ b/LayoutTests/http/tests/serviceworker/postmessage-msgport-to-client.html
@@ -15,7 +15,7 @@ t.step(function() {
.then(function() { return with_iframe(scope); })
.then(function(frame) {
var w = frame.contentWindow;
- w.onmessage = t.step_func(onMessage);
+ w.navigator.serviceWorker.onmessage = t.step_func(onMessage);
w.navigator.serviceWorker.controller.postMessage('ping');
})
.catch(unreached_rejection(t));
« no previous file with comments | « LayoutTests/http/tests/serviceworker/interfaces.html ('k') | LayoutTests/http/tests/serviceworker/postmessage-to-client.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698