mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
9 lines
209 B
JavaScript
9 lines
209 B
JavaScript
function takeScreenshot() {
|
|
document.documentElement.classList.remove("reftest-wait");
|
|
}
|
|
|
|
function takeScreenshotDelayed(timeout) {
|
|
setTimeout(function() {
|
|
takeScreenshot();
|
|
}, timeout);
|
|
}
|