Closed
Bug 560867
Opened 15 years ago
Closed 15 years ago
test_contextmenu should test for label existence and give slightly better log info
Categories
(Firefox :: Menus, defect)
Firefox
Menus
Tracking
()
RESOLVED
FIXED
Firefox 3.7a5
People
(Reporter: kairo, Assigned: kairo)
Details
Attachments
(1 file)
1.06 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
Not strictly menus, but I hope context menu is close enough. ;-)
In my work for SeaMonkey bug 487692, I ran into a problem that I inadvertently made a goSetMenuValue() fail, which caused a context menu item to end up without a label. I figured it's easy to test for this and it would be valuable to do so.
Also, it would be quite helpful for debugging failures of this test if the access key existence test (as well as this new label test) did say on which menuitem ID the failure occurred.
And, above all, I figured that Firefox should have those test improvements as well, and not just SeaMonkey. ;-)
![]() |
Assignee | |
Comment 1•15 years ago
|
||
And here's the very simple patch for this! :)
Attachment #440520 -
Flags: review?
![]() |
Assignee | |
Updated•15 years ago
|
Attachment #440520 -
Flags: review? → review?(gavin.sharp)
Comment 2•15 years ago
|
||
Comment on attachment 440520 [details] [diff] [review]
check for label, tell ID in accesskey check
thanks!
Attachment #440520 -
Flags: review?(gavin.sharp) → review+
![]() |
Assignee | |
Comment 3•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
![]() |
Assignee | |
Updated•15 years ago
|
Target Milestone: --- → Firefox 3.7a5
You need to log in
before you can comment on or make changes to this bug.
Description
•