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

Unified Diff: LayoutTests/svg/custom/webkit-transform-crash.html

Issue 153883003: [SVG] SVGAnimatedTransform{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove m_zoomAndPan Created 6 years, 10 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: LayoutTests/svg/custom/webkit-transform-crash.html
diff --git a/LayoutTests/svg/custom/webkit-transform-crash.html b/LayoutTests/svg/custom/webkit-transform-crash.html
index 92b70ee60c4f5e3383170c1a82cc67494bf386de..5f10a098720fded8254b86f44b19a3ae291575ca 100644
--- a/LayoutTests/svg/custom/webkit-transform-crash.html
+++ b/LayoutTests/svg/custom/webkit-transform-crash.html
@@ -2,7 +2,10 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- This should not crash (null renderer) -->
<script>
- document.createElementNS("http://www.w3.org/2000/svg","g").getTransformToElement();
+ try {
+ document.createElementNS("http://www.w3.org/2000/svg","g").getTransformToElement();
+ } catch(error) {
+ }
if (window.testRunner)
testRunner.dumpAsText();
</script>
« no previous file with comments | « LayoutTests/svg/custom/transform-invalid-expected.txt ('k') | LayoutTests/svg/dom/SVGTransformList-basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698