| Index: LayoutTests/http/tests/resources/srcset-helper.js
|
| diff --git a/LayoutTests/http/tests/resources/srcset-helper.js b/LayoutTests/http/tests/resources/srcset-helper.js
|
| index 703b266e967682203b850d9759ac3870c624b9db..ca2911f3fa84e5518b5e31bd96bf366f59df5c75 100644
|
| --- a/LayoutTests/http/tests/resources/srcset-helper.js
|
| +++ b/LayoutTests/http/tests/resources/srcset-helper.js
|
| @@ -13,7 +13,11 @@ function runTest() {
|
| if (sessionStorage.pageReloaded && sessionStorage.scaleFactorIsSet) {
|
| delete sessionStorage.pageReloaded;
|
| delete sessionStorage.scaleFactorIsSet;
|
| - testRunner.notifyDone();
|
| + if (!window.manualNotifyDone) {
|
| + setTimeout(function() {
|
| + testRunner.notifyDone();
|
| + }, 0);
|
| + }
|
| } else {
|
| // Right now there is a bug that srcset does not properly deal with dynamic changes to the scale factor,
|
| // so to work around that, we must reload the page to get the new image.
|
|
|