Commit 7a7ff3ff authored by Glenn Adams's avatar Glenn Adams
Browse files

Add encoding spec; update fetches.

parent 25958277
......@@ -24,4 +24,4 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# specifications
SPECS = canvas2d cssfontload cssom cssomview custom dom3events dom4 domps ecmascript51 file fullscreen html5 selectors1 sse svg12tiny touchevents typedarray url webgl webmessage websocket webstorage webworkers xhr
SPECS = canvas2d cssfontload cssom cssomview custom dom3events dom4 domps ecmascript51 encoding file fullscreen html5 selectors1 sse svg12tiny touchevents typedarray url webgl webmessage websocket webstorage webworkers xhr
......@@ -345,7 +345,7 @@
<h1>HTML Canvas 2D Context</h1>
<h2 class="no-num no-toc" id="generatedID"></h2>
<p class="no-num no-toc subline">Editor's Draft 29 June 2014</p>
<p class="no-num no-toc subline">Editor's Draft 30 June 2014</p>
</header>
<dl>
<dt>Latest Published Version:</dt>
......@@ -459,7 +459,7 @@
<p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working
Group</a> is the W3C working group responsible for this
specification's progress.
This specification is the 29 June 2014 Editor's Draft.
This specification is the 30 June 2014 Editor's Draft.
This specification is intended to become a W3C Recommendation.
</p>
......
Sun, 29 Jun 2014 00:50:09 GMT
\ No newline at end of file
Mon, 30 Jun 2014 13:20:09 GMT
\ No newline at end of file
{
"spec": "encoding",
"source": "http://www.w3.org/TR/2014/WD-encoding-20140603/",
"local": "spec.html",
"instances": {
"TextDecoder": "'TextDecoder' in window && new TextDecoder()",
"TextEncoder": "'TextEncoder' in window && new TextEncoder()"
}
}
This diff is collapsed.
Thu, 29 May 2014 15:57:18 GMT
\ No newline at end of file
typedef DOMString ScalarValueString;
dictionary TextDecoderOptions {
boolean fatal = false;
boolean ignoreBOM = false;
};
dictionary TextDecodeOptions {
boolean stream = false;
};
[Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options),
Exposed=Window,Worker]
interface TextDecoder {
readonly attribute DOMString encoding;
readonly attribute boolean fatal;
readonly attribute boolean ignoreBOM;
DOMString decode();
DOMString decode(ArrayBufferView input, optional TextDecodeOptions options);
};
dictionary TextEncodeOptions {
boolean stream = false;
};
[Constructor(optional DOMString utfLabel = "utf-8"),
Exposed=Window,Worker]
interface TextEncoder {
readonly attribute DOMString encoding;
Uint8Array encode(optional ScalarValueString input = "", optional TextEncodeOptions options);
};
[
{
"type": "typedef",
"typeExtAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
},
"name": "ScalarValueString",
"extAttrs": []
},
{
"type": "dictionary",
"name": "TextDecoderOptions",
"partial": false,
"members": [
{
"type": "field",
"name": "fatal",
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "boolean"
},
"extAttrs": [],
"default": {
"type": "boolean",
"value": false
}
},
{
"type": "field",
"name": "ignoreBOM",
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "boolean"
},
"extAttrs": [],
"default": {
"type": "boolean",
"value": false
}
}
],
"inheritance": null,
"extAttrs": []
},
{
"type": "dictionary",
"name": "TextDecodeOptions",
"partial": false,
"members": [
{
"type": "field",
"name": "stream",
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "boolean"
},
"extAttrs": [],
"default": {
"type": "boolean",
"value": false
}
}
],
"inheritance": null,
"extAttrs": []
},
{
"type": "interface",
"name": "TextDecoder",
"partial": false,
"members": [
{
"type": "attribute",
"static": false,
"stringifier": false,
"inherit": false,
"readonly": true,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
},
"name": "encoding",
"extAttrs": []
},
{
"type": "attribute",
"static": false,
"stringifier": false,
"inherit": false,
"readonly": true,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "boolean"
},
"name": "fatal",
"extAttrs": []
},
{
"type": "attribute",
"static": false,
"stringifier": false,
"inherit": false,
"readonly": true,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "boolean"
},
"name": "ignoreBOM",
"extAttrs": []
},
{
"type": "operation",
"getter": false,
"setter": false,
"creator": false,
"deleter": false,
"legacycaller": false,
"static": false,
"stringifier": false,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
},
"name": "decode",
"arguments": [],
"extAttrs": []
},
{
"type": "operation",
"getter": false,
"setter": false,
"creator": false,
"deleter": false,
"legacycaller": false,
"static": false,
"stringifier": false,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
},
"name": "decode",
"arguments": [
{
"optional": false,
"variadic": false,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "ArrayBufferView"
},
"name": "input"
},
{
"optional": true,
"variadic": false,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "TextDecodeOptions"
},
"name": "options"
}
],
"extAttrs": []
}
],
"inheritance": null,
"extAttrs": [
{
"name": "Constructor",
"arguments": [
{
"optional": true,
"variadic": false,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
},
"name": "label",
"default": {
"type": "string",
"value": "utf-8"
}
},
{
"optional": true,
"variadic": false,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "TextDecoderOptions"
},
"name": "options"
}
]
},
{
"name": "Exposed",
"arguments": null,
"rhs": {
"type": "identifier",
"value": "Window"
}
},
{
"name": "Worker",
"arguments": null
}
]
},
{
"type": "dictionary",
"name": "TextEncodeOptions",
"partial": false,
"members": [
{
"type": "field",
"name": "stream",
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "boolean"
},
"extAttrs": [],
"default": {
"type": "boolean",
"value": false
}
}
],
"inheritance": null,
"extAttrs": []
},
{
"type": "interface",
"name": "TextEncoder",
"partial": false,
"members": [
{
"type": "attribute",
"static": false,
"stringifier": false,
"inherit": false,
"readonly": true,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
},
"name": "encoding",
"extAttrs": []
},
{
"type": "operation",
"getter": false,
"setter": false,
"creator": false,
"deleter": false,
"legacycaller": false,
"static": false,
"stringifier": false,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "Uint8Array"
},
"name": "encode",
"arguments": [
{
"optional": true,
"variadic": false,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "ScalarValueString"
},
"name": "input",
"default": {
"type": "string",
"value": ""
}
},
{
"optional": true,
"variadic": false,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "TextEncodeOptions"
},
"name": "options"
}
],
"extAttrs": []
}
],
"inheritance": null,
"extAttrs": [
{
"name": "Constructor",
"arguments": [
{
"optional": true,
"variadic": false,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
},
"name": "utfLabel",
"default": {
"type": "string",
"value": "utf-8"
}
}
]
},
{
"name": "Exposed",
"arguments": null,
"rhs": {
"type": "identifier",
"value": "Window"
}
},
{
"name": "Worker",
"arguments": null
}
]
}
]
\ No newline at end of file
......@@ -348,7 +348,7 @@
 
