mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
Everywhere: Run clang-format
This commit is contained in:
committed by
Linus Groh
parent
0376c127f6
commit
086969277e
@@ -99,7 +99,7 @@ void HTMLScriptElement::execute_script()
|
||||
}
|
||||
|
||||
// https://mimesniff.spec.whatwg.org/#javascript-mime-type-essence-match
|
||||
static bool is_javascript_mime_type_essence_match(const String& string)
|
||||
static bool is_javascript_mime_type_essence_match(String const& string)
|
||||
{
|
||||
auto lowercase_string = string.to_lowercase();
|
||||
return lowercase_string.is_one_of("application/ecmascript", "application/javascript", "application/x-ecmascript", "application/x-javascript", "text/ecmascript", "text/javascript", "text/javascript1.0", "text/javascript1.1", "text/javascript1.2", "text/javascript1.3", "text/javascript1.4", "text/javascript1.5", "text/jscript", "text/livescript", "text/x-ecmascript", "text/x-javascript");
|
||||
|
||||
Reference in New Issue
Block a user