Crashtest for bug 525229 - Crash [@ nsHtml5PendingNotification::nsHtml5PendingNotification] when document.writing an external script followed by start tag. r=bnewman.
authorHenri Sivonen <hsivonen@iki.fi>
Wed, 11 Nov 2009 10:37:34 +0200
changeset 35589 0c6ce6f93f19d2ad5b0e1fce81a72280596fbd1a
parent 35588 653323b08913cbdd441b89c5d0ccc13f1d9f32b4
child 35590 334f57fa1adea59baff92aaec0e5c7d1544b022f
push id10641
push userhsivonen@iki.fi
push dateFri, 11 Dec 2009 23:25:55 +0000
treeherdermozilla-central@ac25c2986e24 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbnewman
bugs525229
milestone1.9.3a1pre
Crashtest for bug 525229 - Crash [@ nsHtml5PendingNotification::nsHtml5PendingNotification] when document.writing an external script followed by start tag. r=bnewman.
parser/htmlparser/tests/crashtests/525229-1.html
parser/htmlparser/tests/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/parser/htmlparser/tests/crashtests/525229-1.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<title>Test for bug 525229</title>
+<body>
+<script>
+document.write("<script src='data:text/javascript,'><\/script><div>");
+</script>
+text
--- a/parser/htmlparser/tests/crashtests/crashtests.list
+++ b/parser/htmlparser/tests/crashtests/crashtests.list
@@ -33,9 +33,10 @@ load 299036-1.html
 load 328751-1.html
 load 408939-1.html
 load 423373-1.html
 skip load 460706-1.xhtml # Bug 479499
 load 468538-1.xhtml
 load 515278-1.html
 load 515533-1.html
 load 515816-1.html
+load 525229-1.html
 load 522326-1.html