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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/MediaStream-MediaElement-preload-none.https.html

Issue 2086283003: Update web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into wpt_import Created 4 years, 5 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- Copyright © 2016 Chromium authors and World Wide Web Consortium, (Massachus etts Institute of Technology, ERCIM, Keio University, Beihang). --> 2 <!-- Copyright © 2016 Chromium authors and World Wide Web Consortium, (Massachus etts Institute of Technology, ERCIM, Keio University, Beihang). -->
3 <html> 3 <html>
4 <head> 4 <head>
5 <title>Test that the HTMLMediaElement preload 'none' attribute value is ignored for MediaStream used as srcObject and MediaStream object URLs used as sr c.</title>> 5 <title>Test that the HTMLMediaElement preload 'none' attribute value is ignored for MediaStream used as srcObject and MediaStream object URLs used as sr c.</title>>
6 <link rel="author" title="Matthew Wolenetz" href="mailto:wolenetz@chromi um.org"/> 6 <link rel="author" title="Matthew Wolenetz" href="mailto:wolenetz@chromi um.org"/>
7 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharness.js"></script>
8 <script src="/resources/testharnessreport.js"></script> 8 <script src="/resources/testharnessreport.js"></script>
9 <script src="/common/vendor-prefix.js" data-prefixed-objects='[{"ancesto rs":["navigator"], "name":"getUserMedia"}, {"ancestors":["window"], "name":"Medi aStream"}]'></script> 9 <script src="/common/vendor-prefix.js" data-prefixed-objects='[{"ancesto rs":["navigator"], "name":"getUserMedia"}, {"ancestors":["window"], "name":"Medi aStream"}]'></script>
10 </head> 10 </head>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 { 49 {
50 var vid = document.querySelector("video"); 50 var vid = document.querySelector("video");
51 navigator.getUserMedia({video:true}, t.step_func(function(stream ) 51 navigator.getUserMedia({video:true}, t.step_func(function(stream )
52 { 52 {
53 testPreloadNone(t, vid, t.step_func(function() { vid.srcObje ct = stream; })); 53 testPreloadNone(t, vid, t.step_func(function() { vid.srcObje ct = stream; }));
54 }), t.unreached_func("getUserMedia error callback was invoked.") ); 54 }), t.unreached_func("getUserMedia error callback was invoked.") );
55 }, "Test that preload 'none' is ignored for MediaStream used as srcO bject"); 55 }, "Test that preload 'none' is ignored for MediaStream used as srcO bject");
56 </script> 56 </script>
57 </body> 57 </body>
58 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698