Closed Bug 1676414 Opened 4 years ago Closed 4 years ago

Perma browser/base/content/test/keyboard/browser_bookmarks_shortcut.js | Uncaught exception - at resource://testing-common/BrowserTestUtils.jsm:1294 - TypeError: popup is null when Gecko 84 merges to Beta on 2020-11-16

Categories

(Firefox :: Bookmarks & History, defect)

defect

Tracking

()

VERIFIED FIXED
84 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox82 --- unaffected
firefox83 --- unaffected
firefox84 + verified

People

(Reporter: aryx, Assigned: mtigley)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Regression from bug 1675549?

central-as-beta simulation
Failure log

[task 2020-11-10T14:20:34.919Z] 14:20:34     INFO - TEST-PASS | browser/base/content/test/keyboard/browser_bookmarks_shortcut.js | bookmarks toolbar is visible - 
[task 2020-11-10T14:20:34.920Z] 14:20:34     INFO - Test that the toolbar menuitem state is correct.
[task 2020-11-10T14:20:34.920Z] 14:20:34     INFO - Opening context menu.
[task 2020-11-10T14:20:34.921Z] 14:20:34     INFO - Buffered messages finished
[task 2020-11-10T14:20:34.922Z] 14:20:34     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/keyboard/browser_bookmarks_shortcut.js | Uncaught exception - at resource://testing-common/BrowserTestUtils.jsm:1294 - TypeError: popup is null
[task 2020-11-10T14:20:34.923Z] 14:20:34     INFO - Stack trace:
[task 2020-11-10T14:20:34.923Z] 14:20:34     INFO - waitForPopupEvent@resource://testing-common/BrowserTestUtils.jsm:1294:9
[task 2020-11-10T14:20:34.924Z] 14:20:34     INFO - openContextMenu@chrome://mochitests/content/browser/browser/base/content/test/keyboard/browser_bookmarks_shortcut.js:130:26
[task 2020-11-10T14:20:34.925Z] 14:20:34     INFO - Leaving test bound testBookmarksToolbarShortcut
Flags: needinfo?(mtigley)

You can reproduce locally with:

./mach mochitest browser/base/content/test/keyboard/browser_bookmarks_shortcut.js --setpref 'browser.toolbars.bookmarks.2h2020=false'

It looks like this is because the test expects a submenu for the bookmarks toolbar, and we don't use a submenu when the pref is false.

Assignee: nobody → mtigley
Status: NEW → ASSIGNED
Flags: needinfo?(mtigley)
Pushed by mtigley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2d93ec1fdb25 Fix permafail for bookmarks shortcut. r=jaws
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch

Verified fixed with yesterday's central-as-beta simulation.

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

Attachment

General

Created:
Updated:
Size: