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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user