Closed Bug 727730 Opened 12 years ago Closed 12 years ago

Add support for Share Link context menu

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 13

People

(Reporter: mfinkle, Assigned: mfinkle)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
I am not happy with the blatant code/copy in this patch, so I am open to better ways to reuse the code.

I plan to post a patch with a test as soon as I land the "Open Link in Tab" tests
Attachment #597703 - Flags: review?(mbrubeck)
Comment on attachment 597703 [details] [diff] [review]
patch

>+    linkShareableContext: {
>+      matches: function linkOpenableContextMatches(aElement) {

should be "function linkShareableContextMatches(...)".

I'd like to move to a system like XUL fennec where several of the "selectors" share data.  I can file a followup bug for that.
Attachment #597703 - Flags: review?(mbrubeck) → review+
Blocks: 727952
https://hg.mozilla.org/mozilla-central/rev/b88b81086a76
Assignee: nobody → mark.finkle
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
Flags: in-litmus?(fennec)
Nightly 13.0a1 (2012-02-21)
Device: Samsung Nexus S - Android 2.3.6

Verified fixed: when long tapping on a link from a webpage, the "Share Link" option is listed in context menu, and also when long tapping on a link from TopSites/Bookmarks/History the "Share" option is listed in the context menu.
Status: RESOLVED → VERIFIED
Flags: in-litmus?(fennec) → in-litmus?(camelia.urian)
Test case added to litmus in BFT's - Context Menu: https://litmus.mozilla.org/show_test.cgi?id=50339
Flags: in-litmus?(camelia.urian) → in-litmus+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: