publish/wd-streams-api-20141023.html
author Art Barstow <art.barstow@gmail.com>
Tue, 21 Oct 2014 10:31:19 -0400
changeset 168 b5754fd002d3
parent 167 279185b12a8b
child 169 891635210233
permissions -rw-r--r--
Add missing URL for WebApps patent disclosure page
167
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
     1
<!DOCTYPE html>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
     2
<html lang="en" dir="ltr" typeof="bibo:Document w3p:WD" about="" property="dcterms:language" content="en">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
     3
<head>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
     4
	<title>Streams API</title>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
     5
	<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
     6
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
     7
	<!-- <script class=remove src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js"></script> -->
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
     8
	
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
     9
	<!-- <script class="remove" src="respec-w3c-common.js"></script> -->
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    10
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    11
	
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    12
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    13
	<!-- Styles to mimic File API spec -->
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    14
	<!-- <style type="text/css"> -->
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    15
	<!-- 	table.error { border-collapse:collapse; border-style:hidden hidden none hidden } -->
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    16
	<!-- 	table.error thead { border-bottom:solid } -->
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    17
	<!-- 	table.error tbody th:first-child { border-left:solid } -->
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    18
	<!-- 	table.error td, table th { border-left:solid; border-right:solid; border-bottom:solid thin; vertical-align:top; padding:0.2em } -->
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    19
	<!-- </style> -->
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    20
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    21
<style>/*****************************************************************
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    22
 * ReSpec 3 CSS
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    23
 * Robin Berjon - http://berjon.com/
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    24
 *****************************************************************/
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    25
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    26
/* --- INLINES --- */
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    27
em.rfc2119 { 
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    28
    text-transform:     lowercase;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    29
    font-variant:       small-caps;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    30
    font-style:         normal;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    31
    color:              #900;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    32
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    33
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    34
h1 acronym, h2 acronym, h3 acronym, h4 acronym, h5 acronym, h6 acronym, a acronym,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    35
h1 abbr, h2 abbr, h3 abbr, h4 abbr, h5 abbr, h6 abbr, a abbr {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    36
    border: none;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    37
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    38
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    39
dfn {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    40
    font-weight:    bold;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    41
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    42
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    43
a.internalDFN {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    44
    color:  inherit;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    45
    border-bottom:  1px solid #99c;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    46
    text-decoration:    none;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    47
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    48
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    49
a.externalDFN {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    50
    color:  inherit;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    51
    border-bottom:  1px dotted #ccc;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    52
    text-decoration:    none;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    53
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    54
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    55
a.bibref {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    56
    text-decoration:    none;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    57
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    58
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    59
cite .bibref {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    60
    font-style: normal;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    61
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    62
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    63
code {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    64
    color:  #C83500;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    65
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    66
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    67
/* --- TOC --- */
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    68
.toc a, .tof a {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    69
    text-decoration:    none;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    70
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    71
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    72
a .secno, a .figno {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    73
    color:  #000;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    74
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    75
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    76
ul.tof, ol.tof {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    77
    list-style: none outside none;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    78
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    79
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    80
.caption {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    81
    margin-top: 0.5em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    82
    font-style:   italic;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    83
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    84
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    85
/* --- TABLE --- */
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    86
table.simple {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    87
    border-spacing: 0;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    88
    border-collapse:    collapse;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    89
    border-bottom:  3px solid #005a9c;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    90
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    91
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    92
.simple th {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    93
    background: #005a9c;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    94
    color:  #fff;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    95
    padding:    3px 5px;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    96
    text-align: left;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    97
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    98
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
    99
.simple th[scope="row"] {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   100
    background: inherit;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   101
    color:  inherit;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   102
    border-top: 1px solid #ddd;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   103
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   104
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   105
.simple td {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   106
    padding:    3px 10px;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   107
    border-top: 1px solid #ddd;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   108
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   109
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   110
.simple tr:nth-child(even) {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   111
    background: #f0f6ff;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   112
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   113
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   114
/* --- DL --- */
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   115
.section dd > p:first-child {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   116
    margin-top: 0;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   117
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   118
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   119
.section dd > p:last-child {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   120
    margin-bottom: 0;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   121
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   122
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   123
.section dd {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   124
    margin-bottom:  1em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   125
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   126
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   127
.section dl.attrs dd, .section dl.eldef dd {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   128
    margin-bottom:  0;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   129
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   130
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   131
@media print {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   132
    .removeOnSave {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   133
        display: none;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   134
    }
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   135
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   136
</style><style>/* --- EXAMPLES --- */
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   137
div.example-title {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   138
    min-width: 7.5em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   139
    color: #b9ab2d;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   140
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   141
div.example-title span {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   142
    text-transform: uppercase;   
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   143
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   144
aside.example, div.example, div.illegal-example {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   145
    padding: 0.5em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   146
    margin: 1em 0;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   147
    position: relative;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   148
    clear: both;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   149
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   150
div.illegal-example { color: red }
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   151
div.illegal-example p { color: black }
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   152
aside.example, div.example {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   153
    padding: .5em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   154
    border-left-width: .5em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   155
    border-left-style: solid;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   156
    border-color: #e0cb52;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   157
    background: #fcfaee;    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   158
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   159
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   160
aside.example div.example {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   161
    border-left-width: .1em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   162
    border-color: #999;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   163
    background: #fff;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   164
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   165
aside.example div.example div.example-title {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   166
    color: #999;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   167
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   168
</style><style>/* --- ISSUES/NOTES --- */
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   169
div.issue-title, div.note-title {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   170
    padding-right:  1em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   171
    min-width: 7.5em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   172
    color: #b9ab2d;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   173
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   174
div.issue-title { color: #e05252; }
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   175
div.note-title { color: #2b2; }
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   176
div.issue-title span, div.note-title span {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   177
    text-transform: uppercase;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   178
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   179
div.note, div.issue {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   180
    margin-top: 1em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   181
    margin-bottom: 1em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   182
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   183
.note > p:first-child, .issue > p:first-child { margin-top: 0 }
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   184
.issue, .note {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   185
    padding: .5em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   186
    border-left-width: .5em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   187
    border-left-style: solid;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   188
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   189
div.issue, div.note {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   190
    padding: 1em 1.2em 0.5em;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   191
    margin: 1em 0;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   192
    position: relative;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   193
    clear: both;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   194
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   195
span.note, span.issue { padding: .1em .5em .15em; }
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   196
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   197
.issue {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   198
    border-color: #e05252;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   199
    background: #fbe9e9;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   200
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   201
.note {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   202
    border-color: #52e052;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   203
    background: #e9fbe9;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   204
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   205
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   206
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   207
</style><link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/W3C-WD"><!--[if lt IE 9]><script src='https://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]--></head>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   208
<body class="h-entry" role="document" id="respecDocument"><div class="head" role="contentinfo" id="respecHeader">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   209
  <p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   210
      
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   211
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   212
            <a href="http://www.w3.org/"><img width="72" height="48" src="https://www.w3.org/Icons/w3c_home" alt="W3C"></a>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   213
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   214
      
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   215
  </p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   216
  <h1 class="title p-name" id="title" property="dcterms:title">Streams API</h1>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   217
  
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   218
  <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-10-23T04:00:00.000Z" id="w3c-working-draft-23-october-2014"><abbr title="World Wide Web Consortium">W3C</abbr> Working Draft <time class="dt-published" datetime="2014-10-23">23 October 2014</time></h2>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   219
  <dl>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   220
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   221
      <dt>This version:</dt>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   222
      <dd><a class="u-url" href="http://www.w3.org/TR/2014/WD-streams-api-20141023/">http://www.w3.org/TR/2014/WD-streams-api-20141023/</a></dd>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   223
      <dt>Latest published version:</dt>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   224
      <dd><a href="http://www.w3.org/TR/streams-api/">http://www.w3.org/TR/streams-api/</a></dd>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   225
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   226
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   227
      <dt>Latest editor's draft:</dt>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   228
      <dd><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>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   229
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   230
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   231
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   232
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   233
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   234
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   235
      <dt>Previous version:</dt>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   236
      <dd><a rel="dcterms:replaces" href="http://www.w3.org/TR/2013/WD-streams-api-20131105/">http://www.w3.org/TR/2013/WD-streams-api-20131105/</a></dd>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   237
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   238
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   239
    <dt>Editors:</dt>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   240
    <dd class="p-author h-card vcard" rel="bibo:editor" inlist=""><span typeof="foaf:Person"><a class="u-url url p-name fn" rel="foaf:homepage" property="foaf:name" content="Feras Moussa" href="mailto:feras.moussa@hotmail.com">Feras Moussa</a>, Invited Expert</span>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   241
</dd>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   242
<dd class="p-author h-card vcard" rel="bibo:editor" inlist=""><span typeof="foaf:Person"><a class="u-url url p-name fn" rel="foaf:homepage" property="foaf:name" content="Takeshi Yoshino" href="mailto:tyoshino@google.com">Takeshi Yoshino</a>, Google, Inc.</span>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   243
</dd>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   244
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   245
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   246
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   247
  </dl>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   248
  
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   249
  
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   250
  
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   251
  
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   252
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   253
      <p class="copyright">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   254
        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> ©
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   255
        2014
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   256
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   257
        <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   258
        (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   259
        <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   260
        <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>), 
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   261
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   262
        All Rights Reserved.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   263
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   264
        <abbr title="World Wide Web Consortium">W3C</abbr> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   265
        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   266
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   267
          <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   268
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   269
        rules apply.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   270
      </p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   271
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   272
  
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   273
  <hr>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   274
</div>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   275
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   276
	
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   277
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   278
	<section id="abstract" class="introductory" property="dcterms:abstract" datatype="" typeof="bibo:Chapter" resource="#abstract" rel="bibo:Chapter"><h2 role="heading" id="h2_abstract">Abstract</h2>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   279
		<p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   280
			<a href="https://github.com/whatwg/streams">WHATWG Streams API</a> provides an API for representing and handling a stream of data in web applications.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   281
			This specification is intended to extend the spec to meet requirements specific to the browser environment.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   282
		</p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   283
	</section><section id="sotd" class="introductory" typeof="bibo:Chapter" resource="#sotd" rel="bibo:Chapter"><h2 role="heading" id="h2_sotd">Status of This Document</h2>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   284
  
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   285
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   286
      
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   287
        <p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   288
          <em>This section describes the status of this document at the time of its publication.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   289
          Other documents may supersede this document. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   290
          latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> technical reports index</a> at
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   291
          http://www.w3.org/TR/.</em>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   292
        </p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   293
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   294
		<p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   295
                  </p><ul>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   296
                    <li>To check recent changes and rationale for them, please visit <a href="https://dvcs.w3.org/hg/streams-api/">Mercurial history</a>.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   297
                    </li><li>Check open bugs at Bugzilla using <a href="https://www.w3.org/Bugs/Public/buglist.cgi?component=Streams%20API">this link</a>.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   298
                    </li><li>If you wish to submit a bug, please use <a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=WebAppsWG&amp;component=Streams%20API">this link</a>.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   299
                  </li></ul>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   300
		<p></p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   301
	
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   302
        <p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   303
          This document was published by the <a href="http://www.w3.org/2008/webapps/"><abbr title="World Wide Web Consortium">W3C</abbr> Web Applications (WebApps)</a> as a Working Draft.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   304
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   305
            This document is intended to become a <abbr title="World Wide Web Consortium">W3C</abbr> Recommendation.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   306
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   307
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   308
            If you wish to make comments regarding this document, please send them to 
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   309
            <a href="mailto:public-webapps@w3.org">public-webapps@w3.org</a> 
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   310
            (<a href="mailto:public-webapps-request@w3.org?subject=subscribe">subscribe</a>,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   311
            <a href="http://lists.w3.org/Archives/Public/public-webapps/">archives</a>).
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   312
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   313
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   314
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   315
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   316
            All comments are welcome.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   317
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   318
        </p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   319
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   320
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   321
          <p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   322
            Publication as a Working Draft does not imply endorsement by the <abbr title="World Wide Web Consortium">W3C</abbr>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   323
            Membership. This is a draft document and may be updated, replaced or obsoleted by other
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   324
            documents at any time. It is inappropriate to cite this document as other than work in
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   325
            progress.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   326
          </p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   327
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   328
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   329
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   330
        <p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   331
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   332
            This document was produced by a group operating under the 
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   333
            <a id="sotd_patent" about="" rel="w3p:patentRules" href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <abbr title="World Wide Web Consortium">W3C</abbr> Patent
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   334
            Policy</a>.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   335
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   336
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   337
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   338
            
168
b5754fd002d3 Add missing URL for WebApps patent disclosure page
Art Barstow <art.barstow@gmail.com>
parents: 167
diff changeset
   339
              <abbr title="World Wide Web Consortium">W3C</abbr> maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of any patent
167
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   340
              disclosures</a> 
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   341
            
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   342
            made in connection with the deliverables of the group; that page also includes
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   343
            instructions for disclosing a patent. An individual who has actual knowledge of a patent
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   344
            which the individual believes contains
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   345
            <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   346
            Claim(s)</a> must disclose the information in accordance with
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   347
            <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   348
            6 of the <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   349
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   350
          
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   351
        </p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   352
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   353
          <p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   354
            This document is governed by the  <a id="w3c_process_revision" href="http://www.w3.org/2005/10/Process-20051014/">14 October 2005 <abbr title="World Wide Web Consortium">W3C</abbr> Process Document</a>.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   355
          </p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   356
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   357
        
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   358
      
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   359
    
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   360
  
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   361
</section><section id="toc"><h2 class="introductory" role="heading" id="h2_toc">Table of Contents</h2><ul class="toc" role="directory" id="respecContents"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a></li><li class="tocline"><a href="#writableStream" class="tocxref"><span class="secno">2. </span>Extension to WritableByteStream</a></li><li class="tocline"><a href="#readableStream" class="tocxref"><span class="secno">3. </span>Extension to ReadableByteStream</a></li><li class="tocline"><a href="#producers-consumers" class="tocxref"><span class="secno">4. </span>Stream Consumers and Producers</a><ul class="toc"><li class="tocline"><a href="#consumers" class="tocxref"><span class="secno">4.1 </span>Stream Consumers</a></li><li class="tocline"><a href="#producers" class="tocxref"><span class="secno">4.2 </span>Stream Producers</a></li></ul></li><li class="tocline"><a href="#security" class="tocxref"><span class="secno">5. </span>Security Considerations</a></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno">A. </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">B. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">B.1 </span>Normative references</a></li></ul></li></ul></section>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   362
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   363
	<section id="introduction" class="section informative" typeof="bibo:Chapter" resource="#introduction" rel="bibo:Chapter">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   364
		<!--OddPage--><h2 role="heading" id="h2_introduction"><span class="secno">1. </span>Introduction</h2><p><em>This section is non-normative.</em></p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   365
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   366
		<p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   367
			Web applications should have the ability to acquire, manipulate, and pass data in a wide variety of forms, including as a sequence of data made available over time.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   368
			This <a href="https://github.com/whatwg/streams">WHATWG Streams API</a> specification defines the basic representation for streams of data, and programmatic ways to read and write streams of data and errors raised on those operations.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   369
                        This <abbr title="World Wide Web Consortium">W3C</abbr> spec had been defining a Streams API, but has been merged into the effort at WHATWG.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   370
                        Feedback made for the <abbr title="World Wide Web Consortium">W3C</abbr> spec has been incorporated into the WHATWG Streams API specification.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   371
                        Currently, the goal of this spec is for discussing and defining extensions to meet requirements specific to the browser environment.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   372
		</p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   373
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   374
		<p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   375
			The WritableStream interface defines a general protocol for <a href="#consumers">data consuming APIs</a> to communicate with data producing code.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   376
			In these cases, the data consuming API, such as a decoder, provides a WritableStream for other applications to write to, enabling the decoder to begin decoding data as it becomes available.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   377
		</p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   378
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   379
		<p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   380
			The ReadableStream interface defines a general protocol for <a href="#producers">data producing APIs</a> to communicate with data consuming code.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   381
			This interface represents the potential for an infinite amount of data which are obtained over time and read once.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   382
		</p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   383
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   384
                <p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   385
                  The ReadableByteStream interface is extended version of ReadableStream which has functionality for high performance binary data handling.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   386
                  As well as Blob, it might be worth providing a way to get a URL from which we can load data stored in a ReadableByteStream.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   387
                </p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   388
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   389
		<p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   390
			The example below demonstrates how to obtain a ReadableByteStream from XMLHttpRequest to begin playing a large video in <code>readystate</code> LOADING.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   391
			The example takes the ReadableByteStream from a <a href="#producers">producer</a>, XMLHttpRequest, and gives it to a <a href="#consumers">consumer</a>, the video tag.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   392
		</p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   393
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   394
		<div class="example"><div class="example-title"><span>Example 1</span></div><pre class="example">function handler() {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   395
  if (this.readyState == this.LOADING) {
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   396
    var rbs = this.response;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   397
    var rbsURL = URL.createObjectURL(rbs);
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   398
    document.getElementById("placeToPlayMyVideo").src = rbsURL;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   399
  }
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   400
}
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   401
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   402
var client = new XMLHttpRequest();
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   403
client.onreadystatechange = handler;
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   404
client.open("GET", "/myvideo");
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   405
client.responseType = "stream";
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   406
client.send();</pre></div>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   407
	</section>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   408
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   409
	<section class="section" id="writableStream" typeof="bibo:Chapter" resource="#writableStream" rel="bibo:Chapter">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   410
          <!--OddPage--><h2 role="heading" id="h2_writableStream"><span class="secno">2. </span>Extension to WritableByteStream</h2>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   411
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   412
          <p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   413
            It might be worth adding an option to pass a pair of a DOMString and an encoding identifier to the write() method.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   414
				This parameter could be provided as an attribute of the stream instead of the argument of the write() method as it's not likely to be changed frequently.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   415
          </p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   416
	</section>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   417
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   418
	<section class="section" id="readableStream" typeof="bibo:Chapter" resource="#readableStream" rel="bibo:Chapter">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   419
	  <!--OddPage--><h2 role="heading" id="h2_readableStream"><span class="secno">3. </span>Extension to ReadableByteStream</h2>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   420
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   421
          <p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   422
            It was discussed that the ReadableByteStream should provide a method to read data in various form such as Blob, ArrayBuffer, etc.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   423
            However, the stream may receive data from the underlying sink without preceding read() call.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   424
            It would be inefficient to create a data holder of the type specified on read() call.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   425
            Type specification method should be done on the API instead of being included in the Streams API.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   426
            The same argument applies to the functionality to specify the encoding using which the read data will be converted into a DOMString.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   427
          </p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   428
	</section>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   429
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   430
	<section class="section" id="producers-consumers" typeof="bibo:Chapter" resource="#producers-consumers" rel="bibo:Chapter">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   431
		<!--OddPage--><h2 role="heading" id="h2_producers-consumers"><span class="secno">4. </span>Stream Consumers and Producers</h2>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   432
		<p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   433
			Byte streams can be both produced and consumed by various APIs. APIs which create streams are identified as producers, and ones which read and act on a byte stream are known as consumers.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   434
			This section identifies some of the notable APIs where Streams may be produced and consumed.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   435
			</p><div class="note"><div class="note-title" aria-level="1" role="heading" id="h_note_1"><span>Note</span></div><section class="">The list of producers and consumers below is not an exhaustive list. It is placed here as informative for the time being.</section></div>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   436
		<p></p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   437
		<section class="section" id="consumers" typeof="bibo:Chapter" resource="#consumers" rel="bibo:Chapter">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   438
			<h3 role="heading" id="h3_consumers"><span class="secno">4.1 </span>Stream Consumers</h3>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   439
			<p>This section outlines APIs which can consume a byte stream</p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   440
			<ul>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   441
				<li>XMLHttpRequest</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   442
				<li>Web Audio</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   443
				<li>Media Source Extensions</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   444
				<li>Web Cryptography API</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   445
				<li>TextEncoder</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   446
				<li>TextDecoder</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   447
				<li>WebSockets</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   448
				<li>RTCPeerConnection</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   449
				<li>FileWriter</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   450
			</ul>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   451
		</section>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   452
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   453
		<section class="section" id="producers" typeof="bibo:Chapter" resource="#producers" rel="bibo:Chapter">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   454
			<h3 role="heading" id="h3_producers"><span class="secno">4.2 </span>Stream Producers</h3>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   455
			<p>This section outlines APIs which can produce a byte stream</p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   456
			<ul>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   457
				<li>XMLHttpRequest</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   458
				<li>FileReader</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   459
				<li>Media Capture</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   460
				<li>MediaStream Recording API</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   461
				<li>Indexed Database</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   462
				<li>Web Cryptography API</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   463
				<li>TextEncoder</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   464
				<li>TextDecoder</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   465
				<li>WebSockets</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   466
				<li>EventSource</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   467
				<li>RTCPeerConnection</li>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   468
			</ul>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   469
		</section>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   470
	</section>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   471
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   472
	<section class="section" id="security" typeof="bibo:Chapter" resource="#security" rel="bibo:Chapter">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   473
		<!--OddPage--><h2 role="heading" id="h2_security"><span class="secno">5. </span>Security Considerations</h2>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   474
		<p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   475
			A ReadableByteStream should have the same security considerations as a <code>Blob</code>.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   476
			This is outlined in <a href="http://dev.w3.org/2006/webapi/FileAPI/#security-discussion">6.8. Security Considerations</a>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   477
			of the File API specification. [<cite><a class="bibref" href="#bib-FILE-API">FILE-API</a></cite>]
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   478
			Because a ReadableByteStream uses a <code>Blob URI</code>, cross origin requests on a ReadableByteStream will not be supported.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   479
		</p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   480
	</section>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   481
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   482
	<section class="appendix" id="acknowledgements">
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   483
		<!--OddPage--><h2 role="heading" id="h2_acknowledgements"><span class="secno">A. </span>Acknowledgements</h2>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   484
		<p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   485
			Thanks to Eliot Graff for editorial assistance.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   486
			Special thanks to the <abbr title="World Wide Web Consortium">W3C</abbr>.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   487
			The editor would like to thank
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   488
			Adrian Bateman,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   489
			Anne van Kesteren,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   490
			Austin William Wright,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   491
			Aymeric Vitte,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   492
			Domenic Denicola,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   493
			Elliott Sprehn,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   494
			Francois-Xavier Kowalski,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   495
			Harris Syed,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   496
			Isaac Schlueter,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   497
			Jonas Sicking,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   498
			Kenneth Russell,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   499
			Kinuko Yasuda,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   500
			Lindsay Verola,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   501
			Michael Davidson,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   502
			Rob Manson,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   503
			Taiju Tsuiki,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   504
			Yusuke Suzuki,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   505
			Yutaka Hirano,
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   506
			for their contributions to this specification.
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   507
		</p>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   508
	</section>
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   509
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   510
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   511
279185b12a8b WD snapshot for 2014 Oct 23
Art Barstow <art.barstow@gmail.com>
parents:
diff changeset
   512
<section id="references" class="appendix" typeof="bibo:Chapter" resource="#references" rel="bibo:Chapter"><!--OddPage--><h2 role="heading" id="h2_references"><span class="secno">B. </span>References</h2><section id="normative-references" typeof="bibo:Chapter" resource="#normative-references" rel="bibo:Chapter"><h3 role="heading" id="h3_normative-references"><span class="secno">B.1 </span>Normative references</h3><dl class="bibliography" about=""><dt id="bib-FILE-API">[FILE-API]</dt><dd rel="dcterms:requires">Arun Ranganathan; Jonas Sicking. <a href="http://www.w3.org/TR/FileAPI/"><cite>File API</cite></a>. 12 September 2013. W3C Last Call Working Draft. URL: <a href="http://www.w3.org/TR/FileAPI/">http://www.w3.org/TR/FileAPI/</a>
168
b5754fd002d3 Add missing URL for WebApps patent disclosure page
Art Barstow <art.barstow@gmail.com>
parents: 167
diff changeset
   513
</dd></dl></section></section></body></html>