Summary: | Add tests for month picker | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Keishi Hattori <keishi> | ||||||||
Component: | Forms | Assignee: | Keishi Hattori <keishi> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | tkent, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 100938 | ||||||||||
Attachments: |
|
Description
Keishi Hattori
2012-11-07 23:46:49 PST
Created attachment 173259 [details]
Patch
Created attachment 173544 [details]
Patch
Comment on attachment 173544 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=173544&action=review > LayoutTests/platform/chromium/fast/forms/calendar-picker/month-picker-key-operations.html:80 > + eventSender.keyDown('\n'); > + shouldBeNull('document.getElementById("mock-page-popup")'); Unfortunately this doesn't work any more because popup close operation is now asynchronous. http://trac.webkit.org/changeset/134180 > LayoutTests/platform/chromium/fast/forms/calendar-picker/month-picker-key-operations.html:102 > + eventSender.keyDown('\x1B'); > + shouldBeNull('document.getElementById("mock-page-popup")'); ditto. > LayoutTests/platform/chromium/fast/forms/calendar-picker/month-picker-mouse-operations.html:44 > + clickElement(popupWindow.document.querySelectorAll(".day:not(.week-column)")[6]); > + shouldBeNull('document.getElementById("mock-page-popup")'); Ditto. > LayoutTests/platform/chromium/fast/forms/calendar-picker/month-picker-with-step.html:31 > + // Close popup > + eventSender.keyDown('\x1B'); > + > + document.getElementById('month').min = "2011-05"; > + document.getElementById('month').value = "2012-02"; > + > + // Reopen popup > + openPicker(document.getElementById('month'), test2); ditto. Created attachment 173569 [details]
Patch
Comment on attachment 173569 [details]
Patch
looks good
Comment on attachment 173569 [details] Patch Clearing flags on attachment: 173569 Committed r134209: <http://trac.webkit.org/changeset/134209> All reviewed patches have been landed. Closing bug. |