-
Notifications
You must be signed in to change notification settings - Fork 29
What is the relationship between type values and a Web request's destination concept? #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Changing this value might make sense, but that would require specifying some hierarchy of privilege. E.g., if you allow JavaScript, it can remain "script", if you only allow JSON, it can be "json". If you allow either, "script". |
Should this even be specified/mandated if other environments without that concept are being considered? |
We will have to take care for layering. One possibility is for named to be in loose correspondence with each other, but without ES citing Web specs. Another possibility is that this is a correspondence that exists in HTML's interpretation of the type, and not JS's. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Ultimately, I think the strings in the |
The concept of a request's destination has names for different things where a request can originate from. These can be read from a Request object's destination property, or passed in from
<link rel="preload">
in theas=
attribute. Should this concept relate to thetype:
values somehow?h/t to @slightlyoff for drawing this connection
The text was updated successfully, but these errors were encountered: