Closed Bug 1682120 Opened 5 years ago Closed 5 years ago

Some minor fixes to UTF8String handling

Categories

(Core :: DOM: Bindings (WebIDL), defect)

defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

No description provided.

Otherwise stuff like:

[TreatNullAs=EmptyString] UTF8String priority = ""

Generates bogus code because it thinks that the literal string is a
regular DOMString.

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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: