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

Unified Diff: LayoutTests/permissionclient/resources/video.html

Issue 27694002: Ability to block <audio> and <video> media. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename "video" to "media". Created 7 years, 2 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: LayoutTests/permissionclient/resources/video.html
diff --git a/LayoutTests/permissionclient/resources/video.html b/LayoutTests/permissionclient/resources/video.html
new file mode 100644
index 0000000000000000000000000000000000000000..8cdcc1e38e93e85af68d1fd16604a92dba1bb9b1
--- /dev/null
+++ b/LayoutTests/permissionclient/resources/video.html
@@ -0,0 +1,28 @@
+<html>
+<head>
+<script>
+function log(a)
+{
+ document.getElementById("results").innerHTML += a + "<br>";
+}
+
+function loaded()
+{
+ log('FAIL: load event for iframed video');
+ done();
+}
+
+function done()
+{
+ if (window.testRunner) {
+ testRunner.notifyDone();
+ }
+}
+</script>
+</head>
+<body>
+<video src="test.ogv" onloadeddata="loaded()" onerror="done()">
+</video>
+<div id="results"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698