Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Catch exception

  • Loading branch information...
commit f2233c0e1f91b8b34154795c917e280d08b00b7e 1 parent 54752c7
@janodvarko janodvarko authored
Showing with 11 additions and 2 deletions.
  1. +11 −2 extension/content/firebug/bti/inProcess/browser.js
View
13 extension/content/firebug/bti/inProcess/browser.js
@@ -773,9 +773,18 @@ var TabWatchListener =
}
var browser = context.browser;
+
// Persist remnants of the context for restoration if the user reloads
- browser.panelName = context.panelName;
- browser.sidePanelNames = context.sidePanelNames;
+ try
+ {
+ browser.panelName = context.panelName;
+ browser.sidePanelNames = context.sidePanelNames;
+ }
+ catch (e)
+ {
+ if (FBTrace.DBG_ERRORS)
+ FBTrace.sysout("browser.destroyContext; " + e, e);
+ }
// next the context is deleted and removed from the Firebug.TabWatcher,
// we clean up in unWatchBrowser

0 comments on commit f2233c0

Please sign in to comment.
Something went wrong with that request. Please try again.