mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 03:49:42 +00:00
Add a crashtest
This commit is contained in:
parent
7579cbd98c
commit
885d0e6003
33
content/xbl/crashtests/368276-1.xhtml
Normal file
33
content/xbl/crashtests/368276-1.xhtml
Normal file
@ -0,0 +1,33 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="reftest-wait">
|
||||
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var quote = document.getElementById("quote");
|
||||
var para = document.getElementById("para");
|
||||
var dialog = document.getElementById("dialog");
|
||||
var e = document.getElementById("e");
|
||||
|
||||
dialog.appendChild(quote);
|
||||
e.insertBefore(quote, para);
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="setTimeout(boom, 30)">
|
||||
|
||||
<p>He said <q id="quote">J<xul:hbox/></q></p>
|
||||
|
||||
<xul:dialog id="dialog"/>
|
||||
|
||||
<div id="e"><p id="para">Foopy</p></div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,2 +1,3 @@
|
||||
load 368276-1.xhtml
|
||||
load 382376-1.xhtml
|
||||
load 382376-2.xhtml
|
||||
|
Loading…
x
Reference in New Issue
Block a user