f79c3b5142
getPossibleBreakpoints implementation can enforce function compilation which potentially can produce syntax error, we need to have a context to correctly report this error. BUG=chromium:715334 R=dgozman@chromium.org Review-Url: https://codereview.chromium.org/2851853002 Cr-Commit-Position: refs/heads/master@{#45003}
27 lines
592 B
Plaintext
27 lines
592 B
Plaintext
getPossibleBreakpoints should not crash during lazy compilation (crbug.com/715334)
|
|
{
|
|
method : Debugger.scriptParsed
|
|
params : {
|
|
endColumn : 21
|
|
endLine : 2
|
|
executionContextId : <executionContextId>
|
|
hasSourceURL : true
|
|
hash : FA2A959297747012766FE9C5006E7F522D88FA72
|
|
isLiveEdit : false
|
|
isModule : false
|
|
length : 52
|
|
scriptId : <scriptId>
|
|
sourceMapURL :
|
|
startColumn : 0
|
|
startLine : 0
|
|
url : test.js
|
|
}
|
|
}
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
locations : [
|
|
]
|
|
}
|
|
}
|