Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ArrayBuffer and DataView to typed-arrays #1668

Merged
merged 4 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions features/typed-arrays.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,86 @@ status:
- javascript.builtins.Uint32Array.Uint32Array
- javascript.builtins.Uint8Array.Uint8Array
- javascript.builtins.Uint8ClampedArray.Uint8ClampedArray
compat_features:
- javascript.builtins.ArrayBuffer
- javascript.builtins.ArrayBuffer.ArrayBuffer
- javascript.builtins.ArrayBuffer.byteLength
- javascript.builtins.ArrayBuffer.isView
- javascript.builtins.ArrayBuffer.slice
- javascript.builtins.ArrayBuffer.@@species
- javascript.builtins.DataView
- javascript.builtins.DataView.DataView
- javascript.builtins.DataView.buffer
- javascript.builtins.DataView.byteLength
- javascript.builtins.DataView.byteOffset
- javascript.builtins.DataView.getFloat32
- javascript.builtins.DataView.getFloat64
- javascript.builtins.DataView.getInt16
- javascript.builtins.DataView.getInt32
- javascript.builtins.DataView.getInt8
- javascript.builtins.DataView.getUint16
- javascript.builtins.DataView.getUint32
- javascript.builtins.DataView.getUint8
- javascript.builtins.DataView.setFloat32
- javascript.builtins.DataView.setFloat64
- javascript.builtins.DataView.setInt16
- javascript.builtins.DataView.setInt32
- javascript.builtins.DataView.setInt8
- javascript.builtins.DataView.setUint16
- javascript.builtins.DataView.setUint32
- javascript.builtins.DataView.setUint8
- javascript.builtins.Float32Array
- javascript.builtins.Float32Array.Float32Array
- javascript.builtins.Float32Array.Float32Array.constructor_without_parameters
- javascript.builtins.Float32Array.Float32Array.iterable_allowed
- javascript.builtins.Float64Array
- javascript.builtins.Float64Array.Float64Array
- javascript.builtins.Float64Array.Float64Array.constructor_without_parameters
- javascript.builtins.Float64Array.Float64Array.iterable_allowed
- javascript.builtins.Int16Array
- javascript.builtins.Int16Array.Int16Array
- javascript.builtins.Int16Array.Int16Array.constructor_without_parameters
- javascript.builtins.Int16Array.Int16Array.iterable_allowed
- javascript.builtins.Int32Array
- javascript.builtins.Int32Array.Int32Array
- javascript.builtins.Int32Array.Int32Array.constructor_without_parameters
- javascript.builtins.Int32Array.Int32Array.iterable_allowed
- javascript.builtins.Int8Array
- javascript.builtins.Int8Array.Int8Array
- javascript.builtins.Int8Array.Int8Array.constructor_without_parameters
- javascript.builtins.Int8Array.Int8Array.iterable_allowed
- javascript.builtins.TypedArray
- javascript.builtins.TypedArray.BYTES_PER_ELEMENT
- javascript.builtins.TypedArray.buffer
- javascript.builtins.TypedArray.byteLength
- javascript.builtins.TypedArray.byteOffset
- javascript.builtins.TypedArray.constructor_without_parameters
- javascript.builtins.TypedArray.index_properties_not_consulting_prototype
- javascript.builtins.TypedArray.iterable_in_constructor
- javascript.builtins.TypedArray.join
- javascript.builtins.TypedArray.length
- javascript.builtins.TypedArray.name
- javascript.builtins.TypedArray.named_properties
- javascript.builtins.TypedArray.reverse
- javascript.builtins.TypedArray.set
- javascript.builtins.TypedArray.slice
- javascript.builtins.TypedArray.sort
- javascript.builtins.TypedArray.subarray
- javascript.builtins.TypedArray.toString
- javascript.builtins.TypedArray.@@species
- javascript.builtins.Uint16Array
- javascript.builtins.Uint16Array.Uint16Array
- javascript.builtins.Uint16Array.Uint16Array.constructor_without_parameters
- javascript.builtins.Uint16Array.Uint16Array.iterable_allowed
- javascript.builtins.Uint32Array
- javascript.builtins.Uint32Array.Uint32Array
- javascript.builtins.Uint32Array.Uint32Array.constructor_without_parameters
- javascript.builtins.Uint32Array.Uint32Array.iterable_allowed
- javascript.builtins.Uint8Array
- javascript.builtins.Uint8Array.Uint8Array
- javascript.builtins.Uint8Array.Uint8Array.constructor_without_parameters
- javascript.builtins.Uint8Array.Uint8Array.iterable_allowed
- javascript.builtins.Uint8ClampedArray
- javascript.builtins.Uint8ClampedArray.Uint8ClampedArray
- javascript.builtins.Uint8ClampedArray.Uint8ClampedArray.constructor_without_parameters
- javascript.builtins.Uint8ClampedArray.Uint8ClampedArray.iterable_allowed
92 changes: 92 additions & 0 deletions features/typed-arrays.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ compat_features:
# firefox_android: "4"
# safari: "5.1"
# safari_ios: "4.2"
- javascript.builtins.ArrayBuffer
- javascript.builtins.ArrayBuffer.ArrayBuffer
- javascript.builtins.ArrayBuffer.byteLength
- javascript.builtins.Float32Array
- javascript.builtins.Float32Array.Float32Array
- javascript.builtins.Float64Array
Expand Down Expand Up @@ -54,6 +57,19 @@ compat_features:
- javascript.builtins.Uint8ClampedArray
- javascript.builtins.Uint8ClampedArray.Uint8ClampedArray

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "7"
# chrome_android: "18"
# edge: "12"
# firefox: "25"
# firefox_android: "25"
# safari: "5.1"
# safari_ios: "5"
- javascript.builtins.TypedArray.index_properties_not_consulting_prototype

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
Expand All @@ -67,6 +83,65 @@ compat_features:
# safari_ios: "5"
- javascript.builtins.TypedArray.named_properties

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "9"
# chrome_android: "18"
# edge: "12"
# firefox: "15"
# firefox_android: "15"
# safari: "5.1"
# safari_ios: "5"
- javascript.builtins.DataView
- javascript.builtins.DataView.DataView
- javascript.builtins.DataView.buffer
- javascript.builtins.DataView.byteLength
- javascript.builtins.DataView.byteOffset
- javascript.builtins.DataView.getFloat32
- javascript.builtins.DataView.getFloat64
- javascript.builtins.DataView.getInt16
- javascript.builtins.DataView.getInt32
- javascript.builtins.DataView.getInt8
- javascript.builtins.DataView.getUint16
- javascript.builtins.DataView.getUint32
- javascript.builtins.DataView.getUint8
- javascript.builtins.DataView.setFloat32
- javascript.builtins.DataView.setFloat64
- javascript.builtins.DataView.setInt16
- javascript.builtins.DataView.setInt32
- javascript.builtins.DataView.setInt8
- javascript.builtins.DataView.setUint16
- javascript.builtins.DataView.setUint32
- javascript.builtins.DataView.setUint8

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "17"
# chrome_android: "18"
# edge: "12"
# firefox: "12"
# firefox_android: "14"
# safari: "5.1"
# safari_ios: "6"
- javascript.builtins.ArrayBuffer.slice

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "32"
# chrome_android: "32"
# edge: "12"
# firefox: "29"
# firefox_android: "29"
# safari: "7"
# safari_ios: "7"
- javascript.builtins.ArrayBuffer.isView

# baseline: high
# baseline_low_date: 2016-09-20
# baseline_high_date: 2019-03-20
Expand Down Expand Up @@ -107,6 +182,20 @@ compat_features:
# safari_ios: "10"
- javascript.builtins.TypedArray.sort

# baseline: high
# baseline_low_date: 2016-09-20
# baseline_high_date: 2019-03-20
# support:
# chrome: "51"
# chrome_android: "51"
# edge: "13"
# firefox: "48"
# firefox_android: "48"
# safari: "10"
# safari_ios: "10"
- javascript.builtins.ArrayBuffer.@@species
- javascript.builtins.TypedArray.@@species

# baseline: high
# baseline_low_date: 2017-01-24
# baseline_high_date: 2019-07-24
Expand All @@ -133,8 +222,10 @@ compat_features:
# safari_ios: "10"
- javascript.builtins.Float32Array.Float32Array.iterable_allowed
- javascript.builtins.Float64Array.Float64Array.iterable_allowed
- javascript.builtins.Int16Array.Int16Array.iterable_allowed
- javascript.builtins.Int32Array.Int32Array.iterable_allowed
- javascript.builtins.Int8Array.Int8Array.iterable_allowed
- javascript.builtins.TypedArray.iterable_in_constructor
- javascript.builtins.Uint16Array.Uint16Array.iterable_allowed
- javascript.builtins.Uint32Array.Uint32Array.iterable_allowed
- javascript.builtins.Uint8Array.Uint8Array.iterable_allowed
Expand All @@ -160,3 +251,4 @@ compat_features:
- javascript.builtins.Uint16Array.Uint16Array.constructor_without_parameters
- javascript.builtins.Uint32Array.Uint32Array.constructor_without_parameters
- javascript.builtins.Uint8Array.Uint8Array.constructor_without_parameters
- javascript.builtins.Uint8ClampedArray.Uint8ClampedArray.constructor_without_parameters