Closed
Bug 841444
Opened 12 years ago
Closed 12 years ago
callback interface with method returning external class (?) causes bogus include
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INVALID
People
(Reporter: mccr8, Unassigned)
References
(Blocks 1 open bug)
Details
In a .webidl file that just includes this:
callback interface Foo {
TestInterface receiveSelf();
};
The resulting .cpp file fails to build with this error:
/Users/amccreight/mz/cent/obj-dbg/dom/bindings/JSImplBinding.cpp:6:10: fatal error:
'TestBindingHeader.h' file not found
#include "TestBindingHeader.h"
If |TestInterface| is replaced with |long|, then the resulting file compiles just fine.
^
1 error generated.
Comment 1•12 years ago
|
||
TestInterface is not an external interface.
Where is this .webidl file located?
Reporter | ||
Comment 2•12 years ago
|
||
This is just because TestInterface is listed in Bindings.conf as having that header file, and the .webidl file isn't with the test stuff. Oops. When I change TestInterface to TestInterfaceFooFoo, then it throws an exception while generating the file:
WebIDL.WebIDLError: error: Unresolved type '<unresolved scope>::TestInterfaceFooFoo'., JSImpl.webidl line 8:2
TestInterfaceFooFoo receiveSelf();
^
Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Assignee | ||
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
•