Closed
Bug 928953
Opened 11 years ago
Closed 11 years ago
WebIDL headers should include the file for enums
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: dzbarsky, Assigned: dzbarsky)
References
Details
Attachments
(1 file, 1 obsolete file)
1.23 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
And a typo fix along the way. Although clearly that branch was never being hit, so maybe we don't actually need it?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dzbarsky
Assignee | ||
Updated•11 years ago
|
Attachment #819750 -
Attachment is patch: true
Attachment #819750 -
Attachment mime type: text/x-patch → text/plain
Attachment #819750 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 1•11 years ago
|
||
We need this to handle the following WebIDL (because OwningSpacingModeOrDouble needs to call sizeof on SpacingMode):
enum SpacingMode { "distribute", "align" };
typedef (SpacingMode or double) EasingTimesInput;
interface Timing {
...
EasingTimesInput getEasingTimes();
};
Assignee | ||
Updated•11 years ago
|
Blocks: web-animations
Comment 2•11 years ago
|
||
Comment on attachment 819750 [details] [diff] [review]
webidl-patch
UnionTypes.h shouldn't need PrimitiveConversions.h, yeah. Just nuke that branch.
Testing for IDLWrapperType is over-eager, I think... It'll over-include for interfaces, I think. Why not just test for f.isEnum() if that's what we want?
Attachment #819750 -
Flags: review?(bzbarsky) → review-
Assignee | ||
Comment 3•11 years ago
|
||
Yeah, f.isEnum() is enough.
Attachment #819750 -
Attachment is obsolete: true
Attachment #8350452 -
Flags: review?(bzbarsky)
Comment 4•11 years ago
|
||
Comment on attachment 8350452 [details] [diff] [review]
patch
I swear someone else ran into this a few days ago...
Anyway, r=me
Attachment #8350452 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
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
•