diff options
author | teramako | 2009-06-18 16:19:11 +0000 |
---|---|---|
committer | teramako | 2009-06-18 16:19:11 +0000 |
commit | 89a619e5c6df544a081b9ccbaae76e33b4143c24 (patch) | |
tree | d6f6a448024b8418cb1376e72bcd5c21695e5791 /_libly.js | |
parent | 09c2737e16b8b95b8e82d748b78ecd8f2404735d (diff) | |
download | vimperator-plugins-89a619e5c6df544a081b9ccbaae76e33b4143c24.tar.bz2 |
security fix: Components.util.Sandbox(window) can use xpconnect
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@34032 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to '_libly.js')
-rw-r--r-- | _libly.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -231,7 +231,7 @@ libly.$U = {//{{{ var fnc = window.eval; var sandbox; try { - sandbox = new Components.utils.Sandbox(window); + sandbox = new Components.utils.Sandbox("about:blank"); if (Components.utils.evalInSandbox('true', sandbox) === true) { fnc = function(text) { return Components.utils.evalInSandbox(text, sandbox); }; } |