2017-02-03 07:17:09 +00:00
|
|
|
Debugger.scriptParsed and Debugger.scriptFailedToParse with ES6 module
|
|
|
|
|
|
|
|
Running test: testLoadedModulesOnDebuggerEnable
|
|
|
|
{
|
|
|
|
method : Debugger.scriptParsed
|
|
|
|
params : {
|
2020-07-24 09:23:02 +00:00
|
|
|
embedderName : module1.js
|
2017-02-03 07:17:09 +00:00
|
|
|
endColumn : 1
|
|
|
|
endLine : 3
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
hasSourceURL : false
|
2018-03-06 13:56:57 +00:00
|
|
|
hash : 03b276dd81b75bf832afbeccbbd273c62dad100c
|
2017-02-03 07:17:09 +00:00
|
|
|
isLiveEdit : false
|
|
|
|
isModule : true
|
2017-03-07 22:01:37 +00:00
|
|
|
length : 39
|
2017-02-03 07:17:09 +00:00
|
|
|
scriptId : <scriptId>
|
2020-03-17 11:53:02 +00:00
|
|
|
scriptLanguage : JavaScript
|
2017-02-03 07:17:09 +00:00
|
|
|
sourceMapURL :
|
|
|
|
startColumn : 0
|
|
|
|
startLine : 0
|
|
|
|
url : module1.js
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testScriptEventsWhenDebuggerIsEnabled
|
|
|
|
{
|
|
|
|
method : Debugger.scriptParsed
|
|
|
|
params : {
|
2020-07-24 09:23:02 +00:00
|
|
|
embedderName : module2.js
|
2017-02-03 07:17:09 +00:00
|
|
|
endColumn : 1
|
|
|
|
endLine : 3
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
hasSourceURL : false
|
2018-03-06 13:56:57 +00:00
|
|
|
hash : 03b276dd81b75bf832afbeccbbd273c62dad100c
|
2017-02-03 07:17:09 +00:00
|
|
|
isLiveEdit : false
|
|
|
|
isModule : true
|
2017-03-07 22:01:37 +00:00
|
|
|
length : 39
|
2017-02-03 07:17:09 +00:00
|
|
|
scriptId : <scriptId>
|
2020-03-17 11:53:02 +00:00
|
|
|
scriptLanguage : JavaScript
|
2017-02-03 07:17:09 +00:00
|
|
|
sourceMapURL :
|
|
|
|
startColumn : 0
|
|
|
|
startLine : 0
|
|
|
|
url : module2.js
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
method : Debugger.scriptFailedToParse
|
|
|
|
params : {
|
2020-07-24 09:23:02 +00:00
|
|
|
embedderName : module-with-syntax-error-2.js
|
2017-02-03 07:17:09 +00:00
|
|
|
endColumn : 1
|
|
|
|
endLine : 0
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
hasSourceURL : false
|
2018-03-06 13:56:57 +00:00
|
|
|
hash : 021647ffab1f4e4e82675bc4cd924d3481abe278
|
2017-02-03 07:17:09 +00:00
|
|
|
isModule : true
|
2017-03-07 22:01:37 +00:00
|
|
|
length : 1
|
2017-02-03 07:17:09 +00:00
|
|
|
scriptId : <scriptId>
|
2020-03-17 11:53:02 +00:00
|
|
|
scriptLanguage : JavaScript
|
2017-02-03 07:17:09 +00:00
|
|
|
sourceMapURL :
|
|
|
|
startColumn : 0
|
|
|
|
startLine : 0
|
|
|
|
url : module-with-syntax-error-2.js
|
|
|
|
}
|
|
|
|
}
|