Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement NamedConstructor support #3343
Closed
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Various sites in the static suite have JS errors creating new Image values, which is the named constructor for HTMLImageElement. Not only does this require porting CGNamedConstructor from Gecko's codegen, it also requires additions to NativePropertyHooks, a new NamedConstructor type, and porting the Constructor and CreateConstructor methods from Gecko's BindingUtils and making sure all of the JS object slot stuff is correct. Could be a fun project for somebody interested in doing more JSAPI work.