-
Notifications
You must be signed in to change notification settings - Fork 338
Open
Labels
CODESome other Code related issue and it should clearly describe what it is affecting in a comment.Some other Code related issue and it should clearly describe what it is affecting in a comment.enhancementSomething we do have implemented already but needs improvement upon to the best of knowledge.Something we do have implemented already but needs improvement upon to the best of knowledge.migrationUse this to indicate that it may apply to an existing or announced migration.Use this to indicate that it may apply to an existing or announced migration.
Description
What’s missing?
Code point cleanup:
OpenUserJS.org/controllers/user.js
Lines 2034 to 2036 in 673f489
case 'application/x-javascript': // #872 #1661 | |
case 'application/javascript': // #1599 | |
case 'text/javascript': // Default |
OpenUserJS.org/controllers/scriptStorage.js
Lines 506 to 509 in 673f489
'text/javascript', | |
'text/ecmascript', | |
'application/javascript', | |
'application/x-javascript', |
Why?
Because they've finally standardized it ... at least on paper and not necessarily browser implementation which will need to be fully retested ... to one MIME (Content) type. See also https://www.rfc-editor.org/rfc/rfc9239 and possible next mime-db dep update.
Alternatives you tried
Metadata
Metadata
Assignees
Labels
CODESome other Code related issue and it should clearly describe what it is affecting in a comment.Some other Code related issue and it should clearly describe what it is affecting in a comment.enhancementSomething we do have implemented already but needs improvement upon to the best of knowledge.Something we do have implemented already but needs improvement upon to the best of knowledge.migrationUse this to indicate that it may apply to an existing or announced migration.Use this to indicate that it may apply to an existing or announced migration.