Skip to content

Commit

Permalink
extend timeout on wpt tests because linux asan
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D10396

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1503624
gecko-commit: 29ebdc54d6bc82f8e5696f5129feffe2929460f3
gecko-integration-branch: autoland
gecko-reviewers: jgraham
  • Loading branch information
gijsk authored and moz-wptsync-bot committed Nov 1, 2018
1 parent 0468155 commit 16eed42
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<script src="/common/PrefixedPostMessage.js"></script>
<script>
var prefixedMessage = new PrefixedMessageResource();
var max = 50, attempts = 0;
var max = 150, attempts = 0;
function sendCoordinates() {
// Certain windowing systems position windows asynchronously.
// As a result, the window may not be positioned yet when the
// load event fires. To accommodate this, allow waiting up to
// 5 seconds for positioning to take place.
// 15 seconds for positioning to take place.
if (!window.screenX && !window.screenY && ++attempts < max) {
setTimeout(sendCoordinates, 100);
return;
Expand Down

0 comments on commit 16eed42

Please sign in to comment.