mirror of
https://github.com/servo/servo
synced 2026-04-30 03:17:15 +02:00
Use Uint8Array for TextEncoder (#31145)
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
@@ -120,7 +120,8 @@ builtinNames = {
|
||||
IDLType.Tags.float: 'Finite<f32>',
|
||||
IDLType.Tags.unrestricted_double: 'f64',
|
||||
IDLType.Tags.double: 'Finite<f64>',
|
||||
IDLType.Tags.float32array: 'Float32Array'
|
||||
IDLType.Tags.float32array: 'Float32Array',
|
||||
IDLType.Tags.uint8array: 'Uint8Array'
|
||||
}
|
||||
|
||||
numericTags = [
|
||||
@@ -6502,6 +6503,7 @@ def generate_imports(config, cgthings, descriptors, callbacks=None, dictionaries
|
||||
'js::rust::get_object_class',
|
||||
'js::typedarray',
|
||||
'js::typedarray::Float32Array',
|
||||
'js::typedarray::Uint8Array',
|
||||
'crate::dom',
|
||||
'crate::dom::bindings',
|
||||
'crate::dom::bindings::codegen::InterfaceObjectMap',
|
||||
|
||||
Reference in New Issue
Block a user