<h1 id="big-title">HTML5</h1>
<p class="no-num no-toc subline">A vocabulary and associated APIs for HTML and XHTML</p>
<p class="no-num no-toc subline">Editor's Draft 29 June 2014</p>
<p class="no-num no-toc subline">Editor's Draft 30 June 2014</p>
</header>
<dl>
<dt>Latest Published Version:</dt>
......@@ -470,7 +470,7 @@
<p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working
Group</a> is the W3C working group responsible for this
specification's progress.
This specification is the 29 June 2014 Editor's Draft.
This specification is the 30 June 2014 Editor's Draft.
This specification is intended to become a W3C Recommendation.
</p>
Sun, 29 Jun 2014 00:52:34 GMT
\ No newline at end of file
Mon, 30 Jun 2014 13:22:32 GMT
\ No newline at end of file
......@@ -27309,6 +27309,418 @@
],
"spec": "ecmascript51"
},
{
"type": "typedef",
"typeExtAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
},
"name": "ScalarValueString",
"extAttrs": [],
"spec": "encoding"
},
{
"type": "dictionary",
"name": "TextDecoderOptions",
"partial": false,
"members": [
{
"type": "field",
"name": "fatal",
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "boolean"
},
"extAttrs": [],
"default": {
"type": "boolean",
"value": false
}
},
{
"type": "field",
"name": "ignoreBOM",
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "boolean"
},
"extAttrs": [],
"default": {
"type": "boolean",
"value": false
}
}
],
"inheritance": null,
"extAttrs": [],
"spec": "encoding"
},
{
"type": "dictionary",
"name": "TextDecodeOptions",
"partial": false,
"members": [
{
"type": "field",
"name": "stream",
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "boolean"
},
"extAttrs": [],
"default": {
"type": "boolean",
"value": false
}
}
],
"inheritance": null,
"extAttrs": [],
"spec": "encoding"
},
{
"type": "interface",
"name": "TextDecoder",
"partial": false,
"members": [
{
"type": "attribute",
"static": false,
"stringifier": false,
"inherit": false,
"readonly": true,
"idlType": {
"sequence": false,
"generic": null,