077205be55
This CL allows SetPrototypeAdd and ArrayIteratorPrototypeNext to be called on temporary objects during side effect free evaluation. Bug: v8:7588 Change-Id: Id77848e48d98c243de91bc6c0fae5a0877e693d4 Reviewed-on: https://chromium-review.googlesource.com/998439 Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#52548}
74 lines
968 B
Plaintext
74 lines
968 B
Plaintext
Tests Debugger.setScriptSource
|
|
|
|
Running test: addLineAfter
|
|
var x = a;
|
|
#debugger;
|
|
return x + b;
|
|
|
|
---
|
|
Break location after LiveEdit:
|
|
var x = a;
|
|
#debugger;
|
|
var x = 3;
|
|
|
|
stackChanged: true
|
|
Protocol.Debugger.stepInto
|
|
function foo(a,b,c) {
|
|
var x = #a;
|
|
debugger;
|
|
|
|
|
|
Running test: addLineBefore
|
|
var x = a;
|
|
#debugger;
|
|
return x + b;
|
|
|
|
---
|
|
Break location after LiveEdit:
|
|
var x = a;
|
|
var x = #3;
|
|
debugger;
|
|
|
|
stackChanged: true
|
|
Protocol.Debugger.stepInto
|
|
function foo(a,b,c) {
|
|
var x = #a;
|
|
var x = 3;
|
|
|
|
|
|
Running test: breakAtFirstLineAddLineAfter
|
|
function boo() {
|
|
#debugger;
|
|
var x = 1;
|
|
|
|
---
|
|
Break location after LiveEdit:
|
|
function boo() {
|
|
#debugger;
|
|
var x = 3;
|
|
|
|
stackChanged: true
|
|
Protocol.Debugger.stepInto
|
|
function boo() {
|
|
#debugger;
|
|
var x = 3;
|
|
|
|
|
|
Running test: breakAtFirstLineAddLineBefore
|
|
function boo() {
|
|
#debugger;
|
|
var x = 1;
|
|
|
|
---
|
|
Break location after LiveEdit:
|
|
function boo() {
|
|
var x = #3;
|
|
debugger;
|
|
|
|
stackChanged: true
|
|
Protocol.Debugger.stepInto
|
|
var x = 3;
|
|
#debugger;
|
|
var x = 1;
|
|
|