Closed
Bug 1682120
Opened 5 years ago
Closed 5 years ago
Some minor fixes to UTF8String handling
Categories
(Core :: DOM: Bindings (WebIDL), defect)
Core
DOM: Bindings (WebIDL)
Tracking
()
RESOLVED
FIXED
86 Branch
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•5 years ago
|
||
Otherwise stuff like:
[TreatNullAs=EmptyString] UTF8String priority = ""
Generates bogus code because it thinks that the literal string is a
regular DOMString.
Assignee | ||
Comment 2•5 years ago
|
||
UTF8String is an implementation detail, it behaves the same as USVString, so no
reason it shouldn't be allowed.
Depends on D99587
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/150c1162afb0
Coerce strings to utf8 strings before handling treatNullAs. r=edgar
https://hg.mozilla.org/integration/autoland/rev/fb646669b565
Allow having UTF8String stringifiers. r=edgar
![]() |
||
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/150c1162afb0
https://hg.mozilla.org/mozilla-central/rev/fb646669b565
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•