Title: [123994] trunk/LayoutTests
Revision
123994
Author
[email protected]
Date
2012-07-29 22:17:30 -0700 (Sun, 29 Jul 2012)

Log Message

REGRESSION(r123993): fast/forms/date/calendar-picker-type-change-onclick.html fails

* fast/forms/date/calendar-picker-appearance-expected.txt:
* fast/forms/date/calendar-picker-appearance.html:
Clear webkitTransitionEnd event handler before notifyDone().

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (123993 => 123994)


--- trunk/LayoutTests/ChangeLog	2012-07-30 04:19:10 UTC (rev 123993)
+++ trunk/LayoutTests/ChangeLog	2012-07-30 05:17:30 UTC (rev 123994)
@@ -1,5 +1,13 @@
 2012-07-29  Kent Tamura  <[email protected]>
 
+        REGRESSION(r123993): fast/forms/date/calendar-picker-type-change-onclick.html fails
+
+        * fast/forms/date/calendar-picker-appearance-expected.txt:
+        * fast/forms/date/calendar-picker-appearance.html:
+        Clear webkitTransitionEnd event handler before notifyDone().
+
+2012-07-29  Kent Tamura  <[email protected]>
+
         Fix opacity issue of fast/forms/date/calendar-picker-appearance.html
         https://bugs.webkit.org/show_bug.cgi?id=92605
 

Modified: trunk/LayoutTests/fast/forms/date/calendar-picker-appearance-expected.txt (123993 => 123994)


--- trunk/LayoutTests/fast/forms/date/calendar-picker-appearance-expected.txt	2012-07-30 04:19:10 UTC (rev 123993)
+++ trunk/LayoutTests/fast/forms/date/calendar-picker-appearance-expected.txt	2012-07-30 05:17:30 UTC (rev 123994)
@@ -1,3 +1,3 @@
-CONSOLE MESSAGE: line 11: Check if window.pagePopupController exists for a page-popup window.
-CONSOLE MESSAGE: line 20: [object PagePopupController]
+CONSOLE MESSAGE: line 17: Check if window.pagePopupController exists for a page-popup window.
+CONSOLE MESSAGE: line 12: [object PagePopupController]
  

Modified: trunk/LayoutTests/fast/forms/date/calendar-picker-appearance.html (123993 => 123994)


--- trunk/LayoutTests/fast/forms/date/calendar-picker-appearance.html	2012-07-30 04:19:10 UTC (rev 123993)
+++ trunk/LayoutTests/fast/forms/date/calendar-picker-appearance.html	2012-07-30 05:17:30 UTC (rev 123994)
@@ -8,6 +8,12 @@
     input.dispatchEvent(event);
 }
 
+function finishTest() {
+    console.log(pickerWindow.pagePopupController);
+    pickerWindow.document.getElementById('main').removeEventListener('webkitTransitionEnd', finishTest);
+    testRunner.notifyDone();
+}
+
 console.log('Check if window.pagePopupController exists for a page-popup window.');
 testRunner.dumpAsText(true);
 testRunner.waitUntilDone();
@@ -16,10 +22,7 @@
 
 sendKey(document.getElementById('date'), 'Down');
 var pickerWindow = document.getElementById('mock-page-popup').contentWindow;
-pickerWindow.document.getElementById('main').addEventListener('webkitTransitionEnd', function() {
-    console.log(pickerWindow.pagePopupController);
-    testRunner.notifyDone();
-}, false);
+pickerWindow.document.getElementById('main').addEventListener('webkitTransitionEnd', finishTest, false);
 </script>
 </body>
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to