Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Errors
- This test gets skipped with pattern: debug OR win11_2009' && bits == 32 OR os == 'linux' && os_version == '18.04' && processor == 'x86_64' && tsan
- This test failed 99 times in the preceding 30 days. quicksearch this test
- Manifest: devtools/client/inspector/animation/test/browser.toml
/* Any copyright is dedicated to the Public Domain.
"use strict";
// Test whether the animation inspector will not crash when remove/add animations faster.
add_task(async function () {
const tab = await addTab(URL_ROOT + "doc_mutations_fast.html");
const { inspector } = await openAnimationInspector();
info("Check state of the animation inspector after fast mutations");
await startFastMutations(tab);
ok(
inspector.panelWin.document.getElementById("animation-container"),
"Animation inspector should be live"
);
});
async function startFastMutations(tab) {
await SpecialPowers.spawn(tab.linkedBrowser, [], async function () {
await content.wrappedJSObject.startFastMutations();
});
}