mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 803306. Calling a named creator should not define an expando. r=peterv
This commit is contained in:
parent
42cdade779
commit
aaed3ec0e2
@ -5271,6 +5271,7 @@ class CGDOMJSProxyHandler_defineProperty(ClassMethod):
|
||||
"\n" +
|
||||
" %s* self = UnwrapProxy(proxy);\n" +
|
||||
CGIndenter(CGProxyNamedSetter(self.descriptor)).define() + "\n" +
|
||||
" return true;\n" +
|
||||
"}\n") % (self.descriptor.nativeType)
|
||||
elif self.descriptor.operations['NamedGetter']:
|
||||
set += ("if (JSID_IS_STRING(id)) {\n" +
|
||||
|
Loading…
Reference in New Issue
Block a user