mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 22:49:47 +00:00
LibWeb: Enable EXPLICIT_SYMBOL_EXPORT
This commit is contained in:
parent
94a3a7d9a1
commit
3df8e00d91
Notes:
github-actions[bot]
2025-08-23 22:05:58 +00:00
Author: https://github.com/ayeteadoe
Commit: 3df8e00d91
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5229
Reviewed-by: https://github.com/ADKaster ✅
256 changed files with 728 additions and 512 deletions
|
@ -7,14 +7,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGC/Ptr.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/Export.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
// When JS is run from outside the context of any user script, we currently do not have a running execution context.
|
||||
// This results in a crash when we access VM::running_execution_context(). This is a spec issue. Until it is resolved,
|
||||
// this is a workaround to temporarily push an execution context.
|
||||
class [[nodiscard]] TemporaryExecutionContext {
|
||||
class [[nodiscard]] WEB_API TemporaryExecutionContext {
|
||||
public:
|
||||
enum class CallbacksEnabled {
|
||||
No,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue