av9ash/GitBugs huggingface dataset:
Bug: Bookmark suggestion includes container label before URL with browser.urlbar.switchTabs.searchAllContainers = true
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2023-10-18 15:37:50+00:00
Resolved: 2023-11-13 12:58:24+00:00

STR:
1. Set `browser.urlbar.switchTabs.searchAllContainers = true`.
2. Create a "Personal" container tab and visit https://bugzilla.mozilla.org.
3. Bookmark the site and keep the container tab open.
4. Create a new tab.
5. Type "bugz" in the address bar and then press Backspace once.

A bookmark suggestion appears for "Mozilla Bug Tracker" which includes the "Personal" container label immediately before the URL. This is not a "Switch to Tab" item, so there should not be a container associated with the bookmark. The label does not use a chiclet appearance which makes it blend in with the URL.

Regressed by Bug 1479858.
Bug: Intermittent browser/components/urlbar/tests/browser/browser_switchTab_override.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-10-18 16:36:04+00:00
Resolved: 2023-12-25 12:02:13+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=432935589&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ZVX2aN08TNiq_qy7UfS4vw/runs/1/artifacts/public/logs/live_backing.log

---
```
[task 2023-10-18T10:48:10.588Z] 10:48:10     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_switchTab_override.js | We should be overriding - true == true - 
[task 2023-10-18T10:48:10.589Z] 10:48:10     INFO - gURLBar.value = https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html
[task 2023-10-18T10:48:10.590Z] 10:48:10     INFO - Buffered messages logged at 10:48:08
[task 2023-10-18T10:48:10.591Z] 10:48:10     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/browser/browser/components/urlbar/tests/browser/dummy_page.html" line: 0}]
[task 2023-10-18T10:48:10.599Z] 10:48:10     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_switchTab_override.js | We should not be overriding anymore - true == true - 
[task 2023-10-18T10:48:10.600Z] 10:48:10     INFO - Leaving test bound test_switchtab_override
[task 2023-10-18T10:48:10.601Z] 10:48:10     INFO - Buffered messages finished
[task 2023-10-18T10:48:10.602Z] 10:48:10     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_switchTab_override.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. - 
[task 2023-10-18T10:48:10.605Z] 10:48:10     INFO - GECKO(2681) | MEMORY STAT | vsize 20985142MB | residentFast 2557MB
[task 2023-10-18T10:48:10.606Z] 10:48:10     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_switchTab_override.js | took 210197ms
[task 2023-10-18T10:48:10.607Z] 10:48:10     INFO - checking window state
[task 2023-10-18T10:48:10.608Z] 10:48:10     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_switchToTabHavingURI_aOpenParams.js
```
Bug: Wrong results from Firefox Suggest in Firefox 117
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-10-18 16:47:04+00:00
Resolved: 2023-10-19 10:19:13+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

Typed keywords in the Awesome Bar that match some of my bookmarks.


Actual results:

Some bookmarks did not show up in the suggestions from Firefox Suggest. These bookmarks used to show up very reliably in Firefox 115 and lower. firefox_suggest_1.png shows how a given bookmark (circled in red) will show up for some keyword combinations, but not others that match better in firefox_suggest_2.png.

Additionally, hitting the "down" arrow selects a URL that is not displayed in the list of suggestions. firefox_suggest_3.png shows a set of suggestions before hitting the down arrow, and firefox_suggest_4.png shows how the awesome bar is populated with a URL not in the suggestion list after hitting the down arrow.

(All referenced screenshots are included in the attached file firefox_suggest.zip.)


Expected results:

The best-matching bookmark entries should be shown in the suggestions. URLs that aren't in the suggestion list shouldn't be selectable using the down arrow.

(Alternatively, if intentional changes were made to Firefox Suggest behavior, these changes should be noted in the Firefox release notes and explained in documentation.)
Bug: New Tab page has brief layout shift where Pocket "Save" button is missing its text
Status: NEW
Priority: P3
Created: 2023-10-18 20:04:53+00:00
Resolved: 2024-09-23 22:07:47+00:00

STR:
1. Hover the first Recommended By Pocket tile on a new-tab page.
2. Notice the `[icon] Save` button with the pocket icon.
3. Leaving your cursor where it is (hovering that tile), reload the page a bunch, or open a bunch of new-tabs. (Ctrl+R or Ctrl+T)

ACTUAL RESULTS:
Some of the time, when the "Save" badge appears, it's briefly missing the "Save" text and only shows the pocket icon, and then all of a sudden it expands to show "Save"

EXPECTED RESULTS:
Badge should be fully-intact when it appears.
Bug: Screenshots overlay can draw outside document
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2023-10-18 20:33:27+00:00
Resolved: 2023-11-28 10:13:15+00:00

STR:
1. set `screenshots.browser.component.enabled` to true
2. still on about config, resize the window so it is wide
3. open screenshots and draw a region with the right edge of the region near the right edge of the window
4. resize the window to a smaller width

ER: 
The region should not extend past the document

AR:
The region extends past the document making the page wider than it should be
Bug: Intermittent toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2023-10-18 22:00:55+00:00
Resolved: 2025-02-24 07:03:18+00:00

**Filed by:** csabou [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=433037517&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dOGbRFtXTfihGRAYwHGxug/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2023-10-18T21:57:38.413Z] 21:57:38     INFO -  TEST-START | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_web_accessible_resources_matches.js
[task 2023-10-18T21:57:38.414Z] 21:57:38     INFO -  TEST-SKIP | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_web_accessible_resources_matches.js | took 0ms
[task 2023-10-18T21:57:38.416Z] 21:57:38     INFO -  TEST-START | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js
[task 2023-10-18T21:57:45.240Z] 21:57:45  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | xpcshell return code: 0
[task 2023-10-18T21:57:45.240Z] 21:57:45     INFO -  TEST-INFO took 6821ms
[task 2023-10-18T21:57:45.241Z] 21:57:45     INFO -  >>>>>>>
[task 2023-10-18T21:57:45.242Z] 21:57:45     INFO -  PID 4194 | [Parent 4194, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:2886
[task 2023-10-18T21:57:45.243Z] 21:57:45     INFO -  TEST-PASS | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | getTempFile - [getTempFile : 44] Sanity check the temporary file doesn't exist. - true == true
[task 2023-10-18T21:57:45.244Z] 21:57:45     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2023-10-18T21:57:45.244Z] 21:57:45     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2023-10-18T21:57:45.245Z] 21:57:45     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2023-10-18T21:57:45.246Z] 21:57:45     INFO -  running event loop
[task 2023-10-18T21:57:45.247Z] 21:57:45     INFO -  toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | Starting setup test_setup
[task 2023-10-18T21:57:45.248Z] 21:57:45     INFO -  (xpcshell/head.js) | test test_setup pending (2)
[task 2023-10-18T21:57:45.248Z] 21:57:45     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2023-10-18T21:57:45.249Z] 21:57:45     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2023-10-18T21:57:45.249Z] 21:57:45     INFO -  (xpcshell/head.js) | test test_setup finished (2)
[task 2023-10-18T21:57:45.250Z] 21:57:45     INFO -  toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | Starting test_add_to_store
[task 2023-10-18T21:57:45.250Z] 21:57:45     INFO -  (xpcshell/head.js) | test test_add_to_store pending (2)
[task 2023-10-18T21:57:45.251Z] 21:57:45     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
```
Bug: BSoD While Watching YouTube
Status: RESOLVED
Priority: --
Resolution: INCOMPLETE
Created: 2023-10-18 23:13:15+00:00
Resolved: 2023-12-13 14:13:05+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0

Steps to reproduce:

I watched YouTube.  It only ever BSoD while watching videos on YouTube specifically.  No other sites do it.  It isn't a problem with my PC, I've updated all drivers on everything and reinstalled Firefox, it's a problem with your browser.


Actual results:

Computer crashes.  I get the CRITICAL_PROCESS_DIED stop code.


Expected results:

Nothing.  Nothing at all.  My PC shouldn't crash while watching YouTube videos.
Bug: Bug 1830721 Bug 1830681
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-10-19 04:39:50+00:00
Resolved: 2023-10-19 04:54:23+00:00

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0

Steps to reproduce:

Open firefox browser in fullscreen mode

    1830721 - firefox nightly fullscreen has borders around all sides when using userChrome.css -moz-appearance,release version has not.
    1830681 - Fullscreen mode has padding, doesn't occupy the whole screen 




Actual results:

anoying border around screen. 


Expected results:

no border
Bug: When opening a new private window the cursor flashes in the address bar as if it has focus but no keypresses are registered until I manually click the window. It's displayed in the foreground but the window doesn't have focus.
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2023-10-19 05:13:17+00:00
Resolved: 2023-10-20 13:19:56+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0

Steps to reproduce:

Right Click Firefox Icon on Taskbar
Select "New private window"


Actual results:

I started typing the URL and nothing happened


Expected results:

The keypresses I made should have registered in the address bar without me having to manually click the window to attain focus
Bug: Link in customize mode is hard to see with some themes
Status: VERIFIED
Priority: P2
Resolution: FIXED
Created: 2023-10-19 08:11:47+00:00
Resolved: 2023-12-08 10:05:56+00:00

Screenshot is from customize mode with the "Dreamer – Balanced" theme applied.

I think there are a few options here:

First and easiest, we could restore `:is(a, .text-link):-moz-lwtheme { color: inherit; }` that https://hg.mozilla.org/mozilla-central/rev/11fb2a6e434951fbef0791563a159cbbdd42f4c8#l9.42 removed.

Second, we could perhaps define significantly darker (for light color scheme) and lighter (for dark color scheme) link colors to be used with `:-moz-lwtheme`, to reduce the chance of contrast issues.

Third, the `color-contrast()` function, once implemented, could be handy here to be smarter with either the first or second option.

Thoughts?
Bug: [Experiment] The message targeting expression is wrong for both branches of the “Set Default PDF Handler with Annotations” experiment
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-10-19 09:22:37+00:00
Resolved: 2023-10-23 12:57:45+00:00

**[Notes]:**

- Due to this issue, the PDF handler message will be displayed even if:
   - Firefox is NOT the default browser
   - Firefox IS the default PDF handler
   - User has Enterprise Policies

**[Affected versions]:**

- Firefox Release 118.0.2 - Build ID: 20231009140911
- Firefox RC 119.0 - Build ID: 20231013091412

**[Affected Platforms]:**

- Windows 10 x64, Windows 11 x64

**[Prerequisites]:**

- Firefox is NOT the default browser and is NOT the default PDF handler.
- Have a Firefox profile with the nimbus.debug pref set to true in the "about:config" page.

**[Steps to reproduce]:**

1. Open the browser with the profile from the prerequisites.
2. Navigate to "about:studies?optin_slug=set-default-pdf-handler-with-annotations&optin_branch=treatment-a&optin_collection=nimbus-preview".
3. Navigate to a URL which is ending in .pdf (eg. https://www.irs.gov/pub/irs-pdf/f1040.pdf).
4. Observe the behavior.

**[Expected result]:**

- The  "Default prompt for PDF" is NOT displayed.

**[Actual result]:**

- The  "Default prompt for PDF" IS displayed.

**[Additional Notes]:**
- This issue is reproducible on both of the [“Set Default PDF Handler with Annotations”](https://mozilla-hub.atlassian.net/browse/QA-2150) experiment branches.
- Attached a screen recording of the issue.
Bug: Can't create bookmarklet using ManagedBookmarks policy
Status: NEW
Priority: P5
Created: 2023-10-19 11:42:45+00:00
Resolved: 2023-10-20 08:27:57+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0

Steps to reproduce:

I tryed to create a bookmarklet using the ManagedBookmarks policy, like this:

    "ManagedBookmarks": [
      {
        "toplevel_name": "IT Support"
      },
      {
        "url": "javascript:alert('Bookmarklet Test')",
        "name": "Bookmarklet Test"
      }
    ]



Actual results:

It does create the bookmark folder "IT Support" and the entry "Bookmarklet Test".

However, clicking in "Bookmarklet Test" dos not run the javascript code, nothing happens.

Hoovering the mouse over "Bookmarklet Test" shows the correct code.


Expected results:

It should behaviour the same way a manually created bookmarklet does:

    name: Bookmarklet Test
    url: javascript:alert('Bookmarklet Test')
Bug: [Experiment] The PDF Handler callout is not triggered on Firefox 116 even if the profile is enrolled in the experiment
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-10-19 14:40:32+00:00
Resolved: 2023-10-23 12:21:14+00:00

**[Notes]:**

- The "Default prompt for PDF" message is NOT displayed in the “AS Router Admin” page.
- This issue is NOT reproducible on Firefox Release 117 and above.

**[Affected versions]:**

- Firefox Release 116.0 - Build ID: 20230727152340

**[Affected Platforms]:**

- Windows 10 x64, Windows 11 x64

**[Prerequisites]:**

- Firefox IS the default browser and is NOT the default PDF handler.
- Have a Firefox profile with the nimbus.debug pref set to true in the "about:config" page.

**[Steps to reproduce]:**

1. Open the browser with the profile from the prerequisites.
2. Navigate to "about:studies?optin_slug=set-default-pdf-handler-with-annotations&optin_branch=treatment-a&optin_collection=nimbus-preview".
3. Navigate to a URL which is ending in .pdf (eg. https://www.irs.gov/pub/irs-pdf/f1040.pdf).
4. Observe the behavior.

**[Expected result]:**

- The  "Default prompt for PDF" IS displayed.

**[Actual result]:**

- The  "Default prompt for PDF" is NOT displayed.

**[Additional Notes]:**

- This issue is reproducible on both of the [“Set Default PDF Handler with Annotations”](https://mozilla-hub.atlassian.net/browse/QA-2150) experiment branches.
- Attached a screen recording of the issue.
Bug: Page Rendering Glitch
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-10-19 14:59:05+00:00
Resolved: 2023-10-19 15:02:40+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 OPR/102.0.0.0

Steps to reproduce:

1. Open Mozilla Firefox (version 103.0) on a Windows 10 computer.
2. Navigate to any website with a complex layout (e.g., www.example.com).
3. Scroll down the page slowly and continuously.
4. After a few seconds of scrolling, you might notice that certain elements on the page, like images or text, briefly disappear and reappear in a flickering manner.



Actual results:

Certain elements on the page briefly disappear and reappear while scrolling, causing a distracting visual glitch.


Expected results:

I expect the webpage to scroll smoothly without any elements disappearing or flickering during the process
Bug: Intermittent browser/base/content/test/sync/browser_sync.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-10-19 17:05:29+00:00
Resolved: 2023-11-27 12:01:08+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=433151148&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/eeW6VOPmSL6JaiCM09EWpw/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2023-10-19T16:18:35.908Z] 16:18:35     INFO - TEST-PASS | browser/base/content/test/sync/browser_sync.js | title has correct value - 
[task 2023-10-19T16:18:35.908Z] 16:18:35     INFO - TEST-PASS | browser/base/content/test/sync/browser_sync.js | The panel is open to begin with. - true == true - 
[task 2023-10-19T16:18:35.909Z] 16:18:35     INFO - Leaving test bound test_ui_state_loginFailed
[task 2023-10-19T16:18:35.909Z] 16:18:35     INFO - Entering test bound test_app_menu_fxa_disabled
[task 2023-10-19T16:18:35.909Z] 16:18:35     INFO - Buffered messages finished
[task 2023-10-19T16:18:35.909Z] 16:18:35     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/sync/browser_sync.js | Test timed out - 
[task 2023-10-19T16:18:35.909Z] 16:18:35     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-10-19T16:18:35.910Z] 16:18:35     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/sync/browser_sync.js | Uncaught exception received from previously timed out test bound test_app_menu_fxa_disabled - focus listener not removed before the end of test
[task 2023-10-19T16:18:35.910Z] 16:18:35     INFO - Entering test bound 
[task 2023-10-19T16:18:35.910Z] 16:18:35     INFO - Leaving test bound 
[task 2023-10-19T16:18:39.327Z] 16:18:39     INFO - GECKO(8104) | MEMORY STAT | vsize 923MB | vsizeMaxContiguous 1293MB | residentFast 258MB | heapAllocated 108MB
[task 2023-10-19T16:18:39.338Z] 16:18:39     INFO - TEST-OK | browser/base/content/test/sync/browser_sync.js | took 51943ms
[task 2023-10-19T16:18:39.349Z] 16:18:39     INFO - checking window state
[task 2023-10-19T16:18:39.355Z] 16:18:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-10-19T16:18:39.355Z] 16:18:39     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/sync/browser_sync.js | Found a browser window after previous test timed out - 
[task 2023-10-19T16:18:39.375Z] 16:18:39     INFO - TEST-START | browser/base/content/test/sync/browser_synced_tabs_view.js
```
Bug: Feature Callout cannot be dismissed when shown with Set Firefox Default Prompt
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-10-19 20:52:55+00:00
Resolved: 2023-11-16 13:09:43+00:00

