| Index: LayoutTests/http/tests/serviceworker/postmessage-to-client.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/postmessage-to-client.html b/LayoutTests/http/tests/serviceworker/postmessage-to-client.html
|
| index 696e5bdb66e98f0e10b069f14a1a93e1a8a842d2..03ac1c0ad26cc4a748a55df95f29a419b948561d 100644
|
| --- a/LayoutTests/http/tests/serviceworker/postmessage-to-client.html
|
| +++ b/LayoutTests/http/tests/serviceworker/postmessage-to-client.html
|
| @@ -21,7 +21,7 @@ t.step(function() {
|
| with_iframe(scope, t.step_func(function(frame) {
|
| var w = frame.contentWindow;
|
| w.onmessage = t.step_func(onMessage);
|
| - w.navigator.serviceWorker.current.postMessage('ping');
|
| + w.navigator.serviceWorker.controller.postMessage('ping');
|
| }));
|
| }
|
|
|
|
|