Closed
Bug 745899
Opened 13 years ago
Closed 13 years ago
Add support in Nullable for sanely dealing with |sequence<T>?| types
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
(deleted),
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
If sequence<T> becomes nsTArray<T>, then sequence<T>? should become
Nullable< nsTArray<T> >. But then setting it to a non-null value involves an array copy, with the existing SetValue() API.
The proposal is to add a SetValue (or PrepareToSetValue?) that returns a T& that can then be written to.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #615434 -
Flags: review?(peterv)
Assignee | ||
Updated•13 years ago
|
Whiteboard: [need review]
Updated•13 years ago
|
Attachment #615434 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Flags: in-testsuite-
Whiteboard: [need review] → [need birch merge]
Target Milestone: --- → mozilla15
Comment 3•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [need birch merge]
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•