mirror of
https://github.com/servo/servo
synced 2026-05-02 04:17:38 +02:00
Use get_desired_proto in htmlconstructor (#31600)
* Use get_desired_proto in htmlconstructor * Update expectations
This commit is contained in:
@@ -6160,8 +6160,9 @@ let global = DomRoot::downcast::<dom::types::%s>(global).unwrap();
|
||||
cx,
|
||||
&args,
|
||||
&*global,
|
||||
GetProtoObject,
|
||||
)""" % self.descriptor.name)
|
||||
PrototypeList::ID::%s,
|
||||
CreateInterfaceObjects,
|
||||
)""" % (self.descriptor.name, MakeNativeName(self.descriptor.name)))
|
||||
else:
|
||||
ctorName = GetConstructorNameForReporting(self.descriptor, self.constructor)
|
||||
preamble += """
|
||||
|
||||
Reference in New Issue
Block a user