Skip to content

Commit 5b47129

Browse files
authored
Editorial: rely more on Infra in the data: URL processor
1 parent f435978 commit 5b47129

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

fetch.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8075,7 +8075,7 @@ that RFC's normative processing requirements to be compatible with deployed cont
80758075
<li><p>Let <var>input</var> be the result of running the <a>URL serializer</a> on
80768076
<var>dataURL</var> with <a for="URL serializer"><i>exclude fragment</i></a> set to true.
80778077

8078-
<li><p>Remove the leading "<code>data:</code>" string from <var>input</var>.
8078+
<li><p>Remove the leading "<code>data:</code>" from <var>input</var>.
80798079

80808080
<li><p>Let <var>position</var> point at the start of <var>input</var>.
80818081

@@ -8098,6 +8098,7 @@ that RFC's normative processing requirements to be compatible with deployed cont
80988098
<li>
80998099
<p>If <var>mimeType</var> ends with U+003B (;), followed by zero or more U+0020 SPACE, followed by
81008100
an <a>ASCII case-insensitive</a> match for "<code>base64</code>", then:
8101+
<!-- This really needs an ASCII case-insensitive ends with. -->
81018102

81028103
<ol>
81038104
<li><p>Let <var>stringBody</var> be the <a>isomorphic decode</a> of <var>body</var>.
@@ -8110,11 +8111,11 @@ that RFC's normative processing requirements to be compatible with deployed cont
81108111

81118112
<li><p>Remove trailing U+0020 SPACE <a>code points</a> from <var>mimeType</var>, if any.
81128113

8113-
<li><p>Remove the last U+003B (;) <a>code point</a> from <var>mimeType</var>.
8114+
<li><p>Remove the last U+003B (;) from <var>mimeType</var>.
81148115
</ol>
81158116

8116-
<li><p>If <var>mimeType</var> starts with U+003B (;), then prepend "<code>text/plain</code>"
8117-
to <var>mimeType</var>.
8117+
<li><p>If <var>mimeType</var> <a for=string>starts with</a> "<code>;</code>", then prepend
8118+
"<code>text/plain</code>" to <var>mimeType</var>.
81188119

81198120
<li><p>Let <var>mimeTypeRecord</var> be the result of <a lt="parse a MIME type">parsing</a>
81208121
<var>mimeType</var>.

0 commit comments

Comments
 (0)