Our implementations for isFrozen() & isSealed() have special cases for JSFinalObjects that do not properly implement the semantics described in the ECMA standard. The describes isFrozen() & isSealed() in terms of an abstract operation TestIntegrityLevel() <https://tc39.github.io/ecma262/#sec-testintegritylevel>. We should implement TestIntegrityLevel() similar to how we implemented setIntegrityLevel() and use it for isFrozen() & isSealed(). <rdar://problem/31567008>
Created attachment 306869 [details] Patch
Comment on attachment 306869 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=306869&action=review r=me > JSTests/ChangeLog:12 > + roperties of an Object. This is behanvior is considered undefined typo: /roperties/properties/, /is behanvior/behavior/
Fix landed in change set r215272 <https://trac.webkit.org/changeset/215272>