IE8 hangs on document.write with "this command is not supported"
For certain URLs (e. g. http://www.nyest.hu/iframe/240/10 ), IE8 (and older) never stops loading with the following error message: SCRIPT123: This command is not supported.
The error line number points to a document.wri开发者_Python百科te
command. IE9 and other browser load the page without problems.
Apparently this is because the page is served as XML, and there is no document.write
in an XML document. Other browsers throw some sort of error at the document.write
command too, but they handle the error better and do finish loading the page.
精彩评论