09674b9283
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}
34 lines
845 B
Plaintext
34 lines
845 B
Plaintext
Debugger.scriptParsed.stackTrace should contain only one frame
|
|
{
|
|
method : Debugger.scriptParsed
|
|
params : {
|
|
endColumn : 0
|
|
endLine : 0
|
|
executionContextId : <executionContextId>
|
|
hasSourceURL : false
|
|
hash : 3fb75160ab1f4e4e82675bc4cd924d3481abe278
|
|
isLiveEdit : false
|
|
isModule : false
|
|
length : 0
|
|
scriptId : <scriptId>
|
|
sourceMapURL :
|
|
stackTrace : {
|
|
callFrames : [
|
|
[0] : {
|
|
columnNumber : 17
|
|
functionName :
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
url :
|
|
}
|
|
]
|
|
parentId : {
|
|
id : <id>
|
|
}
|
|
}
|
|
startColumn : 0
|
|
startLine : 0
|
|
url :
|
|
}
|
|
}
|