2 <script src=
"../resources/testharness.js"></script>
3 <script src=
"../resources/testharnessreport.js"></script>
7 var doc
= document
.implementation
.createDocument("", "", null);
8 doc
.createElement("div").animate([], 1000);
9 var anim
= doc
.timeline
.getAnimations()[0];
13 }, 'Calling cancel() on an animation detached from its timeline should not crash.');