зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1123979 - Make the crashtest for bug 769303 more reliable by using reftest-wait correctly. r=mats
Once we do this, we'll be able to get a better sense of how common this intermittent failure is and where it occurs.
This commit is contained in:
Родитель
73cf6b02a1
Коммит
3ad133576f
|
@ -1,3 +1,4 @@
|
|||
<html class="reftest-wait">
|
||||
<style>
|
||||
p::first-letter {
|
||||
float: left;
|
||||
|
@ -21,8 +22,12 @@ setTimeout("CFcrash()", 21);
|
|||
document.addEventListener("DOMContentLoaded", initCF, false);
|
||||
window.onload = initCF;
|
||||
|
||||
var gCallCount = 0;
|
||||
function CFcrash() {
|
||||
test3.appendChild(document.createTextNode(" bBCV5.3kvwoaU O8k l i!4c`Ei;N-#/ Qg QBZi$8A [8xlL#cN U4l !%lP S% Z9[H } {2Jk A00F8 TjQQ1KHx zf k]F-G ,%lz8?@ 2ZB!-"));
|
||||
window.scrollBy(-463, -480);
|
||||
if (++gCallCount == 2) {
|
||||
document.documentElement.classList.remove("reftest-wait");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Загрузка…
Ссылка в новой задаче