So while working on my first web app for the iPhone (should be released here in a couple days) I found a rather annoying security bug in the way the iPhone handles javascript prompts. If you set an infinite loop to call the prompt function, the iPhone continuously pops up prompts, which blocks your ability to navigate to another web page in any way, because Apple has made no other controls available while the prompt is showing.
The only way out? Restart the iPhone.
The only way out? Restart the iPhone.