Add crashtests
authorJesse Ruderman <jruderman@gmail.com>
Fri, 20 Feb 2009 19:38:16 -0800
changeset 25344 eec15facdcfed92f61aaeca63cd5d25d0fc18f5d
parent 25343 20c271778810e143f528a8e6d9a78b013cbb1cd6
child 25345 59cb55e08d1fa5e26efc9218e068151e11ffd0ee
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
milestone1.9.2a1pre
Add crashtests
layout/base/crashtests/477333-1.xhtml
layout/base/crashtests/crashtests.list
layout/generic/crashtests/436602-1.html
layout/generic/crashtests/crashtests.list
layout/svg/crashtests/461289-1.svg
layout/svg/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/477333-1.xhtml
@@ -0,0 +1,22 @@
+<html xmlns="http://www.w3.org/1999/xhtml" style="overflow-x: scroll">
+<head>
+<style type="text/css">
+
+body:first-letter { }
+
+</style>
+<script type="text/javascript">
+
+function boom()
+{
+  td = document.createElement("td");
+  td.contentEditable = "true";
+  document.body.appendChild(td);
+  document.execCommand("strikethrough", false, null);
+}
+
+</script>
+</head>
+
+<body onload="boom();"></body>
+</html>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -187,8 +187,9 @@ load 455063-3.html
 load 455171-4.html
 load 466763-1.html
 load 468546-1.xhtml
 # These three didn't actually crash without the resizing that the
 # browser does when setting up print preview, but adding them anyway.
 load 468645-1.xhtml
 load 468645-2.xhtml
 load 468645-3.xhtml
+load 477333-1.xhtml
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/436602-1.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html>
+<body>
+
+<div style="-moz-column-width: 1px;"><span>A B C D E</span> <span style="float: right;"></span> <br> </div>
+
+</body>
+</html>
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -166,16 +166,17 @@ load 422283-1.html
 load 422301-1.html
 load 423055-1.html
 load 425253-1.html
 load 426272-1.html
 load 428263-1.html
 load 429981-1.html
 load 430352-1.html
 load 435529.html
+load 436602-1.html
 load 436823.html
 load 436969-1.html
 load 437156-1.html
 load 438259-1.html
 load 438509-1.html
 load 443528-1.html
 load 444726-1.xhtml
 load 445288.html
new file mode 100644
--- /dev/null
+++ b/layout/svg/crashtests/461289-1.svg
@@ -0,0 +1,18 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+<script type="text/javascript">
+
+function boom()
+{
+  var f = document.getElementById("filter1");
+  f.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "feImage"));
+  f.appendChild(document.getElementById("rect"));
+}
+
+window.addEventListener("load", boom, false);
+
+</script>
+
+<filter id="filter1"/><rect id="rect" filter="url(#filter1)"/>
+
+</svg>
--- a/layout/svg/crashtests/crashtests.list
+++ b/layout/svg/crashtests/crashtests.list
@@ -55,16 +55,17 @@ load 404677-1.xhtml
 load 409565-1.xhtml
 load 409573-1.svg
 load 429774-1.svg
 load 441368-1.svg
 load 453754-1.svg
 load 455314-1.xhtml
 load 458453.html
 load 459666-1.html
+load 461289-1.svg
 load 464374-1.svg
 load 466585-1.svg
 load 470124-1.svg
 load 474700-1.svg
 load 472782-1.svg
 load 475181-1.svg
 load 475193-1.html
 load extref-test-1.xhtml