Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: LayoutTests/media/video-seek-no-src-exception.html

Issue 517593003: Allow HTMLMediaElement.currentTime to be set before the transition to HAVE_METADATA (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <body>
3
4 <video loop controls></video>
5
6 <p>Test that seeking video with no 'src' attribute throws an INVALID_STATE_E RR exception.</p>
7
8 <script src=video-test.js></script>
9 <script>
10 testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY);
11 testExpected("video.readyState", HTMLMediaElement.HAVE_NOTHING);
12 testDOMException("video.currentTime = 1.1", "DOMException.INVALID_STATE_ ERR");
13 setTimeout(endTest, 200)
14 </script>
15
16 </body>
17 </html>
OLDNEW
« no previous file with comments | « LayoutTests/media/video-seek-no-src.html ('k') | LayoutTests/media/video-seek-no-src-exception-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698