Update web-platform-tests to revision cd44958a002b1ad494168e0290554644de84526e

This commit is contained in:
WPT Sync Bot 2018-11-07 21:06:07 -05:00
parent 2ed23ce4c9
commit 4443426308
103 changed files with 1740 additions and 1138 deletions

View file

@ -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;