v8/test/inspector/sessions/runtime-evaluate-exception-expected.txt
Toon Verwaest 09674b9283 WIP: [parser] Fix arrow function name inferring
This is a reland of part of
https://chromium-review.googlesource.com/c/v8/v8/+/1397664.

It drops the explicit fni_.Infer() call after parsing arrow functions. We'll
want to avoid inferring if the arrow function is an argument to a function
call.

It also avoids adding the single argument of "name => " to the inferred name.

Bug: chromium:916975
Change-Id: I96a934408113483d73eba14073fe21e8cfe2ada6
Reviewed-on: https://chromium-review.googlesource.com/c/1397665
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58613}
2019-01-08 08:10:03 +00:00

278 lines
6.9 KiB
Plaintext

Tests that all sessions get exception notifications.
Throwing in 2
Throwing in 1
Throwing in setTimeout 1
From session 1
{
method : Runtime.exceptionThrown
params : {
exceptionDetails : {
columnNumber : 19
exception : {
type : string
value : error3
}
exceptionId : <exceptionId>
executionContextId : <executionContextId>
lineNumber : 0
stackTrace : {
callFrames : [
[0] : {
columnNumber : 19
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
}
text : Uncaught error3
}
timestamp : <timestamp>
}
}
From session 2
{
method : Runtime.exceptionThrown
params : {
exceptionDetails : {
columnNumber : 19
exception : {
type : string
value : error3
}
exceptionId : <exceptionId>
executionContextId : <executionContextId>
lineNumber : 0
stackTrace : {
callFrames : [
[0] : {
columnNumber : 19
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
}
text : Uncaught error3
}
timestamp : <timestamp>
}
}
Throwing in setTimeout 2
From session 1
{
method : Runtime.exceptionThrown
params : {
exceptionDetails : {
columnNumber : 19
exception : {
type : string
value : error4
}
exceptionId : <exceptionId>
executionContextId : <executionContextId>
lineNumber : 0
stackTrace : {
callFrames : [
[0] : {
columnNumber : 19
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
}
text : Uncaught error4
}
timestamp : <timestamp>
}
}
From session 2
{
method : Runtime.exceptionThrown
params : {
exceptionDetails : {
columnNumber : 19
exception : {
type : string
value : error4
}
exceptionId : <exceptionId>
executionContextId : <executionContextId>
lineNumber : 0
stackTrace : {
callFrames : [
[0] : {
columnNumber : 19
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
}
text : Uncaught error4
}
timestamp : <timestamp>
}
}
Rejecting in 2
From session 1
{
method : Runtime.exceptionThrown
params : {
exceptionDetails : {
columnNumber : 40
exception : {
type : string
value : error5
}
exceptionId : <exceptionId>
executionContextId : <executionContextId>
lineNumber : 0
stackTrace : {
callFrames : [
[0] : {
columnNumber : 40
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
}
text : Uncaught error5
}
timestamp : <timestamp>
}
}
From session 2
{
method : Runtime.exceptionThrown
params : {
exceptionDetails : {
columnNumber : 40
exception : {
type : string
value : error5
}
exceptionId : <exceptionId>
executionContextId : <executionContextId>
lineNumber : 0
stackTrace : {
callFrames : [
[0] : {
columnNumber : 40
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
}
text : Uncaught error5
}
timestamp : <timestamp>
}
}
Revoking in 2
From session 1
{
method : Runtime.exceptionRevoked
params : {
exceptionId : <exceptionId>
reason : Handler added to rejected promise
}
}
id matching: true
From session 2
{
method : Runtime.exceptionRevoked
params : {
exceptionId : <exceptionId>
reason : Handler added to rejected promise
}
}
id matching: true
Rejecting in 1
From session 1
{
method : Runtime.exceptionThrown
params : {
exceptionDetails : {
columnNumber : 40
exception : {
type : string
value : error6
}
exceptionId : <exceptionId>
executionContextId : <executionContextId>
lineNumber : 0
stackTrace : {
callFrames : [
[0] : {
columnNumber : 40
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
}
text : Uncaught error6
}
timestamp : <timestamp>
}
}
From session 2
{
method : Runtime.exceptionThrown
params : {
exceptionDetails : {
columnNumber : 40
exception : {
type : string
value : error6
}
exceptionId : <exceptionId>
executionContextId : <executionContextId>
lineNumber : 0
stackTrace : {
callFrames : [
[0] : {
columnNumber : 40
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
}
text : Uncaught error6
}
timestamp : <timestamp>
}
}
Revoking in 1
From session 1
{
method : Runtime.exceptionRevoked
params : {
exceptionId : <exceptionId>
reason : Handler added to rejected promise
}
}
id matching: true
From session 2
{
method : Runtime.exceptionRevoked
params : {
exceptionId : <exceptionId>
reason : Handler added to rejected promise
}
}
id matching: true