Experimental implementation of Object.observe & JS Utility library now available

gaz Heyes gazheyes at gmail.com
Fri Aug 17 03:01:58 PDT 2012


On 17 August 2012 10:57, Andrea Giammarchi <andrea.giammarchi at gmail.com>wrote:

> the Notifier is lazily instantiated and I believe not enumerable so
> JSON.stringify should ever expose this property.
>
> Moreover, it does not look like there is a {}.__notifier__ property
> anywhere, Object.getNotifier(obj) is required indeed so a WeakMap that
> relates the obj, and its notifier, cannot be serialized in a meaningful way
> via JSON.stringify neither.
>

Ah no I wasn't talking about the JSON object but remotely hacking JSON
feeds themselves using external scripts and hijacking the Object prototype
with Observe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120817/c7c600b0/attachment.html>


More information about the es-discuss mailing list