Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f8964b7a8d6c1c2af172d6eb86ccbd12d42a483f
      
https://github.com/WebKit/WebKit/commit/f8964b7a8d6c1c2af172d6eb86ccbd12d42a483f
  Author: Jonathan Bedard <[email protected]>
  Date:   2025-11-18 (Tue, 18 Nov 2025)

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

  Log Message:
  -----------
  [webkitcorepy] Fix stdin in mock popen
https://bugs.webkit.org/show_bug.cgi?id=302671
rdar://164920281

Reviewed by Elliott Williams and Ryan Haddad.

* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/mocks/popen.py:
(Popen.__init__): self.stdin should be set as io.TextIOWrapper if text=True.
(Popen.communicate): Pass input directly to self.stdin, if that object is a 
io.TextIOWrapper.
* 
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/subprocess_utils_unittest.py:
(SubprocessUtils.test_input):
(SubprocessUtils.test_input_text):

Canonical link: https://commits.webkit.org/303203@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to