Ahh ok, thanks for the context. One note, though: it is definitely possible that real sites use JS that loads an about:blank page and then populates it with "real" content. E.g.:
var foo = window.open('about:blank', '', '_blank');
foo.document.write(my_content);
In this case, the document will likely (unless my_content contains a DOCTYPE) be quirks mode.
The other anecdotal case I've heard for quirks mode is typos in the <DOCTYPE> tag, or just forgetting to include it entirely.
Thanks,
Mason