Closed Bug 1546445 Opened 7 months ago Closed 2 months ago

Add appName to WebExtension.MessageDelegate.onMessage

Categories

(GeckoView :: General, enhancement, P1)

Unspecified
All
enhancement

Tracking

(firefox70 wontfix, firefox71 fixed)

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

People

(Reporter: Agi, Assigned: Agi)

References

Details

Attachments

(1 file)

A delegate that handles messages from multiple native apps can tell which native app identifier received the message by looking at port.name.

The same cannot be done with one-time messages as onMessage does not expose this, we should close this little API gap.

Summary: Add appName to MessageDelegate.onMessage → Add appName to WebExtension.MessageDelegate.onMessage

P1

Type: defect → enhancement
Priority: -- → P3

Looks like this should've been a P1? I'm just going to do this real quick.

Priority: P3 → P1
Attachment #9092462 - Attachment description: Bug 1546445 - Add appName to MessageDelegate.onMessage. → Bug 1546445 - Add nativeApp to MessageDelegate.onMessage.
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba266451040e
Add nativeApp to MessageDelegate.onMessage. r=snorp
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71

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

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