First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35745 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
18
mozilla/webshell/tests/viewer/samples/beeptest.html
Normal file
18
mozilla/webshell/tests/viewer/samples/beeptest.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Sound Service Beep Example</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script>
|
||||
var sample = Components.classes["component://netscape/sound"].createInstance();
|
||||
sample = sample.QueryInterface(Components.interfaces.nsISound);
|
||||
dump("sample = " + sample + "\n");
|
||||
|
||||
</script>
|
||||
|
||||
<form name="form">
|
||||
<input type="button" value="Beep" onclick="sample.Beep();">
|
||||
<form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user