mirror of
https://github.com/servo/servo.git
synced 2025-09-08 14:08:22 +01:00
Update web-platform-tests to revision d7afcb8708eac08a614d161d5622a48172daf7e3
This commit is contained in:
parent
6f8bb4dd40
commit
edff458e23
791 changed files with 17647 additions and 10322 deletions
|
@ -1,4 +1,4 @@
|
|||
spec: https://wicg.github.io/ResizeObserver/
|
||||
spec: https://drafts.csswg.org/resize-observer/
|
||||
suggested_reviewers:
|
||||
- atotic
|
||||
- dholbert
|
||||
|
|
|
@ -80,11 +80,20 @@ ResizeTestHelper.prototype = {
|
|||
delete this._timeoutId;
|
||||
}
|
||||
this._harnessTest.step(() => {
|
||||
let rafDelay = this._currentStep.notify(entries, this._observer);
|
||||
if (rafDelay)
|
||||
window.requestAnimationFrame(this._nextStepBind);
|
||||
else
|
||||
this._nextStep();
|
||||
try {
|
||||
let rafDelay = this._currentStep.notify(entries, this._observer);
|
||||
if (rafDelay)
|
||||
window.requestAnimationFrame(this._nextStepBind);
|
||||
else
|
||||
this._nextStep();
|
||||
}
|
||||
catch(err) {
|
||||
this._harnessTest.step(() => {
|
||||
throw err;
|
||||
});
|
||||
// Force to _done() the current test.
|
||||
this._done();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue