Closed Bug 1640650 Opened 4 years ago Closed 4 years ago

[Prevent accidental use of F12] The experiment doorhanger is not dismissed after opening the Developer Tools console using one of its keyboard shortcuts

Categories

(DevTools :: General, defect)

Desktop
All
defect

Tracking

(firefox76 unaffected, firefox77 unaffected, firefox78 affected)

VERIFIED FIXED
Tracking Status
firefox76 --- unaffected
firefox77 --- unaffected
firefox78 --- affected

People

(Reporter: cfat, Unassigned)

References

Details

Attachments

(1 file)

Attached image open doorhanger.jpg

[Affected Versions]:

  • Firefox Nightly 78.0a1 Build ID: 20200525093440

[Affected Platforms]:

  • Windows 10 x64
  • macOS 10.15
  • Linux Mint 19.2 Tina

[Prerequisites]:

  • The latest Firefox Nightly 78 is installed and opened.
  • Have access to the stage delivery console.
  • Have an active multi pref recipe.
  • Have the “security.content.signature.root_hash” pref set to "DB:74:CE:58:E4:F9:D0:9E:E0:42:36:BE:6C:C5:C4:F6:6A:E7:74:7D:C0:21:42:7A:03:BC:2F:57:0C:8B:9B:90".
  • Have the "app.normandy.api_url" pref set to "https://stage.normandy.nonprod.cloudops.mozgcp.net/api/v1".
  • Have the "app.normandy.dev_mode" pref set to “true”.
  • Have the "app.normandy.logging.level" pref set to “0”.
  • Have the "services.settings.server" pref set to "https://settings.stage.mozaws.net/v1"
  • Have the devtools.selfxss.count" pref set to "0".
  • Create a new pref named "PI608" and set it to true.

[Steps to reproduce]:

  1. Open the browser with the profile from prerequisites.
  2. Press F12.
  3. Press CTRL+SHIFT+K keys to open Developer Tools console.
  4. Observe what happens next.

[Expected results]:

  • The experiment doorhanger is dismissed when the Developer Tools Console is opened.

[Actual results]:

  • The experiment doorhanger remains displayed.

[Notes]:

  • This issue is also reproducible with other key shortcuts such as Ctrl + Shift + C/Z/E or Shift + F7/F5/F9/F12.
  • Attached is an image of the issue.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Console
Component: Console → General

This behavior was expected for the experiment, we didn't intend to close the message when opening devtools with another shortcut.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
  • Thank you for the update. As far as I can remember, this specific behavior was not included in the documentation of the experiment, hence we considered the result as an issue and logged this bug report.
  • Would it be possible to update the documentation by mentioning this behavior here? After doing this, could you please also change the status of the bug report from Invalid to Resolved Fixed? Thank you and sorry for the trouble.
Flags: needinfo?(jdescottes)

I updated the document. Updating the status to Resolved > Fixed (the fix was to update the google doc, no code change here).

Flags: needinfo?(jdescottes)
Resolution: INVALID → FIXED

Thank you.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: