mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 752226 - Tests. r=evilpie
This commit is contained in:
parent
fb630ae705
commit
c03caf74d6
4
content/base/crashtests/752226-1.html
Normal file
4
content/base/crashtests/752226-1.html
Normal file
@ -0,0 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<script>
|
||||
var worker = new Worker("data:text/javascript,setTimeout(null)");
|
||||
</script>
|
4
content/base/crashtests/752226-2.html
Normal file
4
content/base/crashtests/752226-2.html
Normal file
@ -0,0 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<script>
|
||||
document.createElement("video").src = null
|
||||
</script>
|
@ -107,4 +107,6 @@ load 713417.html
|
||||
load 713417-2.html
|
||||
load 715056.html
|
||||
load 741163-1.html
|
||||
load 752226-1.html
|
||||
load 752226-2.html
|
||||
HTTP(..) load xhr_abortinprogress.html
|
||||
|
@ -73,6 +73,8 @@ _CHROME_FILES = \
|
||||
test_bug599295.html \
|
||||
test_bug650776.html \
|
||||
test_bug650784.html \
|
||||
test_bug752226-3.xul \
|
||||
test_bug752226-4.xul \
|
||||
$(NULL)
|
||||
|
||||
libs:: $(_TEST_FILES)
|
||||
|
28
content/base/test/chrome/test_bug752226-3.xul
Normal file
28
content/base/test/chrome/test_bug752226-3.xul
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
|
||||
type="text/css"?>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=752226
|
||||
-->
|
||||
<window title="Mozilla Bug 752226"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
|
||||
|
||||
<!-- test results are displayed in the html:body -->
|
||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
||||
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=752226"
|
||||
target="_blank">Mozilla Bug 752226</a>
|
||||
</body>
|
||||
|
||||
<!-- test code goes here -->
|
||||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
/** Test for Bug 752226 **/
|
||||
try {
|
||||
new File(null);
|
||||
} catch (e) {}
|
||||
ok(true, "Didn't crash");
|
||||
]]>
|
||||
</script>
|
||||
</window>
|
28
content/base/test/chrome/test_bug752226-4.xul
Normal file
28
content/base/test/chrome/test_bug752226-4.xul
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
|
||||
type="text/css"?>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=752226
|
||||
-->
|
||||
<window title="Mozilla Bug 752226"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
|
||||
|
||||
<!-- test results are displayed in the html:body -->
|
||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
||||
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=752226"
|
||||
target="_blank">Mozilla Bug 752226</a>
|
||||
</body>
|
||||
|
||||
<!-- test code goes here -->
|
||||
<script type="application/javascript">
|
||||
<![CDATA[
|
||||
/** Test for Bug 752226 **/
|
||||
try {
|
||||
new Components.utils.Sandbox("about:blank", null);
|
||||
} catch (e) {}
|
||||
ok(true, "Didn't crash");
|
||||
]]>
|
||||
</script>
|
||||
</window>
|
Loading…
Reference in New Issue
Block a user