https://example.com:443 is an origin. A different scheme, host, or port means a different origin.
SOP does not make every cross-origin request disappear. It limits what JavaScript can read or manipulate.
Learn same-origin policy, CORS, and preflight by inspecting and testing them.
https://example.com:443 is an origin. A different scheme, host, or port means a different origin.
SOP does not make every cross-origin request disappear. It limits what JavaScript can read or manipulate.
A CORS-safelisted request can send the actual request first. Other cross-origin requests use an OPTIONS preflight.
If preflight is rejected, the actual request is not sent. A Fetch API TypeError alone cannot prove the cause.
Compare direct DOM access with a same-origin iframe and a sandboxed iframe, then exchange a message explicitly.
Direct DOM access and explicit message exchange are different capabilities. The receiver must validate the sender.
Change request intent and response headers. The result models CORS checks; it does not send a request.
Follow OPTIONS, the actual request, and JavaScript response access for the current conditions.
This is a learning model, not proof of network traffic. Confirm actual requests in DevTools Network or server logs.
Enter the response header names, then compare them with ACEH and the credentials mode.
Set-Cookie and Set-Cookie2 are never exposed. With credentials, * in ACEH is not a wildcard.
This learning model assumes the same origin, URL, credentials, method, and header conditions.
This is not a browser measurement. Implementations can impose caps or evict entries early. Confirm OPTIONS in DevTools Network.
Inspect normal HTTP response caching separately from the preflight cache.
Vary affects a normal HTTP cache key. It is separate from Access-Control-Max-Age.
Even when CORS succeeds, cookie attributes or browser policy may prevent a cookie from being sent.
Domain, Path, expiry, and stored-cookie state also matter. This model cannot prove actual transmission.
This lab sends real requests only after you press Run. CSP limits destinations to the three listed origins and this site.
A TypeError does not identify CORS by itself. Inspect OPTIONS and response headers in DevTools Network.