| Andreas Farre | 0e1edfb | 2017-06-28 17:49:43 | [diff] [blame] | 1 | <!doctype html> |
| 2 | <meta charset=utf-8> |
| 3 | <title></title> |
| Sergio Villar Senin | 7287608 | 2019-03-22 17:18:58 | [diff] [blame] | 4 | <meta name="timeout" content="long"> |
| Andreas Farre | 0e1edfb | 2017-06-28 17:49:43 | [diff] [blame] | 5 | <script src=/resources/testharness.js></script> |
| 6 | <script src=/resources/testharnessreport.js></script> |
| 7 | <script> |
| 8 | async_test(function (t) { |
| 9 | requestIdleCallback(function() { |
| 10 | requestIdleCallback(t.step_func_done(function () {})) |
| 11 | var xhr = new XMLHttpRequest(); |
| 12 | xhr.open("GET", "www.emample.com", false); |
| 13 | xhr.onload = t.step_func(function () {}); |
| 14 | xhr.send(null); |
| 15 | }); |
| 16 | }, "re-schedule idle callbacks after sync xhr"); |
| 17 | </script> |