summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebAudio/BaseAudioContext.idl
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 /Userland/Libraries/LibWeb/WebAudio/BaseAudioContext.idl
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 'Userland/Libraries/LibWeb/WebAudio/BaseAudioContext.idl')
-rw-r--r--Userland/Libraries/LibWeb/WebAudio/BaseAudioContext.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/WebAudio/BaseAudioContext.idl b/Userland/Libraries/LibWeb/WebAudio/BaseAudioContext.idl
new file mode 100644
index 0000000000..a246460979
--- /dev/null
+++ b/Userland/Libraries/LibWeb/WebAudio/BaseAudioContext.idl
@@ -0,0 +1,6 @@
+#import <DOM/EventTarget.idl>
+
+// https://webaudio.github.io/web-audio-api/#BaseAudioContext
+[Exposed=Window]
+interface BaseAudioContext : EventTarget {
+};