[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198
inferno at chromium.org
inferno at chromium.org
Mon Feb 21 00:27:08 UTC 2011
The following commit has been merged in the webkit-1.3 branch:
commit 8256e85ae76daa30de344a02ef8dda436a9fae60
Author: inferno at chromium.org <inferno at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Jan 31 18:28:52 2011 +0000
2011-01-31 Cris Neckar <cdn at chromium.org>
Reviewed by Eric Seidel.
Tests for crash when cloning elements that reference counter nodes.
https://bugs.webkit.org/show_bug.cgi?id=53344
* http/tests/css/counter-crash-expected.txt: Added.
* http/tests/css/counter-crash.html: Added.
* http/tests/css/resources/counter-crash-frame-src.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 992536f..5f3027f 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2011-01-31 Cris Neckar <cdn at chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ Tests for crash when cloning elements that reference counter nodes.
+ https://bugs.webkit.org/show_bug.cgi?id=53344
+
+ * http/tests/css/counter-crash-expected.txt: Added.
+ * http/tests/css/counter-crash.html: Added.
+ * http/tests/css/resources/counter-crash-frame-src.html: Added.
+
2011-01-27 Abhishek Arya <inferno at chromium.org>
Reviewed by Dave Hyatt.
diff --git a/LayoutTests/http/tests/css/counter-crash-expected.txt b/LayoutTests/http/tests/css/counter-crash-expected.txt
new file mode 100644
index 0000000..8bd988d
--- /dev/null
+++ b/LayoutTests/http/tests/css/counter-crash-expected.txt
@@ -0,0 +1,2 @@
+
+PASS: rendered counter nodes without crashing.
diff --git a/LayoutTests/http/tests/css/counter-crash.html b/LayoutTests/http/tests/css/counter-crash.html
new file mode 100644
index 0000000..374806b
--- /dev/null
+++ b/LayoutTests/http/tests/css/counter-crash.html
@@ -0,0 +1,16 @@
+<html>
+ <script>
+ window.onload = function()
+ {
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+
+ document.getElementById('content').innerHTML = "PASS: rendered counter nodes without crashing.";
+ }
+ </script>
+ <iframe src='resources/counter-crash-frame-src.html'>
+ </iframe>
+ <div id='content'>
+ FAIL
+ </div>
+</html>
diff --git a/LayoutTests/http/tests/css/resources/counter-crash-frame-src.html b/LayoutTests/http/tests/css/resources/counter-crash-frame-src.html
new file mode 100644
index 0000000..a2ba184
--- /dev/null
+++ b/LayoutTests/http/tests/css/resources/counter-crash-frame-src.html
@@ -0,0 +1,22 @@
+
+<script>
+function boom() {
+ var p = document.getElementById('p').cloneNode(false);
+ document.getElementById('fig').appendChild(p);
+
+ var count = document.getElementById('count').cloneNode(false);
+ document.getElementById('multi').appendChild(count);
+
+ document.location.reload();
+}
+</script>
+<body onload="boom();">
+ <spacer id='count' style='counter-increment: aaa 1;'>
+ <fig id='fig'>
+ </spacer>
+ <acronym>
+ <spacer style='counter-increment: aaa 1;'></spacer>
+ </acronym>
+ <multicol id='multi'></multicol>
+ <p id='p'></p>
+</body>
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list