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

Unified Diff: third_party/WebKit/LayoutTests/media/csp-blocks-video.html

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/media/csp-blocks-video.html
diff --git a/third_party/WebKit/LayoutTests/media/csp-blocks-video.html b/third_party/WebKit/LayoutTests/media/csp-blocks-video.html
index bf72dc03653aee1f000641942238cdfcf62769a0..e25b68a980ccdfd66d33597021fd174210a140da 100644
--- a/third_party/WebKit/LayoutTests/media/csp-blocks-video.html
+++ b/third_party/WebKit/LayoutTests/media/csp-blocks-video.html
@@ -1,13 +1,15 @@
<meta http-equiv="Content-Security-Policy" content="media-src 'none'">
<video controls></video>
<script src=media-file.js></script>
+<!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
+ (Please avoid writing new tests using video-test.js) -->
<script src=video-test.js></script>
<p>This test passes if it doesn't alert failure.</p>
<script>
var mediaFile = findMediaFile("video", "content/test");
video.src = mediaFile;
-waitForEvent('loadedmetadata', function () {
+waitForEvent('loadedmetadata', function () {
alert('FAIL');
endTest();
} );

Powered by Google App Engine
This is Rietveld 408576698