Dump icon change events in the icon-url-property test.
authorlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Mar 2013 03:00:29 +0000 (03:00 +0000)
committerlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Mar 2013 03:00:29 +0000 (03:00 +0000)
https://bugs.webkit.org/show_bug.cgi?id=112647

Reviewed by Jochen Eisinger.

This allows us to check that the didChangeIcon callback
is being done when it should be done. This test stopped
testing that in r122806 but it did before that.

* fast/dom/icon-url-property-expected.txt:
* fast/dom/icon-url-property.html:

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

LayoutTests/ChangeLog
LayoutTests/fast/dom/icon-url-property-expected.txt
LayoutTests/fast/dom/icon-url-property.html

index 3ecd9db..cbd8538 100644 (file)
@@ -1,3 +1,17 @@
+2013-03-18  David Levin  <levin@chromium.org>
+
+        Dump icon change events in the icon-url-property test.
+        https://bugs.webkit.org/show_bug.cgi?id=112647
+
+        Reviewed by Jochen Eisinger.
+
+        This allows us to check that the didChangeIcon callback
+        is being done when it should be done. This test stopped
+        testing that in r122806 but it did before that.
+
+        * fast/dom/icon-url-property-expected.txt:
+        * fast/dom/icon-url-property.html:
+
 2013-03-18  Kenneth Russell  <kbr@google.com>
 
         Unreviewed. Generalized suppression for flaky
index 0c0ffce..55f4e4d 100644 (file)
@@ -1,3 +1,4 @@
+main frame - didChangeIcons
 Original iconURL is: http://test.com/oldfavicon.ico
 Setting new icon URL to: http://test.com/newfavicon.ico
 New iconURL is: http://test.com/newfavicon.ico
index 2d1c012..b7efcab 100644 (file)
@@ -29,8 +29,10 @@ function setFavIcon(iconURL) {
 }
 
 function runTests() {
-    if (window.testRunner)
+    if (window.testRunner) {
         testRunner.dumpAsText();
+        testRunner.dumpIconChanges();
+    }
 
     iconURL = document.getElementsByTagName("head")[0].getElementsByTagName("link")[0].href;
     debugOutput ('Original iconURL is: ' + iconURL);