Closed
Bug 1063889
Opened 10 years ago
Closed 10 years ago
Web IDL codegen messes up union members that are sequences of a wrapper type
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
15.48 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
This happens because we use str() in both getUnionMemberName and the typeName() method in IDLUnionType.complete, but for a sequence of wrappers that ends up with something like "Node (Wrapper)Sequence". Which is not helpful.
Assignee | ||
Comment 1•10 years ago
|
||
I wish we had some sort of principled thing here... .name seems closest. __str__ is certainly not it.
Attachment #8485367 -
Flags: review?(khuey)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #8485367 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2f5df573f4a3
Fabrice, let me know if we need this on branches, ok?
Target Milestone: --- → mozilla35
Assignee | ||
Comment 3•10 years ago
|
||
And backed out because windowsx.h exists.
Will reland after a try run on Windows debug.
Comment 4•10 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #2)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/2f5df573f4a3
>
> Fabrice, let me know if we need this on branches, ok?
We don't! thanks for the quick fix!
Assignee | ||
Comment 5•10 years ago
|
||
Let's try this again: https://hg.mozilla.org/integration/mozilla-inbound/rev/f0fbb5c6c672
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
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
•