mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
Auto merge of #7417 - glennw:headless-raf, r=pcwalton
Fix requestAnimationFrame in headless mode. Fixes #7296. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7417) <!-- Reviewable:end -->
This commit is contained in:
commit
064b72ac97
3 changed files with 13 additions and 9 deletions
|
@ -1,6 +0,0 @@
|
|||
[window_requestAnimationFrame2.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Test throwing an error inside requestAnimationFrame callback]
|
||||
expected: NOTRUN
|
||||
|
|
@ -8,8 +8,6 @@
|
|||
<script>
|
||||
async_test(function() {
|
||||
window.requestAnimationFrame(this.step_func_done());
|
||||
// FIXME(#7296)
|
||||
setTimeout(this.step_func_done(), 500);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue