Revision control

1
<!DOCTYPE html>
2
<html>
3
<body>
4
<div id="target"></div>
5
<script src="../resources/js-test-pre.js"></script>
6
<script>
7
description("This test checks that a keyframe effect keeps its target alive even if that node has no other reference.");
8
9
gc();
10
const effect = new KeyframeEffect(document.createElement("div"), { });
11
gc();
12
shouldBeEqualToString("effect.target.localName", "div");
13
14
</script>
15
<script src="../resources/js-test-post.js"></script>
16
</body>
17
</html>