Skip to content

Commit

Permalink
Bug 1840775 - [devtools] Enable compatibility tooltip everywhere. r=j…
Browse files Browse the repository at this point in the history
…descottes.

Differential Revision: https://phabricator.services.mozilla.com/D182302
  • Loading branch information
nchevobbe committed Jul 5, 2023
1 parent 12a0722 commit 611fed8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 1 addition & 5 deletions browser/app/profile/firefox.js
Original file line number Diff line number Diff line change
Expand Up @@ -2426,11 +2426,7 @@ pref("devtools.inspector.showUserAgentStyles", false);
// Show native anonymous content and user agent shadow roots
pref("devtools.inspector.showAllAnonymousContent", false);
// Enable the inline CSS compatiblity warning in inspector rule view
#ifdef NIGHTLY_BUILD
pref("devtools.inspector.ruleview.inline-compatibility-warning.enabled", true);
#else
pref("devtools.inspector.ruleview.inline-compatibility-warning.enabled", false);
#endif
pref("devtools.inspector.ruleview.inline-compatibility-warning.enabled", true);
// Enable the compatibility tool in the inspector.
pref("devtools.inspector.compatibility.enabled", true);
// Enable overflow debugging in the inspector.
Expand Down
2 changes: 2 additions & 0 deletions devtools/client/inspector/rules/views/text-property-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ ChromeUtils.defineESModuleGetters(lazy, {
});

const HTML_NS = "http://www.w3.org/1999/xhtml";
// @backward-compat { version 117 } The pref is enabled by default since 117.
// Let's completely remove it once 117 hits release.
const INLINE_COMPATIBILITY_WARNING_PREF =
"devtools.inspector.ruleview.inline-compatibility-warning.enabled";

Expand Down

0 comments on commit 611fed8

Please sign in to comment.