[Webkit-unassigned] [Bug 24336] document.write() should be able to make a document into strict mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 18 01:35:12 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24336





------- Comment #10 from ap at webkit.org  2009-03-18 01:35 PDT -------
+debug("any document.write calls after <html> has been encountered cannot
change the doctype")

<html> didn't make it into results, should be <html>.

+        Remove an implicit write of "<html>" on the first document.write call

Will the document have a document element after document.write("")? Should it?

+iframe.contentWindow.document.write("<html>");
+shouldBeEqualToString("iframe.contentWindow.document.compatMode",
"BackCompat");

I think that it would be nice to check the resulting DOM in the tests, not just
document.compatMode.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list