summaryrefslogtreecommitdiffstats
path: root/devtools/client/framework
diff options
context:
space:
mode:
authorAscrod <32915892+Ascrod@users.noreply.github.com>2019-04-13 17:27:59 -0400
committerAscrod <32915892+Ascrod@users.noreply.github.com>2019-04-13 17:27:59 -0400
commit40fc72376411587e7bf9985fb9545eca1c9aaa8e (patch)
treeac903ee86826040650a54f972d2557d0fb99f0a2 /devtools/client/framework
parent8757548a3e5b5cc4d159d61eb4a12c7af1be548e (diff)
downloadUXP-40fc72376411587e7bf9985fb9545eca1c9aaa8e.tar
UXP-40fc72376411587e7bf9985fb9545eca1c9aaa8e.tar.gz
UXP-40fc72376411587e7bf9985fb9545eca1c9aaa8e.tar.lz
UXP-40fc72376411587e7bf9985fb9545eca1c9aaa8e.tar.xz
UXP-40fc72376411587e7bf9985fb9545eca1c9aaa8e.zip
Pref try/catch block fixup. Tag #991.
Diffstat (limited to 'devtools/client/framework')
-rw-r--r--devtools/client/framework/toolbox-process-window.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/framework/toolbox-process-window.js b/devtools/client/framework/toolbox-process-window.js
index c34fe3355..8f75e3e24 100644
--- a/devtools/client/framework/toolbox-process-window.js
+++ b/devtools/client/framework/toolbox-process-window.js
@@ -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 };