mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
libservo: Allow running more than one Servo test in a run (#36532)
A `Servo` instance can only be constructed once per program execution and cannot be passed between threads. This change adds a special thread to run `Servo` unit tests. This will allow creating suites of `WebView` unit tests. Testing: This change includes a new test. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
9aa09d73b5
commit
6bad65a5a1
4 changed files with 92 additions and 14 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -4306,6 +4306,7 @@ dependencies = [
|
|||
name = "libservo"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"arboard",
|
||||
"background_hang_monitor",
|
||||
"base",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue