'Test the exception value to determine if it looks like the error is
caused by a common browser extension.'

def test(self, data):

    if (data.get('platform') != 'javascript'):
        return False
    exc_value = self.get_exception_value(data)
    if exc_value:
        if EXTENSION_EXC_VALUES.search(exc_value):
            return True
    exc_source = self.get_exception_source(data)
    if exc_source:
        if EXTENSION_EXC_SOURCES.search(exc_source):
            return True
    return False
