summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/speech/scripted/speechrecognitionerror-basics.html
blob: 2ed03b086619c7a9c901cbb32f52e07cae3aecec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../../resources/js-test.js"></script>
</head>
<body>
<script type="text/javascript">
description('Tests the basics of the SpeechRecognitionError interface');

function run() {
    // Check availability of constructor.
    shouldBeTrue("'webkitSpeechRecognitionError' in window");
    shouldBeFalse("webkitSpeechRecognitionError == null");

    finishJSTest();
}

window.onload = run;
window.jsTestIsAsync = true;
</script>
</body>
</html>