mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 21:52:07 +00:00
LibWeb: Implement the 'Relevant realm/{settings,global} object' concepts
This commit is contained in:
parent
db983b469d
commit
11d0e37d8e
2 changed files with 25 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <AK/URL.h>
|
||||
#include <LibJS/Runtime/ExecutionContext.h>
|
||||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
#include <LibJS/Runtime/Realm.h>
|
||||
#include <LibWeb/HTML/BrowsingContext.h>
|
||||
#include <LibWeb/HTML/EventLoop/EventLoop.h>
|
||||
|
@ -120,5 +121,8 @@ JS::Realm& incumbent_realm();
|
|||
JS::GlobalObject& incumbent_global_object();
|
||||
EnvironmentSettingsObject& current_settings_object();
|
||||
JS::GlobalObject& current_global_object();
|
||||
JS::Realm& relevant_realm(JS::Object const&);
|
||||
EnvironmentSettingsObject& relevant_settings_object(JS::Object const&);
|
||||
JS::GlobalObject& relevant_global_object(JS::Object const&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue