← Back to release summary

XHR: Use the response URL for responseURL and documents

Category
Network / Connectivity
Type
New or changed feature
Status
Enabled by default (Chrome 73)
Intent stage
None

Summary

XHR now uses the response URL rather than the request URL for responseURL and responseXML. These are only different if a service worker provided the response. If the service worker does respondWith(fetch(url)), then responseURL is url and responseXML.URL is url.

Standards & signals

View on chromestatus.com