Bug 432919 - "Help viewer content pane should not allow scripts, plugins, meta redirects, or subframes" [p=reed/dveditz r=Waldo (NPOTB)]
git-svn-id: svn://10.0.0.236/trunk@251497 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
64bfcc51aa
commit
b1eefe63c9
@ -137,6 +137,12 @@ function init() {
|
||||
helpGlossaryPanel = document.getElementById("help-glossary-panel");
|
||||
helpBrowser = document.getElementById("help-content");
|
||||
|
||||
// Turn off unnecessary features for security
|
||||
helpBrowser.docShell.allowJavascript = false;
|
||||
helpBrowser.docShell.allowPlugins = false;
|
||||
helpBrowser.docShell.allowSubframes = false;
|
||||
helpBrowser.docShell.allowMetaRedirects = false;
|
||||
|
||||
strBundle = document.getElementById("bundle_help");
|
||||
emptySearchText = strBundle.getString("emptySearchText");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user