[Webkit-unassigned] [Bug 160118] New: [Coordinated Graphics] Lots of flaky tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 23 07:09:42 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=160118

            Bug ID: 160118
           Summary: [Coordinated Graphics] Lots of flaky tests
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk, LayoutTestFailure
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bugs-noreply at webkitgtk.org
            Blocks: 154066

Since the GTK+ ported to threaded compositor (coordinated graphics) there are a lot of flaky tests in the bots. In manu of the cases the diff shows a different size in the FrameView layer:

-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {H1} at (0,0) size 784x36
+layer at (0,0) size 400x474
+  RenderView at (0,0) size 400x400
+layer at (0,0) size 400x474
+  RenderBlock {HTML} at (0,0) size 400x475
+    RenderBody {BODY} at (8,8) size 384x459
+      RenderBlock {H1} at (0,0) size 384x36

This happens for tests run in the same WTR after fast/fixed-layout/fixed-layout.html. This is what happens:

1.- Test fast/fixed-layout/fixed-layout.html runs and sets fixed layout to true and fixed layout size to 400x400
2.- When it finishes TestController::resetStateToConsistentValues() is called.
3.- Blank URL is loaded after state has been updated
4.- Then Reset message is handled in the web process and Internals::resetToConsistentState() resets the fixed layout state and size.
5.- onresize happens and the handler set in fast/fixed-layout/fixed-layout.html is invoked setting the fixed layout to true and size to 400x400 again.
6.- about_blank is then loaded with the fixed layout enabled, as well as other tests after this one.

In addition to this, coordinated graphics uses a fixedVisibleContentRect in ScrollView that is never reset.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160723/19a499ec/attachment.html>


More information about the webkit-unassigned mailing list