Closed
Bug 810419
Opened 13 years ago
Closed 13 years ago
Duplicate Tools > Social Provider ambient-menuitems are not removed
Categories
(Firefox Graveyard :: SocialAPI, defect)
Tracking
(firefox17 wontfix, firefox18+ verified, firefox19 verified)
VERIFIED
FIXED
Firefox 19
People
(Reporter: jaws, Assigned: jaws)
References
Details
Attachments
(1 file)
4.08 KB,
patch
|
Felipe
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
After bug 808213 got fixed, I noticed some duplicate menuitem entries in the keyboard-access Tools > Facebook Messenger menu.
I added some logging statements to the code and saw this:
Starting to populate
Previously had 0 ambient-menuitems
Now after removal, there are 0 ambient-menuitems left
Adding friends-jewel
Finished populating
Starting to populate
Previously had 1 ambient-menuitems
Removing See All Friend Requests
Now after removal, there are 0 ambient-menuitems left
Adding friends-jewel
Adding messages-jewel
Finished populating
Starting to populate
Previously had 2 ambient-menuitems
removing See All Friend Requests
Now after removal, there are 1 ambient-menuitems left
Adding friends-jewel
Adding messages-jewel
Adding notifications-jewel
Finished populating
I'm not sure why the second menuitem wasn't removed in that third pass through of updates.
Assignee | ||
Comment 2•13 years ago
|
||
Yes, it appears so.
I've narrowed this down to a bug in the JS engine's implementation of for-of loops and filed bug 810438.
Assignee | ||
Updated•13 years ago
|
I would argue wontfix for Firefox 17 given how close we are to release, unless you feel it is critical.
Assignee | ||
Updated•13 years ago
|
OS: Windows 7 → All
Hardware: x86_64 → All
Assignee | ||
Comment 4•13 years ago
|
||
This works around the JS bug by using a different approach to clear the menu.
Pushed to tryserver, https://tbpl.mozilla.org/?tree=Try&rev=8416e60ae941
Attachment #680180 -
Flags: review?(felipc)
Updated•13 years ago
|
Attachment #680180 -
Flags: review?(felipc) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Flags: in-testsuite+
Assignee | ||
Comment 6•13 years ago
|
||
followup to fix the test description, https://hg.mozilla.org/integration/mozilla-inbound/rev/4214cae0c9bb
Comment 7•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d8bc8bb4b007
https://hg.mozilla.org/mozilla-central/rev/4214cae0c9bb
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Assignee | ||
Comment 8•13 years ago
|
||
Comment on attachment 680180 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 801040
User impact if declined: duplicate menuitems in the social menu
Testing completed (on m-c, etc.): m-c and in testsuite
Risk to taking this patch (and alternatives if risky): none expected, trivial change
String or UUID changes made by this patch: none
Assuming wontfix for Fx17 due to the timing.
Attachment #680180 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•13 years ago
|
tracking-firefox18:
--- → ?
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Attachment #680180 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 9•13 years ago
|
||
Comment 10•13 years ago
|
||
Marking verified fixed since this landed with tests. Please add verifyme keyword if there's something you need QA to test.
Updated•6 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•