[webkit-changes] [WebKit/WebKit] 2bbf0f: [Win WebKitTestRunner] TestRunner::setOpenPanelFil...
Fujii Hironori
noreply at github.com
Thu Aug 8 21:57:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2bbf0fb389fb383fd17422ac26a047d705cda179
https://github.com/WebKit/WebKit/commit/2bbf0fb389fb383fd17422ac26a047d705cda179
Author: Fujii Hironori <Hironori.Fujii at sony.com>
Date: 2024-08-08 (Thu, 08 Aug 2024)
Changed paths:
M LayoutTests/platform/win/TestExpectations
M Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
Log Message:
-----------
[Win WebKitTestRunner] TestRunner::setOpenPanelFiles should accept a Windows absolute file path
https://bugs.webkit.org/show_bug.cgi?id=277772
Reviewed by Ross Kirsling.
Windows port failed some layout tests which create a temporary file
and passes the absolute path to testRunner.setOpenPanelFiles.
https://commits.webkit.org/220142@main added the absolute path support
of setOpenPanelFiles by checking a leading forward slash character for
Unix.
Use PathIsRelativeA and UrlCreateFromPathA API for Windows.
Additionally, a temporarily created WKURLRef object of "file://" was
leaked, Use WKRetainPtr<WKURLRef> and adoptWK for it.
* LayoutTests/platform/win/TestExpectations:
* Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::makeOpenPanelURL):
(WTR::TestRunner::setOpenPanelFiles):
Canonical link: https://commits.webkit.org/282032@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list