Breaking the grip JS has on the DOM: Difference between revisions

No edit summary
Line 205: Line 205:


All JSContext* can probably be replaced with nsIScriptContext.  Use of simple JObject* may need to be replaced with nsIScriptContext* and matching void*.
All JSContext* can probably be replaced with nsIScriptContext.  Use of simple JObject* may need to be replaced with nsIScriptContext* and matching void*.
nsIScriptSecurityManager is caps' interface, and caps will most likely remain JS specific. Caps is also extremely performance critical, and having to go through a virtual function to get to the JSContext may not be what we want, if it can be avoided... -- jst


=== nsScriptLoader ===
=== nsScriptLoader ===
Confirmed users
839

edits