Open
Bug 1137431
Opened 10 years ago
Updated 2 years ago
webidl unions with string types could provide a convenience rebind method
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: bkelly, Unassigned)
References
(Blocks 1 open bug)
Details
Right now webidl union types require the following awkward syntax to set them as a string value:
union.SetAsUSVString().Rebind(myString.Data(), myString.Length());
Its also not clear that Rebind() is what you should call since SetAsUSVString() just returns a FakeString&.
This could be made a little easier by supporting:
union.SetAsDependentUSVString(myString);
Comment 1•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•