Skip to content

Commit

Permalink
CORS: Clarify what XHR upload event-listening triggers preflight (#3138)
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Mar 16, 2021
1 parent 1ac2fa7 commit afdea8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/http/cors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h3 id="Simple_requests">Simple requests</h3>
<li><code>text/plain</code></li>
</ul>
</li>
<li>No event listeners are registered on any {{domxref("XMLHttpRequest.upload")}} object used in the request; these are accessed using the {{domxref("XMLHttpRequest.upload")}} property.</li>
<li>If the request is made using an {{domxref("XMLHttpRequest")}} object, no event listeners are registered on the object returned by the {{domxref("XMLHttpRequest.upload")}} property used in the request; that is, given an {{domxref("XMLHttpRequest")}} instance <code>xhr</code>, no code has called <code>xhr.upload.addEventListener()</code> to add an event listener to monitor the upload.</li>
<li>No {{domxref("ReadableStream")}} object is used in the request.</li>
</ul>

Expand Down

0 comments on commit afdea8d

Please sign in to comment.