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

Unified Diff: LayoutTests/svg/dom/move-animating-svg-to-other-frame.html

Issue 290353002: SVG: Moving animating <svg> to other iframe should not crash. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: RELEASE_ASSERT Created 6 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/svg/dom/move-animating-svg-to-other-frame-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/move-animating-svg-to-other-frame.html
diff --git a/LayoutTests/svg/dom/move-animating-svg-to-other-frame.html b/LayoutTests/svg/dom/move-animating-svg-to-other-frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..966d8bb029beb5c78cab4b5be61286addafa7150
--- /dev/null
+++ b/LayoutTests/svg/dom/move-animating-svg-to-other-frame.html
@@ -0,0 +1,21 @@
+<script src="../../resources/js-test.js"></script>
+<script>
+jsTestIsAsync = true;
+description("Moving animating svg document to other iframe should not crash.");
+
+var otherSVG = null; // read from resources/import-other-svg.svg
+function loadedSVGToBeMoved()
+{
+ debug("loaded SVG to be moved");
+
+ var source = document.getElementById("source");
+ otherSVG = source.contentDocument.documentElement;
+
+ var target = document.getElementById("target");
+ target.src = "resources/import-other-svg.svg";
+ target.onload = finishJSTest;
+}
+</script>
+<iframe id="source" src="resources/svg-with-animate.svg" onload="loadedSVGToBeMoved()"></iframe>
+<iframe id="target"></iframe>
+<p>Test pass if no crash.</p>
« no previous file with comments | « no previous file | LayoutTests/svg/dom/move-animating-svg-to-other-frame-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698