зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1148354 - Add a web platform test to test for the non existence of removed methods. r=karlt
MozReview-Commit-ID: 6DoZQJN8JRA --HG-- extra : rebase_source : a49a665c5cd2873048943f68281f1c93af25a127
This commit is contained in:
Родитель
c0f386b1a6
Коммит
0702181207
|
@ -12,4 +12,18 @@
|
|||
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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче