summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings/ScriptExecutionContext.h
blob: 3219a80a95a4470cf11b490864fc3844ccb98b83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Weakable.h>
#include <LibJS/Forward.h>
#include <LibWeb/Forward.h>

namespace Web::Bindings {

class ScriptExecutionContext {
public:
    virtual ~ScriptExecutionContext();

    virtual JS::Realm& realm() = 0;
};

}