From b5c34171776994c6398b4ca680a5651fa13aa68b Mon Sep 17 00:00:00 2001 From: Gabriel Luong Date: Tue, 6 Oct 2020 12:01:08 +0000 Subject: [PATCH] Bug 1669129 - [devtools] Enable devtools.overflow.debugging.enabled. r=jdescottes Differential Revision: https://phabricator.services.mozilla.com/D92364 --- browser/app/profile/firefox.js | 6 ++---- .../client/inspector/markup/test/browser_markup_overflow_badge.js | 2 -- .../inspector/markup/test/browser_markup_scrollable_badge_click.js | 2 -- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index afa05ab354a9..6e10b86f6074 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -2141,6 +2141,8 @@ pref("devtools.inspector.compatibility.enabled", false); #endif // Enable color scheme simulation in the inspector. pref("devtools.inspector.color-scheme-simulation.enabled", false); +// Enable overflow debugging in the inspector. +pref("devtools.overflow.debugging.enabled", true); // Grid highlighter preferences pref("devtools.gridinspector.gridOutlineMaxColumns", 50); @@ -2477,10 +2479,6 @@ pref("devtools.debugger.features.async-live-stacks", false); // about:devtools-toolbox tabs unusable by mistake. pref("devtools.popup.disable_autohide", false); -// Part of the Overflow Debugging project -// Here's the meta bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1529280 -pref("devtools.overflow.debugging.enabled", false); - // FirstStartup service time-out in ms pref("first-startup.timeout", 30000); diff --git a/devtools/client/inspector/markup/test/browser_markup_overflow_badge.js b/devtools/client/inspector/markup/test/browser_markup_overflow_badge.js index ae8efcb711cd..b0d917a6b295 100644 --- a/devtools/client/inspector/markup/test/browser_markup_overflow_badge.js +++ b/devtools/client/inspector/markup/test/browser_markup_overflow_badge.js @@ -33,8 +33,6 @@ const TEST_URI = ` `; add_task(async function() { - await SpecialPowers.setBoolPref("devtools.overflow.debugging.enabled", true); - const { inspector } = await openInspectorForURL( "data:text/html;charset=utf-8," + encodeURIComponent(TEST_URI) ); diff --git a/devtools/client/inspector/markup/test/browser_markup_scrollable_badge_click.js b/devtools/client/inspector/markup/test/browser_markup_scrollable_badge_click.js index f746183c3011..1a788a83f27c 100644 --- a/devtools/client/inspector/markup/test/browser_markup_scrollable_badge_click.js +++ b/devtools/client/inspector/markup/test/browser_markup_scrollable_badge_click.js @@ -33,8 +33,6 @@ const TEST_URI = ` `; add_task(async function() { - await SpecialPowers.setBoolPref("devtools.overflow.debugging.enabled", true); - const { inspector } = await openInspectorForURL( "data:text/html;charset=utf-8," + encodeURIComponent(TEST_URI) ); -- 2.11.4.GIT