Title: [200137] trunk/LayoutTests
Revision
200137
Author
[email protected]
Date
2016-04-27 11:57:56 -0700 (Wed, 27 Apr 2016)

Log Message

media/video-fullscreen-restriction-removed.html is flaky on Mac
https://bugs.webkit.org/show_bug.cgi?id=156983

Reviewed by Darin Adler.

* media/video-fullscreen-restriction-removed-expected.txt:
* media/video-fullscreen-restriction-removed.html: Start the test on 'canplaythrough' instead
  of 'loadedmetadata' so playback can begin immediately.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (200136 => 200137)


--- trunk/LayoutTests/ChangeLog	2016-04-27 18:36:17 UTC (rev 200136)
+++ trunk/LayoutTests/ChangeLog	2016-04-27 18:57:56 UTC (rev 200137)
@@ -1,3 +1,14 @@
+2016-04-27  Eric Carlson  <[email protected]>
+
+        media/video-fullscreen-restriction-removed.html is flaky on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=156983
+
+        Reviewed by Darin Adler.
+
+        * media/video-fullscreen-restriction-removed-expected.txt:
+        * media/video-fullscreen-restriction-removed.html: Start the test on 'canplaythrough' instead
+          of 'loadedmetadata' so playback can begin immediately.
+
 2016-04-27  Ryan Haddad  <[email protected]>
 
         Add ios-simulator baseline for LayoutTest fast/text/hyphenate-avoid-orphaned-word.html

Modified: trunk/LayoutTests/media/video-fullscreen-restriction-removed-expected.txt (200136 => 200137)


--- trunk/LayoutTests/media/video-fullscreen-restriction-removed-expected.txt	2016-04-27 18:36:17 UTC (rev 200136)
+++ trunk/LayoutTests/media/video-fullscreen-restriction-removed-expected.txt	2016-04-27 18:57:56 UTC (rev 200137)
@@ -5,7 +5,7 @@
 RUN(internals.setMediaElementRestrictions(video, "RequireUserGestureForFullscreen"))
 * set video.src
 
-EVENT(loadedmetadata)
+EVENT(canplaythrough)
 
 * video.play() should fail 
 RUN(video.play())

Modified: trunk/LayoutTests/media/video-fullscreen-restriction-removed.html (200136 => 200137)


--- trunk/LayoutTests/media/video-fullscreen-restriction-removed.html	2016-04-27 18:36:17 UTC (rev 200136)
+++ trunk/LayoutTests/media/video-fullscreen-restriction-removed.html	2016-04-27 18:57:56 UTC (rev 200137)
@@ -16,7 +16,7 @@
                 run('internals.settings.setAllowsInlineMediaPlayback(false)');
                 run('internals.setMediaElementRestrictions(video, "RequireUserGestureForFullscreen")');
 
-                waitForEvent('loadedmetadata', loadedmetadata)
+                waitForEvent('canplaythrough', canplaythrough)
                 waitForEvent('webkitfullscreenchange', fullscreenChanged, false, true, document)
                 waitForEvent('click', clickHandler, false, true, document.getElementById('button'))
 
@@ -25,7 +25,7 @@
                 consoleWrite('');
             }
 
-            function loadedmetadata()
+            function canplaythrough()
             {
                 consoleWrite('');
                 if (window.eventSender) {

Modified: trunk/LayoutTests/platform/mac/TestExpectations (200136 => 200137)


--- trunk/LayoutTests/platform/mac/TestExpectations	2016-04-27 18:36:17 UTC (rev 200136)
+++ trunk/LayoutTests/platform/mac/TestExpectations	2016-04-27 18:57:56 UTC (rev 200137)
@@ -1290,8 +1290,6 @@
 
 webkit.org/b/153086 sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.3/15.1.3.3_encodeURI/S15.1.3.3_A2.4_T2.html [ Pass Crash ]
 
-[ Yosemite ] media/video-fullscreen-restriction-removed.html [ Skip ]
-
 webkit.org/b/153752 [ Yosemite ] http/tests/plugins/visible_plugins.html [ Skip ]
 
 webkit.org/b/153809 transitions/clip-path-transitions.html [ Pass Failure ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to