I started multiple Firefox (3.5.11) instances with:
firefox -P aaa -no-remote
firefox -P bbb -no-remote
firefox -P ccc -no-remote
There is NO Firefox instance that was started without the -no-remote.
When I call
firefox "javascript:window.focus()"
what determines which instance will get the call?