I periodically have sense-of-humour failures at work when such-and-such a piece of software responds to some utterly trivial error condition with a stack dump.

There's no excuse for it. It's just lazy programming.

Browsers are no different. There's a standard, and there's ways of dealing with unknown input.

If my browser crashes, it's Apple's fault, not the page designer's.