Closed Bug 1238225 Opened 8 years ago Closed 8 years ago

Mark ExtendableMessageEvent.ports as SameObject

Categories

(Core :: DOM: Service Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: ehsan.akhgari, Unassigned)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

9ef16c9 Mark ExtendableMessageEvent.ports as SameObject; r=baku
Attachment #8705932 - Flags: review?(amarchesini)
Adding dev-doc-needed so that we check that the docs is clear that 'ports' always returns the same object ;-)
Keywords: dev-doc-needed
Attachment #8705932 - Flags: review?(amarchesini) → review+
https://hg.mozilla.org/mozilla-central/rev/b2c76fdebfea
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Updated wording to make sure it is obvious that the property always returns the same object:

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

Also added a note to the release notes:

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

Let me know if this looks ok.
You need to log in before you can comment on or make changes to this bug.