-
Notifications
You must be signed in to change notification settings - Fork 44
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
All text
JavaScript types are deprecated according to RFC 4329
#76
Comments
text
JavaScript types are deprecated according to RFC 4329
text
JavaScript types are deprecated according to RFC 4329text
JavaScript types are deprecated according to RFC 4329
Browser engines don’t follow RFC 4329 on this. Instead they use The other relevant normative standard here is the HTML spec, which says: https://html.spec.whatwg.org/multipage/scripting.html#scriptingLanguages
So if any change is to be made for this to the MIME Sniffing standard, it seems it should be updated to align with what the HTML specs — that is, it should say all JavaScript MIME types other than |
That RFC is being updated too with one that obsoletes all types except for |
We prefer Is it really just for legacy, outdated and full-of-vulnerabilities browsers that no‑one in their right mind should be using in 2018? Because last I checked, all modern browsers treat |
I don't really understand the preference for |
Since this kind of thing doesn't really affect the MIME Sniffing Standard I'm going to close this. It seems this can be decided upon and documented elsewhere. If we were ever to canonicalize I'd strongly suspect we'd use |
RFC 4329 deprecated all
text
JavaScript types, so that should probably be mentioned in the specification (but they still have to be parsed as valid JavaScript types, as legacy websites tend to usetype/javascript
).This probably also applies to
application/x-javascript
andapplication/x-ecmascript
, as they use thex-
prefix, usage of which is deprecated according to RFC 6838.The text was updated successfully, but these errors were encountered: