LibWeb: Enable EXPLICIT_SYMBOL_EXPORT

This commit is contained in:
ayeteadoe 2025-07-19 19:35:33 -07:00 committed by Andrew Kaster
commit 3df8e00d91
Notes: github-actions[bot] 2025-08-23 22:05:58 +00:00
256 changed files with 728 additions and 512 deletions

View file

@ -7,6 +7,7 @@
#pragma once
#include <LibJS/Forward.h>
#include <LibWeb/Export.h>
namespace Web::HTML {
@ -16,7 +17,7 @@ enum class ErrorInPromise {
};
void report_exception_to_console(JS::Value, JS::Realm&, ErrorInPromise);
void report_exception(JS::Completion const&, JS::Realm&);
WEB_API void report_exception(JS::Completion const&, JS::Realm&);
template<typename T>
inline void report_exception(JS::ThrowCompletionOr<T> const& result, JS::Realm& realm)