Closed
Bug 501479
Opened 16 years ago
Closed 15 years ago
Make it possible to write an xpcshell testcase for both client and server processes
Categories
(Core :: IPC, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: benjamin, Assigned: bent.mozilla)
References
Details
In order to prototype and test electrolysis, it would be really nice to be able to write an xpcshell script (or something similar) which could partly operate in the child process.
For example:
child: get value of some pref
child: install pref listener
parent: change pref value
child: verify that pref listener fired
I'm not exactly sure how to do this... we may need to spin the event loop at various point where we currently don't need to in xpcshell (or maybe we can require that the script spins the event loop manually as they do today).
bent volunteered to try this, but if you get stuck feel free to bump it back to me.
Updated•16 years ago
|
QA Contact: ipc
Reporter | ||
Comment 1•15 years ago
|
||
bent, I know you committed something for this... did you document it anywhere? I'm trying to hack it and having some issues figuring out what to do next.
Assignee | ||
Comment 2•15 years ago
|
||
This landed. See ipc/testshell/tests for examples.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•