LibWeb: Script force async flag should default to true

See:
 - http://wpt.live/html/semantics/scripting-1/the-script-element/async_001.htm
This commit is contained in:
Jamie Mansfield
2024-08-04 16:56:40 +01:00
committed by Tim Ledbetter
parent fdf4f1e887
commit 77c41a82be
3 changed files with 14 additions and 1 deletions

View File

@@ -94,7 +94,7 @@ private:
JS::GCPtr<DOM::Document> m_preparation_time_document;
// https://html.spec.whatwg.org/multipage/scripting.html#script-force-async
bool m_force_async { false };
bool m_force_async { true };
// https://html.spec.whatwg.org/multipage/scripting.html#already-started
bool m_already_started { false };