An edge case seen in dev that can be replicated with below steps:

Pre-Req
1. Set Firefox Nightly as not default browser
2. Create a new profile in latest Firefox Nightly and Open Firefox Nightly with new profile 
3. Open about:preferences -> General -> Check open previous windows and tabs checkbox
4. Open about:config and set `browser.shopping.experience2023.enabled` as true

Steps
1. Open amazon PDP page and click `Yes try it` in shopping sidebar and exit by clicking x button, shows ‘Get back to review Checker whenever you see the price tag’ feature callout
2. Quit Firefox Nightly
3. Change System date and time to future say 2 days ahead
4. Launch again with the same profile
5. Default prompt and feature callout shows up together

Expected Result
Feature Callout and Default prompt doesn't display together

Actual Result
Feature Callout and Default prompt display together. Clicking on Feature Callout and Default Prompt or anywhere in web page doesn’t dismiss either of the dialog.
Clicking partially visible `Not Now` of Default prompt dismisses default prompt and than let feature Callout dismiss
Bug: CA delete dialog buttons are invisible when selecting more than x certificates at once
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-10-20 05:38:33+00:00
Resolved: 2023-12-06 09:20:41+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0

Steps to reproduce:

open settings / certificate management and select several old client certificates of my router (fritzbox), then clicking on "delete or revoke trust"


Actual results:

dialog window for deleting certificates is showing, but the long list of selected certificates that i want to delete at once makes the buttons OK and Cancel disappear below the lower end of the dialog. i selected 10 certs at once.


Expected results:

dialog window should have expanded in height so the buttons are visible
Bug: Search bar suggestions glitch randomly
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2023-10-20 06:08:44+00:00
Resolved: 2023-10-20 06:09:32+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Steps to reproduce:

1. open browser 
2. type anything in the search bar
3. sometimes randomly glitch issue occurs where the suggestions appears messed up.


Actual results:

randomly glitch issue occurs where the suggestions appears messed up.


Expected results:

when type in the search bar suggestion occurs normally.
Bug: [Experiment] The "PDF_HANDLER_ANNOTATIONS" message from the Treatment A branch of the "Set Default PDF Handler with Annotations" is not blocked if the "Esc" key is pressed
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2023-10-20 07:38:52+00:00
Resolved: 2023-10-24 12:05:29+00:00

**[Affected versions]:**

- Firefox Release 118.0.2 - Build ID: 20231009140911
- Firefox RC 119.0 - Build ID: 20231013091412

**[Affected Platforms]:**

- Windows 10 x64, Windows 11 x64

**[Prerequisites]:**

- Have a Firefox profile with the following prefs in the "about:config" page:
   - nimbus.debug set to true
   - browser.newtabpage.activity-stream.asrouter.devtoolsEnabled set to true

**[Steps to reproduce]:**

1. Open the browser with the profile from prerequisites.
2. Navigate to "about:studies?optin_slug=set-default-pdf-handler-with-annotations&optin_branch=treatment-a&optin_collection=nimbus-preview".
3. Navigate to the "about:newtab#devtools" page and search for the "PDF_HANDLER_ANNOTATIONS:treatment_a" message.
4. Click the "Show" button from the message section.
5. Press the "Esc" key from the top-right part of the "PDF Handler".
6. Observe the message from the "AS Router Admin"

**[Expected result]:**

- The message section is grayed out and the "Unblock" button is displayed.

**[Actual result]:**

- Nothing happens, the message remains active.

**[Notes]:**

- Due to this issue the message will be displayed to users each time an URL ending in pdf will be accessed and may harm the user experience.
- This issue is not reproducible with the Treatment B branch of [the experiment](https://mozilla-hub.atlassian.net/browse/QA-2150). The "PDF_HANDLER_ANNOTATIONS:treatment_b" is blocked if the "Esc" key is pressed.
- Attached a screen recording of the issue.