Source code

Revision control

Copy as Markdown

Other Tools

// Basic test that Endpoint types are declared for protocols, within
// that protocol.
struct Whatever {
Endpoint<PEndpointDeclParent> par;
Endpoint<PEndpointDeclChild> chi;
};
namespace mozilla {
[ChildProc=any]
protocol PEndpointDecl {
child:
async Message(Endpoint<PEndpointDeclParent> aEndpointParent,
Endpoint<PEndpointDeclChild> aEndpointChild);
};
}