tile-coverage-iframe-to-zero-coverage.html flakey after r245974
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 May 2019 22:30:55 +0000 (22:30 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 May 2019 22:30:55 +0000 (22:30 +0000)
https://bugs.webkit.org/show_bug.cgi?id=198438

Unreviewed test gardening.

layerTreeAsText() doesn't force layouts on subframes (webkit.org/b/198439) so
have the test force an update on the subframe via a dummy layerTreeAsText() call.

* tiled-drawing/tile-coverage-iframe-to-zero-coverage-expected.txt:
* tiled-drawing/tile-coverage-iframe-to-zero-coverage.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245990 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/tiled-drawing/tile-coverage-iframe-to-zero-coverage-expected.txt
LayoutTests/tiled-drawing/tile-coverage-iframe-to-zero-coverage.html

index 7f73d5d..8296b0c 100644 (file)
         * platform/ios-wk2/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: Added.
         * platform/mac-wk1/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: Added.
 
+2019-05-31  Simon Fraser  <simon.fraser@apple.com>
+
+        tile-coverage-iframe-to-zero-coverage.html flakey after r245974
+        https://bugs.webkit.org/show_bug.cgi?id=198438
+
+        Unreviewed test gardening.
+        
+        layerTreeAsText() doesn't force layouts on subframes (webkit.org/b/198439) so
+        have the test force an update on the subframe via a dummy layerTreeAsText() call.
+
+        * tiled-drawing/tile-coverage-iframe-to-zero-coverage-expected.txt:
+        * tiled-drawing/tile-coverage-iframe-to-zero-coverage.html:
+
 2019-05-31  Saam Barati  <sbarati@apple.com>
 
         [WHLSL] Make sure we properly emit code for "&*x"
index 252b030..e265eb0 100644 (file)
@@ -79,7 +79,7 @@
                                   (contentsOpaque 1)
                                   (drawsContent 1)
                                   (visible rect 0.00, 0.00 0.00 x 0.00)
-                                  (coverage rect -8.00, -8.00 0.00 x 0.00)
+                                  (coverage rect 0.00, 0.00 0.00 x 0.00)
                                   (intersects coverage rect 0)
                                   (contentsScale 1.00)
                                   (tile cache coverage 0, 0 0 x 0)
index 0bbcf89..2b32a6a 100644 (file)
@@ -24,6 +24,7 @@
         {
             setTimeout(function() {
                 window.scrollTo(0, 3000);
+                               internals.layerTreeAsText(subframe.contentDocument);
                 if (window.internals) {
                     document.getElementById('layers').innerText = internals.layerTreeAsText(document,
                         internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
@@ -37,7 +38,7 @@
 </head>
 <body>
 
-<iframe scrolling="no" srcdoc="<div style='width: 2500px; height: 200px; background-color: silver; will-change: transform'>Stuff here</div>"></iframe>
+<iframe id="subframe" scrolling="no" srcdoc="<div style='width: 2500px; height: 200px; background-color: silver; will-change: transform'>Stuff here</div>"></iframe>
 <pre id="layers">Layer tree goes here</p>
 </body>
 </html>