We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2820a commit 0e1edfbCopy full SHA for 0e1edfb
html/webappapis/idle-callbacks/callback-xhr-sync.html
@@ -0,0 +1,16 @@
1
+<!doctype html>
2
+<meta charset=utf-8>
3
+<title></title>
4
+<script src=/resources/testharness.js></script>
5
+<script src=/resources/testharnessreport.js></script>
6
+<script>
7
+ async_test(function (t) {
8
+ requestIdleCallback(function() {
9
+ requestIdleCallback(t.step_func_done(function () {}))
10
+ var xhr = new XMLHttpRequest();
11
+ xhr.open("GET", "www.emample.com", false);
12
+ xhr.onload = t.step_func(function () {});
13
+ xhr.send(null);
14
+ });
15
+ }, "re-schedule idle callbacks after sync xhr");
16
+</script>
0 commit comments