69d166fcef
After this CL all liveedit tests call the same LiveEdit::PatchScript method. This method will be updated later. As well some new liveedit cctests added, unfortunately part of them do not work with current implementation. R=dgozman@chromium.org,yangguo@chromium.org Bug: v8:7862 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I3521af12b0f95b39d13aaafb1d1cf60f3f642a97 Reviewed-on: https://chromium-review.googlesource.com/1108382 Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#53936}
20 lines
425 B
Plaintext
20 lines
425 B
Plaintext
Tests Debugger.setScriptSource
|
|
TestExpression(2,4) === 6
|
|
Update current script source 'a + b' -> 'a * b'..
|
|
{
|
|
callFrames : [
|
|
]
|
|
stackChanged : false
|
|
}
|
|
TestExpression(2,4) === 8
|
|
Update current script source 'a * b' -> 'a # b'..
|
|
{
|
|
exceptionDetails : {
|
|
columnNumber : 0
|
|
exceptionId : <exceptionId>
|
|
lineNumber : 0
|
|
text : Invalid or unexpected token
|
|
}
|
|
}
|
|
TestExpression(2,4) === 8
|