Fix requestAnimationFrame in headless mode. Fixes #7296.

This commit is contained in:
Glenn Watson 2015-08-28 07:55:18 +10:00
parent 856fda7f2e
commit 103feca08b
3 changed files with 13 additions and 9 deletions

View file

@ -1,6 +0,0 @@
[window_requestAnimationFrame2.html]
type: testharness
expected: TIMEOUT
[Test throwing an error inside requestAnimationFrame callback]
expected: NOTRUN

View file

@ -8,8 +8,6 @@
<script>
async_test(function() {
window.requestAnimationFrame(this.step_func_done());
// FIXME(#7296)
setTimeout(this.step_func_done(), 500);
});
</script>
</body>