Re: xpcshell tests for electrolysis
Jason Duell <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <5def3383-8e96-4a1a-93b5-8008f8e7a96b@y10g2000prg.googlegroups.com> |
On Sep 3, 5:58 pm, Jonathan Griffin <[email protected]> wrote: > Last week there was some discussion about testing of electrolysis. One > of the ideas was to use xpcshell to test some things across processes, e.g., > > 1. set a preference in chrome using nsIPrefMan (or whatever) > 2. send an ipcshell command to the child process that reads the > preference and returns its value to the chrome process > 3. in the chrome process, assert that the value is correct > > This kind of test is now possible, thanks to BenT's work in xpcshell. > > Now I'm looking for ideas for other kinds of electrolysis tests that > would be interesting to perform in this context. Any suggestions? > > Jonathan I'm planning to add xpcshell tests for the necko e10s work as I implement it. Jason