Title: [289896] trunk/Source/WebCore
Revision
289896
Author
commit-qu...@webkit.org
Date
2022-02-16 09:27:51 -0800 (Wed, 16 Feb 2022)

Log Message

Allow exposed WebGL and WebAudio interfaces to be controlled via a setting
https://bugs.webkit.org/show_bug.cgi?id=236648
<rdar://problem/87821817>

We want to be able to enable/disable various WebGL/WebAudio interfaces via a setting
so that we can block them when CaptivePortalMode is enabled.

Patch by Gavin Phillips <gavi...@apple.com> on 2022-02-16
Reviewed by Brent Fulgham.

* Modules/webaudio/AnalyserNode.idl:
* Modules/webaudio/AudioBuffer.idl:
* Modules/webaudio/AudioBufferSourceNode.idl:
* Modules/webaudio/AudioDestinationNode.idl:
* Modules/webaudio/AudioListener.idl:
* Modules/webaudio/AudioNode.idl:
* Modules/webaudio/AudioParam.idl:
* Modules/webaudio/AudioProcessingEvent.idl:
* Modules/webaudio/AudioScheduledSourceNode.idl:
* Modules/webaudio/AudioWorkletProcessor.idl:
* Modules/webaudio/BiquadFilterNode.idl:
* Modules/webaudio/ChannelMergerNode.idl:
* Modules/webaudio/ChannelSplitterNode.idl:
* Modules/webaudio/ConvolverNode.idl:
* Modules/webaudio/DelayNode.idl:
* Modules/webaudio/DynamicsCompressorNode.idl:
* Modules/webaudio/GainNode.idl:
* Modules/webaudio/MediaElementAudioSourceNode.idl:
* Modules/webaudio/MediaStreamAudioDestinationNode.idl:
* Modules/webaudio/MediaStreamAudioSourceNode.idl:
* Modules/webaudio/OfflineAudioCompletionEvent.idl:
* Modules/webaudio/OscillatorNode.idl:
* Modules/webaudio/PeriodicWave.idl:
* Modules/webaudio/WaveShaperNode.idl:
* bindings/js/WebCoreBuiltinNames.h:
* html/canvas/WebGLActiveInfo.idl:
* html/canvas/WebGLBuffer.idl:
* html/canvas/WebGLContextEvent.idl:
* html/canvas/WebGLFramebuffer.idl:
* html/canvas/WebGLProgram.idl:
* html/canvas/WebGLQuery.idl:
* html/canvas/WebGLRenderbuffer.idl:
* html/canvas/WebGLRenderingContext.idl:
* html/canvas/WebGLSampler.idl:
* html/canvas/WebGLShader.idl:
* html/canvas/WebGLShaderPrecisionFormat.idl:
* html/canvas/WebGLSync.idl:
* html/canvas/WebGLTexture.idl:
* html/canvas/WebGLUniformLocation.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (289895 => 289896)


--- trunk/Source/WebCore/ChangeLog	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/ChangeLog	2022-02-16 17:27:51 UTC (rev 289896)
@@ -1,3 +1,54 @@
+2022-02-16  Gavin Phillips  <gavi...@apple.com>
+
+        Allow exposed WebGL and WebAudio interfaces to be controlled via a setting
+        https://bugs.webkit.org/show_bug.cgi?id=236648
+        <rdar://problem/87821817>
+
+        We want to be able to enable/disable various WebGL/WebAudio interfaces via a setting
+        so that we can block them when CaptivePortalMode is enabled.
+
+        Reviewed by Brent Fulgham.
+
+        * Modules/webaudio/AnalyserNode.idl:
+        * Modules/webaudio/AudioBuffer.idl:
+        * Modules/webaudio/AudioBufferSourceNode.idl:
+        * Modules/webaudio/AudioDestinationNode.idl:
+        * Modules/webaudio/AudioListener.idl:
+        * Modules/webaudio/AudioNode.idl:
+        * Modules/webaudio/AudioParam.idl:
+        * Modules/webaudio/AudioProcessingEvent.idl:
+        * Modules/webaudio/AudioScheduledSourceNode.idl:
+        * Modules/webaudio/AudioWorkletProcessor.idl:
+        * Modules/webaudio/BiquadFilterNode.idl:
+        * Modules/webaudio/ChannelMergerNode.idl:
+        * Modules/webaudio/ChannelSplitterNode.idl:
+        * Modules/webaudio/ConvolverNode.idl:
+        * Modules/webaudio/DelayNode.idl:
+        * Modules/webaudio/DynamicsCompressorNode.idl:
+        * Modules/webaudio/GainNode.idl:
+        * Modules/webaudio/MediaElementAudioSourceNode.idl:
+        * Modules/webaudio/MediaStreamAudioDestinationNode.idl:
+        * Modules/webaudio/MediaStreamAudioSourceNode.idl:
+        * Modules/webaudio/OfflineAudioCompletionEvent.idl:
+        * Modules/webaudio/OscillatorNode.idl:
+        * Modules/webaudio/PeriodicWave.idl:
+        * Modules/webaudio/WaveShaperNode.idl:
+        * bindings/js/WebCoreBuiltinNames.h:
+        * html/canvas/WebGLActiveInfo.idl:
+        * html/canvas/WebGLBuffer.idl:
+        * html/canvas/WebGLContextEvent.idl:
+        * html/canvas/WebGLFramebuffer.idl:
+        * html/canvas/WebGLProgram.idl:
+        * html/canvas/WebGLQuery.idl:
+        * html/canvas/WebGLRenderbuffer.idl:
+        * html/canvas/WebGLRenderingContext.idl:
+        * html/canvas/WebGLSampler.idl:
+        * html/canvas/WebGLShader.idl:
+        * html/canvas/WebGLShaderPrecisionFormat.idl:
+        * html/canvas/WebGLSync.idl:
+        * html/canvas/WebGLTexture.idl:
+        * html/canvas/WebGLUniformLocation.idl:
+
 2022-02-16  Philippe Normand  <pnorm...@igalia.com>
 
         Add a dedicated ENABLE flag for MediaRecorder

