mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use Uint8Array for TextEncoder (#31145)
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
parent
7de0486e2e
commit
890588945d
5 changed files with 36 additions and 32 deletions
3
third_party/WebIDL/WebIDL.py
vendored
3
third_party/WebIDL/WebIDL.py
vendored
|
@ -2402,6 +2402,7 @@ class IDLType(IDLObject):
|
|||
# Funny stuff
|
||||
"interface",
|
||||
"float32array",
|
||||
"uint8array",
|
||||
"dictionary",
|
||||
"enum",
|
||||
"callback",
|
||||
|
@ -3635,7 +3636,7 @@ class IDLBuiltinType(IDLType):
|
|||
Types.ArrayBuffer: IDLType.Tags.interface,
|
||||
Types.ArrayBufferView: IDLType.Tags.interface,
|
||||
Types.Int8Array: IDLType.Tags.interface,
|
||||
Types.Uint8Array: IDLType.Tags.interface,
|
||||
Types.Uint8Array: IDLType.Tags.uint8array,
|
||||
Types.Uint8ClampedArray: IDLType.Tags.interface,
|
||||
Types.Int16Array: IDLType.Tags.interface,
|
||||
Types.Uint16Array: IDLType.Tags.interface,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue