Closed Bug 1509266 Opened 5 years ago Closed 5 years ago

ContentDelegate.onContextMenu(): Expose title attribute

Categories

(GeckoView :: General, enhancement, P3)

enhancement

Tracking

(geckoview64 wontfix, firefox64 wontfix, firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
geckoview64 --- wontfix
firefox64 --- wontfix
firefox65 --- fixed

People

(Reporter: sebastian, Assigned: esawin)

References

()

Details

(Whiteboard: [geckoview:fenix:p1])

Attachments

(2 files, 1 obsolete file)

> fun onContextMenu(
>     session: GeckoSession,
>     screenX: Int,
>     screenY: Int,
>     uri: String?,
>     elementType: Int,
>     elementSrc: String?
> )       

For images it would be nice to get the value of the title tag to be able to display it in the UI. Famous example is XKCD.
For links, too.
Assignee: nobody → esawin
Priority: -- → P3
Attachment #9027654 - Attachment description: Bug 1509266 - [1.0] Extend element information passed to ContentDelegate.onContextMenu. r=snorp! → Bug 1509266 - [1.1] Extend element information passed to ContentDelegate.onContextMenu. r=snorp!
Attachment #9027654 - Attachment description: Bug 1509266 - [1.1] Extend element information passed to ContentDelegate.onContextMenu. r=snorp! → Bug 1509266 - [1.1] Extend element information passed to ContentDelegate.onContextMenu. r=snorp!,agi!
Attachment #9027654 - Attachment description: Bug 1509266 - [1.1] Extend element information passed to ContentDelegate.onContextMenu. r=snorp!,agi! → Bug 1509266 - [1.2] Extend element information passed to ContentDelegate.onContextMenu. r=snorp!,agi!
Attachment #9027656 - Attachment is obsolete: true
Attachment #9027654 - Attachment description: Bug 1509266 - [1.2] Extend element information passed to ContentDelegate.onContextMenu. r=snorp!,agi! → Bug 1509266 - [1.3] Extend element information passed to ContentDelegate.onContextMenu. r=snorp!,agi!
Pushed by esawin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ad3b39edf233
[1.3] Extend element information passed to ContentDelegate.onContextMenu. r=snorp,agi
https://hg.mozilla.org/integration/autoland/rev/a729f76f6aae
[2.0] Update onContextMenu delegate implementations. r=snorp
https://hg.mozilla.org/mozilla-central/rev/ad3b39edf233
https://hg.mozilla.org/mozilla-central/rev/a729f76f6aae
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
64=wontfix because we don't need to uplift this fix to 64 Beta.
Points: --- → 1
Whiteboard: [geckoview:fenix:p1]
Pushed by esawin@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/88831b1697c4
[4.0] Make type constants public and ContextElement non-final. r=me
Depends on: 1511012
status-geckoview64=wontfix
Product: Firefox for Android → GeckoView
Target Milestone: Firefox 65 → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: