We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Apparently text/javascript is obsolete and should now be application/javascript. So this should be changed:
text/javascript
application/javascript
pwa-wp/wp-includes/class-wp-service-workers.php
Line 116 in 943de6d
The text was updated successfully, but these errors were encountered:
Humm, apparently I'm mistaken. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#textjavascript
Apparently we shouldn't be including the charset=utf-8, though? But how else would the browser know the character set?
charset=utf-8
Sorry, something went wrong.
Although perhaps this only applies to the type attribute on script tags, and not to the HTTP Content-Type response header.
type
script
Content-Type
Nevertheless, nobody has reported this as causing a problem, so there doesn't seem to be a need to change anything.
Successfully merging a pull request may close this issue.
Apparently
text/javascript
is obsolete and should now beapplication/javascript
. So this should be changed:pwa-wp/wp-includes/class-wp-service-workers.php
Line 116 in 943de6d
The text was updated successfully, but these errors were encountered: