Move user input logic into servoshell (#30238)

* cleanup and move user input logix into servoshell

* fix fmt

* moves test from servoshell file

* move command-line args into servoshell

* remove feature media-gstreamer

* fix fmt

* move user input logic code into lib to make it more testable

* remove opts_matches in fn instead get it from main2

* remove pub and fix import

* add licence in new file

* revert passing Matches, instead pass Option String

* review update, also move sanitize fn to parser file

* fmt fix

* review fix: remove extra line
This commit is contained in:
Atbrakhi 2023-09-06 13:45:56 +02:00 committed by GitHub
parent f137b2f2c3
commit 3df284cf54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 84 additions and 66 deletions

View file

@ -197,6 +197,7 @@ class MachCommands(CommandBase):
test_patterns.append(test)
self_contained_tests = [
"servoshell",
"background_hang_monitor",
"gfx",
"layout_2013",