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

Jump to navigation Jump to search
Line 201: Line 201:


::JS_GetContextPrivate ???
::JS_GetContextPrivate ???
[JS_GetContextPrivate() is how one gets to the nsIScriptContext given a JSContext. All JSContext's are obviously not nsIScriptContext's, so flags need to be checked etc, as you saw in GetScriptContextFromJSContext() -- jst]


=== nsIScriptSecurityManager ===
=== nsIScriptSecurityManager ===
Confirmed users
839

edits

Navigation menu