Page won't load on IE9 unless developer tools are started first

Posted by RoyHB on Server Fault See other posts from Server Fault or by RoyHB
Published on 2012-09-11T02:43:54Z Indexed on 2012/09/11 3:39 UTC
Read the original article Hit count: 240

Filed under:
|

One of my pages (with very extensive javascript) won't load on IE9. It loads ok in Mozilla, Chrome, Safari and Opera.

If IE9 Developer tools are running it loads fine.

If I load IE9, load the developer tools (F12) then kill the developer tools it still loads fine.

If developer tools are running then sometimes (but not always) the first message in the console is:

HTML1113: Document mode restart from Quirks to IE9 Standards 

Doctype is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

If I change doctype to and remove the xmlns nothing changes.

I'm stumped. Any suggestions appreciated.

© Server Fault or respective owner

Related posts about internet-explorer

Related posts about html