| Index: third_party/WebKit/LayoutTests/virtual/threaded/animations/cancel-unattached-animation.html
|
| diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/animations/cancel-unattached-animation.html b/third_party/WebKit/LayoutTests/virtual/threaded/animations/cancel-unattached-animation.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2eb62c9dab14066f6bc71d39e6a45cf7ec3bba53
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/virtual/threaded/animations/cancel-unattached-animation.html
|
| @@ -0,0 +1,27 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +<style>
|
| +iframe {
|
| + visibility: hidden;
|
| +}
|
| +</style>
|
| +<script>
|
| +var frame = null;
|
| +function receiveMessage(e) {
|
| + frame.style.visibility = "visible";
|
| + if (window.internals)
|
| + window.internals.forceCompositingUpdate(document);
|
| + async_handle.done();
|
| +}
|
| +
|
| +window.addEventListener("message", receiveMessage, false);
|
| +
|
| +var async_handle = async_test('This test passes if it does not crash');
|
| +onload = function() {
|
| + frame = document.createElement("IFRAME");
|
| + frame.width = frame.height = "100%";
|
| + document.body.appendChild(frame);
|
| + frame.src = "resources/cancel-unattached-animation-frame.html";
|
| +};
|
| +</script>
|
|
|