Bug 894150 - Test.

This commit is contained in:
Paul Adenot 2013-07-16 17:39:13 +02:00
parent 2e37cdb786
commit ed960be5bf
2 changed files with 22 additions and 0 deletions

View File

@ -27,6 +27,7 @@ MOCHITEST_FILES := \
test_bug867203.html \
test_bug875221.html \
test_bug875402.html \
test_bug894150.html \
test_analyserNode.html \
test_AudioBuffer.html \
test_AudioContext.html \

View File

@ -0,0 +1,21 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Crashtest for bug 894150</title>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<script>
var ac = AudioContext();
ac.createPanner();
var listener = ac.listener;
SpecialPowers.forceGC();
SpecialPowers.forceCC();
listener.setOrientation(0, 0, -1, 0, 0, 0);
ok(true, "No crashes should happen!");
</script>
</body>