We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From the latest commit on master:
> new File(['a'], 'b').__proto__.__proto__ {}
The second __proto__ should be Blob, but it's Object instead. I'm investigating this myself, but I thought it was best to create an issue anyway.
__proto__
Blob
Object
The text was updated successfully, but these errors were encountered:
From the class code generated by ion for File:
File
impl ::ion::ClassDefinition for File { const NAME: &'static str = ::std::stringify!(File); fn class() -> &'static ::ion::class::NativeClass { Self::__ion_native_class() } fn constructor() -> (::ion::functions::NativeFunction, ::core::primitive::u32) { (Self::__ion_bindings_constructor, 2u32) } fn functions() -> &'static [::mozjs::jsapi::JSFunctionSpec] { Self::__ion_function_specs() } fn properties() -> &'static [::mozjs::jsapi::JSPropertySpec] { Self::__ion_property_specs() } fn static_functions() -> &'static [::mozjs::jsapi::JSFunctionSpec] { Self::__ion_static_function_specs() } fn static_properties() -> &'static [::mozjs::jsapi::JSPropertySpec] { Self::__ion_static_property_specs() } }
I think the problem is a missing implementation for parent_class_info.
parent_class_info
Sorry, something went wrong.
Fix prototype chains being broken on the JS side (Redfire75369#42)
476d1a5
7637f4d
Successfully merging a pull request may close this issue.
From the latest commit on master:
The second
__proto__
should beBlob
, but it'sObject
instead. I'm investigating this myself, but I thought it was best to create an issue anyway.The text was updated successfully, but these errors were encountered: