panel doc mentions panel.sendMessage(), but it doesn't seem to exist

RESOLVED FIXED

Status

RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: adw, Assigned: myk)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
The panel doc mentions panel.sendMessage(), but grepping all the addon-kit and jetpack-core source seems to indicate that sendMessage doesn't exist.  Is there any way to send messages to a panel's content script?

Via a question on IRC.
(Assignee)

Updated

8 years ago
Blocks: 604173
(Assignee)

Comment 1

8 years ago
Created attachment 484501 [details] [diff] [review]
patch v1: implements change

Here's the docs fix along with a test fix to test the functionality we're now advertising.
Assignee: nobody → myk
Status: NEW → ASSIGNED
Attachment #484501 - Flags: review?(adw)
(Reporter)

Comment 2

8 years ago
Comment on attachment 484501 [details] [diff] [review]
patch v1: implements change

Looks great, r=adw
Attachment #484501 - Flags: review?(adw) → review+
(Assignee)

Comment 3

8 years ago
Fixed by changeset https://hg.mozilla.org/labs/jetpack-sdk/rev/bb651f9b6f09.
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Assignee)

Comment 4

8 years ago
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.