You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the various arrays which currently default to IDLType.Tags.interface, and which currently all fallback to using a JSObject in codegen. Each should be changed to use it's own type, like was done in the linked-to PR for FLoat32Array. Note that not all may be currently used by Servo, to find out if they are, search for it in *.webidl files.
If the typed array is currently stored in a Heap, then a wrapper like HeapFloat32Array would be useful, otherwise the unsafe code can simply be hidden behind utilities, such as create_float32_array
Activity
[-]WebIDL: use ArrayBuffer[/-][+]WebIDL: use TypedArray[/+]Use Int8array, int16array, uint16array, int32array & uint32array in W…
Taym95 commentedon Feb 18, 2024
@gterzian @mrobinson this issue can be closed now.
gterzian commentedon Feb 19, 2024
@Taym95 thanks a lot for the contrib!