svg/foreignObject/viewport-foreignObject-crash.html recurses infinitely sometimes
authorjaphet@chromium.org <japhet@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Dec 2012 07:37:12 +0000 (07:37 +0000)
committerjaphet@chromium.org <japhet@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Dec 2012 07:37:12 +0000 (07:37 +0000)
https://bugs.webkit.org/show_bug.cgi?id=103935.

Reviewed by Abhishek Arya.

* svg/foreignObject/viewport-foreignobject-crash.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@136478 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/svg/foreignObject/viewport-foreignobject-crash.html

index 4214d33..483917e 100644 (file)
@@ -1,3 +1,12 @@
+2012-12-03  Nate Chapin  <japhet@chromium.org>
+
+        svg/foreignObject/viewport-foreignObject-crash.html recurses infinitely sometimes
+        https://bugs.webkit.org/show_bug.cgi?id=103935.
+
+        Reviewed by Abhishek Arya.
+
+        * svg/foreignObject/viewport-foreignobject-crash.html:
+
 2012-12-03  Joshua Bell  <jsbell@chromium.org>
 
         IndexedDB: Correct database version after aborted upgrade
index eb8f19c..e155ecf 100755 (executable)
@@ -16,10 +16,10 @@ function crash() {
         document.body.innerHTML = "PASS";\r
         return;\r
     }\r
+    count += 1;\r
     document.body.appendChild(element);\r
     element.insertAdjacentHTML('beforeend', '<svg><foreignObject>A</foreignObject></svg>');\r
     element.focus();\r
-    count += 1;\r
 }\r
 \r
 document.addEventListener("DOMNodeInserted", crash, false);\r