mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add crashtests for a few bugs
This commit is contained in:
parent
5eb28e1789
commit
b4b916d596
9
content/base/crashtests/450383-1.html
Normal file
9
content/base/crashtests/450383-1.html
Normal file
@ -0,0 +1,9 @@
|
||||
<html>
|
||||
<BODY></BODY>
|
||||
<SCRIPT>
|
||||
document.addEventListener("DOMCharacterDataModified",function(){
|
||||
document.body.innerHTML=""; // change this to see memory corruption
|
||||
},true);
|
||||
document.body.innerHTML="<optGroup</form<textArea";
|
||||
</SCRIPT>
|
||||
</html>
|
11
content/base/crashtests/450385-1.html
Normal file
11
content/base/crashtests/450385-1.html
Normal file
@ -0,0 +1,11 @@
|
||||
<html>
|
||||
<BODY></BODY>
|
||||
<SCRIPT>
|
||||
document.body.addEventListener("DOMCharacterDataModified", function () {
|
||||
document.body.innerHTML = "";
|
||||
eventChild.appendChild(event.relatedNode);
|
||||
}, true);
|
||||
document.addEventListener("DOMNodeInserted", function () {}, true);
|
||||
document.body.innerHTML="]<kbd><small></kbd><base><optGroup></optGroup>";
|
||||
</SCRIPT>
|
||||
</html>
|
@ -48,6 +48,8 @@ load 420620-1.html
|
||||
load 424276-1.html
|
||||
load 426987-1.html
|
||||
load 443538-1.svg
|
||||
load 450383-1.html
|
||||
load 450385-1.html
|
||||
skip load 458637-1.html # sporadically fails -- see bug 473680
|
||||
load 472593-1.html
|
||||
load 474041-1.svg
|
||||
|
13
content/xul/templates/src/crashtests/257752-1-recursion.rdf
Normal file
13
content/xul/templates/src/crashtests/257752-1-recursion.rdf
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:m="urn:foo#">
|
||||
<rdf:Seq about="urn:x-rec:1">
|
||||
<rdf:li rdf:resource="urn:x-rec:2"/>
|
||||
</rdf:Seq>
|
||||
<rdf:Seq about="urn:x-rec:2">
|
||||
<rdf:li rdf:resource="urn:x-rec:3"/>
|
||||
</rdf:Seq>
|
||||
<rdf:Seq about="urn:x-rec:3">
|
||||
<rdf:li rdf:resource="urn:x-rec:1"/>
|
||||
</rdf:Seq>
|
||||
</rdf:RDF>
|
28
content/xul/templates/src/crashtests/257752-1-recursion.xul
Normal file
28
content/xul/templates/src/crashtests/257752-1-recursion.xul
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
<window id="child-iterate-recurse"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<vbox flex="1" style="overflow: auto;">
|
||||
|
||||
<vbox datasources="257752-1-recursion.rdf" ref="urn:x-rec:1">
|
||||
<template>
|
||||
<rule>
|
||||
<conditions>
|
||||
<content uri="?uri"/>
|
||||
<member container="?uri" child="?child"/>
|
||||
</conditions>
|
||||
<action>
|
||||
<vbox uri="?child" style="border: 1px solid grey; margin: 1em;">
|
||||
<label value="hi"/>
|
||||
</vbox>
|
||||
</action>
|
||||
</rule>
|
||||
</template>
|
||||
</vbox>
|
||||
|
||||
</vbox>
|
||||
|
||||
</window>
|
@ -1,3 +1,4 @@
|
||||
load 257752-1-recursion.xul
|
||||
load 329335-1.xul
|
||||
load 329884-1.xul
|
||||
HTTP load 330010-1.xul
|
||||
|
7
layout/tables/crashtests/513732-1.html
Normal file
7
layout/tables/crashtests/513732-1.html
Normal file
@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head></head>
|
||||
<body>
|
||||
<table style="border-collapse: collapse;"><colgroup style="border: 20px solid green;"></colgroup> <tr><td style="height: 43925290cm"></td></tr><tr></tr></table>
|
||||
</body>
|
||||
</html>
|
@ -98,3 +98,4 @@ load 456041.html
|
||||
load 457115.html
|
||||
load 467141-1.html
|
||||
load 488388-1.html
|
||||
load 513732-1.html
|
||||
|
9
layout/xul/base/src/crashtests/237787-1.xul
Normal file
9
layout/xul/base/src/crashtests/237787-1.xul
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<toolbar>
|
||||
<arrowscrollbox>
|
||||
<menulist editable="true">
|
||||
</menulist>
|
||||
</arrowscrollbox>
|
||||
</toolbar>
|
||||
</window>
|
@ -3,6 +3,7 @@ load 137216-1.xul
|
||||
load 140218-1.xml
|
||||
load 151826-1.xul
|
||||
load 168724-1.xul
|
||||
load 237787-1.xul
|
||||
load 289410-1.xul
|
||||
load 291702-1.xul
|
||||
load 291702-2.xul
|
||||
|
12
parser/htmlparser/tests/crashtests/515533-1-inner.html
Normal file
12
parser/htmlparser/tests/crashtests/515533-1-inner.html
Normal file
@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
|
||||
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
|
||||
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
|
||||
<script language="javascript">
|
||||
window.location.replace("data:text/plain,");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
1
parser/htmlparser/tests/crashtests/515533-1.html
Normal file
1
parser/htmlparser/tests/crashtests/515533-1.html
Normal file
@ -0,0 +1 @@
|
||||
<iframe src="515533-1-inner.html"></iframe>
|
@ -36,5 +36,6 @@ 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 522326-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user