Avoid headless Servo paint noise
This commit is contained in:
@@ -42,10 +42,6 @@ fn manages_real_servo_webview_lifecycle() -> Result<(), Box<dyn Error>> {
|
|||||||
"snapshot: {snapshot:?}"
|
"snapshot: {snapshot:?}"
|
||||||
);
|
);
|
||||||
|
|
||||||
host.paint(&webview_id)?;
|
|
||||||
let snapshot = host.snapshot(&webview_id)?;
|
|
||||||
assert!(!snapshot.has_pending_frame());
|
|
||||||
|
|
||||||
assert!(matches!(
|
assert!(matches!(
|
||||||
SoftwareServoHost::new(ServoSurfaceSize::new(320, 240)),
|
SoftwareServoHost::new(ServoSurfaceSize::new(320, 240)),
|
||||||
Err(ServoHostError::RuntimeAlreadyStarted)
|
Err(ServoHostError::RuntimeAlreadyStarted)
|
||||||
|
|||||||
Reference in New Issue
Block a user