| Index: LayoutTests/svg/custom/elementTimeControl-nan-crash.html
|
| diff --git a/LayoutTests/svg/custom/elementTimeControl-nan-crash.html b/LayoutTests/svg/custom/elementTimeControl-nan-crash.html
|
| index 1d5e5d6286365907dd31a6fd6bc4f6fd529d3c23..afb8f4a1201e0aa57ca67f52c415138e86ea21ec 100644
|
| --- a/LayoutTests/svg/custom/elementTimeControl-nan-crash.html
|
| +++ b/LayoutTests/svg/custom/elementTimeControl-nan-crash.html
|
| @@ -2,14 +2,15 @@
|
| <html>
|
| <head>
|
| <script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| function crash() {
|
| var animate = document.getElementById('animate');
|
| var svg = document.getElementById('svg');
|
| - animate.endElementAt(NaN);
|
| - animate.beginElementAt(NaN);
|
| + try { animate.endElementAt(NaN); } catch (e) {}
|
| + try { animate.beginElementAt(NaN); } catch (e) {}
|
| svg.setCurrentTime(2);
|
| - if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| }
|
| </script>
|
| </head>
|
|
|