Closed Bug 1546726 Opened 6 years ago Closed 6 years ago

Doc for ALLOW_CONTENT_MESSAGING is incorrect

Categories

(GeckoView :: General, defect, P3)

Unspecified
All
defect

Tracking

(firefox70 wontfix, firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox70 --- wontfix
firefox71 --- fixed

People

(Reporter: agi, Assigned: agi)

References

Details

Attachments

(1 file)

The doc for ALLOW_CONTENT_MESSAGING is incorrect, it mentions:

To listen to such messages you can use WebExtension.setMessageDelegate(org.mozilla.geckoview.WebExtension.MessageDelegate, java.lang.String).

While really you want to call GeckoSession.setMessageDelegate to listen to messages from content scripts.

Reading the docs for WebExtension.setMessageDelegate should clarify this, but still we should just mention the right thing here.

Assignee: nobody → agi
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/26f85332a164 Fix doc for ALLOW_CONTENT_MESSAGING. r=droeh
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71

firefox70=wontfix because we don't need to uplift this doc fix to GV 70 Beta.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: