Fixes a crazy IE7 bookmark bug. When a user bookmarks a page with a history
token, loading that page from the bookmarks results in a JavaScript error.
It turns out that a phanton version of our compiled iframe (presumably a
cached version) is calling into the startup sequence before we even inject
the proper compiled code iframe. We fix this by simply disallowing calls to
onScriptLoad if the iframe has yet to be injected.

Review by: scottb (desk)



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2923 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed