46d815e737
This CL adds support for ArrayBuffer and SharedArrayBuffer subtypes for injected script source. It also adds the byteLength/size to the description of these objects and for the upcoming "blob" subtype when appropriate. This is dependent on a DevTools frontend patch to accept these new subtypes: https://chromium-review.googlesource.com/c/582427/ Bug: chromium:653620 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: If8f612b54e82e6fd2f056545bd521868ba7349fd Reviewed-on: https://chromium-review.googlesource.com/582233 Commit-Queue: Erik Luo <luoe@chromium.org> Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#46851}
34 lines
458 B
Plaintext
34 lines
458 B
Plaintext
Test that descriptions for arrays, maps, and sets include the correct length or size.
|
|
Set(0)
|
|
Set(2)
|
|
Map(0)
|
|
Map(2)
|
|
Array(0)
|
|
Array(2)
|
|
Uint8Array(0)
|
|
Uint8Array(2)
|
|
ArrayBuffer(0)
|
|
ArrayBuffer(2)
|
|
SharedArrayBuffer(0)
|
|
SharedArrayBuffer(2)
|
|
DataView(0)
|
|
DataView(5)
|
|
WeakMap
|
|
WeakSet
|
|
Set(0)
|
|
Set(2)
|
|
Map(0)
|
|
Map(2)
|
|
Array(0)
|
|
Array(2)
|
|
Uint8Array(0)
|
|
Uint8Array(2)
|
|
ArrayBuffer(0)
|
|
ArrayBuffer(2)
|
|
SharedArrayBuffer(0)
|
|
SharedArrayBuffer(2)
|
|
DataView(0)
|
|
DataView(5)
|
|
WeakMap
|
|
WeakSet
|