Closed Bug 1207068 Opened 9 years ago Closed 9 years ago

Implement ExtendableMessageEvent interface

Categories

(Core :: DOM: Core & HTML, defect)

x86
Unspecified
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox43 --- wontfix
firefox44 --- fixed
firefox45 --- fixed
b2g-v2.5 --- fixed

People

(Reporter: dlee, Assigned: dlee)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

ServiceWorker should use extendableMessageEvent interface instead of MessageEvent
according to
https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#extendablemessage-event-interface
Assignee: nobody → dlee
Status: NEW → ASSIGNED
Comment on attachment 8685302 [details] [diff] [review]
Implement ExtendableMessageEvent

Set r+ because this patch is already reviewed in bug 1143717 Comment 21.
Attachment #8685302 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/9184d15b52be
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Is this going to be backported to Firefox 44?
Flags: needinfo?(overholt)
Do we need it in 44?
Flags: needinfo?(overholt)
Flags: needinfo?(ehsan)
Flags: needinfo?(dlee)
Flags: needinfo?(catalin.badea392)
Flags: needinfo?(bkelly)
Comment on attachment 8685302 [details] [diff] [review]
Implement ExtendableMessageEvent

Approval Request Comment
[Feature/regressing bug #]: Service workers
[User impact if declined]: We need this to maintain compatibility with chrome in service workers.  Its already been noticed by devs so we should uplift it.
[Describe test coverage new/current, TreeHerder]: Tests included.
[Risks and why]: Minimal.  Only affects service workers.
[String/UUID change made/needed]: None.
Flags: needinfo?(bkelly)
Attachment #8685302 - Flags: approval-mozilla-aurora?
Flags: needinfo?(ehsan)
Flags: needinfo?(dlee)
Flags: needinfo?(catalin.badea392)
Comment on attachment 8685302 [details] [diff] [review]
Implement ExtendableMessageEvent

SW is planned for 44 and this fix has baked on Nightly for almost ~4 weeks. Let's uplift to Aurora44.
Attachment #8685302 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
I've documented this here (see also subpages):

https://developer.mozilla.org/en-US/docs/Web/API/ExtendableMessageEvent

The message event itself is covered here:

https://developer.mozilla.org/en-US/docs/Web/Events/message_%28ServiceWorker%29

And a note has been added to the 44 release notes:

https://developer.mozilla.org/en-US/Firefox/Releases/44#Service_Workers

Let me know if thus makes sense, or if I have got confused here. Thanks!
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: