mozilla/scanjs — pull request #136 by mozfreddyb (2014-05-08 10:10:50+00:00)
Title: New rules for APIs

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...