зеркало из https://github.com/mozilla/pjs.git
Add crashtests for bug 468211
This commit is contained in:
Родитель
5fc0f455da
Коммит
78e123eeca
|
@ -0,0 +1,23 @@
|
||||||
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="-moz-binding:url(#xbl2)" class="reftest-wait">
|
||||||
|
<tooltip/>
|
||||||
|
|
||||||
|
<script id="script" xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
function doe() {
|
||||||
|
document.getElementsByTagName('tooltip')[0].setAttribute('style', '-moz-binding:url(#xbl)');
|
||||||
|
document.getElementsByTagName('tooltip')[0].setAttribute('onDOMAttrModified', 'this.focus()');
|
||||||
|
document.documentElement.removeAttribute("class");
|
||||||
|
}
|
||||||
|
setTimeout(doe, 1);
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<bindings xmlns="http://www.mozilla.org/xbl" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
|
<binding id="xbl">
|
||||||
|
<content>
|
||||||
|
<xul:box onbroadcast="document.documentElement.setAttribute('a','a')" id="g"/>
|
||||||
|
<xul:box onDOMAttrModified="document.documentElement.style.display = 'none'" observes="g"/>
|
||||||
|
</content>
|
||||||
|
</binding>
|
||||||
|
|
||||||
|
<binding id="xbl2"></binding>
|
||||||
|
</bindings>
|
||||||
|
</window>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||||
|
|
||||||
|
<binding id="xbl">
|
||||||
|
|
||||||
|
<content>
|
||||||
|
<mrow xmlns="http://www.w3.org/1998/Math/MathML" id="f">
|
||||||
|
<box observes="f" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/>
|
||||||
|
</mrow>
|
||||||
|
</content>
|
||||||
|
|
||||||
|
</binding>
|
||||||
|
</bindings>
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
||||||
|
|
||||||
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
|
<html:div onDOMAttrModified="this.parentNode.removeChild(this)">
|
||||||
|
<html:div/>
|
||||||
|
<html:style>div {-moz-binding:url(468211-2-binding.xml#xbl);</html:style>
|
||||||
|
</html:div>
|
||||||
|
|
||||||
|
</window>
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
||||||
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
|
<box style="-moz-binding:url(#xbl)"/>
|
||||||
|
|
||||||
|
|
||||||
|
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||||
|
<binding id="xbl" inheritstyle="false">
|
||||||
|
<content>
|
||||||
|
<g xmlns="http://www.w3.org/2000/svg" onDOMAttrModified="document.removeChild(document.documentElement)" id="a"/>
|
||||||
|
<box xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" observes="a"/>
|
||||||
|
|
||||||
|
<children xmlns="http://www.mozilla.org/xbl"/>
|
||||||
|
|
||||||
|
</content>
|
||||||
|
</binding>
|
||||||
|
</bindings>
|
||||||
|
|
||||||
|
</window>
|
|
@ -2,4 +2,7 @@ load 326204-1.xul
|
||||||
load 344215-1.xul
|
load 344215-1.xul
|
||||||
load 386914-1.html
|
load 386914-1.html
|
||||||
load 428951-1.xul
|
load 428951-1.xul
|
||||||
|
load 468211-1.xul
|
||||||
|
skip load 468211-2.xul # Bug 509269
|
||||||
|
load 468211-3.xul
|
||||||
load 495635-1.xul
|
load 495635-1.xul
|
||||||
|
|
Загрузка…
Ссылка в новой задаче