script-on-after-compile-snapshot-expected.txt 619 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Embedding script 'function f() { return 42; }'
Tests that getPossibleBreakpoints works on a snapshotted function
scriptParsed
{
    scriptSource : function f() { return 42; }
}
{
    endColumn : 27
    endLine : 0
    executionContextId : <executionContextId>
    hasSourceURL : false
    hash : 05296308743b1ae80b7cf865a54ed2d12b19b77f
    isLiveEdit : false
    isModule : false
    length : 27
    scriptId : <scriptId>
    sourceMapURL : 
    startColumn : 0
    startLine : 0
    url : <embedded>
}
{
    error : {
        code : -32000
        message : Cannot retrive script context
    }
    id : <messageId>
}