Add crashtest.
git-svn-id: svn://10.0.0.236/trunk@241217 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
613cb22fb6
commit
9373c56941
9
mozilla/content/xml/document/crashtests/382636-1.xml
Normal file
9
mozilla/content/xml/document/crashtests/382636-1.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
</head>
|
||||
<body onload="document.cloneNode(true);">
|
||||
|
||||
<img src="tree.gif" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
5
mozilla/content/xml/document/crashtests/382636-2.svg
Normal file
5
mozilla/content/xml/document/crashtests/382636-2.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="document.cloneNode(true);">
|
||||
|
||||
<image xlink:href="tree.gif" width="49" height="60" />
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 183 B |
9
mozilla/content/xml/document/crashtests/382636-3.xhtml
Normal file
9
mozilla/content/xml/document/crashtests/382636-3.xhtml
Normal file
@ -0,0 +1,9 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
</head>
|
||||
<body onload="document.cloneNode(true);">
|
||||
|
||||
<img src="tree.gif" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
5
mozilla/content/xml/document/crashtests/382636-4.xul
Normal file
5
mozilla/content/xml/document/crashtests/382636-4.xul
Normal file
@ -0,0 +1,5 @@
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="try { document.cloneNode(true); } catch (e) { }">
|
||||
|
||||
<image src="tree.gif" width="49" height="60" flex="none" />
|
||||
|
||||
</window>
|
||||
4
mozilla/content/xml/document/crashtests/crashtests.list
Normal file
4
mozilla/content/xml/document/crashtests/crashtests.list
Normal file
@ -0,0 +1,4 @@
|
||||
load 382636-1.xml
|
||||
load 382636-2.svg
|
||||
load 382636-3.xhtml
|
||||
load 382636-4.xul # Throws (bug 42976)
|
||||
BIN
mozilla/content/xml/document/crashtests/tree.gif
Normal file
BIN
mozilla/content/xml/document/crashtests/tree.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@ -5,6 +5,7 @@ include ../../testing/crashtest/sanity/crashtests.list
|
||||
|
||||
include ../../content/base/crashtests/crashtests.list
|
||||
include ../../content/svg/content/src/crashtests/crashtests.list
|
||||
include ../../content/xml/document/crashtests/crashtests.list
|
||||
include ../../content/xul/templates/src/crashtests/crashtests.list
|
||||
|
||||
include ../../dom/src/base/crashtests/crashtests.list
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user