WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch
138470.patch (text/plain), 2.41 KB, created by
Michael Saboff
on 2014-11-10 15:15:46 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Michael Saboff
Created:
2014-11-10 15:15:46 PST
Size:
2.41 KB
patch
obsolete
>Index: LayoutTests/ChangeLog >=================================================================== >--- LayoutTests/ChangeLog (revision 175833) >+++ LayoutTests/ChangeLog (working copy) >@@ -1,3 +1,16 @@ >+2014-11-10 Michael Saboff <msaboff@apple.com> >+ >+ Add test for fix of REGRESSION (r174985-174986): Site display disappears >+ https://bugs.webkit.org/show_bug.cgi?id=138470 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ 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. >+ > 2014-11-04 Jer Noble <jer.noble@apple.com> > > REGRESSION(r174823): Several tests fail due to canplaythrough firing before tracks are available >Index: LayoutTests/js/dom/document-write-functions-cached-expected.txt >=================================================================== >--- LayoutTests/js/dom/document-write-functions-cached-expected.txt (revision 0) >+++ LayoutTests/js/dom/document-write-functions-cached-expected.txt (working copy) >@@ -0,0 +1,8 @@ >+This page tests that the document functions write() and writeln() are cached. If the test passes, you'll see a PASS messages below. >+ >+PASS: document.write is cached. >+PASS: document.write is cached. >+PASS successfullyParsed is true >+ >+TEST COMPLETE >+ >Index: LayoutTests/js/dom/document-write-functions-cached.html >=================================================================== >--- LayoutTests/js/dom/document-write-functions-cached.html (revision 0) >+++ LayoutTests/js/dom/document-write-functions-cached.html (working copy) >@@ -0,0 +1,25 @@ >+<!DOCTYPE HTML> >+<html> >+<head> >+<script src="../../resources/js-test-pre.js"></script> >+</head> >+<body> >+<p>This page tests that the document functions write() and writeln() are cached. If the test passes, you'll see a PASS messages below.</p> >+<pre id="console"></pre> >+<script> >+if (document.write === document.write) >+ debug("PASS: document.write is cached."); >+else >+ debug("FAIL: document.write is not cached, but should be."); >+ >+if (document.writeln === document.writeln) >+ debug("PASS: document.write is cached."); >+else >+ debug("FAIL: document.write is not cached, but should be."); >+ >+if (this.testRunner) >+ testRunner.dumpAsText(); >+</script> >+<script src="../../resources/js-test-post.js"></script> >+</body> >+</html>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ggaren
:
review+
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 138470
: 241312