mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 752226 - Tests. r=evilpie
--HG-- extra : rebase_source : 7a0d155ab7d7898ca4c96b86ae6f706172c7c71f
This commit is contained in:
parent
1941fb1bb4
commit
6ac8484e0e
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)
|
||||
|
27
content/base/test/chrome/test_bug752226-3.xul
Normal file
27
content/base/test/chrome/test_bug752226-3.xul
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
|
||||
<?xml-stylesheet type="text/css" href="/tests/SimpleTest/test.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="/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>
|
25
content/base/test/chrome/test_bug752226-4.xul
Normal file
25
content/base/test/chrome/test_bug752226-4.xul
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
|
||||
<?xml-stylesheet type="text/css" href="/tests/SimpleTest/test.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="/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 **/
|
||||
new Components.utils.Sandbox("about:blank", null);
|
||||
ok(true, "Didn't crash.");
|
||||
]]>
|
||||
</script>
|
||||
</window>
|
Loading…
Reference in New Issue
Block a user