1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 15:02:27 +01:00

Use evalInSandbox for :js rather than the subscript loader so that we can preserve file names/line numbers.

This commit is contained in:
Kris Maglione
2010-10-04 21:33:39 -04:00
parent a21c2510e3
commit 2012279ad9
10 changed files with 46 additions and 53 deletions

View File

@@ -105,7 +105,7 @@ const ConfigBase = Class(ModuleBase, {
/**
* @property {string} The ID of the application's main XUL window.
*/
mainWindowId: document.documentElement.id,
mainWindowId: window.document.documentElement.id,
/**
* @property {[[]]} An array of application specific mode specifications.
@@ -133,7 +133,7 @@ const ConfigBase = Class(ModuleBase, {
*/
scripts: [],
tabStrip: Class.memoize(function () document.getElementById("TabsToolbar") || this.tabbrowser.mTabContainer),
tabStrip: Class.memoize(function () window.document.getElementById("TabsToolbar") || this.tabbrowser.mTabContainer),
/**
* @property {string} The leaf name of any temp files created by