Modified: trunk/Source/WebCore/Modules/webaudio/AnalyserNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/AnalyserNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/AnalyserNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface AnalyserNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/AudioBuffer.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/AudioBuffer.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/AudioBuffer.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -28,6 +28,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     GenerateIsReachable=Impl,
     JSCustomMarkFunction,
     JSGenerateToJSObject,

Modified: trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // A cached (non-streamed), memory-resident audio source
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSCustomMarkFunction,
     JSGenerateToJSObject,
     Exposed=Window

Modified: trunk/Source/WebCore/Modules/webaudio/AudioDestinationNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/AudioDestinationNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/AudioDestinationNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     SkipVTableValidation,
     Exposed=Window

Modified: trunk/Source/WebCore/Modules/webaudio/AudioListener.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/AudioListener.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/AudioListener.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -29,6 +29,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     Exposed=Window,
 ] interface AudioListener {
     readonly attribute AudioParam positionX;

Modified: trunk/Source/WebCore/Modules/webaudio/AudioNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/AudioNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/AudioNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     CustomToJSObject,
     Exposed=Window
 ] interface AudioNode : EventTarget {

Modified: trunk/Source/WebCore/Modules/webaudio/AudioParam.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/AudioParam.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/AudioParam.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -28,6 +28,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     Exposed=Window
 ] interface AudioParam {
     [ImplementedAs=valueForBindings] attribute float value;

Modified: trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface AudioProcessingEvent : Event {

Modified: trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
  */
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     ActiveDOMObject,
     Exposed=Window

Modified: trunk/Source/WebCore/Modules/webaudio/AudioWorkletProcessor.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/AudioWorkletProcessor.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/AudioWorkletProcessor.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -28,6 +28,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     Exposed=AudioWorklet,
     GenerateIsReachable=Impl,
     JSCustomMarkFunction,

Modified: trunk/Source/WebCore/Modules/webaudio/BiquadFilterNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/BiquadFilterNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/BiquadFilterNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -25,6 +25,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface BiquadFilterNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -28,6 +28,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface ChannelMergerNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/ChannelSplitterNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/ChannelSplitterNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/ChannelSplitterNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface ChannelSplitterNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/ConvolverNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/ConvolverNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/ConvolverNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // A linear convolution effect
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface ConvolverNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/DelayNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/DelayNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/DelayNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface DelayNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/DynamicsCompressorNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/DynamicsCompressorNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/DynamicsCompressorNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -25,6 +25,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface DynamicsCompressorNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/GainNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/GainNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/GainNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface GainNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -25,6 +25,7 @@
 
 [
     Conditional=WEB_AUDIO&VIDEO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface MediaElementAudioSourceNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioDestinationNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioDestinationNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioDestinationNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO&MEDIA_STREAM,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface MediaStreamAudioDestinationNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO&MEDIA_STREAM,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface MediaStreamAudioSourceNode : AudioNode {

Modified: trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface OfflineAudioCompletionEvent : Event {

Modified: trunk/Source/WebCore/Modules/webaudio/OscillatorNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/OscillatorNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/OscillatorNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -25,6 +25,7 @@
  
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     ActiveDOMObject,
     Exposed=Window

Modified: trunk/Source/WebCore/Modules/webaudio/PeriodicWave.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/PeriodicWave.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/PeriodicWave.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -25,6 +25,7 @@
 // PeriodicWave represents a periodic audio waveform given by its Fourier coefficients.
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     Exposed=Window
 ] interface PeriodicWave {
     [EnabledBySetting=WebAudioEnabled] constructor(BaseAudioContext context, optional PeriodicWaveOptions options);

Modified: trunk/Source/WebCore/Modules/webaudio/WaveShaperNode.idl (289895 => 289896)


--- trunk/Source/WebCore/Modules/webaudio/WaveShaperNode.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/Modules/webaudio/WaveShaperNode.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -24,6 +24,7 @@
 
 [
     Conditional=WEB_AUDIO,
+    EnabledBySetting=WebAudioEnabled,
     JSGenerateToJSObject,
     Exposed=Window
 ] interface WaveShaperNode : AudioNode {

Modified: trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h (289895 => 289896)


--- trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h	2022-02-16 17:27:51 UTC (rev 289896)
@@ -42,6 +42,7 @@
 #define WEBCORE_COMMON_PRIVATE_IDENTIFIERS_EACH_PROPERTY_NAME(macro) \
     macro(AbortSignal) \
     macro(AbstractRange) \
+    macro(AnalyserNode) \
     macro(Animation) \
     macro(AnimationEffect) \
     macro(AnimationPlaybackEvent) \
@@ -51,21 +52,31 @@
     macro(ApplePaySetupFeature) \
     macro(AttachmentElement) \
     macro(Audio) \
+    macro(AudioBuffer) \
     macro(AudioBufferSourceNode) \
     macro(AudioContext) \
+    macro(AudioDestinationNode) \
     macro(AudioListener) \
+    macro(AudioNode) \
+    macro(AudioParam) \
     macro(AudioParamMap) \
+    macro(AudioProcessingEvent) \
+    macro(AudioScheduledSourceNode) \
     macro(AudioWorklet) \
     macro(AudioWorkletGlobalScope) \
     macro(AudioWorkletNode) \
+    macro(AudioWorkletProcessor) \
     macro(AuthenticatorAssertionResponse) \
     macro(AuthenticatorAttestationResponse) \
     macro(AuthenticatorResponse) \
     macro(BaseAudioContext) \
+    macro(BiquadFilterNode) \
     macro(BlobEvent) \
     macro(BroadcastChannel) \
     macro(Cache) \
     macro(CacheStorage) \
+    macro(ChannelMergerNode) \
+    macro(ChannelSplitterNode) \
     macro(Client) \
     macro(Clients) \
     macro(Clipboard) \
@@ -72,6 +83,7 @@
     macro(ClipboardItem) \
     macro(ConstantSourceNode) \
     macro(ContactsManager) \
+    macro(ConvolverNode) \
     macro(Credential) \
     macro(CredentialsContainer) \
     macro(CryptoKey) \
@@ -109,7 +121,9 @@
     macro(Database) \
     macro(DataTransferItem) \
     macro(DataTransferItemList) \
+    macro(DelayNode) \
     macro(DocumentTimeline) \
+    macro(DynamicsCompressorNode) \
     macro(EnterPictureInPictureEvent) \
     macro(ExtendableEvent) \
     macro(ExtendableMessageEvent) \
@@ -126,6 +140,7 @@
     macro(FileSystemFileHandle) \
     macro(FileSystemHandle) \
     macro(FileSystemSyncAccessHandle) \
+    macro(GainNode) \
     macro(GPU) \
     macro(GPUAdapter) \
     macro(GPUBindGroup) \
@@ -200,6 +215,7 @@
     macro(MediaCapabilities) \
     macro(MediaCapabilitiesInfo) \
     macro(MediaDevices) \
+    macro(MediaElementAudioSourceNode) \
     macro(MediaEncryptedEvent) \
     macro(MediaKeyMessageEvent) \
     macro(MediaKeySession) \
@@ -212,6 +228,8 @@
     macro(MediaSessionCoordinator) \
     macro(MediaSource) \
     macro(MediaStream) \
+    macro(MediaStreamAudioDestinationNode) \
+    macro(MediaStreamAudioSourceNode) \
     macro(MediaStreamTrack) \
     macro(MerchantValidationEvent) \
     macro(MockRTCRtpTransform) \
@@ -222,6 +240,7 @@
     macro(NavigatorUserMedia) \
     macro(Notification) \
     macro(NotificationEvent) \
+    macro(OfflineAudioCompletionEvent) \
     macro(OfflineAudioContext) \
     macro(OffscreenCanvas) \
     macro(OffscreenCanvasRenderingContext2D) \
@@ -245,6 +264,7 @@
     macro(PerformancePaintTiming) \
     macro(PerformanceResourceTiming) \
     macro(PerformanceServerTiming) \
+    macro(PeriodicWave) \
     macro(PermissionDescriptor) \
     macro(PermissionStatus) \
     macro(Permissions) \
@@ -334,9 +354,24 @@
     macro(UndoItem) \
     macro(UndoManager) \
     macro(VisualViewport) \
+    macro(WaveShaperNode) \
     macro(WebGL2RenderingContext) \
+    macro(WebGLActiveInfo) \
+    macro(WebGLBuffer) \
+    macro(WebGLContextEvent) \
+    macro(WebGLFramebuffer) \
+    macro(WebGLProgram) \
+    macro(WebGLQuery) \
+    macro(WebGLRenderbuffer) \
+    macro(WebGLRenderingContext) \
+    macro(WebGLSampler) \
+    macro(WebGLShader) \
+    macro(WebGLShaderPrecisionFormat) \
+    macro(WebGLSync) \
+    macro(WebGLTexture) \
+    macro(WebGLTransformFeedback) \
+    macro(WebGLUniformLocation) \
     macro(WebGLVertexArrayObject) \
-    macro(WebGLTransformFeedback) \
     macro(WebKitMediaKeyError) \
     macro(WebKitMediaKeyMessageEvent) \
     macro(WebKitMediaKeyNeededEvent) \

Modified: trunk/Source/WebCore/html/canvas/WebGLActiveInfo.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLActiveInfo.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLActiveInfo.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     Exposed=Window
 ] interface WebGLActiveInfo {
     readonly attribute long size;

Modified: trunk/Source/WebCore/html/canvas/WebGLBuffer.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLBuffer.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLBuffer.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     GenerateIsReachable=Impl,
     Exposed=Window
 ] interface WebGLBuffer {

Modified: trunk/Source/WebCore/html/canvas/WebGLContextEvent.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLContextEvent.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLContextEvent.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -25,6 +25,7 @@
 
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     Exposed=Window
 ] interface WebGLContextEvent : Event {
     constructor(DOMString type, optional WebGLContextEventInit eventInit);

Modified: trunk/Source/WebCore/html/canvas/WebGLFramebuffer.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLFramebuffer.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLFramebuffer.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     GenerateIsReachable=Impl,
     Exposed=Window
 ] interface WebGLFramebuffer {

Modified: trunk/Source/WebCore/html/canvas/WebGLProgram.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLProgram.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLProgram.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     GenerateIsReachable=Impl,
     Exposed=Window
 ] interface WebGLProgram {

Modified: trunk/Source/WebCore/html/canvas/WebGLQuery.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLQuery.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLQuery.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     GenerateIsReachable=Impl,
     Exposed=Window
 ] interface WebGLQuery {

Modified: trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     GenerateIsReachable=Impl,
     Exposed=Window
 ] interface WebGLRenderbuffer {

Modified: trunk/Source/WebCore/html/canvas/WebGLRenderingContext.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLRenderingContext.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderingContext.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -36,6 +36,7 @@
 [
     ActiveDOMObject,
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     GenerateIsReachable=ImplCanvasBase,
     JSCustomMarkFunction,
     JSGenerateToJSObject,

Modified: trunk/Source/WebCore/html/canvas/WebGLSampler.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLSampler.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLSampler.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     GenerateIsReachable=Impl,
     Exposed=Window
 ] interface WebGLSampler {

Modified: trunk/Source/WebCore/html/canvas/WebGLShader.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLShader.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLShader.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     GenerateIsReachable=Impl,
     Exposed=Window
 ] interface WebGLShader {

Modified: trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -27,6 +27,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     Exposed=Window
 ] interface WebGLShaderPrecisionFormat {
     readonly attribute long rangeMin;

Modified: trunk/Source/WebCore/html/canvas/WebGLSync.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLSync.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLSync.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     Exposed=Window
 ] interface WebGLSync {
 };

Modified: trunk/Source/WebCore/html/canvas/WebGLTexture.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLTexture.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLTexture.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -26,6 +26,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     GenerateIsReachable=Impl,
     Exposed=Window
 ] interface WebGLTexture {

Modified: trunk/Source/WebCore/html/canvas/WebGLUniformLocation.idl (289895 => 289896)


--- trunk/Source/WebCore/html/canvas/WebGLUniformLocation.idl	2022-02-16 17:24:48 UTC (rev 289895)
+++ trunk/Source/WebCore/html/canvas/WebGLUniformLocation.idl	2022-02-16 17:27:51 UTC (rev 289896)
@@ -27,6 +27,7 @@
 // FIXME: This is specified as Exposed=(Window,Worker)
 [
     Conditional=WEBGL,
+    EnabledBySetting=WebGLEnabled,
     Exposed=Window
 ] interface WebGLUniformLocation {
 };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to