| Index: LayoutTests/http/tests/serviceworker/chromium/windowclient-focus.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/chromium/windowclient-focus.html b/LayoutTests/http/tests/serviceworker/chromium/windowclient-focus.html
|
| index 31d627acf2943a96ecd52bd19f1734cee8748a5f..0c0e6cfd7b1ad9a940416af52a1574b55de53f5c 100644
|
| --- a/LayoutTests/http/tests/serviceworker/chromium/windowclient-focus.html
|
| +++ b/LayoutTests/http/tests/serviceworker/chromium/windowclient-focus.html
|
| @@ -21,7 +21,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('start');
|
| })
|
| .catch(unreached_rejection(t));
|
|
|