Open
Bug 2028542
Opened 5 months ago
Rewrite and re-enable dom/tests/mochitest/pointerlock/test_pointerlock-api.html
Categories
(Core :: DOM: Core & HTML, task)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: arai, Unassigned)
References
Details
dom/tests/mochitest/pointerlock/test_pointerlock-api.html is disabled due to causing intermittent failure in various configuration.
The testcase has timing-dependent code such as the following:
// Try to stabilize the state before running the next test.
SimpleTest.waitForFocus(
() => requestAnimationFrame(() => setTimeout(runNextTest)));
with multiple sub tests inside it, with overwriting the test harness.
It should be rewritten with more stable and reliable way, and each sub-test should be split into standalone test.
You need to log in
before you can comment on or make changes to this bug.
Description
•