es6-module-script-parsed-expected.txt 1.44 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
Debugger.scriptParsed and Debugger.scriptFailedToParse with ES6 module

Running test: testLoadedModulesOnDebuggerEnable
{
    method : Debugger.scriptParsed
    params : {
        endColumn : 1
        endLine : 3
        executionContextId : <executionContextId>
        hasSourceURL : false
11
        hash : 03b276dd81b75bf832afbeccbbd273c62dad100c
12 13
        isLiveEdit : false
        isModule : true
14
        length : 39
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
        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
31
        hash : 03b276dd81b75bf832afbeccbbd273c62dad100c
32 33
        isLiveEdit : false
        isModule : true
34
        length : 39
35 36 37 38 39 40 41 42 43 44 45 46 47 48
        scriptId : <scriptId>
        sourceMapURL : 
        startColumn : 0
        startLine : 0
        url : module2.js
    }
}
{
    method : Debugger.scriptFailedToParse
    params : {
        endColumn : 1
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : false
49
        hash : 021647ffab1f4e4e82675bc4cd924d3481abe278
50
        isModule : true
51
        length : 1
52 53 54 55 56 57 58
        scriptId : <scriptId>
        sourceMapURL : 
        startColumn : 0
        startLine : 0
        url : module-with-syntax-error-2.js
    }
}