Changeset 219579 in webkit
- Timestamp:
- Jul 17, 2017 3:49:02 PM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r219576 r219579 1 2017-07-17 Jeremy Jones <jeremyj@apple.com> 2 3 media element handle adding source immediately before src. 4 https://bugs.webkit.org/show_bug.cgi?id=174284 5 6 Reviewed by David Kilzer. 7 8 Adds missing -expected and tests to make sure resulting currentSrc is correct. 9 10 * TestExpectations: 11 * media/video-source-before-src-expected.txt: Added. 12 * media/video-source-before-src.html: 13 1 14 2017-07-17 Matt Lewis <jlewis3@apple.com> 2 15 -
trunk/LayoutTests/TestExpectations
r219463 r219579 1400 1400 1401 1401 webkit.org/b/173333 imported/w3c/web-platform-tests/dom/nodes/Document-constructor-svg.svg [ Skip ] 1402 1403 webkit.org/b/174284 media/video-source-before-src.html [ Skip ] -
trunk/LayoutTests/media/video-source-before-src.html
r219305 r219579 1 1 <html> 2 2 <head> 3 <script src=video-test.js></script> 3 4 <script> 4 5 … … 9 10 } 10 11 12 var video 13 11 14 window.onload = () => { 12 var video = document.getElementsByTagName("video")[0] 13 video.appendChild(document.createElement("source")) 14 video.src = "test.mp4" 15 video = document.getElementsByTagName("video")[0]; 16 var source = document.createElement("source"); 17 source.src = "source.mp4"; 18 video.appendChild(source); 19 video.src = "src.mp4"; 15 20 16 21 setTimeout(()=>{ 22 testExpected("relativeURL(video.currentSrc)", ""); 17 23 if (window.testRunner) 18 24 testRunner.notifyDone(); 19 }, 1) 25 }, 1); 20 26 } 21 27 … … 24 30 <body> 25 31 Append source element before setting src attribute.<br> 32 Platforms that support setVideoPlaybackRequiresUserGesture 33 will have the expected, empty, currentSrc. Platforms that don't should 34 have the unexpected "src.mp4".<br> 26 35 <video width=320 height=240></video> 27 36 </body>
Note: See TracChangeset
for help on using the changeset viewer.