[Mac WK2 Debug] Layout Test scrollingcoordinator/scrolling-tree/scrolling-tree-includ...
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 May 2019 23:20:14 +0000 (23:20 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 May 2019 23:20:14 +0000 (23:20 +0000)
https://bugs.webkit.org/show_bug.cgi?id=197425

Unreviewed test gardening.

Speculative fix for flakey test; trigger layout inside the subframe.

* scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html:

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

LayoutTests/ChangeLog
LayoutTests/scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html

index 4021d3d..1a18654 100644 (file)
@@ -1,3 +1,16 @@
+2019-05-31  Nikita Vasilyev  <nvasilyev@apple.com>
+
+        Web Inspector: CSS Changes: modifications aren't shared for rules that match multiple elements
+        https://bugs.webkit.org/show_bug.cgi?id=195264
+        <rdar://problem/48550023>
+
+        Reviewed by Devin Rousso.
+
+        Test arrays with repeating items for Array.diffArrays.
+
+        * inspector/unit-tests/array-utilities-expected.txt:
+        * inspector/unit-tests/array-utilities.html:
+
 2019-05-31  Ryosuke Niwa  <rniwa@webkit.org>
 
         [iOS] Reveal the focused element when it's immediately above software keyboard
         * fast/scrolling/ios/reveal-focused-element-right-above-keyboard-on-ipad-expected.txt: Added.
         * fast/scrolling/ios/reveal-focused-element-right-above-keyboard-on-ipad.html: Added.
 
-2019-05-31  Nikita Vasilyev  <nvasilyev@apple.com>
-
-        Web Inspector: CSS Changes: modifications aren't shared for rules that match multiple elements
-        https://bugs.webkit.org/show_bug.cgi?id=195264
-        <rdar://problem/48550023>
+2019-05-31  Simon Fraser  <simon.fraser@apple.com>
 
-        Reviewed by Devin Rousso.
+        [Mac WK2 Debug] Layout Test scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=197425
 
-        Test arrays with repeating items for Array.diffArrays.
+        Unreviewed test gardening.
+        
+        Speculative fix for flakey test; trigger layout inside the subframe.
 
-        * inspector/unit-tests/array-utilities-expected.txt:
-        * inspector/unit-tests/array-utilities.html:
+        * scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html:
 
 2019-05-31  Ryosuke Niwa  <rniwa@webkit.org>
 
index 4bb2d19..af651ab 100644 (file)
           window.internals.settings.setAsyncFrameScrollingEnabled(true);
       function doTest()
       {
-          if (window.internals)
-              document.getElementById('scrollingTree').innerText = window.internals.scrollingStateTreeAsText() + "\n";
+          if (window.internals) {
+                         subframe.contentWindow.internals.scrollingStateTreeAsText(); // Trigger frame layout.
+              document.getElementById('scrollingTree').innerText = internals.scrollingStateTreeAsText() + "\n";
+          }
+
           if (window.testRunner)
               testRunner.notifyDone();
       }
@@ -31,7 +34,7 @@
     </style>
   </head>
   <body>
-    <iframe onload="doTest()" srcdoc="
+    <iframe id="subframe" onload="doTest()" srcdoc="
         <div style='width: 300px; height: 400px; background: gray;'></div>">
     </iframe>
     <pre id="scrollingTree"></pre>