@orangecheck/vault-core / matchEntryToPage
Function: matchEntryToPage()
function matchEntryToPage(entryUrl: string, pageUrl: string): OriginMatch;
Defined in: vault-core/src/origin.ts:64
How an entry's stored URL relates to a page URL.
- 'exact' — same scheme + host + port; offer first.
- 'registrable' — same eTLD+1 (e.g. www. vs bare); offer, ranked lower.
- 'none' — do not offer this entry for this page.
An https entry never matches an http page: a downgrade is a no.
Parameters
| Parameter | Type |
|---|---|
entryUrl | string |
pageUrl | string |