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
-
1538
1527
1539
1528
<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,
1540
1529
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
-
1557
1536
1558
1537
<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
-
1582
1555
<li>
1583
1556
Whenever the user agent would <adata-link-type="dfn" href="https://xhr.spec.whatwg.org/#concept-fetchbodyinit-extract">extract a byte stream and
1584
1557
<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.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>
1698
+
<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>
1726
1699
1727
1700
1728
1701
<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
3677
3645
<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>
3680
3647
<divclass="issue"> Determine the right spec text to impart the following: When a request
3681
3648
is handed off to Fetch, mark it as opaque if its body is populated from an
3682
3649
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