mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 17:15:09 +00:00
parent
ed97ee902b
commit
2f426765a6
3 changed files with 33 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue