ebd070ec2f
- introduced ValueMirror interface, this interface contains methods to generate different protocol entities, - introduced DebugPropertyIterator, this iterator iterates through object properties in the following order: exotic indices, enumerable strings, all other properties, - removed all injected script infra, e.g. closure compiler, R=dgozman@chromium.org TBR=yangguo@chromium.org Bug: chromium:595206 Change-Id: I030fdb3a80074ca6edd4749f86b39b590776ae6f Reviewed-on: https://chromium-review.googlesource.com/c/1310056 Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#57181}
67 lines
1.0 KiB
Plaintext
67 lines
1.0 KiB
Plaintext
Tests Runtime.terminateExecution
|
|
Terminate first evaluation (it forces injected-script-source compilation)
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
}
|
|
}
|
|
{
|
|
error : {
|
|
code : -32000
|
|
message : Execution was terminated
|
|
}
|
|
id : <messageId>
|
|
}
|
|
Checks that we reset termination after evaluation
|
|
{
|
|
description : 42
|
|
type : number
|
|
value : 42
|
|
}
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
type : undefined
|
|
}
|
|
}
|
|
}
|
|
Terminate evaluation when injected-script-source already compiled
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
}
|
|
}
|
|
{
|
|
error : {
|
|
code : -32000
|
|
message : Execution was terminated
|
|
}
|
|
id : <messageId>
|
|
}
|
|
Terminate script evaluated with v8 API
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
}
|
|
}
|
|
Terminate chained callback
|
|
Pause inside microtask and terminate execution
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
}
|
|
}
|
|
{
|
|
type : string
|
|
value : separate eval after while(true)
|
|
}
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
type : undefined
|
|
}
|
|
}
|
|
}
|