LibWeb: Define WebAssembly namespace and import it in web bindings

This will contain concrete definitions of WebAssembly objects used by
generated WebAssembly IDL.
This commit is contained in:
Timothy Flynn 2023-03-15 13:35:10 -04:00 committed by Andreas Kling
parent af119d92cb
commit 5c97ffb94f
Notes: sideshowbarker 2024-07-16 23:17:55 +09:00
2 changed files with 6 additions and 0 deletions

View file

@ -2770,6 +2770,7 @@ using namespace Web::Streams;
using namespace Web::UIEvents;
using namespace Web::URL;
using namespace Web::XHR;
using namespace Web::WebAssembly;
using namespace Web::WebGL;
using namespace Web::WebIDL;
@ -2959,6 +2960,7 @@ using namespace Web::Streams;
using namespace Web::UIEvents;
using namespace Web::URL;
using namespace Web::XHR;
using namespace Web::WebAssembly;
using namespace Web::WebGL;
using namespace Web::WebIDL;
@ -3183,6 +3185,7 @@ using namespace Web::UIEvents;
using namespace Web::URL;
using namespace Web::WebSockets;
using namespace Web::XHR;
using namespace Web::WebAssembly;
using namespace Web::WebGL;
using namespace Web::WebIDL;

View file

@ -481,6 +481,9 @@ class Resource;
class ResourceLoader;
}
namespace Web::WebAssembly {
}
namespace Web::WebGL {
class WebGLContextEvent;
class WebGLRenderingContext;