toolkit/locales/filter.py
author Smokey Ardisson <alqahira@ardisson.org>
Mon, 07 Jan 2013 23:52:45 -0500
branchCAMINO_2_1_SECBRANCH
changeset 35290 b66b287a2650de54f6b2a2b92f6bd456d1bcd76e
parent 34023 ad815619652f19371bc0fc426e45550971dd51fa
permissions -rw-r--r--
Bug 825484 - Upgrade CAMINO_2_1_SECBRANCH to NSS_3_14_CKBI_1_93_RTM (implies NSPR_4_9_3_RTM). r=wtc/kaie/bsmith/kwilson on the original patches in their original bugs, a=me for CAMINO_2_1_SECBRANCH. CLOSED TREE

def test(mod, path, entity = None):
    import re
    # ignore anything but toolkit
    if mod not in ("netwerk", "dom", "toolkit", "security/manager",
                   "extensions/spellcheck"):
        return None

    # "report" Lorentz strings, don't "error"
    if mod == "toolkit" and path == "chrome/mozapps/plugins/plugins.dtd":
        if entity.startswith('reloadPlugin.'): return "report"
        if entity.startswith('report.'): return "report"

    return "error"