6af30f41e4
The debugger script implementation had its own way to write uint32_t values to a string as hex values. This removes the custom code and uses a shared implementation in String16Builder instead. The observable effect is that script hashes are now lower-case and the character sequence is reversed for each 8-character pair. Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: Ib21769fbe10c24055fbd3fa9573bc5c2d72f6a74 Reviewed-on: https://chromium-review.googlesource.com/951303 Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Commit-Queue: Stephan Herhut <herhut@chromium.org> Cr-Commit-Position: refs/heads/master@{#51801}
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
Debugger.scriptParsed and Debugger.scriptFailedToParse with ES6 module
|
|
|
|
Running test: testLoadedModulesOnDebuggerEnable
|
|
{
|
|
method : Debugger.scriptParsed
|
|
params : {
|
|
endColumn : 1
|
|
endLine : 3
|
|
executionContextId : <executionContextId>
|
|
hasSourceURL : false
|
|
hash : 03b276dd81b75bf832afbeccbbd273c62dad100c
|
|
isLiveEdit : false
|
|
isModule : true
|
|
length : 39
|
|
scriptId : <scriptId>
|
|
sourceMapURL :
|
|
startColumn : 0
|
|
startLine : 0
|
|
url : module1.js
|
|
}
|
|
}
|
|
|
|
Running test: testScriptEventsWhenDebuggerIsEnabled
|
|
{
|
|
method : Debugger.scriptParsed
|
|
params : {
|
|
endColumn : 1
|
|
endLine : 3
|
|
executionContextId : <executionContextId>
|
|
hasSourceURL : false
|
|
hash : 03b276dd81b75bf832afbeccbbd273c62dad100c
|
|
isLiveEdit : false
|
|
isModule : true
|
|
length : 39
|
|
scriptId : <scriptId>
|
|
sourceMapURL :
|
|
startColumn : 0
|
|
startLine : 0
|
|
url : module2.js
|
|
}
|
|
}
|
|
{
|
|
method : Debugger.scriptFailedToParse
|
|
params : {
|
|
endColumn : 1
|
|
endLine : 0
|
|
executionContextId : <executionContextId>
|
|
hasSourceURL : false
|
|
hash : 021647ffab1f4e4e82675bc4cd924d3481abe278
|
|
isModule : true
|
|
length : 1
|
|
scriptId : <scriptId>
|
|
sourceMapURL :
|
|
startColumn : 0
|
|
startLine : 0
|
|
url : module-with-syntax-error-2.js
|
|
}
|
|
}
|