Open Bug 1649471 Opened 6 years ago Updated 6 years ago

Web Developer Panel items are inconsistent when `devtools.enabled` is toggled

Categories

(DevTools :: General, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: emmamalysz, Unassigned)

References

Details

STR:

  1. Open firefox
  2. Go to about:config and switch devtools.enabled to false
  3. Open main menu --> Web Developer
  4. Note the appearance of the menu. Page source, enable developer tools, workoffline
  5. Switch pref to true
  6. Open main menu --> Web Developer
  7. Note the appearance of the menu (full list of developer actions)
  8. Switch pref back to false
  9. Open main menu --> Web Developer
  10. Note the appearance of the menu. Full list of tools with "enable developer tools" at the top.

The pref also appears to reset when you restart Firefox.

I'm not sure what the expected behavior is, but this is inconsistent and we should choose a unified path forward.

Mike, is this pref only supposed to be toggled from policy or something? Can we do something to make this behaviour more rational?

Flags: needinfo?(mozilla)

That's not the policy devtools pref. For policy, we have:

devtools.policy.disabled

I believe that's the pref that the devtools folks added so that you could have a dynamic devtools menu.

Flags: needinfo?(mozilla)

The pref is a left-over from an experiment to disable devtools for general audience and require opt-in. This idea is still on the table, so we will probably leave it in as it isn't user facing.

The severity field is not set for this bug.
:Honza, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(odvarko)
Severity: -- → S3
Has STR: --- → yes
Flags: needinfo?(odvarko)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.