mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
22 lines
509 B
HTML
22 lines
509 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>Test whether we can create an AudioContext interface</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>
|