diff options
author | Luke Wilde <lukew@serenityos.org> | 2021-10-14 16:12:53 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-02-08 17:47:44 +0000 |
commit | f71f404e0c56497bdf1b65a4a69b45de51e8e42c (patch) | |
tree | b02b0d04c3b34c3a167f1ed95ab6d22431d35519 /Userland/Libraries/LibJS/Forward.h | |
parent | 4db5406d6234bad17d34fe8a0b461dea766271e6 (diff) | |
download | serenity-f71f404e0c56497bdf1b65a4a69b45de51e8e42c.zip |
LibWeb: Introduce the Environment Settings Object
The environment settings object is effectively the context a piece of
script is running under, for example, it contains the origin,
responsible document, realm, global object and event loop for the
current context. This effectively replaces ScriptExecutionContext, but
it cannot be removed in this commit as EventTarget still depends on it.
https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object
Diffstat (limited to 'Userland/Libraries/LibJS/Forward.h')
-rw-r--r-- | Userland/Libraries/LibJS/Forward.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Forward.h b/Userland/Libraries/LibJS/Forward.h index ead0c0ebcb..9a35729af8 100644 --- a/Userland/Libraries/LibJS/Forward.h +++ b/Userland/Libraries/LibJS/Forward.h @@ -147,6 +147,7 @@ class ECMAScriptFunctionObject; class Environment; class Error; class ErrorType; +struct ExecutionContext; class Expression; class FunctionEnvironment; class FunctionNode; |