v8/test/inspector/runtime/get-properties-on-proxy-expected.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

185 lines
4.3 KiB
Plaintext
Raw Normal View History

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 : {
Revert "[inspector] RemoteObject.description should be empty for primitive type" This reverts commit 003159e777ea2af3a8a9653955897a44d8e34e72. Reason for revert: breaks roll into Chromium: https://ci.chromium.org/p/chromium/builders/luci.chromium.try/linux_chromium_headless_rel/3140 Original change's description: > [inspector] RemoteObject.description should be empty for primitive type > > We currently report description field for numbers. On client side user > can calculate description as remoteObject.unserializableValue || > (remoteObject.value + ''). Let's report description only for objects to > simplify value -> remoteObject logic a bit. > > R=​dgozman@chromium.org > TBR=jgruber@chromium.org > > Bug: chromium:595206 > Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I91356a44aa3024e20c8f966869abf4a41b88e4bc > Reviewed-on: https://chromium-review.googlesource.com/737485 > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> > Reviewed-by: Pavel Feldman <pfeldman@chromium.org> > Cr-Commit-Position: refs/heads/master@{#53453} TBR=dgozman@chromium.org,pfeldman@chromium.org,kozyatinskiy@chromium.org Change-Id: Ifc184e1ac158d9ea7034922a7250444448fac49f No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: chromium:595206 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1081207 Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org> Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org> Cr-Commit-Position: refs/heads/master@{#53461}
2018-05-31 18:51:49 +00:00
description : 0
type : number
value : 0
}
}
}