mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 894150 - Test.
This commit is contained in:
parent
2e37cdb786
commit
ed960be5bf
@ -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 \
|
||||
|
21
content/media/webaudio/test/test_bug894150.html
Normal file
21
content/media/webaudio/test/test_bug894150.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user