mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
9ca5fd2c13
These crashtests now throw, because we run XUL tests in content, and they create forbidden objects and fail the CanCreateWrapper check. Unfortunately, the crashtest harness isn't set up to catch onerror. And even if they were, they wouldn't be testing what they wanted to, because all of the relevant work here happens in onload. --HG-- rename : content/xul/content/crashtests/236853.rdf => content/xul/content/test/file_bug236853.rdf rename : content/xul/templates/src/crashtests/330010-1.rdf => content/xul/templates/tests/chrome/file_bug330010.rdf rename : content/xul/templates/src/crashtests/329335-1.xul => content/xul/templates/tests/chrome/test_bug329335.xul rename : content/xul/templates/src/crashtests/330010-1.xul => content/xul/templates/tests/chrome/test_bug330010.xul
29 lines
731 B
XML
29 lines
731 B
XML
<?xml version="1.0"?>
|
|
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
|
<?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
|
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns:svg="http://www.w3.org/2000/svg">
|
|
|
|
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
|
|
<script>
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
|
|
function init()
|
|
{
|
|
document.documentElement.appendChild(document.getElementById("svg"));
|
|
ok(true, "Didn't crash");
|
|
SimpleTest.finish();
|
|
}
|
|
|
|
window.addEventListener("load", init, false);
|
|
|
|
</script>
|
|
|
|
|
|
<svg:svg datasources="" id="svg"/>
|
|
|
|
|
|
</window>
|