Bug 218832 - [webkitcorepy] Provide mock Subprocess fallback
Summary: [webkitcorepy] Provide mock Subprocess fallback
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-11-11 17:07 PST by Jonathan Bedard
Modified: 2020-11-11 17:12 PST (History)
1 user (show)

See Also:


Attachments
Patch (21.55 KB, patch)
2020-11-11 17:12 PST, Jonathan Bedard
jbedard: review?
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Bedard 2020-11-11 17:07:58 PST
By default, mocking Subprocess from webkticorepy will intercept all subprocess calls. When working on https://bugs.webkit.org/show_bug.cgi?id=218407, we needed a way to fallback to the actual Popen call in some cases. The change in https://bugs.webkit.org/show_bug.cgi?id=218407 will not be landing, but the Popen fallback is still a good idea.
Comment 1 Radar WebKit Bug Importer 2020-11-11 17:08:22 PST
<rdar://problem/71306029>
Comment 2 Jonathan Bedard 2020-11-11 17:12:08 PST
Created attachment 413890 [details]
Patch