v8/test/inspector/debugger/script-parsed-hash-expected.txt
Philip Pfaffe e71d328fb3 Report additional wasm script info on the CDP
Add a scriptLanguage enum to the new scripts events. This overhauls
crrev.com/c/2011083 that was related. Report the code section offset
as well as the script language on the Debugger.scriptParsed and
Debugger.scriptFailedToParse events.

Bug: chromium:1057569
Change-Id: I40b43f28f0b3e094720db4fc1f07db1a0c293ee0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2083025
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66749}
2020-03-17 13:25:24 +00:00

50 lines
1.1 KiB
Plaintext

Tests scripts hasing
{
endColumn : 1
endLine : 0
executionContextId : <executionContextId>
hasSourceURL : false
hash : 28e2d6c1ab1f4e4e82675bc4cd924d3481abe278
isLiveEdit : false
isModule : false
length : 1
scriptId : <scriptId>
scriptLanguage : JavaScript
sourceMapURL :
startColumn : 0
startLine : 0
url : foo1.js
}
{
endColumn : 3
endLine : 0
executionContextId : <executionContextId>
hasSourceURL : false
hash : 3dce1fbe923a7e1582675bc4cd924d3481abe278
isLiveEdit : false
isModule : false
length : 3
scriptId : <scriptId>
scriptLanguage : JavaScript
sourceMapURL :
startColumn : 0
startLine : 0
url : foo2.js
}
{
endColumn : 8106
endLine : 0
executionContextId : <executionContextId>
hasSourceURL : false
hash : 2a3f94401c23c4d8336963ce4656dae27a95edb4
isLiveEdit : false
isModule : false
length : 8106
scriptId : <scriptId>
scriptLanguage : JavaScript
sourceMapURL :
startColumn : 0
startLine : 0
url : foo3.js
}