зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1784757
- Wait for one frame before asserting restyling state. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D194209
This commit is contained in:
Родитель
64727bead0
Коммит
76f6266d3b
|
@ -92,6 +92,9 @@ async function test() {
|
||||||
// overflow: hidden style in the out-of-process iframe.
|
// overflow: hidden style in the out-of-process iframe.
|
||||||
await setup_in_oopif();
|
await setup_in_oopif();
|
||||||
|
|
||||||
|
// Wait for a frame to make sure animations are properly started.
|
||||||
|
await observe_styling_in_oopif(1);
|
||||||
|
|
||||||
let restyleCount = await observe_styling_in_oopif(5);
|
let restyleCount = await observe_styling_in_oopif(5);
|
||||||
is(restyleCount, 0,
|
is(restyleCount, 0,
|
||||||
"Animation in an out-of-process iframe which is initially clipped out " +
|
"Animation in an out-of-process iframe which is initially clipped out " +
|
||||||
|
|
Загрузка…
Ссылка в новой задаче