833b3c96a6
Previously the internal `[[ArrayBufferData]]` property for `ArrayBuffer` objects reported by the inspector (and used by the DevTools front-end to identify `ArrayBuffer`s and `WebAssembly.Memory`s using the same backing store) simply contained a hex string representation of the backing store pointer. However that unnecessarily leaks internal addresses and more importantly is not deterministic, which complicates tests (just blew up on layout tests). This CL introduces an automatically incremented `BackingStore::id()`, which is used instead now and is deterministic. Bug: chromium:1199701, chromium:1163802, chromium:1249961 Change-Id: I8ee47009cd825cfdbe00230f617c87c90508ab2a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3162144 Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#76893}
68 lines
1.9 KiB
Plaintext
68 lines
1.9 KiB
Plaintext
Checks Runtime.getProperties method while debugger is paused.
|
|
|
|
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: testArrayBuffer
|
|
|
|
Running test: testArrayBufferWithBrokenUintCtor
|
|
Internal properties
|
|
[[ArrayBufferByteLength]] number 7
|
|
[[ArrayBufferData]] number 2
|
|
[[Int8Array]] object undefined
|
|
[[Prototype]] object undefined
|
|
[[Uint8Array]] object undefined
|