Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2bbf0fb389fb383fd17422ac26a047d705cda179
      
https://github.com/WebKit/WebKit/commit/2bbf0fb389fb383fd17422ac26a047d705cda179
  Author: Fujii Hironori <[email protected]>
  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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to