зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1519956, remove box object related crashtests that will no longer be applicable with no box objects, r=bzbarsky
--HG-- extra : rebase_source : d5dc1a25a740f9d95d00b261873a150f657c05d5
This commit is contained in:
Родитель
eba6cadac2
Коммит
bdd278ae2c
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<script>
|
||||
<![CDATA[
|
||||
try {
|
||||
document.getBoxObjectFor({});
|
||||
} catch(e) { }
|
||||
]]>
|
||||
</script>
|
||||
</window>
|
|
@ -11,7 +11,6 @@ load 308120-1.xul
|
|||
load 325730-1.html
|
||||
load 326618-1.html
|
||||
load 326646-1.html
|
||||
load 326778-1.xul
|
||||
load 326865-1.html
|
||||
load 327571-1.html
|
||||
load 327694.html
|
||||
|
|
|
@ -308,7 +308,6 @@ skip-if = toolkit == 'android'
|
|||
[test_bug338679.html]
|
||||
[test_bug339494.html]
|
||||
[test_bug339494.xhtml]
|
||||
[test_bug340571.html]
|
||||
[test_bug343596.html]
|
||||
[test_bug345339.html]
|
||||
[test_bug346485.html]
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=340571
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 340571</title>
|
||||
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=340571">Mozilla Bug 340571</a>
|
||||
<p id="display"></p>
|
||||
<div><select id="sel"></select></div>
|
||||
<script type="application/javascript">
|
||||
ok(!document.getBoxObjectFor, "Detecting getBoxObjectFor");
|
||||
try {
|
||||
document.getBoxObjectFor(document.body);
|
||||
ok(false, "getBoxObjectFor succeeded");
|
||||
} catch (e) {
|
||||
ok(true, "getBoxObjectFor succeeded");
|
||||
}
|
||||
|
||||
var sel = document.getElementById("sel");
|
||||
ok(!sel.boxObject, "Getting boxObject");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,10 +0,0 @@
|
|||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Testcase bug 326644 - Crash when changing enumerated properties of objects in xul">
|
||||
<html:script><![CDATA[
|
||||
function doe() {
|
||||
document.documentElement.boxObject.firstChild.hidden = true;
|
||||
document.documentElement.boxObject.firstChild.tooltip = 'test';
|
||||
}
|
||||
setTimeout(doe,100);
|
||||
]]></html:script>
|
||||
</window>
|
|
@ -1,9 +0,0 @@
|
|||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
setTimeout('document.documentElement.className = ""', 1000);
|
||||
</script>
|
||||
<body>
|
||||
<iframe src="326644-2-inner.xul"></iframe>
|
||||
</body>
|
||||
</html>
|
|
@ -4,7 +4,6 @@ load 253479-1.xul
|
|||
load 253479-2.xul
|
||||
load 326204-1.xul
|
||||
load 326644-1.html
|
||||
load 326644-2.html
|
||||
load 326864-1.xul
|
||||
load 326875-1.xul
|
||||
load 326881-1.xul
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<script>
|
||||
<![CDATA[
|
||||
function init()
|
||||
{
|
||||
var span = document.getElementsByTagName("span")[0];
|
||||
var boxobj = document.getBoxObjectFor(span);
|
||||
try {
|
||||
boxobj.setPropertyAsSupports(undefined, undefined);
|
||||
} catch(e) {
|
||||
}
|
||||
}
|
||||
window.addEventListener("load", init, false);
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<span></span>
|
||||
|
||||
</body>
|
||||
</window>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<script>
|
||||
<![CDATA[
|
||||
document.getBoxObjectFor(document.getElementsByTagName("body")[0]).setProperty("foo", undefined);
|
||||
]]>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</window>
|
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<script>
|
||||
<![CDATA[
|
||||
var boxy = document.getBoxObjectFor(document.getElementsByTagName("body")[0]);
|
||||
boxy.setPropertyAsSupports("zoink", undefined);
|
||||
try {
|
||||
boxy.removeProperty(undefined);
|
||||
} catch(e) { }
|
||||
]]>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</window>
|
|
@ -1,7 +0,0 @@
|
|||
<triple xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="display: block;">
|
||||
<box style="display: block; position: relative; -moz-binding: url(data:text/xml;charset=utf-8,%3Cbindings%20xmlns%3D%22http%3A//www.mozilla.org/xbl%22%3E%0A%3Cbinding%20id%3D%22a%22%3E%0A%3Cimplementation%3E%0A%3Cfield%20name%3D%22_field%22%3Ethis.ownerDocument.getBoxObjectFor%28this.ownerDocument.documentElement%29%3B%3C/field%3E%0A%3C/implementation%3E%0A%3Ccontent%3E%0A%3C/binding%3E%0A%3C/bindings%3E);">
|
||||
<box style="position: fixed; -moz-binding: url(data:text/xml;charset=utf-8,%3Cbindings%20xmlns%3D%22http%3A//www.mozilla.org/xbl%22%3E%0A%3Cbinding%20id%3D%22a%22%3E%0A%3Ccontent%3E%0A%3Cchildren%20xmlns%3D%22http%3A//www.mozilla.org/xbl%22/%3E%3C/content%3E%3C/binding%3E%3C/bindings%3E);"/>
|
||||
<iframe/>
|
||||
</box>
|
||||
<scrollbox onoverflow="document.documentElement.removeAttribute('style')"/>
|
||||
</triple>
|
|
@ -15,15 +15,12 @@ load 321056-1.xhtml
|
|||
load 322786-1.xul
|
||||
load 325377.xul
|
||||
load 326879-1.xul
|
||||
load 327776-1.xul
|
||||
load 328135-1.xul
|
||||
load 329327-1.xul
|
||||
load 329407-1.xml
|
||||
load 329477-1.xhtml
|
||||
load 336962-1.xul
|
||||
load 344228-1.xul
|
||||
load 346083-1.xul
|
||||
load 346281-1.xul
|
||||
load 350460.xul
|
||||
load 365151.xul
|
||||
load 366112-1.xul
|
||||
|
@ -49,7 +46,6 @@ load 391974-1.html
|
|||
load 399013.xul
|
||||
load 402912-1.xhtml
|
||||
load 404192.xhtml
|
||||
load 407152.xul
|
||||
load 408904-1.xul
|
||||
load 412479-1.xhtml
|
||||
load 417509.xul
|
||||
|
|
Загрузка…
Ссылка в новой задаче