Closed Bug 1246460 Opened 8 years ago Closed 8 years ago

"View Pocket List" menu item missing since the removal of "Subscribe to this page…" in the bookmark button and menu bar

Categories

(Firefox :: Pocket, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED
Firefox 47
Tracking Status
firefox46 --- unaffected
firefox47 + verified

People

(Reporter: MattN, Assigned: Gijs)

References

()

Details

(Keywords: regression)

Attachments

(2 files)

Important: I'm talking about the menu from the bookmark button on a toolbar and the menu bar, not in the app menu panel (which is still has the Pocket item in the subview).

Bug 985659 removed BMB_subscribeToPageMenuitem which Pocket used as an insertion point for it's bookmark menu item: https://mxr.mozilla.org/mozilla-central/source/browser/extensions/pocket/bootstrap.js?rev=cb217f7271c2#424

The result is that the menu item no longer appears. The code gracefully handles this so no errors were output. We need to adjust the insertion point in bootstrap.js.

We should probably add a simple test for this and the other UI entry points of Pocket. I just happened to notice the regression while bisecting a different front-end regression.

[Tracking Requested - why for this release]: Major Pocket UI regression
Flags: qe-verify+
Flags: in-testsuite?
(In reply to Matthew N. [:MattN] from comment #0)
> We should probably add a simple test for this and the other UI entry points
> of Pocket. I just happened to notice the regression while bisecting a
> different front-end regression.

I wrote one, but it won't run properly because pocket isn't enabled at all in our tests. See bug 1235627. Enabling it just for the test fails because it leaks window properties, so I gave up on doing that. Still including the test in the patch because it seems useful to have it.
(In reply to :Gijs Kruitbosch from comment #1)
> Still including the
> test in the patch because it seems useful to have it.

... and I expect us to fix the test issues in time for 46, and when we do, this will 'just work', ideally.
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Comment on attachment 8716876 [details]
MozReview Request: Bug 1246460 - pocket UI disappeared, r?MattN

https://reviewboard.mozilla.org/r/33971/#review30719

Nit: the commit message could be improved to be more specific.

::: browser/base/content/test/social/browser.ini:35
(Diff revision 1)
> +[browser_pocket_ui_check.js]

I would prefer if this test was in browser/extensions/pocket/… Not sure why this belongs in the social dir.
Attachment #8716876 - Flags: review?(MattN+bmo) → review+
(In reply to Matthew N. [:MattN] from comment #4)
> Comment on attachment 8716876 [details]
> MozReview Request: Bug 1246460 - pocket UI disappeared, r?MattN
> 
> https://reviewboard.mozilla.org/r/33971/#review30719
> 
> Nit: the commit message could be improved to be more specific.
> 
> ::: browser/base/content/test/social/browser.ini:35
> (Diff revision 1)
> > +[browser_pocket_ui_check.js]
> 
> I would prefer if this test was in browser/extensions/pocket/…

There are no tests in there right now. At all. I can start a set of tests, I guess...

> Not sure why
> this belongs in the social dir.

Anything over sticking yet another thing in browser/base/content/test/general/ . Pocket seemed more linked to social than to anything else.
https://hg.mozilla.org/mozilla-central/rev/e0be6880f8e0
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Seems like a core scenario. Tracked for Fx47.
Verified fixed FX 47b8 Win 7.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: