[common][speech][fix 2 tc issue] 95/209195/1
authorzhongyuan <zy123.yuan@samsung.com>
Wed, 3 Jul 2019 09:35:43 +0000 (17:35 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Wed, 3 Jul 2019 09:35:43 +0000 (17:35 +0800)
Change-Id: Ibfbe775b1fded441aba1192c37e820e0f8e9450b

common/tct-speech-w3c-tests/speech/SpeechRecognitionAlternative_confidence_attribute.html
common/tct-speech-w3c-tests/speech/SpeechRecognitionAlternative_transcript_attribute.html

index 0ac3f5f9d871cd590d4f5286d8a359010af5bc03..2c0f5eb10ea0d338ba6025d4e91a2025fa4450fa 100755 (executable)
@@ -68,7 +68,7 @@ recognition.onresult = function(event) {
 
 recognition.onerror = function (event) {
     testResult = event.error + ": " + event.message;
-    result_span.innerHTML = testResult;
+    final_span.innerHTML = testResult;
 }
 
 function start() {
index bffb5b1034062553565c12a9e87f9deebf6a3034..656c31d682b74b45791588a13d9e45e30e3a5131 100755 (executable)
@@ -68,7 +68,7 @@ recognition.onresult = function(event) {
 
 recognition.onerror = function (event) {
     testResult = event.error + ": " + event.message;
-    result_span.innerHTML = testResult;
+    final_span.innerHTML = testResult;
 }
 
 function start() {