NEW 21869
Some .idl files generate code that is never built
https://bugs.webkit.org/show_bug.cgi?id=21869
Summary Some .idl files generate code that is never built
Greg Bolsinga
Reported 2008-10-24 14:26:13 PDT
SQLTransactionCallback.idl, SQLTransactionErrorCallback.idl, PositionCallback.idl, PositionErrorCallback.idl are a few of the examples David Kilzer and I noticed today. The reason is that they have JSCustom* items and the handleEvent() method in these needs a bool& parameter. Adding raises(DOMException) does not address this issue.
Attachments
David Kilzer (:ddkilzer)
Comment 1 2008-10-24 14:29:44 PDT
Basically, there should be a way to tell the generate-bindings.pl script (via CodeGeneratorJS.pm) that we don't want to create JS*.[cpp|h] files for these *.idl files. Not sure if there is an existing "Custom" attribute that's missing, or if a new one needs to be added.
David Kilzer (:ddkilzer)
Comment 2 2008-10-24 14:41:34 PDT
The GTK build may be broken until this is resolved: DerivedSources/JSPositionCallback.cpp: In function 'JSC::JSValue* WebCore::jsPositionCallbackPrototypeFunctionHandleEvent(JSC::ExecState*, JSC::JSObject*, JSC::JSValue*, const JSC::ArgList&)': DerivedSources/JSPositionCallback.cpp:145: error: no matching function for call to 'WebCore::PositionCallback::handleEvent(WebCore::Geoposition*&)' /home/oe/webkit/source/WebKit-BuildSlave/trunk-gtk-linux-release/build/WebCore/page/PositionCallback.h:39: note: candidates are: virtual void WebCore::PositionCallback::handleEvent(WebCore::Geoposition*, bool&) http://build.webkit.org/builders/trunk-gtk-linux-release/builds/1416
David Kilzer (:ddkilzer)
Comment 3 2008-10-24 14:48:37 PDT
(In reply to comment #2) > The GTK build may be broken until this is resolved: Scratch that. Fix coming (some *.idl shouldn't be included in GNUmakefile.am).
David Kilzer (:ddkilzer)
Comment 4 2008-10-24 14:54:47 PDT
(In reply to comment #3) > (In reply to comment #2) > > The GTK build may be broken until this is resolved: > Scratch that. Fix coming (some *.idl shouldn't be included in GNUmakefile.am). See: Bug 21475 Comment #27
David Kilzer (:ddkilzer)
Comment 5 2008-10-25 04:41:35 PDT
See Bug 15406 for some shell scripts to find generated files that aren't included in Xcode projects.
Note You need to log in before you can comment on or make changes to this bug.