mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 963382, part 1 - Split out MethodDefiner's JS implemented case into its own thing. r=bz
This commit is contained in:
parent
569dcc73e7
commit
6507b9119d
@ -2165,16 +2165,18 @@ class MethodDefiner(PropertyDefiner):
|
||||
# automatically.
|
||||
"condition": MemberCondition(None, None)
|
||||
})
|
||||
elif (descriptor.interface.isJSImplemented() and
|
||||
descriptor.interface.hasInterfaceObject()):
|
||||
self.chrome.append({
|
||||
"name": '_create',
|
||||
"nativeName": ("%s::_Create" % descriptor.name),
|
||||
"methodInfo": False,
|
||||
"length": 2,
|
||||
"flags": "0",
|
||||
"condition": MemberCondition(None, None)
|
||||
})
|
||||
|
||||
if (descriptor.interface.isJSImplemented() and
|
||||
descriptor.interface.hasInterfaceObject()):
|
||||
if static:
|
||||
self.chrome.append({
|
||||
"name": '_create',
|
||||
"nativeName": ("%s::_Create" % descriptor.name),
|
||||
"methodInfo": False,
|
||||
"length": 2,
|
||||
"flags": "0",
|
||||
"condition": MemberCondition(None, None)
|
||||
})
|
||||
|
||||
self.unforgeable = unforgeable
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user