[Webkit-unassigned] [Bug 185260] Some fields are not identified as [WKWebProcessPlugInNodeHandle isTextField]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 8 14:14:40 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=185260
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #339828|review? |review+
Flags| |
--- Comment #13 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 339828
--> https://bugs.webkit.org/attachment.cgi?id=339828
Proposed fix + API test
View in context: https://bugs.webkit.org/attachment.cgi?id=339828&action=review
> Tools/TestWebKitAPI/Tests/WebKitCocoa/IsTextField.mm:57
> +
Nit: trailing whitespace.
> Tools/TestWebKitAPI/Tests/WebKitCocoa/IsTextField.mm:66
> +
Ditto.
> Tools/TestWebKitAPI/Tests/WebKitCocoa/IsTextField.mm:68
> + BOOL results = YES;
> + results &= [self isTextFieldForHTMLInputType:@"date" document:document jsContext:jsContext];
This would make it impossible to tell which test case had failed when they do.
Please generate an assert for each test case instead.
Alternatively, you can use WKBundlePostSynchronousMessage.
> Tools/TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:628
> +TEST(WebKit, IsTextField)
This is rather a generic name. How about InjectedBundleNodeHandleIsTextField?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180508/41cdb140/attachment.html>
More information about the webkit-unassigned
mailing list