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

Unified Diff: LayoutTests/webaudio/oscillator-custom.html

Issue 720293002: Replace oscillator tests with more robust tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Refactor according to review Created 6 years, 1 month 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/webaudio/oscillator-custom.html
diff --git a/LayoutTests/webaudio/oscillator-custom.html b/LayoutTests/webaudio/oscillator-custom.html
deleted file mode 100644
index 6a6d57a256038dd81f781fbcd7c017faa4eab788..0000000000000000000000000000000000000000
--- a/LayoutTests/webaudio/oscillator-custom.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-Create an oscillator with a custom PeriodicWave and generate a slow exponential tone sweep.
-The result can be checked for the correct wave shape and for aliasing artifacts.
-See oscillator-testing.js for details.
--->
-
-<html>
-<head>
-<script type="text/javascript" src="resources/audio-testing.js"></script>
-<script type="text/javascript" src="resources/oscillator-testing.js"></script>
-</head>
-<body>
-
-<script>
-
-window.onload = init;
-
-function init() {
- if (!window.testRunner)
- return;
-
- // Create offline audio context.
- context = new OfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
- generateExponentialOscillatorSweep(context, "custom");
-
- context.oncomplete = finishAudioTest;
- context.startRendering();
-
- testRunner.waitUntilDone();
-}
-
-</script>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/webaudio/osc-triangle-sweep-snr-expected.txt ('k') | LayoutTests/webaudio/oscillator-custom-expected.wav » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698