[Extra zoom mode] fast/visual-viewport/extrazoom/layout-viewport-after-scrolling...
[WebKit-https.git] / LayoutTests / fast / css / extrazoom / viewport-units-shrink-to-fit.html
index ce3c5f0..3f308a5 100644 (file)
         jsTestIsAsync = true;
 
         async function runTest() {
-            await UIHelper.ensurePresentationUpdate();
-
             largeElementRectBeforeRemoval = large.getBoundingClientRect();
             mediumElementRectBeforeRemoval = medium.getBoundingClientRect();
             innerWidthBeforeRemoval = innerWidth;
             innerHeightBeforeRemoval = innerHeight;
 
             large.remove();
-            await UIHelper.ensurePresentationUpdate();
 
             mediumElementRectAfterRemoval = medium.getBoundingClientRect();
             innerWidthAfterRemoval = innerWidth;