https://github.com/web-platform-tests/wpt
Raw File
Tip revision: ad6018d3a07c0903d6b00c72cd9bd0541d607c2b authored by Ms2ger on 27 February 2018, 14:20:49 UTC
Add a section on landing changes.
Tip revision: ad6018d
callback-xhr-sync.html
<!doctype html>
<meta charset=utf-8>
<title></title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
  async_test(function (t) {
    requestIdleCallback(function() {
      requestIdleCallback(t.step_func_done(function () {}))
      var xhr = new XMLHttpRequest();
      xhr.open("GET", "www.emample.com", false);
      xhr.onload = t.step_func(function () {});
      xhr.send(null);
    });
  }, "re-schedule idle callbacks after sync xhr");
</script>
back to top