mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add some crashtests and reftests
--HG-- extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
This commit is contained in:
parent
3996de6d69
commit
fb054fc73e
10
content/base/crashtests/522516-1.html
Normal file
10
content/base/crashtests/522516-1.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body onload="document.getElementById('a').appendChild(document.getElementById('b'));">
|
||||
|
||||
<div id="b"></div>
|
||||
<div style="filter: url(#b);"></div>
|
||||
<div id="a"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -60,6 +60,7 @@ load 493281-1.html
|
||||
load 493281-2.html
|
||||
load 490760-1.xhtml
|
||||
load 494810-1.html
|
||||
load 522516-1.html
|
||||
load 529670.html
|
||||
load 554230-1.xhtml
|
||||
load 552651.html
|
||||
|
6
content/svg/content/src/crashtests/539167-1.svg
Normal file
6
content/svg/content/src/crashtests/539167-1.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<circle id="circle" transform="">
|
||||
<animateTransform attributeName="transform" from="0" to="0.6"/>
|
||||
</circle>
|
||||
<use xlink:href="#circle"/>
|
||||
</svg>
|
After Width: | Height: | Size: 237 B |
@ -46,3 +46,4 @@ load 436418-mpathRoot-1.svg
|
||||
load 448244-1.svg
|
||||
load 466576-1.xhtml
|
||||
asserts(0-2) load 535691-1.svg # Bug 535691
|
||||
load 539167-1.svg
|
||||
|
9
docshell/base/crashtests/514779-1.xhtml
Normal file
9
docshell/base/crashtests/514779-1.xhtml
Normal file
@ -0,0 +1,9 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head></head>
|
||||
|
||||
<body onunload="document.getElementById('tbody').appendChild(document.createElementNS('http://www.w3.org/1999/xhtml', 'span'))">
|
||||
<iframe/>
|
||||
<tbody contenteditable="true" id="tbody">xy</tbody>
|
||||
</body>
|
||||
|
||||
</html>
|
@ -8,3 +8,4 @@ asserts(0-2) load 432114-2.html # bug 570215, bug 571020
|
||||
load 436900-1.html
|
||||
asserts(0-2) load 436900-2.html # bug 566159
|
||||
load 500328-1.html
|
||||
load 514779-1.xhtml
|
||||
|
19
editor/libeditor/html/crashtests/513375-1.xhtml
Normal file
19
editor/libeditor/html/crashtests/513375-1.xhtml
Normal file
@ -0,0 +1,19 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head contenteditable="true">
|
||||
<script type="text/javascript">
|
||||
<![CDATA[
|
||||
|
||||
function boom()
|
||||
{
|
||||
var r = document.createRange();
|
||||
r.selectNode(document.body);
|
||||
r.deleteContents();
|
||||
try { document.execCommand("selectAll", false, null); } catch(e) { }
|
||||
}
|
||||
|
||||
]]>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();" contenteditable="true"></body>
|
||||
</html>
|
@ -13,4 +13,5 @@ load 456727-1.html
|
||||
load 456727-2.html
|
||||
asserts(1) load 467647-1.html # bug 382210
|
||||
load 503709-1.xhtml
|
||||
load 513375-1.xhtml
|
||||
load 535632-1.xhtml
|
||||
|
22
layout/base/crashtests/514104-1.xul
Normal file
22
layout/base/crashtests/514104-1.xul
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
|
||||
<!-- there must be no extra elements in the document -->
|
||||
|
||||
<window onload="
|
||||
document.documentElement.removeChild(document.getElementById('b'));
|
||||
document.getElementById('l').removeChild(document.getElementById('h'));
|
||||
document.documentElement.appendChild(document.createElementNS('http://www.w3.org/1999/xhtml', 'span'));"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<bindings xmlns="http://www.mozilla.org/xbl" id="b">
|
||||
<binding id="foo">
|
||||
<content><listitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><children xmlns="http://www.mozilla.org/xbl"/></listitem></content>
|
||||
</binding>
|
||||
</bindings>
|
||||
|
||||
<listbox id="l" style="-moz-binding: url("#foo");"><hbox id="h"/></listbox>
|
||||
|
||||
<listitem/>
|
||||
|
||||
</window>
|
@ -276,6 +276,7 @@ load 499841-1.xhtml
|
||||
load 500467-1.html
|
||||
load 501878-1.html
|
||||
load 503936-1.html
|
||||
load 514104-1.xul
|
||||
load 522374-1.html
|
||||
load 522374-2.html
|
||||
load 526378-1.xul
|
||||
|
6
layout/forms/crashtests/513113-1.html
Normal file
6
layout/forms/crashtests/513113-1.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html><body onload="document.body.style.display = 'table';" style="-moz-column-count: 1; white-space: pre-line; -moz-appearance: resizer; height: 23698324514pc;">
|
||||
|
||||
|
||||
|
||||
<input></body></html>
|
@ -38,5 +38,6 @@ load 455451-1.html
|
||||
load 457537-1.html
|
||||
load 457537-2.html
|
||||
load 478219-1.xhtml
|
||||
load 513113-1.html
|
||||
load 570624-1.html
|
||||
load 498698-1.html
|
||||
|
6
layout/generic/crashtests/508168-1.html
Normal file
6
layout/generic/crashtests/508168-1.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" style="-moz-column-count: 2;">
|
||||
<body style="padding: 731563462617733px; height: 10px;">
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
1
layout/generic/crashtests/512724-1.html
Normal file
1
layout/generic/crashtests/512724-1.html
Normal file
@ -0,0 +1 @@
|
||||
<html style="-moz-column-width: 1px; -moz-column-gap: 6834954840cm"><body></body></html>
|
6
layout/generic/crashtests/512725-1.html
Normal file
6
layout/generic/crashtests/512725-1.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<table style="line-height: 1em; font-size: 1483271385%;"><tbody><tr><td></td></tr></tbody></table>
|
||||
</body>
|
||||
</html>
|
1
layout/generic/crashtests/547843-1.xhtml
Normal file
1
layout/generic/crashtests/547843-1.xhtml
Normal file
@ -0,0 +1 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><body><math xmlns="http://www.w3.org/1998/Math/MathML" style="display: table;"/><div style="position: fixed;"></div></body></html>
|
@ -297,10 +297,13 @@ asserts(15) asserts-if(MOZ_WIDGET_TOOLKIT=="windows",18) load 499885-1.xhtml # n
|
||||
load 501535-1.html
|
||||
load 503961-1.xhtml
|
||||
load 503961-2.html
|
||||
load 508168-1.html
|
||||
load 508908-1.html
|
||||
load 505912-1.html
|
||||
load 509749-1.html
|
||||
load 511482.html
|
||||
load 512724-1.html
|
||||
load 512725-1.html
|
||||
load 513394-1.html
|
||||
load 514800-1.html
|
||||
load 515811-1.html
|
||||
@ -317,6 +320,7 @@ load 541277-2.html
|
||||
load 541714-1.html
|
||||
load 541714-2.html
|
||||
load 547338.xul
|
||||
load 547843-1.xhtml
|
||||
load 551635-1.html
|
||||
load 564368-1.xhtml
|
||||
load 564968.xhtml
|
||||
|
12
layout/reftests/bugs/501037-ref.html
Normal file
12
layout/reftests/bugs/501037-ref.html
Normal file
@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head></head>
|
||||
|
||||
<body>
|
||||
|
||||
<ol>
|
||||
<li id="a"></li>
|
||||
<li id="b">b</li>
|
||||
</ol>
|
||||
|
||||
</body>
|
||||
</html>
|
12
layout/reftests/bugs/501037.html
Normal file
12
layout/reftests/bugs/501037.html
Normal file
@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head></head>
|
||||
|
||||
<body onload="document.getElementById('a').firstChild.data = '';">
|
||||
|
||||
<ol>
|
||||
<li id="a">a</li>
|
||||
<li id="b">b</li>
|
||||
</ol>
|
||||
|
||||
</body>
|
||||
</html>
|
4
layout/reftests/bugs/521602-ref.html
Normal file
4
layout/reftests/bugs/521602-ref.html
Normal file
@ -0,0 +1,4 @@
|
||||
<body>
|
||||
<div style="outline: 1px solid black">
|
||||
<img>
|
||||
</div>
|
4
layout/reftests/bugs/521602.html
Normal file
4
layout/reftests/bugs/521602.html
Normal file
File diff suppressed because one or more lines are too long
@ -1334,6 +1334,7 @@ random-if(MOZ_WIDGET_TOOLKIT=="windows") fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") ==
|
||||
== 498228-1.xul 498228-1-ref.xul
|
||||
asserts(1) == 496032-1.html 496032-1-ref.html # bug 399262
|
||||
== 496840-1.html 496840-1-ref.html
|
||||
== 501037.html 501037-ref.html
|
||||
== 501257-1a.html 501257-1-ref.html
|
||||
== 501257-1b.html 501257-1-ref.html
|
||||
== 501257-1.xhtml 501257-1-ref.xhtml
|
||||
@ -1380,6 +1381,7 @@ fails HTTP(..) == 518172-2b.html 518172-b-ref.html # bug 518172
|
||||
== 521525-2.html 521525-2-ref.html
|
||||
== 521539-1.html 521539-1-ref.html
|
||||
== 521542-1.xhtml 521542-1-ref.xhtml
|
||||
== 521602.html 521602-ref.html
|
||||
== 521685-1.html 521685-1-ref.html
|
||||
== 522632-1.html 522632-1-ref.html
|
||||
== 523096-1.html 523096-1-ref.html
|
||||
|
12
layout/reftests/svg/dynamic-use-remove-width-ref.svg
Normal file
12
layout/reftests/svg/dynamic-use-remove-width-ref.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- this is a test for https://bugzilla.mozilla.org/show_bug.cgi?id=521720 -->
|
||||
|
||||
<defs>
|
||||
<svg id="d">
|
||||
<rect height="50%" width="100%" fill="blue" />
|
||||
</svg>
|
||||
</defs>
|
||||
|
||||
<use id="u" xlink:href="#d" height="100%" />
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 321 B |
20
layout/reftests/svg/dynamic-use-remove-width.svg
Normal file
20
layout/reftests/svg/dynamic-use-remove-width.svg
Normal file
@ -0,0 +1,20 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- this is a test for https://bugzilla.mozilla.org/show_bug.cgi?id=521720 -->
|
||||
|
||||
<defs>
|
||||
<svg id="d">
|
||||
<rect height="50%" width="100%" fill="blue" />
|
||||
</svg>
|
||||
</defs>
|
||||
|
||||
<use id="u" xlink:href="#d" height="100%" width="11%" />
|
||||
|
||||
<script>
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("u").removeAttribute("width");
|
||||
}
|
||||
window.addEventListener("load", boom, false);
|
||||
</script>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 490 B |
@ -66,6 +66,7 @@ include svg-integration/reftest.list
|
||||
== dynamic-use-01.svg pass.svg
|
||||
== dynamic-use-02.svg pass.svg
|
||||
== dynamic-use-nested-01.svg dynamic-use-nested-01-ref.svg
|
||||
== dynamic-use-remove-width.svg dynamic-use-remove-width-ref.svg
|
||||
== linked-pattern-01.svg pass.svg
|
||||
== use-01-extref.svg pass.svg
|
||||
== use-02-extref.svg use-02-extref-ref.svg
|
||||
|
10
layout/reftests/text/467722-ref.html
Normal file
10
layout/reftests/text/467722-ref.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body style="font-size: 150px;">
|
||||
|
||||
‍鮸酃
|
||||
|
||||
</body>
|
||||
</html>
|
10
layout/reftests/text/467722.html
Normal file
10
layout/reftests/text/467722.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body style="font-size: 150px;" onload="document.documentElement.appendChild(document.body);">
|
||||
|
||||
‍鮸酃
|
||||
|
||||
</body>
|
||||
</html>
|
@ -51,6 +51,7 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") != zwnj-01.html zwnj-01-notref.html # Bad
|
||||
== cgj-01.html cgj-01-ref.html
|
||||
== 444656.html 444656-ref.html
|
||||
== 449555-1.html 449555-1-ref.html
|
||||
== 467722.html 467722-ref.html
|
||||
random HTTP(..) == 475092-sub.html 475092-ref.html # bug 482596
|
||||
random HTTP(..) == 475092-pos.html 475092-sub.html # bug 482596
|
||||
== 476378-soft-hyphen-fallback.html 476378-soft-hyphen-fallback-ref.html
|
||||
|
21
layout/reftests/transform/dynamic-inherit-1-ref.html
Normal file
21
layout/reftests/transform/dynamic-inherit-1-ref.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE HTML>
|
||||
<head>
|
||||
<title>Test for bug 521720</title>
|
||||
<style type="text/css">
|
||||
|
||||
p {
|
||||
-moz-transform-origin: inherit;
|
||||
-moz-transform: scale(2);
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
background: green;
|
||||
margin: 50px;
|
||||
}
|
||||
|
||||
</style>
|
||||
<head>
|
||||
<body>
|
||||
<div id="a">
|
||||
<p style="font-size: 10px"></p>
|
||||
</div>
|
||||
</body>
|
21
layout/reftests/transform/dynamic-inherit-1.html
Normal file
21
layout/reftests/transform/dynamic-inherit-1.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE HTML>
|
||||
<head>
|
||||
<title>Test for bug 521720</title>
|
||||
<style type="text/css">
|
||||
|
||||
p {
|
||||
-moz-transform-origin: inherit;
|
||||
-moz-transform: scale(2);
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
background: green;
|
||||
margin: 50px;
|
||||
}
|
||||
|
||||
</style>
|
||||
<head>
|
||||
<body onload="document.getElementById('a').style.removeProperty('-moz-transform-origin');">
|
||||
<div id="a" style="-moz-transform-origin: 10px 10px">
|
||||
<p style="font-size: 10px"></p>
|
||||
</div>
|
||||
</body>
|
@ -5,6 +5,7 @@
|
||||
# Multiple transforms should act identically to nested divs.
|
||||
== compound-1a.html compound-1-ref.html
|
||||
!= compound-1a.html compound-1-fail.html
|
||||
== dynamic-inherit-1.html dynamic-inherit-1-ref.html
|
||||
# translatex should act like position: relative
|
||||
== translatex-1a.html translatex-1-ref.html
|
||||
== translatex-1b.html translatex-1-ref.html
|
||||
|
23
layout/style/crashtests/512851-1.xhtml
Normal file
23
layout/style/crashtests/512851-1.xhtml
Normal file
@ -0,0 +1,23 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<style type="text/css">
|
||||
mover { font-size: 326590449211mm; }
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("r").setAttribute("accentunder", "4");
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();">
|
||||
|
||||
<mover xmlns="http://www.w3.org/1998/Math/MathML" id="mover"><munderover id="r"><merror/><msqrt/></munderover></mover>
|
||||
|
||||
</body>
|
||||
</html>
|
5
layout/style/crashtests/539613-1.xhtml
Normal file
5
layout/style/crashtests/539613-1.xhtml
Normal file
@ -0,0 +1,5 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML">
|
||||
<body>
|
||||
<m:ms fontsize="90071992547409pc"><span><m:mfrac><m:mtext fontsize="625%"><m:mfrac>f<m:mrow><m:mstyle scriptlevel="3"><m:msup/></m:mstyle></m:mrow></m:mfrac></m:mtext><m:malignmark/></m:mfrac></span></m:ms>
|
||||
</body>
|
||||
</html>
|
@ -43,6 +43,8 @@ load 473720-1.html
|
||||
load 473892-1.html
|
||||
load 473914-1.html
|
||||
load 478321-1.xhtml
|
||||
load 512851-1.xhtml
|
||||
load 539613-1.xhtml
|
||||
skip load long-url-list-stack-overflow.html # skipped due to being slow (bug 477490)
|
||||
load 495269-1.html
|
||||
load 495269-2.html
|
||||
|
18
layout/tables/crashtests/534716-1.html
Normal file
18
layout/tables/crashtests/534716-1.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("q").appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "td"));
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();">
|
||||
|
||||
<table rules="cols"><thead><tr><th colspan="2"></th></tr></thead><tr></tr><tr id="q" style="border-left: 2px dotted yellow;"></tr></table>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -99,3 +99,4 @@ load 457115.html
|
||||
load 467141-1.html
|
||||
load 488388-1.html
|
||||
load 513732-1.html
|
||||
load 534716-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user