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

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

Issue 1745103002: Renew deprecation messages for Web Audio doppler effects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 <div id="description"></div>
4 <div id="console"></div>
Raymond Toy 2016/02/29 17:22:27 I don't think the description and console divs are
philipj_slow 2016/03/01 05:27:04 Done.
5 <script>
6 description("Tests doppler deprecation messages");
7
8 var context = new AudioContext();
9 var listener = context.listener;
10 var panner = context.createPanner();
11
12 shouldBe("listener.dopplerFactor", "1");
13 evalAndLog("listener.dopplerFactor = 2");
14 shouldBe("listener.dopplerFactor", "2");
15
16 shouldBe("listener.speedOfSound", "343.3");
17 evalAndLog("listener.speedOfSound = 400");
18 shouldBe("listener.speedOfSound", "400");
19
20 evalAndLog("listener.setVelocity(0, 0, 0)");
21
22 evalAndLog("panner.setVelocity(0, 0, 0)");
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698