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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/doppler-deprecated.html

Issue 2380183002: Remove WebAudio doppler effect API surface (already no-ops) (Closed)
Patch Set: Rebase Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <script src="../resources/js-test.js"></script>
3 <script>
4 description("Tests doppler deprecation messages");
5
6 var context = new AudioContext();
7 var listener = context.listener;
8 var panner = context.createPanner();
9
10 shouldBe("listener.dopplerFactor", "1");
11 evalAndLog("listener.dopplerFactor = 2");
12 shouldBe("listener.dopplerFactor", "2");
13
14 shouldBe("listener.speedOfSound", "343.3");
15 evalAndLog("listener.speedOfSound = 400");
16 shouldBe("listener.speedOfSound", "400");
17
18 evalAndLog("listener.setVelocity(0, 0, 0)");
19
20 evalAndLog("panner.setVelocity(0, 0, 0)");
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698