mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +02:00
In idlharness.window.js, ResizeObservation is not an public interface in the current spec, so the test should be updated. In eventloop.html, unfortunately, there are two issues: 1. The test framework will be timeout if there is any `assert_equals()` failed. We should rewrite it. 2. Actually, we only have one failure in this test file: `assert_equals(helper.rafCount, 1, "new loop");` in test0. We fire this event in the next Tick(), but we call the callback of `requestAnimationFrame()` after several Tick()s, so `helper.rafCount` is still 0 in this case. This may be a bug of the test because using `requestAnimationFrame()` cannot reflect the next event loop, or our scheduling of ResizeObserver is not correct. Note: this assert_equal() was added by Google, not by Fariskhi. Differential Revision: https://phabricator.services.mozilla.com/D27619 --HG-- extra : moz-landing-system : lando |
||
|---|---|---|
| .. | ||
| resources | ||
| eventloop.html | ||
| idlharness.window.js | ||
| META.yml | ||
| notify.html | ||
| observe.html | ||
| svg.html | ||