Changeset 254260 in webkit
- Timestamp:
- Jan 9, 2020, 8:22:53 AM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
webrtc/video-autoplay.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r254258 r254260 1 2020-01-09 Youenn Fablet <youenn@apple.com> 2 3 REGRESSION: [ Mac ] webrtc/video-autoplay.html is a flaky failure 4 https://bugs.webkit.org/show_bug.cgi?id=205893 5 <rdar://problem/58391046> 6 7 Reviewed by Eric Carlson. 8 9 * webrtc/video-autoplay.html: 10 Speculative fix as I am not able to reproduce locally. 11 Hypothesis is that removing from DOM the video element is supposed to asynchronously pause the video element. 12 We should therefore ensure that the video element is paused before calling getUserMedia. 13 1 14 2020-01-09 Miguel Gomez <magomez@igalia.com> 2 15 -
trunk/LayoutTests/webrtc/video-autoplay.html
r253825 r254260 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.