Title: [212292] trunk/LayoutTests
Revision
212292
Author
[email protected]
Date
2017-02-14 07:45:38 -0800 (Tue, 14 Feb 2017)

Log Message

[mac-wk1] LayoutTest media/modern-media-controls/layout-node/addChild.html is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=168074

Unreviewed test gardening.

Patch by Antoine Quint <[email protected]> on 2017-02-14

* media/modern-media-controls/layout-node/addChild-expected.txt:
* media/modern-media-controls/layout-node/addChild.html:
* platform/mac-wk1/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (212291 => 212292)


--- trunk/LayoutTests/ChangeLog	2017-02-14 13:08:30 UTC (rev 212291)
+++ trunk/LayoutTests/ChangeLog	2017-02-14 15:45:38 UTC (rev 212292)
@@ -1,3 +1,14 @@
+2017-02-14  Antoine Quint  <[email protected]>
+
+        [mac-wk1] LayoutTest media/modern-media-controls/layout-node/addChild.html is a flaky timeout
+        https://bugs.webkit.org/show_bug.cgi?id=168074
+
+        Unreviewed test gardening.
+
+        * media/modern-media-controls/layout-node/addChild-expected.txt:
+        * media/modern-media-controls/layout-node/addChild.html:
+        * platform/mac-wk1/TestExpectations:
+
 2017-02-14  Carlos Garcia Campos  <[email protected]>
 
         Unreviewed GTK+ gardening. Add platform specific resuls for http/tests/security/module-no-mime-type.html.

Modified: trunk/LayoutTests/media/modern-media-controls/layout-node/addChild-expected.txt (212291 => 212292)


--- trunk/LayoutTests/media/modern-media-controls/layout-node/addChild-expected.txt	2017-02-14 13:08:30 UTC (rev 212291)
+++ trunk/LayoutTests/media/modern-media-controls/layout-node/addChild-expected.txt	2017-02-14 15:45:38 UTC (rev 212292)
@@ -13,8 +13,7 @@
 PASS node.children[0] === b is true
 PASS node.children[1] === a is true
 
-Layout was performed
-PASS node.element.childElementCount === 2 is true
+PASS node.element.childElementCount became 2
 PASS node.element.firstElementChild === b.element is true
 PASS node.element.lastElementChild === a.element is true
 PASS successfullyParsed is true

Modified: trunk/LayoutTests/media/modern-media-controls/layout-node/addChild.html (212291 => 212292)


--- trunk/LayoutTests/media/modern-media-controls/layout-node/addChild.html	2017-02-14 13:08:30 UTC (rev 212291)
+++ trunk/LayoutTests/media/modern-media-controls/layout-node/addChild.html	2017-02-14 15:45:38 UTC (rev 212292)
@@ -1,6 +1,5 @@
 <script src=""
-<script src="" type="text/_javascript_"></script>
-<script src="" type="text/_javascript_"></script>
+<script src="" type="text/_javascript_"></script>
 <script src="" type="text/_javascript_"></script>
 <script type="text/_javascript_">
 
@@ -26,17 +25,12 @@
 shouldBeTrue("node.children[0] === b");
 shouldBeTrue("node.children[1] === a");
 
-scheduler.frameDidFire = function()
-{
-    debug("");
-    debug("Layout was performed");
-
-    shouldBeTrue("node.element.childElementCount === 2");
+debug("");
+shouldBecomeEqual("node.element.childElementCount", "2", () => {
     shouldBeTrue("node.element.firstElementChild === b.element");
     shouldBeTrue("node.element.lastElementChild === a.element");
-
     finishMediaControlsTest();
-};
+});
 
 </script>
 <script src=""

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (212291 => 212292)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2017-02-14 13:08:30 UTC (rev 212291)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2017-02-14 15:45:38 UTC (rev 212292)
@@ -307,7 +307,6 @@
 
 webkit.org/b/167347 media/modern-media-controls/airplay-button/airplay-button-on.html [ Pass Timeout ]
 webkit.org/b/168265 media/modern-media-controls/forward-button/forward-button.html [ Pass Timeout ]
-webkit.org/b/168074 [ ElCapitan ] media/modern-media-controls/layout-node/addChild.html [ Pass Timeout ]
 
 webkit.org/b/167127 pointer-lock/locked-element-removed-from-dom.html
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to