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

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: remove cruft 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/doppler-deprecated-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/doppler-deprecated-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698