wpt: Create a base class for Servo process executors (#31115)

This change creates a base class for the Servo process executors, to
handle shared functionality. The only thing that hasn't moved there yet
is the actual process execution, which can happen in a followup change.

The main motivation behind this change is consistently handling
`on_evironment_change` which is used to handle changes to the `prefs`
value stored in `__dir__.ini`. Inherited `prefs` (thos in `__dir__.ini`)
aren't passed when creating tests for reference HTML. This change takes
a similar appraoch to Gecko, which just listens to
`on_environment_change` to note when these prefs change.
This commit is contained in:
Martin Robinson 2024-01-18 17:12:09 +01:00 committed by GitHub
parent c641c589e5
commit fdfeb3ed44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
49 changed files with 95 additions and 233 deletions

View file

@ -481333,7 +481333,7 @@
[]
],
"executorservo.py": [
"3250c74ff4397d229e370a8c317b0e2a269dc9a8",
"dd1ea1a3b36951d3e124447343120ebd107908d4",
[]
],
"executorservodriver.py": [