https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 676c178fc2825dcabac4af6389cf7aab836d69a1 authored by Simon Pieters on 07 September 2018, 17:45:23 UTC
Fix legend-default-style.html
Tip revision: 676c178
SpeechRecognition-basics.https.html
<!DOCTYPE html>
<title>SpeechRecognition basics</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
  const reco = new SpeechRecognition();
  assert_equals(reco.grammars.length, 0, 'SpeechRecognition.grammars.length');
  assert_equals(reco.lang, '', 'SpeechRecognition.lang');
  assert_false(reco.continuous, 'SpeechRecognition.continuous');
  assert_false(reco.interimResults, 'SpeechRecognition.interimResults');
  assert_equals(reco.maxAlternatives, 1, 'SpeechRecognition.maxAlternatives');
});
</script>
back to top