Closed Bug 1336020 Opened 4 years ago Closed 4 years ago
Messages should have transferable as  by default
This change should not impact web content.
Assignee: nobody → amarchesini
Attachment #8832802 - Flags: review?(bugs)
Attachment #8832802 - Attachment description: transfer.patch → part 1 - default value for transferable sequence in postMessages
Comment on attachment 8832802 [details] [diff] [review] part 1 - default value for transferable sequence in postMessages So it doesn't matter that earlier we passed empty array to structured clone writing and now we pass undefined?
Attachment #8832802 - Flags: review?(bugs) → review+
Comment on attachment 8832817 [details] [diff] [review] part 2 - transferables should be 'object' in WebIDL So, this makes us always create array object. Even if there isn't any need. I'm pretty sure that would show up in microbenchmarks.
Attachment #8832817 - Flags: review?(bugs) → review-
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/4c7431468e5d postMessages should have transferable as  by default, r=smaug https://hg.mozilla.org/integration/mozilla-inbound/rev/c3d718ec7f07 transferables should be arrays of objects, r=smaug
You need to log in before you can comment on or make changes to this bug.