зеркало из https://github.com/mozilla/pjs.git
Add crashtests for XUL leak bugs
This commit is contained in:
Родитель
41fff61d8b
Коммит
b4e4859325
|
@ -0,0 +1,15 @@
|
|||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
var wiz = document.createElementNS(XUL_NS, "wizard");
|
||||
var btn = document.createElementNS(XUL_NS, "hbox");
|
||||
btn.setAttribute("anonid", "Buttons");
|
||||
wiz.appendChild(btn);
|
||||
wiz.cloneNode(true);
|
||||
}
|
||||
|
||||
</script>
|
||||
</window>
|
|
@ -0,0 +1,21 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
<![CDATA[
|
||||
|
||||
function boom()
|
||||
{
|
||||
var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
var prefs = document.createElementNS(XUL_NS, "preferences");
|
||||
var textbox = document.createElementNS(XUL_NS, "textbox");
|
||||
textbox.setAttribute("onchange", "1");
|
||||
prefs.appendChild(textbox);
|
||||
prefs.cloneNode(true);
|
||||
}
|
||||
|
||||
]]>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
|
@ -7,3 +7,5 @@ load 354611-1.html
|
|||
load 360078-1.xhtml
|
||||
load 363791-1.xul
|
||||
load 386947-1.xul
|
||||
load 425821-1.xul
|
||||
load 429085-1.xhtml
|
||||
|
|
Загрузка…
Ссылка в новой задаче