michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: michael@0: def test(mod, path, entity = None): michael@0: import re michael@0: # ignore anything but b2g and specific overloads from dom and toolkit michael@0: if mod not in ("netwerk", "dom", "toolkit", "security/manager", michael@0: "mobile", michael@0: "b2g"): michael@0: return "ignore" michael@0: michael@0: return "error"