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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash.html

Issue 1495533002: Robustify state-transitions in HTMLMediaElement::startDeferredLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix expectation. Created 5 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Setting preload=metadata after calling load() w/ preload=none</title>
3 <script src="media-file.js"></script>
4 <p>PASS if no crash in Debug.</p>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
8
9 var video = document.createElement('video');
10 video.preload = "none";
11 video.src = findMediaFile('video', 'content/test');
12 video.load();
13 video.preload = "metadata";
14 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698