summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webaudio/historical.html
blob: 1f3146c39d5e6917ae593c9d3f0efa80b1e9567a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!doctype html>
<title>Historical Web Audio API features</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
[
  "webkitAudioContext",
  "webkitAudioPannerNode",
  "webkitOfflineAudioContext",
].forEach(name => {
  test(function() {
    assert_false(name in window);
  }, name + " interface should not exist");
});

[
  "dopplerFactor",
  "speedOfSound",
  "setVelocity"
].forEach(name => {
  test(function() {
    assert_false(name in AudioListener.prototype);
  }, name + " member should not exist on the AudioListener.");
});

test(function() {
  assert_false("setVelocity" in PannerNode.prototype);
}, "setVelocity should not exist on PannerNodes.");
</script>