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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/Panner/panner-automation-position.html

Issue 2676873002: Convert Panner Audit tsets to testharness (Closed)
Patch Set: Remove finish task and some extra blank lines Created 3 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
Index: third_party/WebKit/LayoutTests/webaudio/Panner/panner-automation-position.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Panner/panner-automation-position.html b/third_party/WebKit/LayoutTests/webaudio/Panner/panner-automation-position.html
index f8b063b204ab8c7de297fd958bb5ebffbc157608..7cca2a75fdfa0f7f628992f972118846f19b4f8e 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Panner/panner-automation-position.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Panner/panner-automation-position.html
@@ -1,7 +1,8 @@
<!doctype html>
<html>
<head>
- <script src="../../resources/js-test.js"></script>
+ <script src="../../resources/testharness.js"></script>
+ <script src="../../resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script>
<script src="../resources/audio-testing.js"></script>
<script src="../resources/panner-formulas.js"></script>
@@ -10,9 +11,6 @@
<body>
<script>
- description("Test Automation of PannerNode Positions.");
- window.jsTestIsAsync = true;
-
var sampleRate = 48000;
// These tests are quite slow, so don't run for many frames. 256 frames should be enough to
// demonstrate that automations are working.
@@ -93,11 +91,6 @@
audit.defineTask(k + ": 2-channel " + baseTestName, tester(config, 2));
}
- audit.defineTask("finish", function (done) {
- finishJSTest();
- done();
- });
-
audit.runTasks();
function runTest(options, channelCount) {

Powered by Google App Engine
This is Rietveld 408576698