mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
Bug 1787787. Fix intermittent in layout/base/crashtests/1747277-1.html. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D157097
This commit is contained in:
parent
83b568a1f5
commit
249d276f02
@ -1,9 +1,12 @@
|
||||
<html class="reftest-wait">
|
||||
<script>
|
||||
window.requestIdleCallback(() => {
|
||||
setTimeout(window.close, 500);
|
||||
setTimeout(() => { document.documentElement.removeAttribute('class'); }, 501);
|
||||
})
|
||||
setTimeout(() => {
|
||||
let docElement = document.documentElement;
|
||||
window.close();
|
||||
docElement.removeAttribute('class');
|
||||
}, 500);
|
||||
}, { timeout: 1000 });
|
||||
</script>
|
||||
<script>
|
||||
function go() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user