XPConnect:Security:XPCNativeWrapper Automation: Difference between revisions

m
Line 28: Line 28:
* Open issues
* Open issues
** should "system" applied to a script mean has system principals, or wants system XPCNativeWrapper?
** should "system" applied to a script mean has system principals, or wants system XPCNativeWrapper?
** if so, we have enough bits, and IsSystemPrincipal checks can be optimized
** if so, we have enough bits, and HasSystemPrincipal checks can be optimized
** if not, we need another bit, for wrapper sharing policy, per script filename (but not object) as opposed to a fast has-system-principals test
** if not, we need another bit, for wrapper sharing policy, per script filename (but not object) as opposed to a fast has-system-principals test
*** JS_FlagScriptFilenamePrefix can take a flags argument
*** JS_FlagScriptFilenamePrefix can take a flags argument
*** do we want JS_UnflagScriptFilenamePrefix?  do we ever unload chrome?
*** do we want JS_UnflagScriptFilenamePrefix?  do we ever unload chrome?
Confirmed users, Bureaucrats and Sysops emeriti
419

edits