Bug 22110 - Javascript decoding data
authorAdrian Bateman <adrianba@microsoft.com>
Tue, 25 Jun 2013 07:46:12 -0700
changeset 133 1032b19ff6e9
parent 132 63675668846c
child 134 f4d8dc9bdacc
Bug 22110 - Javascript decoding data
media-source/media-source-respec.html
media-source/media-source.html
--- a/media-source/media-source-respec.html	Wed Jun 05 07:34:10 2013 -0700
+++ b/media-source/media-source-respec.html	Tue Jun 25 07:46:12 2013 -0700
@@ -1,4 +1,4 @@
-<!DOCTYPE html SYSTEM "about:legacy-compat">
+<!DOCTYPE html SYSTEM "about:legacy-compat">
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -238,12 +238,12 @@
         <dt>network</dt>
         <dd>
           <p>Terminates playback and signals that a network error has occured.</p>
-          <p class="note">If the JavaScript fetching media data encounters a network error it should use this status code to terminate playback.</p>
+          <p class="note">JavaScript applications should use this status code to terminate playback with a network error. For example, if a network error occurs while fetching media data.</p>
         </dd>
         <dt>decode</dt>
         <dd>
           <p>Terminates playback and signals that a decoding error has occured.</p>
-          <p class="note">If the JavaScript code fetching media data has problems parsing the data it should use this status code to terminate playback.</p>
+          <p class="note">JavaScript applications should use this status code to terminate playback with a decode error. For example, if a parsing error occurs while processing out-of-band media data.</p>
         </dd>
       </dl>
 
--- a/media-source/media-source.html	Wed Jun 05 07:34:10 2013 -0700
+++ b/media-source/media-source.html	Tue Jun 25 07:46:12 2013 -0700
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
 <html lang="en" dir="ltr">
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -432,7 +432,7 @@
   </p>
   <h1 class="title" id="title">Media Source Extensions</h1>
   
-  <h2 id="w3c-editor-s-draft-05-june-2013"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft 05 June 2013</h2>
+  <h2 id="w3c-editor-s-draft-25-june-2013"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft 25 June 2013</h2>
   <dl>
     
       <dt>This version:</dt>
@@ -667,10 +667,10 @@
     "<a href="#idl-def-EndOfStreamError.decode" class="idlEnumItem">decode</a>"
 };</span></pre><table class="simple"><tr><th colspan="2">Enumeration description</th></tr><tr><td><code id="idl-def-EndOfStreamError.network">network</code></td><td>
           <p>Terminates playback and signals that a network error has occured.</p>
-          <div class="note"><div class="note-title"><span>Note</span></div><p class="">If the JavaScript fetching media data encounters a network error it should use this status code to terminate playback.</p></div>
+          <div class="note"><div class="note-title"><span>Note</span></div><p class="">JavaScript applications should use this status code to terminate playback with a network error. For example, if a network error occurs while fetching media data.</p></div>
         </td></tr><tr><td><code id="idl-def-EndOfStreamError.decode">decode</code></td><td>
           <p>Terminates playback and signals that a decoding error has occured.</p>
-          <div class="note"><div class="note-title"><span>Note</span></div><p class="">If the JavaScript code fetching media data has problems parsing the data it should use this status code to terminate playback.</p></div>
+          <div class="note"><div class="note-title"><span>Note</span></div><p class="">JavaScript applications should use this status code to terminate playback with a decode error. For example, if a parsing error occurs while processing out-of-band media data.</p></div>
         </td></tr></table>
 
       <pre class="idl"><span class="idlInterface" id="idl-def-MediaSource">[<span class="extAttr">Constructor</span>]
@@ -3064,4 +3064,4 @@
 </dd><dt id="bib-HTML5">[HTML5]</dt><dd>Robin Berjon et al. <a href="http://www.w3.org/TR/html5/"><cite>HTML5</cite></a>. 17 December 2012. W3C Candidate Recommendation. URL: <a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a>
 </dd><dt id="bib-STREAMS-API">[STREAMS-API]</dt><dd>Feras Moussa. <a href="http://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm"><cite>Streams API</cite></a>. 25 October 2012. W3C Editor's Draft. URL: <a href="http://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm">http://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm</a>
 </dd><dt id="bib-TYPED-ARRAYS">[TYPED-ARRAYS]</dt><dd>David Herman, Kenneth Russell. <a href="https://www.khronos.org/registry/typedarray/specs/latest/"><cite>Typed Arrays</cite></a> Khronos Working Draft. (Work in progress.) URL: <a href="https://www.khronos.org/registry/typedarray/specs/latest/">https://www.khronos.org/registry/typedarray/specs/latest/</a> 
-</dd></dl></section></section><form action="//www.w3.org/Bugs/Public/enter_bug.cgi" target="_blank" style="position: fixed; width: 10em; top: 1em; right: 1em; font-family: Tahoma, sans-serif; font-size: 11px; opacity: 0.8; text-align: right;">See a problem? Select text and <input type="submit" accesskey="f" value="file a bug" style="font-family: Tahoma, sans-serif; font-size: 10px;"><input type="hidden" name="comment" value=""><input type="hidden" name="short_desc" value="[MSE] "><input type="hidden" name="product" value="HTML WG"><input type="hidden" name="component" value="Media Source Extensions">.</form></body></html>
+</dd></dl></section></section><form action="//www.w3.org/Bugs/Public/enter_bug.cgi" target="_blank" style="position: fixed; width: 10em; top: 1em; right: 1em; font-family: Tahoma, sans-serif; font-size: 11px; opacity: 0.8; text-align: right;">See a problem? Select text and <input type="submit" accesskey="f" value="file a bug" style="font-family: Tahoma, sans-serif; font-size: 10px;"><input type="hidden" name="comment" value=""><input type="hidden" name="short_desc" value="[MSE] "><input type="hidden" name="product" value="HTML WG"><input type="hidden" name="component" value="Media Source Extensions">.</form></body></html>
\ No newline at end of file