Summary: | [webkitcorepy] Add shared terminal input code | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jonathan Bedard <jbedard> | ||||||||||||||
Component: | Tools / Tests | Assignee: | Jonathan Bedard <jbedard> | ||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||
Severity: | Normal | CC: | aakash_jain, dewei_zhu, ews-watchlist, glenn, slewis, webkit-bug-importer | ||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=225985 | ||||||||||||||||
Attachments: |
|
Description
Jonathan Bedard
2021-05-20 09:14:28 PDT
Created attachment 429178 [details]
Patch
Created attachment 429362 [details]
Patch
Created attachment 431344 [details]
Patch
Created attachment 434461 [details]
Patch
Created attachment 434873 [details]
Patch
Comment on attachment 434461 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=434461&action=review r=me > Tools/Scripts/libraries/webkitcorepy/webkitcorepy/terminal.py:32 > + def choose(cls, prompt, options=None, default=None, strict=False, numbered=False): Is this used any where other than unit tests? (In reply to dewei_zhu from comment #7) > Comment on attachment 434461 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=434461&action=review > > r=me > > > Tools/Scripts/libraries/webkitcorepy/webkitcorepy/terminal.py:32 > > + def choose(cls, prompt, options=None, default=None, strict=False, numbered=False): > > Is this used any where other than unit tests? Not yet, but https://bugs.webkit.org/show_bug.cgi?id=225985 uses it. Patch for that change is up, needs some clean up before review, though. Comment on attachment 434461 [details]
Patch
Need to bump webkitcorepy version.
Created attachment 434911 [details]
Patch for landing
Committed r280640 (240253@main): <https://commits.webkit.org/240253@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 434911 [details]. |