Skip to content
  • weinig@apple.com's avatar
    Add isInterruptedExecutionException and isTerminatedExecutionException predicates · 76c11465
    weinig@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=67892
    
    Reviewed by Andy "First Time Reviewer" Estes.
    
    ../JavaScriptCore: 
    
    * JavaScriptCore.exp:
    Add symbols.
    
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::throwException):
    Use new predicates.
    
    * runtime/ExceptionHelpers.cpp:
    (JSC::createInterruptedExecutionException):
    (JSC::isInterruptedExecutionException):
    (JSC::createTerminatedExecutionException):
    (JSC::isTerminatedExecutionException):
    * runtime/ExceptionHelpers.h:
    (JSC::InterruptedExecutionError::InterruptedExecutionError):
    Add predicates.
    
    ../WebCore: 
    
    * bindings/js/JSDOMBinding.cpp:
    (WebCore::reportException):
    * bindings/js/JSEventListener.cpp:
    (WebCore::JSEventListener::handleEvent):
    * bindings/js/WorkerScriptController.cpp:
    (WebCore::WorkerScriptController::evaluate):
    Use the new predicates instead of probing the ClassInfo directly.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    76c11465