mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1226751 - Remove 358732-* crashtests, since they only race between not testing anything and accidentally setting and leaving a non-default font zoom, breaking later tests
This commit is contained in:
parent
28c98a5b12
commit
e7e0353517
@ -1,22 +0,0 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>
|
||||
Testcase bug 358732 - Crash in _moz_cairo_win32_scaled_font_select_font, part 2
|
||||
</title>
|
||||
<style>
|
||||
svg, #div{border: 10px solid black;}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
This should not crash Mozilla within 5 seconds
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" style="position:absolute;left:0px;top:50px;"><g id="g">
|
||||
<foreignObject id="rotate" x="0" y="0" width="800" height="800">
|
||||
<iframe xmlns="http://www.w3.org/1999/xhtml" style="width:800px; height: 800px;" src="358732-iframe.html"></iframe>
|
||||
</foreignObject>
|
||||
</g></svg>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,94 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns:mathml="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:xforms="http://www.w3.org/2002/xforms">ع<svg:foreignObject x="0" y="0" width="100%" height="100%"></svg:foreignObject>
|
||||
<html:script><![CDATA[
|
||||
/*template*/
|
||||
var doc = document;
|
||||
if (document.getElementById('content'))
|
||||
doc = document.getElementById('content').contentDocument;
|
||||
|
||||
function addfirstletter(){
|
||||
var x=doc.createElementNS('http://www.w3.org/1999/xhtml','style');
|
||||
x.innerHTML='\
|
||||
*::first-letter {float: right; text-transform: uppercase; background-color:red; font-size:600%;}\
|
||||
';
|
||||
doc.documentElement.appendChild(x);
|
||||
}
|
||||
|
||||
setTimeout(addfirstletter,200);
|
||||
|
||||
/*template*/
|
||||
|
||||
/*template*/
|
||||
var doc = document;
|
||||
if (document.getElementById('content'))
|
||||
doc = document.getElementById('content').contentDocument;
|
||||
|
||||
function addfirstline(){
|
||||
var x=doc.createElementNS('http://www.w3.org/1999/xhtml','style');
|
||||
x.innerHTML='\
|
||||
*::first-line { text-transform: uppercase; background-color:green; font-size:110%; height: 110%;}\
|
||||
*::after { content:"anonymous text"; float:right;border:3px solid black;text-transform: uppercase;height: 90%;}\
|
||||
*::before { content:"before text"; float:right;border:3px solid black;font-size: 10px;width:80%;}\
|
||||
';
|
||||
doc.documentElement.appendChild(x);
|
||||
}
|
||||
setTimeout(addfirstline,200);
|
||||
|
||||
/*template*/
|
||||
/*template*/
|
||||
var doc = document;
|
||||
if (document.getElementById('content'))
|
||||
doc = document.getElementById('content').contentDocument;
|
||||
|
||||
var timers=0;
|
||||
function doe(aObj, aNested, aCurrentTimer){
|
||||
var temp =0;
|
||||
for (var i in aObj) {
|
||||
try {
|
||||
if (i == 'ordinal')
|
||||
continue;
|
||||
if (typeof aObj[i] == 'object') {
|
||||
if (aNested >= 1000 || aObj[i] == window.location || aOb[i] == doc.documentElement.boxObject)
|
||||
continue;
|
||||
setTimeout(doe,500, aObj[i], ++aNested, timers);
|
||||
timers++;
|
||||
if (aOb[i] == doc.documentElement.boxObject.firstChild) {
|
||||
alert(i);
|
||||
continue;
|
||||
};
|
||||
}
|
||||
if (i == 'textContent' || i == 'innerHTML')
|
||||
continue;
|
||||
}
|
||||
catch(e){}
|
||||
try {
|
||||
//if (temp == 68 && aNested == 21 && aCurrentTimer >= 116) {
|
||||
// alert(i + '-'+ aObj[i]);
|
||||
// return;
|
||||
// }
|
||||
|
||||
if (typeof aObj[i] == 'function') {
|
||||
if (i =='removeChild' || i == 'getBoxObjectFor' || i == 'enableRollup')
|
||||
aObj[i](doc.documentElement);
|
||||
}
|
||||
else {
|
||||
aObj[i]= 'on';
|
||||
}
|
||||
temp+=1;
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
setTimeout(doe,0, doc.documentElement, 300);
|
||||
|
||||
/*template*/
|
||||
|
||||
]]></html:script>
|
||||
</svg>
|
Before Width: | Height: | Size: 2.4 KiB |
@ -1,23 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Testcase 3 - Bug 358732 – Crash in _moz_cairo_win32_scaled_font_select_font, part 2</title>
|
||||
<script id="script">
|
||||
var i=0;
|
||||
function doe() {
|
||||
var navigator1 = SpecialPowers.wrap(top).QueryInterface(SpecialPowers.Ci.nsIInterfaceRequestor).getInterface(SpecialPowers.Ci.nsIWebNavigation);
|
||||
var docShell = navigator1.QueryInterface(SpecialPowers.Ci.nsIDocShell);
|
||||
var docviewer = docShell.contentViewer.QueryInterface(SpecialPowers.Ci.nsIMarkupDocumentViewer);
|
||||
docviewer.textZoom=i;
|
||||
i=i+0.2;
|
||||
if (i>10)
|
||||
i = 0;
|
||||
}
|
||||
setInterval(doe, 50);
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
text⊹𒏺뱬𓕢𐡗␣㤫<sup>⊹𒏺뱬𓕢𐡗␣㤫
|
||||
text
|
||||
</body>
|
||||
</html>
|
@ -1,37 +0,0 @@
|
||||
<object>᚛᚛᚛᚛᚛᚛᚛᚛᚛᚛
|
||||
᚛᚛᚛᚛᚛
|
||||
᚛᚛᚛᚛᚛᚛᚛᚛᚛᚛
|
||||
᚛᚛᚛᚛
|
||||
<i>᚛᚛᚛᚛᚛᚛᚛᚛᚛᚛
|
||||
|
||||
<script>
|
||||
var doc = document;
|
||||
if (document.getElementById('content')) {
|
||||
doc = document.getElementById('content').contentDocument;
|
||||
}
|
||||
|
||||
var docviewer;
|
||||
function do_onload() {
|
||||
var navigator1 = SpecialPowers.wrap(parent).QueryInterface(SpecialPowers.Ci.nsIInterfaceRequestor).getInterface(SpecialPowers.Ci.nsIWebNavigation);
|
||||
var docShell = navigator1.QueryInterface(SpecialPowers.Ci.nsIDocShell);
|
||||
docviewer = docShell.contentViewer;
|
||||
|
||||
setTimeout(doe,500, 0.2);
|
||||
}
|
||||
do_onload();
|
||||
|
||||
|
||||
|
||||
function doe(i) {
|
||||
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
||||
docviewer.textZoom += i;
|
||||
|
||||
if (docviewer.textZoom >=4)
|
||||
i = -0.2;
|
||||
|
||||
if (docviewer.textZoom <=0)
|
||||
i = 0.2;
|
||||
window.status = docviewer.textZoom;
|
||||
setTimeout(doe, 100, i);
|
||||
}
|
||||
</script>
|
@ -12,9 +12,6 @@ load 345576-1.html
|
||||
load 345629-1.html
|
||||
load 348462-1.html
|
||||
load 348462-2.html
|
||||
skip load 358732-1.xhtml # Bug 1226751
|
||||
load 358732-2.svg
|
||||
load 358732-3.html
|
||||
load 366643.html
|
||||
load 369688-1.html
|
||||
load 369947-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user