Ignore:
Timestamp:
Dec 4, 2015, 10:50:10 AM (9 years ago)
Author:
Joseph Pecoraro
Message:

Web Inspector: Unskip many inspector/debugger tests
https://bugs.webkit.org/show_bug.cgi?id=151843

Reviewed by Timothy Hatcher.

Source/JavaScriptCore:

  • bindings/ScriptFunctionCall.cpp:

(Deprecated::ScriptFunctionCall::call):
Ignore TerminationExceptions, as those aren't real execution
exceptions and may be seen on Workers that have closed.

LayoutTests:

Skip specific tests.

  • platform/mac-wk2/TestExpectations:

Test no longer existed.

  • inspector/debugger/resources/exception.js:

(exceptionDOM):
Keep the code outputing a NotFoundException. This particular
invocation was recently changed to throw a TypeError.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bindings/ScriptFunctionCall.cpp

    r185608 r193427  
    141141
    142142    if (exception) {
    143         hadException = true;
     143        // Do not treat a terminated execution exception as having an exception. Just treat it as an empty result.
     144        hadException = !isTerminatedExecutionException(exception);
    144145        return Deprecated::ScriptValue();
    145146    }
Note: See TracChangeset for help on using the changeset viewer.