Changeset 289896 in webkit
- Timestamp:
- Feb 16, 2022, 9:27:51 AM (3 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r289894 r289896 1 2022-02-16 Gavin Phillips <gavin.p@apple.com> 2 3 Allow exposed WebGL and WebAudio interfaces to be controlled via a setting 4 https://bugs.webkit.org/show_bug.cgi?id=236648 5 <rdar://problem/87821817> 6 7 We want to be able to enable/disable various WebGL/WebAudio interfaces via a setting 8 so that we can block them when CaptivePortalMode is enabled. 9 10 Reviewed by Brent Fulgham. 11 12 * Modules/webaudio/AnalyserNode.idl: 13 * Modules/webaudio/AudioBuffer.idl: 14 * Modules/webaudio/AudioBufferSourceNode.idl: 15 * Modules/webaudio/AudioDestinationNode.idl: 16 * Modules/webaudio/AudioListener.idl: 17 * Modules/webaudio/AudioNode.idl: 18 * Modules/webaudio/AudioParam.idl: 19 * Modules/webaudio/AudioProcessingEvent.idl: 20 * Modules/webaudio/AudioScheduledSourceNode.idl: 21 * Modules/webaudio/AudioWorkletProcessor.idl: 22 * Modules/webaudio/BiquadFilterNode.idl: 23 * Modules/webaudio/ChannelMergerNode.idl: 24 * Modules/webaudio/ChannelSplitterNode.idl: 25 * Modules/webaudio/ConvolverNode.idl: 26 * Modules/webaudio/DelayNode.idl: 27 * Modules/webaudio/DynamicsCompressorNode.idl: 28 * Modules/webaudio/GainNode.idl: 29 * Modules/webaudio/MediaElementAudioSourceNode.idl: 30 * Modules/webaudio/MediaStreamAudioDestinationNode.idl: 31 * Modules/webaudio/MediaStreamAudioSourceNode.idl: 32 * Modules/webaudio/OfflineAudioCompletionEvent.idl: 33 * Modules/webaudio/OscillatorNode.idl: 34 * Modules/webaudio/PeriodicWave.idl: 35 * Modules/webaudio/WaveShaperNode.idl: 36 * bindings/js/WebCoreBuiltinNames.h: 37 * html/canvas/WebGLActiveInfo.idl: 38 * html/canvas/WebGLBuffer.idl: 39 * html/canvas/WebGLContextEvent.idl: 40 * html/canvas/WebGLFramebuffer.idl: 41 * html/canvas/WebGLProgram.idl: 42 * html/canvas/WebGLQuery.idl: 43 * html/canvas/WebGLRenderbuffer.idl: 44 * html/canvas/WebGLRenderingContext.idl: 45 * html/canvas/WebGLSampler.idl: 46 * html/canvas/WebGLShader.idl: 47 * html/canvas/WebGLShaderPrecisionFormat.idl: 48 * html/canvas/WebGLSync.idl: 49 * html/canvas/WebGLTexture.idl: 50 * html/canvas/WebGLUniformLocation.idl: 51 1 52 2022-02-16 Philippe Normand <pnormand@igalia.com> 2 53 -
trunk/Source/WebCore/Modules/webaudio/AnalyserNode.idl
r283463 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/AudioBuffer.idl
r289117 r289896 29 29 [ 30 30 Conditional=WEB_AUDIO, 31 EnabledBySetting=WebAudioEnabled, 31 32 GenerateIsReachable=Impl, 32 33 JSCustomMarkFunction, -
trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
r283463 r289896 27 27 [ 28 28 Conditional=WEB_AUDIO, 29 EnabledBySetting=WebAudioEnabled, 29 30 JSCustomMarkFunction, 30 31 JSGenerateToJSObject, -
trunk/Source/WebCore/Modules/webaudio/AudioDestinationNode.idl
r267813 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 SkipVTableValidation, -
trunk/Source/WebCore/Modules/webaudio/AudioListener.idl
r288118 r289896 30 30 [ 31 31 Conditional=WEB_AUDIO, 32 EnabledBySetting=WebAudioEnabled, 32 33 Exposed=Window, 33 34 ] interface AudioListener { -
trunk/Source/WebCore/Modules/webaudio/AudioNode.idl
r277530 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO, 27 EnabledBySetting=WebAudioEnabled, 27 28 CustomToJSObject, 28 29 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/AudioParam.idl
r274832 r289896 29 29 [ 30 30 Conditional=WEB_AUDIO, 31 EnabledBySetting=WebAudioEnabled, 31 32 Exposed=Window 32 33 ] interface AudioParam { -
trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.idl
r283463 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.idl
r274832 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 ActiveDOMObject, -
trunk/Source/WebCore/Modules/webaudio/AudioWorkletProcessor.idl
r289117 r289896 29 29 [ 30 30 Conditional=WEB_AUDIO, 31 EnabledBySetting=WebAudioEnabled, 31 32 Exposed=AudioWorklet, 32 33 GenerateIsReachable=Impl, -
trunk/Source/WebCore/Modules/webaudio/BiquadFilterNode.idl
r283463 r289896 26 26 [ 27 27 Conditional=WEB_AUDIO, 28 EnabledBySetting=WebAudioEnabled, 28 29 JSGenerateToJSObject, 29 30 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.idl
r283463 r289896 29 29 [ 30 30 Conditional=WEB_AUDIO, 31 EnabledBySetting=WebAudioEnabled, 31 32 JSGenerateToJSObject, 32 33 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/ChannelSplitterNode.idl
r283463 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/ConvolverNode.idl
r283463 r289896 27 27 [ 28 28 Conditional=WEB_AUDIO, 29 EnabledBySetting=WebAudioEnabled, 29 30 JSGenerateToJSObject, 30 31 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/DelayNode.idl
r283463 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/DynamicsCompressorNode.idl
r283463 r289896 26 26 [ 27 27 Conditional=WEB_AUDIO, 28 EnabledBySetting=WebAudioEnabled, 28 29 JSGenerateToJSObject, 29 30 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/GainNode.idl
r283463 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.idl
r283463 r289896 26 26 [ 27 27 Conditional=WEB_AUDIO&VIDEO, 28 EnabledBySetting=WebAudioEnabled, 28 29 JSGenerateToJSObject, 29 30 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioDestinationNode.idl
r283463 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO&MEDIA_STREAM, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.idl
r283463 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO&MEDIA_STREAM, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.idl
r267813 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 Exposed=Window -
trunk/Source/WebCore/Modules/webaudio/OscillatorNode.idl
r283463 r289896 26 26 [ 27 27 Conditional=WEB_AUDIO, 28 EnabledBySetting=WebAudioEnabled, 28 29 JSGenerateToJSObject, 29 30 ActiveDOMObject, -
trunk/Source/WebCore/Modules/webaudio/PeriodicWave.idl
r288118 r289896 26 26 [ 27 27 Conditional=WEB_AUDIO, 28 EnabledBySetting=WebAudioEnabled, 28 29 Exposed=Window 29 30 ] interface PeriodicWave { -
trunk/Source/WebCore/Modules/webaudio/WaveShaperNode.idl
r283463 r289896 25 25 [ 26 26 Conditional=WEB_AUDIO, 27 EnabledBySetting=WebAudioEnabled, 27 28 JSGenerateToJSObject, 28 29 Exposed=Window -
trunk/Source/WebCore/bindings/js/WebCoreBuiltinNames.h
r288804 r289896 43 43 macro(AbortSignal) \ 44 44 macro(AbstractRange) \ 45 macro(AnalyserNode) \ 45 46 macro(Animation) \ 46 47 macro(AnimationEffect) \ … … 52 53 macro(AttachmentElement) \ 53 54 macro(Audio) \ 55 macro(AudioBuffer) \ 54 56 macro(AudioBufferSourceNode) \ 55 57 macro(AudioContext) \ 58 macro(AudioDestinationNode) \ 56 59 macro(AudioListener) \ 60 macro(AudioNode) \ 61 macro(AudioParam) \ 57 62 macro(AudioParamMap) \ 63 macro(AudioProcessingEvent) \ 64 macro(AudioScheduledSourceNode) \ 58 65 macro(AudioWorklet) \ 59 66 macro(AudioWorkletGlobalScope) \ 60 67 macro(AudioWorkletNode) \ 68 macro(AudioWorkletProcessor) \ 61 69 macro(AuthenticatorAssertionResponse) \ 62 70 macro(AuthenticatorAttestationResponse) \ 63 71 macro(AuthenticatorResponse) \ 64 72 macro(BaseAudioContext) \ 73 macro(BiquadFilterNode) \ 65 74 macro(BlobEvent) \ 66 75 macro(BroadcastChannel) \ 67 76 macro(Cache) \ 68 77 macro(CacheStorage) \ 78 macro(ChannelMergerNode) \ 79 macro(ChannelSplitterNode) \ 69 80 macro(Client) \ 70 81 macro(Clients) \ … … 73 84 macro(ConstantSourceNode) \ 74 85 macro(ContactsManager) \ 86 macro(ConvolverNode) \ 75 87 macro(Credential) \ 76 88 macro(CredentialsContainer) \ … … 110 122 macro(DataTransferItem) \ 111 123 macro(DataTransferItemList) \ 124 macro(DelayNode) \ 112 125 macro(DocumentTimeline) \ 126 macro(DynamicsCompressorNode) \ 113 127 macro(EnterPictureInPictureEvent) \ 114 128 macro(ExtendableEvent) \ … … 127 141 macro(FileSystemHandle) \ 128 142 macro(FileSystemSyncAccessHandle) \ 143 macro(GainNode) \ 129 144 macro(GPU) \ 130 145 macro(GPUAdapter) \ … … 201 216 macro(MediaCapabilitiesInfo) \ 202 217 macro(MediaDevices) \ 218 macro(MediaElementAudioSourceNode) \ 203 219 macro(MediaEncryptedEvent) \ 204 220 macro(MediaKeyMessageEvent) \ … … 213 229 macro(MediaSource) \ 214 230 macro(MediaStream) \ 231 macro(MediaStreamAudioDestinationNode) \ 232 macro(MediaStreamAudioSourceNode) \ 215 233 macro(MediaStreamTrack) \ 216 234 macro(MerchantValidationEvent) \ … … 223 241 macro(Notification) \ 224 242 macro(NotificationEvent) \ 243 macro(OfflineAudioCompletionEvent) \ 225 244 macro(OfflineAudioContext) \ 226 245 macro(OffscreenCanvas) \ … … 246 265 macro(PerformanceResourceTiming) \ 247 266 macro(PerformanceServerTiming) \ 267 macro(PeriodicWave) \ 248 268 macro(PermissionDescriptor) \ 249 269 macro(PermissionStatus) \ … … 335 355 macro(UndoManager) \ 336 356 macro(VisualViewport) \ 357 macro(WaveShaperNode) \ 337 358 macro(WebGL2RenderingContext) \ 359 macro(WebGLActiveInfo) \ 360 macro(WebGLBuffer) \ 361 macro(WebGLContextEvent) \ 362 macro(WebGLFramebuffer) \ 363 macro(WebGLProgram) \ 364 macro(WebGLQuery) \ 365 macro(WebGLRenderbuffer) \ 366 macro(WebGLRenderingContext) \ 367 macro(WebGLSampler) \ 368 macro(WebGLShader) \ 369 macro(WebGLShaderPrecisionFormat) \ 370 macro(WebGLSync) \ 371 macro(WebGLTexture) \ 372 macro(WebGLTransformFeedback) \ 373 macro(WebGLUniformLocation) \ 338 374 macro(WebGLVertexArrayObject) \ 339 macro(WebGLTransformFeedback) \340 375 macro(WebKitMediaKeyError) \ 341 376 macro(WebKitMediaKeyMessageEvent) \ -
trunk/Source/WebCore/html/canvas/WebGLActiveInfo.idl
r288118 r289896 27 27 [ 28 28 Conditional=WEBGL, 29 EnabledBySetting=WebGLEnabled, 29 30 Exposed=Window 30 31 ] interface WebGLActiveInfo { -
trunk/Source/WebCore/html/canvas/WebGLBuffer.idl
r267813 r289896 27 27 [ 28 28 Conditional=WEBGL, 29 EnabledBySetting=WebGLEnabled, 29 30 GenerateIsReachable=Impl, 30 31 Exposed=Window -
trunk/Source/WebCore/html/canvas/WebGLContextEvent.idl
r267813 r289896 26 26 [ 27 27 Conditional=WEBGL, 28 EnabledBySetting=WebGLEnabled, 28 29 Exposed=Window 29 30 ] interface WebGLContextEvent : Event { -
trunk/Source/WebCore/html/canvas/WebGLFramebuffer.idl
r267813 r289896 27 27 [ 28 28 Conditional=WEBGL, 29 EnabledBySetting=WebGLEnabled, 29 30 GenerateIsReachable=Impl, 30 31 Exposed=Window -
trunk/Source/WebCore/html/canvas/WebGLProgram.idl
r267813 r289896 27 27 [ 28 28 Conditional=WEBGL, 29 EnabledBySetting=WebGLEnabled, 29 30 GenerateIsReachable=Impl, 30 31 Exposed=Window -
trunk/Source/WebCore/html/canvas/WebGLQuery.idl
r267813 r289896 27 27 [ 28 28 Conditional=WEBGL, 29 EnabledBySetting=WebGLEnabled, 29 30 GenerateIsReachable=Impl, 30 31 Exposed=Window -
trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.idl
r267813 r289896 27 27 [ 28 28 Conditional=WEBGL, 29 EnabledBySetting=WebGLEnabled, 29 30 GenerateIsReachable=Impl, 30 31 Exposed=Window -
trunk/Source/WebCore/html/canvas/WebGLRenderingContext.idl
r273865 r289896 37 37 ActiveDOMObject, 38 38 Conditional=WEBGL, 39 EnabledBySetting=WebGLEnabled, 39 40 GenerateIsReachable=ImplCanvasBase, 40 41 JSCustomMarkFunction, -
trunk/Source/WebCore/html/canvas/WebGLSampler.idl
r267813 r289896 27 27 [ 28 28 Conditional=WEBGL, 29 EnabledBySetting=WebGLEnabled, 29 30 GenerateIsReachable=Impl, 30 31 Exposed=Window -
trunk/Source/WebCore/html/canvas/WebGLShader.idl
r267813 r289896 27 27 [ 28 28 Conditional=WEBGL, 29 EnabledBySetting=WebGLEnabled, 29 30 GenerateIsReachable=Impl, 30 31 Exposed=Window -
trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.idl
r288118 r289896 28 28 [ 29 29 Conditional=WEBGL, 30 EnabledBySetting=WebGLEnabled, 30 31 Exposed=Window 31 32 ] interface WebGLShaderPrecisionFormat { -
trunk/Source/WebCore/html/canvas/WebGLSync.idl
r267813 r289896 27 27 [ 28 28 Conditional=WEBGL, 29 EnabledBySetting=WebGLEnabled, 29 30 Exposed=Window 30 31 ] interface WebGLSync { -
trunk/Source/WebCore/html/canvas/WebGLTexture.idl
r267813 r289896 27 27 [ 28 28 Conditional=WEBGL, 29 EnabledBySetting=WebGLEnabled, 29 30 GenerateIsReachable=Impl, 30 31 Exposed=Window -
trunk/Source/WebCore/html/canvas/WebGLUniformLocation.idl
r288118 r289896 28 28 [ 29 29 Conditional=WEBGL, 30 EnabledBySetting=WebGLEnabled, 30 31 Exposed=Window 31 32 ] interface WebGLUniformLocation {
Note:
See TracChangeset
for help on using the changeset viewer.