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