Closed
Bug 1274711
Opened 8 years ago
Closed 8 years ago
Using IPCStream in an ipdl file requires including PFileDescriptorSet and PSendStream
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
DUPLICATE
of bug 792908
Tracking | Status | |
---|---|---|
firefox49 | --- | affected |
People
(Reporter: mccr8, Unassigned)
Details
I added an argument of IPCStream to an IPDL file (uriloader/exthandler/PExternalHelperApp.ipdl), and also "include IPCStream". However, the resulting generated file did not compile until I also added "include protocol PFileDescriptorSet;" and "include protocol PSendStream;". It would be nice if I didn't have to include these, or at least the documentation for IPCStream should mention them.
Reporter | ||
Comment 1•8 years ago
|
||
Semi-relatedly, the documention example for AutoIPCStream should indicate that it is really mozilla::ipc::AutoIPCStream, or have a "using namespace mozilla::ipc;" in there somewhere.
Comment 2•8 years ago
|
||
This is a geneeal ipdl issue. I can find the bug when I get back to my computer.
Reporter | ||
Comment 3•8 years ago
|
||
Yeah, I wasn't sure if this was something you could fix, but you should at least add documentation about what needs to be included. :)
Comment 4•8 years ago
|
||
ni(bkelly) for comment 3.
Flags: needinfo?(bkelly)
Whiteboard: btpp-followup-2016-07-05
Comment 5•8 years ago
|
||
Someone should just fix bug 792908. I think trying to document everywhere this is broken is going to be self defeating every time someone adds a new protocol somewhere.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(bkelly)
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Whiteboard: btpp-followup-2016-07-05
You need to log in
before you can comment on or make changes to this bug.
Description
•