Add test for fix of REGRESSION (r174985-174986): Site display disappears
https://bugs.webkit.org/show_bug.cgi?id=138470

Reviewed by Geoffrey Garen.

This checks that document.write() and document.writeln() are cached and the same instance
is always returned.

* js/dom/document-write-functions-cached-expected.txt: Added.
* js/dom/document-write-functions-cached.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3 files changed