[Bug 27381] Basing Object.observe() for IDL objects on internal slots

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27381

Olli Pettay <bugs@pettay.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs@pettay.fi

--- Comment #2 from Olli Pettay <bugs@pettay.fi> ---
Still sounds like a possible performance nightmare, at least given the current
implementations.
"slot" in this case is quite faraway from JS engine internal slots, so
whenever the internal state, which implementations calculate often lazily when
the someone calls the JS getter to access the state, changes, implementation
would need to check if there are observers, and then synchronously inform JS
engine about the state.

And why would innerHTML behave differently to some other attributes?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 20 November 2014 15:22:00 UTC