Title: [201155] branches/safari-602.1.32-branch/Tools
Revision
201155
Author
[email protected]
Date
2016-05-19 02:36:01 -0700 (Thu, 19 May 2016)

Log Message

Merge r200978. rdar://problem/25584201

Modified Paths

Diff

Modified: branches/safari-602.1.32-branch/Tools/ChangeLog (201154 => 201155)


--- branches/safari-602.1.32-branch/Tools/ChangeLog	2016-05-19 09:35:58 UTC (rev 201154)
+++ branches/safari-602.1.32-branch/Tools/ChangeLog	2016-05-19 09:36:01 UTC (rev 201155)
@@ -1,5 +1,22 @@
 2016-05-19  Babak Shafiei  <[email protected]>
 
+        Merge r200978. rdar://problem/25584201
+
+    2016-05-16  Jer Noble  <[email protected]>
+
+            API test WebKit2.MSEIsPlayingAudio timing out after r200951
+            https://bugs.webkit.org/show_bug.cgi?id=157748
+
+            Reviewed by Eric Carlson.
+
+            The file-with-mse.html testcase only calls play() once it's own XHR loading is complete; the
+            "user gesture" check fails at that point.  Call play() up front; playback will begin as soon
+            as enough data is loaded.
+
+            * TestWebKitAPI/Tests/WebKit2/file-with-mse.html:
+
+2016-05-19  Babak Shafiei  <[email protected]>
+
         Merge r200951. rdar://problem/25584201
 
     2016-04-06  Jer Noble  <[email protected]>

Modified: branches/safari-602.1.32-branch/Tools/TestWebKitAPI/Tests/WebKit2/file-with-mse.html (201154 => 201155)


--- branches/safari-602.1.32-branch/Tools/TestWebKitAPI/Tests/WebKit2/file-with-mse.html	2016-05-19 09:35:58 UTC (rev 201154)
+++ branches/safari-602.1.32-branch/Tools/TestWebKitAPI/Tests/WebKit2/file-with-mse.html	2016-05-19 09:36:01 UTC (rev 201155)
@@ -7,6 +7,7 @@
 
       function playVideo()
       {
+          document.getElementById('test-video').play();
           request = new XMLHttpRequest();
           request.responseType = 'arraybuffer';
           request.open('GET', 'test-mse.mp4', true);
@@ -26,13 +27,7 @@
       {
           var sourceBuffer = source.addSourceBuffer('video/mp4;codecs="avc1.4D4001,mp4a.40.2"');
           sourceBuffer.appendBuffer(request.response);
-          sourceBuffer.addEventListener('updateend', updateend);
       }
-
-      function updateend(event)
-      {
-          document.getElementById('test-video').play();
-      }
   </script>
 </head>
 <body>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to