Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b59ef2092d47b7aeefdfd77ea09058ac6f18f5a7
      
https://github.com/WebKit/WebKit/commit/b59ef2092d47b7aeefdfd77ea09058ac6f18f5a7
  Author: Brianna Fan <[email protected]>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M Tools/Scripts/libraries/webkitcorepy/webkitcorepy/mocks/popen.py
    M 
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/mocks/subprocess_unittest.py

  Log Message:
  -----------
  [webkitcorepy] Subprocess mock fails with TypeError for PathLike arguments
https://bugs.webkit.org/show_bug.cgi?id=288669
rdar://145703371

Reviewed by Sam Sneddon and Jonathan Bedard.

We already check that arguments are strings, bytes, or PathLike.
We should be able to run commands with PathLike arguments so we should convert
all arguments to strings before moving forward.

* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/mocks/popen.py:
(Popen.__init__):
* 
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/mocks/subprocess_unittest.py:
(MockSubprocess.test_path_args):

Canonical link: https://commits.webkit.org/291207@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