Title: [212304] trunk/LayoutTests
Revision
212304
Author
[email protected]
Date
2017-02-14 09:29:35 -0800 (Tue, 14 Feb 2017)

Log Message

[mac-wk1] LayoutTest media/modern-media-controls/forward-button/forward-button.html is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=168265

Unreviewed test gardening.

* media/modern-media-controls/forward-button/forward-button-expected.txt:
* media/modern-media-controls/forward-button/forward-button.html:
* platform/mac-wk1/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (212303 => 212304)


--- trunk/LayoutTests/ChangeLog	2017-02-14 17:27:29 UTC (rev 212303)
+++ trunk/LayoutTests/ChangeLog	2017-02-14 17:29:35 UTC (rev 212304)
@@ -1,3 +1,14 @@
+2017-02-14  Antoine Quint  <[email protected]>
+
+        [mac-wk1] LayoutTest media/modern-media-controls/forward-button/forward-button.html is a flaky timeout
+        https://bugs.webkit.org/show_bug.cgi?id=168265
+
+        Unreviewed test gardening.
+
+        * media/modern-media-controls/forward-button/forward-button-expected.txt:
+        * media/modern-media-controls/forward-button/forward-button.html:
+        * platform/mac-wk1/TestExpectations:
+
 2017-02-13  Filip Pizlo  <[email protected]>
 
         worker.postMessage should throw a TypeError if a SharedArrayBuffer is in the transfer list

Modified: trunk/LayoutTests/media/modern-media-controls/forward-button/forward-button-expected.txt (212303 => 212304)


--- trunk/LayoutTests/media/modern-media-controls/forward-button/forward-button-expected.txt	2017-02-14 17:27:29 UTC (rev 212303)
+++ trunk/LayoutTests/media/modern-media-controls/forward-button/forward-button-expected.txt	2017-02-14 17:29:35 UTC (rev 212304)
@@ -7,7 +7,7 @@
 PASS forwardButton.element.classList.contains("icon") is true
 PASS forwardButton.element.classList.contains("forward") is true
 PASS forwardButton.iconName is "forward"
-PASS forwardButton.element.style.webkitMaskImage.includes("macOS/forward@") is true
+PASS forwardButton.element.style.webkitMaskImage.includes("macOS/forward@") became true
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/media/modern-media-controls/forward-button/forward-button.html (212303 => 212304)


--- trunk/LayoutTests/media/modern-media-controls/forward-button/forward-button.html	2017-02-14 17:27:29 UTC (rev 212303)
+++ trunk/LayoutTests/media/modern-media-controls/forward-button/forward-button.html	2017-02-14 17:29:35 UTC (rev 212304)
@@ -8,8 +8,6 @@
 
 description("Testing the <code>ForwardButton</code> class.");
 
-iconService.directoryPath = "../../../../Source/WebCore/Modules/modern-media-controls/images";
-
 const forwardButton = new ForwardButton({ layoutTraits: LayoutTraits.macOS });
 
 shouldBeEqualToString("forwardButton.element.localName", "button");
@@ -17,15 +15,8 @@
 shouldBeTrue('forwardButton.element.classList.contains("forward")');
 shouldBeEqualToString("forwardButton.iconName", `${Icons.Forward}`);
 
-scheduler.frameDidFire = function()
-{
-    if (forwardButton.width == 0)
-        return;
+shouldBecomeEqual('forwardButton.element.style.webkitMaskImage.includes("macOS/forward@")', "true", finishMediaControlsTest);
 
-    shouldBeTrue('forwardButton.element.style.webkitMaskImage.includes("macOS/forward@")');
-    finishMediaControlsTest();
-};
-
 </script>
 <script src=""
 </body>

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (212303 => 212304)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2017-02-14 17:27:29 UTC (rev 212303)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2017-02-14 17:29:35 UTC (rev 212304)
@@ -305,8 +305,6 @@
 media/accessibility-closed-captions-has-aria-owns.html [ Pass Crash ]
 media/track/track-cues-enter-exit.html [ Pass Crash ]
 
-webkit.org/b/168265 media/modern-media-controls/forward-button/forward-button.html [ Pass Timeout ]
-
 webkit.org/b/167127 pointer-lock/locked-element-removed-from-dom.html
 
 webkit.org/b/167857 pageoverlay/overlay-remove-reinsert-view.html [ Skip ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to