LibWeb: Decouple ModuleScript from WebAssemblyModule

Remove the concrete WebAssemblyModule include from ModuleScript.h and
include it only in the .cpp files that need the complete type. This
keeps the module script header from pulling WebAssembly implementation
details into unrelated LibWeb translation units.
This commit is contained in:
Andreas Kling 2026-05-14 10:02:06 +02:00 committed by Andreas Kling
parent a31c2c388b
commit e18d4f7418
Notes: github-actions[bot] 2026-05-14 10:21:30 +00:00
4 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,7 @@
#include <LibWeb/HTML/Scripting/ModuleScript.h>
#include <LibWeb/HTML/Scripting/TemporaryExecutionContext.h>
#include <LibWeb/HTML/WindowOrWorkerGlobalScope.h>
#include <LibWeb/WebAssembly/WebAssemblyModule.h>
#include <LibWeb/WebIDL/DOMException.h>
#include <LibWeb/WebIDL/ExceptionOr.h>
#include <LibWeb/WebIDL/QuotaExceededError.h>