[Webkit-unassigned] [Bug 139736] New: [iOS] WebKitTestRunner: Tests fail due to incorrect web view size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 17 11:15:43 PST 2014


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

            Bug ID: 139736
           Summary: [iOS] WebKitTestRunner: Tests fail due to incorrect
                    web view size
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: iOS
                OS: iOS 8.1
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org

When I ran all the layout tests for iOS using WebKitTestRunner today, some tests intermittently fail because the size of the RenderView associated with the main web view is 1024 x 768 pixels instead of 800 x 600 pixels. For example, the test LayoutTests/tables/mozilla/dom/insertCellsExpand2.html failed with the following diff in one run of the full suite of layout tests:

[[
--- /Volumes/Data/WebKitDevGit/OpenSource/layout-test-results-rebase/tables/mozilla/dom/insertCellsExpand2-expected.txt
+++ /Volumes/Data/WebKitDevGit/OpenSource/layout-test-results-rebase/tables/mozilla/dom/insertCellsExpand2-actual.txt
@@ -1,9 +1,9 @@
-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 (anonymous) at (0,0) size 784x20
+layer at (0,0) size 1024x768
+  RenderView at (0,0) size 1024x768
+layer at (0,0) size 1024x768
+  RenderBlock {HTML} at (0,0) size 1024x768
+    RenderBody {BODY} at (8,8) size 1008x752
+      RenderBlock (anonymous) at (0,0) size 1008x20
         RenderText {#text} at (0,0) size 218x19
           text run at (0,0) width 218: "The 2 tables should look the same"
       RenderTable {TABLE} at (0,20) size 124x82 [bgcolor=#FFA500] [border: (1px outset #808080)]
@@ -38,7 +38,7 @@
             RenderTableCell {TD} at (92,54) size 28x24 [border: (1px inset #808080)] [r=2 c=3 rs=1 cs=1]
               RenderText {#text} at (2,2) size 24x19
                 text run at (2,2) width 24: "c34"
-      RenderBlock (anonymous) at (0,102) size 784x20
+      RenderBlock (anonymous) at (0,102) size 1008x20
         RenderBR {BR} at (0,0) size 0x19
       RenderTable {TABLE} at (0,122) size 124x82 [bgcolor=#FFA500] [border: (1px outset #808080)]
         RenderTableSection {TBODY} at (1,1) size 122x80
]]

The tests that fail with similar differences change between runs of the full suite of layout tests. Moreover, the tests that fail with such differences pass when run either individually or as part of running all the tests in some sub-directory of LayoutTests along its path. In particular, LayoutTests/tables/mozilla/dom/insertCellsExpand2.html passes when run individually or when run as part of running all the tests in LayoutTests/tables.

For completeness, I ran the full suite of layout tests using a command line of the form:

Tools/Scripts/run-webkit-tests --ios-sim --runtime com.apple.CoreSimulator.SimRuntime.iOS-[...] --device-type com.apple.CoreSimulator.SimDeviceType.iPhone-5s --no-sample-on-timeout --results-directory layout-test-results-rebase -2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141217/ad3bd2f9/attachment-0002.html>


More information about the webkit-unassigned mailing list