mirror of
https://github.com/servo/servo
synced 2026-05-03 04:42:17 +02:00
10 lines
209 B
JavaScript
10 lines
209 B
JavaScript
function takeScreenshot() {
|
|
document.documentElement.classList.remove("reftest-wait");
|
|
}
|
|
|
|
function takeScreenshotDelayed(timeout) {
|
|
setTimeout(function() {
|
|
takeScreenshot();
|
|
}, timeout);
|
|
}
|