mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
committed by
Andreas Kling
parent
ed97ee902b
commit
2f426765a6
Notes:
sideshowbarker
2024-07-18 04:49:47 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/2f426765a6d Pull-request: https://github.com/SerenityOS/serenity/pull/9787
@@ -32,6 +32,12 @@ public:
|
||||
|
||||
virtual void inserted() override;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/scripting.html#dom-script-supports
|
||||
static bool supports(String const& type)
|
||||
{
|
||||
return type.is_one_of("classic", "module");
|
||||
}
|
||||
|
||||
private:
|
||||
void prepare_script();
|
||||
void script_became_ready();
|
||||
|
||||
Reference in New Issue
Block a user