-
Notifications
You must be signed in to change notification settings - Fork 3.8k
link[rel=manifest] test plan #24389
Copy link
Copy link
Open
Labels
Description
Create a document using JS + add an iframe, try to install
- Let context be node document 's browsing context Firefox None
- If context is null, then return false.
- If context is not a top-level browsing context , return false.
Testing plan for Adding link[rel=manifest] whatwg/html#5581
Fetching test
- Set request 's initiator to " manifest ".
- Set request 's destination to " manifest ".
- Set request 's mode to " cors ".
Cross origin attribute
- Empty, invalid, Anonymous
- Use credentials - set a cookie, and see if it's sent.
Test the mine type
Test default fetch steps
- If el 's href attribute's value is the empty string, then return.
Request tests:
- Let request be the result of creating a potential-CORS request given url , the empty string, and corsAttributeState .
- Set request 's synchronous flag .
- Set request 's client to el 's node document 's relevant settings object .
Integrity check:
- Set request 's cryptographic nonce metadata to the current value of el 's [[CryptographicNonce]] internal slot.
- Set request 's integrity metadata to the current value of el 's integrity content attribute.
Referrer policy check:
6. Set request 's referrer policy to the current state of the el 's referrerpolicy attribute.
Critical sub resources:
- icons downloaded and inherit CORS.
Reactions are currently unavailable