1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 08:52:27 +01:00

Make userContext a proper Context.

This commit is contained in:
Kris Maglione
2011-03-15 18:22:44 -04:00
parent a0ca379cfd
commit afbe703985
5 changed files with 14 additions and 18 deletions

View File

@@ -375,19 +375,14 @@ var Tabs = Module("tabs", {
* reloading.
*/
reloadAll: function (bypassCache) {
if (bypassCache) {
for (let i = 0; i < config.tabbrowser.mTabs.length; i++) {
try {
this.reload(config.tabbrowser.mTabs[i], bypassCache);
}
catch (e) {
// FIXME: can we do anything useful here without stopping the
// other tabs from reloading?
}
this.visibleTabs.forEach(function (tab) {
try {
this.reload(config.tabbrowser.mTabs[i], bypassCache);
}
}
else
config.tabbrowser.reloadAllTabs();
catch (e) {
dactyl.reportError(e, true);
}
});
},
/**