Skip to content

Commit e29f858

Browse files
domenicannevk
authored andcommitted
Editorial: clean up conformance section and references
Closes #61.
1 parent e521c34 commit e29f858

File tree

1 file changed

+3
-35
lines changed

1 file changed

+3
-35
lines changed

index.bs

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,52 +7,20 @@ Abstract: This document defines a set of JavaScript APIs to compress and decompr
77
Indent: 2
88
Markup Shorthands: markdown yes
99
</pre>
10-
<pre class="link-defaults">
11-
spec:streams; type:interface; text:ReadableStream
12-
</pre>
13-
<pre class="anchors">
14-
urlPrefix: http://www.ecma-international.org/ecma-262/6.0/index.html; spec: ECMASCRIPT-6.0
15-
type: dfn
16-
text: fulfilled; url: sec-promise-objects
17-
text: rejected; url: sec-promise-objects
18-
text: pending; url: sec-promise-objects
19-
text: resolved; url: sec-promise-objects
20-
text: settled; url: sec-promise-objects
21-
</pre>
2210

2311
# Introduction # {#introduction}
2412

2513
*This section is non-normative.*
2614

2715
The APIs specified in this specification are used to compress and decompress streams of data. They support "deflate", "deflate-raw" and "gzip" as compression algorithms. They are widely used by web developers.
2816

29-
# Conformance # {#conformance}
30-
31-
As well as sections marked as non-normative, all authoring guidelines,
32-
diagrams, examples, and notes in this specification are non-normative.
33-
Everything else in this specification is normative.
34-
35-
The key words *MUST* and *SHOULD* are to be interpreted as described in
36-
[[!RFC2119]].
37-
38-
This specification defines conformance criteria that apply to a single product:
39-
the user agent that implements the interfaces that it contains.
40-
41-
Conformance requirements phrased as algorithms or specific steps may be
42-
implemented in any manner, so long as the end result is equivalent. (In
43-
particular, the algorithms defined in this specification are intended to be
44-
easy to follow, and not intended to be performant.)
45-
46-
Implementations that use ECMAScript to implement the APIs defined in this
47-
specification MUST implement them in a manner consistent with the ECMAScript
48-
Bindings defined in the Web IDL specification [[!WebIDL]], as this
49-
specification uses that specification and terminology.
17+
# Infrastructure # {#infrastructure}
5018

51-
# Terminology # {#terminology}
19+
This specification depends on <cite>Infra</cite>. [[!INFRA]]
5220

5321
A chunk is a piece of data. In the case of CompressionStream and DecompressionStream, the output chunk type is Uint8Array. They accept any {{BufferSource}} type as input.
5422

55-
A stream represents an ordered sequence of chunks. The terms {{ReadableStream}} and {{WritableStream}} are defined in [[!WHATWG-STREAMS]].
23+
A stream represents an ordered sequence of chunks. The terms {{ReadableStream}} and {{WritableStream}} are defined in <cite>Streams</cite>. [[!STREAMS]]
5624

5725
A <dfn>compression context</dfn> is the internal state maintained by a compression or decompression algorithm. The contents of a <a>compression context</a> depend on the format, algorithm and implementation in use. From the point of view of this specification, it is an opaque object. A <a>compression context</a> is initially in a start state such that it anticipates the first byte of input.
5826

0 commit comments

Comments
 (0)