Closed
Bug 812067
Opened 13 years ago
Closed 13 years ago
Error while generating header and xpt files using pyxpidl with Firefox 17 SDK
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: srinivasraokv, Unassigned)
Details
(Keywords: regression)
Attachments
(1 file)
|
990 bytes,
application/zip
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11
Steps to reproduce:
I have a test IDL file(attached the same),I need to generate Header and XPT files from same. I use pyxpidl python scripy as suggested but I am getting error mentioned below in IDL file.
xpidl.IDLError: error: invalid syntax, C:\testIConnect.idl line 5:28
NS_IMETHOD CreateCoonection(nsISupports* aOuter, nsString aBstr, nsIVariant* success);
Actual results:
Following error occurs
xpidl.IDLError: error: invalid syntax, C:\testIConnect.idl line 5:28
NS_IMETHOD CreateCoonection(nsISupports* aOuter, nsString aBstr, nsIVariant* suc
cess);
Expected results:
I had done the same before with Firefox 8 Gecko SDK using XPIDL, I never got the mentioned error, ideally I shoud get header and xpt files as output.
Updated•13 years ago
|
Updated•13 years ago
|
Attachment #681848 -
Attachment mime type: text/plain → application/zip
Comment 1•13 years ago
|
||
That certainly doesn't look like valid IDL to me, even if XPIDL was accepting it...
Hi Boris Zbarsky,
Could you please let me know what is wrong with the IDL file, any pointers will be really helpful.
I had just given test IDL file here.
I have a firefox extension which interacts with DOM, for the same I have IDL file and I generate Header and XPT files. I was using this IDL file from Firefox 3 version onwards but now when I build my component/native extension with Mozila gecko SDK 17, I get error though the same Header and XPT files worked with Versions 10 and below. Please let me know if I am missing something here.
Comment 3•13 years ago
|
||
Pretty much everything is wrong. It's just not using IDL syntax at all; it's using C++ syntax.
Comment 4•13 years ago
|
||
Marking as resolved invalid per the above comments.
Srini, please try to find the help you need on support or irc (Boris is available there too, as visible in his username).
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•