v8/test/inspector/runtime/get-properties-on-proxy-expected.txt
Dmitry Gozman 4401ac4461 Revert "inspector: return [[StableObjectId]] as internal property"
This reverts commit d9fbfeb894.

Reason for revert: see bug.
Bug: 906847

Original change's description:
> inspector: return [[StableObjectId]] as internal property
> 
> This property might be useful for fast '===' check.
> 
> R=​dgozman@chromium.org,yangguo@chromium.org
> 
> Bug: none
> 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: Iabc3555ce1ec2c14cf0ccd40b7d964ae144e7352
> Reviewed-on: https://chromium-review.googlesource.com/1226411
> Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
> Reviewed-by: Yang Guo <yangguo@chromium.org>
> Reviewed-by: Jakob Gruber <jgruber@chromium.org>
> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#56095}

TBR=dgozman@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org,jgruber@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: none
Change-Id: I68c700b7b8fd0a015f099460c15665d74e4da183
Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
Reviewed-on: https://chromium-review.googlesource.com/c/1363558
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Alexei Filippov <alph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58077}
2018-12-06 21:47:22 +00:00

185 lines
4.3 KiB
Plaintext

Check that while Runtime.getProperties call on proxy object no user defined trap will be executed.
Testing regular Proxy
{
id : <messageId>
result : {
result : {
className : Object
description : Proxy
objectId : <objectId>
preview : {
description : Proxy
overflow : false
properties : [
[0] : {
name : a
type : number
value : 1
}
]
subtype : proxy
type : object
}
subtype : proxy
type : object
}
}
}
{
id : <messageId>
result : {
internalProperties : [
[0] : {
name : [[Handler]]
value : {
className : Object
description : Object
objectId : <objectId>
type : object
}
}
[1] : {
name : [[Target]]
value : {
className : Object
description : Object
objectId : <objectId>
type : object
}
}
[2] : {
name : [[IsRevoked]]
value : {
type : boolean
value : false
}
}
]
result : [
]
}
}
Testing revocable Proxy
{
id : <messageId>
result : {
result : {
className : Object
description : Proxy
objectId : <objectId>
preview : {
description : Proxy
overflow : false
properties : [
[0] : {
name : a
type : number
value : 1
}
]
subtype : proxy
type : object
}
subtype : proxy
type : object
}
}
}
{
id : <messageId>
result : {
internalProperties : [
[0] : {
name : [[Handler]]
value : {
className : Object
description : Object
objectId : <objectId>
type : object
}
}
[1] : {
name : [[Target]]
value : {
className : Object
description : Object
objectId : <objectId>
type : object
}
}
[2] : {
name : [[IsRevoked]]
value : {
type : boolean
value : false
}
}
]
result : [
]
}
}
{
id : <messageId>
result : {
result : {
className : Object
description : Proxy
objectId : <objectId>
preview : {
description : Proxy
overflow : false
properties : [
]
subtype : proxy
type : object
}
subtype : proxy
type : object
}
}
}
{
id : <messageId>
result : {
internalProperties : [
[0] : {
name : [[Handler]]
value : {
subtype : null
type : object
value : null
}
}
[1] : {
name : [[Target]]
value : {
subtype : null
type : object
value : null
}
}
[2] : {
name : [[IsRevoked]]
value : {
type : boolean
value : true
}
}
]
result : [
]
}
}
Checking counter
{
id : <messageId>
result : {
result : {
description : 0
type : number
value : 0
}
}
}