mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Sample initialShape after putProperty call, which may go toDictionaryMode (596128, r=bhackett).
This commit is contained in:
parent
c401cdd9f8
commit
666763cd97
@ -647,6 +647,14 @@ class SetPropCompiler : public PICStubCompiler
|
||||
if (!shape)
|
||||
return false;
|
||||
|
||||
/*
|
||||
* Test after calling putProperty since it can switch obj into
|
||||
* dictionary mode, specifically if the shape tree ancestor line
|
||||
* exceeds PropertyTree::MAX_HEIGHT.
|
||||
*/
|
||||
if (obj->inDictionaryMode())
|
||||
return disable("dictionary");
|
||||
|
||||
if (!shape->hasDefaultSetter())
|
||||
return disable("adding non-default setter");
|
||||
if (!shape->hasSlot())
|
||||
|
Loading…
Reference in New Issue
Block a user