mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 819611 - Dont attach scall-StrictPropertyOp-setter stubs for SetProps on non-writable properties. r=dvander
This commit is contained in:
parent
3540cbded9
commit
852b67981b
@ -1280,6 +1280,9 @@ IsPropertySetterCallInlineable(JSContext *cx, HandleObject obj, HandleObject hol
|
||||
if (shape->hasDefaultSetter())
|
||||
return false;
|
||||
|
||||
if (!shape->writable())
|
||||
return false;
|
||||
|
||||
// We only handle propertyOps for now, so fail if we have SetterValue
|
||||
// (which implies JSNative setter).
|
||||
if (shape->hasSetterValue())
|
||||
|
Loading…
Reference in New Issue
Block a user