The widget doc still says events are passed to event listeners and its onMessage description is a little weird, and the Working with Events guide hasn't been updated for the event parameter removal and the image property removal. These fixes require another beta 1 respin.
Comment on attachment 494725 [details] [diff] [review] patch Nice, r=myk. But this reminds me that we have yet to resolve bug 593921, and there is some inconsistency in the way we call message handlers across the API set, with some APIs passing the message as the first argument, while this one passes the widget object. I'll think about what to do here and then file followup bugs as needed.
Attachment #494725 - Flags: review?(myk) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Target Milestone: -- → 0.10
Whiteboard: [cherry-pick-needed] → [cherry-pick-1.0b1]
You need to log in before you can comment on or make changes to this bug.