[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:39:18 PDT 2009


------- Comment #11 from eric at webkit.org  2009-03-18 01:39 PDT -------
(In reply to comment #10)
> +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.

Interesting.  I'll fix all 3 of these tomorrow and upload an even better patch!
 (This one still stands for review though.)

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