9d6480b34a
This reverts commit 18d0d7f639
.
Reason for revert: Tentative revert. This has somehow broken the custom snapshot build https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Linux64%20GC%20Stress%20-%20custom%20snapshot/19822
Original change's description:
> Ship Symbol.prototype.description
>
> Intent to ship:
> https://groups.google.com/forum/#!msg/v8-users/9U2kEQw8pb8/Sn91yUx5BQAJ
>
> Bug: v8:7807
> Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel
> Change-Id: Ia9e73495b08b432371dfb0ccc571af969ae4d59f
> Reviewed-on: https://chromium-review.googlesource.com/1107210
> Commit-Queue: Joyee Cheung <joyee@igalia.com>
> Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
> Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
> Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#53933}
TBR=kozyatinskiy@chromium.org,gsathya@chromium.org,luoe@chromium.org,joyee@igalia.com
Change-Id: I28835d35d594ed8e14d824627e6aadb0360618f7
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: v8:7807
Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel
Reviewed-on: https://chromium-review.googlesource.com/1110237
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53937}
256 lines
4.1 KiB
Plaintext
256 lines
4.1 KiB
Plaintext
Check internal properties reported in object preview.
|
|
|
|
Running test: boxedObjects
|
|
expression: new Number(239)
|
|
{
|
|
name : [[PrimitiveValue]]
|
|
type : number
|
|
value : 239
|
|
}
|
|
|
|
expression: new Boolean(false)
|
|
{
|
|
name : [[PrimitiveValue]]
|
|
type : boolean
|
|
value : false
|
|
}
|
|
|
|
expression: new String("abc")
|
|
{
|
|
name : [[PrimitiveValue]]
|
|
type : string
|
|
value : abc
|
|
}
|
|
|
|
expression: Object(Symbol(42))
|
|
{
|
|
name : [[PrimitiveValue]]
|
|
type : symbol
|
|
valuePreview : {
|
|
description : Symbol
|
|
overflow : false
|
|
properties : [
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
|
|
expression: Object(BigInt(2))
|
|
{
|
|
name : [[PrimitiveValue]]
|
|
type : bigint
|
|
value : 2n
|
|
}
|
|
|
|
|
|
Running test: promise
|
|
expression: Promise.resolve(42)
|
|
{
|
|
name : [[PromiseStatus]]
|
|
type : string
|
|
value : resolved
|
|
}
|
|
{
|
|
name : [[PromiseValue]]
|
|
type : number
|
|
value : 42
|
|
}
|
|
|
|
expression: new Promise(() => undefined)
|
|
{
|
|
name : [[PromiseStatus]]
|
|
type : string
|
|
value : pending
|
|
}
|
|
{
|
|
name : [[PromiseValue]]
|
|
type : undefined
|
|
value : undefined
|
|
}
|
|
|
|
|
|
Running test: generatorObject
|
|
expression: (function* foo() { yield 1 })()
|
|
{
|
|
name : [[GeneratorStatus]]
|
|
type : string
|
|
value : suspended
|
|
}
|
|
|
|
|
|
Running test: entriesInMapAndSet
|
|
expression: new Map([[1,2]])
|
|
[[Entries]]:
|
|
[
|
|
[0] : {
|
|
key : {
|
|
description : 1
|
|
overflow : false
|
|
properties : [
|
|
]
|
|
type : number
|
|
}
|
|
value : {
|
|
description : 2
|
|
overflow : false
|
|
properties : [
|
|
]
|
|
type : number
|
|
}
|
|
}
|
|
]
|
|
|
|
expression: new Set([1])
|
|
[[Entries]]:
|
|
[
|
|
[0] : {
|
|
value : {
|
|
description : 1
|
|
overflow : false
|
|
properties : [
|
|
]
|
|
type : number
|
|
}
|
|
}
|
|
]
|
|
|
|
expression: new WeakMap([[{}, 42]])
|
|
[[Entries]]:
|
|
[
|
|
[0] : {
|
|
key : {
|
|
description : Object
|
|
overflow : false
|
|
properties : [
|
|
]
|
|
type : object
|
|
}
|
|
value : {
|
|
description : 42
|
|
overflow : false
|
|
properties : [
|
|
]
|
|
type : number
|
|
}
|
|
}
|
|
]
|
|
|
|
expression: new WeakSet([{}])
|
|
[[Entries]]:
|
|
[
|
|
[0] : {
|
|
value : {
|
|
description : Object
|
|
overflow : false
|
|
properties : [
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
]
|
|
|
|
|
|
Running test: iteratorObject
|
|
expression: (new Map([[1,2]])).entries()
|
|
[[Entries]]:
|
|
[
|
|
[0] : {
|
|
key : {
|
|
description : 1
|
|
overflow : false
|
|
properties : [
|
|
]
|
|
type : number
|
|
}
|
|
value : {
|
|
description : 2
|
|
overflow : false
|
|
properties : [
|
|
]
|
|
type : number
|
|
}
|
|
}
|
|
]
|
|
|
|
expression: (new Set([[1,2]])).entries()
|
|
[[Entries]]:
|
|
[
|
|
[0] : {
|
|
value : {
|
|
description : Array(2)
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : 0
|
|
type : number
|
|
value : 1
|
|
}
|
|
[1] : {
|
|
name : 1
|
|
type : number
|
|
value : 2
|
|
}
|
|
]
|
|
subtype : array
|
|
type : object
|
|
}
|
|
}
|
|
]
|
|
|
|
|
|
Running test: noPreviewForFunctionObject
|
|
(function foo(){})
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : {
|
|
className : Function
|
|
description : function foo(){}
|
|
objectId : <objectId>
|
|
type : function
|
|
}
|
|
}
|
|
}
|
|
|
|
Running test: otherObjects
|
|
expression: [1,2,3]
|
|
{
|
|
name : 0
|
|
type : number
|
|
value : 1
|
|
}
|
|
{
|
|
name : 1
|
|
type : number
|
|
value : 2
|
|
}
|
|
{
|
|
name : 2
|
|
type : number
|
|
value : 3
|
|
}
|
|
|
|
expression: /123/
|
|
{
|
|
name : lastIndex
|
|
type : number
|
|
value : 0
|
|
}
|
|
|
|
expression: ({})
|
|
|
|
|
|
Running test: overridenArrayGetter
|
|
expression: Promise.resolve(42)
|
|
{
|
|
name : [[PromiseStatus]]
|
|
type : string
|
|
value : resolved
|
|
}
|
|
{
|
|
name : [[PromiseValue]]
|
|
type : number
|
|
value : 42
|
|
}
|
|
|