00d556f026
This reverts commit 6207d61ff8
.
Reason for revert: Incorrect implementation of the flag-not-on case.
Original change's description:
> [rab/gsab] Update to the new spec
>
> - Remove ResizableArrayBuffer / GrowableSharedArrayBuffer constructors,
> use options bags
> - Add AB.prototype.resizable and SAB.prototype.growable
> - Update receiver checks in (S?)AB.prototype methods
>
> Bug: v8:11111
> Change-Id: I4f8cb71a4c8e07483a3ffad83d98129da162b839
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3021174
> Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> Reviewed-by: Shu-yu Guo <syg@chromium.org>
> Commit-Queue: Marja Hölttä <marja@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#75761}
Bug: v8:11111, chromium:1230129, chromium:1230408
No-Try: True
Tbr: mlippautz@chromium.org
Change-Id: I25aa10cb3dc20fdaeb45e6169fc01eec9a89f72c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3038061
Reviewed-by: Marja Hölttä <marja@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#75778}
160 lines
3.9 KiB
Plaintext
160 lines
3.9 KiB
Plaintext
Checks Runtime.getProperties method
|
|
|
|
Running test: testObject5
|
|
foo own string cat
|
|
Internal properties
|
|
[[PrimitiveValue]] number 5
|
|
[[Prototype]] object undefined
|
|
|
|
Running test: testNotOwn
|
|
__defineGetter__ inherited function undefined
|
|
__defineSetter__ inherited function undefined
|
|
__lookupGetter__ inherited function undefined
|
|
__lookupSetter__ inherited function undefined
|
|
__proto__ inherited no value, getter, setter
|
|
a own number 2
|
|
b own no value, getter, setter
|
|
c inherited number 4
|
|
constructor inherited function undefined
|
|
d inherited no value, getter
|
|
hasOwnProperty inherited function undefined
|
|
isPrototypeOf inherited function undefined
|
|
propertyIsEnumerable inherited function undefined
|
|
toLocaleString inherited function undefined
|
|
toString inherited function undefined
|
|
valueOf inherited function undefined
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
|
|
Running test: testAccessorsOnly
|
|
b own no value, getter, setter
|
|
d own no value, setter
|
|
|
|
Running test: testArray
|
|
0 own string red
|
|
1 own string green
|
|
2 own string blue
|
|
length own number 3
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
|
|
Running test: testBound
|
|
length own number 0
|
|
name own string bound Number
|
|
Internal properties
|
|
[[BoundArgs]] object undefined
|
|
[[BoundThis]] object undefined
|
|
[[Prototype]] function undefined
|
|
[[TargetFunction]] function undefined
|
|
|
|
Running test: testObjectThrowsLength
|
|
length own no value, getter
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
|
|
Running test: testTypedArrayWithoutLength
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
|
|
Running test: testClassWithPrivateFields
|
|
baz own number 4
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
Private properties
|
|
#bar number 3
|
|
#foo number 2
|
|
baz own number 4
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
Private properties
|
|
#bar number 3
|
|
#baz number 1
|
|
#foo number 2
|
|
Internal properties
|
|
[[Handler]] object undefined
|
|
[[IsRevoked]] boolean false
|
|
[[Target]] object undefined
|
|
Private properties
|
|
#bar number 3
|
|
#foo number 2
|
|
|
|
Running test: testArrayBuffer
|
|
[[Prototype]]
|
|
Symbol(Symbol.toStringTag) own string ArrayBuffer
|
|
byteLength own no value, getter
|
|
constructor own function undefined
|
|
slice own function undefined
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
[[Int8Array]]
|
|
0 own number 1
|
|
1 own number 1
|
|
2 own number 1
|
|
3 own number 1
|
|
4 own number 1
|
|
5 own number 1
|
|
6 own number 1
|
|
7 own number 1
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
[[Uint8Array]]
|
|
0 own number 1
|
|
1 own number 1
|
|
2 own number 1
|
|
3 own number 1
|
|
4 own number 1
|
|
5 own number 1
|
|
6 own number 1
|
|
7 own number 1
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
[[Int16Array]]
|
|
0 own number 257
|
|
1 own number 257
|
|
2 own number 257
|
|
3 own number 257
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
[[Int32Array]]
|
|
0 own number 16843009
|
|
1 own number 16843009
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
[[ArrayBufferByteLength]]
|
|
[[ArrayBufferData]]
|
|
|
|
Running test: testArrayBufferFromWebAssemblyMemory
|
|
[[Prototype]]
|
|
Symbol(Symbol.toStringTag) own string ArrayBuffer
|
|
byteLength own no value, getter
|
|
constructor own function undefined
|
|
slice own function undefined
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
[[Int8Array]]
|
|
[[Uint8Array]]
|
|
[[Int16Array]]
|
|
[[Int32Array]]
|
|
[[ArrayBufferByteLength]]
|
|
[[ArrayBufferData]]
|
|
[[WebAssemblyMemory]]
|
|
Internal properties
|
|
[[Prototype]] object undefined
|
|
|
|
Running test: testDetachedArrayBuffer
|
|
[[Prototype]] undefined
|
|
[[IsDetached]] true
|
|
|
|
Running test: testArrayBufferWithBrokenUintCtor
|
|
Internal properties
|
|
[[ArrayBufferByteLength]] number 7
|
|
[[ArrayBufferData]] string 0x...
|
|
[[Int8Array]] object undefined
|
|
[[Prototype]] object undefined
|
|
[[Uint8Array]] object undefined
|
|
|
|
Running test: testObjectWithProtoProperty
|
|
__proto__ own object undefined
|
|
Internal properties
|
|
[[Prototype]] object undefined
|