v8/test/inspector/debugger/eval-without-codegen-expected.txt
Andrey Lushnikov 1637818671 DevTools: Runtime.callFunctionOn should allow evals
This patch teaches Runtime.callFunctionOn to run evals inside its
task. This is aligned with how Runtime.evaluate works.

R=kozy

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I3189beebc9020703d2b2e23a7c828a2394d43910
Reviewed-on: https://chromium-review.googlesource.com/994070
Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org>
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52339}
2018-04-04 00:50:41 +00:00

53 lines
823 B
Plaintext

Tests that evaluation works when code generation from strings is not allowed.
Running test: testEvaluateNotPaused
{
id : <messageId>
result : {
result : {
type : string
value : Global1
}
}
}
Running test: testEvaluatePaused
{
id : <messageId>
result : {
result : {
type : string
value : Global2
}
}
}
{
id : <messageId>
result : {
result : {
type : string
value : Local
}
}
}
Running test: testCallFunctionOn
{
id : <messageId>
result : {
result : {
description : 3
type : number
value : 3
}
}
}
{
id : <messageId>
result : {
result : {
type : undefined
}
}
}