e404670696
Removed most of mirrors.js and debug.js. Further steps: - migrate liveedit.js to native, - remove debugger context. R=yangguo@chromium.org TBR=leszeks@chromium.org Bug: v8:5530 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: I291ef20ef3c63a424d32e3e0c9d0962a6ca382d1 Reviewed-on: https://chromium-review.googlesource.com/1081176 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@{#53480}
79 lines
887 B
Plaintext
79 lines
887 B
Plaintext
Test for Debugger.evaluateOnCallFrame
|
|
|
|
Running test: testFoo
|
|
Set breakpoint before a = x.
|
|
foo()
|
|
x =
|
|
{
|
|
type : undefined
|
|
}
|
|
a =
|
|
{
|
|
type : undefined
|
|
}
|
|
|
|
foo("Hello, world!")
|
|
x =
|
|
{
|
|
type : string
|
|
value : Hello, world!
|
|
}
|
|
a =
|
|
{
|
|
type : undefined
|
|
}
|
|
|
|
Set breakpoint after a = x.
|
|
foo("Hello, world!")
|
|
x =
|
|
{
|
|
type : string
|
|
value : Hello, world!
|
|
}
|
|
a =
|
|
{
|
|
type : string
|
|
value : Hello, world!
|
|
}
|
|
|
|
|
|
Running test: testZoo
|
|
Set breakpoint before y = 0.
|
|
zoo("Hello, world!")
|
|
x =
|
|
{
|
|
type : string
|
|
value : Hello, world!
|
|
}
|
|
a =
|
|
{
|
|
type : undefined
|
|
}
|
|
|
|
|
|
Running test: testBar
|
|
Set breakpoint before a = x.
|
|
bar(undefined, "Hello, world!")
|
|
x =
|
|
{
|
|
type : undefined
|
|
}
|
|
a =
|
|
{
|
|
type : undefined
|
|
}
|
|
|
|
Set breakpoint after a = x.
|
|
bar(undefined, "Hello, world!")
|
|
x =
|
|
{
|
|
type : string
|
|
value : Hello, world!
|
|
}
|
|
a =
|
|
{
|
|
type : string
|
|
value : Hello, world!
|
|
}
|
|
|