You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="issue" id="issue-dd26c8e1"><aclass="self-link" href="#issue-dd26c8e1"></a> Stop monkey patching XHR once we know that this is what we want.</p>
1537
+
1527
1538
1528
1539
<p><codeclass="idl"><adata-link-type="idl" href="https://xhr.spec.whatwg.org/#interface-formdata">FormData</a></code> objects have a <dfndata-dfn-type="dfn" data-noexport="" id="opaque-flag">opaque flag<aclass="self-link" href="#opaque-flag"></a></dfn>, unset by default,
1529
1540
and set only if the object is constructed from a <codeclass="idl"><adata-link-type="idl" href="#passwordcredential">PasswordCredential</a></code>.
<adata-link-type="dfn" href="https://xhr.spec.whatwg.org/#concept-fetchbodyinit-extract">extracted</a> in the context of executing <codeclass="idl"><adata-link-type="idl" href="https://xhr.spec.whatwg.org/#interface-xmlhttprequest">XMLHttpRequest</a></code>'s
<p>The <codeclass="idl"><adata-link-type="idl" href="#dom-formdata-makeopaque">makeOpaque()</a></code> method sets the <codeclass="idl"><adata-link-type="idl" href="https://xhr.spec.whatwg.org/#interface-formdata">FormData</a></code>'s <adata-link-type="dfn" href="#opaque-flag">opaque
1555
+
flag</a>.</p>
1556
+
1536
1557
1537
1558
<p><dfndata-dfn-type="dfn" data-local-lt="opaque" data-noexport="" id="opaque-formdata-objects">Opaque <code>FormData</code> objects<aclass="self-link" href="#opaque-formdata-objects"></a></dfn> have the
Whenever the user agent would iterate over an opaque <codeclass="idl"><adata-link-type="idl" href="https://xhr.spec.whatwg.org/#interface-formdata">FormData</a></code> object’s
1578
+
value pairs, instead iterate over an empty list.
1579
+
1580
+
1581
+
1555
1582
<li>
1556
1583
Whenever the user agent would <adata-link-type="dfn" href="https://xhr.spec.whatwg.org/#concept-fetchbodyinit-extract">extract a byte stream and
1557
1584
<code>Content-Type</code></a> from an opaque <codeclass="idl"><adata-link-type="idl" href="https://xhr.spec.whatwg.org/#interface-formdata">FormData</a></code> object
<p>Add a new <dfndata-dfn-type="dfn" data-noexport="" id="opaque-request-flag">opaque request flag<aclass="self-link" href="#opaque-request-flag"></a></dfn> to Fetch’s <codeclass="idl"><adata-link-type="idl" href="https://fetch.spec.whatwg.org/#request">Request</a></code> objects. This
<p>Add the following step after step 3 of step 17 of Fetch’s <codeclass="idl"><adata-link-type="idl" href="https://fetch.spec.whatwg.org/#dom-request">Request()</a></code>
<p>Insert the following step after step 2 of step 3 of Fetch’s <adata-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-Body-consume-body">consume
<h5class="heading settled" data-level="3.3.1.6" id="monkey-patching-fetch-4"><spanclass="secno">3.3.1.6. </span><spanclass="content">Fetch: Extract a byte stream</span><aclass="self-link" href="#monkey-patching-fetch-4"></a></h5>
1725
+
<h5class="heading settled" data-level="3.3.2.6" id="monkey-patching-fetch-4"><spanclass="secno">3.3.2.6. </span><spanclass="content">Fetch: Extract a byte stream</span><aclass="self-link" href="#monkey-patching-fetch-4"></a></h5>
1699
1726
1700
1727
1701
1728
<p>Redefine the <codeclass="idl"><adata-link-type="idl" href="https://xhr.spec.whatwg.org/#interface-formdata">FormData</a></code> case of Fetch’s <adata-link-type="dfn" href="https://xhr.spec.whatwg.org/#concept-fetchbodyinit-extract">extract a byte
<divclass="issue"> We should support explicit sign-up via
3645
3677
<codeclass="idl"><adata-link-type="idl" href="#passwordcredential">PasswordCredential</a></code>s with generated passwords. Perhaps something similar to
<divclass="issue"> Stop monkey patching XHR once we know that this is what we want.<ahref="#issue-dd26c8e1"> ↵ </a></div>
3647
3680
<divclass="issue"> Determine the right spec text to impart the following: When a request
3648
3681
is handed off to Fetch, mark it as opaque if its body is populated from an
3649
3682
opaque <codeclass="idl"><adata-link-type="idl" href="https://xhr.spec.whatwg.org/#interface-formdata">FormData</a></code> object, or if it is the result of a form submission with
0 commit comments