| Index: LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe.html b/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe.html
|
| index 244972ce67513da71f834e3ff1e7725ddcf50070..b8895255ac8f7ffbcde2ead07347aec41b39446b 100644
|
| --- a/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe.html
|
| +++ b/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe.html
|
| @@ -11,6 +11,13 @@ navigator.serviceWorker.unregister(SCOPE)
|
| .then(function() {
|
| return navigator.serviceWorker.register(URL, {scope: SCOPE});
|
| })
|
| + .then(function(registration) {
|
| + return new Promise(function(resolve) {
|
| + registration.addEventListener('updatefound', function() {
|
| + resolve(registration.installing);
|
| + });
|
| + });
|
| + })
|
| .then(function(worker) {
|
| worker.addEventListener('statechange', on_state_change);
|
| });
|
|
|