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

Side by Side Diff: LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax.html

Issue 206023003: Fix relative paths in flaky EME tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 </head> 4 </head>
5 <body> 5 <body>
6 <video></video> 6 <video></video>
7 <p>Tests invalid and valid syntaxes.</p> 7 <p>Tests invalid and valid syntaxes.</p>
8 8
9 <script src=../../media-file.js></script> 9 <script src=../../media-file.js></script>
10 <script src=../../video-test.js></script> 10 <script src=../../video-test.js></script>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 consoleWrite("<br>0-length key is caught before load state is checke d."); 63 consoleWrite("<br>0-length key is caught before load state is checke d.");
64 testDOMException("video.webkitAddKey('webkit-org.w3.clearkey', new U int8Array())", "DOMException.TYPE_MISMATCH_ERR"); 64 testDOMException("video.webkitAddKey('webkit-org.w3.clearkey', new U int8Array())", "DOMException.TYPE_MISMATCH_ERR");
65 65
66 consoleWrite("<br>Key system validity is not checked before loading. "); 66 consoleWrite("<br>Key system validity is not checked before loading. ");
67 testDOMException("video.webkitGenerateKeyRequest('com.example.invali d')", "DOMException.INVALID_STATE_ERR"); 67 testDOMException("video.webkitGenerateKeyRequest('com.example.invali d')", "DOMException.INVALID_STATE_ERR");
68 testDOMException("video.webkitAddKey('com.example.invalid', key)", " DOMException.INVALID_STATE_ERR"); 68 testDOMException("video.webkitAddKey('com.example.invalid', key)", " DOMException.INVALID_STATE_ERR");
69 testDOMException("video.webkitCancelKeyRequest('com.example.invalid' )", "DOMException.INVALID_STATE_ERR"); 69 testDOMException("video.webkitCancelKeyRequest('com.example.invalid' )", "DOMException.INVALID_STATE_ERR");
70 70
71 // FIXME(82952): Add "test-encrypted" file. 71 // FIXME(82952): Add "test-encrypted" file.
72 video.setAttribute("src", findMediaFile("video", "../content/test")) ; 72 video.setAttribute("src", findMediaFile("video", "../../content/test "));
73 consoleWrite(""); 73 consoleWrite("");
74 waitForEvent('loadstart', loadStarted); 74 waitForEvent('loadstart', loadStarted);
75 </script> 75 </script>
76 </body> 76 </body>
77 </html> 77 </html>
OLDNEW
« no previous file with comments | « LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698