mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 16:54:57 +00: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:
parent
885c6b6678
commit
17a26853e1
4 changed files with 17 additions and 15 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue