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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/media-src-track-block.html

Issue 2766913003: Fixed and improved content-security-policy/media-src tests (Closed)
Patch Set: Re-edited TestExpectations after a rebase-update to try to make the patch apply properly this time Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/media-src-track-block.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/media-src-track-block.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/media-src-track-block.html
deleted file mode 100644
index 84276b7bda63acd8ab5107b6480fca1c9287c3d4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/media-src-track-block.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<html>
-<head>
- <meta http-equiv="Content-Security-Policy" content="media-src 'none'">
- <script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
- function loaded() {
- alert("FAIL");
- if (window.testRunner)
- testRunner.notifyDone();
- }
- function errored() {
- alert("PASS");
- if (window.testRunner)
- testRunner.notifyDone();
- }
- function start() {
- var track = document.querySelector('track');
- track.track.mode = "hidden";
- track.setAttribute('src', 'resources/track.vtt');
- }
- </script>
-</head>
-<body onload="start()">
- <video>
- <track kind="captions" onload="loaded()" onerror="errored()">
- </video>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698