1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

LibWeb: Stub AudioContext constructor

This is enough to make Discord not throw up "Well this is awkward" on
login.
This commit is contained in:
Luke Wilde 2023-05-21 20:36:22 +01:00 committed by Andreas Kling
parent 78db4e683f
commit a5936864d9
11 changed files with 144 additions and 0 deletions

View file

@ -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;

View file

@ -31,6 +31,7 @@ static constexpr Array libweb_interface_namespaces = {
"Selection"sv,
"UIEvents"sv,
"URL"sv,
"WebAudio"sv,
"WebGL"sv,
"WebIDL"sv,
"WebSockets"sv,