Bug 1148354 - Add a web platform test to test for the non existence of removed methods. r=karlt
authorPaul Adenot <paul@paul.cx>
Wed, 18 Jul 2018 21:18:28 +0200
changeset 427494 5a481b37f45f
parent 427493 8b38f23b507f
child 427495 11b4729e92ec
push id66653
push userpaul@paul.cx
push dateFri, 20 Jul 2018 14:30:10 +0000
treeherderautoland@5a481b37f45f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt
bugs1148354
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1148354 - Add a web platform test to test for the non existence of removed methods. r=karlt MozReview-Commit-ID: 6DoZQJN8JRA
testing/web-platform/tests/webaudio/historical.html
--- a/testing/web-platform/tests/webaudio/historical.html
+++ b/testing/web-platform/tests/webaudio/historical.html
@@ -7,9 +7,23 @@
   "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>