about NoScript::ScriptSurrogate compartments
Posted: Wed Nov 28, 2012 2:09 am
I only recently started paying attention to compartments since Mozilla made frontends such as about:memory and about:compartments available in recent Firefox releases.
I notice in about:compartments under [System Compartments] such entries as:
My question is that should NS surrogates be running within these internal URIs such as the ones from above? I also found out that some internal URIs do not trigger this sandboxing (took a quick look from the js that was referenced) from NS, such as about:robots or about:config. Are there exceptions to this, if it is indeed necessary for NS to be running surrogates from such URIs?
I understand surrogates provided by NS as a workaround for broken web functions from websites where scripts are prohibited to run. But I find it unusual that surrogates should be running within internal URIs, seeing as default NS surrogate templates from about:config only provide workarounds for some popular sites.
I notice in about:compartments under [System Compartments] such entries as:
Code: Select all
[System Principal], NoScript::ScriptSurrogate@about: (from: chrome://noscript/content/ScriptSurrogate.js:244)
[System Principal], NoScript::ScriptSurrogate@about:compartments (from: chrome://noscript/content/ScriptSurrogate.js:244) [3]
[System Principal], NoScript::ScriptSurrogate@about:memory (from: chrome://noscript/content/ScriptSurrogate.js:244)I understand surrogates provided by NS as a workaround for broken web functions from websites where scripts are prohibited to run. But I find it unusual that surrogates should be running within internal URIs, seeing as default NS surrogate templates from about:config only provide workarounds for some popular sites.