Closed
Bug 1264508
Opened 9 years ago
Closed 1 year ago
Add helpers for converting ArrayBuffer or BufferSource to nsTArray
Categories
(Core :: DOM: Bindings (WebIDL), task, P3)
Core
DOM: Bindings (WebIDL)
Tracking
()
RESOLVED
FIXED
127 Branch
| Tracking | Status | |
|---|---|---|
| firefox127 | --- | fixed |
People
(Reporter: lina, Assigned: peterv)
References
Details
(Whiteboard: btpp-backlog)
Attachments
(1 file)
Bug 1247685 added some helpers for converting ArrayBuffer and BufferSource (OwningArrayBufferViewOrArrayBuffer) to nsTArray.
It would be nice to move these helpers into the WebIDL code generator, so that any union containing a buffer or view could be copied into an nsTArray.
Updated•9 years ago
|
Whiteboard: btpp-backlog
Updated•7 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
| Reporter | ||
Comment 1•5 years ago
|
||
I just found TypedArrayCreator, which goes the other way—from nsTArray to ArrayBuffer. This bug is about going from ArrayBuffer to nsTArray, though.
Updated•3 years ago
|
Type: defect → enhancement
Component: DOM: Core & HTML → DOM: Bindings (WebIDL)
Updated•3 years ago
|
Severity: normal → S3
| Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → peterv
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•1 year ago
|
||
This was mostly done in bug 1690111, but I'll use this bug to remove the obsolete Push-specific helpers.
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/669ac95baa5d
Use generic helpers for converting ArrayBuffer or BufferSource to/from nsTArray in Push API code. r=webidl,saschanaz
Backed out for causing (part of commit message)
Please take a look at these Mochitests failure:
Flags: needinfo?(peterv)
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b42d02ab3f03
Use generic helpers for converting ArrayBuffer or BufferSource to/from nsTArray in Push API code. r=webidl,saschanaz
Comment 7•1 year ago
|
||
Backed out for causing multiple failures, e.g. on browser_aboutdebugging_serviceworker_pushservice_url.js
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f10daac4c929
Use generic helpers for converting ArrayBuffer or BufferSource to/from nsTArray in Push API code. r=webidl,saschanaz
Backed out for causing (part of commit message)
Comment 10•1 year ago
|
||
Pushed by pvanderbeken@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d532fda8cee4
Use generic helpers for converting ArrayBuffer or BufferSource to/from nsTArray in Push API code. r=webidl,saschanaz
| Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(peterv)
Comment 11•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox127:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Updated•1 year ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•