Skip to content
Permalink
Browse files
Unreviewed gardening. Update results of inspector tests.
* inspector-protocol/debugger/breakpoint-eval-with-exception-expected.txt:
* inspector-protocol/debugger/regress-133182-expected.txt:
* inspector-protocol/debugger/regress-133182.html:
* inspector-protocol/debugger/setBreakpoint-actions-expected.txt:
* inspector-protocol/debugger/terminate-dedicated-worker-while-paused-expected.txt:
* inspector-protocol/page/deny-X-FrameOption-expected.txt:
* inspector/debugger/search-scripts-expected.txt:

Canonical link: https://commits.webkit.org/162503@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
JosephPecoraro committed May 1, 2015
1 parent 73ebe51 commit be0f5c170331092845446324fa61932d6f8dacc4
@@ -1,3 +1,15 @@
2015-04-30 Joseph Pecoraro <pecoraro@apple.com>

Unreviewed gardening. Update results of inspector tests.

* inspector-protocol/debugger/breakpoint-eval-with-exception-expected.txt:
* inspector-protocol/debugger/regress-133182-expected.txt:
* inspector-protocol/debugger/regress-133182.html:
* inspector-protocol/debugger/setBreakpoint-actions-expected.txt:
* inspector-protocol/debugger/terminate-dedicated-worker-while-paused-expected.txt:
* inspector-protocol/page/deny-X-FrameOption-expected.txt:
* inspector/debugger/search-scripts-expected.txt:

2015-04-30 Joseph Pecoraro <pecoraro@apple.com>

Unreviewed gardening. Remove skipped and broken inspector test.
@@ -2,6 +2,6 @@ While being paused on a breakpoint the debugger should ignore the exceptions fro

Found breakpoint.js
inside breakpointBasic
PASS: Paused in debugger: reason = "other"
PASS: Paused in debugger: reason = "Breakpoint"
PASS: The debugger should not stop on the exception thrown by a console command while paused on a breakpoint.

@@ -1,44 +1,44 @@
CONSOLE MESSAGE: line 48: [1] Testing statement '({}).a.b.c.d;'
CONSOLE MESSAGE: line 49: [1] Paused and about to step
CONSOLE MESSAGE: line 61: [1] Resumed
CONSOLE MESSAGE: line 53: [1] Paused after stepping
CONSOLE MESSAGE: line 61: [1] Resumed
CONSOLE MESSAGE: line 47: [1] Testing statement '({}).a.b.c.d;'
CONSOLE MESSAGE: line 48: [1] Paused and about to step
CONSOLE MESSAGE: line 60: [1] Resumed
CONSOLE MESSAGE: line 52: [1] Paused after stepping
CONSOLE MESSAGE: line 60: [1] Resumed
CONSOLE MESSAGE: line 1: TypeError: undefined is not an object (evaluating '({}).a.b')
CONSOLE MESSAGE: line 48: [2] Testing statement 'exceptionBasic();'
CONSOLE MESSAGE: line 49: [2] Paused and about to step
CONSOLE MESSAGE: line 61: [2] Resumed
CONSOLE MESSAGE: line 53: [2] Paused after stepping
CONSOLE MESSAGE: line 61: [2] Resumed
CONSOLE MESSAGE: line 47: [2] Testing statement 'exceptionBasic();'
CONSOLE MESSAGE: line 48: [2] Paused and about to step
CONSOLE MESSAGE: line 60: [2] Resumed
CONSOLE MESSAGE: line 52: [2] Paused after stepping
CONSOLE MESSAGE: line 60: [2] Resumed
CONSOLE MESSAGE: line 3: TypeError: undefined is not an object (evaluating '({}).a.b')
CONSOLE MESSAGE: line 48: [3] Testing statement 'exceptionDOM();'
CONSOLE MESSAGE: line 49: [3] Paused and about to step
CONSOLE MESSAGE: line 61: [3] Resumed
CONSOLE MESSAGE: line 53: [3] Paused after stepping
CONSOLE MESSAGE: line 61: [3] Resumed
CONSOLE MESSAGE: line 47: [3] Testing statement 'exceptionDOM();'
CONSOLE MESSAGE: line 48: [3] Paused and about to step
CONSOLE MESSAGE: line 60: [3] Resumed
CONSOLE MESSAGE: line 52: [3] Paused after stepping
CONSOLE MESSAGE: line 60: [3] Resumed
CONSOLE MESSAGE: line 8: NotFoundError: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist.
CONSOLE MESSAGE: line 48: [4] Testing statement 'exceptionInHostFunction();'
CONSOLE MESSAGE: line 49: [4] Paused and about to step
CONSOLE MESSAGE: line 61: [4] Resumed
CONSOLE MESSAGE: line 53: [4] Paused after stepping
CONSOLE MESSAGE: line 61: [4] Resumed
CONSOLE MESSAGE: line 47: [4] Testing statement 'exceptionInHostFunction();'
CONSOLE MESSAGE: line 48: [4] Paused and about to step
CONSOLE MESSAGE: line 60: [4] Resumed
CONSOLE MESSAGE: line 52: [4] Paused after stepping
CONSOLE MESSAGE: line 60: [4] Resumed
CONSOLE MESSAGE: line 24: exception in host function
CONSOLE MESSAGE: line 48: [5] Testing statement 'throwString();'
CONSOLE MESSAGE: line 49: [5] Paused and about to step
CONSOLE MESSAGE: line 61: [5] Resumed
CONSOLE MESSAGE: line 53: [5] Paused after stepping
CONSOLE MESSAGE: line 61: [5] Resumed
CONSOLE MESSAGE: line 47: [5] Testing statement 'throwString();'
CONSOLE MESSAGE: line 48: [5] Paused and about to step
CONSOLE MESSAGE: line 60: [5] Resumed
CONSOLE MESSAGE: line 52: [5] Paused after stepping
CONSOLE MESSAGE: line 60: [5] Resumed
CONSOLE MESSAGE: line 13: exception string
CONSOLE MESSAGE: line 48: [6] Testing statement 'throwParam({x:1});'
CONSOLE MESSAGE: line 49: [6] Paused and about to step
CONSOLE MESSAGE: line 61: [6] Resumed
CONSOLE MESSAGE: line 53: [6] Paused after stepping
CONSOLE MESSAGE: line 61: [6] Resumed
CONSOLE MESSAGE: line 47: [6] Testing statement 'throwParam({x:1});'
CONSOLE MESSAGE: line 48: [6] Paused and about to step
CONSOLE MESSAGE: line 60: [6] Resumed
CONSOLE MESSAGE: line 52: [6] Paused after stepping
CONSOLE MESSAGE: line 60: [6] Resumed
CONSOLE MESSAGE: line 18: [object Object]
CONSOLE MESSAGE: line 48: [7] Testing statement 'throwParam(new Error('error message'));'
CONSOLE MESSAGE: line 49: [7] Paused and about to step
CONSOLE MESSAGE: line 61: [7] Resumed
CONSOLE MESSAGE: line 53: [7] Paused after stepping
CONSOLE MESSAGE: line 61: [7] Resumed
CONSOLE MESSAGE: line 47: [7] Testing statement 'throwParam(new Error('error message'));'
CONSOLE MESSAGE: line 48: [7] Paused and about to step
CONSOLE MESSAGE: line 60: [7] Resumed
CONSOLE MESSAGE: line 52: [7] Paused after stepping
CONSOLE MESSAGE: line 60: [7] Resumed
CONSOLE MESSAGE: line 18: Error: error message
Regression test for https://bugs.webkit.org/show_bug.cgi?id=133182

@@ -21,7 +21,6 @@

function triggerNextUncaughtException()
{

// Evaluate statement and expect to pause.
if (testIndex < statementsWithUncaughtExceptions.length) {
var statement = statementsWithUncaughtExceptions[testIndex++];
@@ -34,7 +33,6 @@
InspectorTest.completeTest();
}


InspectorTest.sendCommand("Debugger.enable", {});
InspectorTest.sendCommand("Debugger.setPauseOnExceptions", {state: "uncaught"}, function(responseObject) {
InspectorTest.checkForError(responseObject);
@@ -1,9 +1,9 @@
CONSOLE MESSAGE: log-action-before
CONSOLE MESSAGE: line 19: log-action-before
CONSOLE MESSAGE: line 1: eval-action
CONSOLE MESSAGE: log-action-after
CONSOLE MESSAGE: log-action-before
CONSOLE MESSAGE: line 19: log-action-after
CONSOLE MESSAGE: line 19: log-action-before
CONSOLE MESSAGE: line 1: eval-action
CONSOLE MESSAGE: log-action-after
CONSOLE MESSAGE: line 19: log-action-after
Debugger.setBreakpoint options.actions

Found breakpoint.js
@@ -1,4 +1,6 @@
Test that inspected page won't crash if inspected worker is terminated while it is paused. Test passes if it doesn't crash. Bug 101065.
Test that inspected page won't crash if inspected worker is terminated while it is paused. Test passes if it doesn't crash.

Bug 101065.
Started worker
Worker created
didConnectToWorker
@@ -1,4 +1,4 @@
CONSOLE MESSAGE: Refused to display 'deny-X-FrameOption.html' in a frame because it set 'X-Frame-Options' to 'deny'.
CONSOLE MESSAGE: line 30: Refused to display 'deny-X-FrameOption.html' in a frame because it set 'X-Frame-Options' to 'deny'.

deny-X-FrameOption.html:30:17

@@ -13,8 +13,8 @@ RESULTS: 2

SCRIPT: LayoutTests/inspector/debugger/search-scripts.html
RESULTS: 1
LINE: 0
CONTENT: (function(event) {runTest(); // SEARCHTEST: onload attribute string
LINE: 1
CONTENT: runTest(); // SEARCHTEST: onload attribute string

SCRIPT: eval1.js
RESULTS: 1

0 comments on commit be0f5c1

Please sign in to comment.