This patch tests that document.write() with no parameters does not output any text.
Created attachment 25746 [details] patch for testing document.write
Comment on attachment 25746 [details] patch for testing document.write This test looks fine, but the patch needs to also include a ChangeLog entry. Also, we prefer to have the "newline at end of file" unless there's a reason not to have it. Also, we prefer tests that cover a bit more per test. It's OK to have a test that tests only this one targeted thing, but it's better to cover more per test so our tests cover a lot of different cases and run quickly.
It looks like testing an empty document.write is now covered by: LayoutTests/fast/forms/document-write-empty.html The Git/SVN/Trac History of this file seems to be confused: http://trac.webkit.org/browser/trunk/LayoutTests/fast/forms/document-write-empty.html?rev=58265 The content is essentially identical, and the test's description is verbatim! I don't really know what is best, so I'm closing this as "Works For Me" because there is now a test. I'd mark it a duplicate, but I can't accurately find the original bug.
*** This bug has been marked as a duplicate of bug 32755 ***