[Webkit-unassigned] [Bug 206517] New: [WebKitTestRunner] setOpenPanelFiles support in non-local tests
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 20 20:30:16 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=206517
Bug ID: 206517
Summary: [WebKitTestRunner] setOpenPanelFiles support in
non-local tests
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lmoura at igalia.com
`TestRunner::setOpenPanelFiles` always uses `m_testURL' as base URL for the files it will provide to the given form.
While this this works nice for tests using `file://`, this breaks tests using remote URLs, as a resulting URL like `http://127.0.0.1:8000/misc/foo.txt` would fail to be converted to a local file with the default implementation of `WTF::URL::fileSystemPath`. The mac port seems to work around this with CF's implementation of this method.
Example of test failing in webkitgtk due to this:
* http/tests/misc/form-submit-file-cross-site-redirect.html
--
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/20200121/114a8160/attachment-0001.htm>
More information about the webkit-unassigned
mailing list