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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/panner-automation-equalpower-stereo.html

Issue 1820403002: Implement Automations for PannerNode and AutioListener (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test because CL for min/maxValue AudioParam landed Created 4 years, 7 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-automation-equalpower-stereo.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/panner-equalpower-stereo.html b/third_party/WebKit/LayoutTests/webaudio/panner-automation-equalpower-stereo.html
similarity index 84%
copy from third_party/WebKit/LayoutTests/webaudio/panner-equalpower-stereo.html
copy to third_party/WebKit/LayoutTests/webaudio/panner-automation-equalpower-stereo.html
index 79af7c64070f978564e4de13ad234713c4dd2366..42e6e2858694c3613d376e1d34ddd7caad1ed2db 100644
--- a/third_party/WebKit/LayoutTests/webaudio/panner-equalpower-stereo.html
+++ b/third_party/WebKit/LayoutTests/webaudio/panner-automation-equalpower-stereo.html
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!doctype html>
<html>
<head>
<script src="resources/compatibility.js"></script>
@@ -31,7 +31,11 @@
// Create offline audio context.
context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
- createTestAndRun(context, nodesToCreate, 2);
+ createTestAndRun(context, nodesToCreate, 2, function (panner, x, y, z) {
+ panner.positionX.value = x;
+ panner.positionY.value = y;
+ panner.positionZ.value = z;
+ });
}
runTest();

Powered by Google App Engine
This is Rietveld 408576698