YuzuJS/setImmediate

Long wait in IE9 - IE11

vitaly-t opened this issue · 0 comments

Works in all browsers, but in IE9 - IE11 I am getting consistent 1.5s delay on every call.

I even tried to comment out verification for existing implementation, but nothing changed.

What's even more confusing - your demo works fast in those browsers. And I tried the version that's in the demo, also no luck. How is it possible - I don't know.

I'm lost here.

Do you see anything wrong with this test? -

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="../src/set-immediate.js"></script>
    <title>Title</title>
</head>
<body>

</body>

<script type="application/javascript">
    var start = Date.now();
    setImmediate(function(){
        alert(Date.now() - start);
    });
</script>

</html>