Fixes due to changes in testharness.js: reinstate long timeout, load scripts using same protocol as parent file (http or https). default tip
authorGlen Shires <gshires@google.com>
Fri, 20 Feb 2015 09:41:13 -0800
changeset 76 4f41ea1126bb
parent 75 6117f5bea58d
Fixes due to changes in testharness.js: reinstate long timeout, load scripts using same protocol as parent file (http or https).
conformance/abort.html
conformance/index.html
conformance/nospeech.html
conformance/onresult.html
conformance/stop.html
--- a/conformance/abort.html	Fri Feb 20 08:58:23 2015 -0800
+++ b/conformance/abort.html	Fri Feb 20 09:41:13 2015 -0800
@@ -3,9 +3,9 @@
   <head>
     <meta charset="utf-8">
     <title>SpeechRecognition.abort</title>
-    <script type="text/javascript" src="https://w3c-test.org/resources/testharness.js">
+    <script type="text/javascript" src="//w3c-test.org/resources/testharness.js">
     </script>
-    <script type="text/javascript" src="https://w3c-test.org/resources/testharnessreport.js">
+    <script type="text/javascript" src="//w3c-test.org/resources/testharnessreport.js">
     </script>
     <script type="text/javascript" src="webspeech.js"></script>
   </head>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/conformance/index.html	Fri Feb 20 09:41:13 2015 -0800
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <title>Conformance tests for Web Speech API SpeechRecognition</title>
+  </head>
+  <body>
+    <h1>Conformance tests for Web Speech API SpeechRecognition</h1>
+    <hr>
+    <h2>This test requires you to speak.</h2>
+    <ul>
+      <li><a href="onresult.html">onresult</a></li>
+    </ul>
+    <hr>
+    <h2>Run these tests in relative silence (do not speak).</h2>
+    <ul>
+      <li><a href="stop.html">stop</a></li>
+      <li><a href="abort.html">abort</a></li>
+      <li><a href="nospeech.html">nospeech</a></li>
+    </ul>
+  </body>
+</html>
+
--- a/conformance/nospeech.html	Fri Feb 20 08:58:23 2015 -0800
+++ b/conformance/nospeech.html	Fri Feb 20 09:41:13 2015 -0800
@@ -3,9 +3,9 @@
   <head>
     <meta charset="utf-8">
     <title>SpeechRecognition.onerror no-speech</title>
-    <script type="text/javascript" src="https://w3c-test.org/resources/testharness.js">
+    <script type="text/javascript" src="//w3c-test.org/resources/testharness.js">
     </script>
-    <script type="text/javascript" src="https://w3c-test.org/resources/testharnessreport.js">
+    <script type="text/javascript" src="//w3c-test.org/resources/testharnessreport.js">
     </script>
     <script type="text/javascript">
       var TIMEOUT_OVERRIDE = 10000;  // In milliseconds.
--- a/conformance/onresult.html	Fri Feb 20 08:58:23 2015 -0800
+++ b/conformance/onresult.html	Fri Feb 20 09:41:13 2015 -0800
@@ -2,10 +2,11 @@
 <html>
   <head>
     <meta charset="utf-8">
+    <meta name="timeout" content="long">
     <title>SpeechRecognition.onresult</title>
-    <script type="text/javascript" src="https://w3c-test.org/resources/testharness.js">
+    <script type="text/javascript" src="//w3c-test.org/resources/testharness.js">
     </script>
-    <script type="text/javascript" src="https://w3c-test.org/resources/testharnessreport.js">
+    <script type="text/javascript" src="//w3c-test.org/resources/testharnessreport.js">
     </script>
     <script type="text/javascript">
       var TIMEOUT_OVERRIDE = 60000;  // In milliseconds.
--- a/conformance/stop.html	Fri Feb 20 08:58:23 2015 -0800
+++ b/conformance/stop.html	Fri Feb 20 09:41:13 2015 -0800
@@ -3,9 +3,9 @@
   <head>
     <meta charset="utf-8">
     <title>SpeechRecognition.stop</title>
-    <script type="text/javascript" src="https://w3c-test.org/resources/testharness.js">
+    <script type="text/javascript" src="//w3c-test.org/resources/testharness.js">
     </script>
-    <script type="text/javascript" src="https://w3c-test.org/resources/testharnessreport.js">
+    <script type="text/javascript" src="//w3c-test.org/resources/testharnessreport.js">
     </script>
     <script type="text/javascript" src="webspeech.js"></script>
   </head>