This reduces test failures in moz.js - Some tests are not really doing what the rules suggest, and I'd prefer solving this somewhere else than making the tests say what the rules do ;)
e.g.
"window.navigator.mozWifiManager" should be caught by the navigator.mozWifiManager rule. But if I rewrite the test to $.navigator.mozWifimanager` it stops finding the case without window before it...
This reduces test failures in moz.js - Some tests are not really doing what the rules suggest, and I'd prefer solving this somewhere else than making the tests say what the rules do ;) e.g.
"window.navigator.mozWifiManager" should be caught by the
navigator.mozWifiManager
rule. But if I rewrite the test to $.navigator.mozWifimanager` it stops finding the case without window before it...