mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb: Move ClassicScript::m_settings_object into the Script base
All Scripts have an associated settings object. https://html.spec.whatwg.org/multipage/webappapis.html#settings-object
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 09:52:26 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/17a26853e1 Pull-request: https://github.com/SerenityOS/serenity/pull/14406 Reviewed-by: https://github.com/linusg
@@ -8,9 +8,10 @@
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
Script::Script(AK::URL base_url, String filename)
|
||||
Script::Script(AK::URL base_url, String filename, EnvironmentSettingsObject& environment_settings_object)
|
||||
: m_base_url(move(base_url))
|
||||
, m_filename(move(filename))
|
||||
, m_settings_object(environment_settings_object)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user