Changeset 254605 in webkit
- Timestamp:
- Jan 15, 2020, 11:15:30 AM (7 years ago)
- Location:
- branches/safari-609-branch/LayoutTests
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
webrtc/video-autoplay.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-609-branch/LayoutTests/ChangeLog
r254598 r254605 1 2020-01-14 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r254260. rdar://problem/58552882 4 5 REGRESSION: [ Mac ] webrtc/video-autoplay.html is a flaky failure 6 https://bugs.webkit.org/show_bug.cgi?id=205893 7 <rdar://problem/58391046> 8 9 Reviewed by Eric Carlson. 10 11 * webrtc/video-autoplay.html: 12 Speculative fix as I am not able to reproduce locally. 13 Hypothesis is that removing from DOM the video element is supposed to asynchronously pause the video element. 14 We should therefore ensure that the video element is paused before calling getUserMedia. 15 16 17 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254260 268f45cc-cd09-0410-ab3c-d52691b4dbfc 18 19 2020-01-09 Youenn Fablet <youenn@apple.com> 20 21 REGRESSION: [ Mac ] webrtc/video-autoplay.html is a flaky failure 22 https://bugs.webkit.org/show_bug.cgi?id=205893 23 <rdar://problem/58391046> 24 25 Reviewed by Eric Carlson. 26 27 * webrtc/video-autoplay.html: 28 Speculative fix as I am not able to reproduce locally. 29 Hypothesis is that removing from DOM the video element is supposed to asynchronously pause the video element. 30 We should therefore ensure that the video element is paused before calling getUserMedia. 31 1 32 2020-01-14 Alan Coon <alancoon@apple.com> 2 33 -
branches/safari-609-branch/LayoutTests/webrtc/video-autoplay.html
r253825 r254605 103 103 removedVideo2.remove(); 104 104 105 let cptr = 0; 106 while (++cptr < 20 && !removedVideo2.paused) 107 await new Promise(resolve => setTimeout(resolve, 50)); 108 assert_true(removedVideo2.paused, "out of DOM video should get paused"); 109 105 110 video4.srcObject = await navigator.mediaDevices.getUserMedia({ video : true }); 106 111 … … 108 113 await new Promise(resolve => setTimeout(resolve, 50)); 109 114 110 assert_true(removedVideo2.paused, "out of DOM video ");115 assert_true(removedVideo2.paused, "out of DOM video should not restart after getUserMedia call"); 111 116 }, "Granting getUserMedia should not start paused media 2"); 112 117
Note:
See TracChangeset
for help on using the changeset viewer.