[Webkit-unassigned] [Bug 172687] Can't use Object.defineProperty() to add an item to a DOMStringMap or Storage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 28 17:41:46 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=172687

--- Comment #1 from Sam Weinig <sam at webkit.org> ---
I believe what we need to do is override the 'defineOwnProperty' static function, in addition to 'put' and 'putByIndex'.

I'd be interested in going over all the overrides we do at some point, as I am not 100% what the ramifications of not overriding some (specifically getOwnNonIndexPropertyNames, getPropertyNames, getEnumerableLength, getStructurePropertyNames, getGenericPropertyNames, preventExtensions, and isExtensible) are with respect to the WebIDL specification of 'legacy platform objects' (https://heycam.github.io/webidl/#es-legacy-platform-objects)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170529/a0eb38a1/attachment.html>


More information about the webkit-unassigned mailing list