summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2023-05-21 20:36:22 +0100
committerAndreas Kling <kling@serenityos.org>2023-05-22 06:07:05 +0200
commita5936864d963e29d27d4a5fe4f04dab456ad378c (patch)
tree738a33795b03218b3a372e565f18a3f6ec85abd1 /Meta
parent78db4e683f9149b36e4e4f3c90f0cb22c1faaf3d (diff)
downloadserenity-a5936864d963e29d27d4a5fe4f04dab456ad378c.zip
LibWeb: Stub AudioContext constructor
This is enough to make Discord not throw up "Well this is awkward" on login.
Diffstat (limited to 'Meta')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp5
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/Namespaces.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp
index 6cd3843904..0b406511b8 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp
+++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp
@@ -3114,6 +3114,7 @@ using namespace Web::UIEvents;
using namespace Web::URL;
using namespace Web::XHR;
using namespace Web::WebAssembly;
+using namespace Web::WebAudio;
using namespace Web::WebGL;
using namespace Web::WebIDL;
@@ -3330,6 +3331,7 @@ using namespace Web::UserTiming;
using namespace Web::URL;
using namespace Web::XHR;
using namespace Web::WebAssembly;
+using namespace Web::WebAudio;
using namespace Web::WebGL;
using namespace Web::WebIDL;
@@ -3713,6 +3715,7 @@ using namespace Web::UserTiming;
using namespace Web::WebSockets;
using namespace Web::XHR;
using namespace Web::WebAssembly;
+using namespace Web::WebAudio;
using namespace Web::WebGL;
using namespace Web::WebIDL;
@@ -3843,6 +3846,7 @@ using namespace Web::XHR;
using namespace Web::UIEvents;
using namespace Web::URL;
using namespace Web::UserTiming;
+using namespace Web::WebAudio;
using namespace Web::WebGL;
using namespace Web::WebIDL;
@@ -3994,6 +3998,7 @@ using namespace Web::SVG;
using namespace Web::UIEvents;
using namespace Web::URL;
using namespace Web::UserTiming;
+using namespace Web::WebAudio;
using namespace Web::WebSockets;
using namespace Web::XHR;
using namespace Web::WebGL;
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/Namespaces.h b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/Namespaces.h
index 19593e63f5..6fd5580dfd 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/Namespaces.h
+++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/Namespaces.h
@@ -31,6 +31,7 @@ static constexpr Array libweb_interface_namespaces = {
"Selection"sv,
"UIEvents"sv,
"URL"sv,
+ "WebAudio"sv,
"WebGL"sv,
"WebIDL"sv,
"WebSockets"sv,