This is a testharness.js-based test. [FAIL] Replacing the timeline of an animation targetting an element in a document without a browsing context leaves it in the pending state assert_true: The animation should still be pending after replacing the document timeline expected true got false Harness: the test ran to completion.