Closed
Bug 809260
Opened 13 years ago
Closed 13 years ago
Example codegen doesn't have #include for ErrorResult
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: mccr8, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
|
4.68 KB,
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
If you use the example codegen on this webidl:
interface Simple
{
[Throws]
attribute boolean field;
};
...then the resulting file complains about "error: unknown type name 'ErrorResult'" unless you add
#include "mozilla/ErrorResult.h"
to the list of includes at the top of the header file.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #679058 -
Flags: review?(continuation)
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → bzbarsky
Whiteboard: [need review]
| Reporter | ||
Comment 2•13 years ago
|
||
Comment on attachment 679058 [details] [diff] [review]
Example codegen should include ErrorResult.h in the header.
Review of attachment 679058 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks.
Attachment #679058 -
Flags: review?(continuation) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Flags: in-testsuite?
Whiteboard: [need review]
Target Milestone: --- → mozilla19
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite? → in-testsuite+
Resolution: --- → FIXED
| Assignee | ||
Comment 5•13 years ago
|
||
We don't actually have tests for this yet... The test IDL doesn't check that the result compiles, sadly. Or rather it compiles both with and without the rest of the patch.
Flags: in-testsuite+ → in-testsuite?
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•