Bug 1462445 - Don't show the 3 pane inspector tooltip in the browser toolbox. r=pbro
MozReview-Commit-ID: Ck7C6KSD2sr
--- a/devtools/client/inspector/inspector.js
+++ b/devtools/client/inspector/inspector.js
@@ -261,18 +261,19 @@ Inspector.prototype = {
await onAllPanelsUpdated;
await this.markup.expandNode(this.selection.nodeFront);
}
// Setup the toolbar only now because it may depend on the document.
await this.setupToolbar();
// Show the 3 pane onboarding tooltip only if the inspector is visisble since the
- // Accessibility panel initializes the Inspector.
- if (this.show3PaneTooltip && this.toolbox.currentToolId === "inspector") {
+ // Accessibility panel initializes the Inspector and if it is not the browser toolbox.
+ if (this.show3PaneTooltip && !this.target.chrome &&
+ this.toolbox.currentToolId === "inspector") {
this.threePaneTooltip = new ThreePaneOnboardingTooltip(this.toolbox, this.panelDoc);
}
// Log the 3 pane inspector setting on inspector open. The question we want to answer
// is:
// "What proportion of users use the 3 pane vs 2 pane inspector on inspector open?"
this.telemetry.keyedScalarAdd(THREE_PANE_ENABLED_SCALAR, this.is3PaneModeEnabled, 1);