mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-12 02:00:06 -06:00
* chore: refactor originPolicy to use superDomainOriginPolicy nomenclature and add sameSite/superDomainOrigin policy functions and make originMatch functions match fully same origin policy including sub domains * chore: change doesAutMatchTopSuperOriginPolicy to doesAUTMatchTopSuperDomainOriginPolicy * chore: rename originPolicy references to just be origin. Rename superDomainOriginPolicy to superDomainOrigin * fix: remove duplicate origin keys and add check for remote.origin to return null * chore: further rename variables to fit origin paradigm * chore: remove latestActiveSuperDomainOrigin as it is no longer used * fix: key order in consoleProps yielded test * remove isAnticipatingCrossOriginResponse as it is no longer available * chore: update documentation to urlMatchesSameSiteProps to show why the strictPortMatch is an option * chore: refactor cors package to use a single parse function and update unit tests * chore: refactor getOrigin to use url origin * chore: update same-site documentation to now be dependent on cookies * chore: update same-site policy to be schemeful-same-site policy as we consider protocol mismatches to be not same-site