Skip to content

Commit

Permalink
Address some review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Feb 16, 2018
1 parent 60992ae commit a02afea
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -58356,14 +58356,11 @@ o............A....e
are generally ignored. (In some cases the `<code data-x="">charset</code>` parameter has an
effect.) However, for the <code>script</code> element's <code
data-x="attr-script-type">type</code> attribute they are significant; it uses the <span>JavaScript
MIME type essence match</span> concept. (In general, it is best not to think of the
<code>script</code> element's <code data-x="attr-script-type">type</code> attribute as related to
MIME types; instead, it has a hard-coded list of strings, which resemble certain MIME types, that
for historical reasons will trigger the same default behavior as omitting the attribute.)</p>
MIME type essence match</span> concept.</p>

<p class="note">For example, scripts with their <code data-x="attr-script-type">type</code>
attribute set to "<code data-x="">text/javascript; charset=utf-8</code>" will not be
evaluated, even though that is a valid <span>JavaScript MIME type</span>.</p>
evaluated, even though that is a valid <span>JavaScript MIME type</span> when parsed.</p>

<p>Furthermore, again for external JavaScript resources, special considerations apply around
`<code>Content-Type</code>` header processing as detailed in the <span>prepare a script</span>
Expand Down

0 comments on commit a02afea

Please sign in to comment.