document.compatMode is not supported.
not supported
This page is in Strict Mode. See also the test page in Quirks mode.