Failure in browser/modules/test/browser/browser_PageActions_contextMenus.js with proton urlbar
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: mak, Assigned: adw)
References
Details
(Whiteboard: [proton-address-bar])
Attachments
(1 file)
There's failures in browser/modules/test/browser/browser_PageActions_contextMenus.js when graduating the proton urlbar
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
This builds on D111205 by factoring out some initialization into a new
initPageActionsTest()
in head.js. I'll need to use it in
browser_PageActions_newWindow.js too (bug 1703389).
Pre-Proton, there are 4 page action context menu items:
- Add to Address Bar
- Remove from Address Bar
- Manage Extension
- Remove Extension
Regardless of Proton, there are two context menus, one for buttons in the urlbar
and one for items in the page action panel. They're actually the same menu of
course.
This test currently checks each menu item in both context menus for a
non-built-in action except for the Remove Extension menu item. In Proton, we
don't need to check Add or Remove, so I modified the test to skip them. I also
added a check for the Remove Extension menu item. The test now must actually
create an extension with a page action to test the context menu because in
Proton only actions with extension IDs get the context menu (bug 1700364). Since
the test is creating an extension anyway, testing the Remove Extension menu item
isn't too hard.
Depends on D111205
Assignee | ||
Comment 2•3 years ago
|
||
Reporter | ||
Comment 3•3 years ago
|
||
proton is now enabled in nightly fwiw, proton.urlbar is not.
Assignee | ||
Comment 4•3 years ago
|
||
Ah thanks. I need to update my Nightly! And my m-c apparently... although I think I did notice some changes actually.
Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a655c3f81a83 Fix failures in browser/modules/test/browser/browser_PageActions_contextMenus.js with proton urlbar. r=mak
Comment 6•3 years ago
|
||
bugherder |
Description
•