Add a test to check a step attribute works for a calendar picker
Created attachment 167934 [details] Patch
Attachment 167934 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/plat..." exit_code: 1 LayoutTests/platform/chromium/TestExpectations:923: Did not find a test name. [test/expectations] [5] LayoutTests/platform/chromium/TestExpectations:924: Did not find a test name. [test/expectations] [5] LayoutTests/platform/chromium/TestExpectations:925: Did not find a test name. [test/expectations] [5] Total errors found: 3 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 167939 [details] Patch 2 Fix a typo. Style errors are expected.
Attachment 167939 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/plat..." exit_code: 1 LayoutTests/platform/chromium/TestExpectations:923: Did not find a test name. [test/expectations] [5] LayoutTests/platform/chromium/TestExpectations:924: Did not find a test name. [test/expectations] [5] LayoutTests/platform/chromium/TestExpectations:925: Did not find a test name. [test/expectations] [5] Total errors found: 3 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 167939 [details] Patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=167939&action=review Just have one comment. Looks good except for it. Please fix the issue before landing. > LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step.html:9 > + setTimeout(function() { testRunner.notifyDone(); }, 0); I think this line can be simplified to: setTimeout(testRunner.notifyDone, 0);
Comment on attachment 167939 [details] Patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=167939&action=review >> LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step.html:9 >> + setTimeout(function() { testRunner.notifyDone(); }, 0); > > I think this line can be simplified to: > setTimeout(testRunner.notifyDone, 0); Unfortunately it doesn't work. Probably because testRunner is an NPAPI plugin?
Committed r130868: <http://trac.webkit.org/changeset/130868>
Comment on attachment 167939 [details] Patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=167939&action=review >>> LayoutTests/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step.html:9 >>> + setTimeout(function() { testRunner.notifyDone(); }, 0); >> >> I think this line can be simplified to: >> setTimeout(testRunner.notifyDone, 0); > > Unfortunately it doesn't work. Probably because testRunner is an NPAPI plugin? That's interesting.