Pref try/catch block fixup. Tag #991.

This commit is contained in:
Ascrod 2019-04-13 17:27:59 -04:00 committed by Roy Tam
commit 09bcb1f834
3 changed files with 18 additions and 12 deletions

View file

@ -103,8 +103,8 @@ function openToolbox({ form, chrome, isTabActor }) {
// Remember the last panel that was used inside of this profile.
// But if we are testing, then it should always open the debugger panel.
let selectedTool =
Services.prefs.getCharPref("devtools.toolbox.selectedTool",
Services.prefs.getCharPref("devtools.browsertoolbox.panel",
Services.prefs.getCharPref("devtools.browsertoolbox.panel",
Services.prefs.getCharPref("devtools.toolbox.selectedTool",
"jsdebugger"));
let options = { customIframe: frame };