Closed
Bug 1546726
Opened 6 years ago
Closed 6 years ago
Doc for ALLOW_CONTENT_MESSAGING is incorrect
Categories
(GeckoView :: General, defect, P3)
Tracking
(firefox70 wontfix, firefox71 fixed)
RESOLVED
FIXED
mozilla71
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 | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Assignee: nobody → agi
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/26f85332a164
Fix doc for ALLOW_CONTENT_MESSAGING. r=droeh
Comment 3•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Comment 4•6 years ago
|
||
firefox70=wontfix because we don't need to uplift this doc fix to GV 70 Beta.
status-firefox70:
--- → wontfix
You need to log in
before you can comment on or make changes to this bug.
Description
•