mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 16:57:36 +00:00
![brendan%mozilla.org](/assets/img/avatar_default.png)
- Add "aShared" flag to nsIScriptContext::CompileEventHandler, telling it to clear the compiled event handler's scope chain if true, in order to (a) avoid entraining garbage (i.e., a shared compile-time-only parent object); and (b) cause later BindCompiledEventHandler calls to ensure that the event handler has the particular scope chain needed for the binding (to the target object that's receiving the event). - Use :: consistently (and all over the place) before calls to JS_ functions in nsJSEnvironment.cpp. - Eliminate tabs and barbarians-at-the-gate-of-Rome style, in favor of when-in-Rome style (hail Waterson Maximus!)