Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: third_party/WebKit/LayoutTests/virtual/threaded/animations/cancel-unattached-animation.html

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698