[Webkit-unassigned] [Bug 188514] WebDriver: handle elements of type file in send keys command
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 2 16:21:28 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=188514
Brian Burg <bburg at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #384403|review? |review+
Flags| |
--- Comment #11 from Brian Burg <bburg at apple.com> ---
Comment on attachment 384403
--> https://bugs.webkit.org/attachment.cgi?id=384403
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=384403&action=review
r=me
> Source/WebDriver/Session.cpp:1569
> +Session::IsFileUpload Session::parseElementIsFileUploadResult(const RefPtr<JSON::Value>& resultValue)
I would have encoded it as Optional<FileUploadType> and have FileUploadType be one of {Single, Multiple}.
> Source/WebKit/ChangeLog:9
> + differently, so I'm keeping both to not break safari driver. The new one simply sends the file list ot the web
Typo: ot -> to, safari driver -> safaridriver.
> Source/WebKit/ChangeLog:11
> + panel, intercept and complete the open panel request and send a dismiss open panel event to the driver.
I don't recall offhand why I didn't pursue an approach like yours. Perhaps it was related to sandboxing not being able to open the file without going through the file chooser path (which grants a sandbox exception for the selected files)?
--
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/20191203/b323ef2b/attachment-0001.htm>
More information about the webkit-unassigned
mailing list