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

Unified Diff: LayoutTests/http/tests/security/media-element-audio-source-node-cross-origin.html

Issue 905023002: Revert https://codereview.chromium.org/520433002 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove tests too Created 5 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/media-element-audio-source-node-cross-origin-allowed.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/media-element-audio-source-node-cross-origin.html
diff --git a/LayoutTests/http/tests/security/media-element-audio-source-node-cross-origin.html b/LayoutTests/http/tests/security/media-element-audio-source-node-cross-origin.html
deleted file mode 100644
index 2a4bb662e8626aec72a34148e64540ff38c407fd..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/media-element-audio-source-node-cross-origin.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <script src="resources/webaudio/compatibility.js"></script>
- <script src="resources/webaudio/media-element-audio-source-node-test.js"></script>
- <script src="resources/webaudio/js-test.js"></script>
- </head>
-
- <body>
- <div id="description"></div>
- <div id="console"></div>
-
- <script>
- description("MediaElementAudioSourceNode with cross-origin source");
-
- var src = "http://localhost:8000/security/resources/webaudio/laughter.wav";
- var data;
-
- function checkResult (e) {
- data = e.renderedBuffer.getChannelData(0);
- var count = 0;
-
- // Count the number of non-zero values. Since this is a cross-origin source, all the values
- // should be zero.
- for (var k = 0; k < data.length; ++k) {
- if (data[k] != 0) {
- ++count;
- }
- }
- if (count > 0) {
- testFailed("Expected all zeros but found " + count + " non-zero values out of " + data.length + ".");
- } else {
- testPassed("All samples correctly zeroed.");
- }
- }
-
- runTest(src, checkResult);
-
- </script>
- </body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/media-element-audio-source-node-cross-origin-allowed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698