Because I’ve just wasted a couple of hours on this and I don’t want you to:
If you have a xulrunner application, and you set it up with the directory structure described here, and it doesn’t start, and then you try running it from the command line and it says either:
LSOpenURLsWithRole() failed with error -10810 for the file...
I’m back to programming, rather than theologizing, for the next few weeks. Now I know I haven’t done much for a while, and so when today I wrote a bunch of subroutines which had more than the usual number of “goto” statements in them, I wondered whether I’d just lost my touch. But I don’t think so. I think in both cases, this is a rare “good” use of goto. Read more about Good uses of goto