From 0054c881efa9ec2b44be60ff4e846dce0fae35ad Mon Sep 17 00:00:00 2001 From: Bob Clary Date: Fri, 24 Apr 2009 10:08:20 -0700 Subject: [PATCH] bug 386914 - crash test by Martijn Wargers. --- content/xul/document/crashtests/386914-1-inner.xul | 10 ++++++++++ content/xul/document/crashtests/386914-1.html | 9 +++++++++ content/xul/document/crashtests/crashtests.list | 1 + 3 files changed, 20 insertions(+) create mode 100644 content/xul/document/crashtests/386914-1-inner.xul create mode 100644 content/xul/document/crashtests/386914-1.html diff --git a/content/xul/document/crashtests/386914-1-inner.xul b/content/xul/document/crashtests/386914-1-inner.xul new file mode 100644 index 000000000000..909889d8b57b --- /dev/null +++ b/content/xul/document/crashtests/386914-1-inner.xul @@ -0,0 +1,10 @@ + + + + + +document.getElementById('b').addEventListener('DOMAttrModified', function(e) {document.removeChild(document.documentElement);}, true); +setTimeout(function() {document.getElementById('a').setAttribute('tabindex', '1') ;}, 100); + + + \ No newline at end of file diff --git a/content/xul/document/crashtests/386914-1.html b/content/xul/document/crashtests/386914-1.html new file mode 100644 index 000000000000..a8961339b71c --- /dev/null +++ b/content/xul/document/crashtests/386914-1.html @@ -0,0 +1,9 @@ + + + + + + + diff --git a/content/xul/document/crashtests/crashtests.list b/content/xul/document/crashtests/crashtests.list index 20e7bfc2d2a1..c9523e596668 100644 --- a/content/xul/document/crashtests/crashtests.list +++ b/content/xul/document/crashtests/crashtests.list @@ -1,3 +1,4 @@ load 326204-1.xul load 344215-1.xul +load 386914-1.html load 428951-1.xul