2006-06-01 David Kilzer <ddkilzer@kilzer.net>
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Jun 2006 11:00:37 +0000 (11:00 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Jun 2006 11:00:37 +0000 (11:00 +0000)
        Reviewed by darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9144
        Test for Bug 8079 (REGRESSION: Redraw from page cache does not show visited links)

        * manual-tests/redraw-page-cache-visited-links.html: Added.
        * manual-tests/resources/redraw-page-cache-visited-links-2.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14664 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/manual-tests/redraw-page-cache-visited-links.html [new file with mode: 0644]
WebCore/manual-tests/resources/redraw-page-cache-visited-links-2.html [new file with mode: 0644]

index 49b4ef2e6f1f7806a65f905ee4c95c8b9bfcddc9..ac2e7931cc449df4c9fc3e77a72f0804f698e2c4 100644 (file)
@@ -1,3 +1,13 @@
+2006-06-01  David Kilzer  <ddkilzer@kilzer.net>
+
+        Reviewed by darin.
+
+        http://bugzilla.opendarwin.org/show_bug.cgi?id=9144
+        Test for Bug 8079 (REGRESSION: Redraw from page cache does not show visited links)
+
+        * manual-tests/redraw-page-cache-visited-links.html: Added.
+        * manual-tests/resources/redraw-page-cache-visited-links-2.html: Added.
+
 2006-05-31  Mitz Pettel  <opendarwin.org@mitzpettel.com>
 
         Reviewed by Hyatt.
diff --git a/WebCore/manual-tests/redraw-page-cache-visited-links.html b/WebCore/manual-tests/redraw-page-cache-visited-links.html
new file mode 100644 (file)
index 0000000..41ccbad
--- /dev/null
@@ -0,0 +1,33 @@
+<html>
+<head>
+<script>
+// Uncomment to make this an automated test
+//if (window.layoutTestController) {
+//    layoutTestController.waitUntilDone();
+//}
+function runTest() {
+// Uncomment to make this an automated test
+//    if (!window.history[99999]) {
+//        if (window.eventSender) {
+//            eventSender.mouseMoveTo(55, 120);
+//            eventSender.mouseDown();
+//            eventSender.mouseUp();
+//        }
+//    }
+//    else {
+//        if (window.layoutTestController) {
+//            layoutTestController.notifyDone();
+//        }
+//    }
+}
+</script>
+</head>
+<body onload="runTest();">
+<div><a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=8079">Bug 8079 REGRESSION: Redraw from page cache does not show visited links</a></div>
+<ol>
+<li>The link in Step 2 should be rendered in an unvisited link color first.
+<li><a href="./resources/redraw-page-cache-visited-links-2.html">Click This Link Once</a><br><br>
+<li value="4">The test passes if the link in Step 2 is rendered in a visited link color after the click.
+</ol>
+</body>
+</html>
diff --git a/WebCore/manual-tests/resources/redraw-page-cache-visited-links-2.html b/WebCore/manual-tests/resources/redraw-page-cache-visited-links-2.html
new file mode 100644 (file)
index 0000000..7e6664b
--- /dev/null
@@ -0,0 +1,18 @@
+<html>
+<head>
+<script>
+function runTest() {
+// Uncomment to make this an automated test
+//    window.history[99999] = 1;
+//    window.history.back();
+}
+</script>
+</head>
+<body onload="runTest();">
+<div><a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=8079">Bug 8079 REGRESSION: Redraw from page cache does not show visited links</a></div>
+<div><br><br></div>
+<ol>
+<li value="3">Click the "Back" button on the browser.
+</ol>
+</body>
+</html>