forked from mirrors/gecko-dev
Bug 1541557: Follow-up: Increase timeout after pref-change a bit more. r=bustage
This commit is contained in:
parent
ea69464bc7
commit
3006b82fc3
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
SimpleTest.requestFlakyTimeout("This test is flaky.");
|
SimpleTest.requestFlakyTimeout("This test is flaky.");
|
||||||
|
|
||||||
SpecialPowers.pushPrefEnv({"set":[["browser.enable_automatic_image_resizing", true]]}, async function() {
|
SpecialPowers.pushPrefEnv({"set":[["browser.enable_automatic_image_resizing", true]]}).then(async function() {
|
||||||
await new Promise(resolve => setTimeout(resolve, 1000));
|
await new Promise(resolve => setTimeout(resolve, 2000));
|
||||||
|
|
||||||
var testWin = document.querySelector("iframe");
|
var testWin = document.querySelector("iframe");
|
||||||
testWin.height = 0;
|
testWin.height = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue