You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* > If the script block's type string is a JavaScript MIME type essence match, then
@@ -4048,10 +4044,10 @@ public function is_javascript_script_tag(): bool {
4048
4044
}
4049
4045
4050
4046
/*
4051
-
* > - Otherwise, if the script block's type string is an ASCII case-insensitive match for
4052
-
* > the string "importmap", then set el's type to "importmap".
4047
+
* > Otherwise, if the script block's type string is an ASCII case-insensitive match for the string "importmap", then set el's type to "importmap".
4048
+
* > Otherwise, if the script block's type string is an ASCII case-insensitive match for the string "speculationrules", then set el's type to "speculationrules".
4053
4049
*
4054
-
* An importmap is JSON and not evaluated as JavaScript. This case is not handled here.
4050
+
* These conditions indicate JSON content.
4055
4051
*/
4056
4052
4057
4053
/*
@@ -4072,13 +4068,11 @@ public function is_json_script_tag(): bool {
0 commit comments