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

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

Issue 27694002: Ability to block <audio> and <video> media. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased. Created 6 years, 6 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/audio.html
diff --git a/LayoutTests/permissionclient/resources/audio.html b/LayoutTests/permissionclient/resources/audio.html
new file mode 100644
index 0000000000000000000000000000000000000000..fe8b1b44c952f2df75a7b11dd654c4424449ca33
--- /dev/null
+++ b/LayoutTests/permissionclient/resources/audio.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function log(a)
+{
+ document.getElementById("results").innerHTML += a + "<br>";
+}
+
+function loaded()
+{
+ log('FAIL: load event for iframed sound');
+ done();
+}
+
+function done()
+{
+ if (window.testRunner)
+ testRunner.notifyDone();
+}
+</script>
+</head>
+<body>
+<video src="../../media/content/silence.oga" onloadeddata="loaded()" onerror="done()">
+</video>
+<div id="results"></div>
+</body>
+</html>
« no previous file with comments | « LayoutTests/permissionclient/audio-permissions-expected.txt ('k') | LayoutTests/permissionclient/resources/video.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698