# Path: validator/compat.py
# FX47_DEFINITION = _build_definition(47, fennec=False, android=False, thunderbird=False)
# 
# FX48_DEFINITION = _build_definition(48, fennec=False, android=False, thunderbird=False)
# 
# FX50_DEFINITION = _build_definition(50, fennec=False, android=False, thunderbird=False)
# 
# FX51_DEFINITION = _build_definition(51, fennec=False, android=False, thunderbird=False)
# 
# FX52_DEFINITION = _build_definition(52, fennec=False, android=False, thunderbird=False)
# 
# FX53_DEFINITION = _build_definition(53, fennec=False, android=False, thunderbird=False)
# 
# FX54_DEFINITION = _build_definition(54, fennec=False, android=False, thunderbird=False)


from call_definitions import open_in_chrome_context
from instanceproperties import _set_HTML_property
from validator.compat import (
    FX47_DEFINITION, FX48_DEFINITION, FX50_DEFINITION, FX51_DEFINITION,
    FX52_DEFINITION, FX53_DEFINITION, FX54_DEFINITION)
from validator.constants import BUGZILLA_BUG, MDN_DOC
        from validator.testcases.javascript.predefinedentities import (
            CUSTOMIZATION_API_HELP)
                        'nsIPK11TokenDB', 'findTokenByName'),
                warning='Calling findTokenByName("") is no longer valid.',
                description=(
                    'Calling findTokenByName("") is no longer valid. '
                    'If you need to determine if there\'s a master password '
                    'set, please see %s for more information.' % link),
                filename=traverser.filename,
                line=traverser.line,
                column=traverser.position,
                for_appversions=FX53_DEFINITION,
                compatibility_type='error',
                context=traverser.context,
                tier=5)
    return {'return': _return}


@register_entity(u'nsIFormHistory2')
def nsIFormHistory2(traverser):
    traverser.err.warning(
        err_id=('testcases_javascript_entity_values', 'nsIFormHistory2'),
        warning=(
            'The nsIFormHistory2 interface has been removed. You can use '
            'FormHistory.jsm instead.'),
        description=(
            'The nsIFormHistory2 interface has been removed. You can use '
            'FormHistory.jsm instead. See %s for more information.'
            % BUGZILLA_BUG % 876002),
        filename=traverser.filename,
        line=traverser.line,
        column=traverser.position,

# Path: validator/compat.py
# FX47_DEFINITION = _build_definition(47, fennec=False, android=False, thunderbird=False)
# 
# FX48_DEFINITION = _build_definition(48, fennec=False, android=False, thunderbird=False)
# 
# FX50_DEFINITION = _build_definition(50, fennec=False, android=False, thunderbird=False)
# 
# FX51_DEFINITION = _build_definition(51, fennec=False, android=False, thunderbird=False)
# 
# FX52_DEFINITION = _build_definition(52, fennec=False, android=False, thunderbird=False)
# 
# FX53_DEFINITION = _build_definition(53, fennec=False, android=False, thunderbird=False)
# 
# FX54_DEFINITION = _build_definition(54, fennec=False, android=False, thunderbird=False)


# Path: validator/testcases/javascript/entity_values.py
from call_definitions import open_in_chrome_context
from instanceproperties import _set_HTML_property
from validator.compat import (
    FX47_DEFINITION, FX48_DEFINITION, FX50_DEFINITION, FX51_DEFINITION,
    FX52_DEFINITION, FX53_DEFINITION, FX54_DEFINITION)
from validator.constants import BUGZILLA_BUG, MDN_DOC
        from validator.testcases.javascript.predefinedentities import (
            CUSTOMIZATION_API_HELP)

                        'nsIPK11TokenDB', 'findTokenByName'),
                warning='Calling findTokenByName("") is no longer valid.',
                description=(
                    'Calling findTokenByName("") is no longer valid. '
                    'If you need to determine if there\'s a master password '
                    'set, please see %s for more information.' % link),
                filename=traverser.filename,
                line=traverser.line,
                column=traverser.position,
                for_appversions=FX53_DEFINITION,
                compatibility_type='error',
                context=traverser.context,
                tier=5)
    return {'return': _return}


@register_entity(u'nsIFormHistory2')
def nsIFormHistory2(traverser):
    traverser.err.warning(
        err_id=('testcases_javascript_entity_values', 'nsIFormHistory2'),
        warning=(
            'The nsIFormHistory2 interface has been removed. You can use '
            'FormHistory.jsm instead.'),
        description=(
            'The nsIFormHistory2 interface has been removed. You can use '
            'FormHistory.jsm instead. See %s for more information.'
            % BUGZILLA_BUG % 876002),
        filename=traverser.filename,
        line=traverser.line,
        column=traverser.position,

        for_appversions=FX54_DEFINITION,