Skip to content

Commit 580cb69

Browse files
committed
CREDENTIAL: Monkey patch FormData iteration.
#241
1 parent e385c51 commit 580cb69

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

specs/credentialmanagement/index.src.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,22 @@ <h4 id="opaque-formdata-algorithms">
943943

944944
ISSUE: Monkey-patching! Hooray! Talk with Anne, et al.
945945

946+
<h5 id="monkey-patching-xhr-1">XHR: <code>FormData</code> Iteration</code></h5>
947+
948+
Replace the following text from {{FormData}}:
949+
950+
<blockquote>
951+
The value pairs to iterate over are the entries with the key being the name
952+
and the value the value.
953+
</blockquote>
954+
955+
With:
956+
957+
<blockquote>
958+
The value pairs to iterate over is an empty list if the opaque flag is set,
959+
otherwise the entries with the key being the name and the value the value.
960+
</blockquote>
961+
946962
<h5 id="monkey-patching-xhr-2">XHR: <code>FormData</code>'s <code>get()</code></h5>
947963

948964
Redefine {{FormData}}'s {{FormData/get()}} method as follows:

0 commit comments

Comments
 (0)