We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3e07e commit 3dbee29Copy full SHA for 3dbee29
index.html
@@ -2774,6 +2774,11 @@ <h3><dfn>Writing content</dfn></h3>
2774
<dl>
2775
<dt>{{DOMString}}</dt>
2776
<ol>
2777
+ <li>
2778
+ If |record|'s <a>encoding</a> is neither `undefined` nor
2779
+ "`utf-8`", [= exception/throw =] a {{TypeError}} and abort
2780
+ these steps.
2781
+ </li>
2782
<li>
2783
Let |encoding label:string| be "`utf-8`".
2784
</li>
@@ -2787,7 +2792,7 @@ <h3><dfn>Writing content</dfn></h3>
2787
2792
2788
2793
If |encoding label| is not equal to "`utf-8`", "`utf-16`",
2789
2794
"`utf-16le`" or "`utf-16be`" [= exception/throw =] a
2790
- {{TypeError}}.
2795
+ {{TypeError}} and abort these steps.
2791
2796
2797
</ol>
2798
</dl>
0 commit comments