haikuwebkit/Source/WebCore/DerivedSources-output.xcfil...

2619 lines
177 KiB
Plaintext
Raw Permalink Normal View History

# This file is generated by the generate-xcfilelists script.
Add basic infrastructure for AudioWorklet https://bugs.webkit.org/show_bug.cgi?id=217153 Reviewed by Sam Weinig. Source/WebCore: Add basic infrastructure for AudioWorklet: - https://www.w3.org/TR/webaudio/#audioworklet In particular, this adds a partial but spec-compliant implementation of Worklet.addModule(), as per: - https://drafts.css-houdini.org/worklets/#dom-worklet-addmodule When Worklet.addModule() is called, we create a AudioWorket thread and a AudioWorkletGlobalScope with its VM. We then ask the AudioWorkletGlobalScope to fetch and invoke the worklet script. Note that AudioWorkletGlobalScope does NOT fetch or invoke the worklet script yet to reduce patch size. Calling Worklet.addModule() activates the AudioWorklet and causes audio rendering to occur on the AudioWorkletThread. A few important things that are still missing in this patch: - Fetching & invoking worklet scripts - Pretty much all API exposed to AudioWorkletGlobalScopes - AudioWorkletProcessor support No new tests, no Web-facing behavior change yet. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Add new files to projets. * Modules/webaudio/AudioWorklet.cpp: (WebCore::AudioWorklet::create): (WebCore::AudioWorklet::AudioWorklet): (WebCore::AudioWorklet::createGlobalScopes): (WebCore::AudioWorklet::proxy const): * Modules/webaudio/AudioWorklet.h: When the Worklet needs to create a GlobalScope, AudioWorklet takes care of creating a AudioWorkletMessagingProxy. The AudioWorkletMessagingProxy starts the AudioWorkletThread, which creates the AudioWorkletGlobalScope. AudioWorkletMessagingProxy takes care of posting tasks from the main thread to the AudioWorkletThread as well. * Modules/webaudio/AudioWorkletGlobalScope.cpp: Added. * Modules/webaudio/AudioWorkletGlobalScope.h: Added. * Modules/webaudio/AudioWorkletGlobalScope.idl: Added. Add basic implementation for AudioWorkletGlobalScope: - https://www.w3.org/TR/webaudio/#audioworkletglobalscope None of the Web API is exposed on the AudioWorkletGlobalScope yet. * Modules/webaudio/AudioWorkletMessagingProxy.cpp: Added. * Modules/webaudio/AudioWorkletMessagingProxy.h: Added. Add new AudioWorkletMessagingProxy class (Similar to WorkerMessagingProxy) which starts to AudioWorkletThread (which constructs the AudioWorkletGlobalScope on that thread) and takes care of posting tasks from the main thread to the AudioWorkletThread. * Modules/webaudio/AudioWorkletThread.cpp: Added. * Modules/webaudio/AudioWorkletThread.h: Added. Add new class which wraps the AudioThread used by AudioWorkets. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::BaseAudioContext): Pass document when constructing the AudioWorklet since it is now an ActiveDOMObject. * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::enableInput): (WebCore::Function<void): (WebCore::DefaultAudioDestinationNode::startRendering): (WebCore::DefaultAudioDestinationNode::resume): (WebCore::DefaultAudioDestinationNode::setChannelCount): * Modules/webaudio/DefaultAudioDestinationNode.h: If AudioWorklet is active, pass a function to AudioDestination::start() that dispatches to the AudioWorkletThread, so that the AudioDestination can do rendering on the AudioWorkletThead instead of the device's rendering thread. * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): If AudioWorklet is active, use the AudioWorklet's AudioWorkletThread instead of a new audio thread to do the offline rendering. * bindings/js/WebCoreBuiltinNames.h: Add AudioWorkletGlobalScope since it is exposed conditionally at runtime to AudioWorkets. * bindings/js/WebCoreJSClientData.cpp: (WebCore::JSVMClientData::JSVMClientData): * bindings/js/WebCoreJSClientData.h: Add code to support AudioWorkletGlobalScope as a GlobalScope in our JS bindings. * bindings/js/WorkerScriptController.h: We now subclass WorkerOrWorkletScriptController interface. This allows WorkletScriptController to reuse WorkerRunLoop. * bindings/scripts/CodeGeneratorJS.pm: (ShouldUseGlobalObjectPrototype): * bindings/scripts/preprocess-idls.pl: Add support for AudioWorkletGlobalScope as global scope in our JS bindings. * css/DOMCSSPaintWorklet.cpp: (WebCore::PaintWorklet::addModule): (WebCore::PaintWorklet::createGlobalScopes): * css/DOMCSSPaintWorklet.h: * dom/Document.cpp: (WebCore::Document::ensurePaintWorklet): Update PaintWorklet code so that it keeps building. * platform/MediaStrategy.h: * platform/audio/AudioDestination.h: Make AudioDestination ThreadSafeRefCounted so that it can keep itself alive when dispatching to the AudioWorkletThread for rendering. * platform/audio/cocoa/AudioDestinationCocoa.cpp: (WebCore::AudioDestination::create): (WebCore::AudioDestinationCocoa::start): (WebCore::AudioDestinationCocoa::stop): (WebCore::AudioDestinationCocoa::setIsPlaying): (WebCore::AudioDestinationCocoa::render): (WebCore::AudioDestinationCocoa::renderOnRenderingThead): * platform/audio/cocoa/AudioDestinationCocoa.h: When we get a request to render audio, we now use the function provided by the DefaultAudioDestinationNode to dispatch to the AudioWorkletThread when needed (AudioWorklet is active) before doing the rendering. * platform/audio/gstreamer/AudioDestinationGStreamer.cpp: (WebCore::AudioDestinationGStreamer::start): * platform/audio/gstreamer/AudioDestinationGStreamer.h: * platform/mock/MockAudioDestinationCocoa.cpp: (WebCore::MockAudioDestinationCocoa::start): * platform/mock/MockAudioDestinationCocoa.h: Update code so that it keeps building. * workers/WorkerGlobalScope.cpp: (WebCore::WorkerGlobalScope::underlyingThread const): * workers/WorkerGlobalScope.h: * workers/WorkerOrWorkletGlobalScope.h: Added. * workers/WorkerOrWorkletScriptController.h: Added. Add new interfaces that are subclassed by Worker and Worklet implementation classes in order to promote code sharing. * workers/WorkerRunLoop.cpp: * workers/WorkerRunLoop.h: Update WorkerRunLoop to use WorkerOrWorkletGlobalScope so that it can be reused by AudioWorkletThread. * worklets/Worklet.cpp: (WebCore::Worklet::Worklet): (WebCore::Worklet::document): (WebCore::Worklet::addModule): (WebCore::Worklet::finishPendingTasks): (WebCore::Worklet::activeDOMObjectName const): * worklets/Worklet.h: (WebCore::Worklet::proxies const): * worklets/Worklet.idl: Add initial implementation for addModule(): - https://drafts.css-houdini.org/worklets/#dom-worklet-addmodule Make Worklet an ActiveDOMObject since it needs to resolve a JS promise asynchronously. * worklets/WorkletGlobalScope.cpp: (WebCore::WorkletGlobalScope::WorkletGlobalScope): (WebCore::WorkletGlobalScope::evaluate): (WebCore::WorkletGlobalScope::completeURL const): (WebCore::WorkletGlobalScope::fetchAndInvokeScript): * worklets/WorkletGlobalScope.h: (WebCore::WorkletGlobalScope::isAudioWorkletGlobalScope const): * worklets/WorkletGlobalScope.idl: Update WorkletGlobalScope so that it can be subclassed by AudioWorkletGlobalScope and not be PaintWorklet-specific. * worklets/WorkletGlobalScopeProxy.h: Added. Add WorkletGlobalScopeProxy interface to interact with the WorkletGlobalScope interface. The purpose of this class is to post tasks to the WorkletGlobalScope, abstracting away potential threading complexity. Note that AudioWorkets use threading while PaintWorklets do not. * worklets/WorkletPendingTasks.cpp: Added. (WebCore::WorkletPendingTasks::WorkletPendingTasks): (WebCore::WorkletPendingTasks::abort): (WebCore::WorkletPendingTasks::decrementCounter): * worklets/WorkletPendingTasks.h: Added. (WebCore::WorkletPendingTasks::create): Add implementation for: - https://drafts.css-houdini.org/worklets/#pending-tasks-struct While it is not strictly needed right for AudioWorklet (because there is always a single WorkletGlobalScope), it will be needed once we have proper support for PaintWorklets. PaintWorklets can have several WorkletGlobalScopes. In the mean time, it allows us to have code that matches the specification text more closely. * worklets/WorkletScriptController.cpp: (WebCore::WorkletScriptController::WorkletScriptController): (WebCore::WorkletScriptController::initScript): (WebCore::WorkletScriptController::releaseHeapAccess): (WebCore::WorkletScriptController::acquireHeapAccess): (WebCore::WorkletScriptController::addTimerSetNotification): (WebCore::WorkletScriptController::removeTimerSetNotification): (WebCore::WorkletScriptController::scheduleExecutionTermination): (WebCore::WorkletScriptController::isTerminatingExecution const): * worklets/WorkletScriptController.h: Update WorkletScriptController so that it can be used by AudioWorklets and not just PaintWorklets. Source/WebKit: Update RemoteAudioDestinationProxy to match what was done in AudioDestinationCocoa. RemoteAudioDestinationProxy is used when the GPU process is enabled. * GPUProcess/media/RemoteAudioDestinationManager.cpp: (WebKit::RemoteAudioDestination::start): * WebProcess/GPU/media/RemoteAudioDestinationProxy.cpp: (WebKit::RemoteAudioDestinationProxy::create): (WebKit::RemoteAudioDestinationProxy::start): (WebKit::RemoteAudioDestinationProxy::stop): (WebKit::RemoteAudioDestinationProxy::renderBuffer): * WebProcess/GPU/media/RemoteAudioDestinationProxy.h: * WebProcess/GPU/media/WebMediaStrategy.cpp: (WebKit::WebMediaStrategy::createAudioDestination): * WebProcess/GPU/media/WebMediaStrategy.h: Source/WebKitLegacy/mac: * WebCoreSupport/WebPlatformStrategies.mm: Source/WebKitLegacy/win: * WebCoreSupport/WebPlatformStrategies.cpp: Canonical link: https://commits.webkit.org/229978@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-01 23:21:07 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/AudioWorkletGlobalScopeConstructors.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ByteLengthQueuingStrategyBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/CSSPropertyNames.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/CSSPropertyNames.h
Add alternate, non-named-getter based, implementation of CSSStyleDeclaration back into WebCore https://bugs.webkit.org/show_bug.cgi?id=222517 Reviewed by Darin Adler. Source/WebCore: Re-lands change from r268564 but disabled behind a new ENABLE flag, ENABLE(ATTRIBUTE_BASED_PROPERTIES_FOR_CSS_STYLE_DECLARATION). Replace named getter/setter based implementation of access to CSSStyleDeclaration property values with a generated partial interface that lists all the properties exactly. To keep things consistent with existing behavior, in addition to the spec'd properties, we also maintain additional properties for epub prefixed properties. * CMakeLists.txt: * DerivedSources-output.xcfilelist: * DerivedSources.make: Generate CSSStyleDeclaration+PropertyNames.idl and ensure it is compile together with the other bindings. * css/makeprop.pl: Add generation of CSSStyleDeclaration+PropertyNames.idl from CSSProperties.json. Add checking of the enable flag to ensure it is not compiled by default. * bindings/scripts/CodeGeneratorJS.pm: (ToMethodName): Don't transform names that start with CSSOM to ensure property names are consistent. (GenerateAttributeGetterBodyDefinition): (GenerateAttributeSetterBodyDefinition): * bindings/scripts/IDLAttributes.json: Add initial support for the new CSSProperty extended attribute. Only the tests and the disabled code in CSSStyleDeclaration+PropertyNames.idl currently use it. * bindings/scripts/test/BindingTestGlobalConstructors.idl: * bindings/scripts/test/JS/JSTestCSSProperty.cpp: Added. * bindings/scripts/test/JS/JSTestCSSProperty.h: Added. * bindings/scripts/test/SupplementalDependencies.dep: * bindings/scripts/test/TestCSSProperty.idl: Added. Add tests for the new CSSProperty extended attribute. (WebCore::CSSComputedStyleDeclaration::setPropertyInternal): * css/CSSComputedStyleDeclaration.h: * css/PropertySetCSSStyleDeclaration.cpp: (WebCore::PropertySetCSSStyleDeclaration::getPropertyValueInternal): (WebCore::PropertySetCSSStyleDeclaration::setPropertyInternal): * css/PropertySetCSSStyleDeclaration.h: Remove unused bool return value from getPropertyValueInternal (it goes from ExceptionOr<bool> to ExceptionOr<void>) to simplify some callers that no longer need to check the return value. * css/CSSStyleDeclaration.cpp: * css/CSSStyleDeclaration.h: Extract out setPropertyValueInternal so it can be used by the bindings generator for CSSProperty attributes. * css/CSSStyleDeclaration.idl: Move named getter/setter declarations and DefaultDefineOwnProperty inside of enable flags checks so that when it is disabled, we don't use them. Source/WTF: * wtf/PlatformEnable.h: Add new off by default ENABLE flag ENABLE(ATTRIBUTE_BASED_PROPERTIES_FOR_CSS_STYLE_DECLARATION) which indicates that we should use the new attribute based implementation of property getter/setters of CSSStyleDeclaration. Once we remove the compile time and binary size regressions, we can enable this and remove the macro. Canonical link: https://commits.webkit.org/234710@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@273688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-01 21:27:39 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/CSSStyleDeclaration+PropertyNames.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/CSSValueKeywords.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/CSSValueKeywords.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ColorData.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/CommandLineAPIModuleSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/CountQueuingStrategyBuiltins.h
Use DOMConstructor array instead of HashMap since window constructor property access is critical https://bugs.webkit.org/show_bug.cgi?id=226909 Reviewed by Filip Pizlo. window.XXX constructor access is relatively frequently done. But its implementation is using HashMap lookup even though we are successfully caching the custom property accesses. This patch stop using HashMap and instead using array by collecting all constructors at build time. # of constructors are 774 in macOS build. preprocess-idls.pl collects all constructors and assign DOMConstructor::XXX enum to each constructor. And it also counts the number of constructors & create DOMConstructors class which holds array of constructors. We also remove locking for JSDOMGlobalObject::m_constructors since it is no longer HashTable, so GC can safely access to these fields. * CMakeLists.txt: * DerivedSources-output.xcfilelist: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMGlobalObject.cpp: (WebCore::JSDOMGlobalObject::JSDOMGlobalObject): (WebCore::JSDOMGlobalObject::visitChildrenImpl): * bindings/js/JSDOMGlobalObject.h: (WebCore::getDOMConstructor): Deleted. * bindings/js/JSDOMGlobalObjectInlines.h: Added. (WebCore::getDOMConstructor): * bindings/scripts/CodeGeneratorJS.pm: (GenerateImplementation): (GenerateCallbackImplementationContent): * bindings/scripts/preprocess-idls.pl: * bindings/scripts/test/JS/JSDOMWindow.cpp: (WebCore::JSDOMWindow::getConstructor): * bindings/scripts/test/JS/JSDedicatedWorkerGlobalScope.cpp: (WebCore::JSDedicatedWorkerGlobalScope::getConstructor): * bindings/scripts/test/JS/JSExposedToWorkerAndWindow.cpp: (WebCore::JSExposedToWorkerAndWindow::getConstructor): * bindings/scripts/test/JS/JSPaintWorkletGlobalScope.cpp: (WebCore::JSPaintWorkletGlobalScope::getConstructor): * bindings/scripts/test/JS/JSServiceWorkerGlobalScope.cpp: (WebCore::JSServiceWorkerGlobalScope::getConstructor): * bindings/scripts/test/JS/JSTestCEReactions.cpp: (WebCore::JSTestCEReactions::getConstructor): * bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp: (WebCore::JSTestCEReactionsStringifier::getConstructor): * bindings/scripts/test/JS/JSTestCallTracer.cpp: (WebCore::JSTestCallTracer::getConstructor): * bindings/scripts/test/JS/JSTestCallbackInterface.cpp: (WebCore::JSTestCallbackInterface::getConstructor): * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp: (WebCore::JSTestClassWithJSBuiltinConstructor::getConstructor): * bindings/scripts/test/JS/JSTestConditionalIncludes.cpp: (WebCore::JSTestConditionalIncludes::getConstructor): * bindings/scripts/test/JS/JSTestConditionallyReadWrite.cpp: (WebCore::JSTestConditionallyReadWrite::getConstructor): * bindings/scripts/test/JS/JSTestDOMJIT.cpp: (WebCore::JSTestDOMJIT::getConstructor): * bindings/scripts/test/JS/JSTestDefaultToJSON.cpp: (WebCore::JSTestDefaultToJSON::getConstructor): * bindings/scripts/test/JS/JSTestDefaultToJSONFilteredByExposed.cpp: (WebCore::JSTestDefaultToJSONFilteredByExposed::getConstructor): * bindings/scripts/test/JS/JSTestDefaultToJSONIndirectInheritance.cpp: (WebCore::JSTestDefaultToJSONIndirectInheritance::getConstructor): * bindings/scripts/test/JS/JSTestDefaultToJSONInherit.cpp: (WebCore::JSTestDefaultToJSONInherit::getConstructor): * bindings/scripts/test/JS/JSTestDefaultToJSONInheritFinal.cpp: (WebCore::JSTestDefaultToJSONInheritFinal::getConstructor): * bindings/scripts/test/JS/JSTestDelegateToSharedSyntheticAttribute.cpp: (WebCore::JSTestDelegateToSharedSyntheticAttribute::getConstructor): * bindings/scripts/test/JS/JSTestDomainSecurity.cpp: (WebCore::JSTestDomainSecurity::getConstructor): * bindings/scripts/test/JS/JSTestEnabledBySetting.cpp: (WebCore::JSTestEnabledBySetting::getConstructor): * bindings/scripts/test/JS/JSTestEnabledForContext.cpp: (WebCore::JSTestEnabledForContext::getConstructor): * bindings/scripts/test/JS/JSTestEventConstructor.cpp: (WebCore::JSTestEventConstructor::getConstructor): * bindings/scripts/test/JS/JSTestEventTarget.cpp: (WebCore::JSTestEventTarget::getConstructor): * bindings/scripts/test/JS/JSTestException.cpp: (WebCore::JSTestException::getConstructor): * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp: (WebCore::JSTestGenerateIsReachable::getConstructor): * bindings/scripts/test/JS/JSTestGlobalObject.cpp: (WebCore::JSTestGlobalObject::getConstructor): * bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp: (WebCore::JSTestIndexedSetterNoIdentifier::getConstructor): * bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp: (WebCore::JSTestIndexedSetterThrowingException::getConstructor): * bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp: (WebCore::JSTestIndexedSetterWithIdentifier::getConstructor): * bindings/scripts/test/JS/JSTestInterface.cpp: (WebCore::JSTestInterface::getConstructor): * bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp: (WebCore::JSTestInterfaceLeadingUnderscore::getConstructor): * bindings/scripts/test/JS/JSTestIterable.cpp: (WebCore::JSTestIterable::getConstructor): * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp: (WebCore::JSTestJSBuiltinConstructor::getConstructor): * bindings/scripts/test/JS/JSTestLegacyFactoryFunction.cpp: (WebCore::JSTestLegacyFactoryFunction::getConstructor): (WebCore::JSTestLegacyFactoryFunction::getLegacyFactoryFunction): * bindings/scripts/test/JS/JSTestLegacyOverrideBuiltIns.cpp: (WebCore::JSTestLegacyOverrideBuiltIns::getConstructor): * bindings/scripts/test/JS/JSTestMapLike.cpp: (WebCore::JSTestMapLike::getConstructor): * bindings/scripts/test/JS/JSTestMapLikeWithOverriddenOperations.cpp: (WebCore::JSTestMapLikeWithOverriddenOperations::getConstructor): * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp: (WebCore::JSTestNamedAndIndexedSetterNoIdentifier::getConstructor): * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp: (WebCore::JSTestNamedAndIndexedSetterThrowingException::getConstructor): * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp: (WebCore::JSTestNamedAndIndexedSetterWithIdentifier::getConstructor): * bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp: (WebCore::JSTestNamedDeleterNoIdentifier::getConstructor): * bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp: (WebCore::JSTestNamedDeleterThrowingException::getConstructor): * bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp: (WebCore::JSTestNamedDeleterWithIdentifier::getConstructor): * bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp: (WebCore::JSTestNamedDeleterWithIndexedGetter::getConstructor): * bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp: (WebCore::JSTestNamedGetterCallWith::getConstructor): * bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp: (WebCore::JSTestNamedGetterNoIdentifier::getConstructor): * bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp: (WebCore::JSTestNamedGetterWithIdentifier::getConstructor): * bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp: (WebCore::JSTestNamedSetterNoIdentifier::getConstructor): * bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp: (WebCore::JSTestNamedSetterThrowingException::getConstructor): * bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp: (WebCore::JSTestNamedSetterWithIdentifier::getConstructor): * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp: (WebCore::JSTestNamedSetterWithIndexedGetter::getConstructor): * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp: (WebCore::JSTestNamedSetterWithIndexedGetterAndSetter::getConstructor): * bindings/scripts/test/JS/JSTestNamedSetterWithLegacyOverrideBuiltIns.cpp: (WebCore::JSTestNamedSetterWithLegacyOverrideBuiltIns::getConstructor): * bindings/scripts/test/JS/JSTestNamedSetterWithLegacyUnforgeableProperties.cpp: (WebCore::JSTestNamedSetterWithLegacyUnforgeableProperties::getConstructor): * bindings/scripts/test/JS/JSTestNamedSetterWithLegacyUnforgeablePropertiesAndLegacyOverrideBuiltIns.cpp: (WebCore::JSTestNamedSetterWithLegacyUnforgeablePropertiesAndLegacyOverrideBuiltIns::getConstructor): * bindings/scripts/test/JS/JSTestNamespaceObject.cpp: (WebCore::JSTestNamespaceObject::getConstructor): * bindings/scripts/test/JS/JSTestNode.cpp: (WebCore::JSTestNode::getConstructor): * bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::JSTestObj::getConstructor): * bindings/scripts/test/JS/JSTestOperationConditional.cpp: (WebCore::JSTestOperationConditional::getConstructor): * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp: (WebCore::JSTestOverloadedConstructors::getConstructor): * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp: (WebCore::JSTestOverloadedConstructorsWithSequence::getConstructor): * bindings/scripts/test/JS/JSTestPluginInterface.cpp: (WebCore::JSTestPluginInterface::getConstructor): * bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp: (WebCore::JSTestPromiseRejectionEvent::getConstructor): * bindings/scripts/test/JS/JSTestReadOnlyMapLike.cpp: (WebCore::JSTestReadOnlyMapLike::getConstructor): * bindings/scripts/test/JS/JSTestReadOnlySetLike.cpp: (WebCore::JSTestReadOnlySetLike::getConstructor): * bindings/scripts/test/JS/JSTestReportExtraMemoryCost.cpp: (WebCore::JSTestReportExtraMemoryCost::getConstructor): * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: (WebCore::JSTestSerializedScriptValueInterface::getConstructor): * bindings/scripts/test/JS/JSTestSetLike.cpp: (WebCore::JSTestSetLike::getConstructor): * bindings/scripts/test/JS/JSTestSetLikeWithOverriddenOperations.cpp: (WebCore::JSTestSetLikeWithOverriddenOperations::getConstructor): * bindings/scripts/test/JS/JSTestStringifier.cpp: (WebCore::JSTestStringifier::getConstructor): * bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp: (WebCore::JSTestStringifierAnonymousOperation::getConstructor): * bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp: (WebCore::JSTestStringifierNamedOperation::getConstructor): * bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp: (WebCore::JSTestStringifierOperationImplementedAs::getConstructor): * bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp: (WebCore::JSTestStringifierOperationNamedToString::getConstructor): * bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp: (WebCore::JSTestStringifierReadOnlyAttribute::getConstructor): * bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp: (WebCore::JSTestStringifierReadWriteAttribute::getConstructor): * bindings/scripts/test/JS/JSTestTypedefs.cpp: (WebCore::JSTestTypedefs::getConstructor): * bindings/scripts/test/JS/JSWorkerGlobalScope.cpp: (WebCore::JSWorkerGlobalScope::getConstructor): * bindings/scripts/test/JS/JSWorkletGlobalScope.cpp: (WebCore::JSWorkletGlobalScope::getConstructor): Canonical link: https://commits.webkit.org/238759@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-06-12 01:20:38 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/DOMConstructors.h
Put all generated JSCells in WebCore into IsoSubspace https://bugs.webkit.org/show_bug.cgi?id=205107 Reviewed by Saam Barati. This patch automatically generates IsoSubspace per WebCore DOM object type. In preprocess-idls.pl, we collect all the DOM object types and generate DOMIsoSubspaces class, which contains all the necessary IsoSubspaces. And it is held by WebCoreJSClientData. CodeGeneratorJS.pm starts putting `subspaceFor` and `subspaceForImpl` for each JS DOM wrapper classes. And we dynamically create IsoSubspace and set it to WebCoreJSClientData's DOMIsoSubspaces. At the same time, we register IsoSubspace to m_outputConstraintSpaces if the class has output constraits callback. From the previous patch, we fixed outputConstraintSpaces bug, which is returning a copy of Vector<> instead of a reference to the member Vector. * CMakeLists.txt: * DerivedSources-output.xcfilelist: * DerivedSources.make: * WebCoreMacros.cmake: * bindings/js/JSDOMWrapper.cpp: (WebCore::outputConstraintSubspaceFor): Deleted. * bindings/js/JSDOMWrapper.h: * bindings/js/WebCoreJSClientData.cpp: (WebCore::JSVMClientData::JSVMClientData): * bindings/js/WebCoreJSClientData.h: (WebCore::JSVMClientData::forEachOutputConstraintSpace): (WebCore::JSVMClientData::subspaces): (WebCore::JSVMClientData::outputConstraintSpace): Deleted. (WebCore::JSVMClientData::subspaceForJSDOMWindow): Deleted. (WebCore::JSVMClientData::subspaceForJSDedicatedWorkerGlobalScope): Deleted. (WebCore::JSVMClientData::subspaceForJSRemoteDOMWindow): Deleted. (WebCore::JSVMClientData::subspaceForJSWorkerGlobalScope): Deleted. (WebCore::JSVMClientData::subspaceForJSServiceWorkerGlobalScope): Deleted. (WebCore::JSVMClientData::subspaceForJSPaintWorkletGlobalScope): Deleted. (WebCore::JSVMClientData::subspaceForJSWorkletGlobalScope): Deleted. * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): (GenerateImplementation): * bindings/scripts/generate-bindings-all.pl: * bindings/scripts/preprocess-idls.pl: * bindings/scripts/test/JS/JSInterfaceName.cpp: (WebCore::JSInterfaceName::subspaceForImpl): * bindings/scripts/test/JS/JSInterfaceName.h: (WebCore::JSInterfaceName::subspaceFor): * bindings/scripts/test/JS/JSMapLike.cpp: (WebCore::JSMapLike::subspaceForImpl): * bindings/scripts/test/JS/JSMapLike.h: (WebCore::JSMapLike::subspaceFor): * bindings/scripts/test/JS/JSReadOnlyMapLike.cpp: (WebCore::JSReadOnlyMapLike::subspaceForImpl): * bindings/scripts/test/JS/JSReadOnlyMapLike.h: (WebCore::JSReadOnlyMapLike::subspaceFor): * bindings/scripts/test/JS/JSReadOnlySetLike.cpp: (WebCore::JSReadOnlySetLike::subspaceForImpl): * bindings/scripts/test/JS/JSReadOnlySetLike.h: (WebCore::JSReadOnlySetLike::subspaceFor): * bindings/scripts/test/JS/JSSetLike.cpp: (WebCore::JSSetLike::subspaceForImpl): * bindings/scripts/test/JS/JSSetLike.h: (WebCore::JSSetLike::subspaceFor): * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp: (WebCore::JSTestActiveDOMObject::subspaceForImpl): * bindings/scripts/test/JS/JSTestActiveDOMObject.h: (WebCore::JSTestActiveDOMObject::subspaceFor): * bindings/scripts/test/JS/JSTestCEReactions.cpp: (WebCore::JSTestCEReactions::subspaceForImpl): * bindings/scripts/test/JS/JSTestCEReactions.h: (WebCore::JSTestCEReactions::subspaceFor): * bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp: (WebCore::JSTestCEReactionsStringifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestCEReactionsStringifier.h: (WebCore::JSTestCEReactionsStringifier::subspaceFor): * bindings/scripts/test/JS/JSTestCallTracer.cpp: (WebCore::JSTestCallTracer::subspaceForImpl): * bindings/scripts/test/JS/JSTestCallTracer.h: (WebCore::JSTestCallTracer::subspaceFor): * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp: (WebCore::JSTestClassWithJSBuiltinConstructor::subspaceForImpl): * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h: (WebCore::JSTestClassWithJSBuiltinConstructor::subspaceFor): * bindings/scripts/test/JS/JSTestDOMJIT.cpp: (WebCore::JSTestDOMJIT::subspaceForImpl): * bindings/scripts/test/JS/JSTestDOMJIT.h: (WebCore::JSTestDOMJIT::subspaceFor): * bindings/scripts/test/JS/JSTestEnabledBySetting.cpp: (WebCore::JSTestEnabledBySetting::subspaceForImpl): * bindings/scripts/test/JS/JSTestEnabledBySetting.h: (WebCore::JSTestEnabledBySetting::subspaceFor): * bindings/scripts/test/JS/JSTestEnabledForContext.cpp: (WebCore::JSTestEnabledForContext::subspaceForImpl): * bindings/scripts/test/JS/JSTestEnabledForContext.h: (WebCore::JSTestEnabledForContext::subspaceFor): * bindings/scripts/test/JS/JSTestEventConstructor.cpp: (WebCore::JSTestEventConstructor::subspaceForImpl): * bindings/scripts/test/JS/JSTestEventConstructor.h: (WebCore::JSTestEventConstructor::subspaceFor): * bindings/scripts/test/JS/JSTestEventTarget.cpp: (WebCore::JSTestEventTarget::subspaceForImpl): * bindings/scripts/test/JS/JSTestEventTarget.h: (WebCore::JSTestEventTarget::subspaceFor): * bindings/scripts/test/JS/JSTestException.cpp: (WebCore::JSTestException::subspaceForImpl): * bindings/scripts/test/JS/JSTestException.h: (WebCore::JSTestException::subspaceFor): * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp: (WebCore::JSTestGenerateIsReachable::subspaceForImpl): * bindings/scripts/test/JS/JSTestGenerateIsReachable.h: (WebCore::JSTestGenerateIsReachable::subspaceFor): * bindings/scripts/test/JS/JSTestGlobalObject.cpp: (WebCore::JSTestGlobalObject::subspaceForImpl): * bindings/scripts/test/JS/JSTestGlobalObject.h: (WebCore::JSTestGlobalObject::subspaceFor): * bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp: (WebCore::JSTestIndexedSetterNoIdentifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.h: (WebCore::JSTestIndexedSetterNoIdentifier::subspaceFor): * bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp: (WebCore::JSTestIndexedSetterThrowingException::subspaceForImpl): * bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.h: (WebCore::JSTestIndexedSetterThrowingException::subspaceFor): * bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp: (WebCore::JSTestIndexedSetterWithIdentifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.h: (WebCore::JSTestIndexedSetterWithIdentifier::subspaceFor): * bindings/scripts/test/JS/JSTestInterface.cpp: (WebCore::JSTestInterface::subspaceForImpl): * bindings/scripts/test/JS/JSTestInterface.h: * bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp: (WebCore::JSTestInterfaceLeadingUnderscore::subspaceForImpl): * bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.h: (WebCore::JSTestInterfaceLeadingUnderscore::subspaceFor): * bindings/scripts/test/JS/JSTestIterable.cpp: (WebCore::JSTestIterable::subspaceForImpl): * bindings/scripts/test/JS/JSTestIterable.h: (WebCore::JSTestIterable::subspaceFor): * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp: (WebCore::JSTestJSBuiltinConstructor::subspaceForImpl): * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h: (WebCore::JSTestJSBuiltinConstructor::subspaceFor): * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp: (WebCore::JSTestMediaQueryListListener::subspaceForImpl): * bindings/scripts/test/JS/JSTestMediaQueryListListener.h: (WebCore::JSTestMediaQueryListListener::subspaceFor): * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp: (WebCore::JSTestNamedAndIndexedSetterNoIdentifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.h: (WebCore::JSTestNamedAndIndexedSetterNoIdentifier::subspaceFor): * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp: (WebCore::JSTestNamedAndIndexedSetterThrowingException::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.h: (WebCore::JSTestNamedAndIndexedSetterThrowingException::subspaceFor): * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp: (WebCore::JSTestNamedAndIndexedSetterWithIdentifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.h: (WebCore::JSTestNamedAndIndexedSetterWithIdentifier::subspaceFor): * bindings/scripts/test/JS/JSTestNamedConstructor.cpp: (WebCore::JSTestNamedConstructor::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedConstructor.h: (WebCore::JSTestNamedConstructor::subspaceFor): * bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp: (WebCore::JSTestNamedDeleterNoIdentifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.h: (WebCore::JSTestNamedDeleterNoIdentifier::subspaceFor): * bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp: (WebCore::JSTestNamedDeleterThrowingException::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.h: (WebCore::JSTestNamedDeleterThrowingException::subspaceFor): * bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp: (WebCore::JSTestNamedDeleterWithIdentifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.h: (WebCore::JSTestNamedDeleterWithIdentifier::subspaceFor): * bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp: (WebCore::JSTestNamedDeleterWithIndexedGetter::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.h: (WebCore::JSTestNamedDeleterWithIndexedGetter::subspaceFor): * bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp: (WebCore::JSTestNamedGetterCallWith::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedGetterCallWith.h: (WebCore::JSTestNamedGetterCallWith::subspaceFor): * bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp: (WebCore::JSTestNamedGetterNoIdentifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.h: (WebCore::JSTestNamedGetterNoIdentifier::subspaceFor): * bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp: (WebCore::JSTestNamedGetterWithIdentifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.h: (WebCore::JSTestNamedGetterWithIdentifier::subspaceFor): * bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp: (WebCore::JSTestNamedSetterNoIdentifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.h: (WebCore::JSTestNamedSetterNoIdentifier::subspaceFor): * bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp: (WebCore::JSTestNamedSetterThrowingException::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedSetterThrowingException.h: (WebCore::JSTestNamedSetterThrowingException::subspaceFor): * bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp: (WebCore::JSTestNamedSetterWithIdentifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.h: (WebCore::JSTestNamedSetterWithIdentifier::subspaceFor): * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp: (WebCore::JSTestNamedSetterWithIndexedGetter::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.h: (WebCore::JSTestNamedSetterWithIndexedGetter::subspaceFor): * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp: (WebCore::JSTestNamedSetterWithIndexedGetterAndSetter::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.h: (WebCore::JSTestNamedSetterWithIndexedGetterAndSetter::subspaceFor): * bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp: (WebCore::JSTestNamedSetterWithOverrideBuiltins::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.h: (WebCore::JSTestNamedSetterWithOverrideBuiltins::subspaceFor): * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp: (WebCore::JSTestNamedSetterWithUnforgableProperties::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.h: (WebCore::JSTestNamedSetterWithUnforgableProperties::subspaceFor): * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp: (WebCore::JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins::subspaceForImpl): * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.h: (WebCore::JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins::subspaceFor): * bindings/scripts/test/JS/JSTestNode.cpp: (WebCore::JSTestNode::subspaceForImpl): * bindings/scripts/test/JS/JSTestNode.h: * bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::JSTestObj::subspaceForImpl): * bindings/scripts/test/JS/JSTestObj.h: (WebCore::JSTestObj::subspaceFor): * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp: (WebCore::JSTestOverloadedConstructors::subspaceForImpl): * bindings/scripts/test/JS/JSTestOverloadedConstructors.h: (WebCore::JSTestOverloadedConstructors::subspaceFor): * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp: (WebCore::JSTestOverloadedConstructorsWithSequence::subspaceForImpl): * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.h: (WebCore::JSTestOverloadedConstructorsWithSequence::subspaceFor): * bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp: (WebCore::JSTestOverrideBuiltins::subspaceForImpl): * bindings/scripts/test/JS/JSTestOverrideBuiltins.h: (WebCore::JSTestOverrideBuiltins::subspaceFor): * bindings/scripts/test/JS/JSTestPluginInterface.cpp: (WebCore::JSTestPluginInterface::subspaceForImpl): * bindings/scripts/test/JS/JSTestPluginInterface.h: (WebCore::JSTestPluginInterface::subspaceFor): * bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp: (WebCore::JSTestPromiseRejectionEvent::subspaceForImpl): * bindings/scripts/test/JS/JSTestPromiseRejectionEvent.h: (WebCore::JSTestPromiseRejectionEvent::subspaceFor): * bindings/scripts/test/JS/JSTestSerialization.cpp: (WebCore::JSTestSerialization::subspaceForImpl): * bindings/scripts/test/JS/JSTestSerialization.h: (WebCore::JSTestSerialization::subspaceFor): * bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp: (WebCore::JSTestSerializationIndirectInheritance::subspaceForImpl): * bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.h: (WebCore::JSTestSerializationIndirectInheritance::subspaceFor): * bindings/scripts/test/JS/JSTestSerializationInherit.cpp: (WebCore::JSTestSerializationInherit::subspaceForImpl): * bindings/scripts/test/JS/JSTestSerializationInherit.h: (WebCore::JSTestSerializationInherit::subspaceFor): * bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp: (WebCore::JSTestSerializationInheritFinal::subspaceForImpl): * bindings/scripts/test/JS/JSTestSerializationInheritFinal.h: (WebCore::JSTestSerializationInheritFinal::subspaceFor): * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: (WebCore::JSTestSerializedScriptValueInterface::subspaceForImpl): * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h: (WebCore::JSTestSerializedScriptValueInterface::subspaceFor): * bindings/scripts/test/JS/JSTestStringifier.cpp: (WebCore::JSTestStringifier::subspaceForImpl): * bindings/scripts/test/JS/JSTestStringifier.h: (WebCore::JSTestStringifier::subspaceFor): * bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp: (WebCore::JSTestStringifierAnonymousOperation::subspaceForImpl): * bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.h: (WebCore::JSTestStringifierAnonymousOperation::subspaceFor): * bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp: (WebCore::JSTestStringifierNamedOperation::subspaceForImpl): * bindings/scripts/test/JS/JSTestStringifierNamedOperation.h: (WebCore::JSTestStringifierNamedOperation::subspaceFor): * bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp: (WebCore::JSTestStringifierOperationImplementedAs::subspaceForImpl): * bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.h: (WebCore::JSTestStringifierOperationImplementedAs::subspaceFor): * bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp: (WebCore::JSTestStringifierOperationNamedToString::subspaceForImpl): * bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.h: (WebCore::JSTestStringifierOperationNamedToString::subspaceFor): * bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp: (WebCore::JSTestStringifierReadOnlyAttribute::subspaceForImpl): * bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.h: (WebCore::JSTestStringifierReadOnlyAttribute::subspaceFor): * bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp: (WebCore::JSTestStringifierReadWriteAttribute::subspaceForImpl): * bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.h: (WebCore::JSTestStringifierReadWriteAttribute::subspaceFor): * bindings/scripts/test/JS/JSTestTypedefs.cpp: (WebCore::JSTestTypedefs::subspaceForImpl): * bindings/scripts/test/JS/JSTestTypedefs.h: (WebCore::JSTestTypedefs::subspaceFor): Canonical link: https://commits.webkit.org/221606@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@257975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-03-06 11:11:40 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/DOMIsoSubspaces.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/DOMJITAbstractHeapRepository.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/DOMWindowConstructors.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/DedicatedWorkerGlobalScopeConstructors.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/DocumentTouch.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/EventFactory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/EventHeaders.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/EventInterfaces.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/EventTargetFactory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/EventTargetHeaders.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/EventTargetInterfaces.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/GestureEvent.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/GlobalEventHandlersCSSAnimations.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/GlobalEventHandlersCSSAnimations.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/GlobalEventHandlersCSSTransitions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/GlobalEventHandlersCSSTransitions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/GlobalEventHandlersPointerEvents.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/GlobalEventHandlersPointerEvents.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/HTMLElementFactory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/HTMLElementFactory.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/HTMLElementTypeHelpers.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/HTMLEntityTable.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/HTMLNames.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/HTMLNames.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/HTTPHeaderNames.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/HTTPHeaderNames.gperf
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/HTTPHeaderNames.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/InternalSettingsGenerated.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/InternalSettingsGenerated.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/InternalSettingsGenerated.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSANGLEInstancedArrays.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSANGLEInstancedArrays.h
Abort pipeTo based on AbortSignal https://bugs.webkit.org/show_bug.cgi?id=215448 Reviewed by Alex Christensen. LayoutTests/imported/w3c: * web-platform-tests/streams/piping/abort.any-expected.txt: * web-platform-tests/streams/piping/abort.any.worker-expected.txt: * web-platform-tests/streams/piping/close-propagation-forward.any-expected.txt: * web-platform-tests/streams/piping/close-propagation-forward.any.worker-expected.txt: * web-platform-tests/streams/piping/error-propagation-forward.any-expected.txt: * web-platform-tests/streams/piping/error-propagation-forward.any.worker-expected.txt: * web-platform-tests/streams/piping/flow-control.any-expected.txt: * web-platform-tests/streams/piping/flow-control.any.worker-expected.txt: Source/WebCore: * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/streams/ReadableStreamInternals.js: (readableStreamPipeToWritableStream): (pipeToFinalize): * Modules/streams/WritableStream.js: (initializeWritableStream): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMGlobalObject.cpp: (WebCore::makeDOMExceptionForBuiltins): (WebCore::whenSignalAborted): (WebCore::JSDOMGlobalObject::addBuiltinGlobals): * bindings/js/WebCoreBuiltinNames.h: * dom/AbortAlgorithm.h: Copied from Source/WebCore/dom/AbortSignal.idl. * dom/AbortAlgorithm.idl: Copied from Source/WebCore/dom/AbortSignal.idl. * dom/AbortSignal.cpp: (WebCore::AbortSignal::whenSignalAborted): * dom/AbortSignal.h: * dom/AbortSignal.idl: Canonical link: https://commits.webkit.org/228644@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-26 18:07:35 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAbortAlgorithm.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAbortAlgorithm.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAbortController.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAbortController.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAbortSignal.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAbortSignal.h
Add AbstractRange https://bugs.webkit.org/show_bug.cgi?id=217846 Reviewed by Ryosuke Niwa. LayoutTests/imported/w3c: * web-platform-tests/dom/idlharness.window-expected.txt: Updated test result for progression. Source/WebCore: This makes us more accurately match the DOM specification, makes Range and StaticRange objects slightly bigger since they now have a virtual table pointer, and makes the AbstractRange methods a bit slower to call from JavaScript since they are backed by C++ virtual functions. * CMakeLists.txt: Added AbstractRange files. * DerivedSources-input.xcfilelist: Ditto. * DerivedSources-output.xcfilelist: Ditto. * DerivedSources.make: Ditto. * Headers.cmake: Ditto. * Sources.txt: Ditto. * WebCore.xcodeproj/project.pbxproj: Ditto. Also removed reference to non-existent JSAudioNodeCustom.cpp and moved JSStaticRange file from the Events group into the Ranges group. * bindings/js/JSAbstractRangeCustom.cpp: Added. (WebCore::toJS): Added. Just the default implementation. Would be nice if we did not have to write this. (WebCore::toJSNewlyCreated): Make either a StaticRange or Range wrapper depending on whether this is a live range or not. * bindings/js/JSEventCustom.cpp: Removed lots of unneeded includes. (WebCore::toJS): Stopped using "using namespace JSC". * bindings/js/WebCoreBuiltinNames.h: Added AbstractRange. * dom/AbstractRange.cpp: Added. (WebCore::makeSimpleRange): Added. * dom/AbstractRange.h: Added. * dom/AbstractRange.idl: Added. * dom/Range.h: Changed to derive from AbstractRange instead of from RefCounted. Also marked this final since it's now polymorphic. Marked all the functions that override final as well, to check that they correctly override the virtual functions in the base class. Added private isLiveRange function override that returns true. Added SPECIALIZE_TYPE_TRAITS_BEGIN/END so we can do is<Range>. * dom/Range.idl: Removed ImplementationLacksVTable. Added JSGenerateToNativeObject. Inherit from AbstractRange. Removed the 5 attribute getters that are now inherited from AbstractRange. * dom/StaticRange.h: Changed to derive from AbstractRange instead of from RefCounted. Also marked this final since it's now polymorphic. Added functions to override the ones from StaticRange, calling through to the ones from SimpleRange (I thought there was a way to do this with using, but I couldn't figure that out). Added private isLiveRange function override that returns false. Added SPECIALIZE_TYPE_TRAITS_BEGIN/END so we can do is<StaticRange>. * dom/StaticRange.idl: Removed EnabledBySetting=InputEvents since this should now always be included. I think we should probably remove the InputEvents setting now entirely. Removed ImplementationLacksVTable. Added JSGenerateToNativeObject. Inherit from AbstractRange. Removed all 5 attribute getters, which are now inherited from AbstractRange. Canonical link: https://commits.webkit.org/230606@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-17 20:33:53 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAbstractRange.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAbstractRange.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAbstractWorker.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAbstractWorker.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAccessibilityRole.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAccessibilityRole.h
Support AbortSignal in addEventListenerOptions to unsubscribe from events https://bugs.webkit.org/show_bug.cgi?id=218753 <rdar://problem/71258012> Reviewed by Darin Adler. LayoutTests/imported/w3c: Import test coverage from WPT. * web-platform-tests/dom/events/AddEventListenerOptions-signal.any-expected.txt: Added. * web-platform-tests/dom/events/AddEventListenerOptions-signal.any.html: Added. * web-platform-tests/dom/events/AddEventListenerOptions-signal.any.js: Added. * web-platform-tests/dom/events/AddEventListenerOptions-signal.any.worker-expected.txt: Added. * web-platform-tests/dom/events/AddEventListenerOptions-signal.any.worker.html: Added. * web-platform-tests/dom/events/w3c-import.log: Source/WebCore: Support AbortSignal in addEventListenerOptions to unsubscribe from events: - https://github.com/whatwg/dom/issues/911 - https://github.com/whatwg/dom/pull/919 Blink already added support for this. Tests: imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.html imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.worker.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/async-clipboard/Clipboard.h: * Modules/encryptedmedia/MediaKeySession.h: * Modules/indexeddb/IDBRequest.h: * Modules/mediastream/MediaDevices.h: * Modules/mediastream/RTCPeerConnection.h: * Modules/paymentrequest/PaymentRequest.h: * Modules/speech/SpeechRecognition.h: * Modules/webaudio/BaseAudioContext.h: * Modules/webgpu/WebGPUDevice.h: * Modules/webxr/WebXRSystem.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * animation/WebAnimation.h: * css/MediaQueryList.cpp: (WebCore::MediaQueryList::addListener): (WebCore::MediaQueryList::removeListener): * css/MediaQueryList.h: * dom/AbortSignal.h: * dom/AddEventListenerOptions.h: Copied from Source/WebCore/loader/appcache/DOMApplicationCache.h. (WebCore::AddEventListenerOptions::AddEventListenerOptions): * dom/AddEventListenerOptions.idl: Copied from Source/WebCore/loader/appcache/DOMApplicationCache.h. * dom/EventListener.h: * dom/EventListenerMap.cpp: * dom/EventListenerOptions.h: Copied from Source/WebCore/loader/appcache/DOMApplicationCache.h. (WebCore::EventListenerOptions::EventListenerOptions): * dom/EventListenerOptions.idl: Copied from Source/WebCore/loader/appcache/DOMApplicationCache.h. * dom/EventTarget.cpp: (WebCore::EventTarget::addEventListener): (WebCore::EventTarget::removeEventListenerForBindings): (WebCore::EventTarget::removeEventListener): (WebCore::EventTarget::setAttributeEventListener): (WebCore::EventTarget::innerInvokeEventListeners): * dom/EventTarget.h: (WebCore::EventTarget::removeEventListener): * dom/EventTarget.idl: * dom/MessagePort.cpp: (WebCore::MessagePort::MessagePort): (WebCore::MessagePort::removeEventListener): * dom/MessagePort.h: * dom/Node.cpp: (WebCore::tryAddEventListener): (WebCore::tryRemoveEventListener): (WebCore::Node::removeEventListener): * dom/Node.h: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::removeEventListener): * html/HTMLMediaElement.h: * html/ImageDocument.cpp: * html/track/TextTrackCue.h: * inspector/agents/InspectorDOMAgent.cpp: * loader/appcache/DOMApplicationCache.h: * page/DOMWindow.cpp: (WebCore::DOMWindow::removeEventListener): * page/DOMWindow.h: * platform/cocoa/PlaybackSessionModelMediaElement.mm: * platform/cocoa/VideoFullscreenModelVideoElement.mm: * svg/SVGElement.cpp: (WebCore::SVGElement::removeEventListener): * svg/SVGElement.h: * svg/SVGTRefElement.cpp: * svg/animation/SVGSMILElement.cpp: * testing/Internals.cpp: * workers/service/ServiceWorkerContainer.h: Source/WebKit: Minor build fixes. * WebProcess/Plugins/PDF/PDFPluginAnnotation.mm: Source/WebKitLegacy/mac: Minor build fixes. * DOM/DOMNode.mm: Source/WTF: Add initializeWeakPtrFactory() protection function to CanMakeWeakPtr so that a subclass can eagerly initialize the WeakPtrFactory even if it does not subclass WeakPtrFactory<T, WeakPtrFactoryInitialization::Eager>. MessagePort used to subclass WeakPtrFactory<T, WeakPtrFactoryInitialization::Eager> for thread-safety reason but it now subclasses WeakPtrFactory<T, WeakPtrFactoryInitialization::Lazy> via EventTarget. * wtf/WeakPtr.h: (WTF::CanMakeWeakPtr::initializeWeakPtrFactory): Canonical link: https://commits.webkit.org/233312@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-01-25 20:06:25 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAddEventListenerOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAddEventListenerOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAddressErrors.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAddressErrors.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAesCbcCfbParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAesCbcCfbParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAesCtrParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAesCtrParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAesGcmParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAesGcmParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAesKeyParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAesKeyParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnalyserNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnalyserNode.h
Added Constructor to AnalyserNode https://bugs.webkit.org/show_bug.cgi?id=215040 Patch by Clark Wang <clark_wang@apple.com> on 2020-08-03 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined existing tests. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-sizing-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-analysernode-interface/test-analysernode-expected.txt: Source/WebCore: Introduced AnalyserNode constructor and AnalyserOptions according to spec: https://www.w3.org/TR/webaudio/#AnalyserNode-constructors. Re-baselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AnalyserNode.cpp: (WebCore::AnalyserNode::create): (WebCore::AnalyserNode::AnalyserNode): (WebCore::AnalyserNode::setFftSize): (WebCore::AnalyserNode::setMinMaxDecibels): (WebCore::AnalyserNode::setMinDecibels): (WebCore::AnalyserNode::setMaxDecibels): * Modules/webaudio/AnalyserNode.h: * Modules/webaudio/AnalyserNode.idl: * Modules/webaudio/AnalyserOptions.h: Added. * Modules/webaudio/AnalyserOptions.idl: Added. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createAnalyser): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: LayoutTests: Re-baselined existing tests. * webaudio/analyser-exception-expected.txt: Canonical link: https://commits.webkit.org/227882@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-03 15:51:42 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnalyserOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnalyserOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimatable.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimatable.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationEffect.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationEffect.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationEvent.h
[WebIDL] Support extended attributes on includes statements to allow for conditionalized inclusion https://bugs.webkit.org/show_bug.cgi?id=216235 Reviewed by Darin Adler. In some circumstancs, such as with the AnimationFrameProvider interface mixin, it is useful to only include a mixin based on some conditional. For AnimationFrameProvider, we currently only want to include it in DedicatedWorkerGlobalScope if ENABLE(OFFSCREEN_CANVAS) is set at compile time, and the runtime feature flag offscreenCanvasEnabled() is turned on. To support that, this change adds support for specifying extended attributes on the includes statement itself, and having those extended attributes applied to each member of the mixin. For AnimationFrameProvider in DedicatedWorkerGlobalScope, that looks like: [Conditional=OFFSCREEN_CANVAS, EnabledAtRuntime=OffscreenCanvas] DedicatedWorkerGlobalScope includes AnimationFrameProvider; * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: Add new files, update xcfilelists. * animation/AnimationFrameProvider.idl: Added. * page/DOMWindow.idl: * workers/DedicatedWorkerGlobalScope.idl: Split AnimationFrameProvider.idl out into its own mixin (as specified) and included it in both DOMWindow and DedicatedWorkerGlobalScope (conditionally). * bindings/scripts/CodeGenerator.pm: (ProcessDocument): (ProcessDictionaryAndEnumerationImplementedAsOverrides): (ProcessInterfaces): (ProcessCallbackFunctions): (ProcessDictionaries): (ProcessEnumerations): Split processing of each different type of top level type into its own function, and defer processing of supplemental dependencies until the primary type has been selected. (MergeExtendedAttributesFromSupplemental): (IsValidSupplementalInterface): (IsValidSupplementalDictionary): (ProcessInterfaceSupplementalDependencies): (ProcessDictionarySupplementalDependencies): Split ProcessSupplementalDependencies into ProcessInterfaceSupplementalDependencies and ProcessDictionarySupplementalDependencies, which now get passed the primary interface or dictionary that needs supplementing. ProcessInterfaceSupplementalDependencies now also supports merging extended attributes from includes statements and checking that all includes are listed in the dependency set. * bindings/scripts/IDLAttributes.json: Allow setting use of Conditional, EnabledAtRuntime and EnabledBySetting for includes statements. * bindings/scripts/IDLParser.pm: (parseIncludesStatement): Fix ordering of struct members so that extendedAttributes is always last (no real good reason other than most of the structs already did this and the lack of consistency bothered me). Add extendedAttributes to IDLIncludesStatement and set it when parsing. * bindings/scripts/preprocess-idls.pl: (getIncludedInterfacesFromIDL): Fix bug in regex (found easily by the validation parser!) that incorrectly required the interface name in the includes statement to be the first word on a line. * bindings/scripts/test/BindingTestGlobalConstructors.idl: * bindings/scripts/test/JS/JSTestConditionalIncludes.cpp: Added. * bindings/scripts/test/JS/JSTestConditionalIncludes.h: Added. * bindings/scripts/test/JS/JSTestGlobalObject.cpp: * bindings/scripts/test/JS/JSTestInterface.cpp: * bindings/scripts/test/SupplementalDependencies.dep: * bindings/scripts/test/TestConditionalIncludes.idl: Added. * bindings/scripts/test/TestIncludes.idl: Add tests for extended attributes on includes statements. Canonical link: https://commits.webkit.org/229075@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-07 18:42:24 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationFrameProvider.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationFrameProvider.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationPlaybackEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationPlaybackEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationPlaybackEventInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationPlaybackEventInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationTimeline.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAnimationTimeline.h
[Apple Pay] Tell websites why a session was cancelled https://bugs.webkit.org/show_bug.cgi?id=201912 Source/WebCore: Reviewed by Brady Eidson. Added ApplePayCancelEvent as the interface for ApplePaySession's cancel event. This event object includes a `sessionError` attribute that exposes a Web-safe version of the PassKit domain error we received from PKPaymentAuthorization(View)Controller. Currently, we report all errors with code "unknown", but more codes will be added in future patches. Test: http/tests/ssl/applepay/ApplePayCancelEvent.https.html * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/applepay/ApplePayCancelEvent.cpp: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. (WebCore::ApplePayCancelEvent::ApplePayCancelEvent): (WebCore::ApplePayCancelEvent::sessionError const): (WebCore::ApplePayCancelEvent::eventInterface const): * Modules/applepay/ApplePayCancelEvent.h: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. (WebCore::ApplePayCancelEvent::create): * Modules/applepay/ApplePayCancelEvent.idl: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. * Modules/applepay/ApplePaySession.cpp: (WebCore::ApplePaySession::didCancelPaymentSession): * Modules/applepay/ApplePaySession.h: * Modules/applepay/ApplePaySessionError.h: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. * Modules/applepay/ApplePaySessionError.idl: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. * Modules/applepay/PaymentCoordinator.cpp: (WebCore::PaymentCoordinator::didCancelPaymentSession): * Modules/applepay/PaymentCoordinator.h: * Modules/applepay/PaymentHeaders.h: * Modules/applepay/PaymentSession.cpp: * Modules/applepay/PaymentSession.h: * Modules/applepay/PaymentSessionError.h: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. * Modules/applepay/cocoa/PaymentSessionErrorCocoa.mm: Copied from Source/WebCore/Modules/applepay/PaymentSession.h. (WebCore::additionalError): (WebCore::PaymentSessionError::PaymentSessionError): (WebCore::PaymentSessionError::sessionError const): (WebCore::PaymentSessionError::platformError const): (WebCore::PaymentSessionError::unknownError const): * Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp: (WebCore::ApplePayPaymentHandler::didCancelPaymentSession): * Modules/applepay/paymentrequest/ApplePayPaymentHandler.h: * Modules/webgpu/WHLSL/WHLSLCheckTextureReferences.cpp: * Modules/webgpu/WHLSL/WHLSLPropertyResolver.cpp: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * dom/EventNames.in: * testing/MockPaymentCoordinator.cpp: (WebCore::MockPaymentCoordinator::cancelPayment): Source/WebCore/PAL: <rdar://problem/55469706> Reviewed by Brady Eidson. Soft-linked PKPassKitErrorDomain and included PassKit headers more judiciously. * pal/cocoa/PassKitSoftLink.h: * pal/cocoa/PassKitSoftLink.mm: * pal/spi/cocoa/PassKitSPI.h: Source/WebKit: <rdar://problem/55469706> Reviewed by Brady Eidson. Remembered the error passed to -[WKPaymentAuthorizationDelegate _willFinishWithError:] and sent it to the WebContent process in Messages::WebPaymentCoordinator::DidCancelPaymentSession. * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: (-[WKPaymentAuthorizationDelegate _didFinish]): (-[WKPaymentAuthorizationDelegate _willFinishWithError:]): * Shared/ApplePay/WebPaymentCoordinatorProxy.cpp: (WebKit::WebPaymentCoordinatorProxy::didCancelPaymentSession): (WebKit::WebPaymentCoordinatorProxy::presenterDidFinish): * Shared/ApplePay/WebPaymentCoordinatorProxy.h: (WebKit::WebPaymentCoordinatorProxy::didCancelPaymentSession): * Shared/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm: * Shared/Cocoa/WebCoreArgumentCodersCocoa.mm: (IPC::ArgumentCoder<WebCore::PaymentSessionError>::encode): (IPC::ArgumentCoder<WebCore::PaymentSessionError>::decode): * Shared/WebCoreArgumentCoders.h: * WebProcess/ApplePay/WebPaymentCoordinator.cpp: (WebKit::WebPaymentCoordinator::networkProcessConnectionClosed): (WebKit::WebPaymentCoordinator::didCancelPaymentSession): * WebProcess/ApplePay/WebPaymentCoordinator.h: * WebProcess/ApplePay/WebPaymentCoordinator.messages.in: LayoutTests: Reviewed by Brady Eidson. * http/tests/ssl/applepay/ApplePayCancelEvent.https-expected.txt: Added. * http/tests/ssl/applepay/ApplePayCancelEvent.https.html: Added. Canonical link: https://commits.webkit.org/215573@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-18 19:13:33 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayCancelEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayCancelEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayContactField.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayContactField.h
[Payment Request] upstream new features https://bugs.webkit.org/show_bug.cgi?id=226740 <rdar://problem/78963132> Reviewed by Andy Estes. Source/WebCore: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) Tests: http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https.html http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https.html http/tests/paymentrequest/ApplePayModifier-total.https.html http/tests/paymentrequest/paymentmethodchange-couponCode.https.html http/tests/paymentrequest/paymentrequest-couponCode.https.html http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https.html http/tests/paymentrequest/paymentrequest-supportsCouponCode.https.html * Modules/applepay/ApplePayCouponCodeUpdate.idl: Copied from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeUpdate.idl. * Modules/applepay/ApplePayCouponCodeUpdate.h: Renamed from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeUpdate.h. (WebCore::ApplePayCouponCodeUpdate::encode const): (WebCore::ApplePayCouponCodeUpdate::decode): Object used to update the payment request via `ApplePaySession.prototype.completeCouponCodeChange` when responding to the user modifying the coupon code. * Modules/applepay/ApplePayErrorCode.idl: * Modules/applepay/ApplePayErrorCode.h: Add `"couponCodeInvalid"` and `"couponCodeExpired"`. * Modules/applepay/ApplePayLineItem.idl: * Modules/applepay/ApplePayLineItem.h: (WebCore::ApplePayLineItem::encode const): (WebCore::ApplePayLineItem::decode): * Modules/applepay/ApplePayPaymentTiming.idl: Added. * Modules/applepay/ApplePayPaymentTiming.h: Added. * Modules/applepay/ApplePayRecurringPaymentDateUnit.idl: Added. * Modules/applepay/ApplePayRecurringPaymentDateUnit.h: Added. Add members that indicate whether this line item is immediate, recurring, or deferred. Depending on that timing, additional members are added for further configuration (e.g. the start and/or end date of a recurring payment, it's frequency, etc.). * Modules/applepay/ApplePayShippingMethod.idl: * Modules/applepay/ApplePayShippingMethod.h: (WebCore::ApplePayShippingMethod::encode const): (WebCore::ApplePayShippingMethod::decode): * Modules/applepay/ApplePayDateComponentsRange.idl: Added. * Modules/applepay/ApplePayDateComponentsRange.h: Added. (WebCore::ApplePayDateComponentsRange::encode const): (WebCore::ApplePayDateComponentsRange::decode): * Modules/applepay/ApplePayDateComponents.idl: Added. * Modules/applepay/ApplePayDateComponents.h: Added. (WebCore::ApplePayDateComponents::encode const): (WebCore::ApplePayDateComponents::decode): Add members that can be used to indicate the estimated shipping dates for this shipping method. * Modules/applepay/ApplePayRequestBase.idl: * Modules/applepay/ApplePayRequestBase.h: * Modules/applepay/ApplePayRequestBase.cpp: (WebCore::convertAndValidate): * Modules/applepay/ApplePaySessionPaymentRequest.h: (WebCore::ApplePaySessionPaymentRequest::supportsCouponCode const): Added. (WebCore::ApplePaySessionPaymentRequest::setSupportsCouponCode): Added. (WebCore::ApplePaySessionPaymentRequest::couponCode const): Added. (WebCore::ApplePaySessionPaymentRequest::setCouponCode): Added. (WebCore::ApplePaySessionPaymentRequest::shippingContactEditingMode const): Added. (WebCore::ApplePaySessionPaymentRequest::setShippingContactEditingMode): Added. * Modules/applepay/ApplePayShippingContactEditingMode.idl: Added. * Modules/applepay/ApplePayShippingContactEditingMode.h: Added. Add members that indicate: - whether this payment request supports a coupon code at all - the initial coupon code (assuming the above) - whether this payment request allows editing the shipping contact (i.e. in-store pickup does not) * dom/EventNames.h: * dom/EventNames.in: * Modules/applepay/ApplePayCouponCodeChangedEvent.idl: Added. * Modules/applepay/ApplePayCouponCodeChangedEvent.h: Added. * Modules/applepay/ApplePayCouponCodeChangedEvent.cpp: Added. (WebCore::ApplePayCouponCodeChangedEvent::ApplePayCouponCodeChangedEvent): (WebCore::ApplePayCouponCodeChangedEvent::eventInterface const): Add a `"couponcodechange"` event that is dispatched whenever the user modifies the coupon code for an `ApplePaySession`. * Modules/applepay/ApplePayCouponCodeDetails.idl: Copied from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeDetails.idl. * Modules/applepay/ApplePayCouponCodeDetails.h: Copied from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeUpdate.idl. Used as the `object methodData` when a `PaymentMethodChangeEvent` is dispatched for a `PaymentRequest`. * Modules/applepay/ApplePaySession.idl: * Modules/applepay/ApplePaySession.h: * Modules/applepay/ApplePaySession.cpp: (WebCore::convertAndValidate): (WebCore::ApplePaySession::completeCouponCodeChange): Added. (WebCore::ApplePaySession::didChangeCouponCode): Renamed from `WebCore::ApplePaySession::didChangePaymentMethodMode`. (WebCore::ApplePaySession::canSuspendWithoutCanceling const): (WebCore::ApplePaySession::canBegin const): (WebCore::ApplePaySession::canAbort const): (WebCore::ApplePaySession::canCancel const): (WebCore::ApplePaySession::canCompleteShippingMethodSelection const): (WebCore::ApplePaySession::canCompleteShippingContactSelection const): (WebCore::ApplePaySession::canCompletePaymentMethodSelection const): (WebCore::ApplePaySession::canCompleteCouponCodeChange const): Renamed from `WebCore::ApplePaySession::canCompletePaymentMethodModeChange const`. (WebCore::ApplePaySession::canCompletePayment const): (WebCore::ApplePaySession::isFinalState const): * Modules/applepay/paymentrequest/ApplePayPaymentHandler.h: * Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp: (WebCore::ApplePayPaymentHandler::paymentMethodUpdated): (WebCore::ApplePayPaymentHandler::didChangeCouponCode): Renamed from `WebCore::ApplePayPaymentHandler::didChangePaymentMethodMode`. Add methods for JS to call and state logic to handle coupon code changes. * Modules/applepay/PaymentCoordinator.h: * Modules/applepay/PaymentCoordinator.cpp: (WebCore::PaymentCoordinator::completeCouponCodeChange): Renamed from `WebCore::PaymentCoordinator::completePaymentMethodModeChange`. (WebCore::PaymentCoordinator::didChangeCouponCode): Renamed from `WebCore::PaymentCoordinator::didChangePaymentMethodMode`. * Modules/applepay/PaymentCoordinatorClient.h: * loader/EmptyClients.cpp: (WebCore::EmptyPaymentCoordinatorClient::completeCouponCodeChange): Renamed from `WebCore::EmptyPaymentCoordinatorClient::completePaymentMethodModeChange`. Plumbing up to WebKit. * Modules/applepay/cocoa/PaymentSummaryItemsCocoa.mm: (WebCore::toDate): Added. (WebCore::toCalendarUnit): Added. (WebCore::toPKPaymentSummaryItem): Convert WebCore objects to PassKit objects. * testing/MockPaymentCoordinator.idl: * testing/MockPaymentCoordinator.h: * testing/MockPaymentCoordinator.cpp: (WebCore::MockPaymentCoordinator::showPaymentUI): (WebCore::MockPaymentCoordinator::completeCouponCodeChange): Renamed from `WebCore::MockPaymentCoordinator::completePaymentMethodModeChange`. (WebCore::MockPaymentCoordinator::changeCouponCode): Added. * Modules/applepay/cocoa/PaymentAPIVersionCocoa.mm: (WebCore::PaymentAPIVersion::current): * Modules/applepay/PaymentHeaders.h: * Modules/applepay/PaymentSession.h: * Modules/applepay/ApplePayLineItemData.idl: Removed. * Modules/applepay/ApplePayLineItemData.h: Removed. * Modules/applepay/ApplePayShippingMethodData.idl: Removed. * Modules/applepay/ApplePayShippingMethodData.h: Removed. Remove unnecessary base types after r275169. * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: Source/WebCore/PAL: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * pal/cocoa/PassKitSoftLink.h: * pal/cocoa/PassKitSoftLink.mm: * pal/spi/cocoa/PassKitSPI.h: Source/WebKit: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * Platform/cocoa/PaymentAuthorizationViewController.mm: (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didChangeCouponCode:handler:]): Added. * Platform/ios/PaymentAuthorizationController.mm: (-[WKPaymentAuthorizationControllerDelegate paymentAuthorizationController:didChangeCouponCode:handler:]): Added. * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: (WebKit::toPKPaymentErrorCode): (WebKit::PaymentAuthorizationPresenter::completeCouponCodeChange): Renamed from `WebKit::PaymentAuthorizationPresenter::completePaymentMethodModeChange`. * Platform/cocoa/WKPaymentAuthorizationDelegate.h: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: (-[WKPaymentAuthorizationDelegate completeCouponCodeChange:]): Added. (toDateComponents): Added. (toDateComponentsRange): Added. (toShippingMethod): (-[WKPaymentAuthorizationDelegate _didChangeCouponCode:completion:]): Added. Add plumbing from/to PassKit for coupon code changes. * Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in: * Shared/ApplePay/WebPaymentCoordinatorProxy.h: * Shared/ApplePay/WebPaymentCoordinatorProxy.cpp: (WebKit::WebPaymentCoordinatorProxy::completeCouponCodeChange): Renamed from `WebKit::WebPaymentCoordinatorProxy::completePaymentMethodModeChange`. (WebKit::WebPaymentCoordinatorProxy::presenterDidChangeCouponCode): Renamed from `WebKit::WebPaymentCoordinatorProxy::presenterDidChangePaymentMethodMode`. (WebKit::WebPaymentCoordinatorProxy::canBegin const): (WebKit::WebPaymentCoordinatorProxy::canCancel const): (WebKit::WebPaymentCoordinatorProxy::canCompletePayment const): (WebKit::WebPaymentCoordinatorProxy::canAbort const): * Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: (WebKit::toNSDateComponents): Added. (WebKit::toPKDateComponentsRange): Added. (WebKit::toPKShippingMethod): (WebKit::toPKShippingContactEditingMode): Added. (WebKit::WebPaymentCoordinatorProxy::platformPaymentRequest): (WebKit::WebPaymentCoordinatorProxy::platformCompleteCouponCodeChange): Renamed from `WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentMethodModeChange`. Convert PassKit objects to/from WebCore objects. * Shared/Cocoa/WebCoreArgumentCodersCocoa.mm: (IPC::ArgumentCoder<WebCore::ApplePaySessionPaymentRequest>::encode): (IPC::ArgumentCoder<WebCore::ApplePaySessionPaymentRequest>::decode): * WebProcess/ApplePay/WebPaymentCoordinator.messages.in: * WebProcess/ApplePay/WebPaymentCoordinator.h: * WebProcess/ApplePay/WebPaymentCoordinator.cpp: (WebKit::WebPaymentCoordinator::completeCouponCodeChange): Renamed from `WebKit::WebPaymentCoordinator::completePaymentMethodModeChange`. (WebKit::WebPaymentCoordinator::didChangeCouponCode): Renamed from `WebKit::WebPaymentCoordinator::didChangePaymentMethodMode`. Plumbing into/from WebCore. Source/WebKitLegacy/mac: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * WebCoreSupport/WebPaymentCoordinatorClient.h: * WebCoreSupport/WebPaymentCoordinatorClient.mm: (WebPaymentCoordinatorClient::completeCouponCodeChange): Renamed from `WebPaymentCoordinatorClient::completePaymentMethodModeChange`. Source/WTF: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * wtf/PlatformHave.h: * wtf/PlatformEnableCocoa.h: LayoutTests: * http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https-expected.txt: Added. * http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https-expected.txt: Added. * http/tests/paymentrequest/ApplePayModifier-total.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-total.https-expected.txt: Added. * http/tests/paymentrequest/paymentmethodchange-couponCode.https.html: Added. * http/tests/paymentrequest/paymentmethodchange-couponCode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-couponCode.https.html: Added. * http/tests/paymentrequest/paymentrequest-couponCode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https.html: Added. * http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-supportsCouponCode.https.html: Added. * http/tests/paymentrequest/paymentrequest-supportsCouponCode.https-expected.txt: Added. * http/tests/ssl/applepay/ApplePayError-expected.txt: * platform/ios-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Canonical link: https://commits.webkit.org/238613@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-06-08 22:15:18 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayCouponCodeChangedEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayCouponCodeChangedEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayCouponCodeDetails.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayCouponCodeDetails.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayCouponCodeUpdate.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayCouponCodeUpdate.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayDateComponents.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayDateComponents.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayDateComponentsRange.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayDateComponentsRange.h
[Payment Request] add an `object data` to `PaymentDetailsBase` so that data specific to Apple Pay can be provided https://bugs.webkit.org/show_bug.cgi?id=222002 <rdar://problem/72319946> Reviewed by Tim Horton. Source/WebCore: * Modules/paymentrequest/PaymentDetailsBase.idl: * Modules/paymentrequest/PaymentDetailsBase.h: * Modules/applepay/ApplePayDetailsUpdateBase.idl: Added. * Modules/applepay/ApplePayDetailsUpdateBase.h: Added. (WebCore::ApplePayDetailsUpdateBase::encode const): (WebCore::ApplePayDetailsUpdateBase::decode): (WebCore::ApplePayDetailsUpdateBase::decodeBase): * Modules/applepay/ApplePayPaymentMethodUpdate.h: * Modules/applepay/ApplePayPaymentMethodUpdate.idl: (WebCore::ApplePayPaymentMethodUpdate::encode const): Added. (WebCore::ApplePayPaymentMethodUpdate::decode): Added. * Modules/applepay/ApplePayShippingContactUpdate.idl: * Modules/applepay/ApplePayShippingContactUpdate.h: (WebCore::ApplePayShippingContactUpdate::encode const): Added. (WebCore::ApplePayShippingContactUpdate::decode): Added. * Modules/applepay/ApplePayShippingMethodUpdate.idl: * Modules/applepay/ApplePayShippingMethodUpdate.h: (WebCore::ApplePayShippingMethodUpdate::encode const): Added. (WebCore::ApplePayShippingMethodUpdate::decode): Added. Introduce a common base class `ApplePayDetailsUpdateBase` instead of repeating members on each of the `ApplePay*Update` final classes. * Modules/applepay/ApplePayDetailsUpdateData.idl: Added. * Modules/applepay/ApplePayDetailsUpdateData.h: Added. (WebCore::ApplePayDetailsUpdateData::encode const): (WebCore::ApplePayDetailsUpdateData::decode): (WebCore::ApplePayDetailsUpdateData::decodeData): * Modules/paymentrequest/PaymentRequest.cpp: (WebCore::checkAndCanonicalizeDetails): (WebCore::PaymentRequest::settleDetailsPromise): Have the common base class above extend from `ApplePayDetailsUpdateData`, which is used to pull values out of the `object data` from `PaymentDetailsBase`. This way, both Apple Pay JS and PaymentRequest can be given the same data (albeit in slightly different places) and have the same capabilities. * Modules/applepay/ApplePayError.h: (WebCore::ApplePayError::encode const): Added. (WebCore::ApplePayError::decode): Added. * Modules/applepay/ApplePayError.cpp: Removed. * Modules/applepay/ApplePayErrorCode.h: * Modules/applepay/ApplePayErrorContactField.h: * Modules/applepay/ApplePayPaymentAuthorizationResult.h: * Modules/applepay/ApplePaySessionPaymentRequest.h: (WebCore::ApplePaySessionPaymentRequest::shippingMethods const): (WebCore::ApplePaySessionPaymentRequest::setShippingMethods): * Modules/applepay/ApplePaySession.h: * Modules/applepay/ApplePaySession.cpp: (WebCore::convertAndValidate): (WebCore::ApplePaySession::completeShippingContactSelection): (WebCore::ApplePaySession::didSelectShippingMethod): (WebCore::finishConverting): Deleted. (WebCore::convert): Deleted. * Modules/applepay/ApplePayShippingMethod.h: (WebCore::ApplePayShippingMethod::encode const): Added. (WebCore::ApplePayShippingMethod::decode): Added. * Modules/applepay/ApplePayShippingMethodSelectedEvent.h: * Modules/applepay/ApplePayShippingMethodSelectedEvent.cpp: (WebCore::ApplePayShippingMethodSelectedEvent::ApplePayShippingMethodSelectedEvent): (WebCore::convert): Deleted. * Modules/applepay/PaymentCoordinator.h: * Modules/applepay/PaymentCoordinator.cpp: (WebCore::PaymentCoordinator::completeShippingMethodSelection): (WebCore::PaymentCoordinator::completeShippingContactSelection): (WebCore::PaymentCoordinator::completePaymentMethodSelection): (WebCore::PaymentCoordinator::didSelectShippingMethod): * Modules/applepay/PaymentCoordinatorClient.h: * Modules/applepay/PaymentHeaders.h: * Modules/applepay/PaymentRequestValidator.mm: (WebCore::validateShippingMethod): (WebCore::validateShippingMethods): * Modules/applepay/PaymentSession.h: * Modules/applepay/PaymentSummaryItems.h: * Modules/applepay/cocoa/PaymentSummaryItemsCocoa.mm: * Modules/applepay/paymentrequest/ApplePayPaymentHandler.h: * Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp: (WebCore::convertAndValidate): (WebCore::validate): (WebCore::merge): (WebCore::ApplePayPaymentHandler::show): (WebCore::ApplePayPaymentHandler::computeShippingMethods): (WebCore::ApplePayPaymentHandler::computeTotalAndLineItems const): (WebCore::appendShippingContactInvalidError): (WebCore::ApplePayPaymentHandler::computeErrors const): (WebCore::ApplePayPaymentHandler::computeAddressErrors const): (WebCore::ApplePayPaymentHandler::computePayerErrors const): (WebCore::ApplePayPaymentHandler::computePaymentMethodErrors const): (WebCore::ApplePayPaymentHandler::shippingAddressUpdated): (WebCore::ApplePayPaymentHandler::shippingOptionUpdated): (WebCore::ApplePayPaymentHandler::paymentMethodUpdated): (WebCore::ApplePayPaymentHandler::retry): (WebCore::ApplePayPaymentHandler::didSelectShippingMethod): * loader/EmptyClients.cpp: * testing/MockPaymentCoordinator.h: * testing/MockPaymentCoordinator.cpp: (WebCore::MockPaymentCoordinator::showPaymentUI): (WebCore::MockPaymentCoordinator::completeShippingMethodSelection): (WebCore::convert): (WebCore::MockPaymentCoordinator::completeShippingContactSelection): (WebCore::MockPaymentCoordinator::completePaymentMethodSelection): (WebCore::MockPaymentCoordinator::changeShippingOption): (WebCore::MockPaymentCoordinator::completePaymentSession): (WebCore::MockPaymentCoordinator::updateTotalAndLineItems): Deleted. * testing/MockPaymentError.h: Use `ApplePay*Update` instead of duplicating its structure in another object (`ApplePaySessionPaymentRequest::*Update`). Use `ApplePayLineItem` instead of duplicating its structure in another object (`ApplePaySessionPaymentRequest::TotalAndLineItems`). Use `ApplePayShippingMethod` instead of duplicating its structure in another object (`ApplePaySessionPaymentRequest::ShippingMethod`). Use `ApplePayError*` instead of duplicating its structure in another object (`ApplePaySessionPaymentRequest::PaymentError::*`). * Modules/applepay/PaymentMethodUpdate.h: * Modules/applepay/cocoa/PaymentMethodUpdateCocoa.mm: Removed. Do the conversion from `ApplePayPaymentMethodUpdate` to `PKPaymentRequestPaymentMethodUpdate` in the UIProcess. * Modules/applepay/ApplePayPaymentRequest.h: * Modules/applepay/ApplePayRequestBase.cpp: (WebCore::convertAndValidate): * Modules/applepay/ApplePayRequestBase.h: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: (WebKit::toPKPaymentErrorCode): (WebKit::toNSError): (WebKit::toNSErrors): (WebKit::toPKShippingMethods): (WebKit::PaymentAuthorizationPresenter::completePaymentMethodSelection): (WebKit::PaymentAuthorizationPresenter::completeShippingContactSelection): (WebKit::PaymentAuthorizationPresenter::completeShippingMethodSelection): * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: (toShippingMethod): * Scripts/webkit/messages.py: * Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in: * Shared/ApplePay/WebPaymentCoordinatorProxy.h: * Shared/ApplePay/WebPaymentCoordinatorProxy.cpp: (WebKit::WebPaymentCoordinatorProxy::completeShippingMethodSelection): (WebKit::WebPaymentCoordinatorProxy::completeShippingContactSelection): (WebKit::WebPaymentCoordinatorProxy::completePaymentMethodSelection): (WebKit::WebPaymentCoordinatorProxy::presenterDidSelectShippingMethod): * Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.h: * Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: (WebKit::toPKShippingMethod): (WebKit::WebPaymentCoordinatorProxy::platformPaymentRequest): (WebKit::WebPaymentCoordinatorProxy::platformCompleteShippingMethodSelection): (WebKit::WebPaymentCoordinatorProxy::platformCompleteShippingContactSelection): (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentMethodSelection): (WebKit::finishCreating): Deleted. * Shared/WebCoreArgumentCoders.h: * Shared/Cocoa/WebCoreArgumentCodersCocoa.mm: (IPC::ArgumentCoder<WebCore::PaymentAuthorizationResult>::decode): (IPC::ArgumentCoder<ApplePaySessionPaymentRequest>::decode): (IPC::ArgumentCoder<Vector<RefPtr<ApplePayError>>>::encode): Added. (IPC::ArgumentCoder<Vector<RefPtr<ApplePayError>>>::decode): Added. (IPC::ArgumentCoder<WebCore::PaymentError>::encode): Deleted. (IPC::ArgumentCoder<WebCore::PaymentError>::decode): Deleted. (IPC::ArgumentCoder<WebCore::PaymentMethodUpdate>::encode): Deleted. (IPC::ArgumentCoder<WebCore::PaymentMethodUpdate>::decode): Deleted. (IPC::ArgumentCoder<ApplePaySessionPaymentRequest::ShippingMethod>::encode): Deleted. (IPC::ArgumentCoder<ApplePaySessionPaymentRequest::ShippingMethod>::decode): Deleted. (IPC::ArgumentCoder<ApplePaySessionPaymentRequest::TotalAndLineItems>::encode): Deleted. (IPC::ArgumentCoder<ApplePaySessionPaymentRequest::TotalAndLineItems>::decode): Deleted. (IPC::ArgumentCoder<WebCore::ShippingContactUpdate>::encode): Deleted. (IPC::ArgumentCoder<WebCore::ShippingContactUpdate>::decode): Deleted. (IPC::ArgumentCoder<WebCore::ShippingMethodUpdate>::encode): Deleted. (IPC::ArgumentCoder<WebCore::ShippingMethodUpdate>::decode): Deleted. * WebProcess/ApplePay/WebPaymentCoordinator.messages.in: * WebProcess/ApplePay/WebPaymentCoordinator.h: * WebProcess/ApplePay/WebPaymentCoordinator.cpp: (WebKit::WebPaymentCoordinator::completeShippingMethodSelection): (WebKit::WebPaymentCoordinator::completeShippingContactSelection): (WebKit::WebPaymentCoordinator::completePaymentMethodSelection): (WebKit::WebPaymentCoordinator::didSelectShippingMethod): Use `ApplePay*Update` instead of duplicating its structure in another object (`ApplePaySessionPaymentRequest::*Update`). Use `ApplePayShippingMethod` instead of duplicating its structure in another object (`ApplePaySessionPaymentRequest::ShippingMethod`). Use `ApplePayError*` instead of duplicating its structure in another object (`ApplePaySessionPaymentRequest::PaymentError::*`). Source/WebKitLegacy/mac: * WebCoreSupport/WebPaymentCoordinatorClient.h: * WebCoreSupport/WebPaymentCoordinatorClient.mm: (WebPaymentCoordinatorClient::completeShippingMethodSelection): (WebPaymentCoordinatorClient::completeShippingContactSelection): (WebPaymentCoordinatorClient::completePaymentMethodSelection): Use `ApplePay*Update` instead of duplicating its structure in another object (`ApplePaySessionPaymentRequest::*Update`). Canonical link: https://commits.webkit.org/234340@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@273143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-02-19 17:38:37 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayDetailsUpdateBase.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayDetailsUpdateBase.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayDetailsUpdateData.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayDetailsUpdateData.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayError.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayError.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayErrorCode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayErrorCode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayErrorContactField.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayErrorContactField.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayInstallmentConfiguration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayInstallmentConfiguration.h
[Apple Pay] Add new ApplePayInstallmentConfiguration members https://bugs.webkit.org/show_bug.cgi?id=212160 <rdar://problem/60703650> Reviewed by Alex Christensen. Source/WebCore: Test: http/tests/ssl/applepay/ApplePayInstallmentItems.https.html * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: Added IDLs, headers, and derived sources for ApplePayInstallment{Item,ItemType,RetailChannel}. * Modules/applepay/ApplePayInstallmentConfiguration.idl: * Modules/applepay/ApplePayInstallmentConfigurationWebCore.h: Added items, applicationMetadata, and retailChannel members. Added missing conditionals to merchantIdentifier and referrerIdentifier. * Modules/applepay/ApplePayInstallmentItem.h: * Modules/applepay/ApplePayInstallmentItem.idl: * Modules/applepay/ApplePayInstallmentItemType.h: * Modules/applepay/ApplePayInstallmentItemType.idl: * Modules/applepay/ApplePayInstallmentRetailChannel.h: * Modules/applepay/ApplePayInstallmentRetailChannel.idl: Added. * Modules/applepay/ApplePayRequestBase.cpp: (WebCore::convertAndValidate): Changed to call PaymentInstallmentConfiguration::create, returning an exception if present. * Modules/applepay/PaymentInstallmentConfiguration.mm: (WebCore::fromDecimalNumber): Allowed for a large maximum number of fractional digits to support formatting high-precision currency and APRs (note that this formatter is only used for test support). (WebCore::applePayItemType): (WebCore::platformItemType): Added to convert between PKInstallmentItemType and ApplePayInstallmentItemType. (WebCore::applePayRetailChannel): (WebCore::platformRetailChannel): Added to convert between PKInstallmentRetailChannel and ApplePayInstallmentRetailChannel. (WebCore::makeNSArrayElement): (WebCore::makeVectorElement): Added to convert between NSArray<PKPaymentInstallmentItem *> and Vector<ApplePayInstallmentItem>. (WebCore::createPlatformConfiguration): Added a parameter for passing in applicationMetadata as an NSDictionary. Set properties on PKPaymentInstallmentConfiguration for new ApplePayInstallmentConfiguration members. (WebCore::PaymentInstallmentConfiguration::create): Added; converts the applicationMetadata JSON string (if present) to an NSDictionary, returning a TypeError if the JSON string does not deserialize to an NSDictionary (as PassKit requires). (WebCore::PaymentInstallmentConfiguration::PaymentInstallmentConfiguration): Added a parameter for passing in applicationMetadata as an NSDictionary. Made private. (WebCore::PaymentInstallmentConfiguration::applePayInstallmentConfiguration const): Set members on ApplePayInstallmentConfiguration for new PKPaymentInstallmentConfiguration properties. * Modules/applepay/PaymentInstallmentConfigurationWebCore.h: Source/WebCore/PAL: * pal/cocoa/PassKitSoftLink.h: * pal/cocoa/PassKitSoftLink.mm: Added soft-linking macros for PKPaymentInstallmentItem. Source/WTF: * wtf/PlatformEnableCocoa.h: Defined ENABLE_APPLE_PAY_INSTALLMENT_IDENTIFIERS. LayoutTests: * http/tests/ssl/applepay/ApplePayInstallmentItems.https-expected.txt: * http/tests/ssl/applepay/ApplePayInstallmentItems.https.html: Added. * platform/mac-wk2/TestExpectations: Skipped test on Mojave and Catalina. Canonical link: https://commits.webkit.org/225136@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-05-22 20:10:01 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayInstallmentItem.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayInstallmentItem.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayInstallmentItemType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayInstallmentItemType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayInstallmentRetailChannel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayInstallmentRetailChannel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayLineItem.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayLineItem.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayMerchantCapability.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayMerchantCapability.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayModifier.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayModifier.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPayment.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPayment.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentAuthorizationResult.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentAuthorizationResult.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentAuthorizedEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentAuthorizedEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentContact.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentContact.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentMethod.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentMethod.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentMethodSelectedEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentMethodSelectedEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentMethodType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentMethodType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentMethodUpdate.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentMethodUpdate.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentPass.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentPass.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentRequest.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentRequest.h
[Payment Request] upstream new features https://bugs.webkit.org/show_bug.cgi?id=226740 <rdar://problem/78963132> Reviewed by Andy Estes. Source/WebCore: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) Tests: http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https.html http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https.html http/tests/paymentrequest/ApplePayModifier-total.https.html http/tests/paymentrequest/paymentmethodchange-couponCode.https.html http/tests/paymentrequest/paymentrequest-couponCode.https.html http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https.html http/tests/paymentrequest/paymentrequest-supportsCouponCode.https.html * Modules/applepay/ApplePayCouponCodeUpdate.idl: Copied from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeUpdate.idl. * Modules/applepay/ApplePayCouponCodeUpdate.h: Renamed from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeUpdate.h. (WebCore::ApplePayCouponCodeUpdate::encode const): (WebCore::ApplePayCouponCodeUpdate::decode): Object used to update the payment request via `ApplePaySession.prototype.completeCouponCodeChange` when responding to the user modifying the coupon code. * Modules/applepay/ApplePayErrorCode.idl: * Modules/applepay/ApplePayErrorCode.h: Add `"couponCodeInvalid"` and `"couponCodeExpired"`. * Modules/applepay/ApplePayLineItem.idl: * Modules/applepay/ApplePayLineItem.h: (WebCore::ApplePayLineItem::encode const): (WebCore::ApplePayLineItem::decode): * Modules/applepay/ApplePayPaymentTiming.idl: Added. * Modules/applepay/ApplePayPaymentTiming.h: Added. * Modules/applepay/ApplePayRecurringPaymentDateUnit.idl: Added. * Modules/applepay/ApplePayRecurringPaymentDateUnit.h: Added. Add members that indicate whether this line item is immediate, recurring, or deferred. Depending on that timing, additional members are added for further configuration (e.g. the start and/or end date of a recurring payment, it's frequency, etc.). * Modules/applepay/ApplePayShippingMethod.idl: * Modules/applepay/ApplePayShippingMethod.h: (WebCore::ApplePayShippingMethod::encode const): (WebCore::ApplePayShippingMethod::decode): * Modules/applepay/ApplePayDateComponentsRange.idl: Added. * Modules/applepay/ApplePayDateComponentsRange.h: Added. (WebCore::ApplePayDateComponentsRange::encode const): (WebCore::ApplePayDateComponentsRange::decode): * Modules/applepay/ApplePayDateComponents.idl: Added. * Modules/applepay/ApplePayDateComponents.h: Added. (WebCore::ApplePayDateComponents::encode const): (WebCore::ApplePayDateComponents::decode): Add members that can be used to indicate the estimated shipping dates for this shipping method. * Modules/applepay/ApplePayRequestBase.idl: * Modules/applepay/ApplePayRequestBase.h: * Modules/applepay/ApplePayRequestBase.cpp: (WebCore::convertAndValidate): * Modules/applepay/ApplePaySessionPaymentRequest.h: (WebCore::ApplePaySessionPaymentRequest::supportsCouponCode const): Added. (WebCore::ApplePaySessionPaymentRequest::setSupportsCouponCode): Added. (WebCore::ApplePaySessionPaymentRequest::couponCode const): Added. (WebCore::ApplePaySessionPaymentRequest::setCouponCode): Added. (WebCore::ApplePaySessionPaymentRequest::shippingContactEditingMode const): Added. (WebCore::ApplePaySessionPaymentRequest::setShippingContactEditingMode): Added. * Modules/applepay/ApplePayShippingContactEditingMode.idl: Added. * Modules/applepay/ApplePayShippingContactEditingMode.h: Added. Add members that indicate: - whether this payment request supports a coupon code at all - the initial coupon code (assuming the above) - whether this payment request allows editing the shipping contact (i.e. in-store pickup does not) * dom/EventNames.h: * dom/EventNames.in: * Modules/applepay/ApplePayCouponCodeChangedEvent.idl: Added. * Modules/applepay/ApplePayCouponCodeChangedEvent.h: Added. * Modules/applepay/ApplePayCouponCodeChangedEvent.cpp: Added. (WebCore::ApplePayCouponCodeChangedEvent::ApplePayCouponCodeChangedEvent): (WebCore::ApplePayCouponCodeChangedEvent::eventInterface const): Add a `"couponcodechange"` event that is dispatched whenever the user modifies the coupon code for an `ApplePaySession`. * Modules/applepay/ApplePayCouponCodeDetails.idl: Copied from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeDetails.idl. * Modules/applepay/ApplePayCouponCodeDetails.h: Copied from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeUpdate.idl. Used as the `object methodData` when a `PaymentMethodChangeEvent` is dispatched for a `PaymentRequest`. * Modules/applepay/ApplePaySession.idl: * Modules/applepay/ApplePaySession.h: * Modules/applepay/ApplePaySession.cpp: (WebCore::convertAndValidate): (WebCore::ApplePaySession::completeCouponCodeChange): Added. (WebCore::ApplePaySession::didChangeCouponCode): Renamed from `WebCore::ApplePaySession::didChangePaymentMethodMode`. (WebCore::ApplePaySession::canSuspendWithoutCanceling const): (WebCore::ApplePaySession::canBegin const): (WebCore::ApplePaySession::canAbort const): (WebCore::ApplePaySession::canCancel const): (WebCore::ApplePaySession::canCompleteShippingMethodSelection const): (WebCore::ApplePaySession::canCompleteShippingContactSelection const): (WebCore::ApplePaySession::canCompletePaymentMethodSelection const): (WebCore::ApplePaySession::canCompleteCouponCodeChange const): Renamed from `WebCore::ApplePaySession::canCompletePaymentMethodModeChange const`. (WebCore::ApplePaySession::canCompletePayment const): (WebCore::ApplePaySession::isFinalState const): * Modules/applepay/paymentrequest/ApplePayPaymentHandler.h: * Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp: (WebCore::ApplePayPaymentHandler::paymentMethodUpdated): (WebCore::ApplePayPaymentHandler::didChangeCouponCode): Renamed from `WebCore::ApplePayPaymentHandler::didChangePaymentMethodMode`. Add methods for JS to call and state logic to handle coupon code changes. * Modules/applepay/PaymentCoordinator.h: * Modules/applepay/PaymentCoordinator.cpp: (WebCore::PaymentCoordinator::completeCouponCodeChange): Renamed from `WebCore::PaymentCoordinator::completePaymentMethodModeChange`. (WebCore::PaymentCoordinator::didChangeCouponCode): Renamed from `WebCore::PaymentCoordinator::didChangePaymentMethodMode`. * Modules/applepay/PaymentCoordinatorClient.h: * loader/EmptyClients.cpp: (WebCore::EmptyPaymentCoordinatorClient::completeCouponCodeChange): Renamed from `WebCore::EmptyPaymentCoordinatorClient::completePaymentMethodModeChange`. Plumbing up to WebKit. * Modules/applepay/cocoa/PaymentSummaryItemsCocoa.mm: (WebCore::toDate): Added. (WebCore::toCalendarUnit): Added. (WebCore::toPKPaymentSummaryItem): Convert WebCore objects to PassKit objects. * testing/MockPaymentCoordinator.idl: * testing/MockPaymentCoordinator.h: * testing/MockPaymentCoordinator.cpp: (WebCore::MockPaymentCoordinator::showPaymentUI): (WebCore::MockPaymentCoordinator::completeCouponCodeChange): Renamed from `WebCore::MockPaymentCoordinator::completePaymentMethodModeChange`. (WebCore::MockPaymentCoordinator::changeCouponCode): Added. * Modules/applepay/cocoa/PaymentAPIVersionCocoa.mm: (WebCore::PaymentAPIVersion::current): * Modules/applepay/PaymentHeaders.h: * Modules/applepay/PaymentSession.h: * Modules/applepay/ApplePayLineItemData.idl: Removed. * Modules/applepay/ApplePayLineItemData.h: Removed. * Modules/applepay/ApplePayShippingMethodData.idl: Removed. * Modules/applepay/ApplePayShippingMethodData.h: Removed. Remove unnecessary base types after r275169. * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: Source/WebCore/PAL: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * pal/cocoa/PassKitSoftLink.h: * pal/cocoa/PassKitSoftLink.mm: * pal/spi/cocoa/PassKitSPI.h: Source/WebKit: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * Platform/cocoa/PaymentAuthorizationViewController.mm: (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didChangeCouponCode:handler:]): Added. * Platform/ios/PaymentAuthorizationController.mm: (-[WKPaymentAuthorizationControllerDelegate paymentAuthorizationController:didChangeCouponCode:handler:]): Added. * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: (WebKit::toPKPaymentErrorCode): (WebKit::PaymentAuthorizationPresenter::completeCouponCodeChange): Renamed from `WebKit::PaymentAuthorizationPresenter::completePaymentMethodModeChange`. * Platform/cocoa/WKPaymentAuthorizationDelegate.h: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: (-[WKPaymentAuthorizationDelegate completeCouponCodeChange:]): Added. (toDateComponents): Added. (toDateComponentsRange): Added. (toShippingMethod): (-[WKPaymentAuthorizationDelegate _didChangeCouponCode:completion:]): Added. Add plumbing from/to PassKit for coupon code changes. * Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in: * Shared/ApplePay/WebPaymentCoordinatorProxy.h: * Shared/ApplePay/WebPaymentCoordinatorProxy.cpp: (WebKit::WebPaymentCoordinatorProxy::completeCouponCodeChange): Renamed from `WebKit::WebPaymentCoordinatorProxy::completePaymentMethodModeChange`. (WebKit::WebPaymentCoordinatorProxy::presenterDidChangeCouponCode): Renamed from `WebKit::WebPaymentCoordinatorProxy::presenterDidChangePaymentMethodMode`. (WebKit::WebPaymentCoordinatorProxy::canBegin const): (WebKit::WebPaymentCoordinatorProxy::canCancel const): (WebKit::WebPaymentCoordinatorProxy::canCompletePayment const): (WebKit::WebPaymentCoordinatorProxy::canAbort const): * Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: (WebKit::toNSDateComponents): Added. (WebKit::toPKDateComponentsRange): Added. (WebKit::toPKShippingMethod): (WebKit::toPKShippingContactEditingMode): Added. (WebKit::WebPaymentCoordinatorProxy::platformPaymentRequest): (WebKit::WebPaymentCoordinatorProxy::platformCompleteCouponCodeChange): Renamed from `WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentMethodModeChange`. Convert PassKit objects to/from WebCore objects. * Shared/Cocoa/WebCoreArgumentCodersCocoa.mm: (IPC::ArgumentCoder<WebCore::ApplePaySessionPaymentRequest>::encode): (IPC::ArgumentCoder<WebCore::ApplePaySessionPaymentRequest>::decode): * WebProcess/ApplePay/WebPaymentCoordinator.messages.in: * WebProcess/ApplePay/WebPaymentCoordinator.h: * WebProcess/ApplePay/WebPaymentCoordinator.cpp: (WebKit::WebPaymentCoordinator::completeCouponCodeChange): Renamed from `WebKit::WebPaymentCoordinator::completePaymentMethodModeChange`. (WebKit::WebPaymentCoordinator::didChangeCouponCode): Renamed from `WebKit::WebPaymentCoordinator::didChangePaymentMethodMode`. Plumbing into/from WebCore. Source/WebKitLegacy/mac: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * WebCoreSupport/WebPaymentCoordinatorClient.h: * WebCoreSupport/WebPaymentCoordinatorClient.mm: (WebPaymentCoordinatorClient::completeCouponCodeChange): Renamed from `WebPaymentCoordinatorClient::completePaymentMethodModeChange`. Source/WTF: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * wtf/PlatformHave.h: * wtf/PlatformEnableCocoa.h: LayoutTests: * http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https-expected.txt: Added. * http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https-expected.txt: Added. * http/tests/paymentrequest/ApplePayModifier-total.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-total.https-expected.txt: Added. * http/tests/paymentrequest/paymentmethodchange-couponCode.https.html: Added. * http/tests/paymentrequest/paymentmethodchange-couponCode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-couponCode.https.html: Added. * http/tests/paymentrequest/paymentrequest-couponCode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https.html: Added. * http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-supportsCouponCode.https.html: Added. * http/tests/paymentrequest/paymentrequest-supportsCouponCode.https-expected.txt: Added. * http/tests/ssl/applepay/ApplePayError-expected.txt: * platform/ios-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Canonical link: https://commits.webkit.org/238613@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-06-08 22:15:18 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayPaymentTiming.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayRecurringPaymentDateUnit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayRecurringPaymentDateUnit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayRequest.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayRequest.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayRequestBase.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayRequestBase.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySession.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySession.h
[Apple Pay] Tell websites why a session was cancelled https://bugs.webkit.org/show_bug.cgi?id=201912 Source/WebCore: Reviewed by Brady Eidson. Added ApplePayCancelEvent as the interface for ApplePaySession's cancel event. This event object includes a `sessionError` attribute that exposes a Web-safe version of the PassKit domain error we received from PKPaymentAuthorization(View)Controller. Currently, we report all errors with code "unknown", but more codes will be added in future patches. Test: http/tests/ssl/applepay/ApplePayCancelEvent.https.html * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/applepay/ApplePayCancelEvent.cpp: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. (WebCore::ApplePayCancelEvent::ApplePayCancelEvent): (WebCore::ApplePayCancelEvent::sessionError const): (WebCore::ApplePayCancelEvent::eventInterface const): * Modules/applepay/ApplePayCancelEvent.h: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. (WebCore::ApplePayCancelEvent::create): * Modules/applepay/ApplePayCancelEvent.idl: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. * Modules/applepay/ApplePaySession.cpp: (WebCore::ApplePaySession::didCancelPaymentSession): * Modules/applepay/ApplePaySession.h: * Modules/applepay/ApplePaySessionError.h: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. * Modules/applepay/ApplePaySessionError.idl: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. * Modules/applepay/PaymentCoordinator.cpp: (WebCore::PaymentCoordinator::didCancelPaymentSession): * Modules/applepay/PaymentCoordinator.h: * Modules/applepay/PaymentHeaders.h: * Modules/applepay/PaymentSession.cpp: * Modules/applepay/PaymentSession.h: * Modules/applepay/PaymentSessionError.h: Copied from Source/WebCore/Modules/applepay/PaymentHeaders.h. * Modules/applepay/cocoa/PaymentSessionErrorCocoa.mm: Copied from Source/WebCore/Modules/applepay/PaymentSession.h. (WebCore::additionalError): (WebCore::PaymentSessionError::PaymentSessionError): (WebCore::PaymentSessionError::sessionError const): (WebCore::PaymentSessionError::platformError const): (WebCore::PaymentSessionError::unknownError const): * Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp: (WebCore::ApplePayPaymentHandler::didCancelPaymentSession): * Modules/applepay/paymentrequest/ApplePayPaymentHandler.h: * Modules/webgpu/WHLSL/WHLSLCheckTextureReferences.cpp: * Modules/webgpu/WHLSL/WHLSLPropertyResolver.cpp: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * dom/EventNames.in: * testing/MockPaymentCoordinator.cpp: (WebCore::MockPaymentCoordinator::cancelPayment): Source/WebCore/PAL: <rdar://problem/55469706> Reviewed by Brady Eidson. Soft-linked PKPassKitErrorDomain and included PassKit headers more judiciously. * pal/cocoa/PassKitSoftLink.h: * pal/cocoa/PassKitSoftLink.mm: * pal/spi/cocoa/PassKitSPI.h: Source/WebKit: <rdar://problem/55469706> Reviewed by Brady Eidson. Remembered the error passed to -[WKPaymentAuthorizationDelegate _willFinishWithError:] and sent it to the WebContent process in Messages::WebPaymentCoordinator::DidCancelPaymentSession. * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: (-[WKPaymentAuthorizationDelegate _didFinish]): (-[WKPaymentAuthorizationDelegate _willFinishWithError:]): * Shared/ApplePay/WebPaymentCoordinatorProxy.cpp: (WebKit::WebPaymentCoordinatorProxy::didCancelPaymentSession): (WebKit::WebPaymentCoordinatorProxy::presenterDidFinish): * Shared/ApplePay/WebPaymentCoordinatorProxy.h: (WebKit::WebPaymentCoordinatorProxy::didCancelPaymentSession): * Shared/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm: * Shared/Cocoa/WebCoreArgumentCodersCocoa.mm: (IPC::ArgumentCoder<WebCore::PaymentSessionError>::encode): (IPC::ArgumentCoder<WebCore::PaymentSessionError>::decode): * Shared/WebCoreArgumentCoders.h: * WebProcess/ApplePay/WebPaymentCoordinator.cpp: (WebKit::WebPaymentCoordinator::networkProcessConnectionClosed): (WebKit::WebPaymentCoordinator::didCancelPaymentSession): * WebProcess/ApplePay/WebPaymentCoordinator.h: * WebProcess/ApplePay/WebPaymentCoordinator.messages.in: LayoutTests: Reviewed by Brady Eidson. * http/tests/ssl/applepay/ApplePayCancelEvent.https-expected.txt: Added. * http/tests/ssl/applepay/ApplePayCancelEvent.https.html: Added. Canonical link: https://commits.webkit.org/215573@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-18 19:13:33 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySessionError.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySessionError.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySetup.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySetup.h
[Apple Pay] Add testing and logging for ApplePaySetup https://bugs.webkit.org/show_bug.cgi?id=211972 <rdar://problem/63291965> Reviewed by Alex Christensen. Source/WebCore: Test: http/tests/ssl/applepay/ApplePaySetup.https.html * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/applepay/ApplePaySetup.cpp: (WebCore::ApplePaySetup::getSetupFeatures): (WebCore::ApplePaySetup::begin): (WebCore::ApplePaySetup::ApplePaySetup): (WebCore::ApplePaySetup::stop): * Modules/applepay/ApplePaySetup.idl: * Modules/applepay/ApplePaySetupConfiguration.h: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupConfiguration.idl: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupFeature.idl: * Modules/applepay/ApplePaySetupFeature.mm: (WebCore::ApplePaySetupFeature::state const): * Modules/applepay/ApplePaySetupFeatureState.h: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupFeatureState.idl: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupFeatureType.idl: * Modules/applepay/ApplePaySetupFeatureWebCore.h: * Modules/applepay/ApplePaySetupWebCore.h: (WebCore::ApplePaySetup::create): * Modules/applepay/PaymentCoordinator.cpp: (WebCore::PaymentCoordinator::setApplePayIsActiveIfAllowed const): (WebCore::PaymentCoordinator::getSetupFeatures): (WebCore::PaymentCoordinator::beginApplePaySetup): (WebCore::PaymentCoordinator::endApplePaySetup): * Modules/applepay/PaymentCoordinator.h: * Modules/applepay/PaymentCoordinatorClient.h: (WebCore::PaymentCoordinatorClient::getSetupFeatures): (WebCore::PaymentCoordinatorClient::beginApplePaySetup): * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * testing/MockApplePaySetupFeature.cpp: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureWebCore.h. (WebCore::MockApplePaySetupFeature::create): (WebCore::MockApplePaySetupFeature::MockApplePaySetupFeature): * testing/MockApplePaySetupFeature.h: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureWebCore.h. * testing/MockPaymentCoordinator.cpp: (WebCore::MockPaymentCoordinator::addSetupFeature): (WebCore::MockPaymentCoordinator::getSetupFeatures): (WebCore::MockPaymentCoordinator::beginApplePaySetup): * testing/MockPaymentCoordinator.h: * testing/MockPaymentCoordinator.idl: LayoutTests: * http/tests/ssl/applepay/ApplePaySetup.https-expected.txt: Added. * http/tests/ssl/applepay/ApplePaySetup.https.html: Added. * platform/mac-wk2/TestExpectations: Canonical link: https://commits.webkit.org/225681@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-06 16:13:39 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySetupConfiguration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySetupConfiguration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySetupFeature.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySetupFeature.h
[Apple Pay] Add testing and logging for ApplePaySetup https://bugs.webkit.org/show_bug.cgi?id=211972 <rdar://problem/63291965> Reviewed by Alex Christensen. Source/WebCore: Test: http/tests/ssl/applepay/ApplePaySetup.https.html * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/applepay/ApplePaySetup.cpp: (WebCore::ApplePaySetup::getSetupFeatures): (WebCore::ApplePaySetup::begin): (WebCore::ApplePaySetup::ApplePaySetup): (WebCore::ApplePaySetup::stop): * Modules/applepay/ApplePaySetup.idl: * Modules/applepay/ApplePaySetupConfiguration.h: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupConfiguration.idl: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupFeature.idl: * Modules/applepay/ApplePaySetupFeature.mm: (WebCore::ApplePaySetupFeature::state const): * Modules/applepay/ApplePaySetupFeatureState.h: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupFeatureState.idl: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupFeatureType.idl: * Modules/applepay/ApplePaySetupFeatureWebCore.h: * Modules/applepay/ApplePaySetupWebCore.h: (WebCore::ApplePaySetup::create): * Modules/applepay/PaymentCoordinator.cpp: (WebCore::PaymentCoordinator::setApplePayIsActiveIfAllowed const): (WebCore::PaymentCoordinator::getSetupFeatures): (WebCore::PaymentCoordinator::beginApplePaySetup): (WebCore::PaymentCoordinator::endApplePaySetup): * Modules/applepay/PaymentCoordinator.h: * Modules/applepay/PaymentCoordinatorClient.h: (WebCore::PaymentCoordinatorClient::getSetupFeatures): (WebCore::PaymentCoordinatorClient::beginApplePaySetup): * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * testing/MockApplePaySetupFeature.cpp: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureWebCore.h. (WebCore::MockApplePaySetupFeature::create): (WebCore::MockApplePaySetupFeature::MockApplePaySetupFeature): * testing/MockApplePaySetupFeature.h: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureWebCore.h. * testing/MockPaymentCoordinator.cpp: (WebCore::MockPaymentCoordinator::addSetupFeature): (WebCore::MockPaymentCoordinator::getSetupFeatures): (WebCore::MockPaymentCoordinator::beginApplePaySetup): * testing/MockPaymentCoordinator.h: * testing/MockPaymentCoordinator.idl: LayoutTests: * http/tests/ssl/applepay/ApplePaySetup.https-expected.txt: Added. * http/tests/ssl/applepay/ApplePaySetup.https.html: Added. * platform/mac-wk2/TestExpectations: Canonical link: https://commits.webkit.org/225681@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-06 16:13:39 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySetupFeatureState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySetupFeatureState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySetupFeatureType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePaySetupFeatureType.h
[Payment Request] upstream new features https://bugs.webkit.org/show_bug.cgi?id=226740 <rdar://problem/78963132> Reviewed by Andy Estes. Source/WebCore: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) Tests: http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https.html http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https.html http/tests/paymentrequest/ApplePayModifier-total.https.html http/tests/paymentrequest/paymentmethodchange-couponCode.https.html http/tests/paymentrequest/paymentrequest-couponCode.https.html http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https.html http/tests/paymentrequest/paymentrequest-supportsCouponCode.https.html * Modules/applepay/ApplePayCouponCodeUpdate.idl: Copied from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeUpdate.idl. * Modules/applepay/ApplePayCouponCodeUpdate.h: Renamed from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeUpdate.h. (WebCore::ApplePayCouponCodeUpdate::encode const): (WebCore::ApplePayCouponCodeUpdate::decode): Object used to update the payment request via `ApplePaySession.prototype.completeCouponCodeChange` when responding to the user modifying the coupon code. * Modules/applepay/ApplePayErrorCode.idl: * Modules/applepay/ApplePayErrorCode.h: Add `"couponCodeInvalid"` and `"couponCodeExpired"`. * Modules/applepay/ApplePayLineItem.idl: * Modules/applepay/ApplePayLineItem.h: (WebCore::ApplePayLineItem::encode const): (WebCore::ApplePayLineItem::decode): * Modules/applepay/ApplePayPaymentTiming.idl: Added. * Modules/applepay/ApplePayPaymentTiming.h: Added. * Modules/applepay/ApplePayRecurringPaymentDateUnit.idl: Added. * Modules/applepay/ApplePayRecurringPaymentDateUnit.h: Added. Add members that indicate whether this line item is immediate, recurring, or deferred. Depending on that timing, additional members are added for further configuration (e.g. the start and/or end date of a recurring payment, it's frequency, etc.). * Modules/applepay/ApplePayShippingMethod.idl: * Modules/applepay/ApplePayShippingMethod.h: (WebCore::ApplePayShippingMethod::encode const): (WebCore::ApplePayShippingMethod::decode): * Modules/applepay/ApplePayDateComponentsRange.idl: Added. * Modules/applepay/ApplePayDateComponentsRange.h: Added. (WebCore::ApplePayDateComponentsRange::encode const): (WebCore::ApplePayDateComponentsRange::decode): * Modules/applepay/ApplePayDateComponents.idl: Added. * Modules/applepay/ApplePayDateComponents.h: Added. (WebCore::ApplePayDateComponents::encode const): (WebCore::ApplePayDateComponents::decode): Add members that can be used to indicate the estimated shipping dates for this shipping method. * Modules/applepay/ApplePayRequestBase.idl: * Modules/applepay/ApplePayRequestBase.h: * Modules/applepay/ApplePayRequestBase.cpp: (WebCore::convertAndValidate): * Modules/applepay/ApplePaySessionPaymentRequest.h: (WebCore::ApplePaySessionPaymentRequest::supportsCouponCode const): Added. (WebCore::ApplePaySessionPaymentRequest::setSupportsCouponCode): Added. (WebCore::ApplePaySessionPaymentRequest::couponCode const): Added. (WebCore::ApplePaySessionPaymentRequest::setCouponCode): Added. (WebCore::ApplePaySessionPaymentRequest::shippingContactEditingMode const): Added. (WebCore::ApplePaySessionPaymentRequest::setShippingContactEditingMode): Added. * Modules/applepay/ApplePayShippingContactEditingMode.idl: Added. * Modules/applepay/ApplePayShippingContactEditingMode.h: Added. Add members that indicate: - whether this payment request supports a coupon code at all - the initial coupon code (assuming the above) - whether this payment request allows editing the shipping contact (i.e. in-store pickup does not) * dom/EventNames.h: * dom/EventNames.in: * Modules/applepay/ApplePayCouponCodeChangedEvent.idl: Added. * Modules/applepay/ApplePayCouponCodeChangedEvent.h: Added. * Modules/applepay/ApplePayCouponCodeChangedEvent.cpp: Added. (WebCore::ApplePayCouponCodeChangedEvent::ApplePayCouponCodeChangedEvent): (WebCore::ApplePayCouponCodeChangedEvent::eventInterface const): Add a `"couponcodechange"` event that is dispatched whenever the user modifies the coupon code for an `ApplePaySession`. * Modules/applepay/ApplePayCouponCodeDetails.idl: Copied from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeDetails.idl. * Modules/applepay/ApplePayCouponCodeDetails.h: Copied from Source/WebCore/Modules/applepay/ApplePayPaymentMethodModeUpdate.idl. Used as the `object methodData` when a `PaymentMethodChangeEvent` is dispatched for a `PaymentRequest`. * Modules/applepay/ApplePaySession.idl: * Modules/applepay/ApplePaySession.h: * Modules/applepay/ApplePaySession.cpp: (WebCore::convertAndValidate): (WebCore::ApplePaySession::completeCouponCodeChange): Added. (WebCore::ApplePaySession::didChangeCouponCode): Renamed from `WebCore::ApplePaySession::didChangePaymentMethodMode`. (WebCore::ApplePaySession::canSuspendWithoutCanceling const): (WebCore::ApplePaySession::canBegin const): (WebCore::ApplePaySession::canAbort const): (WebCore::ApplePaySession::canCancel const): (WebCore::ApplePaySession::canCompleteShippingMethodSelection const): (WebCore::ApplePaySession::canCompleteShippingContactSelection const): (WebCore::ApplePaySession::canCompletePaymentMethodSelection const): (WebCore::ApplePaySession::canCompleteCouponCodeChange const): Renamed from `WebCore::ApplePaySession::canCompletePaymentMethodModeChange const`. (WebCore::ApplePaySession::canCompletePayment const): (WebCore::ApplePaySession::isFinalState const): * Modules/applepay/paymentrequest/ApplePayPaymentHandler.h: * Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp: (WebCore::ApplePayPaymentHandler::paymentMethodUpdated): (WebCore::ApplePayPaymentHandler::didChangeCouponCode): Renamed from `WebCore::ApplePayPaymentHandler::didChangePaymentMethodMode`. Add methods for JS to call and state logic to handle coupon code changes. * Modules/applepay/PaymentCoordinator.h: * Modules/applepay/PaymentCoordinator.cpp: (WebCore::PaymentCoordinator::completeCouponCodeChange): Renamed from `WebCore::PaymentCoordinator::completePaymentMethodModeChange`. (WebCore::PaymentCoordinator::didChangeCouponCode): Renamed from `WebCore::PaymentCoordinator::didChangePaymentMethodMode`. * Modules/applepay/PaymentCoordinatorClient.h: * loader/EmptyClients.cpp: (WebCore::EmptyPaymentCoordinatorClient::completeCouponCodeChange): Renamed from `WebCore::EmptyPaymentCoordinatorClient::completePaymentMethodModeChange`. Plumbing up to WebKit. * Modules/applepay/cocoa/PaymentSummaryItemsCocoa.mm: (WebCore::toDate): Added. (WebCore::toCalendarUnit): Added. (WebCore::toPKPaymentSummaryItem): Convert WebCore objects to PassKit objects. * testing/MockPaymentCoordinator.idl: * testing/MockPaymentCoordinator.h: * testing/MockPaymentCoordinator.cpp: (WebCore::MockPaymentCoordinator::showPaymentUI): (WebCore::MockPaymentCoordinator::completeCouponCodeChange): Renamed from `WebCore::MockPaymentCoordinator::completePaymentMethodModeChange`. (WebCore::MockPaymentCoordinator::changeCouponCode): Added. * Modules/applepay/cocoa/PaymentAPIVersionCocoa.mm: (WebCore::PaymentAPIVersion::current): * Modules/applepay/PaymentHeaders.h: * Modules/applepay/PaymentSession.h: * Modules/applepay/ApplePayLineItemData.idl: Removed. * Modules/applepay/ApplePayLineItemData.h: Removed. * Modules/applepay/ApplePayShippingMethodData.idl: Removed. * Modules/applepay/ApplePayShippingMethodData.h: Removed. Remove unnecessary base types after r275169. * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: Source/WebCore/PAL: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * pal/cocoa/PassKitSoftLink.h: * pal/cocoa/PassKitSoftLink.mm: * pal/spi/cocoa/PassKitSPI.h: Source/WebKit: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * Platform/cocoa/PaymentAuthorizationViewController.mm: (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didChangeCouponCode:handler:]): Added. * Platform/ios/PaymentAuthorizationController.mm: (-[WKPaymentAuthorizationControllerDelegate paymentAuthorizationController:didChangeCouponCode:handler:]): Added. * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: (WebKit::toPKPaymentErrorCode): (WebKit::PaymentAuthorizationPresenter::completeCouponCodeChange): Renamed from `WebKit::PaymentAuthorizationPresenter::completePaymentMethodModeChange`. * Platform/cocoa/WKPaymentAuthorizationDelegate.h: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: (-[WKPaymentAuthorizationDelegate completeCouponCodeChange:]): Added. (toDateComponents): Added. (toDateComponentsRange): Added. (toShippingMethod): (-[WKPaymentAuthorizationDelegate _didChangeCouponCode:completion:]): Added. Add plumbing from/to PassKit for coupon code changes. * Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in: * Shared/ApplePay/WebPaymentCoordinatorProxy.h: * Shared/ApplePay/WebPaymentCoordinatorProxy.cpp: (WebKit::WebPaymentCoordinatorProxy::completeCouponCodeChange): Renamed from `WebKit::WebPaymentCoordinatorProxy::completePaymentMethodModeChange`. (WebKit::WebPaymentCoordinatorProxy::presenterDidChangeCouponCode): Renamed from `WebKit::WebPaymentCoordinatorProxy::presenterDidChangePaymentMethodMode`. (WebKit::WebPaymentCoordinatorProxy::canBegin const): (WebKit::WebPaymentCoordinatorProxy::canCancel const): (WebKit::WebPaymentCoordinatorProxy::canCompletePayment const): (WebKit::WebPaymentCoordinatorProxy::canAbort const): * Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: (WebKit::toNSDateComponents): Added. (WebKit::toPKDateComponentsRange): Added. (WebKit::toPKShippingMethod): (WebKit::toPKShippingContactEditingMode): Added. (WebKit::WebPaymentCoordinatorProxy::platformPaymentRequest): (WebKit::WebPaymentCoordinatorProxy::platformCompleteCouponCodeChange): Renamed from `WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentMethodModeChange`. Convert PassKit objects to/from WebCore objects. * Shared/Cocoa/WebCoreArgumentCodersCocoa.mm: (IPC::ArgumentCoder<WebCore::ApplePaySessionPaymentRequest>::encode): (IPC::ArgumentCoder<WebCore::ApplePaySessionPaymentRequest>::decode): * WebProcess/ApplePay/WebPaymentCoordinator.messages.in: * WebProcess/ApplePay/WebPaymentCoordinator.h: * WebProcess/ApplePay/WebPaymentCoordinator.cpp: (WebKit::WebPaymentCoordinator::completeCouponCodeChange): Renamed from `WebKit::WebPaymentCoordinator::completePaymentMethodModeChange`. (WebKit::WebPaymentCoordinator::didChangeCouponCode): Renamed from `WebKit::WebPaymentCoordinator::didChangePaymentMethodMode`. Plumbing into/from WebCore. Source/WebKitLegacy/mac: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * WebCoreSupport/WebPaymentCoordinatorClient.h: * WebCoreSupport/WebPaymentCoordinatorClient.mm: (WebPaymentCoordinatorClient::completeCouponCodeChange): Renamed from `WebPaymentCoordinatorClient::completePaymentMethodModeChange`. Source/WTF: - recurring line items (`HAVE_PASSKIT_RECURRING_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_RECURRING_LINE_ITEM`) - deferred line items (`HAVE_PASSKIT_DEFERRED_SUMMARY_ITEM` and `ENABLE_APPLE_PAY_DEFERRED_LINE_ITEM`) - estimated shipping dates (`HAVE_PASSKIT_SHIPPING_METHOD_DATE_COMPONENTS_RANGE` and `ENABLE_APPLE_PAY_SHIPPING_METHOD_DATE_COMPONENTS_RANGE`) - coupon code entry (`HAVE_PASSKIT_COUPON_CODE` and `ENABLE_APPLE_PAY_COUPON_CODE`) - shipped vs in-store pickup (`HAVE_PASSKIT_SHIPPING_CONTACT_EDITING_MODE` and `ENABLE_APPLE_PAY_SHIPPING_CONTACT_EDITING_MODE`) * wtf/PlatformHave.h: * wtf/PlatformEnableCocoa.h: LayoutTests: * http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https-expected.txt: Added. * http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https-expected.txt: Added. * http/tests/paymentrequest/ApplePayModifier-total.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-total.https-expected.txt: Added. * http/tests/paymentrequest/paymentmethodchange-couponCode.https.html: Added. * http/tests/paymentrequest/paymentmethodchange-couponCode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-couponCode.https.html: Added. * http/tests/paymentrequest/paymentrequest-couponCode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https.html: Added. * http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-supportsCouponCode.https.html: Added. * http/tests/paymentrequest/paymentrequest-supportsCouponCode.https-expected.txt: Added. * http/tests/ssl/applepay/ApplePayError-expected.txt: * platform/ios-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Canonical link: https://commits.webkit.org/238613@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-06-08 22:15:18 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingContactEditingMode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingContactEditingMode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingContactSelectedEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingContactSelectedEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingContactUpdate.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingContactUpdate.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingMethod.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingMethod.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingMethodSelectedEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingMethodSelectedEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingMethodUpdate.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayShippingMethodUpdate.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayValidateMerchantEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSApplePayValidateMerchantEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAriaAttributes.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAriaAttributes.h
[WebAuthN] Support Attestation Conveyance Preference https://bugs.webkit.org/show_bug.cgi?id=192722 <rdar://problem/49939647> Reviewed by Brent Fulgham. Source/WebCore: This patch implements https://www.w3.org/TR/webauthn/#enumdef-attestationconveyancepreference, together with Step 20 with regard to AttestationConveyancePreference of https://www.w3.org/TR/webauthn/#createCredential. Few notes with regard to Step 20: 1) We treat indirect attestation as direct attestation as we don't MITM the attestation process; 2) We won't distinguish self attestation and return it to keep consistency between the response and the request. If callers want none attestation, they will very likely ignore fmt and attStmt of the attestation object, and therefore it is meaningless to return self attestation. Covered by new tests within existing files. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/webauthn/AttestationConveyancePreference.h: Copied from Source/WebCore/Modules/webauthn/WebAuthenticationUtils.h. * Modules/webauthn/AttestationConveyancePreference.idl: Copied from Source/WebCore/Modules/webauthn/WebAuthenticationUtils.h. * Modules/webauthn/PublicKeyCredentialCreationOptions.h: (WebCore::PublicKeyCredentialCreationOptions::encode const): (WebCore::PublicKeyCredentialCreationOptions::decode): * Modules/webauthn/PublicKeyCredentialCreationOptions.idl: * Modules/webauthn/WebAuthenticationConstants.h: * Modules/webauthn/WebAuthenticationUtils.cpp: (WebCore::buildAttestationObject): * Modules/webauthn/WebAuthenticationUtils.h: * Modules/webauthn/fido/DeviceResponseConverter.cpp: (fido::readCTAPMakeCredentialResponse): * Modules/webauthn/fido/DeviceResponseConverter.h: * Modules/webauthn/fido/FidoConstants.h: noneAttestationValue is moved to WebAuthenticationConstants.h. * Modules/webauthn/fido/U2fResponseConverter.cpp: (fido::readU2fRegisterResponse): * Modules/webauthn/fido/U2fResponseConverter.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Source/WebKit: * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested): * UIProcess/WebAuthentication/fido/CtapHidAuthenticator.cpp: (WebKit::CtapHidAuthenticator::continueMakeCredentialAfterResponseReceived const): * UIProcess/WebAuthentication/fido/U2fHidAuthenticator.cpp: (WebKit::U2fHidAuthenticator::continueRegisterCommandAfterResponseReceived): Tools: * TestWebKitAPI/Tests/WebCore/CtapRequestTest.cpp: (TestWebKitAPI::TEST): Updates the test with AttestationConveyancePreference. LayoutTests: * http/wpt/webauthn/public-key-credential-create-success-hid.https-expected.txt: * http/wpt/webauthn/public-key-credential-create-success-hid.https.html: * http/wpt/webauthn/public-key-credential-create-success-local.https-expected.txt: * http/wpt/webauthn/public-key-credential-create-success-local.https.html: * http/wpt/webauthn/public-key-credential-create-success-u2f.https-expected.txt: * http/wpt/webauthn/public-key-credential-create-success-u2f.https.html: Canonical link: https://commits.webkit.org/212199@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-05-22 19:27:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAttestationConveyancePreference.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAttestationConveyancePreference.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAttr.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAttr.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioBuffer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioBuffer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioBufferCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioBufferCallback.h
Added AudioBuffer Constructor https://bugs.webkit.org/show_bug.cgi?id=214990 Patch by Clark Wang <clark_wang@apple.com> on 2020-08-03 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined existing tests. Some now fail due to unsupported sampleRate. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-response-1-chan-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-response-2-chan-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-response-4-chan-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-setBuffer-already-has-value-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/osc-basic-waveform-expected.txt: Source/WebCore: Added AudioBuffer constructor according to spec: https://www.w3.org/TR/webaudio/#AudioBuffer-constructors. Added in AudioBufferOptions files. Updated BaseAudioContext::createBuffer to use new constructor. Re-baselined existing tests. Some fail now due to unsupported sampleRate. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioBuffer.cpp: (WebCore::AudioBuffer::create): (WebCore::AudioBuffer::AudioBuffer): * Modules/webaudio/AudioBuffer.h: * Modules/webaudio/AudioBuffer.idl: * Modules/webaudio/AudioBufferOptions.h: Added. * Modules/webaudio/AudioBufferOptions.idl: Added. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createBuffer): * Modules/webaudio/BaseAudioContext.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: LayoutTests: Re-baselined existing tests. Some now fail due to unsupported sampleRate. * TestExpectations: * webaudio/audiobuffer-crash-expected.txt: * webaudio/audiobuffersource-channels-expected.txt: Canonical link: https://commits.webkit.org/227896@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-03 19:22:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioBufferOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioBufferOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioBufferSourceNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioBufferSourceNode.h
Add constructor for AudioBufferSourceNode https://bugs.webkit.org/show_bug.cgi?id=215096 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/processing-model/feedback-delay-time-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource-expected.txt: Source/WebCore: Add constructor for AudioBufferSourceNode as per: - https://www.w3.org/TR/webaudio/#DelayNode This patch also adds support for the detune attribute on AudioBufferSourceNode, which gets initialized by the constructor. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioBufferSourceNode.cpp: (WebCore::AudioBufferSourceNode::create): (WebCore::AudioBufferSourceNode::AudioBufferSourceNode): (WebCore::AudioBufferSourceNode::process): (WebCore::AudioBufferSourceNode::reset): (WebCore::AudioBufferSourceNode::totalPitchRate): * Modules/webaudio/AudioBufferSourceNode.h: * Modules/webaudio/AudioBufferSourceNode.idl: * Modules/webaudio/AudioBufferSourceOptions.h: Copied from Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl. * Modules/webaudio/AudioBufferSourceOptions.idl: Copied from Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createBufferSource): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227918@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-04 00:31:57 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioBufferSourceOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioBufferSourceOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioConfiguration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioConfiguration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioContext.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioContext.h
Updated AudioContext constructor according to spec https://bugs.webkit.org/show_bug.cgi?id=214267 Patch by Clark Wang <clark_wang@apple.com> on 2020-07-14 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined existing tests. One new test case passes, and one fails due to current accepted range for sampleRate. * web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/realtime-conv-expected.txt: Source/WebCore: Updated AudioContext constructor according to spec: https://www.w3.org/TR/webaudio/#AudioContext-constructors. Added in files accordingly to support AudioContextOptions. Re-baselined existing tests. One new test case passes, and one fails due to current accepted range for sampleRate. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): (WebCore::AudioContext::AudioContext): * Modules/webaudio/AudioContext.h: (WebCore::AudioContext::create): * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioContextLatencyCategory.h: Added. * Modules/webaudio/AudioContextLatencyCategory.idl: Added. * Modules/webaudio/AudioContextOptions.h: Added. * Modules/webaudio/AudioContextOptions.idl: Added. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::BaseAudioContext): * Modules/webaudio/BaseAudioContext.h: * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode): * Modules/webaudio/DefaultAudioDestinationNode.h: * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNode::PannerNode): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227104@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@264342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-14 15:51:18 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioContextLatencyCategory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioContextLatencyCategory.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioContextOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioContextOptions.h
Add experimental feature flag for modern & unprefixed WebAudio API https://bugs.webkit.org/show_bug.cgi?id=213268 Reviewed by Jer Noble. LayoutTests/imported/w3c: Rebaseline a few web-platform-tests now that they are passing or failing at a later stage. This is due to our WebAudio getting properly unprefixed in the context of layout tests. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-detached-execution-context.tentative-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-connect-method-chaining-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/offlineaudiocontext-detached-execution-context.tentative-expected.txt: Source/WebCore: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. This patch split the AudioContext, OfflineAudioContext and PannerNode IDL interfaces into their prefixed and unprefixed versions. The unprefixed versions are behind the new experimental feature flag that is currently off by default but automatically gets turned on in the context of layout tests. This will give us more flexibility when working on the modern and unprefixed WebAudio API as we will not have to worry about backward compatibility. This also allows us to easily turn it on or off via the experimental features menu in Safari. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AnalyserNode.cpp: (WebCore::AnalyserNode::AnalyserNode): * Modules/webaudio/AnalyserNode.h: * Modules/webaudio/AudioBasicInspectorNode.cpp: (WebCore::AudioBasicInspectorNode::AudioBasicInspectorNode): * Modules/webaudio/AudioBasicInspectorNode.h: * Modules/webaudio/AudioBasicProcessorNode.cpp: (WebCore::AudioBasicProcessorNode::AudioBasicProcessorNode): * Modules/webaudio/AudioBasicProcessorNode.h: * Modules/webaudio/AudioBufferSourceNode.cpp: (WebCore::AudioBufferSourceNode::create): (WebCore::AudioBufferSourceNode::AudioBufferSourceNode): (WebCore::AudioBufferSourceNode::setBuffer): (WebCore::AudioBufferSourceNode::setPannerNode): * Modules/webaudio/AudioBufferSourceNode.h: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContextBase::AudioContextBase): (WebCore::AudioContext::AudioContext): (WebCore::AudioContextBase::document const): (WebCore::AudioContextBase::scriptExecutionContext const): * Modules/webaudio/AudioContext.h: (WebCore::AudioContextBase::AutoLocker::AutoLocker): (WebCore::AudioContextBase::AutoLocker::~AutoLocker): (WebCore::AudioContext::maxNumberOfChannels): (isType): * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioContextState.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioContextState.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioDestinationNode.cpp: (WebCore::AudioDestinationNode::AudioDestinationNode): * Modules/webaudio/AudioDestinationNode.h: * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::AudioNode): (WebCore::AudioNode::connect): (WebCore::AudioNode::disconnect): (WebCore::AudioNode::setChannelCount): (WebCore::AudioNode::setChannelCountMode): (WebCore::AudioNode::setChannelInterpretation): (WebCore::AudioNode::enableOutputsIfNecessary): (WebCore::AudioNode::deref): (WebCore::AudioNode::contextForBindings const): * Modules/webaudio/AudioNode.h: (WebCore::AudioNode::context): (WebCore::AudioNode::context const): * Modules/webaudio/AudioNode.idl: * Modules/webaudio/AudioNodeOutput.h: (WebCore::AudioNodeOutput::context): * Modules/webaudio/AudioParam.cpp: (WebCore::AudioParam::AudioParam): * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParamTimeline.cpp: (WebCore::AudioParamTimeline::valueForContextTime): * Modules/webaudio/AudioParamTimeline.h: * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::AudioScheduledSourceNode): * Modules/webaudio/AudioScheduledSourceNode.h: * Modules/webaudio/AudioSummingJunction.cpp: (WebCore::AudioSummingJunction::AudioSummingJunction): * Modules/webaudio/AudioSummingJunction.h: (WebCore::AudioSummingJunction::context): * Modules/webaudio/BiquadFilterNode.cpp: (WebCore::BiquadFilterNode::BiquadFilterNode): * Modules/webaudio/BiquadFilterNode.h: * Modules/webaudio/BiquadProcessor.cpp: (WebCore::BiquadProcessor::BiquadProcessor): * Modules/webaudio/BiquadProcessor.h: * Modules/webaudio/ChannelMergerNode.cpp: (WebCore::ChannelMergerNode::create): (WebCore::ChannelMergerNode::ChannelMergerNode): * Modules/webaudio/ChannelMergerNode.h: * Modules/webaudio/ChannelSplitterNode.cpp: (WebCore::ChannelSplitterNode::create): (WebCore::ChannelSplitterNode::ChannelSplitterNode): * Modules/webaudio/ChannelSplitterNode.h: * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::ConvolverNode): * Modules/webaudio/ConvolverNode.h: * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode): * Modules/webaudio/DefaultAudioDestinationNode.h: * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::DelayNode): (WebCore::DelayNode::create): * Modules/webaudio/DelayNode.h: * Modules/webaudio/DelayProcessor.cpp: (WebCore::DelayProcessor::DelayProcessor): * Modules/webaudio/DelayProcessor.h: * Modules/webaudio/DistanceModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DistanceModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DynamicsCompressorNode.cpp: (WebCore::DynamicsCompressorNode::DynamicsCompressorNode): * Modules/webaudio/DynamicsCompressorNode.h: * Modules/webaudio/GainNode.cpp: (WebCore::GainNode::GainNode): * Modules/webaudio/GainNode.h: * Modules/webaudio/MediaElementAudioSourceNode.cpp: (WebCore::MediaElementAudioSourceNode::create): (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode): (WebCore::MediaElementAudioSourceNode::setFormat): * Modules/webaudio/MediaElementAudioSourceNode.h: * Modules/webaudio/MediaStreamAudioDestinationNode.cpp: (WebCore::MediaStreamAudioDestinationNode::create): (WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode): * Modules/webaudio/MediaStreamAudioDestinationNode.h: * Modules/webaudio/MediaStreamAudioSourceNode.cpp: (WebCore::MediaStreamAudioSourceNode::create): (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode): * Modules/webaudio/MediaStreamAudioSourceNode.h: * Modules/webaudio/OfflineAudioContext.idl: * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode): * Modules/webaudio/OfflineAudioDestinationNode.h: * Modules/webaudio/OscillatorNode.cpp: (WebCore::OscillatorNode::create): (WebCore::OscillatorNode::OscillatorNode): * Modules/webaudio/OscillatorNode.h: * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNodeBase::PannerNodeBase): (WebCore::PannerNode::PannerNode): * Modules/webaudio/PannerNode.h: * Modules/webaudio/PannerNode.idl: * Modules/webaudio/PanningModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/PanningModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/ScriptProcessorNode.cpp: (WebCore::ScriptProcessorNode::create): (WebCore::ScriptProcessorNode::ScriptProcessorNode): * Modules/webaudio/ScriptProcessorNode.h: * Modules/webaudio/WaveShaperNode.cpp: (WebCore::WaveShaperNode::WaveShaperNode): * Modules/webaudio/WaveShaperNode.h: * Modules/webaudio/WebKitAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/AudioContext.cpp. (WebCore::WebKitAudioContext::isSampleRateRangeGood): (WebCore::WebKitAudioContext::create): (WebCore::WebKitAudioContext::WebKitAudioContext): (WebCore::WebKitAudioContext::constructCommon): (WebCore::WebKitAudioContext::~WebKitAudioContext): (WebCore::WebKitAudioContext::lazyInitialize): (WebCore::WebKitAudioContext::clear): (WebCore::WebKitAudioContext::uninitialize): (WebCore::WebKitAudioContext::isInitialized const): (WebCore::WebKitAudioContext::addReaction): (WebCore::WebKitAudioContext::setState): (WebCore::WebKitAudioContext::stop): (WebCore::WebKitAudioContext::suspend): (WebCore::WebKitAudioContext::resume): (WebCore::WebKitAudioContext::activeDOMObjectName const): (WebCore::WebKitAudioContext::hostingDocumentIdentifier const): (WebCore::WebKitAudioContext::isSuspended const): (WebCore::WebKitAudioContext::visibilityStateChanged): (WebCore::WebKitAudioContext::wouldTaintOrigin const): (WebCore::WebKitAudioContext::createBuffer): (WebCore::WebKitAudioContext::decodeAudioData): (WebCore::WebKitAudioContext::createBufferSource): (WebCore::WebKitAudioContext::createMediaElementSource): (WebCore::WebKitAudioContext::createMediaStreamSource): (WebCore::WebKitAudioContext::createMediaStreamDestination): (WebCore::WebKitAudioContext::createScriptProcessor): (WebCore::WebKitAudioContext::createBiquadFilter): (WebCore::WebKitAudioContext::createWaveShaper): (WebCore::WebKitAudioContext::createPanner): (WebCore::WebKitAudioContext::createConvolver): (WebCore::WebKitAudioContext::createDynamicsCompressor): (WebCore::WebKitAudioContext::createAnalyser): (WebCore::WebKitAudioContext::createGain): (WebCore::WebKitAudioContext::createDelay): (WebCore::WebKitAudioContext::createChannelSplitter): (WebCore::WebKitAudioContext::createChannelMerger): (WebCore::WebKitAudioContext::createOscillator): (WebCore::WebKitAudioContext::createPeriodicWave): (WebCore::WebKitAudioContext::notifyNodeFinishedProcessing): (WebCore::WebKitAudioContext::derefFinishedSourceNodes): (WebCore::WebKitAudioContext::refNode): (WebCore::WebKitAudioContext::derefNode): (WebCore::WebKitAudioContext::derefUnfinishedSourceNodes): (WebCore::WebKitAudioContext::lock): (WebCore::WebKitAudioContext::tryLock): (WebCore::WebKitAudioContext::unlock): (WebCore::WebKitAudioContext::isAudioThread const): (WebCore::WebKitAudioContext::isGraphOwner const): (WebCore::WebKitAudioContext::addDeferredFinishDeref): (WebCore::WebKitAudioContext::handlePreRenderTasks): (WebCore::WebKitAudioContext::handlePostRenderTasks): (WebCore::WebKitAudioContext::handleDeferredFinishDerefs): (WebCore::WebKitAudioContext::markForDeletion): (WebCore::WebKitAudioContext::scheduleNodeDeletion): (WebCore::WebKitAudioContext::deleteMarkedNodes): (WebCore::WebKitAudioContext::markSummingJunctionDirty): (WebCore::WebKitAudioContext::removeMarkedSummingJunction): (WebCore::WebKitAudioContext::markAudioNodeOutputDirty): (WebCore::WebKitAudioContext::handleDirtyAudioSummingJunctions): (WebCore::WebKitAudioContext::handleDirtyAudioNodeOutputs): (WebCore::WebKitAudioContext::addAutomaticPullNode): (WebCore::WebKitAudioContext::removeAutomaticPullNode): (WebCore::WebKitAudioContext::updateAutomaticPullNodes): (WebCore::WebKitAudioContext::processAutomaticPullNodes): (WebCore::WebKitAudioContext::nodeWillBeginPlayback): (WebCore::shouldDocumentAllowWebAudioToAutoPlay): (WebCore::WebKitAudioContext::willBeginPlayback): (WebCore::WebKitAudioContext::willPausePlayback): (WebCore::WebKitAudioContext::startRendering): (WebCore::WebKitAudioContext::mediaCanStart): (WebCore::WebKitAudioContext::mediaState const): (WebCore::WebKitAudioContext::pageMutedStateDidChange): (WebCore::WebKitAudioContext::isPlayingAudioDidChange): (WebCore::WebKitAudioContext::finishedRendering): (WebCore::WebKitAudioContext::dispatchEvent): (WebCore::WebKitAudioContext::incrementActiveSourceCount): (WebCore::WebKitAudioContext::decrementActiveSourceCount): (WebCore::WebKitAudioContext::suspendRendering): (WebCore::WebKitAudioContext::resumeRendering): (WebCore::WebKitAudioContext::close): (WebCore::WebKitAudioContext::suspendPlayback): (WebCore::WebKitAudioContext::mayResumePlayback): (WebCore::WebKitAudioContext::postTask): (WebCore::WebKitAudioContext::origin const): (WebCore::WebKitAudioContext::addConsoleMessage): (WebCore::WebKitAudioContext::clearPendingActivity): (WebCore::WebKitAudioContext::makePendingActivity): (WebCore::WebKitAudioContext::logChannel const): * Modules/webaudio/WebKitAudioContext.h: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. (WebCore::WebKitAudioContext::destination): (WebCore::WebKitAudioContext::activeSourceCount const): (WebCore::WebKitAudioContext::listener): (WebCore::WebKitAudioContext::isClosed const): (WebCore::WebKitAudioContext::connectionCount const): (WebCore::WebKitAudioContext::audioThread const): (WebCore::WebKitAudioContext::maxNumberOfChannels): (WebCore::WebKitAudioContext::userGestureRequiredForAudioStart const): (WebCore::WebKitAudioContext::pageConsentRequiredForAudioStart const): (WebCore::WebKitAudioContext::state const): (isType): * Modules/webaudio/WebKitAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/AudioContext.idl. * Modules/webaudio/WebKitAudioPannerNode.cpp: Copied from Source/WebCore/Modules/webaudio/PannerNode.cpp. (WebCore::fixNANs): (WebCore::WebKitAudioPannerNode::WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::~WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::pullInputs): (WebCore::WebKitAudioPannerNode::process): (WebCore::WebKitAudioPannerNode::reset): (WebCore::WebKitAudioPannerNode::initialize): (WebCore::WebKitAudioPannerNode::uninitialize): (WebCore::WebKitAudioPannerNode::listener): (WebCore::WebKitAudioPannerNode::setPanningModel): (WebCore::WebKitAudioPannerNode::distanceModel const): (WebCore::WebKitAudioPannerNode::setDistanceModel): (WebCore::WebKitAudioPannerNode::getAzimuthElevation): (WebCore::WebKitAudioPannerNode::dopplerRate): (WebCore::WebKitAudioPannerNode::distanceConeGain): (WebCore::WebKitAudioPannerNode::notifyAudioSourcesConnectedToNode): * Modules/webaudio/WebKitAudioPannerNode.h: Copied from Source/WebCore/Modules/webaudio/PannerNode.h. * Modules/webaudio/WebKitAudioPannerNode.idl: Copied from Source/WebCore/Modules/webaudio/PannerNode.idl. * Modules/webaudio/WebKitOfflineAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/DelayNode.cpp. (WebCore::WebKitOfflineAudioContext::WebKitOfflineAudioContext): (WebCore::WebKitOfflineAudioContext::create): * Modules/webaudio/WebKitOfflineAudioContext.h: Copied from Source/WebCore/Modules/webaudio/DelayNode.h. * Modules/webaudio/WebKitOfflineAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: * page/Settings.yaml: * testing/Internals.cpp: (WebCore::Internals::setAudioContextRestrictions): * testing/Internals.h: * testing/Internals.idl: Source/WebKit: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. * Shared/WebPreferences.yaml: Canonical link: https://commits.webkit.org/226120@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-18 04:14:13 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioContextState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioContextState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioDestinationNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioDestinationNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioListener.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioListener.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioNode.h
Added PannerNode constructor according to spec https://bugs.webkit.org/show_bug.cgi?id=213801 Patch by Clark Wang <clark_wang@apple.com> on 2020-07-06 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined existing tests now that new ones are passing. New ones that fail are due to accepted range of values that attributes can take on, which are to be implemented in a future patch. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping-expected.txt: Source/WebCore: Added in new PannerNode constructor to match spec: https://www.w3.org/TR/webaudio/#dom-pannernode-pannernode. Added in AudioNodeOptions and PannerOptions files. Modified some previous code in order to pass compilation. Re-baselined existing tests now that new ones are passing. New ones that fail are due to accepted range of values that attributes can take on, which are to be implemented in a future patch. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioDestinationNode.h: * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::AudioNode): * Modules/webaudio/AudioNode.h: * Modules/webaudio/AudioNodeOptions.h: Added. * Modules/webaudio/AudioNodeOptions.idl: Added. * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNode::PannerNode): (WebCore::PannerNodeBase::PannerNodeBase): (WebCore::PannerNode::create): * Modules/webaudio/PannerNode.h: * Modules/webaudio/PannerNode.idl: * Modules/webaudio/PannerOptions.h: Added. * Modules/webaudio/PannerOptions.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/226805@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-06 21:24:00 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioNodeOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioNodeOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioParam.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioParam.h
Add implementation for AudioWorkletGlobalScope.registerProcessor() https://bugs.webkit.org/show_bug.cgi?id=217405 Reviewed by Geoff Garen. LayoutTests/imported/w3c: Rebaseline WPT tests as we are now passing more checks. * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet-connections.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-iterable.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-sample-rate.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-construction.https-expected.txt: Source/WebCore: Add implementation for AudioWorkletGlobalScope.registerProcessor() that matches very closely the specification at: - https://www.w3.org/TR/webaudio/#dom-audioworkletglobalscope-registerprocessor Also update the AudioWorkletNode constructor implementation as per: - https://www.w3.org/TR/webaudio/#AudioWorkletNode-constructors Now that the AudioWorklet is able to register a processor and AudioParamDescriptors, the AudioWorkletNode constructor is able to make sure that a processor with the given name was indeed registered. We are also able to construct the AudioParam objects based on the AudioParamDescriptors provided when registering the processor. Note that even though it is now possible to register an AudioWorkletProcessor, it is still not used to process the audio. An AudioWorkletNode currently only outputs silence. This will be addresssed in a future patch. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParam.idl: * Modules/webaudio/AudioParamDescriptor.h: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. (WebCore::AudioParamDescriptor::isolatedCopy const): * Modules/webaudio/AudioParamDescriptor.idl: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/AudioWorkletGlobalScope.h: * Modules/webaudio/AudioWorkletGlobalScope.idl: * Modules/webaudio/AudioWorkletMessagingProxy.cpp: (WebCore::AudioWorkletMessagingProxy::AudioWorkletMessagingProxy): (WebCore::AudioWorkletMessagingProxy::postTaskToAudioWorklet): * Modules/webaudio/AudioWorkletMessagingProxy.h: * Modules/webaudio/AudioWorkletNode.cpp: (WebCore::AudioWorkletNode::create): * Modules/webaudio/AudioWorkletThread.h: (WebCore::AudioWorkletThread::messagingProxy): * Modules/webaudio/AutomationRate.h: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. * Modules/webaudio/AutomationRate.idl: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::addAudioParamDescriptors): * Modules/webaudio/BaseAudioContext.h: (WebCore::BaseAudioContext::parameterDescriptorMap const): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/230180@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-07 00:36:21 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioParamDescriptor.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioParamDescriptor.h
Add stubs for AudioWorklet https://bugs.webkit.org/show_bug.cgi?id=217059 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Rebaseline WPT tests now that AudioWorklet / AudioWorkletNode / AudioParamMap interfaces are exposed. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/processing-after-resume.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet-connections.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-stereo-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-addmodule-resolution.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-iterable.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-size.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-messageport.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-postmessage-sharedarraybuffer.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-suspend.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-sample-rate.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-automatic-pull.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-channel-count.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-construction.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-constructor-options.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-disconnected-input.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-onerror.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-output-channel-count.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-options.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-process-frozen-array.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-process-zero-outputs.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-promises.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/extended-audioworkletnode-with-parameters.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/process-getter.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/process-parameters.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/processor-construction-port.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/simple-input-output.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/suspended-context-messageport.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/cors-check.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/no-cors.https-expected.txt: Source/WebCore: Add stubs for AudioWorklet, AudioWorkletNode and AudioParamMap: - https://www.w3.org/TR/webaudio/#audioworklet - https://www.w3.org/TR/webaudio/#audioworkletnode - https://www.w3.org/TR/webaudio/#audioparammap No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioNode.cpp: (WebCore::convertEnumerationToString): * Modules/webaudio/AudioNode.h: * Modules/webaudio/AudioParamMap.cpp: Added. (WebCore::AudioParamMap::initializeMapLike): (WebCore::AudioParamMap::add): * Modules/webaudio/AudioParamMap.h: Added. (WebCore::AudioParamMap::create): (WebCore::AudioParamMap::map const): * Modules/webaudio/AudioParamMap.idl: Added. * Modules/webaudio/AudioWorklet.cpp: Added. (WebCore::AudioWorklet::create): (WebCore::AudioWorklet::AudioWorklet): * Modules/webaudio/AudioWorklet.h: Added. * Modules/webaudio/AudioWorklet.idl: Added. * Modules/webaudio/AudioWorkletNode.cpp: Added. (WebCore::AudioWorkletNode::create): (WebCore::AudioWorkletNode::AudioWorkletNode): (WebCore::AudioWorkletNode::~AudioWorkletNode): (WebCore::AudioWorkletNode::process): * Modules/webaudio/AudioWorkletNode.h: Added. (WebCore::AudioWorkletNode::parameters): (WebCore::AudioWorkletNode::port): * Modules/webaudio/AudioWorkletNode.idl: Added. * Modules/webaudio/AudioWorkletNodeOptions.h: Added. * Modules/webaudio/AudioWorkletNodeOptions.idl: Added. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::BaseAudioContext): * Modules/webaudio/BaseAudioContext.h: (WebCore::BaseAudioContext::audioWorklet): * Modules/webaudio/BaseAudioContext.idl: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * css/DOMCSSPaintWorklet.cpp: (WebCore::DOMCSSPaintWorklet::ensurePaintWorklet): (WebCore::PaintWorklet::addModule): * css/DOMCSSPaintWorklet.h: * dom/Document.cpp: (WebCore::Document::ensurePaintWorklet): * dom/Document.h: * dom/EventNames.h: * page/Settings.yaml: * worklets/Worklet.cpp: (WebCore::Worklet::addModule): * worklets/Worklet.h: * worklets/Worklet.idl: * worklets/WorkletOptions.h: Copied from Source/WebCore/worklets/Worklet.idl. * worklets/WorkletOptions.idl: Copied from Source/WebCore/worklets/Worklet.idl. Source/WebKit: Add experimental feature flag for AudioWorklet API. * Shared/WebPreferencesExperimental.yaml: LayoutTests: Skip tests that are timing out because we don't support Worklet.addModule() yet. * TestExpectations: * webaudio/AudioParam/worklet-warnings-expected.txt: Canonical link: https://commits.webkit.org/229873@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-29 16:47:37 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioParamMap.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioParamMap.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioProcessingEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioProcessingEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioProcessingEventInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioProcessingEventInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioScheduledSourceNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioScheduledSourceNode.h
AudioContext.getOutputTimestamp() is missing https://bugs.webkit.org/show_bug.cgi?id=215591 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-getoutputtimestamp-expected.txt: Source/WebCore: AudioContext.getOutputTimestamp() is missing: - https://www.w3.org/TR/webaudio/#dom-audiocontext-getoutputtimestamp No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::getOutputTimestamp): * Modules/webaudio/AudioContext.h: * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioDestinationNode.cpp: (WebCore::AudioDestinationNode::render): * Modules/webaudio/AudioDestinationNode.h: * Modules/webaudio/AudioTimestamp.h: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. * Modules/webaudio/AudioTimestamp.idl: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::handlePreRenderTasks): (WebCore::BaseAudioContext::outputPosition): * Modules/webaudio/BaseAudioContext.h: * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::offlineRender): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * platform/audio/AudioIOCallback.h: (WebCore::AudioIOPosition::encode const): (WebCore::AudioIOPosition::decode): * platform/audio/cocoa/AudioDestinationCocoa.cpp: (WebCore::machAbsoluteTimeToMonotonicTime): (WebCore::AudioDestinationCocoa::render): (WebCore::AudioDestinationCocoa::inputProc): * platform/audio/cocoa/AudioDestinationCocoa.h: Source/WebKit: * GPUProcess/media/RemoteAudioDestinationManager.cpp: * WebProcess/GPU/media/RemoteAudioBusData.h: (WebKit::RemoteAudioBusData::encode const): (WebKit::RemoteAudioBusData::decode): * WebProcess/GPU/media/RemoteAudioDestinationProxy.cpp: (WebKit::RemoteAudioDestinationProxy::renderBuffer): Canonical link: https://commits.webkit.org/228355@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-18 02:16:13 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioTimestamp.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioTimestamp.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioTrack+MediaSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioTrack+MediaSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioTrack.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioTrack.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioTrackList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioTrackList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioTrackMediaSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioTrackMediaSource.h
Add stubs for AudioWorklet https://bugs.webkit.org/show_bug.cgi?id=217059 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Rebaseline WPT tests now that AudioWorklet / AudioWorkletNode / AudioParamMap interfaces are exposed. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/processing-after-resume.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet-connections.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-stereo-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-addmodule-resolution.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-iterable.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-size.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-messageport.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-postmessage-sharedarraybuffer.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-suspend.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-sample-rate.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-automatic-pull.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-channel-count.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-construction.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-constructor-options.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-disconnected-input.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-onerror.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-output-channel-count.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-options.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-process-frozen-array.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-process-zero-outputs.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-promises.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/extended-audioworkletnode-with-parameters.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/process-getter.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/process-parameters.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/processor-construction-port.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/simple-input-output.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/suspended-context-messageport.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/cors-check.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/no-cors.https-expected.txt: Source/WebCore: Add stubs for AudioWorklet, AudioWorkletNode and AudioParamMap: - https://www.w3.org/TR/webaudio/#audioworklet - https://www.w3.org/TR/webaudio/#audioworkletnode - https://www.w3.org/TR/webaudio/#audioparammap No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioNode.cpp: (WebCore::convertEnumerationToString): * Modules/webaudio/AudioNode.h: * Modules/webaudio/AudioParamMap.cpp: Added. (WebCore::AudioParamMap::initializeMapLike): (WebCore::AudioParamMap::add): * Modules/webaudio/AudioParamMap.h: Added. (WebCore::AudioParamMap::create): (WebCore::AudioParamMap::map const): * Modules/webaudio/AudioParamMap.idl: Added. * Modules/webaudio/AudioWorklet.cpp: Added. (WebCore::AudioWorklet::create): (WebCore::AudioWorklet::AudioWorklet): * Modules/webaudio/AudioWorklet.h: Added. * Modules/webaudio/AudioWorklet.idl: Added. * Modules/webaudio/AudioWorkletNode.cpp: Added. (WebCore::AudioWorkletNode::create): (WebCore::AudioWorkletNode::AudioWorkletNode): (WebCore::AudioWorkletNode::~AudioWorkletNode): (WebCore::AudioWorkletNode::process): * Modules/webaudio/AudioWorkletNode.h: Added. (WebCore::AudioWorkletNode::parameters): (WebCore::AudioWorkletNode::port): * Modules/webaudio/AudioWorkletNode.idl: Added. * Modules/webaudio/AudioWorkletNodeOptions.h: Added. * Modules/webaudio/AudioWorkletNodeOptions.idl: Added. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::BaseAudioContext): * Modules/webaudio/BaseAudioContext.h: (WebCore::BaseAudioContext::audioWorklet): * Modules/webaudio/BaseAudioContext.idl: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * css/DOMCSSPaintWorklet.cpp: (WebCore::DOMCSSPaintWorklet::ensurePaintWorklet): (WebCore::PaintWorklet::addModule): * css/DOMCSSPaintWorklet.h: * dom/Document.cpp: (WebCore::Document::ensurePaintWorklet): * dom/Document.h: * dom/EventNames.h: * page/Settings.yaml: * worklets/Worklet.cpp: (WebCore::Worklet::addModule): * worklets/Worklet.h: * worklets/Worklet.idl: * worklets/WorkletOptions.h: Copied from Source/WebCore/worklets/Worklet.idl. * worklets/WorkletOptions.idl: Copied from Source/WebCore/worklets/Worklet.idl. Source/WebKit: Add experimental feature flag for AudioWorklet API. * Shared/WebPreferencesExperimental.yaml: LayoutTests: Skip tests that are timing out because we don't support Worklet.addModule() yet. * TestExpectations: * webaudio/AudioParam/worklet-warnings-expected.txt: Canonical link: https://commits.webkit.org/229873@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-29 16:47:37 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorklet.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorklet.h
Add basic infrastructure for AudioWorklet https://bugs.webkit.org/show_bug.cgi?id=217153 Reviewed by Sam Weinig. Source/WebCore: Add basic infrastructure for AudioWorklet: - https://www.w3.org/TR/webaudio/#audioworklet In particular, this adds a partial but spec-compliant implementation of Worklet.addModule(), as per: - https://drafts.css-houdini.org/worklets/#dom-worklet-addmodule When Worklet.addModule() is called, we create a AudioWorket thread and a AudioWorkletGlobalScope with its VM. We then ask the AudioWorkletGlobalScope to fetch and invoke the worklet script. Note that AudioWorkletGlobalScope does NOT fetch or invoke the worklet script yet to reduce patch size. Calling Worklet.addModule() activates the AudioWorklet and causes audio rendering to occur on the AudioWorkletThread. A few important things that are still missing in this patch: - Fetching & invoking worklet scripts - Pretty much all API exposed to AudioWorkletGlobalScopes - AudioWorkletProcessor support No new tests, no Web-facing behavior change yet. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Add new files to projets. * Modules/webaudio/AudioWorklet.cpp: (WebCore::AudioWorklet::create): (WebCore::AudioWorklet::AudioWorklet): (WebCore::AudioWorklet::createGlobalScopes): (WebCore::AudioWorklet::proxy const): * Modules/webaudio/AudioWorklet.h: When the Worklet needs to create a GlobalScope, AudioWorklet takes care of creating a AudioWorkletMessagingProxy. The AudioWorkletMessagingProxy starts the AudioWorkletThread, which creates the AudioWorkletGlobalScope. AudioWorkletMessagingProxy takes care of posting tasks from the main thread to the AudioWorkletThread as well. * Modules/webaudio/AudioWorkletGlobalScope.cpp: Added. * Modules/webaudio/AudioWorkletGlobalScope.h: Added. * Modules/webaudio/AudioWorkletGlobalScope.idl: Added. Add basic implementation for AudioWorkletGlobalScope: - https://www.w3.org/TR/webaudio/#audioworkletglobalscope None of the Web API is exposed on the AudioWorkletGlobalScope yet. * Modules/webaudio/AudioWorkletMessagingProxy.cpp: Added. * Modules/webaudio/AudioWorkletMessagingProxy.h: Added. Add new AudioWorkletMessagingProxy class (Similar to WorkerMessagingProxy) which starts to AudioWorkletThread (which constructs the AudioWorkletGlobalScope on that thread) and takes care of posting tasks from the main thread to the AudioWorkletThread. * Modules/webaudio/AudioWorkletThread.cpp: Added. * Modules/webaudio/AudioWorkletThread.h: Added. Add new class which wraps the AudioThread used by AudioWorkets. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::BaseAudioContext): Pass document when constructing the AudioWorklet since it is now an ActiveDOMObject. * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::enableInput): (WebCore::Function<void): (WebCore::DefaultAudioDestinationNode::startRendering): (WebCore::DefaultAudioDestinationNode::resume): (WebCore::DefaultAudioDestinationNode::setChannelCount): * Modules/webaudio/DefaultAudioDestinationNode.h: If AudioWorklet is active, pass a function to AudioDestination::start() that dispatches to the AudioWorkletThread, so that the AudioDestination can do rendering on the AudioWorkletThead instead of the device's rendering thread. * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): If AudioWorklet is active, use the AudioWorklet's AudioWorkletThread instead of a new audio thread to do the offline rendering. * bindings/js/WebCoreBuiltinNames.h: Add AudioWorkletGlobalScope since it is exposed conditionally at runtime to AudioWorkets. * bindings/js/WebCoreJSClientData.cpp: (WebCore::JSVMClientData::JSVMClientData): * bindings/js/WebCoreJSClientData.h: Add code to support AudioWorkletGlobalScope as a GlobalScope in our JS bindings. * bindings/js/WorkerScriptController.h: We now subclass WorkerOrWorkletScriptController interface. This allows WorkletScriptController to reuse WorkerRunLoop. * bindings/scripts/CodeGeneratorJS.pm: (ShouldUseGlobalObjectPrototype): * bindings/scripts/preprocess-idls.pl: Add support for AudioWorkletGlobalScope as global scope in our JS bindings. * css/DOMCSSPaintWorklet.cpp: (WebCore::PaintWorklet::addModule): (WebCore::PaintWorklet::createGlobalScopes): * css/DOMCSSPaintWorklet.h: * dom/Document.cpp: (WebCore::Document::ensurePaintWorklet): Update PaintWorklet code so that it keeps building. * platform/MediaStrategy.h: * platform/audio/AudioDestination.h: Make AudioDestination ThreadSafeRefCounted so that it can keep itself alive when dispatching to the AudioWorkletThread for rendering. * platform/audio/cocoa/AudioDestinationCocoa.cpp: (WebCore::AudioDestination::create): (WebCore::AudioDestinationCocoa::start): (WebCore::AudioDestinationCocoa::stop): (WebCore::AudioDestinationCocoa::setIsPlaying): (WebCore::AudioDestinationCocoa::render): (WebCore::AudioDestinationCocoa::renderOnRenderingThead): * platform/audio/cocoa/AudioDestinationCocoa.h: When we get a request to render audio, we now use the function provided by the DefaultAudioDestinationNode to dispatch to the AudioWorkletThread when needed (AudioWorklet is active) before doing the rendering. * platform/audio/gstreamer/AudioDestinationGStreamer.cpp: (WebCore::AudioDestinationGStreamer::start): * platform/audio/gstreamer/AudioDestinationGStreamer.h: * platform/mock/MockAudioDestinationCocoa.cpp: (WebCore::MockAudioDestinationCocoa::start): * platform/mock/MockAudioDestinationCocoa.h: Update code so that it keeps building. * workers/WorkerGlobalScope.cpp: (WebCore::WorkerGlobalScope::underlyingThread const): * workers/WorkerGlobalScope.h: * workers/WorkerOrWorkletGlobalScope.h: Added. * workers/WorkerOrWorkletScriptController.h: Added. Add new interfaces that are subclassed by Worker and Worklet implementation classes in order to promote code sharing. * workers/WorkerRunLoop.cpp: * workers/WorkerRunLoop.h: Update WorkerRunLoop to use WorkerOrWorkletGlobalScope so that it can be reused by AudioWorkletThread. * worklets/Worklet.cpp: (WebCore::Worklet::Worklet): (WebCore::Worklet::document): (WebCore::Worklet::addModule): (WebCore::Worklet::finishPendingTasks): (WebCore::Worklet::activeDOMObjectName const): * worklets/Worklet.h: (WebCore::Worklet::proxies const): * worklets/Worklet.idl: Add initial implementation for addModule(): - https://drafts.css-houdini.org/worklets/#dom-worklet-addmodule Make Worklet an ActiveDOMObject since it needs to resolve a JS promise asynchronously. * worklets/WorkletGlobalScope.cpp: (WebCore::WorkletGlobalScope::WorkletGlobalScope): (WebCore::WorkletGlobalScope::evaluate): (WebCore::WorkletGlobalScope::completeURL const): (WebCore::WorkletGlobalScope::fetchAndInvokeScript): * worklets/WorkletGlobalScope.h: (WebCore::WorkletGlobalScope::isAudioWorkletGlobalScope const): * worklets/WorkletGlobalScope.idl: Update WorkletGlobalScope so that it can be subclassed by AudioWorkletGlobalScope and not be PaintWorklet-specific. * worklets/WorkletGlobalScopeProxy.h: Added. Add WorkletGlobalScopeProxy interface to interact with the WorkletGlobalScope interface. The purpose of this class is to post tasks to the WorkletGlobalScope, abstracting away potential threading complexity. Note that AudioWorkets use threading while PaintWorklets do not. * worklets/WorkletPendingTasks.cpp: Added. (WebCore::WorkletPendingTasks::WorkletPendingTasks): (WebCore::WorkletPendingTasks::abort): (WebCore::WorkletPendingTasks::decrementCounter): * worklets/WorkletPendingTasks.h: Added. (WebCore::WorkletPendingTasks::create): Add implementation for: - https://drafts.css-houdini.org/worklets/#pending-tasks-struct While it is not strictly needed right for AudioWorklet (because there is always a single WorkletGlobalScope), it will be needed once we have proper support for PaintWorklets. PaintWorklets can have several WorkletGlobalScopes. In the mean time, it allows us to have code that matches the specification text more closely. * worklets/WorkletScriptController.cpp: (WebCore::WorkletScriptController::WorkletScriptController): (WebCore::WorkletScriptController::initScript): (WebCore::WorkletScriptController::releaseHeapAccess): (WebCore::WorkletScriptController::acquireHeapAccess): (WebCore::WorkletScriptController::addTimerSetNotification): (WebCore::WorkletScriptController::removeTimerSetNotification): (WebCore::WorkletScriptController::scheduleExecutionTermination): (WebCore::WorkletScriptController::isTerminatingExecution const): * worklets/WorkletScriptController.h: Update WorkletScriptController so that it can be used by AudioWorklets and not just PaintWorklets. Source/WebKit: Update RemoteAudioDestinationProxy to match what was done in AudioDestinationCocoa. RemoteAudioDestinationProxy is used when the GPU process is enabled. * GPUProcess/media/RemoteAudioDestinationManager.cpp: (WebKit::RemoteAudioDestination::start): * WebProcess/GPU/media/RemoteAudioDestinationProxy.cpp: (WebKit::RemoteAudioDestinationProxy::create): (WebKit::RemoteAudioDestinationProxy::start): (WebKit::RemoteAudioDestinationProxy::stop): (WebKit::RemoteAudioDestinationProxy::renderBuffer): * WebProcess/GPU/media/RemoteAudioDestinationProxy.h: * WebProcess/GPU/media/WebMediaStrategy.cpp: (WebKit::WebMediaStrategy::createAudioDestination): * WebProcess/GPU/media/WebMediaStrategy.h: Source/WebKitLegacy/mac: * WebCoreSupport/WebPlatformStrategies.mm: Source/WebKitLegacy/win: * WebCoreSupport/WebPlatformStrategies.cpp: Canonical link: https://commits.webkit.org/229978@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-01 23:21:07 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorkletGlobalScope.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorkletGlobalScope.h
Add stubs for AudioWorklet https://bugs.webkit.org/show_bug.cgi?id=217059 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Rebaseline WPT tests now that AudioWorklet / AudioWorkletNode / AudioParamMap interfaces are exposed. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/processing-after-resume.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet-connections.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-stereo-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-addmodule-resolution.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-iterable.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-size.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-messageport.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-postmessage-sharedarraybuffer.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-suspend.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-sample-rate.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-automatic-pull.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-channel-count.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-construction.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-constructor-options.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-disconnected-input.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-onerror.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-output-channel-count.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-options.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-process-frozen-array.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-process-zero-outputs.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-promises.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/extended-audioworkletnode-with-parameters.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/process-getter.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/process-parameters.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/processor-construction-port.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/simple-input-output.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/suspended-context-messageport.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/cors-check.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/no-cors.https-expected.txt: Source/WebCore: Add stubs for AudioWorklet, AudioWorkletNode and AudioParamMap: - https://www.w3.org/TR/webaudio/#audioworklet - https://www.w3.org/TR/webaudio/#audioworkletnode - https://www.w3.org/TR/webaudio/#audioparammap No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioNode.cpp: (WebCore::convertEnumerationToString): * Modules/webaudio/AudioNode.h: * Modules/webaudio/AudioParamMap.cpp: Added. (WebCore::AudioParamMap::initializeMapLike): (WebCore::AudioParamMap::add): * Modules/webaudio/AudioParamMap.h: Added. (WebCore::AudioParamMap::create): (WebCore::AudioParamMap::map const): * Modules/webaudio/AudioParamMap.idl: Added. * Modules/webaudio/AudioWorklet.cpp: Added. (WebCore::AudioWorklet::create): (WebCore::AudioWorklet::AudioWorklet): * Modules/webaudio/AudioWorklet.h: Added. * Modules/webaudio/AudioWorklet.idl: Added. * Modules/webaudio/AudioWorkletNode.cpp: Added. (WebCore::AudioWorkletNode::create): (WebCore::AudioWorkletNode::AudioWorkletNode): (WebCore::AudioWorkletNode::~AudioWorkletNode): (WebCore::AudioWorkletNode::process): * Modules/webaudio/AudioWorkletNode.h: Added. (WebCore::AudioWorkletNode::parameters): (WebCore::AudioWorkletNode::port): * Modules/webaudio/AudioWorkletNode.idl: Added. * Modules/webaudio/AudioWorkletNodeOptions.h: Added. * Modules/webaudio/AudioWorkletNodeOptions.idl: Added. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::BaseAudioContext): * Modules/webaudio/BaseAudioContext.h: (WebCore::BaseAudioContext::audioWorklet): * Modules/webaudio/BaseAudioContext.idl: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * css/DOMCSSPaintWorklet.cpp: (WebCore::DOMCSSPaintWorklet::ensurePaintWorklet): (WebCore::PaintWorklet::addModule): * css/DOMCSSPaintWorklet.h: * dom/Document.cpp: (WebCore::Document::ensurePaintWorklet): * dom/Document.h: * dom/EventNames.h: * page/Settings.yaml: * worklets/Worklet.cpp: (WebCore::Worklet::addModule): * worklets/Worklet.h: * worklets/Worklet.idl: * worklets/WorkletOptions.h: Copied from Source/WebCore/worklets/Worklet.idl. * worklets/WorkletOptions.idl: Copied from Source/WebCore/worklets/Worklet.idl. Source/WebKit: Add experimental feature flag for AudioWorklet API. * Shared/WebPreferencesExperimental.yaml: LayoutTests: Skip tests that are timing out because we don't support Worklet.addModule() yet. * TestExpectations: * webaudio/AudioParam/worklet-warnings-expected.txt: Canonical link: https://commits.webkit.org/229873@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-29 16:47:37 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorkletNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorkletNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorkletNodeOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorkletNodeOptions.h
Add stubs for AudioWorkletProcessor and AudioWorkletGlobalScope https://bugs.webkit.org/show_bug.cgi?id=217194 Reviewed by Sam Weinig. Add stubs for AudioWorkletProcessor and AudioWorkletGlobalScope: - https://www.w3.org/TR/webaudio/#audioworkletprocessor - https://www.w3.org/TR/webaudio/#audioworkletglobalscope I had to make some changes to the generated bindings to avoid a naming conflict because there was already a class named JSAudioWorkletProcessorConstructor (the DOM constructor for JSAudioWorkletProcessor) before I introduced AudioWorkletProcessorConstructor.idl. We now use "DOMConstructor" suffix in the generated bindings instead of "Constructor" to avoid the naming conflict. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/AudioWorkletGlobalScope.h: (WebCore::AudioWorkletGlobalScope::currentFrame): (WebCore::AudioWorkletGlobalScope::currentTime const): (WebCore::AudioWorkletGlobalScope::sampleRate const): * Modules/webaudio/AudioWorkletGlobalScope.idl: * Modules/webaudio/AudioWorkletProcessor.cpp: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. (WebCore::AudioWorkletProcessor::AudioWorkletProcessor): * Modules/webaudio/AudioWorkletProcessor.h: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. (WebCore::AudioWorkletProcessor::create): (WebCore::AudioWorkletProcessor::port): * Modules/webaudio/AudioWorkletProcessor.idl: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. * Modules/webaudio/AudioWorkletProcessorConstructor.h: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.cpp. * Modules/webaudio/AudioWorkletProcessorConstructor.idl: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/scripts/CodeGeneratorJS.pm: (GenerateRuntimeEnableConditionalStringForExposed): (GenerateImplementation): (GenerateCallbackImplementationContent): (GenerateConstructorDeclaration): (GenerateConstructorDefinitions): (GenerateConstructorDefinition): (GenerateConstructorHelperMethods): Canonical link: https://commits.webkit.org/230008@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-02 19:21:03 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorkletProcessor.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorkletProcessor.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorkletProcessorConstructor.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAudioWorkletProcessorConstructor.h
[WebAuthN] Implement FIDO AppID extension https://bugs.webkit.org/show_bug.cgi?id=143491 <rdar://problem/48298273> Reviewed by Brent Fulgham. Source/WebCore: This patch adds support for FIDO AppID extension: https://www.w3.org/TR/webauthn/#sctn-appid-extension. To be noticed, this implementation follows what spec suggested in the 'Note' session and what Chrome/Firefox do in practice to avoid some unnecessary steps of https://fidoalliance.org/specs/fido-v2.0-id-20180227/fido-appid-and-facets-v2.0-id-20180227.html#determining-if-a-caller-s-facetid-is-authorized-for-an-appid. In fido::convertToU2fSignCommand, the checkOnly flag is deleted as it is never used. Covered by new tests in existing files. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webauthn/AuthenticationExtensionsClientInputs.h: Copied from Source/WebCore/Modules/webauthn/PublicKeyCredential.idl. (WebCore::AuthenticationExtensionsClientInputs::encode const): (WebCore::AuthenticationExtensionsClientInputs::decode): * Modules/webauthn/AuthenticationExtensionsClientInputs.idl: Copied from Source/WebCore/Modules/webauthn/PublicKeyCredentialRequestOptions.idl. * Modules/webauthn/AuthenticatorCoordinator.cpp: (WebCore::AuthenticatorCoordinatorInternal::processAppIdExtension): (WebCore::AuthenticatorCoordinator::create const): (WebCore::AuthenticatorCoordinator::discoverFromExternalSource const): * Modules/webauthn/PublicKeyCredential.cpp: (WebCore::PublicKeyCredential::tryCreate): (WebCore::PublicKeyCredential::PublicKeyCredential): (WebCore::PublicKeyCredential::getClientExtensionResults const): (WebCore::PublicKeyCredential::create): Deleted. * Modules/webauthn/PublicKeyCredential.h: * Modules/webauthn/PublicKeyCredential.idl: * Modules/webauthn/PublicKeyCredentialCreationOptions.h: * Modules/webauthn/PublicKeyCredentialCreationOptions.idl: * Modules/webauthn/PublicKeyCredentialData.h: (WebCore::PublicKeyCredentialData::encode const): (WebCore::PublicKeyCredentialData::decode): * Modules/webauthn/PublicKeyCredentialRequestOptions.h: (WebCore::PublicKeyCredentialRequestOptions::encode const): (WebCore::PublicKeyCredentialRequestOptions::decode): * Modules/webauthn/PublicKeyCredentialRequestOptions.idl: * Modules/webauthn/fido/DeviceResponseConverter.cpp: (fido::readCTAPMakeCredentialResponse): (fido::readCTAPGetAssertionResponse): * Modules/webauthn/fido/U2fCommandConstructor.cpp: (fido::convertToU2fSignCommand): * Modules/webauthn/fido/U2fCommandConstructor.h: * Modules/webauthn/fido/U2fResponseConverter.cpp: (fido::readU2fRegisterResponse): (fido::readU2fSignResponse): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Source/WebKit: In U2fHidAuthenticator::continueSignCommandAfterResponseReceived, it will retry the current command with the AppID if it exists when SW_WRONG_DATA is received from devices. Noted, it will not set the AuthenticationExtensionsClientOutputs::appid to false in any circumstances. In other words, the field will be empty if AppID is supplied in AuthenticationExtensionsClientInputs and not used. * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested): (WebKit::LocalAuthenticator::continueGetAssertionAfterUserConsented): * UIProcess/WebAuthentication/fido/U2fHidAuthenticator.cpp: (WebKit::U2fHidAuthenticator::issueSignCommand): (WebKit::U2fHidAuthenticator::continueSignCommandAfterResponseReceived): * UIProcess/WebAuthentication/fido/U2fHidAuthenticator.h: Tools: Add a test that covers the new flag of convertToU2fSignCommand. * TestWebKitAPI/Tests/WebCore/CtapRequestTest.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebCore/FidoTestData.h: * TestWebKitAPI/Tests/WebCore/U2fCommandConstructorTest.cpp: (TestWebKitAPI::TEST): LayoutTests: * http/wpt/webauthn/public-key-credential-create-success-hid.https.html: * http/wpt/webauthn/public-key-credential-create-success-local.https.html: * http/wpt/webauthn/public-key-credential-create-success-u2f.https.html: * http/wpt/webauthn/public-key-credential-get-failure-u2f.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-failure-u2f.https.html: * http/wpt/webauthn/public-key-credential-get-failure.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-failure.https.html: * http/wpt/webauthn/public-key-credential-get-success-hid.https.html: * http/wpt/webauthn/public-key-credential-get-success-local.https.html: * http/wpt/webauthn/public-key-credential-get-success-u2f.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-success-u2f.https.html: Canonical link: https://commits.webkit.org/210259@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243193 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-03-20 06:11:57 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticationExtensionsClientInputs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticationExtensionsClientInputs.h
[WebAuthn] Combine AuthenticatorResponse and PublicKeyCredentialData https://bugs.webkit.org/show_bug.cgi?id=190783 <rdar://problem/57781183> Reviewed by Brent Fulgham. Source/WebCore: This patch combines AuthenticatorResponse and PublicKeyCredentialData, and therefore renames PublicKeyCredentialData to AuthenticatorResponseData as well. The complexity of WebKit's CTAP implementation has reached the point that PublicKeyCredentialData is not appropriate to represent all the different type of responses from authenticators anymore. For example, authenticatorGetNextAssertion depends on the numberOfCredentials member from authenticatorGetAssertion response to function, but numberOfCredentials is not used anywhere else. Therefore, a polymorphic type is needed to represent different responses from authenticators instead of an uniform one, i.e., PublicKeyCredentialData. AuthenticatorResponse seems to be the best fit. However, there are some limitations: 1) it is a WebIDL interface, and therefore is RefCounted. RefCounted objects cannot be serialized through IPC. To solve this, AuthenticatorResponseData (PublicKeyCredentialData) is kept as an intermediate type that is only used during IPC. 2) it doesn't contain all the information from an actual authenticator response. To solve this, it has been enlarged to include all members from PublicKeyCredential. After this patch, PublicKeyCredential will be a thin wrapper on top of AuthenticatorResponse. Covered by existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/webauthn/AuthenticationExtensionsClientOutputs.h: Copied from Source/WebCore/Modules/webauthn/PublicKeyCredential.idl. * Modules/webauthn/AuthenticationExtensionsClientOutputs.idl: Copied from Source/WebCore/Modules/webauthn/PublicKeyCredential.idl. This is separated from PublicKeyCredential such that AuthenticatorResponse can include it. * Modules/webauthn/AuthenticatorAssertionResponse.cpp: Added. (WebCore::AuthenticatorAssertionResponse::create): (WebCore::AuthenticatorAssertionResponse::AuthenticatorAssertionResponse): (WebCore::AuthenticatorAssertionResponse::data const): * Modules/webauthn/AuthenticatorAssertionResponse.h: (WebCore::AuthenticatorAssertionResponse::create): Deleted. (WebCore::AuthenticatorAssertionResponse::AuthenticatorAssertionResponse): Deleted. * Modules/webauthn/AuthenticatorAttestationResponse.cpp: Copied from Source/WebCore/Modules/webauthn/AuthenticatorAttestationResponse.h. (WebCore::AuthenticatorAttestationResponse::create): (WebCore::AuthenticatorAttestationResponse::AuthenticatorAttestationResponse): (WebCore::AuthenticatorAttestationResponse::data const): * Modules/webauthn/AuthenticatorAttestationResponse.h: (WebCore::AuthenticatorAttestationResponse::create): Deleted. (WebCore::AuthenticatorAttestationResponse::AuthenticatorAttestationResponse): Deleted. * Modules/webauthn/AuthenticatorCoordinator.cpp: (WebCore::AuthenticatorCoordinator::create const): (WebCore::AuthenticatorCoordinator::discoverFromExternalSource const): * Modules/webauthn/AuthenticatorCoordinatorClient.h: * Modules/webauthn/AuthenticatorResponse.cpp: Copied from Source/WebCore/Modules/webauthn/PublicKeyCredential.cpp. (WebCore::AuthenticatorResponse::tryCreate): (WebCore::AuthenticatorResponse::data const): (WebCore::AuthenticatorResponse::extensions const): (WebCore::AuthenticatorResponse::setClientDataJSON): (WebCore::AuthenticatorResponse::clientDataJSON const): (WebCore::AuthenticatorResponse::AuthenticatorResponse): * Modules/webauthn/AuthenticatorResponse.h: (WebCore::AuthenticatorResponse::rawId const): (WebCore::AuthenticatorResponse::setExtensions): (WebCore::AuthenticatorResponse::AuthenticatorResponse): Deleted. (WebCore::AuthenticatorResponse::clientDataJSON const): Deleted. * Modules/webauthn/AuthenticatorResponseData.h: Renamed from Source/WebCore/Modules/webauthn/PublicKeyCredentialData.h. (WebCore::AuthenticatorResponseData::encode const): (WebCore::AuthenticatorResponseData::decode): * Modules/webauthn/PublicKeyCredential.cpp: (WebCore::PublicKeyCredential::create): (WebCore::PublicKeyCredential::rawId const): (WebCore::PublicKeyCredential::getClientExtensionResults const): (WebCore::PublicKeyCredential::PublicKeyCredential): (WebCore::PublicKeyCredential::tryCreate): Deleted. * Modules/webauthn/PublicKeyCredential.h: * Modules/webauthn/PublicKeyCredential.idl: * Modules/webauthn/fido/DeviceResponseConverter.cpp: (fido::readCTAPMakeCredentialResponse): (fido::readCTAPGetAssertionResponse): * Modules/webauthn/fido/DeviceResponseConverter.h: A more appropriate derived type of AuthenticatorResponse is used to replace PublicKeyCredentialData. * Modules/webauthn/fido/U2fResponseConverter.cpp: (fido::readU2fRegisterResponse): (fido::readU2fSignResponse): * Modules/webauthn/fido/U2fResponseConverter.h: A more appropriate derived type of AuthenticatorResponse is used to replace PublicKeyCredentialData. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Source/WebKit: Code in WebKit are changed to use AuthenticatorResponse and its subtypes. * UIProcess/WebAuthentication/Authenticator.h: * UIProcess/WebAuthentication/AuthenticatorManager.cpp: (WebKit::AuthenticatorManager::respondReceived): (WebKit::AuthenticatorManager::invokePendingCompletionHandler): * UIProcess/WebAuthentication/AuthenticatorManager.h: * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested): (WebKit::LocalAuthenticator::continueGetAssertionAfterUserConsented): * UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.cpp: (WebKit::WebAuthenticatorCoordinatorProxy::handleRequest): * UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.h: * UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.messages.in: * UIProcess/WebAuthentication/fido/CtapAuthenticator.cpp: (WebKit::CtapAuthenticator::continueMakeCredentialAfterResponseReceived const): (WebKit::CtapAuthenticator::continueGetAssertionAfterResponseReceived): * UIProcess/WebAuthentication/fido/U2fAuthenticator.cpp: (WebKit::U2fAuthenticator::continueRegisterCommandAfterResponseReceived): (WebKit::U2fAuthenticator::continueSignCommandAfterResponseReceived): * WebProcess/WebAuthentication/WebAuthenticatorCoordinator.cpp: Tools: * TestWebKitAPI/Tests/WebCore/CtapResponseTest.cpp: (TestWebKitAPI::TEST): Updates tests accordingly. Canonical link: https://commits.webkit.org/218334@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253398 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-12-11 23:19:08 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticationExtensionsClientOutputs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticationExtensionsClientOutputs.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticatorAssertionResponse.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticatorAssertionResponse.h
Provide a way to specify platform vs security key when requesting an assertion in the SPI https://bugs.webkit.org/show_bug.cgi?id=223547 <rdar://74034746> Reviewed by Brent Fulgham. Source/WebCore: Covered by API tests. * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webauthn/AuthenticatorAttachment.h: Added. * Modules/webauthn/AuthenticatorAttachment.idl: Added. * Modules/webauthn/PublicKeyCredentialCreationOptions.h: * Modules/webauthn/PublicKeyCredentialCreationOptions.idl: * Modules/webauthn/PublicKeyCredentialRequestOptions.h: * WebCore.xcodeproj/project.pbxproj: Source/WebKit: This patch adds the authenticator attachment option to the getAssertion SPI such that the caller can decide what transports it needs. * UIProcess/API/Cocoa/_WKAuthenticatorAttachment.h: Added. * UIProcess/API/Cocoa/_WKAuthenticatorSelectionCriteria.h: * UIProcess/API/Cocoa/_WKPublicKeyCredentialRequestOptions.h: * UIProcess/API/Cocoa/_WKPublicKeyCredentialRequestOptions.mm: (-[_WKPublicKeyCredentialRequestOptions init]): * UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm: (authenticatorAttachment): (+[_WKWebAuthenticationPanel convertToCoreRequestOptionsWithOptions:]): * UIProcess/WebAuthentication/AuthenticatorManager.cpp: (WebKit::WebCore::collectTransports): (WebKit::AuthenticatorManager::getTransports const): * WebKit.xcodeproj/project.pbxproj: Tools: * TestWebKitAPI/Tests/WebCore/CtapRequestTest.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm: (TestWebKitAPI::TEST): Adds the test case. Canonical link: https://commits.webkit.org/235669@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-23 20:00:50 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticatorAttachment.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticatorAttachment.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticatorAttestationResponse.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticatorAttestationResponse.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticatorResponse.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticatorResponse.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticatorTransport.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAuthenticatorTransport.h
Add implementation for AudioWorkletGlobalScope.registerProcessor() https://bugs.webkit.org/show_bug.cgi?id=217405 Reviewed by Geoff Garen. LayoutTests/imported/w3c: Rebaseline WPT tests as we are now passing more checks. * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet-connections.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-iterable.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-sample-rate.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-construction.https-expected.txt: Source/WebCore: Add implementation for AudioWorkletGlobalScope.registerProcessor() that matches very closely the specification at: - https://www.w3.org/TR/webaudio/#dom-audioworkletglobalscope-registerprocessor Also update the AudioWorkletNode constructor implementation as per: - https://www.w3.org/TR/webaudio/#AudioWorkletNode-constructors Now that the AudioWorklet is able to register a processor and AudioParamDescriptors, the AudioWorkletNode constructor is able to make sure that a processor with the given name was indeed registered. We are also able to construct the AudioParam objects based on the AudioParamDescriptors provided when registering the processor. Note that even though it is now possible to register an AudioWorkletProcessor, it is still not used to process the audio. An AudioWorkletNode currently only outputs silence. This will be addresssed in a future patch. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParam.idl: * Modules/webaudio/AudioParamDescriptor.h: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. (WebCore::AudioParamDescriptor::isolatedCopy const): * Modules/webaudio/AudioParamDescriptor.idl: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/AudioWorkletGlobalScope.h: * Modules/webaudio/AudioWorkletGlobalScope.idl: * Modules/webaudio/AudioWorkletMessagingProxy.cpp: (WebCore::AudioWorkletMessagingProxy::AudioWorkletMessagingProxy): (WebCore::AudioWorkletMessagingProxy::postTaskToAudioWorklet): * Modules/webaudio/AudioWorkletMessagingProxy.h: * Modules/webaudio/AudioWorkletNode.cpp: (WebCore::AudioWorkletNode::create): * Modules/webaudio/AudioWorkletThread.h: (WebCore::AudioWorkletThread::messagingProxy): * Modules/webaudio/AutomationRate.h: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. * Modules/webaudio/AutomationRate.idl: Copied from Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.idl. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::addAudioParamDescriptors): * Modules/webaudio/BaseAudioContext.h: (WebCore::BaseAudioContext::parameterDescriptorMap const): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/230180@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-07 00:36:21 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAutomationRate.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSAutomationRate.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBarProp.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBarProp.h
Introduce BaseAudioContext interface https://bugs.webkit.org/show_bug.cgi?id=213491 Reviewed by Geoffrey Garen. LayoutTests/imported/w3c: Rebaseline WPT test now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: Source/WebCore: Introduce BaseAudioContext interface as per W3C WebAudio specification: - https://www.w3.org/TR/webaudio/#BaseAudioContext No new tests, rebaselined existing test. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::AudioContext): (WebCore::AudioContext::close): (WebCore::AudioContext::createMediaElementSource): (WebCore::AudioContext::createMediaStreamSource): (WebCore::AudioContext::createMediaStreamDestination): * Modules/webaudio/AudioContext.h: * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::contextForBindings const): * Modules/webaudio/AudioNode.h: * Modules/webaudio/AudioNode.idl: * Modules/webaudio/BaseAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/AudioContext.cpp. (WebCore::BaseAudioContext::isSampleRateRangeGood): (WebCore::AudioContextBase::AudioContextBase): (WebCore::BaseAudioContext::BaseAudioContext): (WebCore::BaseAudioContext::constructCommon): (WebCore::BaseAudioContext::~BaseAudioContext): (WebCore::BaseAudioContext::lazyInitialize): (WebCore::BaseAudioContext::clear): (WebCore::BaseAudioContext::uninitialize): (WebCore::BaseAudioContext::isInitialized const): (WebCore::BaseAudioContext::addReaction): (WebCore::BaseAudioContext::setState): (WebCore::BaseAudioContext::stop): (WebCore::BaseAudioContext::suspend): (WebCore::BaseAudioContext::resume): (WebCore::BaseAudioContext::activeDOMObjectName const): (WebCore::AudioContextBase::document const): (WebCore::BaseAudioContext::hostingDocumentIdentifier const): (WebCore::BaseAudioContext::isSuspended const): (WebCore::BaseAudioContext::visibilityStateChanged): (WebCore::BaseAudioContext::wouldTaintOrigin const): (WebCore::BaseAudioContext::createBuffer): (WebCore::BaseAudioContext::decodeAudioData): (WebCore::BaseAudioContext::createBufferSource): (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::createBiquadFilter): (WebCore::BaseAudioContext::createWaveShaper): (WebCore::BaseAudioContext::createPanner): (WebCore::BaseAudioContext::createConvolver): (WebCore::BaseAudioContext::createDynamicsCompressor): (WebCore::BaseAudioContext::createAnalyser): (WebCore::BaseAudioContext::createGain): (WebCore::BaseAudioContext::createDelay): (WebCore::BaseAudioContext::createChannelSplitter): (WebCore::BaseAudioContext::createChannelMerger): (WebCore::BaseAudioContext::createOscillator): (WebCore::BaseAudioContext::createPeriodicWave): (WebCore::BaseAudioContext::notifyNodeFinishedProcessing): (WebCore::BaseAudioContext::derefFinishedSourceNodes): (WebCore::BaseAudioContext::refNode): (WebCore::BaseAudioContext::derefNode): (WebCore::BaseAudioContext::derefUnfinishedSourceNodes): (WebCore::BaseAudioContext::lock): (WebCore::BaseAudioContext::tryLock): (WebCore::BaseAudioContext::unlock): (WebCore::BaseAudioContext::isAudioThread const): (WebCore::BaseAudioContext::isGraphOwner const): (WebCore::BaseAudioContext::addDeferredFinishDeref): (WebCore::BaseAudioContext::handlePreRenderTasks): (WebCore::BaseAudioContext::handlePostRenderTasks): (WebCore::BaseAudioContext::handleDeferredFinishDerefs): (WebCore::BaseAudioContext::markForDeletion): (WebCore::BaseAudioContext::scheduleNodeDeletion): (WebCore::BaseAudioContext::deleteMarkedNodes): (WebCore::BaseAudioContext::markSummingJunctionDirty): (WebCore::BaseAudioContext::removeMarkedSummingJunction): (WebCore::BaseAudioContext::eventTargetInterface const): (WebCore::BaseAudioContext::markAudioNodeOutputDirty): (WebCore::BaseAudioContext::handleDirtyAudioSummingJunctions): (WebCore::BaseAudioContext::handleDirtyAudioNodeOutputs): (WebCore::BaseAudioContext::addAutomaticPullNode): (WebCore::BaseAudioContext::removeAutomaticPullNode): (WebCore::BaseAudioContext::updateAutomaticPullNodes): (WebCore::BaseAudioContext::processAutomaticPullNodes): (WebCore::AudioContextBase::scriptExecutionContext const): (WebCore::BaseAudioContext::nodeWillBeginPlayback): (WebCore::shouldDocumentAllowWebAudioToAutoPlay): (WebCore::BaseAudioContext::willBeginPlayback): (WebCore::BaseAudioContext::willPausePlayback): (WebCore::BaseAudioContext::startRendering): (WebCore::BaseAudioContext::mediaCanStart): (WebCore::BaseAudioContext::mediaState const): (WebCore::BaseAudioContext::pageMutedStateDidChange): (WebCore::BaseAudioContext::isPlayingAudioDidChange): (WebCore::BaseAudioContext::finishedRendering): (WebCore::BaseAudioContext::dispatchEvent): (WebCore::BaseAudioContext::incrementActiveSourceCount): (WebCore::BaseAudioContext::decrementActiveSourceCount): (WebCore::BaseAudioContext::suspendRendering): (WebCore::BaseAudioContext::resumeRendering): (WebCore::BaseAudioContext::suspendPlayback): (WebCore::BaseAudioContext::mayResumePlayback): (WebCore::BaseAudioContext::postTask): (WebCore::BaseAudioContext::origin const): (WebCore::BaseAudioContext::addConsoleMessage): (WebCore::BaseAudioContext::clearPendingActivity): (WebCore::BaseAudioContext::makePendingActivity): (WebCore::BaseAudioContext::logChannel const): * Modules/webaudio/BaseAudioContext.h: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. (WebCore::AudioContextBase::AutoLocker::AutoLocker): (WebCore::AudioContextBase::AutoLocker::~AutoLocker): (WebCore::BaseAudioContext::destination): (WebCore::BaseAudioContext::activeSourceCount const): (WebCore::BaseAudioContext::listener): (WebCore::BaseAudioContext::state const): (WebCore::BaseAudioContext::isClosed const): (WebCore::BaseAudioContext::connectionCount const): (WebCore::BaseAudioContext::audioThread const): (WebCore::BaseAudioContext::maxNumberOfChannels): (WebCore::BaseAudioContext::destinationNode const): (WebCore::BaseAudioContext::userGestureRequiredForAudioStart const): (WebCore::BaseAudioContext::pageConsentRequiredForAudioStart const): (isType): * Modules/webaudio/BaseAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/AudioContext.idl. * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::OfflineAudioContext): * Modules/webaudio/OfflineAudioContext.h: * Modules/webaudio/OfflineAudioContext.idl: * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNode::PannerNode): * Modules/webaudio/PannerNode.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: * testing/Internals.cpp: (WebCore::Internals::setAudioContextRestrictions): * testing/Internals.h: * testing/Internals.idl: Canonical link: https://commits.webkit.org/226287@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-23 03:25:56 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBaseAudioContext.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBaseAudioContext.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBasicCredential.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBasicCredential.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBeforeLoadEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBeforeLoadEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBeforeUnloadEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBeforeUnloadEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBiquadFilterNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBiquadFilterNode.h
Add constructor to BiquadFilterNode https://bugs.webkit.org/show_bug.cgi?id=215144 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-getFrequencyResponse-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-biquadfilternode-interface/ctor-biquadfilter-expected.txt: Source/WebCore: Add constructor to BiquadFilterNode: - https://webaudio.github.io/web-audio-api/#biquadfilternode No new tests, rebaselined existing tests.. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createBiquadFilter): * Modules/webaudio/BiquadDSPKernel.cpp: (WebCore::BiquadDSPKernel::updateCoefficientsIfNecessary): * Modules/webaudio/BiquadFilterNode.cpp: (WebCore::BiquadFilterNode::create): (WebCore::BiquadFilterNode::BiquadFilterNode): * Modules/webaudio/BiquadFilterNode.h: * Modules/webaudio/BiquadFilterNode.idl: * Modules/webaudio/BiquadFilterOptions.h: Copied from Source/WebCore/Modules/webaudio/BiquadFilterNode.idl. * Modules/webaudio/BiquadFilterOptions.idl: Copied from Source/WebCore/Modules/webaudio/BiquadFilterNode.idl. * Modules/webaudio/BiquadFilterType.h: Copied from Source/WebCore/Modules/webaudio/BiquadFilterNode.idl. * Modules/webaudio/BiquadFilterType.idl: Copied from Source/WebCore/Modules/webaudio/BiquadFilterNode.idl. * Modules/webaudio/BiquadProcessor.cpp: (WebCore::BiquadProcessor::BiquadProcessor): * Modules/webaudio/BiquadProcessor.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227971@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-05 16:52:17 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBiquadFilterOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBiquadFilterOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBiquadFilterType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBiquadFilterType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBlob.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBlob.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBlobCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBlobCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBlobEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBlobEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBlobPropertyBag.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBlobPropertyBag.h
Add initial support for BroadcastChannel behind a runtime flag https://bugs.webkit.org/show_bug.cgi?id=227924 Reviewed by Sam Weinig. LayoutTests/imported/w3c: Rebaseline WPT tests now that more tests are running and we are passing more checks. * web-platform-tests/FileAPI/url/url-in-tags-revoke.window-expected.txt: * web-platform-tests/html/browsers/the-window-object/noopener-noreferrer-BarProp.window-expected.txt: * web-platform-tests/html/browsers/the-window-object/noopener-noreferrer-sizing.window-expected.txt: * web-platform-tests/html/browsers/the-window-object/window-open-noreferrer-expected.txt: * web-platform-tests/html/cross-origin-embedder-policy/report-only-require-corp.https-expected.txt: * web-platform-tests/html/cross-origin-embedder-policy/require-corp.https-expected.txt: * web-platform-tests/html/dom/idlharness.worker-expected.txt: * web-platform-tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/broadcastchannel-success.https-expected.txt: * web-platform-tests/html/semantics/forms/form-submission-target/rel-base-target-expected.txt: * web-platform-tests/html/semantics/forms/form-submission-target/rel-button-target-expected.txt: * web-platform-tests/html/semantics/forms/form-submission-target/rel-form-target-expected.txt: * web-platform-tests/html/semantics/forms/form-submission-target/rel-input-target-expected.txt: * web-platform-tests/html/semantics/links/links-created-by-a-and-area-elements/htmlanchorelement_noopener-expected.txt: * web-platform-tests/html/semantics/links/links-created-by-a-and-area-elements/target_blank_implicit_noopener-expected.txt: * web-platform-tests/html/semantics/links/links-created-by-a-and-area-elements/target_blank_implicit_noopener_base-expected.txt: * web-platform-tests/wasm/serialization/module/broadcastchannel-success-and-failure-expected.txt: * web-platform-tests/wasm/serialization/module/broadcastchannel-success-expected.txt: * web-platform-tests/webmessaging/MessageEvent-trusted.any-expected.txt: * web-platform-tests/webmessaging/MessageEvent-trusted.any.worker-expected.txt: * web-platform-tests/webmessaging/broadcastchannel/basics-expected.txt: Removed. * web-platform-tests/webmessaging/broadcastchannel/basics.any-expected.txt: * web-platform-tests/webmessaging/broadcastchannel/basics.any.worker-expected.txt: * web-platform-tests/webmessaging/broadcastchannel/blobs-expected.txt: * web-platform-tests/webmessaging/broadcastchannel/interface-expected.txt: Removed. * web-platform-tests/webmessaging/broadcastchannel/interface.any-expected.txt: * web-platform-tests/webmessaging/broadcastchannel/interface.any.worker-expected.txt: * web-platform-tests/webmessaging/broadcastchannel/sandbox-expected.txt: * web-platform-tests/webmessaging/broadcastchannel/workers-expected.txt: Added. * web-platform-tests/webmessaging/multi-globals/broadcastchannel-current.sub-expected.txt: * web-platform-tests/webstorage/storage_session_window_noopener.window-expected.txt: * web-platform-tests/workers/semantics/interface-objects/001.worker-expected.txt: Source/WebCore: Add initial support for BroadcastChannel behind a runtime flag, off by default: - https://html.spec.whatwg.org/multipage/web-messaging.html#broadcasting-to-other-browsing-contexts Both Firefox and Blink have been supporting BroadcastChannel for a long time. The implementation is complete and spec-compliant. It works both in Window and Worker environments, in WebKit1 and WebKit2. However, the feature is off-by-default because of privacy concerns that have not been addresssed yet: - https://github.com/whatwg/html/issues/5803 We should be able to add partioning to address the privacy concerns and ship this later on. In the mean time though, having a working BroadcastChannel implementation in the context of layout tests is already very useful because a lot of Web-Platform-Tests are relying on it to test other Web features. This means better test coverage for WebKit. Tests: - fast/html/broadcast-channel-between-different-sessions.html - Rebaselined WPT tests * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/BroadcastChannel.cpp: Added. (WebCore::channelToContextIdentifier): (WebCore::BroadcastChannel::BroadcastChannel): (WebCore::BroadcastChannel::~BroadcastChannel): (WebCore::BroadcastChannel::postMessage): (WebCore::BroadcastChannel::close): (WebCore::BroadcastChannel::dispatchMessageTo): (WebCore::BroadcastChannel::dispatchMessage): (WebCore::BroadcastChannel::ensureOnMainThread): (WebCore::BroadcastChannel::activeDOMObjectName const): (WebCore::BroadcastChannel::eventListenersDidChange): (WebCore::BroadcastChannel::virtualHasPendingActivity const): * dom/BroadcastChannel.h: Added. (WebCore::BroadcastChannel::create): (WebCore::BroadcastChannel::identifier const): (WebCore::BroadcastChannel::name const): * dom/BroadcastChannel.idl: Added. * dom/BroadcastChannelIdentifier.h: Added. * dom/BroadcastChannelRegistry.h: Added. (WebCore::BroadcastChannelRegistry::~BroadcastChannelRegistry): * dom/DeviceOrientationAndMotionAccessController.h: * dom/DeviceOrientationEvent.cpp: * dom/DeviceOrientationEvent.h: * dom/EventTargetFactory.in: * loader/EmptyClients.cpp: (WebCore::pageConfigurationWithEmptyClients): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::setBroadcastChannelRegistry): * page/Page.h: (WebCore::Page::broadcastChannelRegistry): * page/PageConfiguration.cpp: (WebCore::PageConfiguration::PageConfiguration): * page/PageConfiguration.h: Source/WebKit: Add initial support for BroadcastChannel behind a runtime flag, off by default: - https://html.spec.whatwg.org/multipage/web-messaging.html#broadcasting-to-other-browsing-contexts Both Firefox and Blink have been supporting BroadcastChannel for a long time. The implementation is complete and spec-compliant. It works both in Window and Worker environments, in WebKit1 and WebKit2. However, the feature is off-by-default because of privacy concerns that have not been addresssed yet: - https://github.com/whatwg/html/issues/5803 We should be able to add partioning to address the privacy concerns and ship this later on. In the mean time though, having a working BroadcastChannel implementation in the context of layout tests is already very useful because a lot of Web-Platform-Tests are relying on it to test other Web features. This means better test coverage for WebKit. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * NetworkProcess/Downloads/DownloadManager.cpp: * NetworkProcess/NetworkBroadcastChannelRegistry.cpp: Added. (WebKit::NetworkBroadcastChannelRegistry::registerChannel): (WebKit::NetworkBroadcastChannelRegistry::unregisterChannel): (WebKit::NetworkBroadcastChannelRegistry::postMessage): (WebKit::NetworkBroadcastChannelRegistry::removeConnection): * NetworkProcess/NetworkBroadcastChannelRegistry.h: Added. (WebKit::NetworkBroadcastChannelRegistry::GlobalBroadcastChannelIdentifier::operator== const): * NetworkProcess/NetworkBroadcastChannelRegistry.messages.in: Added. * NetworkProcess/NetworkConnectionToWebProcess.cpp: (WebKit::NetworkConnectionToWebProcess::didReceiveMessage): (WebKit::NetworkConnectionToWebProcess::didClose): * NetworkProcess/NetworkSession.cpp: (WebKit::NetworkSession::NetworkSession): * NetworkProcess/NetworkSession.h: (WebKit::NetworkSession::broadcastChannelRegistry): * Scripts/webkit/messages.py: (types_that_cannot_be_forward_declared): * Sources.txt: * WebKit.xcodeproj/project.pbxproj: * WebProcess/Network/NetworkProcessConnection.cpp: (WebKit::NetworkProcessConnection::didReceiveMessage): * WebProcess/WebCoreSupport/WebBroadcastChannelRegistry.cpp: Added. (WebKit::networkProcessConnection): (WebKit::WebBroadcastChannelRegistry::registerChannel): (WebKit::WebBroadcastChannelRegistry::unregisterChannel): (WebKit::WebBroadcastChannelRegistry::postMessage): (WebKit::WebBroadcastChannelRegistry::postMessageToRemote): * WebProcess/WebCoreSupport/WebBroadcastChannelRegistry.h: Added. * WebProcess/WebCoreSupport/WebBroadcastChannelRegistry.messages.in: Added. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_appHighlightsVisible): * WebProcess/WebProcess.cpp: (WebKit::WebProcess::WebProcess): * WebProcess/WebProcess.h: (WebKit::WebProcess::broadcastChannelRegistry): Source/WebKitLegacy: Add BroadcastChannelRegistry implementation for WebKitLegacy. * Sources.txt: * WebCoreSupport/WebBroadcastChannelRegistry.cpp: Added. (WebBroadcastChannelRegistry::getOrCreate): (WebBroadcastChannelRegistry::registerChannel): (WebBroadcastChannelRegistry::unregisterChannel): (WebBroadcastChannelRegistry::postMessage): * WebCoreSupport/WebBroadcastChannelRegistry.h: Added. * WebKitLegacy.xcodeproj/project.pbxproj: Source/WebKitLegacy/mac: * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:]): (-[WebView _preferencesChanged:]): Source/WebKitLegacy/win: * WebView.cpp: (WebView::initWithFrame): (WebView::notifyPreferencesChanged): Source/WTF: Add experimental feature flag for BroadcastChannel, off by default. * Scripts/Preferences/WebPreferencesExperimental.yaml: LayoutTests: * TestExpectations: * fast/html/broadcast-channel-between-different-sessions-expected.txt: Added. * fast/html/broadcast-channel-between-different-sessions.html: Added. * fast/html/resources/broadcast-channel-between-different-sessions-window.html: Added. Add layout test coverage to make sure that windows belonging to different session are unable to communicate via BroadcastChannel. * platform/ios-wk2/imported/w3c/web-platform-tests/html/browsers/the-window-object/noopener-noreferrer-sizing.window-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/browsers/the-window-object/noopener-noreferrer-sizing.window-expected.txt. * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk1/TestExpectations: * platform/mac-wk1/imported/w3c/web-platform-tests/html/browsers/the-window-object/noopener-noreferrer-BarProp.window-expected.txt: Added. * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk1/imported/w3c/web-platform-tests/html/semantics/links/links-created-by-a-and-area-elements/htmlanchorelement_noopener-expected.txt: Added. * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/win/TestExpectations: * platform/wk2/TestExpectations: Update test expectations now that we support BroadcastChannel. Canonical link: https://commits.webkit.org/239714@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-16 00:36:39 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBroadcastChannel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSBroadcastChannel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSByteLengthQueuingStrategy.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSByteLengthQueuingStrategy.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCDATASection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCDATASection.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSAnimation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSAnimation.h
Add CSSConditionRule and CSSGroupingRule https://bugs.webkit.org/show_bug.cgi?id=216855 Reviewed by Sam Weinig. LayoutTests/imported/w3c: * web-platform-tests/css/conditional/idlharness-expected.txt: * web-platform-tests/css/cssom/MediaList-expected.txt: * web-platform-tests/css/cssom/cssimportrule-expected.txt: * web-platform-tests/css/cssom/idlharness-expected.txt: Updated expectations to expect more tests to pass. Source/WebCore: * CMakeLists.txt: Added CSSConditionRule.idl and CSSGroupingRule.idl. * DerivedSources-input.xcfilelist: Updated. * DerivedSources-output.xcfilelist: Updated. * DerivedSources.make: Added CSSConditionRule.idl and CSSGroupingRule.idl. * Headers.cmake: Added CSSConditionRule.h. * Sources.txt: Add CSSConditionRule.cpp, JSCSSConditioRule.cpp, and JSCSSGroupingRule.cpp. * WebCore.xcodeproj/project.pbxproj: Added all the files. * css/CSSConditionRule.cpp: Added. * css/CSSConditionRule.h: Added. * css/CSSConditionRule.idl: Added. * css/CSSGroupingRule.cpp: (WebCore::CSSGroupingRule::~CSSGroupingRule): Use a range-based for loop and nullptr. (WebCore::CSSGroupingRule::appendCSSTextForItems const): Use variadic append to clean this up a bit. (WebCore::CSSGroupingRule::item const): Use auto. * css/CSSGroupingRule.h: Made m_groupRule private instead of protected. Did some other tweaks. * css/CSSGroupingRule.idl: Added. * css/CSSImportRule.idl: Added [Exposed=Window], changed href to be a USVString, added [SameObject, PutForwards=mediaText] to media and [SameObject] to styleSheet. * css/CSSMediaRule.cpp: (WebCore::CSSMediaRule::CSSMediaRule): Derive from CSSConditionRule. (WebCore::CSSMediaRule::mediaQueries const): Return a reference. (WebCore::CSSMediaRule::cssText const): Streamline since we don't need a null check. (WebCore::CSSMediaRule::conditionText const): Added. (WebCore::CSSMediaRule::setConditionText): Added. (WebCore::CSSMediaRule::media const): Streamline since we don't need a null check. (WebCore::CSSMediaRule::reattach): Ditto. * css/CSSMediaRule.h: Derive from CSSConditionRule. * css/CSSMediaRule.idl: Derive from CSSConditionRule. Added [Exposed=Window]. Added [SameObject, PutForwards=mediaText] to media. Removed insertRule and deleteRule since they are now inherited from CSSGroupingRule. * css/CSSRule.h: Added MARGIN_RULE constant even though we don't have that rule type. Moved inline functions out of the class body to help clarity a bit. * css/CSSRule.idl: Added [Exposed=Window], changed a few things to match the specification. * css/CSSStyleRule.idl: Added [Exposed=Window]. Added [SameObject] to style. * css/CSSStyleSheet.idl: Added [Exposed=Window]. * css/CSSSupportsRule.cpp: (WebCore::CSSSupportsRule::CSSSupportsRule): Derive from CSSConditionRule. (WebCore::CSSSupportsRule::create): Added. (WebCore::CSSSupportsRule::cssText const): Use variadic append. (WebCore::CSSSupportsRule::conditionText const): Updated to use groupRule. (WebCore::CSSSupportsRule::setConditionText): Added. Not implemented yet. * css/CSSSupportsRule.h: Derive from CSSConditionRule. * css/CSSSupportsRule.idl: Derive from CSSConditionRule. Added [Exposed=Window]. * css/MediaList.cpp: (WebCore::MediaQuerySet::set): Use move instead of swap. * css/MediaList.idl: Added [Exposed=Window] and marked mediaText as the stringifier. * css/StyleRule.cpp: (WebCore::StyleRule::create): Moved here from the header. (WebCore::StyleRule::copy const): Ditto. (WebCore::StyleRulePage::create): Ditto. (WebCore::StyleRuleGroup::StyleRuleGroup): Use move instead of swap. (WebCore::StyleRuleMedia::create): Use move instead of swap. (WebCore::StyleRuleMedia::copy const): Moved out of the header. (WebCore::StyleRuleSupports::StyleRuleSupports): Ditto. (WebCore::StyleRuleSupports::create): Ditto. (WebCore::StyleRuleNamespace::StyleRuleNamespace): Ditto. (WebCore::StyleRuleNamespace::create): Ditto. * css/StyleRule.h: Moved function bodies out of the class defintiion for clarity. * css/StyleSheet.idl: Added [Exposed=Window] and [SameObject, PutForwards=mediaText] for media. * css/StyleSheetContents.cpp: (WebCore::StyleSheetContents::parserAppendRule): Updated since mediaQueries returns a reference. * css/StyleSheetList.idl: Added [Exposed=Window]. * css/parser/CSSParserImpl.cpp: (WebCore::CSSParserImpl::consumeMediaRule): Use WTFMove since the create function now takes an rvalue reference. (WebCore::CSSParserImpl::consumeSupportsRule): Ditto. * style/RuleSet.cpp: (WebCore::Style::RuleSet::addChildRules): Updated since mediaQueries returns a reference. * style/UserAgentStyle.cpp: (WebCore::Style::UserAgentStyle::addToDefaultStyle): Ditto. Source/WebKitLegacy/mac: * DOM/DOMCSS.mm: (kitClass): Added a default case since we don't intend to list every single rule type here. LayoutTests: * fast/dom/domListEnumeration-expected.txt: * fast/dom/domListEnumeration.html: Updated since toString is now implemented and enumerable. * fast/dom/non-numeric-values-numeric-parameters-expected.txt: * fast/dom/non-numeric-values-numeric-parameters.html: Updated test and expectations since CSSMediaRule's deleteRule no longer allows omitting the index to delete rule 0 (both non-standard and inconsistent with CSSStyleSheet). Canonical link: https://commits.webkit.org/229755@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-25 17:19:48 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSConditionRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSConditionRule.h
[css-counter-styles] Parse and add feature flag for @counter-style https://bugs.webkit.org/show_bug.cgi?id=223150 Patch by Tyler Wilcock <twilco.o@protonmail.com> on 2021-04-16 Reviewed by Darin Adler. LayoutTests/imported/w3c: @counter-style and its descriptors are now exposed behind a feature flag, so pass some tests and fail others for a different reason because this patch doesn't actually implement descriptor parsing and setting yet. * web-platform-tests/css/css-counter-styles/counter-style-additive-symbols-syntax-expected.txt: * web-platform-tests/css/css-counter-styles/counter-style-fallback-expected.txt: * web-platform-tests/css/css-counter-styles/counter-style-name-syntax-expected.txt: * web-platform-tests/css/css-counter-styles/counter-style-negative-syntax-expected.txt: * web-platform-tests/css/css-counter-styles/counter-style-pad-syntax-expected.txt: * web-platform-tests/css/css-counter-styles/counter-style-prefix-suffix-syntax-expected.txt: * web-platform-tests/css/css-counter-styles/counter-style-range-syntax-expected.txt: * web-platform-tests/css/css-counter-styles/counter-style-speak-as-syntax-expected.txt: * web-platform-tests/css/css-counter-styles/counter-style-symbols-syntax-expected.txt: * web-platform-tests/css/css-counter-styles/counter-style-system-syntax-expected.txt: * web-platform-tests/css/css-counter-styles/idlharness-expected.txt: * web-platform-tests/css/cssom/CSSCounterStyleRule-expected.txt: Source/WebCore: Parse @counter-style (without implementing descriptor parsing) behind a new feature flag, CSSCounterStyleAtRulesEnabled. A separate feature flag for @counter-style <image> symbol values has also been added, as image symbols have extra complexities that we won't want to hold the entire feature back on. https://www.w3.org/TR/css-counter-styles-3 The CSSCounterStyleRule IDL interface is also added and implemented, and similarly feature flagged. https://www.w3.org/TR/css-counter-styles-3/#apis Test: webexposed/counter-style-is-not-exposed.html and existing WPTs. * CMakeLists.txt: Add CSSCounterStyleRule.idl. * DerivedSources-input.xcfilelist: Add CSSCounterStyleRule.idl. * DerivedSources-output.xcfilelist: Add JSCSSCounterStyleRule.h and JSCSSCounterStyleRule.cpp. * DerivedSources.make: Add CSSCounterStyleRule.idl. * Sources.txt: Add CSSCounterStyleRule.cpp and JSCSSCounterStyleRule.cpp. * WebCore.xcodeproj/project.pbxproj: Add CounterStyle.h, CounterStyle.cpp, and CounterStyle.idl. * bindings/js/JSCSSRuleCustom.cpp: (WebCore::toJSNewlyCreated): Support CSSCounterStyleRule. * bindings/js/WebCoreBuiltinNames.h: Add macro(CSSCounterStyleRule) to generate counter-style built-in names. * css/CSSCounterStyleRule.cpp: Added. (WebCore::StyleRuleCounterStyle::StyleRuleCounterStyle): (WebCore::StyleRuleCounterStyle::create): (WebCore::StyleRuleCounterStyle::mutableProperties): (WebCore::CSSCounterStyleRule::CSSCounterStyleRule): (WebCore::CSSCounterStyleRule::reattach): (WebCore::CSSCounterStyleRule::cssText const): * css/CSSCounterStyleRule.h: Added. (isType): Add specialized rule.isCounterStyleRule() implementation. * css/CSSCounterStyleRule.idl: Added. * css/CSSRule.cpp: Add new StyleRuleType::CounterStyle COMPILE_ASSERT. * css/CSSRule.h: Add COUNTER_STYLE_RULE constant. Also add comment `// WebIDL enum` to disable enum_casing lint, since these values are named to match IDL attributes. * css/CSSRule.idl: Add COUNTER_STYLE_RULE constant behind flag. * css/StyleRule.cpp: (WebCore::StyleRuleBase::destroy): (WebCore::StyleRuleBase::copy const): (WebCore::StyleRuleBase::createCSSOMWrapper const): Handle newly added StyleRuleType::CounterStyle. * css/StyleRule.h: (WebCore::StyleRuleBase::isCounterStyleRule const): Added. * css/StyleRuleType.h: Add StyleRuleType::CounterStyle * css/StyleSheetContents.cpp: (WebCore::traverseRulesInVector): (WebCore::StyleSheetContents::traverseSubresources const): If @counter-style image symbols flag is enabled, do traverse subresources. * css/parser/CSSAtRuleID.cpp: If the @counter-style feature flag is enabled, return newly added CSSAtRuleCounterStyle ID. (WebCore::cssAtRuleID): * css/parser/CSSAtRuleID.h: Add CSSAtRuleCounterStyle ID. * css/parser/CSSParserContext.cpp: (WebCore::operator==): * css/parser/CSSParserContext.h: (WebCore::CSSParserContextHash::hash): Add cssCounterStyleAtRulesEnabled and cssCounterStyleAtRuleImageSymbolsEnabled flags. * css/parser/CSSParserFastPaths.cpp: (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): Refactor to use new CSSPropertyParserHelpers::isPredefinedCounterStyle method. * css/parser/CSSParserImpl.cpp: (WebCore::computeNewAllowedRules): (WebCore::CSSParserImpl::consumeAtRule): (WebCore::CSSParserImpl::consumeCounterStyleRule): Added. (WebCore::CSSParserImpl::consumeDeclarationList): (WebCore::CSSParserImpl::consumeDeclaration): * css/parser/CSSParserImpl.h: Handle new @counter-style rule. * css/parser/CSSPropertyParser.cpp: (WebCore::CSSPropertyParser::parseValue): Handle StyleRuleType::CounterStyle. (WebCore::consumeCounterContent): Refactor to use new CSSPropertyParserHelpers::isPredefinedCounterStyle method. (WebCore::CSSPropertyParser::parseCounterStyleDescriptor): Add placeholder for future @counter-style descriptor parsing work. * css/parser/CSSPropertyParser.h: Add parseCounterStyleDescriptor method * css/parser/CSSPropertyParserHelpers.h: * css/parser/CSSPropertyParserHelpers.cpp: (WebCore::CSSPropertyParserHelpers::consumeCustomIdent): Add new flag that allows consumed custom ident values to be lowercased on-parse. This is necessary for some <counter-style-name> values. (WebCore::CSSPropertyParserHelpers::isPredefinedCounterStyle): Added. (WebCore::CSSPropertyParserHelpers::consumeCounterStyleName): (WebCore::CSSPropertyParserHelpers::consumeCounterStyleNameInPrelude): Parse @counter-style names, both in-prelude names and non-prelude names (e.g. as part of the `extends` descriptor). Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: Add CSSCounterStyleAtRulesEnabled and CSSCounterStyleAtRuleImageSymbolsEnabled flags. Tools: * DumpRenderTree/TestOptions.cpp: (WTR::TestOptions::defaults): Add `false` defaults for CSSCounterStyleAtRulesEnabled and CSSCounterStyleAtRuleImageSymbolsEnabled flags. LayoutTests: Add tests ensuring @counter-style is not exposed when feature flag is disabled. * webexposed/counter-style-is-not-exposed-expected.txt: Added. * webexposed/counter-style-is-not-exposed.html: Added. Canonical link: https://commits.webkit.org/236643@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-16 19:19:04 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSCounterStyleRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSCounterStyleRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSFontFaceRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSFontFaceRule.h
Add CSSConditionRule and CSSGroupingRule https://bugs.webkit.org/show_bug.cgi?id=216855 Reviewed by Sam Weinig. LayoutTests/imported/w3c: * web-platform-tests/css/conditional/idlharness-expected.txt: * web-platform-tests/css/cssom/MediaList-expected.txt: * web-platform-tests/css/cssom/cssimportrule-expected.txt: * web-platform-tests/css/cssom/idlharness-expected.txt: Updated expectations to expect more tests to pass. Source/WebCore: * CMakeLists.txt: Added CSSConditionRule.idl and CSSGroupingRule.idl. * DerivedSources-input.xcfilelist: Updated. * DerivedSources-output.xcfilelist: Updated. * DerivedSources.make: Added CSSConditionRule.idl and CSSGroupingRule.idl. * Headers.cmake: Added CSSConditionRule.h. * Sources.txt: Add CSSConditionRule.cpp, JSCSSConditioRule.cpp, and JSCSSGroupingRule.cpp. * WebCore.xcodeproj/project.pbxproj: Added all the files. * css/CSSConditionRule.cpp: Added. * css/CSSConditionRule.h: Added. * css/CSSConditionRule.idl: Added. * css/CSSGroupingRule.cpp: (WebCore::CSSGroupingRule::~CSSGroupingRule): Use a range-based for loop and nullptr. (WebCore::CSSGroupingRule::appendCSSTextForItems const): Use variadic append to clean this up a bit. (WebCore::CSSGroupingRule::item const): Use auto. * css/CSSGroupingRule.h: Made m_groupRule private instead of protected. Did some other tweaks. * css/CSSGroupingRule.idl: Added. * css/CSSImportRule.idl: Added [Exposed=Window], changed href to be a USVString, added [SameObject, PutForwards=mediaText] to media and [SameObject] to styleSheet. * css/CSSMediaRule.cpp: (WebCore::CSSMediaRule::CSSMediaRule): Derive from CSSConditionRule. (WebCore::CSSMediaRule::mediaQueries const): Return a reference. (WebCore::CSSMediaRule::cssText const): Streamline since we don't need a null check. (WebCore::CSSMediaRule::conditionText const): Added. (WebCore::CSSMediaRule::setConditionText): Added. (WebCore::CSSMediaRule::media const): Streamline since we don't need a null check. (WebCore::CSSMediaRule::reattach): Ditto. * css/CSSMediaRule.h: Derive from CSSConditionRule. * css/CSSMediaRule.idl: Derive from CSSConditionRule. Added [Exposed=Window]. Added [SameObject, PutForwards=mediaText] to media. Removed insertRule and deleteRule since they are now inherited from CSSGroupingRule. * css/CSSRule.h: Added MARGIN_RULE constant even though we don't have that rule type. Moved inline functions out of the class body to help clarity a bit. * css/CSSRule.idl: Added [Exposed=Window], changed a few things to match the specification. * css/CSSStyleRule.idl: Added [Exposed=Window]. Added [SameObject] to style. * css/CSSStyleSheet.idl: Added [Exposed=Window]. * css/CSSSupportsRule.cpp: (WebCore::CSSSupportsRule::CSSSupportsRule): Derive from CSSConditionRule. (WebCore::CSSSupportsRule::create): Added. (WebCore::CSSSupportsRule::cssText const): Use variadic append. (WebCore::CSSSupportsRule::conditionText const): Updated to use groupRule. (WebCore::CSSSupportsRule::setConditionText): Added. Not implemented yet. * css/CSSSupportsRule.h: Derive from CSSConditionRule. * css/CSSSupportsRule.idl: Derive from CSSConditionRule. Added [Exposed=Window]. * css/MediaList.cpp: (WebCore::MediaQuerySet::set): Use move instead of swap. * css/MediaList.idl: Added [Exposed=Window] and marked mediaText as the stringifier. * css/StyleRule.cpp: (WebCore::StyleRule::create): Moved here from the header. (WebCore::StyleRule::copy const): Ditto. (WebCore::StyleRulePage::create): Ditto. (WebCore::StyleRuleGroup::StyleRuleGroup): Use move instead of swap. (WebCore::StyleRuleMedia::create): Use move instead of swap. (WebCore::StyleRuleMedia::copy const): Moved out of the header. (WebCore::StyleRuleSupports::StyleRuleSupports): Ditto. (WebCore::StyleRuleSupports::create): Ditto. (WebCore::StyleRuleNamespace::StyleRuleNamespace): Ditto. (WebCore::StyleRuleNamespace::create): Ditto. * css/StyleRule.h: Moved function bodies out of the class defintiion for clarity. * css/StyleSheet.idl: Added [Exposed=Window] and [SameObject, PutForwards=mediaText] for media. * css/StyleSheetContents.cpp: (WebCore::StyleSheetContents::parserAppendRule): Updated since mediaQueries returns a reference. * css/StyleSheetList.idl: Added [Exposed=Window]. * css/parser/CSSParserImpl.cpp: (WebCore::CSSParserImpl::consumeMediaRule): Use WTFMove since the create function now takes an rvalue reference. (WebCore::CSSParserImpl::consumeSupportsRule): Ditto. * style/RuleSet.cpp: (WebCore::Style::RuleSet::addChildRules): Updated since mediaQueries returns a reference. * style/UserAgentStyle.cpp: (WebCore::Style::UserAgentStyle::addToDefaultStyle): Ditto. Source/WebKitLegacy/mac: * DOM/DOMCSS.mm: (kitClass): Added a default case since we don't intend to list every single rule type here. LayoutTests: * fast/dom/domListEnumeration-expected.txt: * fast/dom/domListEnumeration.html: Updated since toString is now implemented and enumerable. * fast/dom/non-numeric-values-numeric-parameters-expected.txt: * fast/dom/non-numeric-values-numeric-parameters.html: Updated test and expectations since CSSMediaRule's deleteRule no longer allows omitting the index to delete rule 0 (both non-standard and inconsistent with CSSStyleSheet). Canonical link: https://commits.webkit.org/229755@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-25 17:19:48 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSGroupingRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSGroupingRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSImportRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSImportRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSKeyframeRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSKeyframeRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSKeyframesRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSKeyframesRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSMediaRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSMediaRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSNamespaceRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSNamespaceRule.h
Add support for RTCDtlsTransport https://bugs.webkit.org/show_bug.cgi?id=229133 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCDtlsTransport-getRemoteCertificates-expected.txt: * web-platform-tests/webrtc/RTCDtlsTransport-state-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-connectionSetup-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-helper-test-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceConnectionState.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-answer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCRtpSender-transport.https-expected.txt: * web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt: * web-platform-tests/webrtc/protocol/bundle.https-expected.txt: * web-platform-tests/webrtc/protocol/crypto-suite.https-expected.txt: Source/ThirdParty/libwebrtc: * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: Source/WebCore: RTCDtlsTransport is an object representing the transport used by RTCRtp senders and receivers. Add WebIDL and backend implementation. In particular, we set sender/receiver transports as per spec when setting the descriptions. Add support for state and certificates access. Add support for statechange event. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/PeerConnectionBackend.cpp: (WebCore::PeerConnectionBackend::setLocalDescriptionSucceeded): (WebCore::PeerConnectionBackend::setRemoteDescriptionSucceeded): * Modules/mediastream/PeerConnectionBackend.h: * Modules/mediastream/RTCDtlsTransport.cpp: Added. (WebCore::RTCDtlsTransport::RTCDtlsTransport): (WebCore::RTCDtlsTransport::~RTCDtlsTransport): (WebCore::RTCDtlsTransport::getRemoteCertificates): (WebCore::RTCDtlsTransport::stop): (WebCore::RTCDtlsTransport::virtualHasPendingActivity const): (WebCore::RTCDtlsTransport::onStateChanged): (WebCore::RTCDtlsTransport::onError): * Modules/mediastream/RTCDtlsTransport.h: Added. * Modules/mediastream/RTCDtlsTransport.idl: Added. * Modules/mediastream/RTCDtlsTransportBackend.h: Added. (WebCore::operator==): * Modules/mediastream/RTCDtlsTransportState.h: Added. * Modules/mediastream/RTCDtlsTransportState.idl: Added. * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::getOrCreateDtlsTransport): (WebCore::RTCPeerConnection::updateTransceiverTransports): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulLocalDescription): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulRemoteDescription): * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCRtpReceiver.cpp: * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiver.idl: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpSender.cpp: * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSender.idl: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.cpp: Added. (WebCore::toRTCDtlsTransportState): (WebCore::LibWebRTCDtlsTransportBackendObserver::LibWebRTCDtlsTransportBackendObserver): (WebCore::LibWebRTCDtlsTransportBackendObserver::updateState): (WebCore::LibWebRTCDtlsTransportBackendObserver::start): (WebCore::LibWebRTCDtlsTransportBackendObserver::stop): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnStateChange): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnError): (WebCore::LibWebRTCDtlsTransportBackend::LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::~LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::registerClient): (WebCore::LibWebRTCDtlsTransportBackend::unregisterClient): * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp: * Modules/mediastream/libwebrtc/LibWebRTCUtils.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: Canonical link: https://commits.webkit.org/240662@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-19 07:36:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSNumericValue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSNumericValue.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSPageRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSPageRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSPaintCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSPaintCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSPaintSize.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSPaintSize.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSRuleList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSRuleList.h
Add alternate, non-named-getter based, implementation of CSSStyleDeclaration back into WebCore https://bugs.webkit.org/show_bug.cgi?id=222517 Reviewed by Darin Adler. Source/WebCore: Re-lands change from r268564 but disabled behind a new ENABLE flag, ENABLE(ATTRIBUTE_BASED_PROPERTIES_FOR_CSS_STYLE_DECLARATION). Replace named getter/setter based implementation of access to CSSStyleDeclaration property values with a generated partial interface that lists all the properties exactly. To keep things consistent with existing behavior, in addition to the spec'd properties, we also maintain additional properties for epub prefixed properties. * CMakeLists.txt: * DerivedSources-output.xcfilelist: * DerivedSources.make: Generate CSSStyleDeclaration+PropertyNames.idl and ensure it is compile together with the other bindings. * css/makeprop.pl: Add generation of CSSStyleDeclaration+PropertyNames.idl from CSSProperties.json. Add checking of the enable flag to ensure it is not compiled by default. * bindings/scripts/CodeGeneratorJS.pm: (ToMethodName): Don't transform names that start with CSSOM to ensure property names are consistent. (GenerateAttributeGetterBodyDefinition): (GenerateAttributeSetterBodyDefinition): * bindings/scripts/IDLAttributes.json: Add initial support for the new CSSProperty extended attribute. Only the tests and the disabled code in CSSStyleDeclaration+PropertyNames.idl currently use it. * bindings/scripts/test/BindingTestGlobalConstructors.idl: * bindings/scripts/test/JS/JSTestCSSProperty.cpp: Added. * bindings/scripts/test/JS/JSTestCSSProperty.h: Added. * bindings/scripts/test/SupplementalDependencies.dep: * bindings/scripts/test/TestCSSProperty.idl: Added. Add tests for the new CSSProperty extended attribute. (WebCore::CSSComputedStyleDeclaration::setPropertyInternal): * css/CSSComputedStyleDeclaration.h: * css/PropertySetCSSStyleDeclaration.cpp: (WebCore::PropertySetCSSStyleDeclaration::getPropertyValueInternal): (WebCore::PropertySetCSSStyleDeclaration::setPropertyInternal): * css/PropertySetCSSStyleDeclaration.h: Remove unused bool return value from getPropertyValueInternal (it goes from ExceptionOr<bool> to ExceptionOr<void>) to simplify some callers that no longer need to check the return value. * css/CSSStyleDeclaration.cpp: * css/CSSStyleDeclaration.h: Extract out setPropertyValueInternal so it can be used by the bindings generator for CSSProperty attributes. * css/CSSStyleDeclaration.idl: Move named getter/setter declarations and DefaultDefineOwnProperty inside of enable flags checks so that when it is disabled, we don't use them. Source/WTF: * wtf/PlatformEnable.h: Add new off by default ENABLE flag ENABLE(ATTRIBUTE_BASED_PROPERTIES_FOR_CSS_STYLE_DECLARATION) which indicates that we should use the new attribute based implementation of property getter/setters of CSSStyleDeclaration. Once we remove the compile time and binary size regressions, we can enable this and remove the macro. Canonical link: https://commits.webkit.org/234710@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@273688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-01 21:27:39 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleDeclaration+PropertyNames.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleDeclaration+PropertyNames.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleDeclaration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleDeclaration.h
Add support for RTCDtlsTransport https://bugs.webkit.org/show_bug.cgi?id=229133 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCDtlsTransport-getRemoteCertificates-expected.txt: * web-platform-tests/webrtc/RTCDtlsTransport-state-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-connectionSetup-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-helper-test-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceConnectionState.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-answer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCRtpSender-transport.https-expected.txt: * web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt: * web-platform-tests/webrtc/protocol/bundle.https-expected.txt: * web-platform-tests/webrtc/protocol/crypto-suite.https-expected.txt: Source/ThirdParty/libwebrtc: * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: Source/WebCore: RTCDtlsTransport is an object representing the transport used by RTCRtp senders and receivers. Add WebIDL and backend implementation. In particular, we set sender/receiver transports as per spec when setting the descriptions. Add support for state and certificates access. Add support for statechange event. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/PeerConnectionBackend.cpp: (WebCore::PeerConnectionBackend::setLocalDescriptionSucceeded): (WebCore::PeerConnectionBackend::setRemoteDescriptionSucceeded): * Modules/mediastream/PeerConnectionBackend.h: * Modules/mediastream/RTCDtlsTransport.cpp: Added. (WebCore::RTCDtlsTransport::RTCDtlsTransport): (WebCore::RTCDtlsTransport::~RTCDtlsTransport): (WebCore::RTCDtlsTransport::getRemoteCertificates): (WebCore::RTCDtlsTransport::stop): (WebCore::RTCDtlsTransport::virtualHasPendingActivity const): (WebCore::RTCDtlsTransport::onStateChanged): (WebCore::RTCDtlsTransport::onError): * Modules/mediastream/RTCDtlsTransport.h: Added. * Modules/mediastream/RTCDtlsTransport.idl: Added. * Modules/mediastream/RTCDtlsTransportBackend.h: Added. (WebCore::operator==): * Modules/mediastream/RTCDtlsTransportState.h: Added. * Modules/mediastream/RTCDtlsTransportState.idl: Added. * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::getOrCreateDtlsTransport): (WebCore::RTCPeerConnection::updateTransceiverTransports): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulLocalDescription): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulRemoteDescription): * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCRtpReceiver.cpp: * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiver.idl: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpSender.cpp: * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSender.idl: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.cpp: Added. (WebCore::toRTCDtlsTransportState): (WebCore::LibWebRTCDtlsTransportBackendObserver::LibWebRTCDtlsTransportBackendObserver): (WebCore::LibWebRTCDtlsTransportBackendObserver::updateState): (WebCore::LibWebRTCDtlsTransportBackendObserver::start): (WebCore::LibWebRTCDtlsTransportBackendObserver::stop): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnStateChange): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnError): (WebCore::LibWebRTCDtlsTransportBackend::LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::~LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::registerClient): (WebCore::LibWebRTCDtlsTransportBackend::unregisterClient): * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp: * Modules/mediastream/libwebrtc/LibWebRTCUtils.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: Canonical link: https://commits.webkit.org/240662@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-19 07:36:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleImageValue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleImageValue.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleSheet.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleSheet.h
Add support for RTCDtlsTransport https://bugs.webkit.org/show_bug.cgi?id=229133 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCDtlsTransport-getRemoteCertificates-expected.txt: * web-platform-tests/webrtc/RTCDtlsTransport-state-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-connectionSetup-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-helper-test-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceConnectionState.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-answer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCRtpSender-transport.https-expected.txt: * web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt: * web-platform-tests/webrtc/protocol/bundle.https-expected.txt: * web-platform-tests/webrtc/protocol/crypto-suite.https-expected.txt: Source/ThirdParty/libwebrtc: * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: Source/WebCore: RTCDtlsTransport is an object representing the transport used by RTCRtp senders and receivers. Add WebIDL and backend implementation. In particular, we set sender/receiver transports as per spec when setting the descriptions. Add support for state and certificates access. Add support for statechange event. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/PeerConnectionBackend.cpp: (WebCore::PeerConnectionBackend::setLocalDescriptionSucceeded): (WebCore::PeerConnectionBackend::setRemoteDescriptionSucceeded): * Modules/mediastream/PeerConnectionBackend.h: * Modules/mediastream/RTCDtlsTransport.cpp: Added. (WebCore::RTCDtlsTransport::RTCDtlsTransport): (WebCore::RTCDtlsTransport::~RTCDtlsTransport): (WebCore::RTCDtlsTransport::getRemoteCertificates): (WebCore::RTCDtlsTransport::stop): (WebCore::RTCDtlsTransport::virtualHasPendingActivity const): (WebCore::RTCDtlsTransport::onStateChanged): (WebCore::RTCDtlsTransport::onError): * Modules/mediastream/RTCDtlsTransport.h: Added. * Modules/mediastream/RTCDtlsTransport.idl: Added. * Modules/mediastream/RTCDtlsTransportBackend.h: Added. (WebCore::operator==): * Modules/mediastream/RTCDtlsTransportState.h: Added. * Modules/mediastream/RTCDtlsTransportState.idl: Added. * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::getOrCreateDtlsTransport): (WebCore::RTCPeerConnection::updateTransceiverTransports): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulLocalDescription): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulRemoteDescription): * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCRtpReceiver.cpp: * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiver.idl: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpSender.cpp: * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSender.idl: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.cpp: Added. (WebCore::toRTCDtlsTransportState): (WebCore::LibWebRTCDtlsTransportBackendObserver::LibWebRTCDtlsTransportBackendObserver): (WebCore::LibWebRTCDtlsTransportBackendObserver::updateState): (WebCore::LibWebRTCDtlsTransportBackendObserver::start): (WebCore::LibWebRTCDtlsTransportBackendObserver::stop): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnStateChange): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnError): (WebCore::LibWebRTCDtlsTransportBackend::LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::~LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::registerClient): (WebCore::LibWebRTCDtlsTransportBackend::unregisterClient): * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp: * Modules/mediastream/libwebrtc/LibWebRTCUtils.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: Canonical link: https://commits.webkit.org/240662@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-19 07:36:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleValue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSStyleValue.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSSupportsRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSSupportsRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSTransition.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSTransition.h
Add support for RTCDtlsTransport https://bugs.webkit.org/show_bug.cgi?id=229133 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCDtlsTransport-getRemoteCertificates-expected.txt: * web-platform-tests/webrtc/RTCDtlsTransport-state-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-connectionSetup-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-helper-test-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceConnectionState.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-answer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCRtpSender-transport.https-expected.txt: * web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt: * web-platform-tests/webrtc/protocol/bundle.https-expected.txt: * web-platform-tests/webrtc/protocol/crypto-suite.https-expected.txt: Source/ThirdParty/libwebrtc: * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: Source/WebCore: RTCDtlsTransport is an object representing the transport used by RTCRtp senders and receivers. Add WebIDL and backend implementation. In particular, we set sender/receiver transports as per spec when setting the descriptions. Add support for state and certificates access. Add support for statechange event. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/PeerConnectionBackend.cpp: (WebCore::PeerConnectionBackend::setLocalDescriptionSucceeded): (WebCore::PeerConnectionBackend::setRemoteDescriptionSucceeded): * Modules/mediastream/PeerConnectionBackend.h: * Modules/mediastream/RTCDtlsTransport.cpp: Added. (WebCore::RTCDtlsTransport::RTCDtlsTransport): (WebCore::RTCDtlsTransport::~RTCDtlsTransport): (WebCore::RTCDtlsTransport::getRemoteCertificates): (WebCore::RTCDtlsTransport::stop): (WebCore::RTCDtlsTransport::virtualHasPendingActivity const): (WebCore::RTCDtlsTransport::onStateChanged): (WebCore::RTCDtlsTransport::onError): * Modules/mediastream/RTCDtlsTransport.h: Added. * Modules/mediastream/RTCDtlsTransport.idl: Added. * Modules/mediastream/RTCDtlsTransportBackend.h: Added. (WebCore::operator==): * Modules/mediastream/RTCDtlsTransportState.h: Added. * Modules/mediastream/RTCDtlsTransportState.idl: Added. * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::getOrCreateDtlsTransport): (WebCore::RTCPeerConnection::updateTransceiverTransports): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulLocalDescription): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulRemoteDescription): * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCRtpReceiver.cpp: * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiver.idl: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpSender.cpp: * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSender.idl: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.cpp: Added. (WebCore::toRTCDtlsTransportState): (WebCore::LibWebRTCDtlsTransportBackendObserver::LibWebRTCDtlsTransportBackendObserver): (WebCore::LibWebRTCDtlsTransportBackendObserver::updateState): (WebCore::LibWebRTCDtlsTransportBackendObserver::start): (WebCore::LibWebRTCDtlsTransportBackendObserver::stop): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnStateChange): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnError): (WebCore::LibWebRTCDtlsTransportBackend::LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::~LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::registerClient): (WebCore::LibWebRTCDtlsTransportBackend::unregisterClient): * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp: * Modules/mediastream/libwebrtc/LibWebRTCUtils.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: Canonical link: https://commits.webkit.org/240662@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-19 07:36:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSUnitValue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSUnitValue.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSUnknownRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSUnknownRule.h
Add support for RTCDtlsTransport https://bugs.webkit.org/show_bug.cgi?id=229133 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCDtlsTransport-getRemoteCertificates-expected.txt: * web-platform-tests/webrtc/RTCDtlsTransport-state-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-connectionSetup-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-helper-test-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceConnectionState.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-answer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCRtpSender-transport.https-expected.txt: * web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt: * web-platform-tests/webrtc/protocol/bundle.https-expected.txt: * web-platform-tests/webrtc/protocol/crypto-suite.https-expected.txt: Source/ThirdParty/libwebrtc: * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: Source/WebCore: RTCDtlsTransport is an object representing the transport used by RTCRtp senders and receivers. Add WebIDL and backend implementation. In particular, we set sender/receiver transports as per spec when setting the descriptions. Add support for state and certificates access. Add support for statechange event. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/PeerConnectionBackend.cpp: (WebCore::PeerConnectionBackend::setLocalDescriptionSucceeded): (WebCore::PeerConnectionBackend::setRemoteDescriptionSucceeded): * Modules/mediastream/PeerConnectionBackend.h: * Modules/mediastream/RTCDtlsTransport.cpp: Added. (WebCore::RTCDtlsTransport::RTCDtlsTransport): (WebCore::RTCDtlsTransport::~RTCDtlsTransport): (WebCore::RTCDtlsTransport::getRemoteCertificates): (WebCore::RTCDtlsTransport::stop): (WebCore::RTCDtlsTransport::virtualHasPendingActivity const): (WebCore::RTCDtlsTransport::onStateChanged): (WebCore::RTCDtlsTransport::onError): * Modules/mediastream/RTCDtlsTransport.h: Added. * Modules/mediastream/RTCDtlsTransport.idl: Added. * Modules/mediastream/RTCDtlsTransportBackend.h: Added. (WebCore::operator==): * Modules/mediastream/RTCDtlsTransportState.h: Added. * Modules/mediastream/RTCDtlsTransportState.idl: Added. * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::getOrCreateDtlsTransport): (WebCore::RTCPeerConnection::updateTransceiverTransports): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulLocalDescription): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulRemoteDescription): * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCRtpReceiver.cpp: * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiver.idl: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpSender.cpp: * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSender.idl: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.cpp: Added. (WebCore::toRTCDtlsTransportState): (WebCore::LibWebRTCDtlsTransportBackendObserver::LibWebRTCDtlsTransportBackendObserver): (WebCore::LibWebRTCDtlsTransportBackendObserver::updateState): (WebCore::LibWebRTCDtlsTransportBackendObserver::start): (WebCore::LibWebRTCDtlsTransportBackendObserver::stop): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnStateChange): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnError): (WebCore::LibWebRTCDtlsTransportBackend::LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::~LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::registerClient): (WebCore::LibWebRTCDtlsTransportBackend::unregisterClient): * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp: * Modules/mediastream/libwebrtc/LibWebRTCUtils.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: Canonical link: https://commits.webkit.org/240662@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-19 07:36:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSUnparsedValue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCSSUnparsedValue.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCacheQueryOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCacheQueryOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasCaptureMediaStreamTrack.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasCaptureMediaStreamTrack.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasCompositing.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasCompositing.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasDirection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasDirection.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasDrawImage.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasDrawImage.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasDrawPath.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasDrawPath.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasFillRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasFillRule.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasFillStrokeStyles.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasFillStrokeStyles.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasFilters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasFilters.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasGradient.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasGradient.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasImageData.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasImageData.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasImageSmoothing.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasImageSmoothing.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasLineCap.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasLineCap.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasLineJoin.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasLineJoin.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasPath.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasPath.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasPathDrawingStyles.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasPathDrawingStyles.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasPattern.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasPattern.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasRect.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasRect.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasRenderingContext2D.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasRenderingContext2D.h
Add support for CanvasRenderingContext2DSettings https://bugs.webkit.org/show_bug.cgi?id=225173 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Update test results. * web-platform-tests/html/canvas/element/context-attributes/getContextAttributes-expected.txt: * web-platform-tests/html/dom/idlharness.https-expected.txt: Source/WebCore: Plumb infrastructure for passing a CanvasRenderingContext2DSettings to CanvasRenderingContext2D. This change only adds the 'desynchronized' flag, which is only a hint, so ignoring it is an exceptable implementation. "When a CanvasRenderingContext2D object's desynchronized is true, then the user agent may optimize the rendering of the canvas to reduce the latency." - https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-desynchronized * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Add new files. * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContext2d): (WebCore::HTMLCanvasElement::getContext2d): Pipe CanvasRenderingContext2DSettings to CanvasRenderingContext2D. * html/HTMLCanvasElement.h: Forward declare ImageBitmapRenderingContextSettings and remove default values from functions taking a ImageBitmapRenderingContextSettings. There are few callers and this allows us to remove an include. * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::create): (WebCore::CanvasRenderingContext2D::CanvasRenderingContext2D): * html/canvas/CanvasRenderingContext2D.h: Store settings. It is not currently used for anything but returning itself but will have other state in the future. * html/canvas/CanvasRenderingContext2D.idl: Add getContextAttributes() operation from https://html.spec.whatwg.org/multipage/canvas.html#canvasrenderingcontext2d * html/canvas/CanvasRenderingContext2DSettings.h: Added. * html/canvas/CanvasRenderingContext2DSettings.idl: Added. LayoutTests: Update test results. * platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: Canonical link: https://commits.webkit.org/237161@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-29 16:09:17 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasRenderingContext2DSettings.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasRenderingContext2DSettings.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasShadowStyles.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasShadowStyles.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasText.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasText.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasTextAlign.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasTextAlign.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasTextBaseline.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasTextBaseline.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasTextDrawingStyles.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasTextDrawingStyles.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasTransform.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasTransform.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasUserInterface.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCanvasUserInterface.h
Set Restrictions for channelCount, channelCountMode for PannerNode https://bugs.webkit.org/show_bug.cgi?id=213992 Patch by Clark Wang <clark_wang@apple.com> on 2020-07-09 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined tests that now pass. * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner-expected.txt: Source/WebCore: Added setter methods to PannerNode that handle exceptions for channelCount, channelCountMode, according to spec: https://www.w3.org/TR/webaudio/#dom-audionode-channelcount. Moved ChannelCount, ChannelCountMode enums into their own files. Re-baselined tests that now pass. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::AudioNode): (WebCore::AudioNode::setChannelCount): (WebCore::AudioNode::setChannelCountMode): (WebCore::AudioNode::setChannelInterpretation): (WebCore::AudioNode::channelCount): Deleted. (WebCore::AudioNode::channelCountMode): Deleted. (WebCore::AudioNode::channelInterpretation): Deleted. * Modules/webaudio/AudioNode.h: (WebCore::AudioNode::channelCount const): (WebCore::AudioNode::channelCountMode const): (WebCore::AudioNode::channelInterpretation const): (WebCore::AudioNode::internalChannelCountMode const): Deleted. (WebCore::AudioNode::internalChannelInterpretation const): Deleted. * Modules/webaudio/AudioNode.idl: * Modules/webaudio/AudioNodeInput.cpp: (WebCore::AudioNodeInput::numberOfChannels const): (WebCore::AudioNodeInput::bus): (WebCore::AudioNodeInput::sumAllConnections): (WebCore::AudioNodeInput::pull): * Modules/webaudio/AudioNodeOptions.h: * Modules/webaudio/AudioNodeOptions.idl: * Modules/webaudio/ChannelCountMode.h: Copied from Source/WebCore/Modules/webaudio/AudioNodeOptions.h. * Modules/webaudio/ChannelCountMode.idl: Copied from Source/WebCore/Modules/webaudio/AudioNodeOptions.idl. * Modules/webaudio/ChannelInterpretation.h: Copied from Source/WebCore/Modules/webaudio/AudioNodeOptions.h. * Modules/webaudio/ChannelInterpretation.idl: Copied from Source/WebCore/Modules/webaudio/AudioNodeOptions.idl. * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::ConvolverNode): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode): * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNode::PannerNode): (WebCore::PannerNode::create): (WebCore::PannerNode::setChannelCount): (WebCore::PannerNode::setChannelCountMode): * Modules/webaudio/PannerNode.h: * Modules/webaudio/WebKitAudioPannerNode.cpp: (WebCore::WebKitAudioPannerNode::WebKitAudioPannerNode): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * platform/audio/AudioBus.cpp: (WebCore::AudioBus::copyFrom): (WebCore::AudioBus::sumFrom): * platform/audio/AudioBus.h: Canonical link: https://commits.webkit.org/226948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@264176 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-09 16:31:33 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelCountMode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelCountMode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelInterpretation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelInterpretation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelMergerNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelMergerNode.h
Added constructor methods to ChannelMergerNode, ChannelSplitterNode https://bugs.webkit.org/show_bug.cgi?id=214851 <rdar://problem/66233763> Patch by Clark Wang <clark_wang@apple.com> on 2020-07-29 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined existing tests that now pass, or fail due to a different interface. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/buffer-resampling-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-dynamics-compressor-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/simple-input-output.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/ctor-channelmerger-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelsplitternode-interface/audiochannelsplitter-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelsplitternode-interface/ctor-channelsplitter-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/detune-limiting-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-scriptprocessornode-interface/simple-input-output-expected.txt: Source/WebCore: Added constructors for ChannelMergerNode, ChannelSplitterNode according to spec: https://www.w3.org/TR/webaudio/#ChannelMergerNode-constructors. Added new files for ChannelMergerOptions and ChannelSplitterOptions. This patch also ensures that BaseAudioContext::create*() and *Node::create() methods behave the same. Re-baselined existing tests that now pass, or fail further along. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioNode.h: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createChannelSplitter): (WebCore::BaseAudioContext::createChannelMerger): * Modules/webaudio/ChannelMergerNode.cpp: (WebCore::ChannelMergerNode::create): (WebCore::ChannelMergerNode::setChannelCount): (WebCore::ChannelMergerNode::setChannelCountMode): * Modules/webaudio/ChannelMergerNode.h: * Modules/webaudio/ChannelMergerNode.idl: * Modules/webaudio/ChannelMergerOptions.h: Added. * Modules/webaudio/ChannelMergerOptions.idl: Added. * Modules/webaudio/ChannelSplitterNode.cpp: (WebCore::ChannelSplitterNode::create): (WebCore::ChannelSplitterNode::setChannelCount): (WebCore::ChannelSplitterNode::setChannelCountMode): (WebCore::ChannelSplitterNode::setChannelInterpretation): * Modules/webaudio/ChannelSplitterNode.h: * Modules/webaudio/ChannelSplitterNode.idl: * Modules/webaudio/ChannelSplitterOptions.h: Added. * Modules/webaudio/ChannelSplitterOptions.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227766@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-29 23:29:48 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelMergerOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelMergerOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelSplitterNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelSplitterNode.h
Added constructor methods to ChannelMergerNode, ChannelSplitterNode https://bugs.webkit.org/show_bug.cgi?id=214851 <rdar://problem/66233763> Patch by Clark Wang <clark_wang@apple.com> on 2020-07-29 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined existing tests that now pass, or fail due to a different interface. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/buffer-resampling-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-dynamics-compressor-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/simple-input-output.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/ctor-channelmerger-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelsplitternode-interface/audiochannelsplitter-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelsplitternode-interface/ctor-channelsplitter-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/detune-limiting-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-scriptprocessornode-interface/simple-input-output-expected.txt: Source/WebCore: Added constructors for ChannelMergerNode, ChannelSplitterNode according to spec: https://www.w3.org/TR/webaudio/#ChannelMergerNode-constructors. Added new files for ChannelMergerOptions and ChannelSplitterOptions. This patch also ensures that BaseAudioContext::create*() and *Node::create() methods behave the same. Re-baselined existing tests that now pass, or fail further along. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioNode.h: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createChannelSplitter): (WebCore::BaseAudioContext::createChannelMerger): * Modules/webaudio/ChannelMergerNode.cpp: (WebCore::ChannelMergerNode::create): (WebCore::ChannelMergerNode::setChannelCount): (WebCore::ChannelMergerNode::setChannelCountMode): * Modules/webaudio/ChannelMergerNode.h: * Modules/webaudio/ChannelMergerNode.idl: * Modules/webaudio/ChannelMergerOptions.h: Added. * Modules/webaudio/ChannelMergerOptions.idl: Added. * Modules/webaudio/ChannelSplitterNode.cpp: (WebCore::ChannelSplitterNode::create): (WebCore::ChannelSplitterNode::setChannelCount): (WebCore::ChannelSplitterNode::setChannelCountMode): (WebCore::ChannelSplitterNode::setChannelInterpretation): * Modules/webaudio/ChannelSplitterNode.h: * Modules/webaudio/ChannelSplitterNode.idl: * Modules/webaudio/ChannelSplitterOptions.h: Added. * Modules/webaudio/ChannelSplitterOptions.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227766@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-29 23:29:48 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelSplitterOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChannelSplitterOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCharacterData.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCharacterData.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChildNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSChildNode.h
[Clipboard API] Introduce bindings for the async Clipboard API https://bugs.webkit.org/show_bug.cgi?id=202622 <rdar://problem/56038126> Reviewed by Ryosuke Niwa. Source/WebCore: Adds IDL for the async clipboard API (with the exception of delayed item generation interfaces, which I'll iterate on and introduce separately). See: https://w3c.github.io/clipboard-apis/#async-clipboard-api for more information. Tests: editing/async-clipboard/clipboard-interfaces.html editing/async-clipboard/clipboard-wrapper-stays-alive.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/async-clipboard/Clipboard.cpp: (WebCore::Clipboard::create): (WebCore::Clipboard::Clipboard): (WebCore::Clipboard::navigator): (WebCore::Clipboard::eventTargetInterface const): (WebCore::Clipboard::scriptExecutionContext const): (WebCore::Clipboard::readText): (WebCore::Clipboard::writeText): (WebCore::Clipboard::read): (WebCore::Clipboard::write): Stub out these API calls for now by immediately rejecting the given promise. * Modules/async-clipboard/Clipboard.h: * Modules/async-clipboard/Clipboard.idl: * Modules/async-clipboard/ClipboardItem.cpp: (WebCore::ClipboardItem::ClipboardItem): (WebCore::ClipboardItem::create): (WebCore::ClipboardItem::types const): (WebCore::ClipboardItem::getType): Stub out these API calls for now by immediately rejecting the given promise. (WebCore::navigator): * Modules/async-clipboard/ClipboardItem.h: (WebCore::ClipboardItem::presentationStyle const): * Modules/async-clipboard/ClipboardItem.idl: * Modules/async-clipboard/NavigatorClipboard.cpp: (WebCore::NavigatorClipboard::NavigatorClipboard): (WebCore::NavigatorClipboard::clipboard): (WebCore::NavigatorClipboard::from): (WebCore::NavigatorClipboard::supplementName): * Modules/async-clipboard/NavigatorClipboard.h: * Modules/async-clipboard/NavigatorClipboard.idl: * Modules/mediastream/MediaStreamTrack.cpp: * Modules/mediastream/RTCDTMFSender.cpp: * Modules/mediastream/RTCRtpSender.cpp: * Modules/webgpu/WebGPUPipeline.h: More unified sources-related build fixes. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/DeviceOrientationOrMotionEvent.cpp: Unified sources-related build fix. * dom/EventTargetFactory.in: * features.json: Add Async Clipboard API as a feature in development on webkit.org. * page/Settings.yaml: Source/WebKit: Adds a new experimental feature flag. See WebCore ChangeLog for more details. * Shared/WebPreferences.yaml: LayoutTests: * editing/async-clipboard/clipboard-interfaces-expected.txt: Added. * editing/async-clipboard/clipboard-interfaces.html: Added. Add a new test to sanity check the new clipboard API interfaces and interface extensions. * editing/async-clipboard/clipboard-wrapper-stays-alive-expected.txt: Added. * editing/async-clipboard/clipboard-wrapper-stays-alive.html: Added. Add a new test to make sure that the clipboard wrapper stays alive between GC passes, even when the clipboard's navigator is kept alive, independently of its window object. * fast/dom/navigator-detached-no-crash-expected.txt: * platform/ios-wk1/TestExpectations: * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk1/TestExpectations: * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac/fast/dom/navigator-detached-no-crash-expected.txt: * platform/win/fast/dom/navigator-detached-no-crash-expected.txt: * platform/wincairo/fast/dom/navigator-detached-no-crash-expected.txt: Update an existing layout test to include "navigator.clipboard". Canonical link: https://commits.webkit.org/216145@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-08 14:50:27 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSClipboard.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSClipboard.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSClipboardEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSClipboardEvent.h
[Clipboard API] Introduce bindings for the async Clipboard API https://bugs.webkit.org/show_bug.cgi?id=202622 <rdar://problem/56038126> Reviewed by Ryosuke Niwa. Source/WebCore: Adds IDL for the async clipboard API (with the exception of delayed item generation interfaces, which I'll iterate on and introduce separately). See: https://w3c.github.io/clipboard-apis/#async-clipboard-api for more information. Tests: editing/async-clipboard/clipboard-interfaces.html editing/async-clipboard/clipboard-wrapper-stays-alive.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/async-clipboard/Clipboard.cpp: (WebCore::Clipboard::create): (WebCore::Clipboard::Clipboard): (WebCore::Clipboard::navigator): (WebCore::Clipboard::eventTargetInterface const): (WebCore::Clipboard::scriptExecutionContext const): (WebCore::Clipboard::readText): (WebCore::Clipboard::writeText): (WebCore::Clipboard::read): (WebCore::Clipboard::write): Stub out these API calls for now by immediately rejecting the given promise. * Modules/async-clipboard/Clipboard.h: * Modules/async-clipboard/Clipboard.idl: * Modules/async-clipboard/ClipboardItem.cpp: (WebCore::ClipboardItem::ClipboardItem): (WebCore::ClipboardItem::create): (WebCore::ClipboardItem::types const): (WebCore::ClipboardItem::getType): Stub out these API calls for now by immediately rejecting the given promise. (WebCore::navigator): * Modules/async-clipboard/ClipboardItem.h: (WebCore::ClipboardItem::presentationStyle const): * Modules/async-clipboard/ClipboardItem.idl: * Modules/async-clipboard/NavigatorClipboard.cpp: (WebCore::NavigatorClipboard::NavigatorClipboard): (WebCore::NavigatorClipboard::clipboard): (WebCore::NavigatorClipboard::from): (WebCore::NavigatorClipboard::supplementName): * Modules/async-clipboard/NavigatorClipboard.h: * Modules/async-clipboard/NavigatorClipboard.idl: * Modules/mediastream/MediaStreamTrack.cpp: * Modules/mediastream/RTCDTMFSender.cpp: * Modules/mediastream/RTCRtpSender.cpp: * Modules/webgpu/WebGPUPipeline.h: More unified sources-related build fixes. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/DeviceOrientationOrMotionEvent.cpp: Unified sources-related build fix. * dom/EventTargetFactory.in: * features.json: Add Async Clipboard API as a feature in development on webkit.org. * page/Settings.yaml: Source/WebKit: Adds a new experimental feature flag. See WebCore ChangeLog for more details. * Shared/WebPreferences.yaml: LayoutTests: * editing/async-clipboard/clipboard-interfaces-expected.txt: Added. * editing/async-clipboard/clipboard-interfaces.html: Added. Add a new test to sanity check the new clipboard API interfaces and interface extensions. * editing/async-clipboard/clipboard-wrapper-stays-alive-expected.txt: Added. * editing/async-clipboard/clipboard-wrapper-stays-alive.html: Added. Add a new test to make sure that the clipboard wrapper stays alive between GC passes, even when the clipboard's navigator is kept alive, independently of its window object. * fast/dom/navigator-detached-no-crash-expected.txt: * platform/ios-wk1/TestExpectations: * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk1/TestExpectations: * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac/fast/dom/navigator-detached-no-crash-expected.txt: * platform/win/fast/dom/navigator-detached-no-crash-expected.txt: * platform/wincairo/fast/dom/navigator-detached-no-crash-expected.txt: Update an existing layout test to include "navigator.clipboard". Canonical link: https://commits.webkit.org/216145@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-08 14:50:27 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSClipboardItem.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSClipboardItem.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCloseEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCloseEvent.h
Add experimental HDR MediaCapabilities support. https://bugs.webkit.org/show_bug.cgi?id=203113 Reviewed by Eric Carlson. Source/WebCore: Tests: media/mediacapabilities/mock-decodingInfo-hdr.html platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr.html Add support for MediaCapabilities.decodeInfo() HDR support detection. Add new enum IDL types to MediaCapabilities and remove old unused ones. Add mock implementation for HDR detection. Add Cocoa platform implementation. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediacapabilities/ColorGamut.idl: * Modules/mediacapabilities/HdrMetadataType.idl: * Modules/mediacapabilities/ScreenLuminance.h: * Modules/mediacapabilities/TransferFunction.idl: * Modules/mediacapabilities/VideoConfiguration.idl: * Scripts/GenerateSettings.rb: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/scripts/CodeGenerator.pm: (WK_ucfirst): * bindings/scripts/CodeGeneratorJS.pm: (ToMethodName): * page/Settings.yaml: * platform/graphics/cocoa/MediaEngineConfigurationFactoryCocoa.cpp: (WebCore::createMediaPlayerDecodingConfigurationCocoa): * platform/mediacapabilities/ColorGamut.h: * platform/mediacapabilities/HdrMetadataType.h: * platform/mediacapabilities/TransferFunction.h: * platform/mediacapabilities/VideoConfiguration.h: * platform/mock/MediaEngineConfigurationFactoryMock.cpp: (WebCore::canDecodeMedia): (WebCore::canEncodeMedia): Source/WebKit: Add experimental hdrMediaCapabilitiesEnabled preference. * Shared/WebPreferences.yaml: LayoutTests: * media/mediacapabilities/mock-decodingInfo-alphaChannel-expected.txt: * media/mediacapabilities/mock-decodingInfo-hdr-expected.txt: Added. * media/mediacapabilities/mock-decodingInfo-hdr.html: Added. * platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr-expected.txt: Added. * platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr.html: Added. Canonical link: https://commits.webkit.org/216564@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-18 22:00:48 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSColorGamut.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSColorGamut.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCommandLineAPIHost.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCommandLineAPIHost.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSComment.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSComment.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCompositeOperation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCompositeOperation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCompositeOperationOrAuto.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCompositeOperationOrAuto.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCompositionEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCompositionEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSComputedEffectTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSComputedEffectTiming.h
Introduce ConstantSourceNode Interface https://bugs.webkit.org/show_bug.cgi?id=215377 Patch by Clark Wang <clark_wang@apple.com> on 2020-08-14 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined existing tests. Some fail further, mainly due to lack of support for automation rate in AudioParam. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-analysernode-interface/test-analyser-minimum-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/adding-events-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-close-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/automation-rate-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/cancel-scheduled-values-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/event-insertion-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audiobuffersource-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet-connections.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-constant-source-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-delay-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-dynamics-compressor-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-oscillator-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-exponentialRampToValueAtTime-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-linearRampToValueAtTime-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setTargetAtTime-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setValueAtTime-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/retrospective-setValueCurveAtTime-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/set-target-conv-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-process-frozen-array.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-onended-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-output-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/ctor-constantsource-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/test-constantsourcenode-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/realtime-conv-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-channel-count-1-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/maxdelay-rounding-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-azimuth-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/no-dezippering-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/silent-inputs-expected.txt: Source/WebCore: Introduced new ConstantSourceNode interface according to spec: https://www.w3.org/TR/webaudio/#ConstantSourceNode and with guidance from Chromium implementation: https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/modules/webaudio/constant_source_node.cc. Re-baselined existing tests. Some fail further, mainly due to lack of support for automation rate in AudioParam. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioNode.cpp: (WebCore::convertEnumerationToString): * Modules/webaudio/AudioNode.h: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createConstantSource): * Modules/webaudio/BaseAudioContext.h: * Modules/webaudio/BaseAudioContext.idl: * Modules/webaudio/ConstantSourceNode.cpp: Added. (WebCore::ConstantSourceNode::create): (WebCore::ConstantSourceNode::ConstantSourceNode): (WebCore::ConstantSourceNode::~ConstantSourceNode): (WebCore::ConstantSourceNode::process): (WebCore::ConstantSourceNode::propagatesSilence const): * Modules/webaudio/ConstantSourceNode.h: Added. * Modules/webaudio/ConstantSourceNode.idl: Added. * Modules/webaudio/ConstantSourceOptions.h: Added. * Modules/webaudio/ConstantSourceOptions.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: LayoutTests: Added flaky tests. * TestExpectations: Canonical link: https://commits.webkit.org/228281@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-14 18:56:54 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSConstantSourceNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSConstantSourceNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSConstantSourceOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSConstantSourceOptions.h
[Contact Picker API] Introduce bindings for the Contact Picker API https://bugs.webkit.org/show_bug.cgi?id=216793 <rdar://problem/69317957> Reviewed by Wenson Hsieh. Source/WebCore: Added IDL for the Contact Picker API, with the exception of the address and icon contact properties (which will be added after an initial implemention is complete). See: https://wicg.github.io/contact-api/spec/ for more information. Test: contact-picker/contacts-interfaces.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/contact-picker/ContactInfo.h: Added. * Modules/contact-picker/ContactInfo.idl: Added. * Modules/contact-picker/ContactProperty.h: Added. * Modules/contact-picker/ContactProperty.idl: Added. * Modules/contact-picker/ContactsManager.cpp: Added. (WebCore::ContactsManager::create): (WebCore::ContactsManager::ContactsManager): (WebCore::ContactsManager::navigator): (WebCore::ContactsManager::getProperties): (WebCore::ContactsManager::select): Stub out these API calls for now by immediately rejecting the given promise. * Modules/contact-picker/ContactsManager.h: Added. * Modules/contact-picker/ContactsManager.idl: Added. * Modules/contact-picker/ContactsSelectOptions.h: Added. * Modules/contact-picker/ContactsSelectOptions.idl: Added. * Modules/contact-picker/NavigatorContacts.cpp: Added. (WebCore::NavigatorContacts::NavigatorContacts): (WebCore::NavigatorContacts::contacts): (WebCore::NavigatorContacts::from): (WebCore::NavigatorContacts::supplementName): * Modules/contact-picker/NavigatorContacts.h: Added. * Modules/contact-picker/Navigator+Contacts.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * page/Settings.yaml: Source/WebKit: Added a new experimental feature flag. See WebCore Changelog for more details. * Shared/WebPreferencesExperimental.yaml: Source/WebKitLegacy/mac: Added plumbing to support the associated experimental test option. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (-[WebPreferences contactPickerAPIEnabled]): (-[WebPreferences setContactPickerAPIEnabled:]): * WebView/WebPreferencesPrivate.h: Source/WebKitLegacy/win: Added plumbing to support the associated experimental test option. * Interfaces/IWebPreferencesPrivate.idl: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): (WebPreferences::contactPickerAPIEnabled): (WebPreferences::setContactPickerAPIEnabled): * WebPreferences.h: * WebView.cpp: (WebView::notifyPreferencesChanged): Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: Add experimental preference for the Contact Picker API. Tools: Added plumbing to support the associated experimental test option. * DumpRenderTree/TestOptions.cpp: (TestOptions::TestOptions): * DumpRenderTree/TestOptions.h: * DumpRenderTree/mac/DumpRenderTree.mm: (setWebPreferencesForTestOptions): * DumpRenderTree/win/DumpRenderTree.cpp: (setWebPreferencesForTestOptions): LayoutTests: * contact-picker/contacts-interfaces-expected.txt: Added. * contact-picker/contacts-interfaces.html: Added. Added a new test to verify the new API interfaces. * fast/dom/navigator-detached-no-crash-expected.txt: * platform/gtk/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac/fast/dom/navigator-detached-no-crash-expected.txt: * platform/win/fast/dom/navigator-detached-no-crash-expected.txt: * platform/wincairo/fast/dom/navigator-detached-no-crash-expected.txt: * platform/wpe/fast/dom/navigator-detached-no-crash-expected.txt: Updated an existing test to include "navigator.contacts". Canonical link: https://commits.webkit.org/230095@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-05 18:56:12 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSContactInfo.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSContactInfo.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSContactProperty.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSContactProperty.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSContactsManager.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSContactsManager.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSContactsSelectOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSContactsSelectOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSConvolverNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSConvolverNode.h
Add constructor to ConvolverNode https://bugs.webkit.org/show_bug.cgi?id=215169 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: Source/WebCore: Add constructor to ConvolverNode, as per specification: - https://webaudio.github.io/web-audio-api/#ConvolverNode No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createConvolver): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::create): (WebCore::ConvolverNode::ConvolverNode): (WebCore::ConvolverNode::setBuffer): (WebCore::ConvolverNode::setChannelCount): (WebCore::ConvolverNode::setChannelCountMode): * Modules/webaudio/ConvolverNode.h: * Modules/webaudio/ConvolverNode.idl: * Modules/webaudio/ConvolverOptions.h: Copied from Source/WebCore/Modules/webaudio/ConvolverNode.idl. * Modules/webaudio/ConvolverOptions.idl: Copied from Source/WebCore/Modules/webaudio/ConvolverNode.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227978@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-05 19:23:06 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSConvolverOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSConvolverOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCoordinates.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCoordinates.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCountQueuingStrategy.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCountQueuingStrategy.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCredentialCreationOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCredentialCreationOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCredentialRequestOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCredentialRequestOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCredentialsContainer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCredentialsContainer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCrypto.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCrypto.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoAesKeyAlgorithm.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoAesKeyAlgorithm.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoAlgorithmParameters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoAlgorithmParameters.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoEcKeyAlgorithm.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoEcKeyAlgorithm.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoHmacKeyAlgorithm.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoHmacKeyAlgorithm.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoKey.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoKey.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoKeyAlgorithm.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoKeyAlgorithm.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoKeyPair.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoKeyPair.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoKeyUsage.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoKeyUsage.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoRsaHashedKeyAlgorithm.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoRsaHashedKeyAlgorithm.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoRsaKeyAlgorithm.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCryptoRsaKeyAlgorithm.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCustomElementRegistry.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCustomElementRegistry.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCustomEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCustomEvent.h
AudioContext.getOutputTimestamp() is missing https://bugs.webkit.org/show_bug.cgi?id=215591 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-getoutputtimestamp-expected.txt: Source/WebCore: AudioContext.getOutputTimestamp() is missing: - https://www.w3.org/TR/webaudio/#dom-audiocontext-getoutputtimestamp No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::getOutputTimestamp): * Modules/webaudio/AudioContext.h: * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioDestinationNode.cpp: (WebCore::AudioDestinationNode::render): * Modules/webaudio/AudioDestinationNode.h: * Modules/webaudio/AudioTimestamp.h: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. * Modules/webaudio/AudioTimestamp.idl: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::handlePreRenderTasks): (WebCore::BaseAudioContext::outputPosition): * Modules/webaudio/BaseAudioContext.h: * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::offlineRender): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * platform/audio/AudioIOCallback.h: (WebCore::AudioIOPosition::encode const): (WebCore::AudioIOPosition::decode): * platform/audio/cocoa/AudioDestinationCocoa.cpp: (WebCore::machAbsoluteTimeToMonotonicTime): (WebCore::AudioDestinationCocoa::render): (WebCore::AudioDestinationCocoa::inputProc): * platform/audio/cocoa/AudioDestinationCocoa.h: Source/WebKit: * GPUProcess/media/RemoteAudioDestinationManager.cpp: * WebProcess/GPU/media/RemoteAudioBusData.h: (WebKit::RemoteAudioBusData::encode const): (WebKit::RemoteAudioBusData::decode): * WebProcess/GPU/media/RemoteAudioDestinationProxy.cpp: (WebKit::RemoteAudioDestinationProxy::renderBuffer): Canonical link: https://commits.webkit.org/228355@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-18 02:16:13 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCustomXPathNSResolver.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSCustomXPathNSResolver.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMApplicationCache.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMApplicationCache.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMBindingInternalsBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSCustomPropertyDescriptor.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSCustomPropertyDescriptor.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSNamespace+CSSPainting.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSNamespace+CSSPainting.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSNamespace+CSSPropertiesandValues.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSNamespace+CSSPropertiesandValues.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSNamespace.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSNamespace.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSPaintWorklet.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSPaintWorklet.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSRegisterCustomProperty.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCSSRegisterCustomProperty.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCache.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCache.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCacheStorage.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMCacheStorage.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMException.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMException.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMFileSystem.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMFileSystem.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMFormData.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMFormData.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMImplementation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMImplementation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMatrix.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMatrix.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMatrix2DInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMatrix2DInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMatrixInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMatrixInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMatrixReadOnly.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMatrixReadOnly.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMimeType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMimeType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMimeTypeArray.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMMimeTypeArray.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMParser.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMParser.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMPlugin.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMPlugin.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMPluginArray.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMPluginArray.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMPoint.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMPoint.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMPointInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMPointInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMPointReadOnly.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMPointReadOnly.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMQuad.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMQuad.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMQuadInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMQuadInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMRect.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMRect.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMRectInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMRectInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMRectList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMRectList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMRectReadOnly.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMRectReadOnly.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMSelection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMSelection.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMStringList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMStringList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMStringMap.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMStringMap.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMTokenList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMTokenList.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMURL+MediaSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMURL+MediaSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMURL.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMURL.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMURLMediaSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMURLMediaSource.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+CSSOM.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+CSSOM.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+CSSOMView.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+CSSOMView.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+Compat.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+Compat.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+DeviceMotion.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+DeviceMotion.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+DeviceOrientation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+DeviceOrientation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+RequestIdleCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+RequestIdleCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+Selection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+Selection.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+SpeechSynthesis.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+SpeechSynthesis.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+VisualViewport.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+VisualViewport.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+WebDatabase.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow+WebDatabase.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindow.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindowSpeechSynthesis.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindowSpeechSynthesis.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindowWebDatabase.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDOMWindowWebDatabase.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDataCue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDataCue.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDataTransfer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDataTransfer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDataTransferItem.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDataTransferItem.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDataTransferItemList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDataTransferItemList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDatabase.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDatabase.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDatabaseCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDatabaseCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDedicatedWorkerGlobalScope.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDedicatedWorkerGlobalScope.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDelayNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDelayNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDelayOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDelayOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMCounter.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMCounter.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMPrimitiveValue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMPrimitiveValue.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMRGBColor.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMRGBColor.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMRect.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMRect.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMValue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMValue.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMValueList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeprecatedCSSOMValueList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeviceMotionEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeviceMotionEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeviceOrientationEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeviceOrientationEvent.h
Add support for Device Orientation / Motion permission API https://bugs.webkit.org/show_bug.cgi?id=195329 <rdar://problem/47645367> Reviewed by Geoffrey Garen. Source/WebCore: Add support for Device Orientation / Motion permission API: - https://github.com/w3c/deviceorientation/issues/57 Pages can add event listeners for 'deviceorientation' / 'devicemotion' events but such events will not be fired until the page's JavaScript calls DeviceOrientationEvent.requestPermission() / DeviceMotionEvent.requestPermission() and the user grants the request. The feature is currently behind an experimental feature flag, off by default. Tests: fast/device-orientation/device-motion-request-permission-denied.html fast/device-orientation/device-motion-request-permission-granted.html fast/device-orientation/device-motion-request-permission-user-gesture.html fast/device-orientation/device-orientation-request-permission-denied.html fast/device-orientation/device-orientation-request-permission-granted.html fast/device-orientation/device-orientation-request-permission-user-gesture.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/DeviceMotionEvent.h: * dom/DeviceMotionEvent.idl: * dom/DeviceOrientationAndMotionAccessController.cpp: Added. (WebCore::DeviceOrientationAndMotionAccessController::DeviceOrientationAndMotionAccessController): (WebCore::DeviceOrientationAndMotionAccessController::shouldAllowAccess): (WebCore::DeviceOrientationAndMotionAccessController::setAccessState): * dom/DeviceOrientationAndMotionAccessController.h: Added. (WebCore::DeviceOrientationAndMotionAccessController::accessState const): * dom/DeviceOrientationEvent.h: * dom/DeviceOrientationEvent.idl: * dom/DeviceOrientationOrMotionEvent.cpp: Added. (WebCore::DeviceOrientationOrMotionEvent::requestPermission): * dom/DeviceOrientationOrMotionEvent.h: Added. * dom/DeviceOrientationOrMotionEvent.idl: Added. * dom/DeviceOrientationOrMotionPermissionState.h: Added. * dom/DeviceOrientationOrMotionPermissionState.idl: Added. * dom/Document.cpp: (WebCore::Document::deviceOrientationAndMotionAccessController): * dom/Document.h: * dom/Event.cpp: * dom/MessagePort.cpp: * dom/Microtasks.cpp: * page/ChromeClient.h: * page/DOMWindow.cpp: (WebCore::DOMWindow::addEventListener): (WebCore::DOMWindow::deviceOrientationController const): (WebCore::DOMWindow::deviceMotionController const): (WebCore::DOMWindow::isAllowedToUseDeviceMotionOrientation const): (WebCore::DOMWindow::isAllowedToAddDeviceMotionOrientationListener const): (WebCore::DOMWindow::startListeningForDeviceOrientationIfNecessary): (WebCore::DOMWindow::stopListeningForDeviceOrientationIfNecessary): (WebCore::DOMWindow::startListeningForDeviceMotionIfNecessary): (WebCore::DOMWindow::stopListeningForDeviceMotionIfNecessary): (WebCore::DOMWindow::removeEventListener): (WebCore::DOMWindow::removeAllEventListeners): * page/DOMWindow.h: * page/DeviceController.cpp: (WebCore::DeviceController::hasDeviceEventListener const): * page/DeviceController.h: * page/Settings.yaml: Source/WebKit: Add support for Device Orientation / Motion permission API: - https://github.com/w3c/deviceorientation/issues/57 This adds new SPI to WKUIDelegatePrivate, until we can make this API. * Shared/WebPreferences.yaml: * UIProcess/API/APIUIClient.h: (API::UIClient::shouldAllowDeviceOrientationAndMotionAccess): * UIProcess/API/C/WKPage.cpp: (WKPageSetPageUIClient): * UIProcess/API/C/WKPageUIClient.h: * UIProcess/API/Cocoa/WKUIDelegate.h: * UIProcess/API/Cocoa/WKUIDelegatePrivate.h: * UIProcess/Cocoa/UIDelegate.h: * UIProcess/Cocoa/UIDelegate.mm: (WebKit::UIDelegate::setDelegate): (WebKit::UIDelegate::UIClient::shouldAllowDeviceOrientationAndMotionAccess): * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::requestDeviceOrientationAndMotionAccess): * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::shouldAllowDeviceOrientationAndMotionAccess): * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::nextDeviceOrientationAndMotionPermissionCallbackID): (WebKit::WebPage::shouldAllowDeviceOrientationAndMotionAccess): (WebKit::WebPage::didReceiveDeviceOrientationAndMotionAccessDecision): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: Tools: Add test infrastructure to help test the Device Orientation / Motion permission API. * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setShouldAllowDeviceOrientationAndMotionAccess): * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/TestController.cpp: (WTR::shouldAllowDeviceOrientationAndMotionAccess): (WTR::TestController::createWebViewWithOptions): (WTR::TestController::resetStateToConsistentValues): (WTR::TestController::handleDeviceOrientationAndMotionAccessRequest): * WebKitTestRunner/TestController.h: (WTR::TestController::setShouldAllowDeviceOrientationAndMotionAccess): * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): LayoutTests: Add layout test coverage. * TestExpectations: * fast/device-orientation/device-motion-request-permission-denied-expected.txt: Added. * fast/device-orientation/device-motion-request-permission-denied.html: Added. * fast/device-orientation/device-motion-request-permission-granted-expected.txt: Added. * fast/device-orientation/device-motion-request-permission-granted.html: Added. * fast/device-orientation/device-motion-request-permission-user-gesture-expected.txt: Added. * fast/device-orientation/device-motion-request-permission-user-gesture.html: Added. * fast/device-orientation/device-orientation-request-permission-denied-expected.txt: Added. * fast/device-orientation/device-orientation-request-permission-denied.html: Added. * fast/device-orientation/device-orientation-request-permission-granted-expected.txt: Added. * fast/device-orientation/device-orientation-request-permission-granted.html: Added. * fast/device-orientation/device-orientation-request-permission-user-gesture-expected.txt: Added. * fast/device-orientation/device-orientation-request-permission-user-gesture.html: Added. * http/tests/events/device-orientation-motion-non-secure-context.html: * http/tests/events/device-orientation-motion-secure-context-expected.txt: * http/tests/events/device-orientation-motion-secure-context.html: * platform/ios-wk2/TestExpectations: * platform/ios/http/tests/events/device-orientation-motion-non-secure-context-expected.txt: * platform/ios/http/tests/events/device-orientation-motion-secure-context-expected.txt: Canonical link: https://commits.webkit.org/209800@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-03-09 00:30:45 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeviceOrientationOrMotionPermissionState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDeviceOrientationOrMotionPermissionState.h
Add experimental feature flag for modern & unprefixed WebAudio API https://bugs.webkit.org/show_bug.cgi?id=213268 Reviewed by Jer Noble. LayoutTests/imported/w3c: Rebaseline a few web-platform-tests now that they are passing or failing at a later stage. This is due to our WebAudio getting properly unprefixed in the context of layout tests. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-detached-execution-context.tentative-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-connect-method-chaining-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/offlineaudiocontext-detached-execution-context.tentative-expected.txt: Source/WebCore: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. This patch split the AudioContext, OfflineAudioContext and PannerNode IDL interfaces into their prefixed and unprefixed versions. The unprefixed versions are behind the new experimental feature flag that is currently off by default but automatically gets turned on in the context of layout tests. This will give us more flexibility when working on the modern and unprefixed WebAudio API as we will not have to worry about backward compatibility. This also allows us to easily turn it on or off via the experimental features menu in Safari. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AnalyserNode.cpp: (WebCore::AnalyserNode::AnalyserNode): * Modules/webaudio/AnalyserNode.h: * Modules/webaudio/AudioBasicInspectorNode.cpp: (WebCore::AudioBasicInspectorNode::AudioBasicInspectorNode): * Modules/webaudio/AudioBasicInspectorNode.h: * Modules/webaudio/AudioBasicProcessorNode.cpp: (WebCore::AudioBasicProcessorNode::AudioBasicProcessorNode): * Modules/webaudio/AudioBasicProcessorNode.h: * Modules/webaudio/AudioBufferSourceNode.cpp: (WebCore::AudioBufferSourceNode::create): (WebCore::AudioBufferSourceNode::AudioBufferSourceNode): (WebCore::AudioBufferSourceNode::setBuffer): (WebCore::AudioBufferSourceNode::setPannerNode): * Modules/webaudio/AudioBufferSourceNode.h: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContextBase::AudioContextBase): (WebCore::AudioContext::AudioContext): (WebCore::AudioContextBase::document const): (WebCore::AudioContextBase::scriptExecutionContext const): * Modules/webaudio/AudioContext.h: (WebCore::AudioContextBase::AutoLocker::AutoLocker): (WebCore::AudioContextBase::AutoLocker::~AutoLocker): (WebCore::AudioContext::maxNumberOfChannels): (isType): * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioContextState.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioContextState.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioDestinationNode.cpp: (WebCore::AudioDestinationNode::AudioDestinationNode): * Modules/webaudio/AudioDestinationNode.h: * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::AudioNode): (WebCore::AudioNode::connect): (WebCore::AudioNode::disconnect): (WebCore::AudioNode::setChannelCount): (WebCore::AudioNode::setChannelCountMode): (WebCore::AudioNode::setChannelInterpretation): (WebCore::AudioNode::enableOutputsIfNecessary): (WebCore::AudioNode::deref): (WebCore::AudioNode::contextForBindings const): * Modules/webaudio/AudioNode.h: (WebCore::AudioNode::context): (WebCore::AudioNode::context const): * Modules/webaudio/AudioNode.idl: * Modules/webaudio/AudioNodeOutput.h: (WebCore::AudioNodeOutput::context): * Modules/webaudio/AudioParam.cpp: (WebCore::AudioParam::AudioParam): * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParamTimeline.cpp: (WebCore::AudioParamTimeline::valueForContextTime): * Modules/webaudio/AudioParamTimeline.h: * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::AudioScheduledSourceNode): * Modules/webaudio/AudioScheduledSourceNode.h: * Modules/webaudio/AudioSummingJunction.cpp: (WebCore::AudioSummingJunction::AudioSummingJunction): * Modules/webaudio/AudioSummingJunction.h: (WebCore::AudioSummingJunction::context): * Modules/webaudio/BiquadFilterNode.cpp: (WebCore::BiquadFilterNode::BiquadFilterNode): * Modules/webaudio/BiquadFilterNode.h: * Modules/webaudio/BiquadProcessor.cpp: (WebCore::BiquadProcessor::BiquadProcessor): * Modules/webaudio/BiquadProcessor.h: * Modules/webaudio/ChannelMergerNode.cpp: (WebCore::ChannelMergerNode::create): (WebCore::ChannelMergerNode::ChannelMergerNode): * Modules/webaudio/ChannelMergerNode.h: * Modules/webaudio/ChannelSplitterNode.cpp: (WebCore::ChannelSplitterNode::create): (WebCore::ChannelSplitterNode::ChannelSplitterNode): * Modules/webaudio/ChannelSplitterNode.h: * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::ConvolverNode): * Modules/webaudio/ConvolverNode.h: * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode): * Modules/webaudio/DefaultAudioDestinationNode.h: * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::DelayNode): (WebCore::DelayNode::create): * Modules/webaudio/DelayNode.h: * Modules/webaudio/DelayProcessor.cpp: (WebCore::DelayProcessor::DelayProcessor): * Modules/webaudio/DelayProcessor.h: * Modules/webaudio/DistanceModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DistanceModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DynamicsCompressorNode.cpp: (WebCore::DynamicsCompressorNode::DynamicsCompressorNode): * Modules/webaudio/DynamicsCompressorNode.h: * Modules/webaudio/GainNode.cpp: (WebCore::GainNode::GainNode): * Modules/webaudio/GainNode.h: * Modules/webaudio/MediaElementAudioSourceNode.cpp: (WebCore::MediaElementAudioSourceNode::create): (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode): (WebCore::MediaElementAudioSourceNode::setFormat): * Modules/webaudio/MediaElementAudioSourceNode.h: * Modules/webaudio/MediaStreamAudioDestinationNode.cpp: (WebCore::MediaStreamAudioDestinationNode::create): (WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode): * Modules/webaudio/MediaStreamAudioDestinationNode.h: * Modules/webaudio/MediaStreamAudioSourceNode.cpp: (WebCore::MediaStreamAudioSourceNode::create): (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode): * Modules/webaudio/MediaStreamAudioSourceNode.h: * Modules/webaudio/OfflineAudioContext.idl: * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode): * Modules/webaudio/OfflineAudioDestinationNode.h: * Modules/webaudio/OscillatorNode.cpp: (WebCore::OscillatorNode::create): (WebCore::OscillatorNode::OscillatorNode): * Modules/webaudio/OscillatorNode.h: * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNodeBase::PannerNodeBase): (WebCore::PannerNode::PannerNode): * Modules/webaudio/PannerNode.h: * Modules/webaudio/PannerNode.idl: * Modules/webaudio/PanningModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/PanningModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/ScriptProcessorNode.cpp: (WebCore::ScriptProcessorNode::create): (WebCore::ScriptProcessorNode::ScriptProcessorNode): * Modules/webaudio/ScriptProcessorNode.h: * Modules/webaudio/WaveShaperNode.cpp: (WebCore::WaveShaperNode::WaveShaperNode): * Modules/webaudio/WaveShaperNode.h: * Modules/webaudio/WebKitAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/AudioContext.cpp. (WebCore::WebKitAudioContext::isSampleRateRangeGood): (WebCore::WebKitAudioContext::create): (WebCore::WebKitAudioContext::WebKitAudioContext): (WebCore::WebKitAudioContext::constructCommon): (WebCore::WebKitAudioContext::~WebKitAudioContext): (WebCore::WebKitAudioContext::lazyInitialize): (WebCore::WebKitAudioContext::clear): (WebCore::WebKitAudioContext::uninitialize): (WebCore::WebKitAudioContext::isInitialized const): (WebCore::WebKitAudioContext::addReaction): (WebCore::WebKitAudioContext::setState): (WebCore::WebKitAudioContext::stop): (WebCore::WebKitAudioContext::suspend): (WebCore::WebKitAudioContext::resume): (WebCore::WebKitAudioContext::activeDOMObjectName const): (WebCore::WebKitAudioContext::hostingDocumentIdentifier const): (WebCore::WebKitAudioContext::isSuspended const): (WebCore::WebKitAudioContext::visibilityStateChanged): (WebCore::WebKitAudioContext::wouldTaintOrigin const): (WebCore::WebKitAudioContext::createBuffer): (WebCore::WebKitAudioContext::decodeAudioData): (WebCore::WebKitAudioContext::createBufferSource): (WebCore::WebKitAudioContext::createMediaElementSource): (WebCore::WebKitAudioContext::createMediaStreamSource): (WebCore::WebKitAudioContext::createMediaStreamDestination): (WebCore::WebKitAudioContext::createScriptProcessor): (WebCore::WebKitAudioContext::createBiquadFilter): (WebCore::WebKitAudioContext::createWaveShaper): (WebCore::WebKitAudioContext::createPanner): (WebCore::WebKitAudioContext::createConvolver): (WebCore::WebKitAudioContext::createDynamicsCompressor): (WebCore::WebKitAudioContext::createAnalyser): (WebCore::WebKitAudioContext::createGain): (WebCore::WebKitAudioContext::createDelay): (WebCore::WebKitAudioContext::createChannelSplitter): (WebCore::WebKitAudioContext::createChannelMerger): (WebCore::WebKitAudioContext::createOscillator): (WebCore::WebKitAudioContext::createPeriodicWave): (WebCore::WebKitAudioContext::notifyNodeFinishedProcessing): (WebCore::WebKitAudioContext::derefFinishedSourceNodes): (WebCore::WebKitAudioContext::refNode): (WebCore::WebKitAudioContext::derefNode): (WebCore::WebKitAudioContext::derefUnfinishedSourceNodes): (WebCore::WebKitAudioContext::lock): (WebCore::WebKitAudioContext::tryLock): (WebCore::WebKitAudioContext::unlock): (WebCore::WebKitAudioContext::isAudioThread const): (WebCore::WebKitAudioContext::isGraphOwner const): (WebCore::WebKitAudioContext::addDeferredFinishDeref): (WebCore::WebKitAudioContext::handlePreRenderTasks): (WebCore::WebKitAudioContext::handlePostRenderTasks): (WebCore::WebKitAudioContext::handleDeferredFinishDerefs): (WebCore::WebKitAudioContext::markForDeletion): (WebCore::WebKitAudioContext::scheduleNodeDeletion): (WebCore::WebKitAudioContext::deleteMarkedNodes): (WebCore::WebKitAudioContext::markSummingJunctionDirty): (WebCore::WebKitAudioContext::removeMarkedSummingJunction): (WebCore::WebKitAudioContext::markAudioNodeOutputDirty): (WebCore::WebKitAudioContext::handleDirtyAudioSummingJunctions): (WebCore::WebKitAudioContext::handleDirtyAudioNodeOutputs): (WebCore::WebKitAudioContext::addAutomaticPullNode): (WebCore::WebKitAudioContext::removeAutomaticPullNode): (WebCore::WebKitAudioContext::updateAutomaticPullNodes): (WebCore::WebKitAudioContext::processAutomaticPullNodes): (WebCore::WebKitAudioContext::nodeWillBeginPlayback): (WebCore::shouldDocumentAllowWebAudioToAutoPlay): (WebCore::WebKitAudioContext::willBeginPlayback): (WebCore::WebKitAudioContext::willPausePlayback): (WebCore::WebKitAudioContext::startRendering): (WebCore::WebKitAudioContext::mediaCanStart): (WebCore::WebKitAudioContext::mediaState const): (WebCore::WebKitAudioContext::pageMutedStateDidChange): (WebCore::WebKitAudioContext::isPlayingAudioDidChange): (WebCore::WebKitAudioContext::finishedRendering): (WebCore::WebKitAudioContext::dispatchEvent): (WebCore::WebKitAudioContext::incrementActiveSourceCount): (WebCore::WebKitAudioContext::decrementActiveSourceCount): (WebCore::WebKitAudioContext::suspendRendering): (WebCore::WebKitAudioContext::resumeRendering): (WebCore::WebKitAudioContext::close): (WebCore::WebKitAudioContext::suspendPlayback): (WebCore::WebKitAudioContext::mayResumePlayback): (WebCore::WebKitAudioContext::postTask): (WebCore::WebKitAudioContext::origin const): (WebCore::WebKitAudioContext::addConsoleMessage): (WebCore::WebKitAudioContext::clearPendingActivity): (WebCore::WebKitAudioContext::makePendingActivity): (WebCore::WebKitAudioContext::logChannel const): * Modules/webaudio/WebKitAudioContext.h: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. (WebCore::WebKitAudioContext::destination): (WebCore::WebKitAudioContext::activeSourceCount const): (WebCore::WebKitAudioContext::listener): (WebCore::WebKitAudioContext::isClosed const): (WebCore::WebKitAudioContext::connectionCount const): (WebCore::WebKitAudioContext::audioThread const): (WebCore::WebKitAudioContext::maxNumberOfChannels): (WebCore::WebKitAudioContext::userGestureRequiredForAudioStart const): (WebCore::WebKitAudioContext::pageConsentRequiredForAudioStart const): (WebCore::WebKitAudioContext::state const): (isType): * Modules/webaudio/WebKitAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/AudioContext.idl. * Modules/webaudio/WebKitAudioPannerNode.cpp: Copied from Source/WebCore/Modules/webaudio/PannerNode.cpp. (WebCore::fixNANs): (WebCore::WebKitAudioPannerNode::WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::~WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::pullInputs): (WebCore::WebKitAudioPannerNode::process): (WebCore::WebKitAudioPannerNode::reset): (WebCore::WebKitAudioPannerNode::initialize): (WebCore::WebKitAudioPannerNode::uninitialize): (WebCore::WebKitAudioPannerNode::listener): (WebCore::WebKitAudioPannerNode::setPanningModel): (WebCore::WebKitAudioPannerNode::distanceModel const): (WebCore::WebKitAudioPannerNode::setDistanceModel): (WebCore::WebKitAudioPannerNode::getAzimuthElevation): (WebCore::WebKitAudioPannerNode::dopplerRate): (WebCore::WebKitAudioPannerNode::distanceConeGain): (WebCore::WebKitAudioPannerNode::notifyAudioSourcesConnectedToNode): * Modules/webaudio/WebKitAudioPannerNode.h: Copied from Source/WebCore/Modules/webaudio/PannerNode.h. * Modules/webaudio/WebKitAudioPannerNode.idl: Copied from Source/WebCore/Modules/webaudio/PannerNode.idl. * Modules/webaudio/WebKitOfflineAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/DelayNode.cpp. (WebCore::WebKitOfflineAudioContext::WebKitOfflineAudioContext): (WebCore::WebKitOfflineAudioContext::create): * Modules/webaudio/WebKitOfflineAudioContext.h: Copied from Source/WebCore/Modules/webaudio/DelayNode.h. * Modules/webaudio/WebKitOfflineAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: * page/Settings.yaml: * testing/Internals.cpp: (WebCore::Internals::setAudioContextRestrictions): * testing/Internals.h: * testing/Internals.idl: Source/WebKit: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. * Shared/WebPreferences.yaml: Canonical link: https://commits.webkit.org/226120@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-18 04:14:13 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDistanceModelType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDistanceModelType.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+CSSOMView.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+CSSOMView.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+Fullscreen.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+Fullscreen.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+HTML.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+HTML.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+HTMLObsolete.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+HTMLObsolete.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+PageVisibility.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+PageVisibility.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+PictureInPicture.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+PictureInPicture.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+PointerLock.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+PointerLock.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+SVG.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+SVG.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+Selection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+Selection.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+StorageAccess.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+StorageAccess.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+Touch.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+Touch.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+UndoMananger.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+UndoMananger.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+WebAnimations.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument+WebAnimations.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocument.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentAndElementEventHandlers.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentAndElementEventHandlers.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentAnimations.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentAnimations.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentFragment.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentFragment.h
Refactoring: Pull all fullscreen code out of Document and into its own helper class https://bugs.webkit.org/show_bug.cgi?id=197017 Reviewed by Eric Carlson. Source/WebCore: * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * css/CSSDefaultStyleSheets.cpp: (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement): * css/SelectorCheckerTestFunctions.h: (WebCore::matchesFullScreenPseudoClass): (WebCore::matchesFullScreenAnimatingFullScreenTransitionPseudoClass): (WebCore::matchesFullScreenDocumentPseudoClass): (WebCore::matchesFullScreenControlsHiddenPseudoClass): * dom/Document.cpp: (WebCore::Document::removedLastRef): (WebCore::Document::prepareForDestruction): (WebCore::Document::nodeChildrenWillBeRemoved): (WebCore::Document::nodeWillBeRemoved): (WebCore::isAttributeOnAllOwners): Deleted. (WebCore::Document::fullScreenIsAllowedForElement const): Deleted. (WebCore::Document::requestFullScreenForElement): Deleted. (WebCore::Document::webkitCancelFullScreen): Deleted. (WebCore::Document::webkitExitFullscreen): Deleted. (WebCore::Document::webkitFullscreenEnabled const): Deleted. (WebCore::unwrapFullScreenRenderer): Deleted. (WebCore::Document::webkitWillEnterFullScreen): Deleted. (WebCore::Document::webkitDidEnterFullScreen): Deleted. (WebCore::Document::webkitWillExitFullScreen): Deleted. (WebCore::Document::webkitDidExitFullScreen): Deleted. (WebCore::Document::setFullScreenRenderer): Deleted. (WebCore::Document::dispatchFullScreenChangeEvents): Deleted. (WebCore::Document::dispatchFullScreenChangeOrErrorEvent): Deleted. (WebCore::Document::fullScreenElementRemoved): Deleted. (WebCore::Document::adjustFullScreenElementOnNodeRemoval): Deleted. (WebCore::Document::isAnimatingFullScreen const): Deleted. (WebCore::Document::setAnimatingFullScreen): Deleted. (WebCore::Document::areFullscreenControlsHidden const): Deleted. (WebCore::Document::setFullscreenControlsHidden): Deleted. (WebCore::Document::clearFullscreenElementStack): Deleted. (WebCore::Document::popFullscreenElementStack): Deleted. (WebCore::Document::pushFullscreenElementStack): Deleted. (WebCore::Document::addDocumentToFullScreenChangeEventQueue): Deleted. * dom/Document.h: (WebCore::Document::fullscreenManager): (WebCore::Document::webkitIsFullScreen const): Deleted. (WebCore::Document::webkitFullScreenKeyboardInputAllowed const): Deleted. (WebCore::Document::webkitCurrentFullScreenElement const): Deleted. (WebCore::Document::webkitCurrentFullScreenElementForBindings const): Deleted. (WebCore::Document::fullScreenRenderer const): Deleted. (WebCore::Document::webkitFullscreenElement const): Deleted. (WebCore::Document::webkitFullscreenElementForBindings const): Deleted. * dom/Document.idl: * dom/DocumentFullscreen.h: (WebCore::DocumentFullscreen::webkitFullscreenEnabled): (WebCore::DocumentFullscreen::webkitFullscreenElement): (WebCore::DocumentFullscreen::webkitExitFullscreen): (WebCore::DocumentFullscreen::webkitIsFullScreen): (WebCore::DocumentFullscreen::webkitFullScreenKeyboardInputAllowed): (WebCore::DocumentFullscreen::webkitCurrentFullScreenElement): (WebCore::DocumentFullscreen::webkitCancelFullScreen): * dom/DocumentFullscreen.idl: * dom/Element.cpp: (WebCore::Element::webkitRequestFullscreen): * dom/EventPath.cpp: (WebCore::shouldEventCrossShadowBoundary): * dom/FullscreenManager.cpp: Added. (WebCore::isAttributeOnAllOwners): (WebCore::FullscreenManager::FullscreenManager): (WebCore::FullscreenManager::fullscreenIsAllowedForElement const): (WebCore::FullscreenManager::requestFullscreenForElement): (WebCore::FullscreenManager::cancelFullscreen): (WebCore::FullscreenManager::requestExitFullscreen): (WebCore::FullscreenManager::exitFullscreen): (WebCore::FullscreenManager::isFullscreenEnabled const): (WebCore::unwrapFullscreenRenderer): (WebCore::FullscreenManager::willEnterFullscreen): (WebCore::FullscreenManager::didEnterFullscreen): (WebCore::FullscreenManager::willExitFullscreen): (WebCore::FullscreenManager::didExitFullscreen): (WebCore::FullscreenManager::setFullscreenRenderer): (WebCore::FullscreenManager::dispatchFullscreenChangeEvents): (WebCore::FullscreenManager::dispatchFullscreenChangeOrErrorEvent): (WebCore::FullscreenManager::fullscreenElementRemoved): (WebCore::FullscreenManager::adjustFullscreenElementOnNodeRemoval): (WebCore::FullscreenManager::isAnimatingFullscreen const): (WebCore::FullscreenManager::setAnimatingFullscreen): (WebCore::FullscreenManager::areFullscreenControlsHidden const): (WebCore::FullscreenManager::setFullscreenControlsHidden): (WebCore::FullscreenManager::clear): (WebCore::FullscreenManager::emptyEventQueue): (WebCore::FullscreenManager::clearFullscreenElementStack): (WebCore::FullscreenManager::popFullscreenElementStack): (WebCore::FullscreenManager::pushFullscreenElementStack): (WebCore::FullscreenManager::addDocumentToFullscreenChangeEventQueue): * dom/FullscreenManager.h: Added. (WebCore::FullscreenManager::document): (WebCore::FullscreenManager::document const): (WebCore::FullscreenManager::topDocument const): (WebCore::FullscreenManager::page const): (WebCore::FullscreenManager::frame const): (WebCore::FullscreenManager::documentElement const): (WebCore::FullscreenManager::hasLivingRenderTree const): (WebCore::FullscreenManager::pageCacheState const): (WebCore::FullscreenManager::scheduleFullStyleRebuild): (WebCore::FullscreenManager::fullscreenElement const): (WebCore::FullscreenManager::isFullscreen const): (WebCore::FullscreenManager::isFullscreenKeyboardInputAllowed const): (WebCore::FullscreenManager::currentFullscreenElement const): (WebCore::FullscreenManager::fullscreenRenderer const): * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::isFullscreen const): (WebCore::HTMLMediaElement::isStandardFullscreen const): (WebCore::HTMLMediaElement::enterFullscreen): (WebCore::HTMLMediaElement::exitFullscreen): * html/MediaElementSession.cpp: (WebCore::MediaElementSession::canShowControlsManager const): * html/shadow/MediaControlElements.cpp: (WebCore::MediaControlFullscreenButtonElement::defaultEventHandler): * inspector/agents/InspectorDOMAgent.cpp: * page/EventHandler.cpp: (WebCore::EventHandler::isKeyEventAllowedInFullScreen const): (WebCore::EventHandler::internalKeyEvent): * page/Page.cpp: (WebCore::Page::setFullscreenControlsHidden): * rendering/RenderFullScreen.cpp: (WebCore::RenderFullScreen::wrapNewRenderer): (WebCore::RenderFullScreen::wrapExistingRenderer): * rendering/RenderLayerCompositor.cpp: (WebCore::isDescendantOfFullScreenLayer): * rendering/updating/RenderTreeBuilder.h: * rendering/updating/RenderTreeBuilderInline.cpp: (WebCore::RenderTreeBuilder::Inline::splitInlines): * rendering/updating/RenderTreeUpdater.cpp: (WebCore::RenderTreeUpdater::createRenderer): * style/StyleSharingResolver.cpp: (WebCore::Style::SharingResolver::canShareStyleWithElement const): * testing/Internals.cpp: (WebCore::Internals::webkitWillEnterFullScreenForElement): (WebCore::Internals::webkitDidEnterFullScreenForElement): (WebCore::Internals::webkitWillExitFullScreenForElement): (WebCore::Internals::webkitDidExitFullScreenForElement): (WebCore::Internals::isAnimatingFullScreen const): Source/WebKit: * WebProcess/FullScreen/WebFullScreenManager.cpp: (WebKit::WebFullScreenManager::willEnterFullScreen): (WebKit::WebFullScreenManager::didEnterFullScreen): (WebKit::WebFullScreenManager::willExitFullScreen): (WebKit::WebFullScreenManager::didExitFullScreen): (WebKit::WebFullScreenManager::setAnimatingFullScreen): (WebKit::WebFullScreenManager::requestExitFullScreen): * WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentGtk.cpp: (webkit_dom_document_webkit_cancel_fullscreen): (webkit_dom_document_webkit_exit_fullscreen): (webkit_dom_document_get_webkit_is_fullscreen): (webkit_dom_document_get_webkit_fullscreen_keyboard_input_allowed): (webkit_dom_document_get_webkit_current_fullscreen_element): (webkit_dom_document_get_webkit_fullscreen_element): * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::createWindow): Source/WebKitLegacy/mac: * DOM/DOMDocument.mm: (-[DOMDocument webkitIsFullScreen]): (-[DOMDocument webkitFullScreenKeyboardInputAllowed]): (-[DOMDocument webkitCurrentFullScreenElement]): (-[DOMDocument webkitFullscreenEnabled]): (-[DOMDocument webkitFullscreenElement]): (-[DOMDocument webkitCancelFullScreen]): (-[DOMDocument webkitExitFullscreen]): * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::createWindow): * WebCoreSupport/WebKitFullScreenListener.mm: (-[WebKitFullScreenListener webkitWillEnterFullScreen]): (-[WebKitFullScreenListener webkitDidEnterFullScreen]): (-[WebKitFullScreenListener webkitWillExitFullScreen]): (-[WebKitFullScreenListener webkitDidExitFullScreen]): * WebView/WebFullScreenController.mm: (-[WebFullScreenController enterFullScreen:]): (-[WebFullScreenController finishedEnterFullScreenAnimation:]): (-[WebFullScreenController requestExitFullScreen]): (-[WebFullScreenController exitFullScreen]): (-[WebFullScreenController finishedExitFullScreenAnimation:]): (-[WebFullScreenController _manager]): * WebView/WebView.mm: (-[WebView _didStartProvisionalLoadForFrame:]): Source/WebKitLegacy/win: * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::createWindow): * WebView.cpp: (WebView::fullScreenClientWillEnterFullScreen): (WebView::fullScreenClientDidEnterFullScreen): (WebView::fullScreenClientWillExitFullScreen): (WebView::fullScreenClientDidExitFullScreen): Canonical link: https://commits.webkit.org/211322@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-04-18 22:16:54 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentFullscreen.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentFullscreen.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentHTML.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentHTML.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentHTMLObsolete.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentHTMLObsolete.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRoot+CSSOM.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRoot+CSSOM.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRoot+PictureInPicture.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRoot+PictureInPicture.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRoot+PointerLock.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRoot+PointerLock.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRoot+WebAnimations.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRoot+WebAnimations.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRoot.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRoot.h
[WebIDL] Add support for partial interface mixins https://bugs.webkit.org/show_bug.cgi?id=216255 Reviewed by Darin Adler. Add support for WebIDL 'partial interface mixins' and adopt them for a few supplements of the DocumentOrShadowRoot mixin. * CMakeLists.txt: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * dom/DocumentOrShadowRoot.idl: * css/DocumentOrShadowRootStyleSheets.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Added. Add new split-out IDLs. * bindings/scripts/CodeGenerator.pm: (GenerateEmptyHeaderAndCpp): Move empty file generation here (from generate-bindings.pl), allowing for a simplified compilation model, where all IDLs given to generate-bindings.pl now instantiate the CodeGenerator and it is the CodeGenerators job to figure out if the file needs anything generated. This allows the dependencies file to get out of the business of indicating that an IDL doesn't need generation, and stick to just listing dependencies. This is important now that dependencies like interface mixins can now have depencies of their own, partial interface mixins. (ProcessInterfaces): (ProcessDictionaries): Move logic to avoid generation of mixins and partials here. (ProcessInterfaceSupplementalDependencies): Support recursively processing supplemental dependencies for partial interface mixins. Ensure that we don't evaluate exposure when doing this, as that should only happen on the final interface. (shouldPropertyBeExposed): Move all logic for exposure here, rather than splitting it up between here and ProcessInterfaceSupplementalDependencies/ProcessDictionarySupplementalDependencies * bindings/scripts/generate-bindings.pl: (generateBindings): (generateEmptyHeaderAndCpp): Deleted. Remove support for unused additionalIdlFiles option and simplify things by having CodeGenerator work out whether it should generate an empty set of files based on the files themselves rather than inferring it from the dependency information. * bindings/scripts/preprocess-idls.pl: (getPartialNamesFromIDL): Add support for properly parsing partial interface mixins and stop disallowing dependencies, like a mixin interface, from having its own dependences. * bindings/scripts/test/JS/JSTestConditionalIncludes.cpp: * bindings/scripts/test/JS/JSTestConditionalIncludes.h: * bindings/scripts/test/JS/JSTestIncludes.cpp: Removed. * bindings/scripts/test/JS/JSTestIncludes.h: Removed. * bindings/scripts/test/JS/JSTestInterface.cpp: * bindings/scripts/test/JS/JSTestInterface.h: * bindings/scripts/test/JS/JSTestMixinInterface.cpp: Added. * bindings/scripts/test/JS/JSTestMixinInterface.h: Added. * bindings/scripts/test/JS/JSTestPartialMixinInterface.cpp: Added. * bindings/scripts/test/JS/JSTestPartialMixinInterface.h: Added. * bindings/scripts/test/SupplementalDependencies.dep: * bindings/scripts/test/TestConditionalIncludes.idl: * bindings/scripts/test/TestIncludes.idl: Removed. * bindings/scripts/test/TestInterface.idl: * bindings/scripts/test/TestMixinInterface.idl: Added. * bindings/scripts/test/TestObj.idl: * bindings/scripts/test/TestPartialMixinInterface.idl: Added. Rename TestIncludes to TestMixinInterface (since that is what it is testing) and add TestPartialMixinInterface to test partial interface mixins. Canonical link: https://commits.webkit.org/229118@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-08 21:46:10 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRootAnimations.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRootAnimations.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRootPictureInPicture.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRootPictureInPicture.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRootPointerLock.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRootPointerLock.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRootStyleSheets.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentOrShadowRootStyleSheets.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentPageVisibility.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentPageVisibility.h
[Picture-in-Picture Web API] Implement HTMLVideoElement.requestPictureInPicture() / Document.exitPictureInPicture() https://bugs.webkit.org/show_bug.cgi?id=201024 Patch by Peng Liu <peng.liu6@apple.com> on 2019-10-15 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Import wpt/picture-in-picture. * resources/import-expectations.json: * web-platform-tests/picture-in-picture/META.yml: Added. * web-platform-tests/picture-in-picture/css-selector.html: Added. * web-platform-tests/picture-in-picture/disable-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/enter-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/exit-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/idlharness.window.html: Added. * web-platform-tests/picture-in-picture/idlharness.window.js: Added. * web-platform-tests/picture-in-picture/leave-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/mediastream.html: Added. * web-platform-tests/picture-in-picture/picture-in-picture-element.html: Added. * web-platform-tests/picture-in-picture/picture-in-picture-window.html: Added. * web-platform-tests/picture-in-picture/request-picture-in-picture-twice.html: Added. * web-platform-tests/picture-in-picture/request-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/resources/picture-in-picture-helpers.js: Added. (loadVideo): (async.requestPictureInPictureWithTrustedClick): * web-platform-tests/picture-in-picture/resources/w3c-import.log: Added. * web-platform-tests/picture-in-picture/shadow-dom.html: Added. * web-platform-tests/picture-in-picture/w3c-import.log: Added. Source/JavaScriptCore: Add configurations for Picture-in-Picture API. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Implement the support to enter and exit PiP mode with the Picture-in-Picture API. Majority work of this patch was done by Carlos Eduardo Ramalho <cadubentzen@gmail.com>. Also, fix a build error of Modules/webaudio/OfflineAudioContext.cpp because of this patch (due to unified build). Tests: imported/w3c/web-platform-tests/picture-in-picture/css-selector.html imported/w3c/web-platform-tests/picture-in-picture/disable-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/enter-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/exit-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/idlharness.window.html imported/w3c/web-platform-tests/picture-in-picture/leave-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/mediastream.html imported/w3c/web-platform-tests/picture-in-picture/picture-in-picture-element.html imported/w3c/web-platform-tests/picture-in-picture/picture-in-picture-window.html imported/w3c/web-platform-tests/picture-in-picture/request-picture-in-picture-twice.html imported/w3c/web-platform-tests/picture-in-picture/request-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/shadow-dom.html * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/pictureinpicture/DocumentPictureInPicture.cpp: Added. (WebCore::DocumentPictureInPicture::exitPictureInPicture): (WebCore::DocumentPictureInPicture::from): * Modules/pictureinpicture/DocumentPictureInPicture.h: Added. (WebCore::DocumentPictureInPicture::pictureInPictureEnabled): (WebCore::DocumentPictureInPicture::supplementName): * Modules/pictureinpicture/DocumentPictureInPicture.idl: Added. * Modules/pictureinpicture/EnterPictureInPictureEvent.cpp: Added. (WebCore::EnterPictureInPictureEvent::create): (WebCore::EnterPictureInPictureEvent::EnterPictureInPictureEvent): * Modules/pictureinpicture/EnterPictureInPictureEvent.h: Added. * Modules/pictureinpicture/EnterPictureInPictureEvent.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.cpp: Added. (WebCore::HTMLVideoElementPictureInPicture::HTMLVideoElementPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::~HTMLVideoElementPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::from): (WebCore::HTMLVideoElementPictureInPicture::requestPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::autoPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::setAutoPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::disablePictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::setDisablePictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::exitPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::didEnterPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::didExitPictureInPicture): * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.h: Added. (WebCore::HTMLVideoElementPictureInPicture::supplementName): * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Added. * Modules/pictureinpicture/PictureInPictureWindow.cpp: Added. (WebCore::PictureInPictureWindow::create): (WebCore::PictureInPictureWindow::PictureInPictureWindow): (WebCore::PictureInPictureWindow::activeDOMObjectName const): (WebCore::PictureInPictureWindow::canSuspendForDocumentSuspension const): (WebCore::PictureInPictureWindow::eventTargetInterface const): (WebCore::PictureInPictureWindow::scriptExecutionContext const): * Modules/pictureinpicture/PictureInPictureWindow.h: Added. * Modules/pictureinpicture/PictureInPictureWindow.idl: Added. * Modules/webaudio/OfflineAudioContext.cpp: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/Document.cpp: (WebCore::Document::pictureInPictureElement const): (WebCore::Document::setPictureInPictureElement): * dom/Document.h: * dom/DocumentOrShadowRoot.idl: * dom/EventNames.h: * dom/EventNames.in: * dom/EventTargetFactory.in: * dom/ShadowRoot.cpp: (WebCore::ShadowRoot::pictureInPictureElement const): * dom/ShadowRoot.h: * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::fullscreenModeChanged): (WebCore::HTMLVideoElement::setPictureInPictureObserver): * html/HTMLVideoElement.h: * page/Settings.yaml: * platform/PictureInPictureObserver.h: Added. (WebCore::PictureInPictureObserver::~PictureInPictureObserver): * testing/InternalSettings.h: Source/WebCore/PAL: Add configurations for the Picture-in-Picture API. * Configurations/FeatureDefines.xcconfig: Source/WebKit: Add configurations for Picture-in-Picture API and add a preference option for it. * Configurations/FeatureDefines.xcconfig: * Shared/WebPreferences.yaml: Source/WebKitLegacy/mac: Add configurations for Picture-in-Picture API and also a preference option for it. * Configurations/FeatureDefines.xcconfig: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences pictureInPictureAPIEnabled]): (-[WebPreferences setPictureInPictureAPIEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Tools: Add configurations for Picture-in-Picture API and enable it in the test runner. * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setPictureInPictureAPIEnabled): * WebKitTestRunner/InjectedBundle/TestRunner.h: LayoutTests: Skip imported/w3c/web-platform-tests/picture-in-picture because of http://webkit.org/b/202617. * TestExpectations: * tests-options.json: Canonical link: https://commits.webkit.org/216437@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-15 22:06:23 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentPictureInPicture.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentPictureInPicture.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentPointerLock.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentPointerLock.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentScrolling.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentScrolling.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentSelection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentSelection.h
Storage Access API: Make two changes requested by developers and complete refactoring and cleanup https://bugs.webkit.org/show_bug.cgi?id=197648 <rdar://problem/50527493> Reviewed by Chris Dumez. Source/WebCore: Developers have requested two minor changes to the Storage Access API: - Only consume the user gesture when the user explicitly denies access. - Make document.hasStorageAccess() return true instead of false when the feature is off. In addition to this, we have refactoring and cleanup to do. Namely: - Make use of WebCore::RegistrableDomain all the way. - Remove dead code in WebKit::NetworkProcess since the calls now go through NetworkConnectionToWebProcess. - Introduce boolean enums for state handling. - Break out the Storage Access API functionality into a supplement of WebCore::Document. Reviewed by Chris Dumez. Tests: http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture.html http/tests/storageAccess/deny-without-prompt-preserves-gesture.html http/tests/storageAccess/grant-with-prompt-preserves-gesture.html http/tests/storageAccess/has-storage-access-true-if-feature-off.html * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.cpp: (WebCore::Document::hasStorageAccess): Deleted. (WebCore::Document::requestStorageAccess): Deleted. (WebCore::Document::enableTemporaryTimeUserGesture): Deleted. (WebCore::Document::consumeTemporaryTimeUserGesture): Deleted. (WebCore::Document::hasFrameSpecificStorageAccess const): Deleted. (WebCore::Document::setHasFrameSpecificStorageAccess): Deleted. * dom/Document.h: (WebCore::Document::setUserGrantsStorageAccessOverride): Deleted. All of this has been moved to the supplement WebCore::DocumentStorageAccess. * dom/Document.idl: The Storage Access API has been moved to DocumentStorageAccess.idl. * dom/DocumentStorageAccess.cpp: Added. (WebCore::DocumentStorageAccess::from): (WebCore::DocumentStorageAccess::supplementName): (WebCore::DocumentStorageAccess::hasStorageAccess): (WebCore::DocumentStorageAccess::requestStorageAccess): (WebCore::DocumentStorageAccess::enableTemporaryTimeUserGesture): (WebCore::DocumentStorageAccess::consumeTemporaryTimeUserGesture): (WebCore::DocumentStorageAccess::hasFrameSpecificStorageAccess const): (WebCore::DocumentStorageAccess::setHasFrameSpecificStorageAccess): * dom/DocumentStorageAccess.h: Added. * dom/DocumentStorageAccess.idl: Added. * page/ChromeClient.h: * testing/Internals.cpp: (WebCore::Internals::setUserGrantsStorageAccess): Deleted. This was dead code. * testing/Internals.h: * testing/Internals.idl: Source/WebKit: Developers have requested two minor changes to the Storage Access API: - Only consume the user gesture when the user explicitly denies access. - Make document.hasStorageAccess() return true instead of false when the feature is off. In addition to this, we have refactoring and cleanup to do. Namely: - Make use of WebCore::RegistrableDomain all the way. - Remove dead code in WebKit::NetworkProcess since the calls now go through NetworkConnectionToWebProcess. - Introduce boolean enums for state handling. - Break out the Storage Access API functionality into a supplement of WebCore::Document. * NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp: (WebKit::ResourceLoadStatisticsDatabaseStore::insertDomainRelationships): (WebKit::ResourceLoadStatisticsDatabaseStore::requestStorageAccess): (WebKit::ResourceLoadStatisticsDatabaseStore::requestStorageAccessUnderOpener): (WebKit::ResourceLoadStatisticsDatabaseStore::grantStorageAccess): (WebKit::ResourceLoadStatisticsDatabaseStore::grantStorageAccessInternal): (WebKit::ResourceLoadStatisticsDatabaseStore::hasUserGrantedStorageAccessThroughPrompt const): These changes are due to the new enums WebCore::StorageAccessWasGranted and WebCore::StorageAccessPromptWasShown. * NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.h: * NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.cpp: (WebKit::ResourceLoadStatisticsMemoryStore::requestStorageAccess): (WebKit::ResourceLoadStatisticsMemoryStore::requestStorageAccessUnderOpener): (WebKit::ResourceLoadStatisticsMemoryStore::grantStorageAccess): (WebKit::ResourceLoadStatisticsMemoryStore::grantStorageAccessInternal): (WebKit::ResourceLoadStatisticsMemoryStore::hasUserGrantedStorageAccessThroughPrompt): These changes are due to the new enums WebCore::StorageAccessWasGranted and WebCore::StorageAccessPromptWasShown. * NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.h: * NetworkProcess/Classifier/ResourceLoadStatisticsStore.h: These changes are due to the new enums WebCore::StorageAccessWasGranted and WebCore::StorageAccessPromptWasShown. * NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp: (WebKit::WebResourceLoadStatisticsStore::requestStorageAccess): (WebKit::WebResourceLoadStatisticsStore::grantStorageAccess): (WebKit::WebResourceLoadStatisticsStore::callGrantStorageAccessHandler): These changes are due to the new enums WebCore::StorageAccessWasGranted and WebCore::StorageAccessPromptWasShown. (WebKit::WebResourceLoadStatisticsStore::requestStorageAccessGranted): Deleted. This function is now no longer exposed and its functionality could be folded into the existing WebResourceLoadStatisticsStore::requestStorageAccess() which is more clearly named. * NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h: * NetworkProcess/NetworkConnectionToWebProcess.cpp: (WebKit::NetworkConnectionToWebProcess::hasStorageAccess): (WebKit::NetworkConnectionToWebProcess::requestStorageAccess): These changes are due to the new enums WebCore::StorageAccessWasGranted and WebCore::StorageAccessPromptWasShown. * NetworkProcess/NetworkConnectionToWebProcess.h: * NetworkProcess/NetworkConnectionToWebProcess.messages.in: * NetworkProcess/NetworkProcess.cpp: (WebKit::NetworkProcess::hasStorageAccessForFrame): Deleted. (WebKit::NetworkProcess::hasStorageAccess): Deleted. (WebKit::NetworkProcess::requestStorageAccess): Deleted. (WebKit::NetworkProcess::requestStorageAccessGranted): Deleted. (WebKit::NetworkProcess::grantStorageAccess): Deleted. (WebKit::NetworkProcess::removeAllStorageAccess): Deleted. These functions were left behind in the move of ITP to the network process. This communication goes through WebKit::NetworkConnectionToWebProcess since a while back. * NetworkProcess/NetworkProcess.h: * NetworkProcess/NetworkProcess.messages.in: * Scripts/webkit/messages.py: Instructions for derived IPC code on how to include the new enums WebCore::StorageAccessWasGranted and WebCore::StorageAccessPromptWasShown. * UIProcess/Network/NetworkProcessProxy.cpp: (WebKit::NetworkProcessProxy::hasStorageAccessForFrame): Deleted. (WebKit::NetworkProcessProxy::hasStorageAccess): Deleted. (WebKit::NetworkProcessProxy::requestStorageAccess): Deleted. (WebKit::NetworkProcessProxy::grantStorageAccess): Deleted. (WebKit::NetworkProcessProxy::removeAllStorageAccess): Deleted. These functions were left behind in the move of ITP to the network process. This communication goes through WebKit::NetworkConnectionToWebProcess since a while back. * UIProcess/Network/NetworkProcessProxy.h: * UIProcess/WebsiteData/WebsiteDataStore.cpp: (WebKit::WebsiteDataStore::hasStorageAccess): Deleted. (WebKit::WebsiteDataStore::requestStorageAccess): Deleted. (WebKit::WebsiteDataStore::grantStorageAccess): Deleted. These functions were left behind in the move of ITP to the network process. This communication goes through WebKit::NetworkConnectionToWebProcess since a while back. * UIProcess/WebsiteData/WebsiteDataStore.h: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::hasStorageAccess): (WebKit::WebChromeClient::requestStorageAccess): These changes are due to the new enums WebCore::StorageAccessWasGranted and WebCore::StorageAccessPromptWasShown. They also receive WebCore::RegistrableDomain objects instead of Strings now. * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::hasStorageAccess): (WebKit::WebPage::requestStorageAccess): These changes are due to the new enums WebCore::StorageAccessWasGranted and WebCore::StorageAccessPromptWasShown. They also receive WebCore::RegistrableDomain objects instead of Strings now. * WebProcess/WebPage/WebPage.h: LayoutTests: The changed test cases have had calls to WebCore::Internals::setUserGrantsStorageAccess() removed since it was dead code. One of the new tests, deny-with-prompt-does-not-preserve-gesture.html, is marked [ Skip ] for now since we lack the ability to click "Don't allow" in the prompt. I wanted to include the test anyway so that we have it. I have done a manual test to make sure the code does the right thing for this case. * http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-expected.txt: Added. * http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture.html: Copied from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html. * http/tests/storageAccess/deny-without-prompt-preserves-gesture-expected.txt: Added. * http/tests/storageAccess/deny-without-prompt-preserves-gesture.html: Copied from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html. * http/tests/storageAccess/grant-with-prompt-preserves-gesture-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window-expected.txt. * http/tests/storageAccess/grant-with-prompt-preserves-gesture.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html. * http/tests/storageAccess/has-storage-access-true-if-feature-off-expected.txt: Added. * http/tests/storageAccess/has-storage-access-true-if-feature-off.html: Added. * http/tests/storageAccess/resources/request-storage-access-and-immediately-postmessage-iframe.html: * http/tests/storageAccess/resources/request-storage-access-iframe-and-pop-window.html: * http/tests/storageAccess/resources/request-storage-access-iframe.html: * http/tests/storageAccess/resources/request-storage-access-without-user-gesture-iframe.html: * http/tests/storageAccess/resources/self-navigating-frame-after-granted-access.html: * platform/mac-wk2/TestExpectations: Added expectations for the new tests. Canonical link: https://commits.webkit.org/211805@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-05-07 19:55:29 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentStorageAccess.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentStorageAccess.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentTimeline.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentTimeline.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentTimelineOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentTimelineOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentTouch.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentTouch.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentUndoMananger.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDocumentUndoMananger.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDoubleRange.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDoubleRange.h
Add support for DragEvent https://bugs.webkit.org/show_bug.cgi?id=205758 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt: * web-platform-tests/dom/nodes/Document-createEvent.https-expected.txt: Source/WebCore: Add support for DragEvent: - https://html.spec.whatwg.org/multipage/dnd.html#the-dragevent-interface Both Blink and Gecko support it. In WebKit, we had no DragEvent and we had added the dataTransfer attribute to MouseEvent instead. No new tests, updated / rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.cpp: (WebCore::Document::createEvent): * dom/DragEvent.cpp: Added. (WebCore::DragEvent::create): (WebCore::DragEvent::createForBindings): (WebCore::DragEvent::DragEvent): (WebCore::DragEvent::eventInterface const): * dom/DragEvent.h: Added. (WebCore::DragEvent::dataTransfer const): * dom/DragEvent.idl: Added. * dom/EventNames.in: * dom/MouseEvent.cpp: (WebCore::MouseEvent::create): (WebCore::MouseEvent::MouseEvent): (WebCore::MouseEvent::initMouseEvent): * dom/MouseEvent.h: * dom/MouseEvent.idl: * dom/SimulatedClick.cpp: * dom/WheelEvent.cpp: (WebCore::WheelEvent::WheelEvent): * page/EventHandler.cpp: (WebCore::EventHandler::dispatchDragEvent): Source/WebKit: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::navigateToPDFLinkWithSimulatedClick): Source/WebKitLegacy/ios: * WebView/WebPDFViewPlaceholder.mm: (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): Source/WebKitLegacy/mac: * WebView/WebPDFView.mm: (-[WebPDFView PDFViewWillClickOnLink:withURL:]): LayoutTests: Extend test coverage. * editing/pasteboard/can-read-in-dragstart-event-expected.txt: * editing/pasteboard/can-read-in-dragstart-event.html: * editing/pasteboard/data-transfer-is-unique-for-dragenter-and-dragleave-expected.txt: * editing/pasteboard/data-transfer-is-unique-for-dragenter-and-dragleave.html: * fast/events/constructors/mouse-event-constructor-expected.txt: * fast/events/constructors/mouse-event-constructor.html: * fast/events/init-events-expected.txt: * fast/events/init-events.html: * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: Canonical link: https://commits.webkit.org/218904@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-04 07:05:25 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDragEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDragEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDynamicsCompressorNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDynamicsCompressorNode.h
Add constructor for DynamicsCompressorNode https://bugs.webkit.org/show_bug.cgi?id=215180 Reviewed by Geoffrey Garen. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-dynamics-compressor-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor-expected.txt: Source/WebCore: Add constructor for DynamicsCompressorNode: - https://webaudio.github.io/web-audio-api/#dynamicscompressornode This patch also add a new handleAudioNodeOptions() member function to AudioNode to avoid code duplication and every node constructor. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AnalyserNode.cpp: (WebCore::AnalyserNode::create): * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::AudioNode): (WebCore::AudioNode::initializeDefaultNodeOptions): (WebCore::AudioNode::handleAudioNodeOptions): * Modules/webaudio/AudioNode.h: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createDynamicsCompressor): * Modules/webaudio/BiquadFilterNode.cpp: (WebCore::BiquadFilterNode::create): * Modules/webaudio/ChannelMergerNode.cpp: (WebCore::ChannelMergerNode::create): * Modules/webaudio/ChannelSplitterNode.cpp: (WebCore::ChannelSplitterNode::create): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::create): (WebCore::ConvolverNode::ConvolverNode): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/DynamicsCompressorNode.cpp: (WebCore::DynamicsCompressorNode::create): (WebCore::DynamicsCompressorNode::DynamicsCompressorNode): (WebCore::DynamicsCompressorNode::setChannelCount): (WebCore::DynamicsCompressorNode::setChannelCountMode): * Modules/webaudio/DynamicsCompressorNode.h: * Modules/webaudio/DynamicsCompressorNode.idl: * Modules/webaudio/DynamicsCompressorOptions.h: Copied from Source/WebCore/Modules/webaudio/DynamicsCompressorNode.idl. * Modules/webaudio/DynamicsCompressorOptions.idl: Copied from Source/WebCore/Modules/webaudio/DynamicsCompressorNode.idl. * Modules/webaudio/GainNode.cpp: (WebCore::GainNode::create): * Modules/webaudio/OscillatorNode.cpp: (WebCore::OscillatorNode::create): * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNode::create): (WebCore::PannerNode::PannerNode): * Modules/webaudio/WaveShaperNode.cpp: (WebCore::WaveShaperNode::create): * Modules/webaudio/WebKitAudioPannerNode.cpp: (WebCore::WebKitAudioPannerNode::WebKitAudioPannerNode): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227987@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-05 22:18:28 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDynamicsCompressorOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSDynamicsCompressorOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTBlendMinMax.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTBlendMinMax.h
REGRESSION (r256784?): Shadertoy demo no longer works in Safari https://bugs.webkit.org/show_bug.cgi?id=210994 Patch by Kenneth Russell <kbr@chromium.org> on 2020-04-29 Reviewed by Dean Jackson. Source/WebCore: Certain Shadertoy examples stopped working with the ANGLE backend for WebGL because rendering to floating-point render targets was no longer being enabled implicitly along with the OES_texture_float extension. Add support for the WebGL 1.0 extensions EXT_color_buffer_half_float and WEBGL_color_buffer_float, and the WebGL 2.0 extension EXT_color_buffer_float. Enable these implicitly for WebGL 1.0 in the OES_texture_float and OES_texture_half_float extensions, restoring the previous functionality. Translate 32-bit floating point texture formats appropriately for the ANGLE backend. Fix some failures in previously-skipped conformance tests. The new code passes the more stringent top-of-tree WebGL 1.0.4 and 2.0.1 conformance tests related to floating-point texture renderability, which are not yet in the WebKit repository. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMConvertWebGL.cpp: (WebCore::convertToJSValue): * html/canvas/EXTColorBufferFloat.cpp: Copied from Source/WebCore/html/canvas/OESTextureHalfFloat.cpp. (WebCore::EXTColorBufferFloat::EXTColorBufferFloat): (WebCore::EXTColorBufferFloat::getName const): (WebCore::EXTColorBufferFloat::supported): * html/canvas/EXTColorBufferFloat.h: Copied from Source/WebCore/html/canvas/OESTextureFloat.h. * html/canvas/EXTColorBufferFloat.idl: Added. * html/canvas/EXTColorBufferHalfFloat.cpp: Copied from Source/WebCore/html/canvas/OESTextureFloat.cpp. (WebCore::EXTColorBufferHalfFloat::EXTColorBufferHalfFloat): (WebCore::EXTColorBufferHalfFloat::getName const): (WebCore::EXTColorBufferHalfFloat::supported): * html/canvas/EXTColorBufferHalfFloat.h: Copied from Source/WebCore/html/canvas/OESTextureFloat.h. * html/canvas/EXTColorBufferHalfFloat.idl: Added. * html/canvas/OESTextureFloat.cpp: (WebCore::OESTextureFloat::OESTextureFloat): (WebCore::OESTextureFloat::supported): * html/canvas/OESTextureFloat.h: * html/canvas/OESTextureHalfFloat.cpp: (WebCore::OESTextureHalfFloat::OESTextureHalfFloat): (WebCore::OESTextureHalfFloat::supported): * html/canvas/OESTextureHalfFloat.h: * html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::getExtension): (WebCore::WebGL2RenderingContext::getSupportedExtensions): (WebCore::WebGL2RenderingContext::getParameter): * html/canvas/WebGLColorBufferFloat.cpp: Copied from Source/WebCore/html/canvas/OESTextureFloat.cpp. (WebCore::WebGLColorBufferFloat::WebGLColorBufferFloat): (WebCore::WebGLColorBufferFloat::getName const): (WebCore::WebGLColorBufferFloat::supported): * html/canvas/WebGLColorBufferFloat.h: Copied from Source/WebCore/html/canvas/OESTextureFloat.h. * html/canvas/WebGLColorBufferFloat.idl: Added. * html/canvas/WebGLExtension.h: * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::getExtension): (WebCore::WebGLRenderingContext::getSupportedExtensions): (WebCore::WebGLRenderingContext::getParameter): * html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::extensionIsEnabled): (WebCore::WebGLRenderingContextBase::copyTexImage2D): * html/canvas/WebGLRenderingContextBase.h: * platform/graphics/angle/ExtensionsGLANGLE.cpp: (WebCore::ExtensionsGLANGLE::adjustWebGL1TextureInternalFormat): (WebCore::ExtensionsGLANGLE::texImage2DRobustANGLE): * platform/graphics/angle/ExtensionsGLANGLE.h: * platform/graphics/angle/GraphicsContextGLANGLE.cpp: (WebCore::GraphicsContextGLOpenGL::texImage2DDirect): LayoutTests: Update tex-mipmap-levels.html to top-of-tree to fix incorrect test cases. Rebaseline layout tests which are either now all passing, or have progressed. Temporarily skip a couple of tests, previously skipped because of lack of the EXT_color_buffer_float extension, which are failing because of Bug 211156. * TestExpectations: * fast/canvas/webgl/readPixels-float-expected.txt: * webgl/2.0.0/conformance2/textures/misc/copy-texture-image-expected.txt: * webgl/2.0.0/conformance2/textures/misc/tex-mipmap-levels-expected.txt: * webgl/2.0.0/resources/webgl_test_files/conformance2/textures/misc/tex-mipmap-levels.html: Canonical link: https://commits.webkit.org/224098@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-29 19:01:50 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTColorBufferFloat.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTColorBufferFloat.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTColorBufferHalfFloat.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTColorBufferHalfFloat.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTFloatBlend.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTFloatBlend.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTFragDepth.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTFragDepth.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTShaderTextureLOD.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTShaderTextureLOD.h
Support EXT_texture_compression_rgtc WebGL extension https://bugs.webkit.org/show_bug.cgi?id=217198 Reviewed by Kenneth Russell. Source/WebCore: Test: webgl/conformance/extensions/ext-texture-compression-rgtc.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMConvertWebGL.cpp: (WebCore::convertToJSValue): * html/canvas/EXTTextureCompressionRGTC.cpp: Added. (WebCore::EXTTextureCompressionRGTC::EXTTextureCompressionRGTC): (WebCore::EXTTextureCompressionRGTC::getName const): * html/canvas/EXTTextureCompressionRGTC.h: Added. * html/canvas/EXTTextureCompressionRGTC.idl: Added. * html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::getExtension): (WebCore::WebGL2RenderingContext::getSupportedExtensions): * html/canvas/WebGLExtension.h: * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::getExtension): (WebCore::WebGLRenderingContext::getSupportedExtensions): * html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::extensionIsEnabled): (WebCore::WebGLRenderingContextBase::validateCompressedTexFuncData): (WebCore::WebGLRenderingContextBase::loseExtensions): * html/canvas/WebGLRenderingContextBase.h: * platform/graphics/ExtensionsGL.h: LayoutTests: * webgl/conformance/extensions/ext-texture-compression-rgtc-expected.txt: Added. * webgl/conformance/extensions/ext-texture-compression-rgtc.html: Added. * webgl/conformance/extensions/s3tc-and-rgtc-expected.txt: Added. * webgl/conformance/extensions/s3tc-and-rgtc.html: Added. * webgl/resources/webgl_test_files/conformance/extensions/ext-texture-compression-rgtc.html: Added. * webgl/resources/webgl_test_files/conformance/extensions/s3tc-and-rgtc.html: Added. * webgl/resources/webgl_test_files/js/tests/compressed-texture-utils.js: Added. Canonical link: https://commits.webkit.org/230269@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-09 00:24:42 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTTextureCompressionRGTC.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTTextureCompressionRGTC.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTTextureFilterAnisotropic.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTTextureFilterAnisotropic.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTsRGB.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEXTsRGB.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEcKeyParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEcKeyParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEcdhKeyDeriveParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEcdhKeyDeriveParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEcdsaParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEcdsaParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEffectTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEffectTiming.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement+CSSOMView.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement+CSSOMView.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement+DOMParsing.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement+DOMParsing.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement+Fullscreen.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement+Fullscreen.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement+PointerEvents.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement+PointerEvents.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement+PointerLock.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement+PointerLock.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElementCSSInlineStyle.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElementCSSInlineStyle.h
Re-align HTMLElement with the HTML spec https://bugs.webkit.org/show_bug.cgi?id=217202 Reviewed by Darin Adler. LayoutTests/imported/w3c: * web-platform-tests/html/dom/idlharness.https-expected.txt: * web-platform-tests/svg/types/scripted/event-handler-all-document-element-events-expected.txt: Update more now passing results. Source/WebCore: - Stops including DocumentAndElementEventHandlers in Element, and instead matches spec and other browsers by having HTMLElement, SVGElement and MathMLElement include it. - Splits out ElementContentEditable from HTMLElement and has HTMLElement include it. - Splits CSSOM View parts of HTMLElement out into HTMLElement+CSSOMView.idl - Re-orders includes to more closely match spec'd order. Has no real effect but made me happy. Updates results to existing tests that are now passing, all due to the change to include DocumentAndElementEventHandlers in the Element subclasses, not Element itself. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * dom/Element.idl: * dom/ElementContentEditable.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLElement+CSSOMView.idl: Added. * html/HTMLElement.idl: * html/HTMLFrameSetElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * mathml/MathMLElement.idl: * svg/SVGElement.idl: LayoutTests: * fast/events/DocumentAndElementEventHandlers-expected.txt: * fast/events/DocumentAndElementEventHandlers.html: Update test to match spec by checking on the HTMLElement prototype, not the Element prototype. * fast/dom/event-handler-attributes-expected.txt: * platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: Update more now passing results. Canonical link: https://commits.webkit.org/230010@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-02 20:30:27 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElementContentEditable.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSElementContentEditable.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEndingType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEndingType.h
[Picture-in-Picture Web API] Implement HTMLVideoElement.requestPictureInPicture() / Document.exitPictureInPicture() https://bugs.webkit.org/show_bug.cgi?id=201024 Patch by Peng Liu <peng.liu6@apple.com> on 2019-10-15 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Import wpt/picture-in-picture. * resources/import-expectations.json: * web-platform-tests/picture-in-picture/META.yml: Added. * web-platform-tests/picture-in-picture/css-selector.html: Added. * web-platform-tests/picture-in-picture/disable-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/enter-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/exit-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/idlharness.window.html: Added. * web-platform-tests/picture-in-picture/idlharness.window.js: Added. * web-platform-tests/picture-in-picture/leave-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/mediastream.html: Added. * web-platform-tests/picture-in-picture/picture-in-picture-element.html: Added. * web-platform-tests/picture-in-picture/picture-in-picture-window.html: Added. * web-platform-tests/picture-in-picture/request-picture-in-picture-twice.html: Added. * web-platform-tests/picture-in-picture/request-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/resources/picture-in-picture-helpers.js: Added. (loadVideo): (async.requestPictureInPictureWithTrustedClick): * web-platform-tests/picture-in-picture/resources/w3c-import.log: Added. * web-platform-tests/picture-in-picture/shadow-dom.html: Added. * web-platform-tests/picture-in-picture/w3c-import.log: Added. Source/JavaScriptCore: Add configurations for Picture-in-Picture API. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Implement the support to enter and exit PiP mode with the Picture-in-Picture API. Majority work of this patch was done by Carlos Eduardo Ramalho <cadubentzen@gmail.com>. Also, fix a build error of Modules/webaudio/OfflineAudioContext.cpp because of this patch (due to unified build). Tests: imported/w3c/web-platform-tests/picture-in-picture/css-selector.html imported/w3c/web-platform-tests/picture-in-picture/disable-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/enter-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/exit-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/idlharness.window.html imported/w3c/web-platform-tests/picture-in-picture/leave-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/mediastream.html imported/w3c/web-platform-tests/picture-in-picture/picture-in-picture-element.html imported/w3c/web-platform-tests/picture-in-picture/picture-in-picture-window.html imported/w3c/web-platform-tests/picture-in-picture/request-picture-in-picture-twice.html imported/w3c/web-platform-tests/picture-in-picture/request-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/shadow-dom.html * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/pictureinpicture/DocumentPictureInPicture.cpp: Added. (WebCore::DocumentPictureInPicture::exitPictureInPicture): (WebCore::DocumentPictureInPicture::from): * Modules/pictureinpicture/DocumentPictureInPicture.h: Added. (WebCore::DocumentPictureInPicture::pictureInPictureEnabled): (WebCore::DocumentPictureInPicture::supplementName): * Modules/pictureinpicture/DocumentPictureInPicture.idl: Added. * Modules/pictureinpicture/EnterPictureInPictureEvent.cpp: Added. (WebCore::EnterPictureInPictureEvent::create): (WebCore::EnterPictureInPictureEvent::EnterPictureInPictureEvent): * Modules/pictureinpicture/EnterPictureInPictureEvent.h: Added. * Modules/pictureinpicture/EnterPictureInPictureEvent.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.cpp: Added. (WebCore::HTMLVideoElementPictureInPicture::HTMLVideoElementPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::~HTMLVideoElementPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::from): (WebCore::HTMLVideoElementPictureInPicture::requestPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::autoPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::setAutoPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::disablePictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::setDisablePictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::exitPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::didEnterPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::didExitPictureInPicture): * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.h: Added. (WebCore::HTMLVideoElementPictureInPicture::supplementName): * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Added. * Modules/pictureinpicture/PictureInPictureWindow.cpp: Added. (WebCore::PictureInPictureWindow::create): (WebCore::PictureInPictureWindow::PictureInPictureWindow): (WebCore::PictureInPictureWindow::activeDOMObjectName const): (WebCore::PictureInPictureWindow::canSuspendForDocumentSuspension const): (WebCore::PictureInPictureWindow::eventTargetInterface const): (WebCore::PictureInPictureWindow::scriptExecutionContext const): * Modules/pictureinpicture/PictureInPictureWindow.h: Added. * Modules/pictureinpicture/PictureInPictureWindow.idl: Added. * Modules/webaudio/OfflineAudioContext.cpp: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/Document.cpp: (WebCore::Document::pictureInPictureElement const): (WebCore::Document::setPictureInPictureElement): * dom/Document.h: * dom/DocumentOrShadowRoot.idl: * dom/EventNames.h: * dom/EventNames.in: * dom/EventTargetFactory.in: * dom/ShadowRoot.cpp: (WebCore::ShadowRoot::pictureInPictureElement const): * dom/ShadowRoot.h: * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::fullscreenModeChanged): (WebCore::HTMLVideoElement::setPictureInPictureObserver): * html/HTMLVideoElement.h: * page/Settings.yaml: * platform/PictureInPictureObserver.h: Added. (WebCore::PictureInPictureObserver::~PictureInPictureObserver): * testing/InternalSettings.h: Source/WebCore/PAL: Add configurations for the Picture-in-Picture API. * Configurations/FeatureDefines.xcconfig: Source/WebKit: Add configurations for Picture-in-Picture API and add a preference option for it. * Configurations/FeatureDefines.xcconfig: * Shared/WebPreferences.yaml: Source/WebKitLegacy/mac: Add configurations for Picture-in-Picture API and also a preference option for it. * Configurations/FeatureDefines.xcconfig: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences pictureInPictureAPIEnabled]): (-[WebPreferences setPictureInPictureAPIEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Tools: Add configurations for Picture-in-Picture API and enable it in the test runner. * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setPictureInPictureAPIEnabled): * WebKitTestRunner/InjectedBundle/TestRunner.h: LayoutTests: Skip imported/w3c/web-platform-tests/picture-in-picture because of http://webkit.org/b/202617. * TestExpectations: * tests-options.json: Canonical link: https://commits.webkit.org/216437@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-15 22:06:23 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEnterPictureInPictureEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEnterPictureInPictureEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSErrorCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSErrorCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSErrorEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSErrorEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEventInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEventInit.h
Support AbortSignal in addEventListenerOptions to unsubscribe from events https://bugs.webkit.org/show_bug.cgi?id=218753 <rdar://problem/71258012> Reviewed by Darin Adler. LayoutTests/imported/w3c: Import test coverage from WPT. * web-platform-tests/dom/events/AddEventListenerOptions-signal.any-expected.txt: Added. * web-platform-tests/dom/events/AddEventListenerOptions-signal.any.html: Added. * web-platform-tests/dom/events/AddEventListenerOptions-signal.any.js: Added. * web-platform-tests/dom/events/AddEventListenerOptions-signal.any.worker-expected.txt: Added. * web-platform-tests/dom/events/AddEventListenerOptions-signal.any.worker.html: Added. * web-platform-tests/dom/events/w3c-import.log: Source/WebCore: Support AbortSignal in addEventListenerOptions to unsubscribe from events: - https://github.com/whatwg/dom/issues/911 - https://github.com/whatwg/dom/pull/919 Blink already added support for this. Tests: imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.html imported/w3c/web-platform-tests/dom/events/AddEventListenerOptions-signal.any.worker.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/async-clipboard/Clipboard.h: * Modules/encryptedmedia/MediaKeySession.h: * Modules/indexeddb/IDBRequest.h: * Modules/mediastream/MediaDevices.h: * Modules/mediastream/RTCPeerConnection.h: * Modules/paymentrequest/PaymentRequest.h: * Modules/speech/SpeechRecognition.h: * Modules/webaudio/BaseAudioContext.h: * Modules/webgpu/WebGPUDevice.h: * Modules/webxr/WebXRSystem.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * animation/WebAnimation.h: * css/MediaQueryList.cpp: (WebCore::MediaQueryList::addListener): (WebCore::MediaQueryList::removeListener): * css/MediaQueryList.h: * dom/AbortSignal.h: * dom/AddEventListenerOptions.h: Copied from Source/WebCore/loader/appcache/DOMApplicationCache.h. (WebCore::AddEventListenerOptions::AddEventListenerOptions): * dom/AddEventListenerOptions.idl: Copied from Source/WebCore/loader/appcache/DOMApplicationCache.h. * dom/EventListener.h: * dom/EventListenerMap.cpp: * dom/EventListenerOptions.h: Copied from Source/WebCore/loader/appcache/DOMApplicationCache.h. (WebCore::EventListenerOptions::EventListenerOptions): * dom/EventListenerOptions.idl: Copied from Source/WebCore/loader/appcache/DOMApplicationCache.h. * dom/EventTarget.cpp: (WebCore::EventTarget::addEventListener): (WebCore::EventTarget::removeEventListenerForBindings): (WebCore::EventTarget::removeEventListener): (WebCore::EventTarget::setAttributeEventListener): (WebCore::EventTarget::innerInvokeEventListeners): * dom/EventTarget.h: (WebCore::EventTarget::removeEventListener): * dom/EventTarget.idl: * dom/MessagePort.cpp: (WebCore::MessagePort::MessagePort): (WebCore::MessagePort::removeEventListener): * dom/MessagePort.h: * dom/Node.cpp: (WebCore::tryAddEventListener): (WebCore::tryRemoveEventListener): (WebCore::Node::removeEventListener): * dom/Node.h: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::removeEventListener): * html/HTMLMediaElement.h: * html/ImageDocument.cpp: * html/track/TextTrackCue.h: * inspector/agents/InspectorDOMAgent.cpp: * loader/appcache/DOMApplicationCache.h: * page/DOMWindow.cpp: (WebCore::DOMWindow::removeEventListener): * page/DOMWindow.h: * platform/cocoa/PlaybackSessionModelMediaElement.mm: * platform/cocoa/VideoFullscreenModelVideoElement.mm: * svg/SVGElement.cpp: (WebCore::SVGElement::removeEventListener): * svg/SVGElement.h: * svg/SVGTRefElement.cpp: * svg/animation/SVGSMILElement.cpp: * testing/Internals.cpp: * workers/service/ServiceWorkerContainer.h: Source/WebKit: Minor build fixes. * WebProcess/Plugins/PDF/PDFPluginAnnotation.mm: Source/WebKitLegacy/mac: Minor build fixes. * DOM/DOMNode.mm: Source/WTF: Add initializeWeakPtrFactory() protection function to CanMakeWeakPtr so that a subclass can eagerly initialize the WeakPtrFactory even if it does not subclass WeakPtrFactory<T, WeakPtrFactoryInitialization::Eager>. MessagePort used to subclass WeakPtrFactory<T, WeakPtrFactoryInitialization::Eager> for thread-safety reason but it now subclasses WeakPtrFactory<T, WeakPtrFactoryInitialization::Lazy> via EventTarget. * wtf/WeakPtr.h: (WTF::CanMakeWeakPtr::initializeWeakPtrFactory): Canonical link: https://commits.webkit.org/233312@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-01-25 20:06:25 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEventListenerOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEventListenerOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEventModifierInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEventModifierInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEventSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEventSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEventTarget.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSEventTarget.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSExtendableEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSExtendableEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSExtendableEventInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSExtendableEventInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSExtendableMessageEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSExtendableMessageEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFakeXRBoundsPoint.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFakeXRBoundsPoint.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFakeXRButtonStateInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFakeXRButtonStateInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFakeXRInputSourceInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFakeXRInputSourceInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFakeXRRigidTransformInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFakeXRRigidTransformInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFakeXRViewInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFakeXRViewInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchBody.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchBody.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchHeaders.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchHeaders.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchReferrerPolicy.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchReferrerPolicy.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequest.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequest.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequestCache.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequestCache.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequestCredentials.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequestCredentials.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequestInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequestInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequestMode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequestMode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequestRedirect.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchRequestRedirect.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchResponse.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFetchResponse.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFile.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFile.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileReader.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileReader.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileReaderSync.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileReaderSync.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemDirectoryEntry.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemDirectoryEntry.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemDirectoryReader.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemDirectoryReader.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemEntriesCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemEntriesCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemEntry.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemEntry.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemEntryCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemEntryCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemFileEntry.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFileSystemFileEntry.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFillMode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFillMode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFocusEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFocusEvent.h
Enable ability to prevent scrolling in Element.focus() https://bugs.webkit.org/show_bug.cgi?id=178583 Patch by Rob Buis <rbuis@igalia.com> on 2021-03-22 Reviewed by Simon Fraser. LayoutTests/imported/w3c: Update improved test result. * web-platform-tests/html/interaction/focus/processing-model/preventScroll-nested-scroll-elements-expected.txt: Added. * web-platform-tests/html/interaction/focus/processing-model/preventScroll-nested-scroll-elements.html: Added. * web-platform-tests/html/interaction/focus/processing-model/preventScroll-textarea-expected.txt: Source/WebCore: Add FocusOptions parameter to the focus method [1] both to the IDL as the C++ side. Change Element.focus to not scroll if FocusOptions.preventScroll is true. Behavior matches Chrome and Firefox. Tests: imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll-textarea.html imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll-nested-scroll-elements.html Test: imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll-nested-scroll-elements.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Element.cpp: (WebCore::Element::focus): * dom/Element.h: (WebCore::Element::focus): * dom/FocusOptions.h: Copied from Source/WebCore/html/HTMLOrForeignElement.idl. * dom/FocusOptions.idl: Copied from Source/WebCore/html/HTMLOrForeignElement.idl. * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::didAttachRenderers): * html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::focus): * html/HTMLLabelElement.h: * html/HTMLLegendElement.cpp: (WebCore::HTMLLegendElement::focus): * html/HTMLLegendElement.h: * html/HTMLOrForeignElement.idl: * html/InputType.cpp: (WebCore::InputType::accessKeyAction): * page/FocusController.cpp: (WebCore::FocusController::advanceFocusInDocumentOrder): (WebCore::FocusController::advanceFocusDirectionallyInContainer): LayoutTests: The test preventScroll-textarea.html now passes on all platforms. * platform/ios-wk2/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll-textarea-expected.txt: Removed. * platform/mac-wk1/imported/w3c/web-platform-tests/html/interaction/focus/processing-model/preventScroll-textarea-expected.txt: Removed. Canonical link: https://commits.webkit.org/235610@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-22 22:29:52 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFocusOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFocusOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFontFace.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFontFace.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFontFaceSet.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFontFaceSet.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFontFaceSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFontFaceSource.h
LayoutTests/imported/w3c: Added FormDataEvent support. https://bugs.webkit.org/show_bug.cgi?id=227718 Patch by Johnson Zhou <qiaosong_zhou@apple.com> on 2021-07-26 Reviewed by Chris Dumez. * web-platform-tests/html/semantics/forms/form-submission-0/FormDataEvent.window-expected.txt: * web-platform-tests/html/semantics/forms/form-submission-0/constructing-form-data-set-expected.txt: * web-platform-tests/html/semantics/forms/form-submission-0/text-plain.window-expected.txt: * web-platform-tests/html/semantics/forms/form-submission-0/urlencoded2.window-expected.txt: * web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events-expected.txt: * web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt: * web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-windowless-body-expected.txt: * web-platform-tests/xhr/formdata-expected.txt: Source/WebCore: FormDataEvent added, and dispatched upon creation of DOMFormData or submission of HTMLFormElement. https://bugs.webkit.org/show_bug.cgi?id=227718 Patch by Johnson Zhou <qiaosong_zhou@apple.com> on 2021-07-26 Reviewed by Chris Dumez. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/EventNames.h: * dom/EventNames.in: * dom/FormDataEvent.cpp: Added. (WebCore::FormDataEvent::create): (WebCore::FormDataEvent::FormDataEvent): (WebCore::FormDataEvent::eventInterface const): * dom/FormDataEvent.h: Added. (WebCore::FormDataEvent::formData const): * dom/FormDataEvent.idl: Added. * dom/GlobalEventHandlers.idl: * html/DOMFormData.cpp: (WebCore::DOMFormData::DOMFormData): (WebCore::DOMFormData::create): (WebCore::DOMFormData::clone): * html/DOMFormData.h: (WebCore::DOMFormData::create): Deleted. * html/HTMLAttributeNames.in: * html/HTMLElement.cpp: (WebCore::HTMLElement::createEventHandlerNameMap): * html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::submitIfPossible): (WebCore::HTMLFormElement::submit): (WebCore::HTMLFormElement::constructEntryList): * html/HTMLFormElement.h: * loader/FormSubmission.cpp: (WebCore::FormSubmission::create): * loader/FormSubmission.h: * platform/network/FormData.cpp: (WebCore::FormData::appendNonMultiPartKeyValuePairItems): Source/WebInspectorUI: FormDataEvent added. https://bugs.webkit.org/show_bug.cgi?id=227718 Patch by Qiaosong Zhou <qiaosong_zhou@apple.com> on 2021-07-26 Reviewed by Chris Dumez. * UserInterface/Models/ScriptTimelineRecord.js: (WI.ScriptTimelineRecord.EventType.displayName): LayoutTests: Added support for FormDataEvent. Rebaselined. https://bugs.webkit.org/show_bug.cgi?id=227718 Patch by Johnson Zhou <qiaosong_zhou@apple.com> on 2021-07-26 Reviewed by Chris Dumez. * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: Canonical link: https://commits.webkit.org/239960@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-26 20:15:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFormDataEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSFormDataEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGCObservation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGCObservation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGainNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGainNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGainOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGainOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGamepad.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGamepad.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGamepadButton.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGamepadButton.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGamepadEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGamepadEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGeolocation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGeolocation.h
[geolocation] Rename interfaces and remove [NoInterfaceObject] https://bugs.webkit.org/show_bug.cgi?id=200885 Reviewed by Alex Christensen. Source/WebCore: Rename Geolocation interfaces and expose them on the global Window object to match the latest specification: - https://w3c.github.io/geolocation-api/#api_description Test: fast/dom/Geolocation/exposed-geolocation-interfaces.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/geolocation/GeoNotifier.cpp: (WebCore::GeoNotifier::setFatalError): (WebCore::GeoNotifier::runSuccessCallback): (WebCore::GeoNotifier::runErrorCallback): (WebCore::GeoNotifier::timerFired): * Modules/geolocation/GeoNotifier.h: * Modules/geolocation/Geolocation.cpp: (WebCore::createGeolocationPosition): (WebCore::createGeolocationPositionError): (WebCore::Geolocation::lastPosition): (WebCore::Geolocation::startRequest): (WebCore::Geolocation::requestUsesCachedPosition): (WebCore::Geolocation::makeCachedPositionCallbacks): (WebCore::Geolocation::haveSuitableCachedPosition): (WebCore::Geolocation::setIsAllowed): (WebCore::Geolocation::sendError): (WebCore::Geolocation::sendPosition): (WebCore::Geolocation::cancelRequests): (WebCore::Geolocation::handleError): (WebCore::Geolocation::makeSuccessCallbacks): (WebCore::Geolocation::positionChanged): (WebCore::Geolocation::setError): (WebCore::Geolocation::handlePendingPermissionNotifiers): * Modules/geolocation/Geolocation.h: * Modules/geolocation/Geolocation.idl: * Modules/geolocation/GeolocationClient.h: * Modules/geolocation/GeolocationController.cpp: (WebCore::GeolocationController::positionChanged): (WebCore::GeolocationController::lastPosition): * Modules/geolocation/GeolocationController.h: * Modules/geolocation/GeolocationCoordinates.cpp: Renamed from Source/WebCore/Modules/geolocation/Coordinates.cpp. (WebCore::GeolocationCoordinates::GeolocationCoordinates): * Modules/geolocation/GeolocationCoordinates.h: Renamed from Source/WebCore/Modules/geolocation/Coordinates.h. (WebCore::GeolocationCoordinates::create): (WebCore::GeolocationCoordinates::isolatedCopy const): * Modules/geolocation/GeolocationCoordinates.idl: Renamed from Source/WebCore/Modules/geolocation/Coordinates.idl. * Modules/geolocation/GeolocationPosition.h: (WebCore::GeolocationPosition::create): (WebCore::GeolocationPosition::isolatedCopy const): (WebCore::GeolocationPosition::timestamp const): (WebCore::GeolocationPosition::coords const): (WebCore::GeolocationPosition::GeolocationPosition): * Modules/geolocation/GeolocationPosition.idl: Renamed from Source/WebCore/Modules/geolocation/Geoposition.idl. * Modules/geolocation/GeolocationPositionData.h: Copied from Source/WebCore/Modules/geolocation/GeolocationPosition.h. (WebCore::GeolocationPositionData::GeolocationPositionData): (WebCore::GeolocationPositionData::encode const): (WebCore::GeolocationPositionData::decode): (WebCore::GeolocationPositionData::isValid const): * Modules/geolocation/GeolocationPositionError.h: Renamed from Source/WebCore/Modules/geolocation/PositionError.h. (WebCore::GeolocationPositionError::create): (WebCore::GeolocationPositionError::GeolocationPositionError): * Modules/geolocation/GeolocationPositionError.idl: Renamed from Source/WebCore/Modules/geolocation/PositionError.idl. * Modules/geolocation/Geoposition.h: Removed. * Modules/geolocation/PositionCallback.h: * Modules/geolocation/PositionCallback.idl: * Modules/geolocation/PositionErrorCallback.h: * Modules/geolocation/PositionErrorCallback.idl: * Modules/geolocation/ios/GeolocationPositionDataIOS.mm: Renamed from Source/WebCore/Modules/geolocation/ios/GeolocationPositionIOS.mm. (WebCore::GeolocationPositionData::GeolocationPositionData): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mock/GeolocationClientMock.cpp: (WebCore::GeolocationClientMock::setPosition): (WebCore::GeolocationClientMock::lastPosition): * platform/mock/GeolocationClientMock.h: Source/WebKit: * Shared/WebGeolocationPosition.cpp: (WebKit::WebGeolocationPosition::create): * Shared/WebGeolocationPosition.h: (WebKit::WebGeolocationPosition::corePosition const): (WebKit::WebGeolocationPosition::WebGeolocationPosition): * UIProcess/API/C/WKGeolocationPosition.cpp: (WKGeolocationPositionCreate_c): * UIProcess/WebGeolocationManagerProxy.h: (WebKit::WebGeolocationManagerProxy::lastPosition const): * UIProcess/ios/WKGeolocationProviderIOS.mm: (-[WKLegacyCoreLocationProvider positionChanged:]): * WebProcess/Geolocation/WebGeolocationManager.cpp: (WebKit::WebGeolocationManager::didChangePosition): * WebProcess/Geolocation/WebGeolocationManager.h: * WebProcess/Geolocation/WebGeolocationManager.messages.in: * WebProcess/WebCoreSupport/WebGeolocationClient.cpp: (WebKit::WebGeolocationClient::lastPosition): * WebProcess/WebCoreSupport/WebGeolocationClient.h: Source/WebKitLegacy/ios: * Misc/WebGeolocationCoreLocationProvider.h: * Misc/WebGeolocationCoreLocationProvider.mm: (-[WebGeolocationCoreLocationProvider sendLocation:]): * Misc/WebGeolocationProviderIOS.mm: (-[_WebCoreLocationUpdateThreadingProxy positionChanged:]): Source/WebKitLegacy/mac: * WebCoreSupport/WebGeolocationClient.h: * WebCoreSupport/WebGeolocationClient.mm: (WebGeolocationClient::lastPosition): * WebView/WebGeolocationPosition.mm: (-[WebGeolocationPositionInternal initWithCoreGeolocationPosition:]): (core): (-[WebGeolocationPosition initWithTimestamp:latitude:longitude:accuracy:]): (-[WebGeolocationPosition initWithGeolocationPosition:]): * WebView/WebGeolocationPositionInternal.h: Tools: * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setMockGeolocationPosition): LayoutTests: Add layout test coverage. * fast/dom/Geolocation/exposed-geolocation-interfaces-expected.txt: Added. * fast/dom/Geolocation/exposed-geolocation-interfaces.html: Added. * fast/dom/Geolocation/position-string-expected.txt: * fast/dom/Geolocation/position-string.html: Canonical link: https://commits.webkit.org/214790@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-08-23 20:58:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGeolocationCoordinates.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGeolocationCoordinates.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGeolocationPosition.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGeolocationPosition.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGeolocationPositionError.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGeolocationPositionError.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGeoposition.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGeoposition.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGestureEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGestureEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGetAnimationsOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGetAnimationsOptions.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGlobalEventHandlers+CSSAnimations.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGlobalEventHandlers+CSSAnimations.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGlobalEventHandlers+CSSTransitions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGlobalEventHandlers+CSSTransitions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGlobalEventHandlers+PointerEvents.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGlobalEventHandlers+PointerEvents.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGlobalEventHandlers+Selection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGlobalEventHandlers+Selection.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGlobalEventHandlers.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSGlobalEventHandlers.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLAllCollection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLAllCollection.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLAnchorElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLAnchorElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLAreaElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLAreaElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLAttachmentElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLAttachmentElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLAudioElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLAudioElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLBRElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLBRElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLBaseElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLBaseElement.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLBodyElement+Compat.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLBodyElement+Compat.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLBodyElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLBodyElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLButtonElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLButtonElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLCanvasElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLCanvasElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLCollection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLCollection.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDListElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDListElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDataElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDataElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDataListElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDataListElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDetailsElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDetailsElement.h
Add a runtime-disabled dialog element skeleton https://bugs.webkit.org/show_bug.cgi?id=199839 Patch by Alex Christensen <achristensen@webkit.org> on 2019-07-17 Reviewed by Ryosuke Niwa. LayoutTests/imported/w3c: * web-platform-tests/custom-elements/builtin-coverage-expected.txt: * web-platform-tests/dom/nodes/Node-cloneNode-expected.txt: * web-platform-tests/html/dom/reflection-misc-expected.txt: * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/centering-expected.txt: * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-close-expected.txt: * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open-expected.txt: * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-showModal-expected.txt: * web-platform-tests/html/semantics/interfaces-expected.txt: Source/WebCore: Beginning implementation of https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element Covered by rebaselining WPT tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * html/HTMLDialogElement.cpp: Added. (WebCore::HTMLDialogElement::HTMLDialogElement): (WebCore::HTMLDialogElement::open): (WebCore::HTMLDialogElement::setOpen): (WebCore::HTMLDialogElement::returnValue): (WebCore::HTMLDialogElement::setReturnValue): (WebCore::HTMLDialogElement::show): (WebCore::HTMLDialogElement::showModal): (WebCore::HTMLDialogElement::close): * html/HTMLDialogElement.h: Added. * html/HTMLDialogElement.idl: Added. * html/HTMLTagNames.in: * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setDialogElementEnabled): (WebCore::RuntimeEnabledFeatures::dialogElementEnabled const): Source/WebKit: * Shared/WebPreferences.yaml: * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetDialogElementEnabled): (WKPreferencesGetDialogElementEnabled): * UIProcess/API/C/WKPreferencesRefPrivate.h: Add SPI to enable the dialog element for tests. Source/WebKitLegacy/mac: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences dialogElementEnabled]): (-[WebPreferences setDialogElementEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Add SPI to enable the dialog element for tests. Tools: * DumpRenderTree/mac/DumpRenderTree.mm: (resetWebPreferencesToConsistentValues): * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): Enable the dialog element for layout tests. Canonical link: https://commits.webkit.org/213747@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-07-17 18:58:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDialogElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDialogElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDirectoryElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDirectoryElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDivElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDivElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDocument.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLDocument.h
Re-align HTMLElement with the HTML spec https://bugs.webkit.org/show_bug.cgi?id=217202 Reviewed by Darin Adler. LayoutTests/imported/w3c: * web-platform-tests/html/dom/idlharness.https-expected.txt: * web-platform-tests/svg/types/scripted/event-handler-all-document-element-events-expected.txt: Update more now passing results. Source/WebCore: - Stops including DocumentAndElementEventHandlers in Element, and instead matches spec and other browsers by having HTMLElement, SVGElement and MathMLElement include it. - Splits out ElementContentEditable from HTMLElement and has HTMLElement include it. - Splits CSSOM View parts of HTMLElement out into HTMLElement+CSSOMView.idl - Re-orders includes to more closely match spec'd order. Has no real effect but made me happy. Updates results to existing tests that are now passing, all due to the change to include DocumentAndElementEventHandlers in the Element subclasses, not Element itself. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * dom/Element.idl: * dom/ElementContentEditable.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLElement+CSSOMView.idl: Added. * html/HTMLElement.idl: * html/HTMLFrameSetElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * mathml/MathMLElement.idl: * svg/SVGElement.idl: LayoutTests: * fast/events/DocumentAndElementEventHandlers-expected.txt: * fast/events/DocumentAndElementEventHandlers.html: Update test to match spec by checking on the HTMLElement prototype, not the Element prototype. * fast/dom/event-handler-attributes-expected.txt: * platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: Update more now passing results. Canonical link: https://commits.webkit.org/230010@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-02 20:30:27 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLElement+CSSOMView.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLElement+CSSOMView.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLElementWrapperFactory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLElementWrapperFactory.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLEmbedElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLEmbedElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFieldSetElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFieldSetElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFontElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFontElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFormControlsCollection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFormControlsCollection.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFormElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFormElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFrameElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFrameElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFrameSetElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLFrameSetElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLHRElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLHRElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLHeadElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLHeadElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLHeadingElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLHeadingElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLHtmlElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLHtmlElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLHyperlinkElementUtils.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLHyperlinkElementUtils.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLIFrameElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLIFrameElement.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLImageElement+CSSOMView.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLImageElement+CSSOMView.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLImageElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLImageElement.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLInputElement+EntriesAPI.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLInputElement+EntriesAPI.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLInputElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLInputElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLKeygenElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLKeygenElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLLIElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLLIElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLLabelElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLLabelElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLLegendElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLLegendElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLLinkElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLLinkElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMapElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMapElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMarqueeElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMarqueeElement.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMediaElement+AudioOutput.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMediaElement+AudioOutput.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMediaElement+RemotePlayback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMediaElement+RemotePlayback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMediaElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMediaElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMenuElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMenuElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMenuItemElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMenuItemElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMetaElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMetaElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMeterElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLMeterElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLModElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLModElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLModelElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLModelElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOListElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOListElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLObjectElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLObjectElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOptGroupElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOptGroupElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOptionElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOptionElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOptionsCollection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOptionsCollection.h
[WebGPU] Implement GPUUncapturedErrorEvent https://bugs.webkit.org/show_bug.cgi?id=199676 Reviewed by Dean Jackson. Source/WebCore: Implement GPUUncapturedErrorEvent and "uncapturederror" event name. Add the onuncapturederror EventHandler attribute to GPUDevice. Test: webgpu/uncaptured-errors.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webgpu/GPUUncapturedErrorEvent.cpp: (WebCore::GPUUncapturedErrorEvent::create): (WebCore::GPUUncapturedErrorEvent::GPUUncapturedErrorEvent): (WebCore::GPUUncapturedErrorEvent::eventInterface const): * Modules/webgpu/GPUUncapturedErrorEvent.h: * Modules/webgpu/GPUUncapturedErrorEvent.idl: * Modules/webgpu/WebGPUAdapter.cpp: Must now provide ScriptExecutionContext to any created GPUDevice. (WebCore::WebGPUAdapter::requestDevice const): * Modules/webgpu/WebGPUAdapter.h: * Modules/webgpu/WebGPUAdapter.idl: * Modules/webgpu/WebGPUDevice.cpp: Is now an EventTarget. (WebCore::WebGPUDevice::tryCreate): (WebCore::WebGPUDevice::WebGPUDevice): (WebCore::printValidationErrorToConsole): (WebCore::WebGPUDevice::dispatchUncapturedError): Events should only be fired from the main thread. * Modules/webgpu/WebGPUDevice.h: * Modules/webgpu/WebGPUDevice.idl: * Modules/webgpu/WebGPUDeviceEventHandler.idl: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventNames.h: * dom/EventNames.in: * dom/EventTargetFactory.in: * platform/graphics/gpu/GPUError.cpp: GPUErrors can only be created internally; creation should never fail. (WebCore::createError): * platform/graphics/gpu/GPUError.h: * platform/graphics/gpu/GPUErrorScopes.cpp: (WebCore::GPUErrorScopes::create): (WebCore::GPUErrorScopes::GPUErrorScopes): (WebCore::GPUErrorScopes::generateError): Use a callback for now, since GPUErrorScopes is still under platform. * platform/graphics/gpu/GPUErrorScopes.h: (WebCore::GPUErrorScopes::create): Deleted. LayoutTests: Add a test to ensure GPUUncapturedErrorEvents work. * webgpu/uncaptured-errors.html: Added. Canonical link: https://commits.webkit.org/215143@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-05 19:21:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOrForeignElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOrForeignElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOutputElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLOutputElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLParagraphElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLParagraphElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLParamElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLParamElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLPictureElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLPictureElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLPreElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLPreElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLProgressElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLProgressElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLQuoteElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLQuoteElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLScriptElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLScriptElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLSelectElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLSelectElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLSlotElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLSlotElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLSourceElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLSourceElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLSpanElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLSpanElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLStyleElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLStyleElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableCaptionElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableCaptionElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableCellElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableCellElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableColElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableColElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableRowElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableRowElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableSectionElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTableSectionElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTemplateElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTemplateElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTextAreaElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTextAreaElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTimeElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTimeElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTitleElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTitleElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTrackElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLTrackElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLUListElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLUListElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLUnknownElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLUnknownElement.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLVideoElement+PictureInPicture.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLVideoElement+PictureInPicture.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLVideoElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLVideoElement.h
[Picture-in-Picture Web API] Implement HTMLVideoElement.requestPictureInPicture() / Document.exitPictureInPicture() https://bugs.webkit.org/show_bug.cgi?id=201024 Patch by Peng Liu <peng.liu6@apple.com> on 2019-10-15 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Import wpt/picture-in-picture. * resources/import-expectations.json: * web-platform-tests/picture-in-picture/META.yml: Added. * web-platform-tests/picture-in-picture/css-selector.html: Added. * web-platform-tests/picture-in-picture/disable-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/enter-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/exit-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/idlharness.window.html: Added. * web-platform-tests/picture-in-picture/idlharness.window.js: Added. * web-platform-tests/picture-in-picture/leave-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/mediastream.html: Added. * web-platform-tests/picture-in-picture/picture-in-picture-element.html: Added. * web-platform-tests/picture-in-picture/picture-in-picture-window.html: Added. * web-platform-tests/picture-in-picture/request-picture-in-picture-twice.html: Added. * web-platform-tests/picture-in-picture/request-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/resources/picture-in-picture-helpers.js: Added. (loadVideo): (async.requestPictureInPictureWithTrustedClick): * web-platform-tests/picture-in-picture/resources/w3c-import.log: Added. * web-platform-tests/picture-in-picture/shadow-dom.html: Added. * web-platform-tests/picture-in-picture/w3c-import.log: Added. Source/JavaScriptCore: Add configurations for Picture-in-Picture API. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Implement the support to enter and exit PiP mode with the Picture-in-Picture API. Majority work of this patch was done by Carlos Eduardo Ramalho <cadubentzen@gmail.com>. Also, fix a build error of Modules/webaudio/OfflineAudioContext.cpp because of this patch (due to unified build). Tests: imported/w3c/web-platform-tests/picture-in-picture/css-selector.html imported/w3c/web-platform-tests/picture-in-picture/disable-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/enter-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/exit-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/idlharness.window.html imported/w3c/web-platform-tests/picture-in-picture/leave-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/mediastream.html imported/w3c/web-platform-tests/picture-in-picture/picture-in-picture-element.html imported/w3c/web-platform-tests/picture-in-picture/picture-in-picture-window.html imported/w3c/web-platform-tests/picture-in-picture/request-picture-in-picture-twice.html imported/w3c/web-platform-tests/picture-in-picture/request-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/shadow-dom.html * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/pictureinpicture/DocumentPictureInPicture.cpp: Added. (WebCore::DocumentPictureInPicture::exitPictureInPicture): (WebCore::DocumentPictureInPicture::from): * Modules/pictureinpicture/DocumentPictureInPicture.h: Added. (WebCore::DocumentPictureInPicture::pictureInPictureEnabled): (WebCore::DocumentPictureInPicture::supplementName): * Modules/pictureinpicture/DocumentPictureInPicture.idl: Added. * Modules/pictureinpicture/EnterPictureInPictureEvent.cpp: Added. (WebCore::EnterPictureInPictureEvent::create): (WebCore::EnterPictureInPictureEvent::EnterPictureInPictureEvent): * Modules/pictureinpicture/EnterPictureInPictureEvent.h: Added. * Modules/pictureinpicture/EnterPictureInPictureEvent.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.cpp: Added. (WebCore::HTMLVideoElementPictureInPicture::HTMLVideoElementPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::~HTMLVideoElementPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::from): (WebCore::HTMLVideoElementPictureInPicture::requestPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::autoPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::setAutoPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::disablePictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::setDisablePictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::exitPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::didEnterPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::didExitPictureInPicture): * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.h: Added. (WebCore::HTMLVideoElementPictureInPicture::supplementName): * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Added. * Modules/pictureinpicture/PictureInPictureWindow.cpp: Added. (WebCore::PictureInPictureWindow::create): (WebCore::PictureInPictureWindow::PictureInPictureWindow): (WebCore::PictureInPictureWindow::activeDOMObjectName const): (WebCore::PictureInPictureWindow::canSuspendForDocumentSuspension const): (WebCore::PictureInPictureWindow::eventTargetInterface const): (WebCore::PictureInPictureWindow::scriptExecutionContext const): * Modules/pictureinpicture/PictureInPictureWindow.h: Added. * Modules/pictureinpicture/PictureInPictureWindow.idl: Added. * Modules/webaudio/OfflineAudioContext.cpp: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/Document.cpp: (WebCore::Document::pictureInPictureElement const): (WebCore::Document::setPictureInPictureElement): * dom/Document.h: * dom/DocumentOrShadowRoot.idl: * dom/EventNames.h: * dom/EventNames.in: * dom/EventTargetFactory.in: * dom/ShadowRoot.cpp: (WebCore::ShadowRoot::pictureInPictureElement const): * dom/ShadowRoot.h: * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::fullscreenModeChanged): (WebCore::HTMLVideoElement::setPictureInPictureObserver): * html/HTMLVideoElement.h: * page/Settings.yaml: * platform/PictureInPictureObserver.h: Added. (WebCore::PictureInPictureObserver::~PictureInPictureObserver): * testing/InternalSettings.h: Source/WebCore/PAL: Add configurations for the Picture-in-Picture API. * Configurations/FeatureDefines.xcconfig: Source/WebKit: Add configurations for Picture-in-Picture API and add a preference option for it. * Configurations/FeatureDefines.xcconfig: * Shared/WebPreferences.yaml: Source/WebKitLegacy/mac: Add configurations for Picture-in-Picture API and also a preference option for it. * Configurations/FeatureDefines.xcconfig: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences pictureInPictureAPIEnabled]): (-[WebPreferences setPictureInPictureAPIEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Tools: Add configurations for Picture-in-Picture API and enable it in the test runner. * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setPictureInPictureAPIEnabled): * WebKitTestRunner/InjectedBundle/TestRunner.h: LayoutTests: Skip imported/w3c/web-platform-tests/picture-in-picture because of http://webkit.org/b/202617. * TestExpectations: * tests-options.json: Canonical link: https://commits.webkit.org/216437@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-15 22:06:23 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLVideoElementPictureInPicture.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHTMLVideoElementPictureInPicture.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHashChangeEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHashChangeEvent.h
Add experimental HDR MediaCapabilities support. https://bugs.webkit.org/show_bug.cgi?id=203113 Reviewed by Eric Carlson. Source/WebCore: Tests: media/mediacapabilities/mock-decodingInfo-hdr.html platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr.html Add support for MediaCapabilities.decodeInfo() HDR support detection. Add new enum IDL types to MediaCapabilities and remove old unused ones. Add mock implementation for HDR detection. Add Cocoa platform implementation. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediacapabilities/ColorGamut.idl: * Modules/mediacapabilities/HdrMetadataType.idl: * Modules/mediacapabilities/ScreenLuminance.h: * Modules/mediacapabilities/TransferFunction.idl: * Modules/mediacapabilities/VideoConfiguration.idl: * Scripts/GenerateSettings.rb: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/scripts/CodeGenerator.pm: (WK_ucfirst): * bindings/scripts/CodeGeneratorJS.pm: (ToMethodName): * page/Settings.yaml: * platform/graphics/cocoa/MediaEngineConfigurationFactoryCocoa.cpp: (WebCore::createMediaPlayerDecodingConfigurationCocoa): * platform/mediacapabilities/ColorGamut.h: * platform/mediacapabilities/HdrMetadataType.h: * platform/mediacapabilities/TransferFunction.h: * platform/mediacapabilities/VideoConfiguration.h: * platform/mock/MediaEngineConfigurationFactoryMock.cpp: (WebCore::canDecodeMedia): (WebCore::canEncodeMedia): Source/WebKit: Add experimental hdrMediaCapabilitiesEnabled preference. * Shared/WebPreferences.yaml: LayoutTests: * media/mediacapabilities/mock-decodingInfo-alphaChannel-expected.txt: * media/mediacapabilities/mock-decodingInfo-hdr-expected.txt: Added. * media/mediacapabilities/mock-decodingInfo-hdr.html: Added. * platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr-expected.txt: Added. * platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr.html: Added. Canonical link: https://commits.webkit.org/216564@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-18 22:00:48 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHdrMetadataType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHdrMetadataType.h
Rename HighlightMap to HighlightRegister and HighlightRangeGroup to Highlight to match current spec https://bugs.webkit.org/show_bug.cgi?id=217919 Reviewed by Ryosuke Niwa. No new tests, no new behavior, rename only. https://drafts.csswg.org/css-highlight-api-1/ * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/highlight/Highlight.cpp: Renamed from Source/WebCore/Modules/highlight/HighlightRangeGroup.cpp. (WebCore::Highlight::Highlight): (WebCore::Highlight::create): (WebCore::Highlight::initializeSetLike): (WebCore::Highlight::removeFromSetLike): (WebCore::Highlight::clearFromSetLike): (WebCore::Highlight::addToSetLike): * Modules/highlight/Highlight.h: Renamed from Source/WebCore/Modules/highlight/HighlightRangeGroup.h. * Modules/highlight/Highlight.idl: Renamed from Source/WebCore/Modules/highlight/HighlightRangeGroup.idl. * Modules/highlight/HighlightRegister.cpp: Renamed from Source/WebCore/Modules/highlight/HighlightMap.cpp. (WebCore::HighlightRegister::initializeMapLike): (WebCore::HighlightRegister::setFromMapLike): (WebCore::HighlightRegister::clear): (WebCore::HighlightRegister::remove): * Modules/highlight/HighlightRegister.h: Renamed from Source/WebCore/Modules/highlight/HighlightMap.h. (WebCore::HighlightRegister::create): (WebCore::HighlightRegister::map const): * Modules/highlight/HighlightRegister.idl: Renamed from Source/WebCore/Modules/highlight/HighlightMap.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * css/DOMCSSNamespace.cpp: (WebCore::DOMCSSNamespace::highlights): * css/DOMCSSNamespace.h: * css/DOMCSSNamespace.idl: * dom/Document.cpp: (WebCore::Document::commonTeardown): (WebCore::Document::highlightRegister): (WebCore::Document::updateHighlightPositions): (WebCore::Document::highlightMap): Deleted. * dom/Document.h: * rendering/HighlightData.cpp: * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::collectMarkedTextsForHighlights const): * rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::calculateHighlightColor const): * rendering/SelectionRangeData.cpp: Canonical link: https://commits.webkit.org/230717@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268774 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-20 23:58:03 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHighlight.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHighlight.h
Add infrastructure for WebRTC transforms https://bugs.webkit.org/show_bug.cgi?id=218750 Reviewed by Eric Carlson. Source/ThirdParty/libwebrtc: Make sure buffer is owned by the encoded image object. * Configurations/libwebrtc.mac.exp: * Source/webrtc/sdk/WebKit/WebKitEncoder.h: * Source/webrtc/sdk/WebKit/WebKitEncoder.mm: (webrtc::encoderVideoTaskComplete): Source/WebCore: Introduce RTCRtpTransform behind a preference. Add binding code with libwebrtc to be able to process encoded content in sender and receiver sides. Add a mock transform to validate the infrastructure is working. Test: webrtc/webrtc-transform.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCRtpReceiver+Transform.idl: Added. * Modules/mediastream/RTCRtpReceiver.cpp: (WebCore::RTCRtpReceiver::~RTCRtpReceiver): (WebCore::RTCRtpReceiver::stop): (WebCore::RTCRtpReceiver::setTransform): * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpReceiverWithTransform.h: Added. (WebCore::RTCRtpReceiverWithTransform::transform): (WebCore::RTCRtpReceiverWithTransform::setTransform): * Modules/mediastream/RTCRtpSender+Transform.idl: Added. * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::~RTCRtpSender): (WebCore::RTCRtpSender::stop): (WebCore::RTCRtpSender::setTransform): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/RTCRtpSenderWithTransform.h: Added. (WebCore::RTCRtpSenderWithTransform::transform): (WebCore::RTCRtpSenderWithTransform::setTransform): * Modules/mediastream/RTCRtpTransform.cpp: Added. (WebCore::RTCRtpTransform::~RTCRtpTransform): (WebCore::RTCRtpTransform::attachToReceiver): (WebCore::RTCRtpTransform::attachToSender): (WebCore::RTCRtpTransform::detachFromReceiver): (WebCore::RTCRtpTransform::detachFromSender): * Modules/mediastream/RTCRtpTransform.h: Added. * Modules/mediastream/RTCRtpTransform.idl: Added. * Modules/mediastream/RTCRtpTransformBackend.h: Added. * Modules/mediastream/RTCRtpTransformableFrame.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::createRTCRtpTransformBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverTransformBackend.cpp: Added. (WebCore::mediaTypeFromReceiver): (WebCore::LibWebRTCRtpReceiverTransformBackend::LibWebRTCRtpReceiverTransformBackend): (WebCore::LibWebRTCRtpReceiverTransformBackend::~LibWebRTCRtpReceiverTransformBackend): (WebCore::LibWebRTCRtpReceiverTransformBackend::setTransformableFrameCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverTransformBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::createRTCRtpTransformBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderTransformBackend.cpp: Added. (WebCore::mediaTypeFromSender): (WebCore::LibWebRTCRtpSenderTransformBackend::LibWebRTCRtpSenderTransformBackend): (WebCore::LibWebRTCRtpSenderTransformBackend::~LibWebRTCRtpSenderTransformBackend): (WebCore::LibWebRTCRtpSenderTransformBackend::setTransformableFrameCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderTransformBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.cpp: Added. (WebCore::LibWebRTCRtpTransformBackend::setInputCallback): (WebCore::LibWebRTCRtpTransformBackend::clearTransformableFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::setOutputCallback): (WebCore::LibWebRTCRtpTransformBackend::processTransformedFrame): (WebCore::LibWebRTCRtpTransformBackend::Transform): (WebCore::LibWebRTCRtpTransformBackend::RegisterTransformedFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::RegisterTransformedFrameSinkCallback): (WebCore::LibWebRTCRtpTransformBackend::UnregisterTransformedFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::UnregisterTransformedFrameSinkCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.h: Added. (WebCore::LibWebRTCRtpTransformBackend::LibWebRTCRtpTransformBackend): (WebCore::LibWebRTCRtpTransformBackend::Release const): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.h: Added. (WebCore::LibWebRTCRtpTransformableFrame::LibWebRTCRtpTransformableFrame): (WebCore::LibWebRTCRtpTransformableFrame::toRTCFrame): (WebCore::LibWebRTCRtpTransformableFrame::data const): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): * bindings/scripts/test/JS/JSTestInterface.h: * testing/Internals.cpp: (WebCore::Internals::createMockRTCRtpTransform): * testing/Internals.h: * testing/Internals.idl: * testing/MockRTCRtpTransform.cpp: Added. (WebCore::MockRTCRtpTransformer::create): (WebCore::MockRTCRtpTransformer::clear): (WebCore::MockRTCRtpTransformer::transform): (WebCore::MockRTCRtpTransformer::isProcessing const): (WebCore::MockRTCRtpTransformer::MockRTCRtpTransformer): (WebCore::MockRTCRtpTransform::MockRTCRtpTransform): (WebCore::MockRTCRtpTransform::~MockRTCRtpTransform): (WebCore::MockRTCRtpTransform::isProcessing const): (WebCore::MockRTCRtpTransform::initializeBackendForReceiver): (WebCore::MockRTCRtpTransform::initializeBackendForSender): (WebCore::MockRTCRtpTransform::willClearBackend): * testing/MockRTCRtpTransform.h: Added. * testing/MockRTCRtpTransform.idl: Added. Source/WebKit: Remove no longer needed const casting. * Configurations/WebKit.xcconfig: * WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp: (WebKit::LibWebRTCCodecs::completedEncoding): Source/WTF: Add an experimental preference for WebRTC transforms. * Scripts/Preferences/WebPreferencesExperimental.yaml: LayoutTests: * webrtc/webrtc-transform-expected.txt: Added. * webrtc/webrtc-transform.html: Added. Canonical link: https://commits.webkit.org/231538@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-13 07:20:19 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHighlightRegister.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHighlightRegister.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHistory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHistory.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHkdfParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHkdfParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHmacKeyParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSHmacKeyParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBCursor.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBCursor.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBCursorDirection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBCursorDirection.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBCursorWithValue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBCursorWithValue.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBDatabase.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBDatabase.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBFactory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBFactory.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBIndex.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBIndex.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBKeyRange.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBKeyRange.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBObjectStore.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBObjectStore.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBOpenDBRequest.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBOpenDBRequest.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBRequest.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBRequest.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBTransaction.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBTransaction.h
Implement IDBTransaction.durability https://bugs.webkit.org/show_bug.cgi?id=228289 Reviewed by Darin Adler. LayoutTests/imported/w3c: * web-platform-tests/IndexedDB/idlharness.any-expected.txt: * web-platform-tests/IndexedDB/idlharness.any.worker-expected.txt: * web-platform-tests/IndexedDB/transaction-relaxed-durability.tentative.any-expected.txt: * web-platform-tests/IndexedDB/transaction-relaxed-durability.tentative.any.worker-expected.txt: Source/WebCore: Spec: https://www.w3.org/TR/IndexedDB/#dom-idbtransaction-durability https://www.w3.org/TR/IndexedDB/#dictdef-idbtransactionoptions IDBTransaction.durability gives a hint about durability of a transaction. If it's strict, backend would try syncing data to database file after transaction commit, which enforces durability. If it's relaxed, it means data may stay in the OS buffer some time after transaction commit, which gives better performance. Firefox and Chrome already implemented durability. They have different ways of setting durability, and we choose to use TransactionOptions as spec. Rebaselined existing tests. New tests: storage/indexeddb/idbtransaction-durability-private.html storage/indexeddb/idbtransaction-durability.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/indexeddb/IDBDatabase.cpp: (WebCore::IDBDatabase::transaction): * Modules/indexeddb/IDBDatabase.h: * Modules/indexeddb/IDBDatabase.idl: * Modules/indexeddb/IDBTransaction.h: * Modules/indexeddb/IDBTransaction.idl: * Modules/indexeddb/IDBTransactionDurability.h: Added. * Modules/indexeddb/IDBTransactionDurability.idl: Added. * Modules/indexeddb/server/SQLiteIDBBackingStore.cpp: (WebCore::IDBServer::SQLiteIDBBackingStore::commitTransaction): * Modules/indexeddb/server/SQLiteIDBTransaction.h: (WebCore::IDBServer::SQLiteIDBTransaction::durability const): * Modules/indexeddb/shared/IDBTransactionInfo.cpp: (WebCore::IDBTransactionInfo::clientTransaction): (WebCore::IDBTransactionInfo::IDBTransactionInfo): (WebCore::IDBTransactionInfo::isolatedCopy): * Modules/indexeddb/shared/IDBTransactionInfo.h: (WebCore::IDBTransactionInfo::durability const): (WebCore::IDBTransactionInfo::encode const): (WebCore::IDBTransactionInfo::decode): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * platform/sql/SQLiteDatabase.cpp: (WebCore::checkpointModeValue): (WebCore::SQLiteDatabase::checkpoint): (WebCore::SQLiteDatabase::useWALJournalMode): * platform/sql/SQLiteDatabase.h: LayoutTests: * storage/indexeddb/idbtransaction-durability-expected.txt: Added. * storage/indexeddb/idbtransaction-durability-private-expected.txt: Added. * storage/indexeddb/idbtransaction-durability-private.html: Added. * storage/indexeddb/idbtransaction-durability.html: Added. * storage/indexeddb/resources/idbtransaction-durability.js: Added. (onOpenUpgradeNeeded): (onOpenSuccess): (onTransactionComplete): Canonical link: https://commits.webkit.org/240055@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-29 04:04:18 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBTransactionDurability.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBTransactionDurability.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBTransactionMode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBTransactionMode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBVersionChangeEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIDBVersionChangeEvent.h
IIRFilterNode interface is not supported https://bugs.webkit.org/show_bug.cgi?id=215810 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline WPT tests that are now passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/ctor-iirfilter-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-getFrequencyResponse-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode-expected.txt: Source/WebCore: Add support for IIRFilterNode interface: - https://www.w3.org/TR/webaudio/#iirfilternode The implementation is based on Chromium's. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioNode.cpp: (WebCore::convertEnumerationToString): (WebCore::AudioNode::disableOutputsIfNecessary): * Modules/webaudio/AudioNode.h: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createIIRFilter): * Modules/webaudio/BaseAudioContext.h: * Modules/webaudio/BaseAudioContext.idl: * Modules/webaudio/IIRDSPKernel.cpp: Added. (WebCore::IIRDSPKernel::IIRDSPKernel): (WebCore::IIRDSPKernel::getFrequencyResponse): (WebCore::IIRDSPKernel::process): (WebCore::IIRDSPKernel::reset): * Modules/webaudio/IIRDSPKernel.h: Added. * Modules/webaudio/IIRFilterNode.cpp: Added. (WebCore::isFilterStable): (WebCore::IIRFilterNode::create): (WebCore::IIRFilterNode::IIRFilterNode): (WebCore::IIRFilterNode::getFrequencyResponse): * Modules/webaudio/IIRFilterNode.h: Added. * Modules/webaudio/IIRFilterNode.idl: Added. * Modules/webaudio/IIRFilterOptions.h: Added. * Modules/webaudio/IIRFilterOptions.idl: Added. * Modules/webaudio/IIRProcessor.cpp: Added. (WebCore::IIRProcessor::IIRProcessor): (WebCore::IIRProcessor::~IIRProcessor): (WebCore::IIRProcessor::createKernel): (WebCore::IIRProcessor::process): (WebCore::IIRProcessor::getFrequencyResponse): * Modules/webaudio/IIRProcessor.h: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * platform/audio/IIRFilter.cpp: Added. (WebCore::evaluatePolynomial): (WebCore::IIRFilter::IIRFilter): (WebCore::IIRFilter::reset): (WebCore::IIRFilter::process): (WebCore::IIRFilter::getFrequencyResponse): (WebCore::IIRFilter::tailTime): * platform/audio/IIRFilter.h: Added. * platform/graphics/ImageUtilities.h: Canonical link: https://commits.webkit.org/228649@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-26 20:09:39 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIIRFilterNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIIRFilterNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIIRFilterOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIIRFilterOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIdleDeadline.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIdleDeadline.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIdleRequestCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIdleRequestCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIdleRequestOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIdleRequestOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageBitmap.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageBitmap.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageBitmapOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageBitmapOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageBitmapRenderingContext.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageBitmapRenderingContext.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageBitmapRenderingContextSettings.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageBitmapRenderingContextSettings.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageData.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageData.h
Add support for creating/accessing/setting non-sRGB ImageData via canvas https://bugs.webkit.org/show_bug.cgi?id=225841 Reviewed by Darin Adler. LayoutTests/imported/w3c: * web-platform-tests/html/canvas/element/wide-gamut-canvas/2d.color.space.p3.to.p3-expected.txt: Update result to passing. Source/WebCore: Test: fast/canvas/canvas-color-space-display-p3-ImageData.html Add support for accessing non-sRGB (only DisplayP3 for now due to the specification, but the support is general) pixel data in HTML canvas. Updates ImageData constructors and CanvasImageData operations to take optional ImageDataSettings dictionaries, which contain an optional color space (otherwise defaulting back to sRGB). * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/ImageDataSettings.h: Added. * html/ImageDataSettings.idl: Added. Add new ImageDataSettings.idl and related files. * bindings/js/SerializedScriptValue.cpp: (WebCore::CloneDeserializer::readImageBitmap): Fixes FIXME and uses PixelBuffer directly rather than allocating an unnecessary ImageData. This was done now since the relevent ImageData constructor has gone away. * html/ImageData.cpp: (WebCore::computeDataSize): (WebCore::ImageData::computeColorSpace): (WebCore::ImageData::create): (WebCore::ImageData::createUninitialized): (WebCore::ImageData::ImageData): (WebCore::ImageData::pixelBuffer const): (WebCore::ImageData::dataSize): Deleted. (WebCore::ImageData::deepClone const): Deleted. * html/ImageData.h: (WebCore::ImageData::size const): (WebCore::ImageData::width const): (WebCore::ImageData::height const): (WebCore::ImageData::data const): (WebCore::ImageData::colorSpace const): (WebCore::ImageData::pixelBuffer const): Deleted. - Reworked ImageData to no longer store a PixelBuffer, which has extraneous information in it, but rather to store just what it needs IntSize, Ref<JSC::Uint8ClampedArray>, and now PredefinedColorSpace. - Updates create functions for new optional ImageDataSettings. - Adds createUninitialized which follows spec language for ImageData creation and is used by CanvasRenderingContext2D to create ImageData objects of with the right color spaces, allowing for fallback to the canvas' own color space when no ImageDataSettings color space is provided. It is uninitialized and therefore requires the client to initialize the data to allow for support for no alpha support in the future, which requires a non-zero initialization pattern. * html/ImageData.idl: Add optional ImageDataSettings parameters and the new colorSpace attribute. * html/canvas/CanvasImageData.idl: Add optional ImageDataSettings parameters. * html/canvas/CanvasRenderingContext2DBase.h: * html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::initializeEmptyImageData): Add helper to initialize the ImageData buffer. Right now it always calls zeroFill(), but in the future it will need to do more. (WebCore::CanvasRenderingContext2DBase::createImageData const): Update to account for this function being able to throw an exception (when out of memory) and use the new createUninitialized/initializeEmptyImageData to create a correctly color spaced ImageData. (WebCore::CanvasRenderingContext2DBase::createImageData const): Update for new optional ImageDataSettings and use the new createUninitialized initializeEmptyImageData to create a correctly color spaced ImageData. (WebCore::CanvasRenderingContext2DBase::getImageData const): Moves parameter checks to the begining to match the spec, and uses new createUninitialized/initializeEmptyImageData to create a correctly color spaced ImageData. Also, use the ImageData's color space when getting the pixel buffer to actually return the right data! * html/canvas/PredefinedColorSpace.cpp: (WebCore::toPredefinedColorSpace): * html/canvas/PredefinedColorSpace.h: Add conversion function from DestinationColorSpace to PredefinedColorSpace. Since DestinationColorSpace is a superset of PredefinedColorSpace, this can fail, so this conversion returns an Optional. * inspector/InspectorCanvas.cpp: * inspector/InspectorCanvasCallTracer.cpp: * inspector/InspectorCanvasCallTracer.h: Stub out inspector support for ImageDataSettings. * platform/graphics/ImageBufferBackend.cpp: (WebCore::ImageBufferBackend::getPixelBuffer const): Use the ImageBuffer's actual color space as the source color space rather than hard coding sRGB. This allows the color space conversion to take place. Also remove some unnecessary temporary variables. (WebCore::ImageBufferBackend::putPixelBuffer): Use the ImageBuffer's actual color space as the destination color space rather than hard coding sRGB. This allows the color space conversion to take place. Also remove some unnecessary temporary variables. * platform/graphics/PixelBuffer.cpp: (WebCore::PixelBuffer::tryCreate): (WebCore::PixelBuffer::PixelBuffer): * platform/graphics/PixelBuffer.h: (WebCore::PixelBuffer::takeData): Add a few helpers to allow creationg to/from PixelBuffer a bit easier. * platform/graphics/PixelBufferConversion.cpp: (WebCore::convertImagePixelsAccelerated): Fix incorrect assertion. We want to assert that there is no error, not that there is one. * platform/graphics/filters/FilterEffect.cpp: (WebCore::FilterEffect::convertImageBufferToColorSpace): (WebCore::FilterEffect::copyUnmultipliedResult): (WebCore::FilterEffect::copyPremultipliedResult): (WebCore::FilterEffect::createUnmultipliedImageResult): (WebCore::FilterEffect::createPremultipliedImageResult): Stop hard coding SRGB for PixelBuffer color spaces and use the appropriate color space for the task. We still do color space conversion through ImageBuffer so we should come back and simplify code here to not always require that. * testing/Internals.cpp: (WebCore::Internals::videoSampleAvailable): (WebCore::Internals::loadArtworkImage): Update to specify a color space to maintain existing behavior. Source/WebKitLegacy/win: Add support for tests enabling the CanvasColorSpaceEnabled preference. * WebPreferences.cpp: (WebPreferences::canvasColorSpaceEnabled): * WebPreferences.h: * WebView.cpp: (WebView::notifyPreferencesChanged): LayoutTests: * TestExpectations: Remove wide-gamut-canvas now that they should pass. * fast/canvas/canvas-color-space-display-p3-ImageData-expected.txt: Added. * fast/canvas/canvas-color-space-display-p3-ImageData.html: Added. Add new test exercising getImageData and putImageData with non-sRGB canvases and non-sRGB ImageData. * fast/canvas/canvas-imageData-expected.txt: Update results for updated error messages, which are a bit worse due additional ambiguity in signatures. * platform/glib/TestExpectations: Mark new test as failing on glib due to lack of display-p3 support. * platform/win/TestExpectations: Mark new test as failing on Windows due to lack of display-p3 support. Unskip CanvasRenderingContext2DSettings-colorSpace-enabled.html which should now pass due to adding manual preferences support in WebKitLegacy/win. * storage/indexeddb/modern/objectstore-autoincrement-types-expected.txt: Update results due to new attribute in ImageData that is auto printed. Canonical link: https://commits.webkit.org/237797@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-16 15:21:34 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageDataSettings.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageDataSettings.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageSmoothingQuality.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSImageSmoothingQuality.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInnerHTML.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInnerHTML.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInputEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInputEvent.h
Web Inspector: Audit: create new IDL type for exposing special functionality in test context https://bugs.webkit.org/show_bug.cgi?id=193149 <rdar://problem/46801218> Reviewed by Joseph Pecoraro. Source/JavaScriptCore: Create a new `AuditAgent` (and various subclasses for different inspection targets) * inspector/protocol/Audit.json: Added. Add a `run` command that is a simpler version of `Runtime.evaluate`, except that it expects a function string instead of an arbitrary JavaScript expression. Add `setup` and `teardown` commands that create a JavaScript object that will be passed in to the test as an argument. Keep this object alive so that tests can add to the object and have later tests use what was added. * inspector/agents/InspectorAuditAgent.h: Added. * inspector/agents/InspectorAuditAgent.cpp: Added. (Inspector::InspectorAuditAgent::InspectorAuditAgent): (Inspector::InspectorAuditAgent::didCreateFrontendAndBackend): (Inspector::InspectorAuditAgent::willDestroyFrontendAndBackend): (Inspector::InspectorAuditAgent::setup): (Inspector::InspectorAuditAgent::run): (Inspector::InspectorAuditAgent::teardown): (Inspector::InspectorAuditAgent::hasActiveAudit): (Inspector::InspectorAuditAgent::populateAuditObject): * inspector/agents/JSGlobalObjectAuditAgent.h: Added. * inspector/agents/JSGlobalObjectAuditAgent.cpp: Added. (Inspector::JSGlobalObjectAuditAgent::JSGlobalObjectAuditAgent): (Inspector::JSGlobalObjectAuditAgent::injectedScriptForEval): * inspector/JSGlobalObjectInspectorController.h: * inspector/JSGlobalObjectInspectorController.cpp: (Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController): (Inspector::JSGlobalObjectInspectorController::connectFrontend): (Inspector::JSGlobalObjectInspectorController::jsAgentContext): Added. (Inspector::JSGlobalObjectInspectorController::createLazyAgents): Added. * inspector/InjectedScript.h: * inspector/InjectedScript.cpp: (Inspector::InjectedScript::execute): Added. (Inspector::InjectedScript::arrayFromVector): Added. Create a version of `evaluate` that accepts a list of values to be passed in as arguments to the function that was created by the `eval` of the given `functionString`. * inspector/InjectedScriptSource.js: (InjectedScript.prototype.execute): Added. (InjectedScript.prototype.evaluate): (InjectedScript.prototype.evaluateOnCallFrame): (InjectedScript.prototype._evaluateAndWrap): (InjectedScript.prototype._wrapAndSaveCall): Added. (InjectedScript.prototype._wrapCall): Added. (InjectedScript.prototype._evaluateOn): Refactor the `eval` and `saveResult` logic to allow for more flexibility for other callers. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources.make: * JavaScriptCore.xcodeproj/project.pbxproj: * Sources.txt: * UnifiedSources-input.xcfilelist: Source/WebCore: Tests: inspector/audit/run.html inspector/audit/setup.html inspector/audit/teardown.html Create a new `AuditAgent` (and various subclasses for different inspection targets), as well as `InspectorAuditAccessibilityObject` and `InspectorAuditDOMObject` objects that will be injected into the test function to allow for more advanced testing. * inspector/InspectorAuditAccessibilityObject.idl: Added. * inspector/InspectorAuditAccessibilityObject.h: Added. (WebCore::InspectorAuditAccessibilityObject::create): * inspector/InspectorAuditAccessibilityObject.cpp: Added. (WebCore::InspectorAuditAccessibilityObject::InspectorAuditAccessibilityObject): * inspector/InspectorAuditDOMObject.idl: Added. * inspector/InspectorAuditDOMObject.h: Added. (WebCore::InspectorAuditDOMObject::create): * inspector/InspectorAuditDOMObject.cpp: Added. (WebCore::InspectorAuditDOMObject::InspectorAuditDOMObject): * inspector/agents/page/PageAuditAgent.h: Added. * inspector/agents/page/PageAuditAgent.cpp: Added. (WebCore::PageAuditAgent::PageAuditAgent): (WebCore::PageAuditAgent::injectedScriptForEval): (WebCore::PageAuditAgent::populateAuditObject): (WebCore::PageAuditAgent::muteConsole): (WebCore::PageAuditAgent::unmuteConsole): * inspector/agents/worker/WorkerAuditAgent.h: Added. * inspector/agents/worker/WorkerAuditAgent.cpp: Added. (WebCore::WorkerAuditAgent::WorkerAuditAgent): (WebCore::WorkerAuditAgent::injectedScriptForEval): * inspector/InspectorController.cpp: (WebCore::InspectorController::createLazyAgents): * inspector/WorkerInspectorController.cpp: (WebCore::WorkerInspectorController::createLazyAgents): * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * UnifiedSources-input.xcfilelist: * WebCore.xcodeproj/project.pbxproj: Source/WebInspectorUI: Add `AuditAgent` getters and plumbing. * UserInterface/Protocol/Target.js: (WI.Target.prototype.get AuditAgent): Added. * UserInterface/Models/AuditTestCase.js: (WI.AuditTestCase.prototype.async run): * UserInterface/Controllers/AuditManager.js: (WI.AuditManager.prototype.async start): * .eslintrc: LayoutTests: * inspector/audit/resources/audit-utilities.js: (TestPage.registerInitializer.InspectorTest.Audit.setupAudit): Added. (TestPage.registerInitializer.InspectorTest.Audit.teardownAudit): Added. * inspector/audit/run.html: Added. * inspector/audit/run-expected.txt: Added. * inspector/audit/setup.html: Added. * inspector/audit/setup-expected.txt: Added. * inspector/audit/teardown.html: Added. * inspector/audit/teardown-expected.txt: Added. * inspector/canvas/create-context-2d-expected.txt: * inspector/canvas/create-context-bitmaprenderer-expected.txt: * inspector/canvas/create-context-webgl-expected.txt: * inspector/canvas/create-context-webgl2-expected.txt: * inspector/canvas/create-context-webmetal-expected.txt: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/model/remote-object-expected.txt: * inspector/model/stack-trace-expected.txt: Canonical link: https://commits.webkit.org/207945@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-01-15 08:25:33 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInspectorAuditAccessibilityObject.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInspectorAuditAccessibilityObject.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInspectorAuditDOMObject.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInspectorAuditDOMObject.h
Web Inspector: Audit: provide a way to get the contents of resources https://bugs.webkit.org/show_bug.cgi?id=195266 <rdar://problem/48550911> Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/InjectedScriptBase.cpp: (Inspector::InjectedScriptBase::makeAsyncCall): Drive-by: fix missing `else`. Source/WebCore: Test: inspector/audit/run-resources.html * inspector/InspectorAuditResourcesObject.idl: Added. * inspector/InspectorAuditResourcesObject.h: Added. (WebCore::InspectorAuditResourcesObject::create): (WebCore::InspectorAuditResourcesObject::Resource): (WebCore::InspectorAuditResourcesObject::ResourceContent): (WebCore::InspectorAuditResourcesObject::InspectorAuditCachedResourceClient): (WebCore::InspectorAuditResourcesObject::InspectorAuditCachedFontClient): (WebCore::InspectorAuditResourcesObject::InspectorAuditCachedImageClient): (WebCore::InspectorAuditResourcesObject::InspectorAuditCachedRawResourceClient): (WebCore::InspectorAuditResourcesObject::InspectorAuditCachedStyleSheetClient): (WebCore::InspectorAuditResourcesObject::InspectorAuditCachedSVGDocumentClient): * inspector/InspectorAuditResourcesObject.cpp: Added. (WebCore::InspectorAuditResourcesObject::InspectorAuditResourcesObject): (WebCore::InspectorAuditResourcesObject::getResources): (WebCore::InspectorAuditResourcesObject::getResourceContent): (WebCore::InspectorAuditResourcesObject::clientForResource): * inspector/agents/InspectorPageAgent.h: * inspector/agents/InspectorPageAgent.cpp: (WebCore::InspectorPageAgent::cachedResourcesForFrame): Added. (WebCore::allResourcesURLsForFrame): Moved a file static function to be a class static function so it can be used elsewhere. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: LayoutTests: * inspector/audit/resources/sample-resource.css: Added. * inspector/audit/resources/sample-resource.js: Added. * inspector/audit/run-resources.html: Added. * inspector/audit/run-resources-expected.txt: Added. Canonical link: https://commits.webkit.org/210031@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-03-14 10:13:57 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInspectorAuditResourcesObject.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInspectorAuditResourcesObject.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInspectorFrontendHost.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInspectorFrontendHost.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInternalSettings.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInternalSettings.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInternalSettingsGenerated.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInternalSettingsGenerated.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInternals.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInternals.h
maplike should define a set method https://bugs.webkit.org/show_bug.cgi?id=204877 Reviewed by Chris Dumez. Source/WebCore: maplike implementation was defining an add method instead of a set method. Update implementation to define and use a set method. Add an InternalsMapLike to allow testing. Test: js/dom/maplike.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/highlight/HighlightMap.cpp: (WebCore::HighlightMap::addFromMapLike): * Modules/highlight/HighlightMap.h: * Modules/highlight/HighlightMap.idl: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMMapLike.h: (WebCore::DOMMapLike::set): (WebCore::forwardSetToMapLike): * bindings/scripts/IDLParser.pm: (parseMapLikeProperties): * bindings/scripts/test/JS/JSMapLike.cpp: (WebCore::jsMapLikePrototypeFunctionSetBody): (WebCore::jsMapLikePrototypeFunctionSet): (WebCore::jsMapLikePrototypeFunctionAddBody): Deleted. (WebCore::jsMapLikePrototypeFunctionAdd): Deleted. * testing/Internals.cpp: (WebCore::Internals::createInternalsMapLike): * testing/Internals.h: * testing/Internals.idl: * testing/InternalsMapLike.cpp: Added. * testing/InternalsMapLike.h: Added. * testing/InternalsMapLike.idl: Added. LayoutTests: * highlight/highlight-interfaces-expected.txt: * highlight/highlight-interfaces.html: * js/dom/maplike-expected.txt: Added. * js/dom/maplike.html: Added. Canonical link: https://commits.webkit.org/218109@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-12-05 17:44:06 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInternalsMapLike.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInternalsMapLike.h
Add support for WebIDL setlike https://bugs.webkit.org/show_bug.cgi?id=159140 Reviewed by Chris Dumez. Source/WebCore: Add preliminary support for https://heycam.github.io/webidl/#idl-setlike in the binding generator and IDL parser. A setlike JS wrapper owns a JSSet as a private slot that mirrors values owned by the wrapped object. forEach support is still missing. A DOM class implementing setlike must currently implement the following methods: - initializeSetLike - addFromSetLike - removeFromSetLike Added an internals class implementing setlike to test it. Also covered by binding tests. Test: js/dom/setlike.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMSetLike.cpp: Added. (WebCore::getBackingSet): (WebCore::clearBackingSet): (WebCore::addToBackingSet): (WebCore::forwardAttributeGetterToBackingSet): (WebCore::forwardFunctionCallToBackingSet): * bindings/js/JSDOMSetLike.h: Added. (WebCore::DOMSetAdapter::DOMSetAdapter): (WebCore::DOMSetAdapter::add): (WebCore::DOMSetAdapter::clear): (WebCore::DOMSetAdapter::globalObject const): (WebCore::getAndInitializeBackingSet): (WebCore::forwardSizeToSetLike): (WebCore::forwardEntriesToSetLike): (WebCore::forwardKeysToSetLike): (WebCore::forwardValuesToSetLike): (WebCore::forwardHasToSetLike): (WebCore::forwardClearToSetLike): (WebCore::forwardAddToSetLike): (WebCore::forwardDeleteToSetLike): * bindings/js/WebCoreBuiltinNames.h: * bindings/scripts/CodeGeneratorJS.pm: (GetFullyQualifiedImplementationCallName): (AddAdditionalArgumentsForImplementationCall): (IsAcceleratedDOMAttribute): (PrototypeOperationCount): (GeneratePropertiesHashTable): (InterfaceNeedsIterator): (GenerateImplementation): (GenerateAttributeGetterBodyDefinition): (GenerateOperationBodyDefinition): (GetRuntimeEnabledStaticProperties): * bindings/scripts/IDLParser.pm: (cloneOperation): (applyTypedefs): (parseOperationOrReadWriteAttributeOrMaplike): (parseReadOnlyMember): (parseOperation): (parseSetLikeRest): (parseSetLikeProperties): (applyMemberList): * bindings/scripts/test/JS/JSReadOnlySetLike.cpp: Added. (WebCore::JSReadOnlySetLikePrototype::create): (WebCore::JSReadOnlySetLikePrototype::createStructure): (WebCore::JSReadOnlySetLikePrototype::JSReadOnlySetLikePrototype): (WebCore::JSReadOnlySetLikeConstructor::prototypeForStructure): (WebCore::JSReadOnlySetLikeConstructor::initializeProperties): (WebCore::JSReadOnlySetLikePrototype::finishCreation): (WebCore::JSReadOnlySetLike::JSReadOnlySetLike): (WebCore::JSReadOnlySetLike::finishCreation): (WebCore::JSReadOnlySetLike::createPrototype): (WebCore::JSReadOnlySetLike::prototype): (WebCore::JSReadOnlySetLike::getConstructor): (WebCore::JSReadOnlySetLike::destroy): (WebCore::IDLAttribute<JSReadOnlySetLike>::cast): (WebCore::IDLOperation<JSReadOnlySetLike>::cast): (WebCore::jsReadOnlySetLikeConstructor): (WebCore::setJSReadOnlySetLikeConstructor): (WebCore::jsReadOnlySetLikeSizeGetter): (WebCore::jsReadOnlySetLikeSize): (WebCore::jsReadOnlySetLikePrototypeFunctionHasBody): (WebCore::jsReadOnlySetLikePrototypeFunctionHas): (WebCore::jsReadOnlySetLikePrototypeFunctionEntriesBody): (WebCore::jsReadOnlySetLikePrototypeFunctionEntries): (WebCore::jsReadOnlySetLikePrototypeFunctionKeysBody): (WebCore::jsReadOnlySetLikePrototypeFunctionKeys): (WebCore::jsReadOnlySetLikePrototypeFunctionValuesBody): (WebCore::jsReadOnlySetLikePrototypeFunctionValues): (WebCore::JSReadOnlySetLike::analyzeHeap): (WebCore::JSReadOnlySetLikeOwner::isReachableFromOpaqueRoots): (WebCore::JSReadOnlySetLikeOwner::finalize): (WebCore::toJSNewlyCreated): (WebCore::toJS): (WebCore::JSReadOnlySetLike::toWrapped): * bindings/scripts/test/JS/JSReadOnlySetLike.h: Added. (WebCore::JSReadOnlySetLike::create): (WebCore::JSReadOnlySetLike::createStructure): (WebCore::wrapperOwner): (WebCore::wrapperKey): (WebCore::toJS): (WebCore::toJSNewlyCreated): * bindings/scripts/test/JS/JSSetLike.cpp: Added. (WebCore::JSSetLikePrototype::create): (WebCore::JSSetLikePrototype::createStructure): (WebCore::JSSetLikePrototype::JSSetLikePrototype): (WebCore::JSSetLikeConstructor::prototypeForStructure): (WebCore::JSSetLikeConstructor::initializeProperties): (WebCore::JSSetLikePrototype::finishCreation): (WebCore::JSSetLike::JSSetLike): (WebCore::JSSetLike::finishCreation): (WebCore::JSSetLike::createPrototype): (WebCore::JSSetLike::prototype): (WebCore::JSSetLike::getConstructor): (WebCore::JSSetLike::destroy): (WebCore::IDLAttribute<JSSetLike>::cast): (WebCore::IDLOperation<JSSetLike>::cast): (WebCore::jsSetLikeConstructor): (WebCore::setJSSetLikeConstructor): (WebCore::jsSetLikeSizeGetter): (WebCore::jsSetLikeSize): (WebCore::jsSetLikePrototypeFunctionHasBody): (WebCore::jsSetLikePrototypeFunctionHas): (WebCore::jsSetLikePrototypeFunctionEntriesBody): (WebCore::jsSetLikePrototypeFunctionEntries): (WebCore::jsSetLikePrototypeFunctionKeysBody): (WebCore::jsSetLikePrototypeFunctionKeys): (WebCore::jsSetLikePrototypeFunctionValuesBody): (WebCore::jsSetLikePrototypeFunctionValues): (WebCore::jsSetLikePrototypeFunctionAddBody): (WebCore::jsSetLikePrototypeFunctionAdd): (WebCore::jsSetLikePrototypeFunctionClearBody): (WebCore::jsSetLikePrototypeFunctionClear): (WebCore::jsSetLikePrototypeFunctionDeleteBody): (WebCore::jsSetLikePrototypeFunctionDelete): (WebCore::JSSetLike::analyzeHeap): (WebCore::JSSetLikeOwner::isReachableFromOpaqueRoots): (WebCore::JSSetLikeOwner::finalize): (WebCore::toJSNewlyCreated): (WebCore::toJS): (WebCore::JSSetLike::toWrapped): * bindings/scripts/test/JS/JSSetLike.h: Added. (WebCore::JSSetLike::create): (WebCore::JSSetLike::createStructure): (WebCore::wrapperOwner): (WebCore::wrapperKey): (WebCore::toJS): (WebCore::toJSNewlyCreated): * bindings/scripts/test/JS/JSTestGlobalObject.cpp: (WebCore::jsTestGlobalObjectTestReadOnlySetLikeConstructorGetter): (WebCore::jsTestGlobalObjectTestReadOnlySetLikeConstructor): (WebCore::setJSTestGlobalObjectTestReadOnlySetLikeConstructorSetter): (WebCore::setJSTestGlobalObjectTestReadOnlySetLikeConstructor): (WebCore::jsTestGlobalObjectTestSetLikeConstructorGetter): (WebCore::jsTestGlobalObjectTestSetLikeConstructor): (WebCore::setJSTestGlobalObjectTestSetLikeConstructorSetter): (WebCore::setJSTestGlobalObjectTestSetLikeConstructor): * bindings/scripts/test/TestReadOnlySetLike.idl: Added. * bindings/scripts/test/TestSetLike.idl: Added. * testing/Internals.cpp: (WebCore::Internals::createInternalsSetLike): * testing/Internals.h: * testing/Internals.idl: * testing/InternalsSetLike.cpp: Added. (WebCore::InternalsSetLike::InternalsSetLike): (WebCore::InternalsSetLike::initializeSetLike): * testing/InternalsSetLike.h: Added. (WebCore::InternalsSetLike::create): (WebCore::InternalsSetLike::clearFromSetLike): (WebCore::InternalsSetLike::removeFromSetLike): (WebCore::InternalsSetLike::items const): (WebCore::InternalsSetLike::addToSetLike): * testing/InternalsSetLike.idl: Added. LayoutTests: * js/dom/setlike-expected.txt: Added. * js/dom/setlike.html: Added. Canonical link: https://commits.webkit.org/218062@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-12-04 12:06:54 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInternalsSetLike.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSInternalsSetLike.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIntersectionObserver.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIntersectionObserver.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIntersectionObserverCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIntersectionObserverCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIntersectionObserverEntry.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIntersectionObserverEntry.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIterationCompositeOperation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSIterationCompositeOperation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSJsonWebKey.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSJsonWebKey.h
Support KHR_parallel_shader_compile https://bugs.webkit.org/show_bug.cgi?id=219266 Reviewed by Kenneth Russell. Source/WebCore: Tested by webgl/conformance/extensions/khr-parallel-shader-compile.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMConvertWebGL.cpp: (WebCore::convertToJSValue): * html/canvas/KHRParallelShaderCompile.cpp: Added. (WebCore::KHRParallelShaderCompile::KHRParallelShaderCompile): (WebCore::KHRParallelShaderCompile::getName const): (WebCore::KHRParallelShaderCompile::supported): * html/canvas/KHRParallelShaderCompile.h: Added. * html/canvas/KHRParallelShaderCompile.idl: Added. * html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::getExtension): (WebCore::WebGL2RenderingContext::getSupportedExtensions): * html/canvas/WebGLExtension.h: * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::getExtension): (WebCore::WebGLRenderingContext::getSupportedExtensions): * html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::getProgramParameter): (WebCore::WebGLRenderingContextBase::getShaderParameter): (WebCore::WebGLRenderingContextBase::extensionIsEnabled): (WebCore::WebGLRenderingContextBase::loseExtensions): * html/canvas/WebGLRenderingContextBase.h: * platform/graphics/ExtensionsGL.h: LayoutTests: * webgl/conformance/extensions/khr-parallel-shader-compile-expected.txt: Added. * webgl/conformance/extensions/khr-parallel-shader-compile.html: Added. * webgl/resources/webgl_test_files/conformance/extensions/khr-parallel-shader-compile.html: Added. Canonical link: https://commits.webkit.org/231966@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-30 20:29:35 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSKHRParallelShaderCompile.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSKHRParallelShaderCompile.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSKeyboardEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSKeyboardEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSKeyframeAnimationOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSKeyframeAnimationOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSKeyframeEffect.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSKeyframeEffect.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSKeyframeEffectOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSKeyframeEffectOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSLocation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSLocation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSLongRange.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSLongRange.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMallocStatistics.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMallocStatistics.h
LayoutTests/imported/w3c: Implement MathMLIDL / HTMLOrForeignElement https://bugs.webkit.org/show_bug.cgi?id=200470 Patch by Rob Buis <rbuis@igalia.com> on 2019-09-06 Reviewed by Ryosuke Niwa. Add tests for functionality exposed by HTMLOrForeignElement. Import WPT tests as of 6e83b23bb962c97687b6573c378963208219ad1b (origin/master). * resources/import-expectations.json: * web-platform-tests/mathml/relations/html5-tree/class-1.html: * web-platform-tests/mathml/relations/html5-tree/class-2.html: * web-platform-tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/color-attributes-1.html: * web-platform-tests/mathml/relations/html5-tree/css-inline-style-dynamic.tentative-expected.html: Added. * web-platform-tests/mathml/relations/html5-tree/css-inline-style-dynamic.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/css-inline-style-interface.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/css-inline-style-interface.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/display-1-expected.txt: * web-platform-tests/mathml/relations/html5-tree/display-1.html: * web-platform-tests/mathml/relations/html5-tree/dynamic-1.html: * web-platform-tests/mathml/relations/html5-tree/href-click-1.html: * web-platform-tests/mathml/relations/html5-tree/href-click-2.html: * web-platform-tests/mathml/relations/html5-tree/href-click-3.html: * web-platform-tests/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/integration-point-1.html: * web-platform-tests/mathml/relations/html5-tree/integration-point-2.html: * web-platform-tests/mathml/relations/html5-tree/integration-point-3.html: * web-platform-tests/mathml/relations/html5-tree/integration-point-4-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/integration-point-4.html: Added. * web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/required-extensions-1-expected.txt: Removed. * web-platform-tests/mathml/relations/html5-tree/required-extensions-1.html: Removed. * web-platform-tests/mathml/relations/html5-tree/required-extensions-2.html: * web-platform-tests/mathml/relations/html5-tree/unique-identifier-1.html: * web-platform-tests/mathml/relations/html5-tree/unique-identifier-2.html: * web-platform-tests/mathml/relations/html5-tree/unique-identifier-3.html: * web-platform-tests/mathml/relations/html5-tree/w3c-import.log: * web-platform-tests/mathml/support/attribute-values.js: Added. (AttributeValueTransforms.lowercase): (AttributeValueTransforms.uppercase): (AttributeValueTransforms.alternate_case): (TransformAttributeValues): * web-platform-tests/mathml/support/box-comparison.js: Added. (spaceBetween): (measureSpaceAround): (compareSpaceWithAndWithoutStyle): (compareSizeWithAndWithoutStyle): * web-platform-tests/mathml/support/layout-comparison.js: Added. (getWritingMode): (compareSize): (participateToParentLayout): (childrenParticipatingToLayout): (compareLayout): * web-platform-tests/mathml/support/mathml-fragments.js: Added. (FragmentHelper.createElement): (FragmentHelper.isValidChildOfMrow): (FragmentHelper.isEmpty): (FragmentHelper.element): (FragmentHelper.appendChild): (FragmentHelper.forceNonEmptyElement): * web-platform-tests/mathml/support/w3c-import.log: Added. Source/WebCore: Implement MathML DOM https://bugs.webkit.org/show_bug.cgi?id=200470 Patch by Rob Buis <rbuis@igalia.com> on 2019-09-06 Reviewed by Ryosuke Niwa. Expose MathML DOM as specified here [1]. [1] https://mathml-refresh.github.io/mathml-core/#dom-mathmlelement Tests: imported/w3c/web-platform-tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/css-inline-style-dynamic.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/css-inline-style-interface.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/integration-point-4.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html mathml/focus-event-handling.html mathml/tabindex-order.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSElementCustom.cpp: (WebCore::createNewElementWrapper): * bindings/js/JSNodeCustom.cpp: (WebCore::createWrapperInline): * mathml/MathMLElement.cpp: (WebCore::MathMLElement::parseAttribute): * mathml/MathMLElement.idl: Copied from Source/WebCore/html/HTMLOrForeignElement.idl. * mathml/MathMLMathElement.idl: Copied from Source/WebCore/html/HTMLOrForeignElement.idl. * mathml/mathtags.in: LayoutTests: Implement MathML DOM https://bugs.webkit.org/show_bug.cgi?id=200470 Patch by Rob Buis <rbuis@igalia.com> on 2019-09-06 Reviewed by Ryosuke Niwa. Extend existing tests to also test focus for MathML. Add a standalone test for MathML based on svg/custom/tabindex-order.html. Add a test for mouse clicks and focus handling based on svg/custom/focus-event-handling.xhtml. * fast/dom/tabindex-defaults-expected.txt: * fast/dom/tabindex-defaults.html: * mathml/focus-event-handling-expected.txt: Added. * mathml/focus-event-handling.html: Added. * mathml/tabindex-order-expected.txt: Added. * mathml/tabindex-order.html: Added. * platform/ios-wk2/TestExpectations: Canonical link: https://commits.webkit.org/215172@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-06 12:27:54 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMathMLElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMathMLElement.h
[WebGPU] Update several interface and enum names to match spec https://bugs.webkit.org/show_bug.cgi?id=201564 Reviewed by Dean Jackson. Rename GPUShaderStageBit -> GPUShaderStage. Rename GPUColorWriteBits -> GPUColorWrite. Rename TRANSFER_SRC/DST -> COPY_SRC/DST. Source/WebCore: Rename GPUPipelineStageDescriptor -> GPUProgrammableStageDescriptor. Existing tests trivially updated to match. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webgpu/GPUBindGroupLayoutBinding.h: * Modules/webgpu/GPUBufferUsage.idl: * Modules/webgpu/GPUColorStateDescriptor.idl: * Modules/webgpu/GPUColorWrite.idl: Renamed from Source/WebCore/Modules/webgpu/GPUColorWriteBits.idl. * Modules/webgpu/GPUShaderStage.h: Renamed from Source/WebCore/Modules/webgpu/GPUShaderStageBit.h. * Modules/webgpu/GPUShaderStage.idl: Renamed from Source/WebCore/Modules/webgpu/GPUShaderStageBit.idl. * Modules/webgpu/GPUTextureUsage.idl: * Modules/webgpu/WebGPUComputePipelineDescriptor.cpp: (WebCore::WebGPUComputePipelineDescriptor::tryCreateGPUComputePipelineDescriptor const): * Modules/webgpu/WebGPUComputePipelineDescriptor.h: * Modules/webgpu/WebGPUComputePipelineDescriptor.idl: * Modules/webgpu/WebGPUDevice.cpp: * Modules/webgpu/WebGPUProgrammableStageDescriptor.cpp: Renamed from Source/WebCore/Modules/webgpu/WebGPUPipelineStageDescriptor.cpp. (WebCore::WebGPUProgrammableStageDescriptor::tryCreateGPUProgrammableStageDescriptor const): * Modules/webgpu/WebGPUProgrammableStageDescriptor.h: Renamed from Source/WebCore/Modules/webgpu/WebGPUPipelineStageDescriptor.h. * Modules/webgpu/WebGPUProgrammableStageDescriptor.idl: Renamed from Source/WebCore/Modules/webgpu/WebGPUPipelineStageDescriptor.idl. * Modules/webgpu/WebGPURenderPipelineDescriptor.cpp: (WebCore::WebGPURenderPipelineDescriptor::tryCreateGPURenderPipelineDescriptor const): * Modules/webgpu/WebGPURenderPipelineDescriptor.h: * Modules/webgpu/WebGPURenderPipelineDescriptor.idl: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * platform/graphics/gpu/GPUBuffer.h: (WebCore::GPUBuffer::isCopySource const): (WebCore::GPUBuffer::isCopyDestination const): (WebCore::GPUBuffer::isTransferSource const): Deleted. (WebCore::GPUBuffer::isTransferDestination const): Deleted. * platform/graphics/gpu/GPUBufferUsage.h: * platform/graphics/gpu/GPUColorStateDescriptor.h: * platform/graphics/gpu/GPUColorWrite.h: Renamed from Source/WebCore/platform/graphics/gpu/GPUColorWriteBits.h. * platform/graphics/gpu/GPUComputePipelineDescriptor.h: (WebCore::GPUComputePipelineDescriptor::GPUComputePipelineDescriptor): * platform/graphics/gpu/GPUPipelineDescriptorBase.h: * platform/graphics/gpu/GPUProgrammableStageDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPUPipelineStageDescriptor.h. (WebCore::GPUProgrammableStageDescriptor::GPUProgrammableStageDescriptor): * platform/graphics/gpu/GPURenderPipelineDescriptor.h: (WebCore::GPURenderPipelineDescriptor::GPURenderPipelineDescriptor): * platform/graphics/gpu/GPUTexture.h: (WebCore::GPUTexture::isCopySource const): (WebCore::GPUTexture::isCopyDestination const): (WebCore::GPUTexture::isReadOnly const): (WebCore::GPUTexture::isTransferSource const): Deleted. (WebCore::GPUTexture::isTransferDestination const): Deleted. * platform/graphics/gpu/GPUTextureUsage.h: * platform/graphics/gpu/cocoa/GPUBindGroupLayoutMetal.mm: (WebCore::GPUBindGroupLayout::tryCreate): * platform/graphics/gpu/cocoa/GPUBindGroupMetal.mm: (WebCore::GPUBindGroup::tryCreate): * platform/graphics/gpu/cocoa/GPUBufferMetal.mm: * platform/graphics/gpu/cocoa/GPUCommandBufferMetal.mm: (WebCore::GPUCommandBuffer::copyBufferToBuffer): (WebCore::GPUCommandBuffer::copyBufferToTexture): (WebCore::GPUCommandBuffer::copyTextureToBuffer): (WebCore::GPUCommandBuffer::copyTextureToTexture): * platform/graphics/gpu/cocoa/GPUComputePipelineMetal.mm: (WebCore::trySetFunctions): * platform/graphics/gpu/cocoa/GPUPipelineMetalConvertLayout.cpp: (WebCore::convertShaderStageFlags): * platform/graphics/gpu/cocoa/GPURenderPipelineMetal.mm: (WebCore::mtlColorWriteMaskForGPUColorWriteFlags): (WebCore::trySetFunctions): * platform/graphics/gpu/cocoa/GPUTextureMetal.mm: (WebCore::mtlTextureUsageForGPUTextureUsageFlags): LayoutTests: * webgpu/bind-groups.html: * webgpu/blend-color-triangle-strip.html: * webgpu/blit-commands.html: * webgpu/buffer-errors.html: * webgpu/color-write-mask-triangle-strip.html: * webgpu/pipeline-layouts.html: * webgpu/render-pipelines.html: * webgpu/texture-triangle-strip.html: * webgpu/textures-textureviews.html: * webgpu/whlsl/arbitrary-vertex-attribute-locations.html: * webgpu/whlsl/buffer-fragment.html: * webgpu/whlsl/buffer-length.html: * webgpu/whlsl/buffer-vertex.html: * webgpu/whlsl/checker-should-set-type-of-read-modify-write-variables.html: * webgpu/whlsl/compute.html: * webgpu/whlsl/dereference-pointer-should-type-check.html: * webgpu/whlsl/device-proper-type-checker.html: * webgpu/whlsl/do-while-loop-break.html: * webgpu/whlsl/do-while-loop-continue.html: * webgpu/whlsl/do-while-loop.html: * webgpu/whlsl/dont-crash-parsing-enum.html: * webgpu/whlsl/dot-expressions.html: * webgpu/whlsl/duplicate-types-should-not-produce-duplicate-ctors.html: * webgpu/whlsl/ensure-proper-variable-lifetime-2.html: * webgpu/whlsl/ensure-proper-variable-lifetime-3.html: * webgpu/whlsl/ensure-proper-variable-lifetime.html: * webgpu/whlsl/huge-array.html: * webgpu/whlsl/js/test-harness.js: (Harness.prototype.async.callTypedFunction): (Harness.prototype._clearResults): (Harness.prototype._setUpArguments): * webgpu/whlsl/loops-break.html: * webgpu/whlsl/loops-continue.html: * webgpu/whlsl/loops.html: * webgpu/whlsl/make-array-reference.html: * webgpu/whlsl/matrix-2.html: * webgpu/whlsl/matrix-alignment.html: * webgpu/whlsl/matrix-memory-layout.html: * webgpu/whlsl/matrix.html: * webgpu/whlsl/nested-dot-expression-rvalue.html: * webgpu/whlsl/nested-loop.html: * webgpu/whlsl/oob-access.html: * webgpu/whlsl/read-modify-write-high-zombies.html: * webgpu/whlsl/return-local-variable.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-10.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-11.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-12.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-13.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-14.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-15.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-16.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-17.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-18.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-19.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-2.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-20.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-21.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-22.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-23.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-24.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-25.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-26.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-27.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-3.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-4.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-5.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-6.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-7.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-8.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules-9.html: * webgpu/whlsl/separate-shader-modules/separate-shader-modules.html: * webgpu/whlsl/simple-arrays.html: * webgpu/whlsl/store-to-property-updates-properly.html: * webgpu/whlsl/textures-load.html: * webgpu/whlsl/textures-sample-bias.html: * webgpu/whlsl/textures-sample-grad.html: * webgpu/whlsl/textures-sample-level.html: * webgpu/whlsl/textures-sample.html: * webgpu/whlsl/two-dimensional-array.html: * webgpu/whlsl/while-loop-break.html: * webgpu/whlsl/while-loop-continue.html: * webgpu/whlsl/whlsl.html: * webgpu/whlsl/zero-initialize-values-2.html: * webgpu/whlsl/zero-initialize-values.html: Canonical link: https://commits.webkit.org/215200@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-07 00:24:17 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMathMLElementWrapperFactory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMathMLElementWrapperFactory.h
LayoutTests/imported/w3c: Implement MathMLIDL / HTMLOrForeignElement https://bugs.webkit.org/show_bug.cgi?id=200470 Patch by Rob Buis <rbuis@igalia.com> on 2019-09-06 Reviewed by Ryosuke Niwa. Add tests for functionality exposed by HTMLOrForeignElement. Import WPT tests as of 6e83b23bb962c97687b6573c378963208219ad1b (origin/master). * resources/import-expectations.json: * web-platform-tests/mathml/relations/html5-tree/class-1.html: * web-platform-tests/mathml/relations/html5-tree/class-2.html: * web-platform-tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/color-attributes-1.html: * web-platform-tests/mathml/relations/html5-tree/css-inline-style-dynamic.tentative-expected.html: Added. * web-platform-tests/mathml/relations/html5-tree/css-inline-style-dynamic.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/css-inline-style-interface.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/css-inline-style-interface.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/display-1-expected.txt: * web-platform-tests/mathml/relations/html5-tree/display-1.html: * web-platform-tests/mathml/relations/html5-tree/dynamic-1.html: * web-platform-tests/mathml/relations/html5-tree/href-click-1.html: * web-platform-tests/mathml/relations/html5-tree/href-click-2.html: * web-platform-tests/mathml/relations/html5-tree/href-click-3.html: * web-platform-tests/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/integration-point-1.html: * web-platform-tests/mathml/relations/html5-tree/integration-point-2.html: * web-platform-tests/mathml/relations/html5-tree/integration-point-3.html: * web-platform-tests/mathml/relations/html5-tree/integration-point-4-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/integration-point-4.html: Added. * web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/required-extensions-1-expected.txt: Removed. * web-platform-tests/mathml/relations/html5-tree/required-extensions-1.html: Removed. * web-platform-tests/mathml/relations/html5-tree/required-extensions-2.html: * web-platform-tests/mathml/relations/html5-tree/unique-identifier-1.html: * web-platform-tests/mathml/relations/html5-tree/unique-identifier-2.html: * web-platform-tests/mathml/relations/html5-tree/unique-identifier-3.html: * web-platform-tests/mathml/relations/html5-tree/w3c-import.log: * web-platform-tests/mathml/support/attribute-values.js: Added. (AttributeValueTransforms.lowercase): (AttributeValueTransforms.uppercase): (AttributeValueTransforms.alternate_case): (TransformAttributeValues): * web-platform-tests/mathml/support/box-comparison.js: Added. (spaceBetween): (measureSpaceAround): (compareSpaceWithAndWithoutStyle): (compareSizeWithAndWithoutStyle): * web-platform-tests/mathml/support/layout-comparison.js: Added. (getWritingMode): (compareSize): (participateToParentLayout): (childrenParticipatingToLayout): (compareLayout): * web-platform-tests/mathml/support/mathml-fragments.js: Added. (FragmentHelper.createElement): (FragmentHelper.isValidChildOfMrow): (FragmentHelper.isEmpty): (FragmentHelper.element): (FragmentHelper.appendChild): (FragmentHelper.forceNonEmptyElement): * web-platform-tests/mathml/support/w3c-import.log: Added. Source/WebCore: Implement MathML DOM https://bugs.webkit.org/show_bug.cgi?id=200470 Patch by Rob Buis <rbuis@igalia.com> on 2019-09-06 Reviewed by Ryosuke Niwa. Expose MathML DOM as specified here [1]. [1] https://mathml-refresh.github.io/mathml-core/#dom-mathmlelement Tests: imported/w3c/web-platform-tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/css-inline-style-dynamic.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/css-inline-style-interface.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/integration-point-4.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html mathml/focus-event-handling.html mathml/tabindex-order.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSElementCustom.cpp: (WebCore::createNewElementWrapper): * bindings/js/JSNodeCustom.cpp: (WebCore::createWrapperInline): * mathml/MathMLElement.cpp: (WebCore::MathMLElement::parseAttribute): * mathml/MathMLElement.idl: Copied from Source/WebCore/html/HTMLOrForeignElement.idl. * mathml/MathMLMathElement.idl: Copied from Source/WebCore/html/HTMLOrForeignElement.idl. * mathml/mathtags.in: LayoutTests: Implement MathML DOM https://bugs.webkit.org/show_bug.cgi?id=200470 Patch by Rob Buis <rbuis@igalia.com> on 2019-09-06 Reviewed by Ryosuke Niwa. Extend existing tests to also test focus for MathML. Add a standalone test for MathML based on svg/custom/tabindex-order.html. Add a test for mouse clicks and focus handling based on svg/custom/focus-event-handling.xhtml. * fast/dom/tabindex-defaults-expected.txt: * fast/dom/tabindex-defaults.html: * mathml/focus-event-handling-expected.txt: Added. * mathml/focus-event-handling.html: Added. * mathml/tabindex-order-expected.txt: Added. * mathml/tabindex-order.html: Added. * platform/ios-wk2/TestExpectations: Canonical link: https://commits.webkit.org/215172@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-06 12:27:54 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMathMLMathElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMathMLMathElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaCapabilities.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaCapabilities.h
Add a "supportedConfiguration" dictionary to MediaCapabilitiesDecodingInfo and MediaCapabilitiesEncodingInfo https://bugs.webkit.org/show_bug.cgi?id=195763 Reviewed by Jon Lee. Source/WebCore: Test: media/mediacapabilities/mock-decodingInfo-supportedConfiguration.html Add support for a proposed addition to the Media Capabilities spec that would future-proof additional changes to Media Capabilities by allowing sites to check exactly what properties were queried by the browser when answering a decodeInfo() or enocdeInfo() query. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediacapabilities/AudioConfiguration.idl: * Modules/mediacapabilities/MediaCapabilities.cpp: (WebCore::MediaCapabilities::decodingInfo): (WebCore::MediaCapabilities::encodingInfo): * Modules/mediacapabilities/MediaCapabilities.idl: * Modules/mediacapabilities/MediaCapabilitiesDecodingInfo.idl: * Modules/mediacapabilities/MediaCapabilitiesEncodingInfo.idl: * Modules/mediacapabilities/MediaCapabilitiesInfo.idl: * Modules/mediacapabilities/MediaDecodingConfiguration.idl: * Modules/mediacapabilities/MediaEncodingConfiguration.idl: * Modules/mediacapabilities/VideoConfiguration.idl: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * platform/MediaCapabilitiesDecodingInfo.h: Copied from Source/WebCore/platform/graphics/cocoa/MediaEngineConfigurationFactoryCocoa.h. (WebCore::MediaCapabilitiesDecodingInfo::MediaCapabilitiesDecodingInfo): * platform/MediaCapabilitiesEncodingInfo.h: Copied from Source/WebCore/platform/graphics/cocoa/MediaEngineConfigurationFactoryCocoa.h. (WebCore::MediaCapabilitiesEncodingInfo::MediaCapabilitiesEncodingInfo): * platform/graphics/cocoa/MediaEngineConfigurationFactoryCocoa.cpp: (WebCore::createMediaPlayerDecodingConfigurationCocoa): * platform/graphics/cocoa/MediaEngineConfigurationFactoryCocoa.h: * platform/graphics/gstreamer/MediaEngineConfigurationFactoryGStreamer.cpp: (WebCore::createMediaPlayerDecodingConfigurationGStreamer): * platform/graphics/gstreamer/MediaEngineConfigurationFactoryGStreamer.h: * platform/mediacapabilities/MediaEngineConfigurationFactory.cpp: (WebCore::MediaEngineConfigurationFactory::createDecodingConfiguration): (WebCore::MediaEngineConfigurationFactory::createEncodingConfiguration): * platform/mediacapabilities/MediaEngineConfigurationFactory.h: * platform/mock/MediaEngineConfigurationFactoryMock.cpp: (WebCore::MediaEngineConfigurationFactoryMock::createDecodingConfiguration): (WebCore::MediaEngineConfigurationFactoryMock::createEncodingConfiguration): * platform/mock/MediaEngineConfigurationFactoryMock.h: LayoutTests: * media/mediacapabilities/mock-decodingInfo-supportedConfiguration-expected.txt: Added. * media/mediacapabilities/mock-decodingInfo-supportedConfiguration.html: Added. Canonical link: https://commits.webkit.org/210098@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-03-15 22:02:02 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaCapabilitiesDecodingInfo.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaCapabilitiesDecodingInfo.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaCapabilitiesEncodingInfo.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaCapabilitiesEncodingInfo.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaCapabilitiesInfo.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaCapabilitiesInfo.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaConfiguration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaConfiguration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaController.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaController.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaControlsHost.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaControlsHost.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaDecodingConfiguration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaDecodingConfiguration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaDecodingType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaDecodingType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaDeviceInfo.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaDeviceInfo.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaDevices.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaDevices.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaElementAudioSourceNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaElementAudioSourceNode.h
MediaElementAudioSourceNode interface should have a constructor https://bugs.webkit.org/show_bug.cgi?id=215200 Reviewed by Youenn Fablet. LayoutTests/imported/w3c: Rebaseline WPT test now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: Source/WebCore: MediaElementAudioSourceNode interface should have a constructor: - https://webaudio.github.io/web-audio-api/#mediaelementaudiosourcenode Test: webaudio/mediaelementaudiosourcenode-constructor.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::createMediaElementSource): * Modules/webaudio/AudioContext.idl: * Modules/webaudio/MediaElementAudioSourceNode.cpp: (WebCore::MediaElementAudioSourceNode::create): (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode): * Modules/webaudio/MediaElementAudioSourceNode.h: * Modules/webaudio/MediaElementAudioSourceNode.idl: * Modules/webaudio/MediaElementAudioSourceOptions.h: Copied from Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.idl. * Modules/webaudio/MediaElementAudioSourceOptions.idl: Copied from Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.idl. * Modules/webaudio/WebKitAudioContext.cpp: (WebCore::WebKitAudioContext::createMediaElementSource): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: LayoutTests: Add layout test coverage. * webaudio/mediaelementaudiosourcenode-constructor-expected.txt: Added. * webaudio/mediaelementaudiosourcenode-constructor.html: Added. Canonical link: https://commits.webkit.org/228010@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-06 16:18:03 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaElementAudioSourceOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaElementAudioSourceOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaEncodingConfiguration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaEncodingConfiguration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaEncodingType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaEncodingType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaEncryptedEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaEncryptedEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaError.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaError.h
Add skeleton implementation of Media Session API https://bugs.webkit.org/show_bug.cgi?id=217797 LayoutTests/imported/w3c: Reviewed by Darin Adler. * resources/import-expectations.json: * resources/resource-files.json: * web-platform-tests/mediasession/META.yml: Added. * web-platform-tests/mediasession/README.md: Added. * web-platform-tests/mediasession/helper/artwork-generator.html: Added. * web-platform-tests/mediasession/helper/w3c-import.log: Added. * web-platform-tests/mediasession/idlharness.window-expected.txt: Added. * web-platform-tests/mediasession/idlharness.window.html: Added. * web-platform-tests/mediasession/idlharness.window.js: Added. * web-platform-tests/mediasession/mediametadata-expected.txt: Added. * web-platform-tests/mediasession/mediametadata.html: Added. * web-platform-tests/mediasession/playbackstate-expected.txt: Added. * web-platform-tests/mediasession/playbackstate.html: Added. * web-platform-tests/mediasession/positionstate-expected.txt: Added. * web-platform-tests/mediasession/positionstate.html: Added. * web-platform-tests/mediasession/setactionhandler-expected.txt: Added. * web-platform-tests/mediasession/setactionhandler.html: Added. * web-platform-tests/mediasession/w3c-import.log: Added. Source/WebCore: Reviewed by Darin Adler. Tests: imported/w3c/web-platform-tests/mediasession/idlharness.window.html imported/w3c/web-platform-tests/mediasession/mediametadata.html imported/w3c/web-platform-tests/mediasession/playbackstate.html imported/w3c/web-platform-tests/mediasession/positionstate.html imported/w3c/web-platform-tests/mediasession/setactionhandler.html Add an initial, no-op, implementation of the Media Session API. Note, the WPT test results include a failing test of Object.isFrozen(); the bindings generator does not currently support generating a FrozenArray of dictionary values. * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediasession/MediaImage.h: Added. * Modules/mediasession/MediaImage.idl: Added. * Modules/mediasession/MediaMetadata.h: Added. (WebCore::MediaMetadata::create): (WebCore::MediaMetadata::MediaMetadata): (WebCore::MediaMetadata::setMediaSession): (WebCore::MediaMetadata::title const): (WebCore::MediaMetadata::setTitle): (WebCore::MediaMetadata::artist const): (WebCore::MediaMetadata::setArtist): (WebCore::MediaMetadata::album const): (WebCore::MediaMetadata::setAlbum): (WebCore::MediaMetadata::artwork const): (WebCore::MediaMetadata::setArtwork): (WebCore::MediaMetadata::metadataUpdated): * Modules/mediasession/MediaMetadata.idl: Added. * Modules/mediasession/MediaMetadataInit.h: Added. * Modules/mediasession/MediaMetadataInit.idl: Added. * Modules/mediasession/MediaPositionState.h: Added. * Modules/mediasession/MediaPositionState.idl: Added. * Modules/mediasession/MediaSession.cpp: Added. (WebCore::MediaSession::create): (WebCore::MediaSession::MediaSession): (WebCore::MediaSession::setMetadata): (WebCore::MediaSession::setPlaybackState): (WebCore::MediaSession::setActionHandler): (WebCore::MediaSession::setPositionState): (WebCore::MediaSession::metadataUpdated): * Modules/mediasession/MediaSession.h: Added. (WebCore::MediaSession::metadata const): (WebCore::MediaSession::playbackState const): * Modules/mediasession/MediaSession.idl: Added. * Modules/mediasession/MediaSessionAction.h: Added. * Modules/mediasession/MediaSessionAction.idl: Added. * Modules/mediasession/MediaSessionActionDetails.h: Added. * Modules/mediasession/MediaSessionActionDetails.idl: Added. * Modules/mediasession/MediaSessionActionHandler.h: Added. * Modules/mediasession/MediaSessionActionHandler.idl: Added. * Modules/mediasession/MediaSessionPlaybackState.h: Added. * Modules/mediasession/MediaSessionPlaybackState.idl: Added. * Modules/mediasession/Navigator+MediaSession.idl: Added. * Modules/mediasession/NavigatorMediaSession.cpp: Added. (WebCore::NavigatorMediaSession::NavigatorMediaSession): (WebCore::NavigatorMediaSession::mediaSession): (WebCore::NavigatorMediaSession::from): (WebCore::NavigatorMediaSession::supplementName): * Modules/mediasession/NavigatorMediaSession.h: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Source/WTF: Reviewed by Darin Adler. * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Tools: <rdar://problem/70367487> Reviewed by Darin Adler. * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): Canonical link: https://commits.webkit.org/230686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-20 16:20:16 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaImage.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaImage.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeyEncryptionScheme.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeyEncryptionScheme.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeyMessageEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeyMessageEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeySession.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeySession.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeySessionType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeySessionType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeyStatusMap.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeyStatusMap.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeySystemAccess.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeySystemAccess.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeySystemConfiguration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeySystemConfiguration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeySystemMediaCapability.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeySystemMediaCapability.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeys.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeys.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeysRequirement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaKeysRequirement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaList.h
Add skeleton implementation of Media Session API https://bugs.webkit.org/show_bug.cgi?id=217797 LayoutTests/imported/w3c: Reviewed by Darin Adler. * resources/import-expectations.json: * resources/resource-files.json: * web-platform-tests/mediasession/META.yml: Added. * web-platform-tests/mediasession/README.md: Added. * web-platform-tests/mediasession/helper/artwork-generator.html: Added. * web-platform-tests/mediasession/helper/w3c-import.log: Added. * web-platform-tests/mediasession/idlharness.window-expected.txt: Added. * web-platform-tests/mediasession/idlharness.window.html: Added. * web-platform-tests/mediasession/idlharness.window.js: Added. * web-platform-tests/mediasession/mediametadata-expected.txt: Added. * web-platform-tests/mediasession/mediametadata.html: Added. * web-platform-tests/mediasession/playbackstate-expected.txt: Added. * web-platform-tests/mediasession/playbackstate.html: Added. * web-platform-tests/mediasession/positionstate-expected.txt: Added. * web-platform-tests/mediasession/positionstate.html: Added. * web-platform-tests/mediasession/setactionhandler-expected.txt: Added. * web-platform-tests/mediasession/setactionhandler.html: Added. * web-platform-tests/mediasession/w3c-import.log: Added. Source/WebCore: Reviewed by Darin Adler. Tests: imported/w3c/web-platform-tests/mediasession/idlharness.window.html imported/w3c/web-platform-tests/mediasession/mediametadata.html imported/w3c/web-platform-tests/mediasession/playbackstate.html imported/w3c/web-platform-tests/mediasession/positionstate.html imported/w3c/web-platform-tests/mediasession/setactionhandler.html Add an initial, no-op, implementation of the Media Session API. Note, the WPT test results include a failing test of Object.isFrozen(); the bindings generator does not currently support generating a FrozenArray of dictionary values. * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediasession/MediaImage.h: Added. * Modules/mediasession/MediaImage.idl: Added. * Modules/mediasession/MediaMetadata.h: Added. (WebCore::MediaMetadata::create): (WebCore::MediaMetadata::MediaMetadata): (WebCore::MediaMetadata::setMediaSession): (WebCore::MediaMetadata::title const): (WebCore::MediaMetadata::setTitle): (WebCore::MediaMetadata::artist const): (WebCore::MediaMetadata::setArtist): (WebCore::MediaMetadata::album const): (WebCore::MediaMetadata::setAlbum): (WebCore::MediaMetadata::artwork const): (WebCore::MediaMetadata::setArtwork): (WebCore::MediaMetadata::metadataUpdated): * Modules/mediasession/MediaMetadata.idl: Added. * Modules/mediasession/MediaMetadataInit.h: Added. * Modules/mediasession/MediaMetadataInit.idl: Added. * Modules/mediasession/MediaPositionState.h: Added. * Modules/mediasession/MediaPositionState.idl: Added. * Modules/mediasession/MediaSession.cpp: Added. (WebCore::MediaSession::create): (WebCore::MediaSession::MediaSession): (WebCore::MediaSession::setMetadata): (WebCore::MediaSession::setPlaybackState): (WebCore::MediaSession::setActionHandler): (WebCore::MediaSession::setPositionState): (WebCore::MediaSession::metadataUpdated): * Modules/mediasession/MediaSession.h: Added. (WebCore::MediaSession::metadata const): (WebCore::MediaSession::playbackState const): * Modules/mediasession/MediaSession.idl: Added. * Modules/mediasession/MediaSessionAction.h: Added. * Modules/mediasession/MediaSessionAction.idl: Added. * Modules/mediasession/MediaSessionActionDetails.h: Added. * Modules/mediasession/MediaSessionActionDetails.idl: Added. * Modules/mediasession/MediaSessionActionHandler.h: Added. * Modules/mediasession/MediaSessionActionHandler.idl: Added. * Modules/mediasession/MediaSessionPlaybackState.h: Added. * Modules/mediasession/MediaSessionPlaybackState.idl: Added. * Modules/mediasession/Navigator+MediaSession.idl: Added. * Modules/mediasession/NavigatorMediaSession.cpp: Added. (WebCore::NavigatorMediaSession::NavigatorMediaSession): (WebCore::NavigatorMediaSession::mediaSession): (WebCore::NavigatorMediaSession::from): (WebCore::NavigatorMediaSession::supplementName): * Modules/mediasession/NavigatorMediaSession.h: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Source/WTF: Reviewed by Darin Adler. * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Tools: <rdar://problem/70367487> Reviewed by Darin Adler. * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): Canonical link: https://commits.webkit.org/230686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-20 16:20:16 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaMetadata.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaMetadata.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaMetadataInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaMetadataInit.h
[Cocoa] Add Experimental MediaSession coordinator https://bugs.webkit.org/show_bug.cgi?id=222158 <rdar://problem/74508862> Reviewed by Jer Noble. Source/WebCore: Add an experimental MediaSession coordinator, an object that provides an interface that allows script to coordinate changes to MediaSession with the User Agent. Also add an experimental MediaSession playlist interface. The changes are behind new experimental feature flags, MediaSessionCoordinatorEnabled and MediaSessionPlaylistEnabled. Test: media/media-session/mock-coordinator.html * DerivedSources-input.xcfilelist: Add new IDL files. * DerivedSources-output.xcfilelist: Add new derived sources. * DerivedSources.make: Add new IDL. * Modules/mediasession/MediaMetadata.cpp: (WebCore::MediaMetadata::create): Set trackIdentifier from init data. (WebCore::MediaMetadata::setTrackIdentifier): trackIdentifier setter. * Modules/mediasession/MediaMetadata.h: (WebCore::MediaMetadata::trackIdentifier const): * Modules/mediasession/MediaMetadata.idl: * Modules/mediasession/MediaMetadataInit.h: Add trackIdentifier. (WebCore::MediaMetadataInit::encode const): (WebCore::MediaMetadataInit::decode): * Modules/mediasession/MediaMetadataInit.idl: * Modules/mediasession/MediaSession.cpp: (WebCore::MediaSession::MediaSession): Initialize MainThreadGenericEventQueue. (WebCore::MediaSession::setMetadata): metadataUpdated -> notifyMetadataObservers. (WebCore::MediaSession::setReadyState): Session readyState setter. (WebCore::MediaSession::setCoordinator): Coordinator setter. Post 'coordinatorchange' event after change. (WebCore::MediaSession::setPlaylist): Playlist setter. (WebCore::MediaSession::setActionHandler): Call notifyActionHandlerObservers. (WebCore::MediaSession::setPositionState): Call notifyPositionStateObservers. (WebCore::MediaSession::metadataUpdated): Call notifyMetadataObservers. (WebCore::MediaSession::addObserver): New. (WebCore::MediaSession::removeObserver): New. (WebCore::MediaSession::forEachObserver): New. (WebCore::MediaSession::notifyMetadataObservers): New. (WebCore::MediaSession::notifyPositionStateObservers): New. (WebCore::MediaSession::notifyPlaybackStateObservers): New. (WebCore::MediaSession::notifyActionHandlerObservers): New. (WebCore::MediaSession::notifyReadyStateObservers): New. * Modules/mediasession/MediaSession.h: (WebCore::MediaSession::coordinator const): (WebCore::MediaSession::playlist const): (WebCore::MediaSession::logger const): * Modules/mediasession/MediaSession.idl: * Modules/mediasession/MediaSessionAction.h: * Modules/mediasession/MediaSessionAction.idl: * Modules/mediasession/MediaSessionActionDetails.h: * Modules/mediasession/MediaSessionActionDetails.idl: MediaSessionCoordinator proxies calls through the PlatformMediaSessionCoordinator, and then calls the equivalent MediaSession methode if the platform coordinator is successful. * Modules/mediasession/MediaSessionCoordinator.cpp: Added. (WebCore::nextCoordinatorLogIdentifier): (WebCore::MediaSessionCoordinator::create): (WebCore::MediaSessionCoordinator::MediaSessionCoordinator): (WebCore::MediaSessionCoordinator::seekTo): (WebCore::MediaSessionCoordinator::play): (WebCore::MediaSessionCoordinator::pause): (WebCore::MediaSessionCoordinator::setTrack): (WebCore::MediaSessionCoordinator::setMediaSession): (WebCore::MediaSessionCoordinator::logChannel): * Modules/mediasession/MediaSessionCoordinator.h: New. (WebCore::MediaSessionCoordinator::logger const): (WebCore::MediaSessionCoordinator::logIdentifier const): (WebCore::MediaSessionCoordinator::logClassName): * Modules/mediasession/MediaSessionCoordinator.idl: New. * Modules/mediasession/NavigatorMediaSession.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventNames.h: * dom/EventTargetFactory.in: * platform/graphics/PlatformMediaSessionCoordinator.h: Added. (WebCore::PlatformMediaSessionCoordinator::setLogger): (WebCore::PlatformMediaSessionCoordinator::loggerPtr const): (WebCore::PlatformMediaSessionCoordinator::logIdentifier const): (WebCore::PlatformMediaSessionCoordinator::logClassName const): (WebCore::PlatformMediaSessionCoordinator::logChannel const): * testing/Internals.cpp: (WebCore::Internals::registerMockMediaSessionCoordinator): Register the mock media session coordinator for testing. * testing/Internals.h: * testing/Internals.idl: * testing/MockMediaSessionCoordinator.cpp: Added. (WebCore::MockMediaSessionCoordinator::create): (WebCore::MockMediaSessionCoordinator::MockMediaSessionCoordinator): (WebCore::MockMediaSessionCoordinator::seekTo): (WebCore::MockMediaSessionCoordinator::play): (WebCore::MockMediaSessionCoordinator::pause): (WebCore::MockMediaSessionCoordinator::setTrack): * testing/MockMediaSessionCoordinator.h: New. Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnableCocoa.h: LayoutTests: * platform/TestExpectations: * media/media-session/mock-coordinator-expected.txt: Added. * media/media-session/mock-coordinator.html: Added. Canonical link: https://commits.webkit.org/235728@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-24 23:14:51 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaMetadataPlaylistMixin.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaMetadataPlaylistMixin.h
Add skeleton implementation of Media Session API https://bugs.webkit.org/show_bug.cgi?id=217797 LayoutTests/imported/w3c: Reviewed by Darin Adler. * resources/import-expectations.json: * resources/resource-files.json: * web-platform-tests/mediasession/META.yml: Added. * web-platform-tests/mediasession/README.md: Added. * web-platform-tests/mediasession/helper/artwork-generator.html: Added. * web-platform-tests/mediasession/helper/w3c-import.log: Added. * web-platform-tests/mediasession/idlharness.window-expected.txt: Added. * web-platform-tests/mediasession/idlharness.window.html: Added. * web-platform-tests/mediasession/idlharness.window.js: Added. * web-platform-tests/mediasession/mediametadata-expected.txt: Added. * web-platform-tests/mediasession/mediametadata.html: Added. * web-platform-tests/mediasession/playbackstate-expected.txt: Added. * web-platform-tests/mediasession/playbackstate.html: Added. * web-platform-tests/mediasession/positionstate-expected.txt: Added. * web-platform-tests/mediasession/positionstate.html: Added. * web-platform-tests/mediasession/setactionhandler-expected.txt: Added. * web-platform-tests/mediasession/setactionhandler.html: Added. * web-platform-tests/mediasession/w3c-import.log: Added. Source/WebCore: Reviewed by Darin Adler. Tests: imported/w3c/web-platform-tests/mediasession/idlharness.window.html imported/w3c/web-platform-tests/mediasession/mediametadata.html imported/w3c/web-platform-tests/mediasession/playbackstate.html imported/w3c/web-platform-tests/mediasession/positionstate.html imported/w3c/web-platform-tests/mediasession/setactionhandler.html Add an initial, no-op, implementation of the Media Session API. Note, the WPT test results include a failing test of Object.isFrozen(); the bindings generator does not currently support generating a FrozenArray of dictionary values. * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediasession/MediaImage.h: Added. * Modules/mediasession/MediaImage.idl: Added. * Modules/mediasession/MediaMetadata.h: Added. (WebCore::MediaMetadata::create): (WebCore::MediaMetadata::MediaMetadata): (WebCore::MediaMetadata::setMediaSession): (WebCore::MediaMetadata::title const): (WebCore::MediaMetadata::setTitle): (WebCore::MediaMetadata::artist const): (WebCore::MediaMetadata::setArtist): (WebCore::MediaMetadata::album const): (WebCore::MediaMetadata::setAlbum): (WebCore::MediaMetadata::artwork const): (WebCore::MediaMetadata::setArtwork): (WebCore::MediaMetadata::metadataUpdated): * Modules/mediasession/MediaMetadata.idl: Added. * Modules/mediasession/MediaMetadataInit.h: Added. * Modules/mediasession/MediaMetadataInit.idl: Added. * Modules/mediasession/MediaPositionState.h: Added. * Modules/mediasession/MediaPositionState.idl: Added. * Modules/mediasession/MediaSession.cpp: Added. (WebCore::MediaSession::create): (WebCore::MediaSession::MediaSession): (WebCore::MediaSession::setMetadata): (WebCore::MediaSession::setPlaybackState): (WebCore::MediaSession::setActionHandler): (WebCore::MediaSession::setPositionState): (WebCore::MediaSession::metadataUpdated): * Modules/mediasession/MediaSession.h: Added. (WebCore::MediaSession::metadata const): (WebCore::MediaSession::playbackState const): * Modules/mediasession/MediaSession.idl: Added. * Modules/mediasession/MediaSessionAction.h: Added. * Modules/mediasession/MediaSessionAction.idl: Added. * Modules/mediasession/MediaSessionActionDetails.h: Added. * Modules/mediasession/MediaSessionActionDetails.idl: Added. * Modules/mediasession/MediaSessionActionHandler.h: Added. * Modules/mediasession/MediaSessionActionHandler.idl: Added. * Modules/mediasession/MediaSessionPlaybackState.h: Added. * Modules/mediasession/MediaSessionPlaybackState.idl: Added. * Modules/mediasession/Navigator+MediaSession.idl: Added. * Modules/mediasession/NavigatorMediaSession.cpp: Added. (WebCore::NavigatorMediaSession::NavigatorMediaSession): (WebCore::NavigatorMediaSession::mediaSession): (WebCore::NavigatorMediaSession::from): (WebCore::NavigatorMediaSession::supplementName): * Modules/mediasession/NavigatorMediaSession.h: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Source/WTF: Reviewed by Darin Adler. * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Tools: <rdar://problem/70367487> Reviewed by Darin Adler. * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): Canonical link: https://commits.webkit.org/230686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-20 16:20:16 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaPositionState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaPositionState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaQueryList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaQueryList.h
MediaQueryList should extend EventTarget https://bugs.webkit.org/show_bug.cgi?id=203288 Reviewed by Darin Adler. LayoutTests/imported/w3c: * web-platform-tests/css/cssom-view/MediaQueryList-addListener-handleEvent-expected.txt: * web-platform-tests/css/cssom-view/MediaQueryList-addListener-removeListener-expected.txt: * web-platform-tests/css/cssom-view/MediaQueryList-extends-EventTarget-expected.txt: * web-platform-tests/css/cssom-view/MediaQueryList-extends-EventTarget-interop-expected.txt: * web-platform-tests/css/cssom-view/MediaQueryListEvent-expected.txt: * web-platform-tests/css/cssom-view/idlharness-expected.txt: * web-platform-tests/css/cssom-view/matchMedia-expected.txt: Source/WebCore: Initially, CSSOM View Module specification [1] had a custom callback mechanism with addListener() and removeListener(), and the callback was invoked with the associated MediaQueryList as argument. Now the normal event mechanism [2] is used instead. For backwards compatibility, addListener() and removeListener() methods are basically aliases for addEventListener() and removeEventListener(), respectively, and the "change" event masquerades as a MediaQueryList. This patch implements new event mechanism, aligning WebKit with Blink and SpiderMonkey, and also fixes a few minor spec incompatibilities: mandatory listener argument, "handleEvent" support, and listeners call order. [1]: https://www.w3.org/TR/2011/WD-cssom-view-20110804/#mediaquerylist [2]: https://www.w3.org/TR/cssom-view-1/#mediaquerylist Tests: fast/media/media-query-list-07.html web-platform-tests/css/cssom-view/MediaQueryList-addListener-handleEvent.html web-platform-tests/css/cssom-view/MediaQueryList-addListener-removeListener.html web-platform-tests/css/cssom-view/MediaQueryList-extends-EventTarget.html web-platform-tests/css/cssom-view/MediaQueryList-extends-EventTarget-interop.html web-platform-tests/css/cssom-view/MediaQueryListEvent.html web-platform-tests/css/cssom-view/idlharness.html web-platform-tests/css/cssom-view/matchMedia.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * bindings/scripts/test/JS/*: Updated. * css/MediaQueryList.cpp: (WebCore::MediaQueryList::MediaQueryList): (WebCore::MediaQueryList::create): (WebCore::MediaQueryList::~MediaQueryList): (WebCore::MediaQueryList::addListener): (WebCore::MediaQueryList::removeListener): * css/MediaQueryList.h: * css/MediaQueryList.idl: * css/MediaQueryListEvent.cpp: Added. (WebCore::MediaQueryListEvent::MediaQueryListEvent): * css/MediaQueryListEvent.h: Added. * css/MediaQueryListEvent.idl: Added. * css/MediaQueryListListener.h: Removed. * css/MediaQueryListListener.idl: Removed. * css/MediaQueryMatcher.cpp: (WebCore::MediaQueryMatcher::documentDestroyed): (WebCore::MediaQueryMatcher::addMediaQueryList): (WebCore::MediaQueryMatcher::removeMediaQueryList): (WebCore::MediaQueryMatcher::matchMedia): (WebCore::MediaQueryMatcher::evaluateAll): (WebCore::MediaQueryMatcher::addListener): Deleted. (WebCore::MediaQueryMatcher::removeListener): Deleted. * css/MediaQueryMatcher.h: * dom/EventNames.in: * dom/EventTarget.h: (WebCore::EventTarget::removeEventListener): * dom/EventTargetFactory.in: Source/WebInspectorUI: * UserInterface/Models/NativeFunctionParameters.js: LayoutTests: * TestExpectations: * fast/media/media-query-list-07-expected.txt: * fast/media/media-query-list-07.html: Canonical link: https://commits.webkit.org/223516@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-17 10:16:36 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaQueryListEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaQueryListEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaRecorder.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaRecorder.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaRecorderErrorEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaRecorderErrorEvent.h
Add skeleton implementation of Media Session API https://bugs.webkit.org/show_bug.cgi?id=217797 LayoutTests/imported/w3c: Reviewed by Darin Adler. * resources/import-expectations.json: * resources/resource-files.json: * web-platform-tests/mediasession/META.yml: Added. * web-platform-tests/mediasession/README.md: Added. * web-platform-tests/mediasession/helper/artwork-generator.html: Added. * web-platform-tests/mediasession/helper/w3c-import.log: Added. * web-platform-tests/mediasession/idlharness.window-expected.txt: Added. * web-platform-tests/mediasession/idlharness.window.html: Added. * web-platform-tests/mediasession/idlharness.window.js: Added. * web-platform-tests/mediasession/mediametadata-expected.txt: Added. * web-platform-tests/mediasession/mediametadata.html: Added. * web-platform-tests/mediasession/playbackstate-expected.txt: Added. * web-platform-tests/mediasession/playbackstate.html: Added. * web-platform-tests/mediasession/positionstate-expected.txt: Added. * web-platform-tests/mediasession/positionstate.html: Added. * web-platform-tests/mediasession/setactionhandler-expected.txt: Added. * web-platform-tests/mediasession/setactionhandler.html: Added. * web-platform-tests/mediasession/w3c-import.log: Added. Source/WebCore: Reviewed by Darin Adler. Tests: imported/w3c/web-platform-tests/mediasession/idlharness.window.html imported/w3c/web-platform-tests/mediasession/mediametadata.html imported/w3c/web-platform-tests/mediasession/playbackstate.html imported/w3c/web-platform-tests/mediasession/positionstate.html imported/w3c/web-platform-tests/mediasession/setactionhandler.html Add an initial, no-op, implementation of the Media Session API. Note, the WPT test results include a failing test of Object.isFrozen(); the bindings generator does not currently support generating a FrozenArray of dictionary values. * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediasession/MediaImage.h: Added. * Modules/mediasession/MediaImage.idl: Added. * Modules/mediasession/MediaMetadata.h: Added. (WebCore::MediaMetadata::create): (WebCore::MediaMetadata::MediaMetadata): (WebCore::MediaMetadata::setMediaSession): (WebCore::MediaMetadata::title const): (WebCore::MediaMetadata::setTitle): (WebCore::MediaMetadata::artist const): (WebCore::MediaMetadata::setArtist): (WebCore::MediaMetadata::album const): (WebCore::MediaMetadata::setAlbum): (WebCore::MediaMetadata::artwork const): (WebCore::MediaMetadata::setArtwork): (WebCore::MediaMetadata::metadataUpdated): * Modules/mediasession/MediaMetadata.idl: Added. * Modules/mediasession/MediaMetadataInit.h: Added. * Modules/mediasession/MediaMetadataInit.idl: Added. * Modules/mediasession/MediaPositionState.h: Added. * Modules/mediasession/MediaPositionState.idl: Added. * Modules/mediasession/MediaSession.cpp: Added. (WebCore::MediaSession::create): (WebCore::MediaSession::MediaSession): (WebCore::MediaSession::setMetadata): (WebCore::MediaSession::setPlaybackState): (WebCore::MediaSession::setActionHandler): (WebCore::MediaSession::setPositionState): (WebCore::MediaSession::metadataUpdated): * Modules/mediasession/MediaSession.h: Added. (WebCore::MediaSession::metadata const): (WebCore::MediaSession::playbackState const): * Modules/mediasession/MediaSession.idl: Added. * Modules/mediasession/MediaSessionAction.h: Added. * Modules/mediasession/MediaSessionAction.idl: Added. * Modules/mediasession/MediaSessionActionDetails.h: Added. * Modules/mediasession/MediaSessionActionDetails.idl: Added. * Modules/mediasession/MediaSessionActionHandler.h: Added. * Modules/mediasession/MediaSessionActionHandler.idl: Added. * Modules/mediasession/MediaSessionPlaybackState.h: Added. * Modules/mediasession/MediaSessionPlaybackState.idl: Added. * Modules/mediasession/Navigator+MediaSession.idl: Added. * Modules/mediasession/NavigatorMediaSession.cpp: Added. (WebCore::NavigatorMediaSession::NavigatorMediaSession): (WebCore::NavigatorMediaSession::mediaSession): (WebCore::NavigatorMediaSession::from): (WebCore::NavigatorMediaSession::supplementName): * Modules/mediasession/NavigatorMediaSession.h: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Source/WTF: Reviewed by Darin Adler. * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Tools: <rdar://problem/70367487> Reviewed by Darin Adler. * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): Canonical link: https://commits.webkit.org/230686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-20 16:20:16 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSession.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSession.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionAction.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionAction.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionActionDetails.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionActionDetails.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionActionHandler.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionActionHandler.h
[Cocoa] Add Experimental MediaSession coordinator https://bugs.webkit.org/show_bug.cgi?id=222158 <rdar://problem/74508862> Reviewed by Jer Noble. Source/WebCore: Add an experimental MediaSession coordinator, an object that provides an interface that allows script to coordinate changes to MediaSession with the User Agent. Also add an experimental MediaSession playlist interface. The changes are behind new experimental feature flags, MediaSessionCoordinatorEnabled and MediaSessionPlaylistEnabled. Test: media/media-session/mock-coordinator.html * DerivedSources-input.xcfilelist: Add new IDL files. * DerivedSources-output.xcfilelist: Add new derived sources. * DerivedSources.make: Add new IDL. * Modules/mediasession/MediaMetadata.cpp: (WebCore::MediaMetadata::create): Set trackIdentifier from init data. (WebCore::MediaMetadata::setTrackIdentifier): trackIdentifier setter. * Modules/mediasession/MediaMetadata.h: (WebCore::MediaMetadata::trackIdentifier const): * Modules/mediasession/MediaMetadata.idl: * Modules/mediasession/MediaMetadataInit.h: Add trackIdentifier. (WebCore::MediaMetadataInit::encode const): (WebCore::MediaMetadataInit::decode): * Modules/mediasession/MediaMetadataInit.idl: * Modules/mediasession/MediaSession.cpp: (WebCore::MediaSession::MediaSession): Initialize MainThreadGenericEventQueue. (WebCore::MediaSession::setMetadata): metadataUpdated -> notifyMetadataObservers. (WebCore::MediaSession::setReadyState): Session readyState setter. (WebCore::MediaSession::setCoordinator): Coordinator setter. Post 'coordinatorchange' event after change. (WebCore::MediaSession::setPlaylist): Playlist setter. (WebCore::MediaSession::setActionHandler): Call notifyActionHandlerObservers. (WebCore::MediaSession::setPositionState): Call notifyPositionStateObservers. (WebCore::MediaSession::metadataUpdated): Call notifyMetadataObservers. (WebCore::MediaSession::addObserver): New. (WebCore::MediaSession::removeObserver): New. (WebCore::MediaSession::forEachObserver): New. (WebCore::MediaSession::notifyMetadataObservers): New. (WebCore::MediaSession::notifyPositionStateObservers): New. (WebCore::MediaSession::notifyPlaybackStateObservers): New. (WebCore::MediaSession::notifyActionHandlerObservers): New. (WebCore::MediaSession::notifyReadyStateObservers): New. * Modules/mediasession/MediaSession.h: (WebCore::MediaSession::coordinator const): (WebCore::MediaSession::playlist const): (WebCore::MediaSession::logger const): * Modules/mediasession/MediaSession.idl: * Modules/mediasession/MediaSessionAction.h: * Modules/mediasession/MediaSessionAction.idl: * Modules/mediasession/MediaSessionActionDetails.h: * Modules/mediasession/MediaSessionActionDetails.idl: MediaSessionCoordinator proxies calls through the PlatformMediaSessionCoordinator, and then calls the equivalent MediaSession methode if the platform coordinator is successful. * Modules/mediasession/MediaSessionCoordinator.cpp: Added. (WebCore::nextCoordinatorLogIdentifier): (WebCore::MediaSessionCoordinator::create): (WebCore::MediaSessionCoordinator::MediaSessionCoordinator): (WebCore::MediaSessionCoordinator::seekTo): (WebCore::MediaSessionCoordinator::play): (WebCore::MediaSessionCoordinator::pause): (WebCore::MediaSessionCoordinator::setTrack): (WebCore::MediaSessionCoordinator::setMediaSession): (WebCore::MediaSessionCoordinator::logChannel): * Modules/mediasession/MediaSessionCoordinator.h: New. (WebCore::MediaSessionCoordinator::logger const): (WebCore::MediaSessionCoordinator::logIdentifier const): (WebCore::MediaSessionCoordinator::logClassName): * Modules/mediasession/MediaSessionCoordinator.idl: New. * Modules/mediasession/NavigatorMediaSession.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventNames.h: * dom/EventTargetFactory.in: * platform/graphics/PlatformMediaSessionCoordinator.h: Added. (WebCore::PlatformMediaSessionCoordinator::setLogger): (WebCore::PlatformMediaSessionCoordinator::loggerPtr const): (WebCore::PlatformMediaSessionCoordinator::logIdentifier const): (WebCore::PlatformMediaSessionCoordinator::logClassName const): (WebCore::PlatformMediaSessionCoordinator::logChannel const): * testing/Internals.cpp: (WebCore::Internals::registerMockMediaSessionCoordinator): Register the mock media session coordinator for testing. * testing/Internals.h: * testing/Internals.idl: * testing/MockMediaSessionCoordinator.cpp: Added. (WebCore::MockMediaSessionCoordinator::create): (WebCore::MockMediaSessionCoordinator::MockMediaSessionCoordinator): (WebCore::MockMediaSessionCoordinator::seekTo): (WebCore::MockMediaSessionCoordinator::play): (WebCore::MockMediaSessionCoordinator::pause): (WebCore::MockMediaSessionCoordinator::setTrack): * testing/MockMediaSessionCoordinator.h: New. Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnableCocoa.h: LayoutTests: * platform/TestExpectations: * media/media-session/mock-coordinator-expected.txt: Added. * media/media-session/mock-coordinator.html: Added. Canonical link: https://commits.webkit.org/235728@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-24 23:14:51 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionCoordinator.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionCoordinator.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionCoordinatorMixin.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionCoordinatorMixin.h
[macOS] MediaSessionCoordinator should have join and leave methods https://bugs.webkit.org/show_bug.cgi?id=223955 <rdar://problem/76021588> Reviewed by Jer Noble. Source/WebCore: Add 'join' and 'leave' methods to MediaSessionCoordinator so a page has to opt-in to participating in a coordinated session and can leave at any time. Don't have the coordinator automatically call session methods when the private coordinator finishes, just signal the promise and let the page handle it. No new tests, updated media/media-session/mock-coordinator.html. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediasession/MediaMetadata.idl: Fix Conditional. * Modules/mediasession/MediaMetadataPlaylistMixin.idl: Ditto. * Modules/mediasession/MediaPositionState.h: Add logging template. (WTF::LogArgument<WebCore::MediaPositionState>::toString): * Modules/mediasession/MediaSession.cpp: (WebCore::MediaSession::MediaSession): Switch from beging a ContextDestructionObserver to an ActiveDOMObject to the wrapper won't be collected while an event dispatch is pending. (WebCore::MediaSession::virtualHasPendingActivity const): Prevent collection while event dispatch is pending. (WebCore::MediaSession::setPositionState): Improve logging. (WebCore::MediaPositionState::toJSONString const): * Modules/mediasession/MediaSession.h: * Modules/mediasession/MediaSession.idl: * Modules/mediasession/MediaSessionCoordinator.cpp: (WebCore::MediaSessionCoordinator::join): New. (WebCore::MediaSessionCoordinator::leave): New. (WebCore::MediaSessionCoordinator::seekTo): Reject unless state is 'joined'. Don't call session method. (WebCore::MediaSessionCoordinator::play): Ditto. (WebCore::MediaSessionCoordinator::pause): Ditto. (WebCore::MediaSessionCoordinator::setTrack): Ditto. (WebCore::MediaSessionCoordinator::positionStateChanged): (WebCore::MediaSessionCoordinator::playbackStateChanged): (WebCore::MediaSessionCoordinator::readyStateChanged): Do nothing unless state is 'joined'. Improve logging. (WebCore::MediaSessionCoordinator::seekSessionToTime): Ditto. (WebCore::MediaSessionCoordinator::playSession): Ditto. (WebCore::MediaSessionCoordinator::pauseSession): Ditto. (WebCore::MediaSessionCoordinator::setSessionTrack): Ditto. * Modules/mediasession/MediaSessionCoordinator.h: (WebCore::MediaSessionCoordinator::identifier const): (WebCore::MediaSessionCoordinator::state const): * Modules/mediasession/MediaSessionCoordinator.idl: * Modules/mediasession/MediaSessionCoordinatorMixin.idl: Fix Conditional. * Modules/mediasession/MediaSessionCoordinatorPrivate.h: Declare new required methods. * Modules/mediasession/MediaSessionCoordinatorState.h: Define states. * Modules/mediasession/MediaSessionCoordinatorState.idl: * Modules/mediasession/MediaSessionPlaylistMixin.idl: Fix Conditional. * Sources.txt: Add JSMediaSessionCoordinatorState.cpp. * WebCore.xcodeproj/project.pbxproj: * testing/MockMediaSessionCoordinator.cpp: (WebCore::MockMediaSessionCoordinator::join): (WebCore::MockMediaSessionCoordinator::leave): (WebCore::MockMediaSessionCoordinator::coordinatorStateChanged): * testing/MockMediaSessionCoordinator.h: Source/WebKit: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Renamed from Source/WebKit/UIProcess/Media/MediaSessionCoordinatorPrivateProxy.h. * UIProcess/Media/RemoteMediaSessionCoordinatorProxy.cpp: (WebKit::RemoteMediaSessionCoordinatorProxy::create): (WebKit::RemoteMediaSessionCoordinatorProxy::RemoteMediaSessionCoordinatorProxy): (WebKit::RemoteMediaSessionCoordinatorProxy::join): (WebKit::RemoteMediaSessionCoordinatorProxy::leave): (WebKit::RemoteMediaSessionCoordinatorProxy::coordinatorStateChanged): * UIProcess/Media/RemoteMediaSessionCoordinatorProxy.h: * UIProcess/Media/RemoteMediaSessionCoordinatorProxy.messages.in: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::createMediaSessionCoordinator): * UIProcess/WebPageProxy.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/MediaSession/RemoteMediaSessionCoordinator.cpp: (WebKit::RemoteMediaSessionCoordinator::create): (WebKit::RemoteMediaSessionCoordinator::RemoteMediaSessionCoordinator): (WebKit::RemoteMediaSessionCoordinator::join): (WebKit::RemoteMediaSessionCoordinator::leave): (WebKit::RemoteMediaSessionCoordinator::coordinatorStateChanged): * WebProcess/MediaSession/RemoteMediaSessionCoordinator.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::createMediaSessionCoordinator): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Renamed from Source/WebKit/UIProcess/Media/MediaSessionCoordinatorPrivateProxy.h. * UIProcess/Media/RemoteMediaSessionCoordinatorProxy.cpp: (WebKit::RemoteMediaSessionCoordinatorProxy::create): (WebKit::RemoteMediaSessionCoordinatorProxy::RemoteMediaSessionCoordinatorProxy): (WebKit::RemoteMediaSessionCoordinatorProxy::coordinatorStateChanged): * UIProcess/Media/RemoteMediaSessionCoordinatorProxy.h: * UIProcess/Media/RemoteMediaSessionCoordinatorProxy.messages.in: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::createMediaSessionCoordinator): * UIProcess/WebPageProxy.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/MediaSession/RemoteMediaSessionCoordinator.cpp: (WebKit::RemoteMediaSessionCoordinator::create): (WebKit::RemoteMediaSessionCoordinator::RemoteMediaSessionCoordinator): (WebKit::RemoteMediaSessionCoordinator::coordinatorStateChanged): * WebProcess/MediaSession/RemoteMediaSessionCoordinator.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::createMediaSessionCoordinator): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: LayoutTests: * media/media-session/mock-coordinator-expected.txt: * media/media-session/mock-coordinator.html: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275314 268f45cc-cd09-0410-ab3c-d52691b4dbfc Canonical link: https://commits.webkit.org/235995@main
2021-03-31 23:11:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionCoordinatorState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionCoordinatorState.h
Add skeleton implementation of Media Session API https://bugs.webkit.org/show_bug.cgi?id=217797 LayoutTests/imported/w3c: Reviewed by Darin Adler. * resources/import-expectations.json: * resources/resource-files.json: * web-platform-tests/mediasession/META.yml: Added. * web-platform-tests/mediasession/README.md: Added. * web-platform-tests/mediasession/helper/artwork-generator.html: Added. * web-platform-tests/mediasession/helper/w3c-import.log: Added. * web-platform-tests/mediasession/idlharness.window-expected.txt: Added. * web-platform-tests/mediasession/idlharness.window.html: Added. * web-platform-tests/mediasession/idlharness.window.js: Added. * web-platform-tests/mediasession/mediametadata-expected.txt: Added. * web-platform-tests/mediasession/mediametadata.html: Added. * web-platform-tests/mediasession/playbackstate-expected.txt: Added. * web-platform-tests/mediasession/playbackstate.html: Added. * web-platform-tests/mediasession/positionstate-expected.txt: Added. * web-platform-tests/mediasession/positionstate.html: Added. * web-platform-tests/mediasession/setactionhandler-expected.txt: Added. * web-platform-tests/mediasession/setactionhandler.html: Added. * web-platform-tests/mediasession/w3c-import.log: Added. Source/WebCore: Reviewed by Darin Adler. Tests: imported/w3c/web-platform-tests/mediasession/idlharness.window.html imported/w3c/web-platform-tests/mediasession/mediametadata.html imported/w3c/web-platform-tests/mediasession/playbackstate.html imported/w3c/web-platform-tests/mediasession/positionstate.html imported/w3c/web-platform-tests/mediasession/setactionhandler.html Add an initial, no-op, implementation of the Media Session API. Note, the WPT test results include a failing test of Object.isFrozen(); the bindings generator does not currently support generating a FrozenArray of dictionary values. * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediasession/MediaImage.h: Added. * Modules/mediasession/MediaImage.idl: Added. * Modules/mediasession/MediaMetadata.h: Added. (WebCore::MediaMetadata::create): (WebCore::MediaMetadata::MediaMetadata): (WebCore::MediaMetadata::setMediaSession): (WebCore::MediaMetadata::title const): (WebCore::MediaMetadata::setTitle): (WebCore::MediaMetadata::artist const): (WebCore::MediaMetadata::setArtist): (WebCore::MediaMetadata::album const): (WebCore::MediaMetadata::setAlbum): (WebCore::MediaMetadata::artwork const): (WebCore::MediaMetadata::setArtwork): (WebCore::MediaMetadata::metadataUpdated): * Modules/mediasession/MediaMetadata.idl: Added. * Modules/mediasession/MediaMetadataInit.h: Added. * Modules/mediasession/MediaMetadataInit.idl: Added. * Modules/mediasession/MediaPositionState.h: Added. * Modules/mediasession/MediaPositionState.idl: Added. * Modules/mediasession/MediaSession.cpp: Added. (WebCore::MediaSession::create): (WebCore::MediaSession::MediaSession): (WebCore::MediaSession::setMetadata): (WebCore::MediaSession::setPlaybackState): (WebCore::MediaSession::setActionHandler): (WebCore::MediaSession::setPositionState): (WebCore::MediaSession::metadataUpdated): * Modules/mediasession/MediaSession.h: Added. (WebCore::MediaSession::metadata const): (WebCore::MediaSession::playbackState const): * Modules/mediasession/MediaSession.idl: Added. * Modules/mediasession/MediaSessionAction.h: Added. * Modules/mediasession/MediaSessionAction.idl: Added. * Modules/mediasession/MediaSessionActionDetails.h: Added. * Modules/mediasession/MediaSessionActionDetails.idl: Added. * Modules/mediasession/MediaSessionActionHandler.h: Added. * Modules/mediasession/MediaSessionActionHandler.idl: Added. * Modules/mediasession/MediaSessionPlaybackState.h: Added. * Modules/mediasession/MediaSessionPlaybackState.idl: Added. * Modules/mediasession/Navigator+MediaSession.idl: Added. * Modules/mediasession/NavigatorMediaSession.cpp: Added. (WebCore::NavigatorMediaSession::NavigatorMediaSession): (WebCore::NavigatorMediaSession::mediaSession): (WebCore::NavigatorMediaSession::from): (WebCore::NavigatorMediaSession::supplementName): * Modules/mediasession/NavigatorMediaSession.h: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Source/WTF: Reviewed by Darin Adler. * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Tools: <rdar://problem/70367487> Reviewed by Darin Adler. * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): Canonical link: https://commits.webkit.org/230686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-20 16:20:16 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionPlaybackState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionPlaybackState.h
[Cocoa] Add Experimental MediaSession coordinator https://bugs.webkit.org/show_bug.cgi?id=222158 <rdar://problem/74508862> Reviewed by Jer Noble. Source/WebCore: Add an experimental MediaSession coordinator, an object that provides an interface that allows script to coordinate changes to MediaSession with the User Agent. Also add an experimental MediaSession playlist interface. The changes are behind new experimental feature flags, MediaSessionCoordinatorEnabled and MediaSessionPlaylistEnabled. Test: media/media-session/mock-coordinator.html * DerivedSources-input.xcfilelist: Add new IDL files. * DerivedSources-output.xcfilelist: Add new derived sources. * DerivedSources.make: Add new IDL. * Modules/mediasession/MediaMetadata.cpp: (WebCore::MediaMetadata::create): Set trackIdentifier from init data. (WebCore::MediaMetadata::setTrackIdentifier): trackIdentifier setter. * Modules/mediasession/MediaMetadata.h: (WebCore::MediaMetadata::trackIdentifier const): * Modules/mediasession/MediaMetadata.idl: * Modules/mediasession/MediaMetadataInit.h: Add trackIdentifier. (WebCore::MediaMetadataInit::encode const): (WebCore::MediaMetadataInit::decode): * Modules/mediasession/MediaMetadataInit.idl: * Modules/mediasession/MediaSession.cpp: (WebCore::MediaSession::MediaSession): Initialize MainThreadGenericEventQueue. (WebCore::MediaSession::setMetadata): metadataUpdated -> notifyMetadataObservers. (WebCore::MediaSession::setReadyState): Session readyState setter. (WebCore::MediaSession::setCoordinator): Coordinator setter. Post 'coordinatorchange' event after change. (WebCore::MediaSession::setPlaylist): Playlist setter. (WebCore::MediaSession::setActionHandler): Call notifyActionHandlerObservers. (WebCore::MediaSession::setPositionState): Call notifyPositionStateObservers. (WebCore::MediaSession::metadataUpdated): Call notifyMetadataObservers. (WebCore::MediaSession::addObserver): New. (WebCore::MediaSession::removeObserver): New. (WebCore::MediaSession::forEachObserver): New. (WebCore::MediaSession::notifyMetadataObservers): New. (WebCore::MediaSession::notifyPositionStateObservers): New. (WebCore::MediaSession::notifyPlaybackStateObservers): New. (WebCore::MediaSession::notifyActionHandlerObservers): New. (WebCore::MediaSession::notifyReadyStateObservers): New. * Modules/mediasession/MediaSession.h: (WebCore::MediaSession::coordinator const): (WebCore::MediaSession::playlist const): (WebCore::MediaSession::logger const): * Modules/mediasession/MediaSession.idl: * Modules/mediasession/MediaSessionAction.h: * Modules/mediasession/MediaSessionAction.idl: * Modules/mediasession/MediaSessionActionDetails.h: * Modules/mediasession/MediaSessionActionDetails.idl: MediaSessionCoordinator proxies calls through the PlatformMediaSessionCoordinator, and then calls the equivalent MediaSession methode if the platform coordinator is successful. * Modules/mediasession/MediaSessionCoordinator.cpp: Added. (WebCore::nextCoordinatorLogIdentifier): (WebCore::MediaSessionCoordinator::create): (WebCore::MediaSessionCoordinator::MediaSessionCoordinator): (WebCore::MediaSessionCoordinator::seekTo): (WebCore::MediaSessionCoordinator::play): (WebCore::MediaSessionCoordinator::pause): (WebCore::MediaSessionCoordinator::setTrack): (WebCore::MediaSessionCoordinator::setMediaSession): (WebCore::MediaSessionCoordinator::logChannel): * Modules/mediasession/MediaSessionCoordinator.h: New. (WebCore::MediaSessionCoordinator::logger const): (WebCore::MediaSessionCoordinator::logIdentifier const): (WebCore::MediaSessionCoordinator::logClassName): * Modules/mediasession/MediaSessionCoordinator.idl: New. * Modules/mediasession/NavigatorMediaSession.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventNames.h: * dom/EventTargetFactory.in: * platform/graphics/PlatformMediaSessionCoordinator.h: Added. (WebCore::PlatformMediaSessionCoordinator::setLogger): (WebCore::PlatformMediaSessionCoordinator::loggerPtr const): (WebCore::PlatformMediaSessionCoordinator::logIdentifier const): (WebCore::PlatformMediaSessionCoordinator::logClassName const): (WebCore::PlatformMediaSessionCoordinator::logChannel const): * testing/Internals.cpp: (WebCore::Internals::registerMockMediaSessionCoordinator): Register the mock media session coordinator for testing. * testing/Internals.h: * testing/Internals.idl: * testing/MockMediaSessionCoordinator.cpp: Added. (WebCore::MockMediaSessionCoordinator::create): (WebCore::MockMediaSessionCoordinator::MockMediaSessionCoordinator): (WebCore::MockMediaSessionCoordinator::seekTo): (WebCore::MockMediaSessionCoordinator::play): (WebCore::MockMediaSessionCoordinator::pause): (WebCore::MockMediaSessionCoordinator::setTrack): * testing/MockMediaSessionCoordinator.h: New. Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnableCocoa.h: LayoutTests: * platform/TestExpectations: * media/media-session/mock-coordinator-expected.txt: Added. * media/media-session/mock-coordinator.html: Added. Canonical link: https://commits.webkit.org/235728@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-24 23:14:51 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionPlaylistMixin.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionPlaylistMixin.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionReadyState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSessionReadyState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStream.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStream.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStreamAudioDestinationNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStreamAudioDestinationNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStreamAudioSourceNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStreamAudioSourceNode.h
MediaStreamAudioSourceNode should have a constructor https://bugs.webkit.org/show_bug.cgi?id=215225 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-mediastreamaudiosourcenode-interface/mediastreamaudiosourcenode-ctor-expected.txt: Source/WebCore: MediaStreamAudioSourceNode should have a constructor: - https://webaudio.github.io/web-audio-api/#mediastreamaudiosourcenode No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::createMediaStreamSource): * Modules/webaudio/MediaStreamAudioSourceNode.cpp: (WebCore::MediaStreamAudioSourceNode::create): * Modules/webaudio/MediaStreamAudioSourceNode.h: * Modules/webaudio/MediaStreamAudioSourceNode.idl: * Modules/webaudio/MediaStreamAudioSourceOptions.h: Copied from Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.idl. * Modules/webaudio/MediaStreamAudioSourceOptions.idl: Copied from Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.idl. * Modules/webaudio/WebKitAudioContext.cpp: (WebCore::WebKitAudioContext::createMediaStreamSource): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/228021@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-06 20:01:30 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStreamAudioSourceOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStreamAudioSourceOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStreamTrack.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStreamTrack.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStreamTrackEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaStreamTrackEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaTrackConstraints.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaTrackConstraints.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaTrackSupportedConstraints.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMediaTrackSupportedConstraints.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMemoryInfo.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMemoryInfo.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMerchantValidationEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMerchantValidationEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMessageChannel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMessageChannel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMessageEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMessageEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMessagePort.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMessagePort.h
[Apple Pay] Add testing and logging for ApplePaySetup https://bugs.webkit.org/show_bug.cgi?id=211972 <rdar://problem/63291965> Reviewed by Alex Christensen. Source/WebCore: Test: http/tests/ssl/applepay/ApplePaySetup.https.html * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/applepay/ApplePaySetup.cpp: (WebCore::ApplePaySetup::getSetupFeatures): (WebCore::ApplePaySetup::begin): (WebCore::ApplePaySetup::ApplePaySetup): (WebCore::ApplePaySetup::stop): * Modules/applepay/ApplePaySetup.idl: * Modules/applepay/ApplePaySetupConfiguration.h: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupConfiguration.idl: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupFeature.idl: * Modules/applepay/ApplePaySetupFeature.mm: (WebCore::ApplePaySetupFeature::state const): * Modules/applepay/ApplePaySetupFeatureState.h: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupFeatureState.idl: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureType.idl. * Modules/applepay/ApplePaySetupFeatureType.idl: * Modules/applepay/ApplePaySetupFeatureWebCore.h: * Modules/applepay/ApplePaySetupWebCore.h: (WebCore::ApplePaySetup::create): * Modules/applepay/PaymentCoordinator.cpp: (WebCore::PaymentCoordinator::setApplePayIsActiveIfAllowed const): (WebCore::PaymentCoordinator::getSetupFeatures): (WebCore::PaymentCoordinator::beginApplePaySetup): (WebCore::PaymentCoordinator::endApplePaySetup): * Modules/applepay/PaymentCoordinator.h: * Modules/applepay/PaymentCoordinatorClient.h: (WebCore::PaymentCoordinatorClient::getSetupFeatures): (WebCore::PaymentCoordinatorClient::beginApplePaySetup): * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * testing/MockApplePaySetupFeature.cpp: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureWebCore.h. (WebCore::MockApplePaySetupFeature::create): (WebCore::MockApplePaySetupFeature::MockApplePaySetupFeature): * testing/MockApplePaySetupFeature.h: Copied from Source/WebCore/Modules/applepay/ApplePaySetupFeatureWebCore.h. * testing/MockPaymentCoordinator.cpp: (WebCore::MockPaymentCoordinator::addSetupFeature): (WebCore::MockPaymentCoordinator::getSetupFeatures): (WebCore::MockPaymentCoordinator::beginApplePaySetup): * testing/MockPaymentCoordinator.h: * testing/MockPaymentCoordinator.idl: LayoutTests: * http/tests/ssl/applepay/ApplePaySetup.https-expected.txt: Added. * http/tests/ssl/applepay/ApplePaySetup.https.html: Added. * platform/mac-wk2/TestExpectations: Canonical link: https://commits.webkit.org/225681@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-06 16:13:39 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockApplePaySetupFeature.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockApplePaySetupFeature.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockCDMFactory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockCDMFactory.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockContentFilterSettings.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockContentFilterSettings.h
[Cocoa] Add Experimental MediaSession coordinator https://bugs.webkit.org/show_bug.cgi?id=222158 <rdar://problem/74508862> Reviewed by Jer Noble. Source/WebCore: Add an experimental MediaSession coordinator, an object that provides an interface that allows script to coordinate changes to MediaSession with the User Agent. Also add an experimental MediaSession playlist interface. The changes are behind new experimental feature flags, MediaSessionCoordinatorEnabled and MediaSessionPlaylistEnabled. Test: media/media-session/mock-coordinator.html * DerivedSources-input.xcfilelist: Add new IDL files. * DerivedSources-output.xcfilelist: Add new derived sources. * DerivedSources.make: Add new IDL. * Modules/mediasession/MediaMetadata.cpp: (WebCore::MediaMetadata::create): Set trackIdentifier from init data. (WebCore::MediaMetadata::setTrackIdentifier): trackIdentifier setter. * Modules/mediasession/MediaMetadata.h: (WebCore::MediaMetadata::trackIdentifier const): * Modules/mediasession/MediaMetadata.idl: * Modules/mediasession/MediaMetadataInit.h: Add trackIdentifier. (WebCore::MediaMetadataInit::encode const): (WebCore::MediaMetadataInit::decode): * Modules/mediasession/MediaMetadataInit.idl: * Modules/mediasession/MediaSession.cpp: (WebCore::MediaSession::MediaSession): Initialize MainThreadGenericEventQueue. (WebCore::MediaSession::setMetadata): metadataUpdated -> notifyMetadataObservers. (WebCore::MediaSession::setReadyState): Session readyState setter. (WebCore::MediaSession::setCoordinator): Coordinator setter. Post 'coordinatorchange' event after change. (WebCore::MediaSession::setPlaylist): Playlist setter. (WebCore::MediaSession::setActionHandler): Call notifyActionHandlerObservers. (WebCore::MediaSession::setPositionState): Call notifyPositionStateObservers. (WebCore::MediaSession::metadataUpdated): Call notifyMetadataObservers. (WebCore::MediaSession::addObserver): New. (WebCore::MediaSession::removeObserver): New. (WebCore::MediaSession::forEachObserver): New. (WebCore::MediaSession::notifyMetadataObservers): New. (WebCore::MediaSession::notifyPositionStateObservers): New. (WebCore::MediaSession::notifyPlaybackStateObservers): New. (WebCore::MediaSession::notifyActionHandlerObservers): New. (WebCore::MediaSession::notifyReadyStateObservers): New. * Modules/mediasession/MediaSession.h: (WebCore::MediaSession::coordinator const): (WebCore::MediaSession::playlist const): (WebCore::MediaSession::logger const): * Modules/mediasession/MediaSession.idl: * Modules/mediasession/MediaSessionAction.h: * Modules/mediasession/MediaSessionAction.idl: * Modules/mediasession/MediaSessionActionDetails.h: * Modules/mediasession/MediaSessionActionDetails.idl: MediaSessionCoordinator proxies calls through the PlatformMediaSessionCoordinator, and then calls the equivalent MediaSession methode if the platform coordinator is successful. * Modules/mediasession/MediaSessionCoordinator.cpp: Added. (WebCore::nextCoordinatorLogIdentifier): (WebCore::MediaSessionCoordinator::create): (WebCore::MediaSessionCoordinator::MediaSessionCoordinator): (WebCore::MediaSessionCoordinator::seekTo): (WebCore::MediaSessionCoordinator::play): (WebCore::MediaSessionCoordinator::pause): (WebCore::MediaSessionCoordinator::setTrack): (WebCore::MediaSessionCoordinator::setMediaSession): (WebCore::MediaSessionCoordinator::logChannel): * Modules/mediasession/MediaSessionCoordinator.h: New. (WebCore::MediaSessionCoordinator::logger const): (WebCore::MediaSessionCoordinator::logIdentifier const): (WebCore::MediaSessionCoordinator::logClassName): * Modules/mediasession/MediaSessionCoordinator.idl: New. * Modules/mediasession/NavigatorMediaSession.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventNames.h: * dom/EventTargetFactory.in: * platform/graphics/PlatformMediaSessionCoordinator.h: Added. (WebCore::PlatformMediaSessionCoordinator::setLogger): (WebCore::PlatformMediaSessionCoordinator::loggerPtr const): (WebCore::PlatformMediaSessionCoordinator::logIdentifier const): (WebCore::PlatformMediaSessionCoordinator::logClassName const): (WebCore::PlatformMediaSessionCoordinator::logChannel const): * testing/Internals.cpp: (WebCore::Internals::registerMockMediaSessionCoordinator): Register the mock media session coordinator for testing. * testing/Internals.h: * testing/Internals.idl: * testing/MockMediaSessionCoordinator.cpp: Added. (WebCore::MockMediaSessionCoordinator::create): (WebCore::MockMediaSessionCoordinator::MockMediaSessionCoordinator): (WebCore::MockMediaSessionCoordinator::seekTo): (WebCore::MockMediaSessionCoordinator::play): (WebCore::MockMediaSessionCoordinator::pause): (WebCore::MockMediaSessionCoordinator::setTrack): * testing/MockMediaSessionCoordinator.h: New. Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnableCocoa.h: LayoutTests: * platform/TestExpectations: * media/media-session/mock-coordinator-expected.txt: Added. * media/media-session/mock-coordinator.html: Added. Canonical link: https://commits.webkit.org/235728@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-24 23:14:51 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockMediaSessionCoordinator.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockMediaSessionCoordinator.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockPageOverlay.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockPageOverlay.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockPaymentAddress.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockPaymentAddress.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockPaymentContactFields.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockPaymentContactFields.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockPaymentCoordinator.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockPaymentCoordinator.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockPaymentError.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockPaymentError.h
Add infrastructure for WebRTC transforms https://bugs.webkit.org/show_bug.cgi?id=218750 Reviewed by Eric Carlson. Source/ThirdParty/libwebrtc: Make sure buffer is owned by the encoded image object. * Configurations/libwebrtc.mac.exp: * Source/webrtc/sdk/WebKit/WebKitEncoder.h: * Source/webrtc/sdk/WebKit/WebKitEncoder.mm: (webrtc::encoderVideoTaskComplete): Source/WebCore: Introduce RTCRtpTransform behind a preference. Add binding code with libwebrtc to be able to process encoded content in sender and receiver sides. Add a mock transform to validate the infrastructure is working. Test: webrtc/webrtc-transform.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCRtpReceiver+Transform.idl: Added. * Modules/mediastream/RTCRtpReceiver.cpp: (WebCore::RTCRtpReceiver::~RTCRtpReceiver): (WebCore::RTCRtpReceiver::stop): (WebCore::RTCRtpReceiver::setTransform): * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpReceiverWithTransform.h: Added. (WebCore::RTCRtpReceiverWithTransform::transform): (WebCore::RTCRtpReceiverWithTransform::setTransform): * Modules/mediastream/RTCRtpSender+Transform.idl: Added. * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::~RTCRtpSender): (WebCore::RTCRtpSender::stop): (WebCore::RTCRtpSender::setTransform): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/RTCRtpSenderWithTransform.h: Added. (WebCore::RTCRtpSenderWithTransform::transform): (WebCore::RTCRtpSenderWithTransform::setTransform): * Modules/mediastream/RTCRtpTransform.cpp: Added. (WebCore::RTCRtpTransform::~RTCRtpTransform): (WebCore::RTCRtpTransform::attachToReceiver): (WebCore::RTCRtpTransform::attachToSender): (WebCore::RTCRtpTransform::detachFromReceiver): (WebCore::RTCRtpTransform::detachFromSender): * Modules/mediastream/RTCRtpTransform.h: Added. * Modules/mediastream/RTCRtpTransform.idl: Added. * Modules/mediastream/RTCRtpTransformBackend.h: Added. * Modules/mediastream/RTCRtpTransformableFrame.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::createRTCRtpTransformBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverTransformBackend.cpp: Added. (WebCore::mediaTypeFromReceiver): (WebCore::LibWebRTCRtpReceiverTransformBackend::LibWebRTCRtpReceiverTransformBackend): (WebCore::LibWebRTCRtpReceiverTransformBackend::~LibWebRTCRtpReceiverTransformBackend): (WebCore::LibWebRTCRtpReceiverTransformBackend::setTransformableFrameCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverTransformBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::createRTCRtpTransformBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderTransformBackend.cpp: Added. (WebCore::mediaTypeFromSender): (WebCore::LibWebRTCRtpSenderTransformBackend::LibWebRTCRtpSenderTransformBackend): (WebCore::LibWebRTCRtpSenderTransformBackend::~LibWebRTCRtpSenderTransformBackend): (WebCore::LibWebRTCRtpSenderTransformBackend::setTransformableFrameCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderTransformBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.cpp: Added. (WebCore::LibWebRTCRtpTransformBackend::setInputCallback): (WebCore::LibWebRTCRtpTransformBackend::clearTransformableFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::setOutputCallback): (WebCore::LibWebRTCRtpTransformBackend::processTransformedFrame): (WebCore::LibWebRTCRtpTransformBackend::Transform): (WebCore::LibWebRTCRtpTransformBackend::RegisterTransformedFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::RegisterTransformedFrameSinkCallback): (WebCore::LibWebRTCRtpTransformBackend::UnregisterTransformedFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::UnregisterTransformedFrameSinkCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.h: Added. (WebCore::LibWebRTCRtpTransformBackend::LibWebRTCRtpTransformBackend): (WebCore::LibWebRTCRtpTransformBackend::Release const): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.h: Added. (WebCore::LibWebRTCRtpTransformableFrame::LibWebRTCRtpTransformableFrame): (WebCore::LibWebRTCRtpTransformableFrame::toRTCFrame): (WebCore::LibWebRTCRtpTransformableFrame::data const): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): * bindings/scripts/test/JS/JSTestInterface.h: * testing/Internals.cpp: (WebCore::Internals::createMockRTCRtpTransform): * testing/Internals.h: * testing/Internals.idl: * testing/MockRTCRtpTransform.cpp: Added. (WebCore::MockRTCRtpTransformer::create): (WebCore::MockRTCRtpTransformer::clear): (WebCore::MockRTCRtpTransformer::transform): (WebCore::MockRTCRtpTransformer::isProcessing const): (WebCore::MockRTCRtpTransformer::MockRTCRtpTransformer): (WebCore::MockRTCRtpTransform::MockRTCRtpTransform): (WebCore::MockRTCRtpTransform::~MockRTCRtpTransform): (WebCore::MockRTCRtpTransform::isProcessing const): (WebCore::MockRTCRtpTransform::initializeBackendForReceiver): (WebCore::MockRTCRtpTransform::initializeBackendForSender): (WebCore::MockRTCRtpTransform::willClearBackend): * testing/MockRTCRtpTransform.h: Added. * testing/MockRTCRtpTransform.idl: Added. Source/WebKit: Remove no longer needed const casting. * Configurations/WebKit.xcconfig: * WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp: (WebKit::LibWebRTCCodecs::completedEncoding): Source/WTF: Add an experimental preference for WebRTC transforms. * Scripts/Preferences/WebPreferencesExperimental.yaml: LayoutTests: * webrtc/webrtc-transform-expected.txt: Added. * webrtc/webrtc-transform.html: Added. Canonical link: https://commits.webkit.org/231538@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-13 07:20:19 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockRTCRtpTransform.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockRTCRtpTransform.h
[WebAuthn] Move the mock testing entrance to Internals https://bugs.webkit.org/show_bug.cgi?id=202560 <rdar://problem/55973793> Reviewed by Chris Dumez. Source/WebCore: This patch moves TestRunner.setWebAuthenticationMockConfiguration to Internals.setMockWebAuthenticationConfiguration and removes the old entrance. The purpose of this patch is to allow API tests to use the same mock infrastructure that is used by layout tests. No new tests, covered by updates on existing tests. * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webauthn/PublicKeyCredentialCreationOptions.h: * WebCore.xcodeproj/project.pbxproj: * page/ChromeClient.h: (WebCore::ChromeClient::setMockWebAuthenticationConfiguration): * testing/Internals.cpp: (WebCore::Internals::setMockWebAuthenticationConfiguration): * testing/Internals.h: * testing/Internals.idl: * testing/MockWebAuthenticationConfiguration.h: Added. (WebCore::MockWebAuthenticationConfiguration::LocalConfiguration::encode const): (WebCore::MockWebAuthenticationConfiguration::LocalConfiguration::decode): (WebCore::MockWebAuthenticationConfiguration::HidConfiguration::encode const): (WebCore::MockWebAuthenticationConfiguration::HidConfiguration::decode): (WebCore::MockWebAuthenticationConfiguration::NfcConfiguration::encode const): (WebCore::MockWebAuthenticationConfiguration::NfcConfiguration::decode): (WebCore::MockWebAuthenticationConfiguration::encode const): (WebCore::MockWebAuthenticationConfiguration::decode): * testing/MockWebAuthenticationConfiguration.idl: Added. Source/WebKit: * UIProcess/API/C/WKWebsiteDataStoreRef.cpp: (WKWebsiteDataStoreSetWebAuthenticationMockConfiguration): Deleted. * UIProcess/API/C/WKWebsiteDataStoreRef.h: * UIProcess/WebAuthentication/AuthenticatorTransportService.cpp: (WebKit::AuthenticatorTransportService::createMock): * UIProcess/WebAuthentication/AuthenticatorTransportService.h: * UIProcess/WebAuthentication/Mock/MockAuthenticatorManager.cpp: (WebKit::MockAuthenticatorManager::MockAuthenticatorManager): * UIProcess/WebAuthentication/Mock/MockAuthenticatorManager.h: * UIProcess/WebAuthentication/Mock/MockHidConnection.cpp: (WebKit::MockHidConnection::send): (WebKit::MockHidConnection::registerDataReceivedCallbackInternal): (WebKit::MockHidConnection::parseRequest): (WebKit::MockHidConnection::feedReports): (WebKit::MockHidConnection::shouldContinueFeedReports): * UIProcess/WebAuthentication/Mock/MockHidConnection.h: * UIProcess/WebAuthentication/Mock/MockHidService.cpp: (WebKit::MockHidService::MockHidService): * UIProcess/WebAuthentication/Mock/MockHidService.h: * UIProcess/WebAuthentication/Mock/MockLocalConnection.h: * UIProcess/WebAuthentication/Mock/MockLocalConnection.mm: (WebKit::MockLocalConnection::MockLocalConnection): * UIProcess/WebAuthentication/Mock/MockLocalService.h: * UIProcess/WebAuthentication/Mock/MockLocalService.mm: (WebKit::MockLocalService::MockLocalService): * UIProcess/WebAuthentication/Mock/MockNfcService.h: * UIProcess/WebAuthentication/Mock/MockNfcService.mm: (WebKit::MockNfcService::MockNfcService): (WebKit::MockNfcService::platformStartDiscovery): (WebKit::MockNfcService::detectTags const): * UIProcess/WebAuthentication/Mock/MockWebAuthenticationConfiguration.h: Removed. * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::setMockWebAuthenticationConfiguration): * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * UIProcess/WebsiteData/WebsiteDataStore.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::setMockWebAuthenticationConfiguration): * WebProcess/WebCoreSupport/WebChromeClient.h: Tools: * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setWebAuthenticationMockConfiguration): Deleted. * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/TestController.cpp: (WTR::TestController::setWebAuthenticationMockConfiguration): Deleted. * WebKitTestRunner/TestController.h: * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): LayoutTests: * http/wpt/webauthn/ctap-hid-failure.https.html: * http/wpt/webauthn/ctap-hid-success.https.html: * http/wpt/webauthn/ctap-nfc-failure.https.html: * http/wpt/webauthn/idl.https.html: * http/wpt/webauthn/public-key-credential-create-failure-hid-silent.https.html: * http/wpt/webauthn/public-key-credential-create-failure-hid.https.html: * http/wpt/webauthn/public-key-credential-create-failure-local-silent.https.html: * http/wpt/webauthn/public-key-credential-create-failure-local.https.html: * http/wpt/webauthn/public-key-credential-create-failure-nfc.https.html: * http/wpt/webauthn/public-key-credential-create-failure-u2f-silent.https.html: * http/wpt/webauthn/public-key-credential-create-failure-u2f.https.html: * http/wpt/webauthn/public-key-credential-create-failure.https.html: * http/wpt/webauthn/public-key-credential-create-success-hid.https.html: * http/wpt/webauthn/public-key-credential-create-success-local.https.html: * http/wpt/webauthn/public-key-credential-create-success-nfc.https.html: * http/wpt/webauthn/public-key-credential-create-success-u2f.https.html: * http/wpt/webauthn/public-key-credential-get-failure-hid-silent.https.html: * http/wpt/webauthn/public-key-credential-get-failure-hid.https.html: * http/wpt/webauthn/public-key-credential-get-failure-local-silent.https.html: * http/wpt/webauthn/public-key-credential-get-failure-local.https.html: * http/wpt/webauthn/public-key-credential-get-failure-nfc.https.html: * http/wpt/webauthn/public-key-credential-get-failure-u2f-silent.https.html: * http/wpt/webauthn/public-key-credential-get-failure-u2f.https.html: * http/wpt/webauthn/public-key-credential-get-failure.https.html: * http/wpt/webauthn/public-key-credential-get-success-hid.https.html: * http/wpt/webauthn/public-key-credential-get-success-local.https.html: * http/wpt/webauthn/public-key-credential-get-success-nfc.https.html: * http/wpt/webauthn/public-key-credential-get-success-u2f.https.html: * http/wpt/webauthn/resources/public-key-credential-ip-address.https.html: Canonical link: https://commits.webkit.org/216232@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-09 23:03:06 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockWebAuthenticationConfiguration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMockWebAuthenticationConfiguration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMouseEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMouseEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMouseEventInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMouseEventInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMutationCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMutationCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMutationEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMutationEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMutationObserver.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMutationObserver.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMutationRecord.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSMutationRecord.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNamedNodeMap.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNamedNodeMap.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Beacon.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Beacon.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Clipboard.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Clipboard.h
[Contact Picker API] Introduce bindings for the Contact Picker API https://bugs.webkit.org/show_bug.cgi?id=216793 <rdar://problem/69317957> Reviewed by Wenson Hsieh. Source/WebCore: Added IDL for the Contact Picker API, with the exception of the address and icon contact properties (which will be added after an initial implemention is complete). See: https://wicg.github.io/contact-api/spec/ for more information. Test: contact-picker/contacts-interfaces.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/contact-picker/ContactInfo.h: Added. * Modules/contact-picker/ContactInfo.idl: Added. * Modules/contact-picker/ContactProperty.h: Added. * Modules/contact-picker/ContactProperty.idl: Added. * Modules/contact-picker/ContactsManager.cpp: Added. (WebCore::ContactsManager::create): (WebCore::ContactsManager::ContactsManager): (WebCore::ContactsManager::navigator): (WebCore::ContactsManager::getProperties): (WebCore::ContactsManager::select): Stub out these API calls for now by immediately rejecting the given promise. * Modules/contact-picker/ContactsManager.h: Added. * Modules/contact-picker/ContactsManager.idl: Added. * Modules/contact-picker/ContactsSelectOptions.h: Added. * Modules/contact-picker/ContactsSelectOptions.idl: Added. * Modules/contact-picker/NavigatorContacts.cpp: Added. (WebCore::NavigatorContacts::NavigatorContacts): (WebCore::NavigatorContacts::contacts): (WebCore::NavigatorContacts::from): (WebCore::NavigatorContacts::supplementName): * Modules/contact-picker/NavigatorContacts.h: Added. * Modules/contact-picker/Navigator+Contacts.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * page/Settings.yaml: Source/WebKit: Added a new experimental feature flag. See WebCore Changelog for more details. * Shared/WebPreferencesExperimental.yaml: Source/WebKitLegacy/mac: Added plumbing to support the associated experimental test option. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (-[WebPreferences contactPickerAPIEnabled]): (-[WebPreferences setContactPickerAPIEnabled:]): * WebView/WebPreferencesPrivate.h: Source/WebKitLegacy/win: Added plumbing to support the associated experimental test option. * Interfaces/IWebPreferencesPrivate.idl: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): (WebPreferences::contactPickerAPIEnabled): (WebPreferences::setContactPickerAPIEnabled): * WebPreferences.h: * WebView.cpp: (WebView::notifyPreferencesChanged): Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: Add experimental preference for the Contact Picker API. Tools: Added plumbing to support the associated experimental test option. * DumpRenderTree/TestOptions.cpp: (TestOptions::TestOptions): * DumpRenderTree/TestOptions.h: * DumpRenderTree/mac/DumpRenderTree.mm: (setWebPreferencesForTestOptions): * DumpRenderTree/win/DumpRenderTree.cpp: (setWebPreferencesForTestOptions): LayoutTests: * contact-picker/contacts-interfaces-expected.txt: Added. * contact-picker/contacts-interfaces.html: Added. Added a new test to verify the new API interfaces. * fast/dom/navigator-detached-no-crash-expected.txt: * platform/gtk/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac/fast/dom/navigator-detached-no-crash-expected.txt: * platform/win/fast/dom/navigator-detached-no-crash-expected.txt: * platform/wincairo/fast/dom/navigator-detached-no-crash-expected.txt: * platform/wpe/fast/dom/navigator-detached-no-crash-expected.txt: Updated an existing test to include "navigator.contacts". Canonical link: https://commits.webkit.org/230095@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-05 18:56:12 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Contacts.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Contacts.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Credentials.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Credentials.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+EME.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+EME.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Gamepad.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Gamepad.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Geolocation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+Geolocation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+IsLoggedIn.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+IsLoggedIn.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+MediaCapabilities.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+MediaCapabilities.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+MediaDevices.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+MediaDevices.h
Add skeleton implementation of Media Session API https://bugs.webkit.org/show_bug.cgi?id=217797 LayoutTests/imported/w3c: Reviewed by Darin Adler. * resources/import-expectations.json: * resources/resource-files.json: * web-platform-tests/mediasession/META.yml: Added. * web-platform-tests/mediasession/README.md: Added. * web-platform-tests/mediasession/helper/artwork-generator.html: Added. * web-platform-tests/mediasession/helper/w3c-import.log: Added. * web-platform-tests/mediasession/idlharness.window-expected.txt: Added. * web-platform-tests/mediasession/idlharness.window.html: Added. * web-platform-tests/mediasession/idlharness.window.js: Added. * web-platform-tests/mediasession/mediametadata-expected.txt: Added. * web-platform-tests/mediasession/mediametadata.html: Added. * web-platform-tests/mediasession/playbackstate-expected.txt: Added. * web-platform-tests/mediasession/playbackstate.html: Added. * web-platform-tests/mediasession/positionstate-expected.txt: Added. * web-platform-tests/mediasession/positionstate.html: Added. * web-platform-tests/mediasession/setactionhandler-expected.txt: Added. * web-platform-tests/mediasession/setactionhandler.html: Added. * web-platform-tests/mediasession/w3c-import.log: Added. Source/WebCore: Reviewed by Darin Adler. Tests: imported/w3c/web-platform-tests/mediasession/idlharness.window.html imported/w3c/web-platform-tests/mediasession/mediametadata.html imported/w3c/web-platform-tests/mediasession/playbackstate.html imported/w3c/web-platform-tests/mediasession/positionstate.html imported/w3c/web-platform-tests/mediasession/setactionhandler.html Add an initial, no-op, implementation of the Media Session API. Note, the WPT test results include a failing test of Object.isFrozen(); the bindings generator does not currently support generating a FrozenArray of dictionary values. * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediasession/MediaImage.h: Added. * Modules/mediasession/MediaImage.idl: Added. * Modules/mediasession/MediaMetadata.h: Added. (WebCore::MediaMetadata::create): (WebCore::MediaMetadata::MediaMetadata): (WebCore::MediaMetadata::setMediaSession): (WebCore::MediaMetadata::title const): (WebCore::MediaMetadata::setTitle): (WebCore::MediaMetadata::artist const): (WebCore::MediaMetadata::setArtist): (WebCore::MediaMetadata::album const): (WebCore::MediaMetadata::setAlbum): (WebCore::MediaMetadata::artwork const): (WebCore::MediaMetadata::setArtwork): (WebCore::MediaMetadata::metadataUpdated): * Modules/mediasession/MediaMetadata.idl: Added. * Modules/mediasession/MediaMetadataInit.h: Added. * Modules/mediasession/MediaMetadataInit.idl: Added. * Modules/mediasession/MediaPositionState.h: Added. * Modules/mediasession/MediaPositionState.idl: Added. * Modules/mediasession/MediaSession.cpp: Added. (WebCore::MediaSession::create): (WebCore::MediaSession::MediaSession): (WebCore::MediaSession::setMetadata): (WebCore::MediaSession::setPlaybackState): (WebCore::MediaSession::setActionHandler): (WebCore::MediaSession::setPositionState): (WebCore::MediaSession::metadataUpdated): * Modules/mediasession/MediaSession.h: Added. (WebCore::MediaSession::metadata const): (WebCore::MediaSession::playbackState const): * Modules/mediasession/MediaSession.idl: Added. * Modules/mediasession/MediaSessionAction.h: Added. * Modules/mediasession/MediaSessionAction.idl: Added. * Modules/mediasession/MediaSessionActionDetails.h: Added. * Modules/mediasession/MediaSessionActionDetails.idl: Added. * Modules/mediasession/MediaSessionActionHandler.h: Added. * Modules/mediasession/MediaSessionActionHandler.idl: Added. * Modules/mediasession/MediaSessionPlaybackState.h: Added. * Modules/mediasession/MediaSessionPlaybackState.idl: Added. * Modules/mediasession/Navigator+MediaSession.idl: Added. * Modules/mediasession/NavigatorMediaSession.cpp: Added. (WebCore::NavigatorMediaSession::NavigatorMediaSession): (WebCore::NavigatorMediaSession::mediaSession): (WebCore::NavigatorMediaSession::from): (WebCore::NavigatorMediaSession::supplementName): * Modules/mediasession/NavigatorMediaSession.h: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Source/WTF: Reviewed by Darin Adler. * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Tools: <rdar://problem/70367487> Reviewed by Darin Adler. * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): Canonical link: https://commits.webkit.org/230686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-20 16:20:16 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+MediaSession.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+MediaSession.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+WebDriver.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+WebDriver.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+WebXR.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator+WebXR.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigator.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorBeacon.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorBeacon.h
[Clipboard API] Introduce bindings for the async Clipboard API https://bugs.webkit.org/show_bug.cgi?id=202622 <rdar://problem/56038126> Reviewed by Ryosuke Niwa. Source/WebCore: Adds IDL for the async clipboard API (with the exception of delayed item generation interfaces, which I'll iterate on and introduce separately). See: https://w3c.github.io/clipboard-apis/#async-clipboard-api for more information. Tests: editing/async-clipboard/clipboard-interfaces.html editing/async-clipboard/clipboard-wrapper-stays-alive.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/async-clipboard/Clipboard.cpp: (WebCore::Clipboard::create): (WebCore::Clipboard::Clipboard): (WebCore::Clipboard::navigator): (WebCore::Clipboard::eventTargetInterface const): (WebCore::Clipboard::scriptExecutionContext const): (WebCore::Clipboard::readText): (WebCore::Clipboard::writeText): (WebCore::Clipboard::read): (WebCore::Clipboard::write): Stub out these API calls for now by immediately rejecting the given promise. * Modules/async-clipboard/Clipboard.h: * Modules/async-clipboard/Clipboard.idl: * Modules/async-clipboard/ClipboardItem.cpp: (WebCore::ClipboardItem::ClipboardItem): (WebCore::ClipboardItem::create): (WebCore::ClipboardItem::types const): (WebCore::ClipboardItem::getType): Stub out these API calls for now by immediately rejecting the given promise. (WebCore::navigator): * Modules/async-clipboard/ClipboardItem.h: (WebCore::ClipboardItem::presentationStyle const): * Modules/async-clipboard/ClipboardItem.idl: * Modules/async-clipboard/NavigatorClipboard.cpp: (WebCore::NavigatorClipboard::NavigatorClipboard): (WebCore::NavigatorClipboard::clipboard): (WebCore::NavigatorClipboard::from): (WebCore::NavigatorClipboard::supplementName): * Modules/async-clipboard/NavigatorClipboard.h: * Modules/async-clipboard/NavigatorClipboard.idl: * Modules/mediastream/MediaStreamTrack.cpp: * Modules/mediastream/RTCDTMFSender.cpp: * Modules/mediastream/RTCRtpSender.cpp: * Modules/webgpu/WebGPUPipeline.h: More unified sources-related build fixes. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/DeviceOrientationOrMotionEvent.cpp: Unified sources-related build fix. * dom/EventTargetFactory.in: * features.json: Add Async Clipboard API as a feature in development on webkit.org. * page/Settings.yaml: Source/WebKit: Adds a new experimental feature flag. See WebCore ChangeLog for more details. * Shared/WebPreferences.yaml: LayoutTests: * editing/async-clipboard/clipboard-interfaces-expected.txt: Added. * editing/async-clipboard/clipboard-interfaces.html: Added. Add a new test to sanity check the new clipboard API interfaces and interface extensions. * editing/async-clipboard/clipboard-wrapper-stays-alive-expected.txt: Added. * editing/async-clipboard/clipboard-wrapper-stays-alive.html: Added. Add a new test to make sure that the clipboard wrapper stays alive between GC passes, even when the clipboard's navigator is kept alive, independently of its window object. * fast/dom/navigator-detached-no-crash-expected.txt: * platform/ios-wk1/TestExpectations: * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk1/TestExpectations: * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac/fast/dom/navigator-detached-no-crash-expected.txt: * platform/win/fast/dom/navigator-detached-no-crash-expected.txt: * platform/wincairo/fast/dom/navigator-detached-no-crash-expected.txt: Update an existing layout test to include "navigator.clipboard". Canonical link: https://commits.webkit.org/216145@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-08 14:50:27 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorClipboard.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorClipboard.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorCookies.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorCookies.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorCredentials.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorCredentials.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorEME.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorEME.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorGamepad.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorGamepad.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorGeolocation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorGeolocation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorID.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorID.h
IsLoggedIn: Add as experimental feature https://bugs.webkit.org/show_bug.cgi?id=202707 <rdar://problem/56095064> Reviewed by Brent Fulgham and Chris Dumez. IsLoggedIn was proposed to the WebAppSec WG at TPAC 2019. So far there is only an explainer posted to the mailing list: https://lists.w3.org/Archives/Public/public-webappsec/2019Sep/0004.html Source/WebCore: This patch adds the three experimental web APIs: - Promise<void> setLoggedIn() - Promise<void> setLoggedOut() - Promise<bool> isLoggedIn() It also tests that those APIs are only exposed in secure contexts. The functionality is implemented as a supplement to Navigator. Tests: http/tests/is-logged-in/available-in-secure-contexts.https.html http/tests/is-logged-in/unavailable-in-insecure-contexts.html * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * page/NavigatorIsLoggedIn.cpp: Added. (WebCore::NavigatorIsLoggedIn::from): (WebCore::NavigatorIsLoggedIn::supplementName): (WebCore::NavigatorIsLoggedIn::setLoggedIn): (WebCore::NavigatorIsLoggedIn::setLoggedOut): (WebCore::NavigatorIsLoggedIn::isLoggedIn): * page/NavigatorIsLoggedIn.h: Added. * page/NavigatorIsLoggedIn.idl: Added. * page/PointerCaptureController.cpp: * page/PointerCaptureController.h: * page/Settings.yaml: Source/WebKit: * Shared/WebPreferences.yaml: LayoutTests: * http/tests/is-logged-in/available-in-secure-contexts.https-expected.txt: Added. * http/tests/is-logged-in/available-in-secure-contexts.https.html: Added. * http/tests/is-logged-in/unavailable-in-insecure-contexts-expected.txt: Added. * http/tests/is-logged-in/unavailable-in-insecure-contexts.html: Added. * platform/ios-device-wk1/TestExpectations: * platform/ios-simulator-wk1/TestExpectations: * platform/ios-wk1/TestExpectations: * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk1/TestExpectations: * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: * platform/wincairo-wk1/TestExpectations: Canonical link: https://commits.webkit.org/216235@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-10 00:03:47 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorIsLoggedIn.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorIsLoggedIn.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorLanguage.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorLanguage.h
[Pointer Events] Expose navigator.maxTouchPoints https://bugs.webkit.org/show_bug.cgi?id=198468 <rdar://problem/51273029> Reviewed by Chris Dumez. Source/WebCore: Expose the navigator.maxTouchPoints property when Pointer Events are enabled both at compile-time and run-time. We return a canned value for this on iOS touch-enabled devices that matches the number of simultaneous touches supported by the system, which is 5. In fact, iPad support more simultaneous touches, but it doesn't seem worthy to expose this level of granularity due to fingerprinting practices. In practice, what really matters is returning 0, 1 or more than 1 for this value to identify multi-touch support. Test: js/dom/navigator-maxtouchpoints.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/NavigatorMaxTouchPoints.idl: Added. * page/Navigator.idl: * page/Navigator.h: (WebCore::Navigator::maxTouchPoints const): LayoutTests: * js/dom/navigator-maxtouchpoints-expected.txt: Added. * js/dom/navigator-maxtouchpoints.html: Added. * platform/mac-highsierra-wk1/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: * platform/win/js/dom/navigator-maxtouchpoints-expected.txt: Added. Canonical link: https://commits.webkit.org/212531@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@246070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-06-04 17:45:43 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorMaxTouchPoints.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorMaxTouchPoints.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorMediaCapabilities.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorMediaCapabilities.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorMediaDevices.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorMediaDevices.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorOnLine.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorOnLine.h
[WPT] html/webappapis/system-state-and-capabilities/the-navigator-object/navigator-pluginarray.html fails due to lack of caching of Plugin objects https://bugs.webkit.org/show_bug.cgi?id=213185 Reviewed by Darin Adler. LayoutTests/imported/w3c: * web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator-pluginarray-expected.txt: Update results now that this test passes. Source/WebCore: Tests: - Updates results for web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator-pluginarray.html which now passes. - Splits up http/tests/plugins/plugin-javascript-access.html, adding http/tests/plugins/plugin-javascript-access-allow-all-plugins.html which tests the internals.setShowAllPlugins(true) case. This was required now that the plugin and mimetype arrays are immutable after creation. Overhaul web exposed plugin APIs: - All DOMPlugin and DOMMimeTypes are now created together (along with the DOMPluginArray and DOMMimeTypeArray) on first access of either navigator.plugins or navigator.mimeTypes. - DOMPlugins are created and stored in the DOMPluginArray (fixing the initial lack of caching issue) - DOMMimeTypes are created and stored in the DOMMimeTypeArray. - DOMPlugins hold a strong reference to their associated DOMMimeType. The DOMMimeType has a weak reference back to the DOMPlugin. This means for a single executation context, we only ever create one DOMPlugin / DOMMimeType for each underlying plugin / mimetype. - Update GC so that DOMPlugin and DOMMimeType (in addition to DOMPluginArray and DOMMimeTypeArray which were already doing this) use navigator reachability for their lifetime. This is almost correct, except if we ever implement DOMPluginArray.refresh(false) to match the spec, in which case you could end up with some DOMPlugins and DOMMimeTypes that are marked as reachable when they really are not, but only plugins that were removed. This seems so unlikely to matter that implementing a more strict reachability function seems like the wrong way to go. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: Add NavigatorPlugins.idl * loader/SubframeLoader.cpp: (WebCore::findPluginMIMETypeFromURL): (WebCore::logPluginRequest): Simplify and cleanup code making use of the new webVisibleMimeTypes() rather than the clunky getWebVisibleMimesAndPluginIndices(). * page/Navigator.cpp: * page/Navigator.h: (WebCore::Navigator::initializePluginAndMIMETypeArrays): (WebCore::Navigator::plugins): (WebCore::Navigator::mimeTypes): Fully initialize Navigator.plugins/mimeTypes on first access of either, following the specified behavior that they should not change after initial access for a script execution context. This also ensures we always return the same wrappers for these objects on multiple accesses, something the spec mandates but we failed to do prior. In addition, we now correctly sort the plugins by name and mimeTypes by type, also as specified. * page/Navigator.idl: * page/NavigatorPlugins.idl: Added. Split NavigatorPlugins out of Navigator.idl as specified. No functional change but makes things nicer when we match the spec closer. * plugins/DOMMimeType.cpp: (WebCore::DOMMimeType::DOMMimeType): (WebCore::DOMMimeType::suffixes const): (WebCore::DOMMimeType::enabledPlugin const): * plugins/DOMMimeType.h: (WebCore::DOMMimeType::create): (WebCore::DOMMimeType::navigator): * plugins/DOMMimeType.idl: * plugins/DOMMimeTypeArray.cpp: (WebCore::DOMMimeTypeArray::DOMMimeTypeArray): (WebCore::DOMMimeTypeArray::length const): (WebCore::DOMMimeTypeArray::item): (WebCore::DOMMimeTypeArray::namedItem): (WebCore::DOMMimeTypeArray::supportedPropertyNames): (WebCore::DOMMimeTypeArray::getPluginData const): Deleted. * plugins/DOMMimeTypeArray.h: * plugins/DOMPlugin.cpp: (WebCore::DOMPlugin::DOMPlugin): (WebCore::DOMPlugin::item): (WebCore::DOMPlugin::namedItem): (WebCore::DOMPlugin::supportedPropertyNames): * plugins/DOMPlugin.h: * plugins/DOMPlugin.idl: * plugins/DOMPluginArray.cpp: (WebCore::DOMPluginArray::DOMPluginArray): (WebCore::DOMPluginArray::length const): (WebCore::DOMPluginArray::item): (WebCore::DOMPluginArray::namedItem): (WebCore::DOMPluginArray::supportedPropertyNames): (WebCore::DOMPluginArray::pluginData const): Deleted. * plugins/DOMPluginArray.h: Rather than dynamically accessing plugin information through Page on each interaction with the DOM plugin objects, we now fully initialize them on creation, allowing for correct wrapper caching and behavior if plugins are added / removed (e.g. the arrays should not change). * plugins/PluginData.cpp: (WebCore::PluginData::initPlugins): (WebCore::PluginData::publiclyVisiblePluginsAndAdditionalWebVisiblePlugins const): (WebCore::PluginData::webVisibleMimeTypes const): (WebCore::supportsMimeTypeForPlugins): (WebCore::PluginData::supportsMimeType const): (WebCore::PluginData::supportsWebVisibleMimeType const): (WebCore::PluginData::supportsWebVisibleMimeTypeForURL const): (WebCore::PluginData::pluginFileForWebVisibleMimeType const): (WebCore::PluginData::publiclyVisiblePlugins const): Deleted. (WebCore::PluginData::getWebVisibleMimesAndPluginIndices const): Deleted. (WebCore::PluginData::getMimesAndPluginIndices const): Deleted. (WebCore::PluginData::getMimesAndPluginIndiciesForPlugins const): Deleted. (WebCore::PluginData::getPluginInfoForWebVisibleMimeType const): Deleted. * plugins/PluginData.h: Simplify interface by removing out parameter based getWebVisibleMimesAndPluginIndices (and helpers) and adding more straigtword alternatives. getWebVisibleMimesAndPluginIndices was useful for the old DOM plugin model, but now that the arrays are initialized all together, it no longer provides an optimization. Instead, all callers really just want a either a list of MimeClassInfos or to know if one is supported under a specific scenario, so we now just expose that. Source/WebKit: * UIProcess/Plugins/PluginInfoStore.h: Add missing #include that is now needed due to pruning of unnecessary #includes in WebCore. * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::pluginSupportsExtension): Update to use new webVisibleMimeTypes() rather than the clunky getWebVisibleMimesAndPluginIndices(). LayoutTests: * http/tests/plugins/plugin-javascript-access-allow-all-plugins-expected.txt: Added. * http/tests/plugins/plugin-javascript-access-allow-all-plugins.html: Added. * http/tests/plugins/plugin-javascript-access-expected.txt: * http/tests/plugins/plugin-javascript-access.html: Split out internals.setShowAllPlugins(true) part of plugin-javascript-access.html to allow the test to continue working now that navigator.plugins is immutable after accessing it. * platform/mac-wk1/TestExpectations: * platform/mac-wk1/imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator-pluginarray-expected.txt: Removed. Remove imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/navigator-pluginarray.html from TestExpectations now that it passes all the time. Canonical link: https://commits.webkit.org/225957@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-15 02:07:08 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorPlugins.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorPlugins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorServiceWorker.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorServiceWorker.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorShare.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorShare.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorWebDriver.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorWebDriver.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorWebXR.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNavigatorWebXR.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNodeFilter.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNodeFilter.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNodeIterator.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNodeIterator.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNodeList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNodeList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNonDocumentTypeChildNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNonDocumentTypeChildNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNonElementParentNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNonElementParentNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNotification.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNotification.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNotificationPermission.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNotificationPermission.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNotificationPermissionCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSNotificationPermissionCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESElementIndexUint.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESElementIndexUint.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESFBORenderMipmap.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESFBORenderMipmap.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESStandardDerivatives.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESStandardDerivatives.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESTextureFloat.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESTextureFloat.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESTextureFloatLinear.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESTextureFloatLinear.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESTextureHalfFloat.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESTextureHalfFloat.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESTextureHalfFloatLinear.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESTextureHalfFloatLinear.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESVertexArrayObject.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOESVertexArrayObject.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOfflineAudioCompletionEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOfflineAudioCompletionEvent.h
Add OfflineAudioCompletionEvent constructor https://bugs.webkit.org/show_bug.cgi?id=214994 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Rebaseline WPT test now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: Source/WebCore: Add OfflineAudioCompletionEvent constructor, as per: - https://www.w3.org/TR/webaudio/#OfflineAudioCompletionEvent Test: webaudio/OfflineAudioCompletionEvent-constructor.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/OfflineAudioCompletionEvent.cpp: (WebCore::OfflineAudioCompletionEvent::create): (WebCore::OfflineAudioCompletionEvent::OfflineAudioCompletionEvent): * Modules/webaudio/OfflineAudioCompletionEvent.h: * Modules/webaudio/OfflineAudioCompletionEvent.idl: * Modules/webaudio/OfflineAudioCompletionEventInit.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.idl. * Modules/webaudio/OfflineAudioCompletionEventInit.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: LayoutTests: Add layout test coverage. * webaudio/OfflineAudioCompletionEvent-constructor-expected.txt: Added. * webaudio/OfflineAudioCompletionEvent-constructor.html: Added. Canonical link: https://commits.webkit.org/227854@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-31 23:41:39 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOfflineAudioCompletionEventInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOfflineAudioCompletionEventInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOfflineAudioContext.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOfflineAudioContext.h
Added OfflineAudioContext constructor https://bugs.webkit.org/show_bug.cgi?id=214577 Patch by Clark Wang <clark_wang@apple.com> on 2020-07-21 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined existing tests. Lots of failures that fail because of unsupported sampleRate range. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-null-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/buffer-resampling-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-scheduling-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/adding-events-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/audioparam-close-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/automation-rate-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/cancel-scheduled-values-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/event-insertion-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audiobuffersource-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet-connections.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-biquad-connection-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-biquad-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-constant-source-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-delay-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-delay-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-dynamics-compressor-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-gain-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-oscillator-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-oscillator-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-stereo-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/set-target-conv-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-disconnected-input.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/simple-input-output.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/suspended-context-messageport.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-upmixing-1-channel-response-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-channel-count-1-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/maxdelay-rounding-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/osc-basic-waveform-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-scriptprocessornode-interface/simple-input-output-expected.txt: Source/WebCore: Added OfflineAudioContext constructor and OfflineAudioContextOptions files. Re-baselined existing tests. Lots of failures that fail because of unsupported sampleRate range. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioContext.h: * Modules/webaudio/OfflineAudioContext.idl: * Modules/webaudio/OfflineAudioContextOptions.h: Added. * Modules/webaudio/OfflineAudioContextOptions.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227402@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@264657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-21 16:13:47 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOfflineAudioContextOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOfflineAudioContextOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOffscreenCanvas.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOffscreenCanvas.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOffscreenCanvasRenderingContext2D.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOffscreenCanvasRenderingContext2D.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOptionalEffectTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOptionalEffectTiming.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOscillatorNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOscillatorNode.h
Added Constructor method to OscillatorNode https://bugs.webkit.org/show_bug.cgi?id=214746 Patch by Clark Wang <clark_wang@apple.com> on 2020-07-27 Reviewed by Chris Dumez. Re-baselined existing tests that now pass, or fail further along. LayoutTests/imported/w3c: * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/processing-model/cycle-without-delay-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/detune-limiting-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/osc-basic-waveform-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping-expected.txt: Source/WebCore: Added ctor to OscillatorNode, added OscillatorOptions, OscillatorType files all according to spec: https://www.w3.org/TR/webaudio/#OscillatorNode-constructors. Updated createOscillator() method in BaseAudioContext. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioContextOptions.h: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createOscillator): * Modules/webaudio/OscillatorNode.cpp: (WebCore::OscillatorNode::create): (WebCore::OscillatorNode::OscillatorNode): (WebCore::OscillatorNode::setType): (WebCore::OscillatorNode::setPeriodicWave): * Modules/webaudio/OscillatorNode.h: (WTF::LogArgument<WebCore::OscillatorType>::toString): (WTF::LogArgument<WebCore::OscillatorNode::Type>::toString): Deleted. * Modules/webaudio/OscillatorNode.idl: * Modules/webaudio/OscillatorOptions.h: Copied from Source/WebCore/Modules/webaudio/PeriodicWaveConstraints.h. * Modules/webaudio/OscillatorOptions.idl: Copied from Source/WebCore/Modules/webaudio/PeriodicWaveConstraints.h. * Modules/webaudio/OscillatorType.h: Copied from Source/WebCore/Modules/webaudio/PeriodicWaveConstraints.h. * Modules/webaudio/OscillatorType.idl: Copied from Source/WebCore/Modules/webaudio/PeriodicWaveConstraints.h. * Modules/webaudio/PannerOptions.h: * Modules/webaudio/PeriodicWave.cpp: * Modules/webaudio/PeriodicWaveConstraints.h: * Modules/webaudio/PeriodicWaveOptions.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227657@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@264941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-27 20:25:05 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOscillatorOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOscillatorOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOscillatorType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOscillatorType.h
Add constructor for WaveShaperNode https://bugs.webkit.org/show_bug.cgi?id=214989 Reviewed by Youenn Fablet. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/ctor-waveshaper-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/waveshaper-simple-expected.txt: Source/WebCore: Add constructor for WaveShaperNode: - https://www.w3.org/TR/webaudio/#waveshapernode No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createWaveShaper): * Modules/webaudio/OverSampleType.h: Copied from Source/WebCore/Modules/webaudio/WaveShaperNode.idl. * Modules/webaudio/OverSampleType.idl: Copied from Source/WebCore/Modules/webaudio/WaveShaperNode.idl. * Modules/webaudio/WaveShaperNode.cpp: (WebCore::WaveShaperNode::create): (WebCore::WaveShaperNode::setCurve): (WebCore::processorType): * Modules/webaudio/WaveShaperNode.h: (WTF::LogArgument<WebCore::OverSampleType>::toString): * Modules/webaudio/WaveShaperNode.idl: * Modules/webaudio/WaveShaperOptions.h: Copied from Source/WebCore/Modules/webaudio/WaveShaperNode.idl. * Modules/webaudio/WaveShaperOptions.idl: Copied from Source/WebCore/Modules/webaudio/WaveShaperNode.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227838@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-31 18:47:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOverSampleType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOverSampleType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOverconstrainedError.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOverconstrainedError.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOverconstrainedErrorEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOverconstrainedErrorEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOverflowEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSOverflowEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPageTransitionEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPageTransitionEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaintRenderingContext2D.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaintRenderingContext2D.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaintWorkletGlobalScope.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaintWorkletGlobalScope.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPannerNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPannerNode.h
Added PannerNode constructor according to spec https://bugs.webkit.org/show_bug.cgi?id=213801 Patch by Clark Wang <clark_wang@apple.com> on 2020-07-06 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined existing tests now that new ones are passing. New ones that fail are due to accepted range of values that attributes can take on, which are to be implemented in a future patch. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping-expected.txt: Source/WebCore: Added in new PannerNode constructor to match spec: https://www.w3.org/TR/webaudio/#dom-pannernode-pannernode. Added in AudioNodeOptions and PannerOptions files. Modified some previous code in order to pass compilation. Re-baselined existing tests now that new ones are passing. New ones that fail are due to accepted range of values that attributes can take on, which are to be implemented in a future patch. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioDestinationNode.h: * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::AudioNode): * Modules/webaudio/AudioNode.h: * Modules/webaudio/AudioNodeOptions.h: Added. * Modules/webaudio/AudioNodeOptions.idl: Added. * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNode::PannerNode): (WebCore::PannerNodeBase::PannerNodeBase): (WebCore::PannerNode::create): * Modules/webaudio/PannerNode.h: * Modules/webaudio/PannerNode.idl: * Modules/webaudio/PannerOptions.h: Added. * Modules/webaudio/PannerOptions.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/226805@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-06 21:24:00 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPannerOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPannerOptions.h
Add experimental feature flag for modern & unprefixed WebAudio API https://bugs.webkit.org/show_bug.cgi?id=213268 Reviewed by Jer Noble. LayoutTests/imported/w3c: Rebaseline a few web-platform-tests now that they are passing or failing at a later stage. This is due to our WebAudio getting properly unprefixed in the context of layout tests. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-detached-execution-context.tentative-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-connect-method-chaining-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/offlineaudiocontext-detached-execution-context.tentative-expected.txt: Source/WebCore: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. This patch split the AudioContext, OfflineAudioContext and PannerNode IDL interfaces into their prefixed and unprefixed versions. The unprefixed versions are behind the new experimental feature flag that is currently off by default but automatically gets turned on in the context of layout tests. This will give us more flexibility when working on the modern and unprefixed WebAudio API as we will not have to worry about backward compatibility. This also allows us to easily turn it on or off via the experimental features menu in Safari. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AnalyserNode.cpp: (WebCore::AnalyserNode::AnalyserNode): * Modules/webaudio/AnalyserNode.h: * Modules/webaudio/AudioBasicInspectorNode.cpp: (WebCore::AudioBasicInspectorNode::AudioBasicInspectorNode): * Modules/webaudio/AudioBasicInspectorNode.h: * Modules/webaudio/AudioBasicProcessorNode.cpp: (WebCore::AudioBasicProcessorNode::AudioBasicProcessorNode): * Modules/webaudio/AudioBasicProcessorNode.h: * Modules/webaudio/AudioBufferSourceNode.cpp: (WebCore::AudioBufferSourceNode::create): (WebCore::AudioBufferSourceNode::AudioBufferSourceNode): (WebCore::AudioBufferSourceNode::setBuffer): (WebCore::AudioBufferSourceNode::setPannerNode): * Modules/webaudio/AudioBufferSourceNode.h: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContextBase::AudioContextBase): (WebCore::AudioContext::AudioContext): (WebCore::AudioContextBase::document const): (WebCore::AudioContextBase::scriptExecutionContext const): * Modules/webaudio/AudioContext.h: (WebCore::AudioContextBase::AutoLocker::AutoLocker): (WebCore::AudioContextBase::AutoLocker::~AutoLocker): (WebCore::AudioContext::maxNumberOfChannels): (isType): * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioContextState.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioContextState.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioDestinationNode.cpp: (WebCore::AudioDestinationNode::AudioDestinationNode): * Modules/webaudio/AudioDestinationNode.h: * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::AudioNode): (WebCore::AudioNode::connect): (WebCore::AudioNode::disconnect): (WebCore::AudioNode::setChannelCount): (WebCore::AudioNode::setChannelCountMode): (WebCore::AudioNode::setChannelInterpretation): (WebCore::AudioNode::enableOutputsIfNecessary): (WebCore::AudioNode::deref): (WebCore::AudioNode::contextForBindings const): * Modules/webaudio/AudioNode.h: (WebCore::AudioNode::context): (WebCore::AudioNode::context const): * Modules/webaudio/AudioNode.idl: * Modules/webaudio/AudioNodeOutput.h: (WebCore::AudioNodeOutput::context): * Modules/webaudio/AudioParam.cpp: (WebCore::AudioParam::AudioParam): * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParamTimeline.cpp: (WebCore::AudioParamTimeline::valueForContextTime): * Modules/webaudio/AudioParamTimeline.h: * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::AudioScheduledSourceNode): * Modules/webaudio/AudioScheduledSourceNode.h: * Modules/webaudio/AudioSummingJunction.cpp: (WebCore::AudioSummingJunction::AudioSummingJunction): * Modules/webaudio/AudioSummingJunction.h: (WebCore::AudioSummingJunction::context): * Modules/webaudio/BiquadFilterNode.cpp: (WebCore::BiquadFilterNode::BiquadFilterNode): * Modules/webaudio/BiquadFilterNode.h: * Modules/webaudio/BiquadProcessor.cpp: (WebCore::BiquadProcessor::BiquadProcessor): * Modules/webaudio/BiquadProcessor.h: * Modules/webaudio/ChannelMergerNode.cpp: (WebCore::ChannelMergerNode::create): (WebCore::ChannelMergerNode::ChannelMergerNode): * Modules/webaudio/ChannelMergerNode.h: * Modules/webaudio/ChannelSplitterNode.cpp: (WebCore::ChannelSplitterNode::create): (WebCore::ChannelSplitterNode::ChannelSplitterNode): * Modules/webaudio/ChannelSplitterNode.h: * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::ConvolverNode): * Modules/webaudio/ConvolverNode.h: * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode): * Modules/webaudio/DefaultAudioDestinationNode.h: * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::DelayNode): (WebCore::DelayNode::create): * Modules/webaudio/DelayNode.h: * Modules/webaudio/DelayProcessor.cpp: (WebCore::DelayProcessor::DelayProcessor): * Modules/webaudio/DelayProcessor.h: * Modules/webaudio/DistanceModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DistanceModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DynamicsCompressorNode.cpp: (WebCore::DynamicsCompressorNode::DynamicsCompressorNode): * Modules/webaudio/DynamicsCompressorNode.h: * Modules/webaudio/GainNode.cpp: (WebCore::GainNode::GainNode): * Modules/webaudio/GainNode.h: * Modules/webaudio/MediaElementAudioSourceNode.cpp: (WebCore::MediaElementAudioSourceNode::create): (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode): (WebCore::MediaElementAudioSourceNode::setFormat): * Modules/webaudio/MediaElementAudioSourceNode.h: * Modules/webaudio/MediaStreamAudioDestinationNode.cpp: (WebCore::MediaStreamAudioDestinationNode::create): (WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode): * Modules/webaudio/MediaStreamAudioDestinationNode.h: * Modules/webaudio/MediaStreamAudioSourceNode.cpp: (WebCore::MediaStreamAudioSourceNode::create): (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode): * Modules/webaudio/MediaStreamAudioSourceNode.h: * Modules/webaudio/OfflineAudioContext.idl: * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode): * Modules/webaudio/OfflineAudioDestinationNode.h: * Modules/webaudio/OscillatorNode.cpp: (WebCore::OscillatorNode::create): (WebCore::OscillatorNode::OscillatorNode): * Modules/webaudio/OscillatorNode.h: * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNodeBase::PannerNodeBase): (WebCore::PannerNode::PannerNode): * Modules/webaudio/PannerNode.h: * Modules/webaudio/PannerNode.idl: * Modules/webaudio/PanningModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/PanningModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/ScriptProcessorNode.cpp: (WebCore::ScriptProcessorNode::create): (WebCore::ScriptProcessorNode::ScriptProcessorNode): * Modules/webaudio/ScriptProcessorNode.h: * Modules/webaudio/WaveShaperNode.cpp: (WebCore::WaveShaperNode::WaveShaperNode): * Modules/webaudio/WaveShaperNode.h: * Modules/webaudio/WebKitAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/AudioContext.cpp. (WebCore::WebKitAudioContext::isSampleRateRangeGood): (WebCore::WebKitAudioContext::create): (WebCore::WebKitAudioContext::WebKitAudioContext): (WebCore::WebKitAudioContext::constructCommon): (WebCore::WebKitAudioContext::~WebKitAudioContext): (WebCore::WebKitAudioContext::lazyInitialize): (WebCore::WebKitAudioContext::clear): (WebCore::WebKitAudioContext::uninitialize): (WebCore::WebKitAudioContext::isInitialized const): (WebCore::WebKitAudioContext::addReaction): (WebCore::WebKitAudioContext::setState): (WebCore::WebKitAudioContext::stop): (WebCore::WebKitAudioContext::suspend): (WebCore::WebKitAudioContext::resume): (WebCore::WebKitAudioContext::activeDOMObjectName const): (WebCore::WebKitAudioContext::hostingDocumentIdentifier const): (WebCore::WebKitAudioContext::isSuspended const): (WebCore::WebKitAudioContext::visibilityStateChanged): (WebCore::WebKitAudioContext::wouldTaintOrigin const): (WebCore::WebKitAudioContext::createBuffer): (WebCore::WebKitAudioContext::decodeAudioData): (WebCore::WebKitAudioContext::createBufferSource): (WebCore::WebKitAudioContext::createMediaElementSource): (WebCore::WebKitAudioContext::createMediaStreamSource): (WebCore::WebKitAudioContext::createMediaStreamDestination): (WebCore::WebKitAudioContext::createScriptProcessor): (WebCore::WebKitAudioContext::createBiquadFilter): (WebCore::WebKitAudioContext::createWaveShaper): (WebCore::WebKitAudioContext::createPanner): (WebCore::WebKitAudioContext::createConvolver): (WebCore::WebKitAudioContext::createDynamicsCompressor): (WebCore::WebKitAudioContext::createAnalyser): (WebCore::WebKitAudioContext::createGain): (WebCore::WebKitAudioContext::createDelay): (WebCore::WebKitAudioContext::createChannelSplitter): (WebCore::WebKitAudioContext::createChannelMerger): (WebCore::WebKitAudioContext::createOscillator): (WebCore::WebKitAudioContext::createPeriodicWave): (WebCore::WebKitAudioContext::notifyNodeFinishedProcessing): (WebCore::WebKitAudioContext::derefFinishedSourceNodes): (WebCore::WebKitAudioContext::refNode): (WebCore::WebKitAudioContext::derefNode): (WebCore::WebKitAudioContext::derefUnfinishedSourceNodes): (WebCore::WebKitAudioContext::lock): (WebCore::WebKitAudioContext::tryLock): (WebCore::WebKitAudioContext::unlock): (WebCore::WebKitAudioContext::isAudioThread const): (WebCore::WebKitAudioContext::isGraphOwner const): (WebCore::WebKitAudioContext::addDeferredFinishDeref): (WebCore::WebKitAudioContext::handlePreRenderTasks): (WebCore::WebKitAudioContext::handlePostRenderTasks): (WebCore::WebKitAudioContext::handleDeferredFinishDerefs): (WebCore::WebKitAudioContext::markForDeletion): (WebCore::WebKitAudioContext::scheduleNodeDeletion): (WebCore::WebKitAudioContext::deleteMarkedNodes): (WebCore::WebKitAudioContext::markSummingJunctionDirty): (WebCore::WebKitAudioContext::removeMarkedSummingJunction): (WebCore::WebKitAudioContext::markAudioNodeOutputDirty): (WebCore::WebKitAudioContext::handleDirtyAudioSummingJunctions): (WebCore::WebKitAudioContext::handleDirtyAudioNodeOutputs): (WebCore::WebKitAudioContext::addAutomaticPullNode): (WebCore::WebKitAudioContext::removeAutomaticPullNode): (WebCore::WebKitAudioContext::updateAutomaticPullNodes): (WebCore::WebKitAudioContext::processAutomaticPullNodes): (WebCore::WebKitAudioContext::nodeWillBeginPlayback): (WebCore::shouldDocumentAllowWebAudioToAutoPlay): (WebCore::WebKitAudioContext::willBeginPlayback): (WebCore::WebKitAudioContext::willPausePlayback): (WebCore::WebKitAudioContext::startRendering): (WebCore::WebKitAudioContext::mediaCanStart): (WebCore::WebKitAudioContext::mediaState const): (WebCore::WebKitAudioContext::pageMutedStateDidChange): (WebCore::WebKitAudioContext::isPlayingAudioDidChange): (WebCore::WebKitAudioContext::finishedRendering): (WebCore::WebKitAudioContext::dispatchEvent): (WebCore::WebKitAudioContext::incrementActiveSourceCount): (WebCore::WebKitAudioContext::decrementActiveSourceCount): (WebCore::WebKitAudioContext::suspendRendering): (WebCore::WebKitAudioContext::resumeRendering): (WebCore::WebKitAudioContext::close): (WebCore::WebKitAudioContext::suspendPlayback): (WebCore::WebKitAudioContext::mayResumePlayback): (WebCore::WebKitAudioContext::postTask): (WebCore::WebKitAudioContext::origin const): (WebCore::WebKitAudioContext::addConsoleMessage): (WebCore::WebKitAudioContext::clearPendingActivity): (WebCore::WebKitAudioContext::makePendingActivity): (WebCore::WebKitAudioContext::logChannel const): * Modules/webaudio/WebKitAudioContext.h: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. (WebCore::WebKitAudioContext::destination): (WebCore::WebKitAudioContext::activeSourceCount const): (WebCore::WebKitAudioContext::listener): (WebCore::WebKitAudioContext::isClosed const): (WebCore::WebKitAudioContext::connectionCount const): (WebCore::WebKitAudioContext::audioThread const): (WebCore::WebKitAudioContext::maxNumberOfChannels): (WebCore::WebKitAudioContext::userGestureRequiredForAudioStart const): (WebCore::WebKitAudioContext::pageConsentRequiredForAudioStart const): (WebCore::WebKitAudioContext::state const): (isType): * Modules/webaudio/WebKitAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/AudioContext.idl. * Modules/webaudio/WebKitAudioPannerNode.cpp: Copied from Source/WebCore/Modules/webaudio/PannerNode.cpp. (WebCore::fixNANs): (WebCore::WebKitAudioPannerNode::WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::~WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::pullInputs): (WebCore::WebKitAudioPannerNode::process): (WebCore::WebKitAudioPannerNode::reset): (WebCore::WebKitAudioPannerNode::initialize): (WebCore::WebKitAudioPannerNode::uninitialize): (WebCore::WebKitAudioPannerNode::listener): (WebCore::WebKitAudioPannerNode::setPanningModel): (WebCore::WebKitAudioPannerNode::distanceModel const): (WebCore::WebKitAudioPannerNode::setDistanceModel): (WebCore::WebKitAudioPannerNode::getAzimuthElevation): (WebCore::WebKitAudioPannerNode::dopplerRate): (WebCore::WebKitAudioPannerNode::distanceConeGain): (WebCore::WebKitAudioPannerNode::notifyAudioSourcesConnectedToNode): * Modules/webaudio/WebKitAudioPannerNode.h: Copied from Source/WebCore/Modules/webaudio/PannerNode.h. * Modules/webaudio/WebKitAudioPannerNode.idl: Copied from Source/WebCore/Modules/webaudio/PannerNode.idl. * Modules/webaudio/WebKitOfflineAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/DelayNode.cpp. (WebCore::WebKitOfflineAudioContext::WebKitOfflineAudioContext): (WebCore::WebKitOfflineAudioContext::create): * Modules/webaudio/WebKitOfflineAudioContext.h: Copied from Source/WebCore/Modules/webaudio/DelayNode.h. * Modules/webaudio/WebKitOfflineAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: * page/Settings.yaml: * testing/Internals.cpp: (WebCore::Internals::setAudioContextRestrictions): * testing/Internals.h: * testing/Internals.idl: Source/WebKit: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. * Shared/WebPreferences.yaml: Canonical link: https://commits.webkit.org/226120@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-18 04:14:13 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPanningModelType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPanningModelType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSParentNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSParentNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPath2D.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPath2D.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPayerErrorFields.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPayerErrorFields.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentAddress.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentAddress.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentComplete.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentComplete.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentCurrencyAmount.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentCurrencyAmount.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentDetailsBase.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentDetailsBase.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentDetailsInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentDetailsInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentDetailsModifier.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentDetailsModifier.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentDetailsUpdate.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentDetailsUpdate.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentItem.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentItem.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentMethodChangeEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentMethodChangeEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentMethodData.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentMethodData.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentRequest.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentRequest.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentRequestUpdateEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentRequestUpdateEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentRequestUpdateEventInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentRequestUpdateEventInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentResponse.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentResponse.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentShippingOption.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentShippingOption.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentShippingType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentShippingType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentValidationErrors.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPaymentValidationErrors.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPbkdf2Params.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPbkdf2Params.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+NavigationTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+NavigationTiming.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+PerformanceTimeline.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+PerformanceTimeline.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+ResourceTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+ResourceTiming.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+UserTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+UserTiming.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceEntry.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceEntry.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceMark.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceMark.h
Update User Timing interfaces to User Timing Level 3 https://bugs.webkit.org/show_bug.cgi?id=216787 Reviewed by Alex Christensen. LayoutTests/imported/w3c: Import missing case-sensitivity test case from upstream and update the results of User Timing tests now that we support Level 3. * web-platform-tests/user-timing/case-sensitivity.any-expected.txt: Added. * web-platform-tests/user-timing/case-sensitivity.any.html: Added. * web-platform-tests/user-timing/case-sensitivity.any.js: Added. * web-platform-tests/user-timing/case-sensitivity.any.worker-expected.txt: Added. * web-platform-tests/user-timing/case-sensitivity.any.worker.html: Added. * web-platform-tests/user-timing/idlharness.any-expected.txt: * web-platform-tests/user-timing/idlharness.any.worker-expected.txt: * web-platform-tests/user-timing/mark-entry-constructor.any-expected.txt: * web-platform-tests/user-timing/mark-entry-constructor.any.worker-expected.txt: * web-platform-tests/user-timing/mark-errors.any-expected.txt: * web-platform-tests/user-timing/mark-errors.any.worker-expected.txt: * web-platform-tests/user-timing/mark-l3.any-expected.txt: * web-platform-tests/user-timing/mark-l3.any.worker-expected.txt: * web-platform-tests/user-timing/mark-measure-return-objects.any-expected.txt: * web-platform-tests/user-timing/mark-measure-return-objects.any.worker-expected.txt: * web-platform-tests/user-timing/measure-l3.any-expected.txt: * web-platform-tests/user-timing/measure-l3.any.worker-expected.txt: * web-platform-tests/user-timing/measure-with-dict.any-expected.txt: * web-platform-tests/user-timing/measure-with-dict.any.worker-expected.txt: * web-platform-tests/user-timing/measure_exception-expected.txt: * web-platform-tests/user-timing/performance-measure-invalid.worker-expected.txt: * web-platform-tests/user-timing/structured-serialize-detail.any-expected.txt: * web-platform-tests/user-timing/structured-serialize-detail.any.worker-expected.txt: Source/WebCore: Adds support for User Timing Level 3 which adds more flexibility in how PerformanceMarks and PerformanceMeasures are created via synthetic start/end times and associate 'details' values serialized with events themselves. Updates results to existing WPT and standalone tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Add new files. * page/Performance.cpp: (WebCore::Performance::mark): (WebCore::Performance::clearMarks): (WebCore::Performance::measure): (WebCore::Performance::clearMeasures): * page/Performance.h: * page/Performance.idl: Update for new signatures for mark and measure, and rename of UserTiming to PerformanceUserTiming. * page/PerformanceMark.cpp: Added. (WebCore::peformanceNow): (WebCore::PerformanceMark::create): (WebCore::PerformanceMark::PerformanceMark): (WebCore::PerformanceMark::detail): * page/PerformanceMark.h: * page/PerformanceMark.idl: Add support for PerformanceMark's constructor `detail` getter. While the spec says to serialize and the deserialize in the constructor, we only serialize, and delay deserialization until the first access, which is a non-observable difference. We also utilize [CachedAttribute] to only ever deserialize once per wrapper world (and also greatly simplify the GC shenanigans). * page/PerformanceMarkOptions.h: Added. * page/PerformanceMarkOptions.idl: Added. Import and bind PerformanceMarkOptions dictionary to a new struct. * page/PerformanceMeasure.cpp: Added. (WebCore::PerformanceMeasure::create): (WebCore::PerformanceMeasure::PerformanceMeasure): (WebCore::PerformanceMeasure::detail): * page/PerformanceMeasure.h: * page/PerformanceMeasure.idl: Like with PerformanceMark, but there is no constructor here, so we only need to handle adding support for the detail getter. * page/PerformanceMeasureOptions.h: Added. * page/PerformanceMeasureOptions.idl: Added. Import and bind PerformanceMeasureOptions dictionary to a new struct. * page/PerformanceUserTiming.cpp: (WebCore::restrictedMarkNamesToNavigationTimingFunctionMap): (WebCore::restrictedMarkFunction): (WebCore::isRestrictedMarkNameNonMainThread): (WebCore::PerformanceUserTiming::isRestrictedMarkName): Split up existing map to enable accessing it safely from a worker using conservative callOnMainThreadAndWait approach, though since the map is immutable after initialization, we can probably optimize this to allow concurrent querying in the future. (WebCore::addPerformanceEntry): Add helper, mirroring clearPerformanceEntries, to add entries. (WebCore::PerformanceUserTiming::mark): Matching the spec language, utilize the new PerformanceMark constructor to create the mark. (WebCore::PerformanceUserTiming::convertMarkToTimestamp const): (WebCore::isNonEmptyDictionary): (WebCore::PerformanceUserTiming::measure): Implement measure support by dispatching various combinations of arguments to overloads manually by inspecting the Variant. * page/PerformanceUserTiming.h: Renames class from UserTiming to PerformanceUserTiming to match file names. LayoutTests: Update error text due to some changes in which exceptions are thrown due to new support for User Timing Level 3. * performance-api/performance-measure-name-expected.txt: * performance-api/performance-now-api-expected.txt: * performance-api/user-timing-apis-expected.txt: Canonical link: https://commits.webkit.org/229612@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267402 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-22 08:46:36 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceMarkOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceMarkOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceMeasure.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceMeasure.h
Update User Timing interfaces to User Timing Level 3 https://bugs.webkit.org/show_bug.cgi?id=216787 Reviewed by Alex Christensen. LayoutTests/imported/w3c: Import missing case-sensitivity test case from upstream and update the results of User Timing tests now that we support Level 3. * web-platform-tests/user-timing/case-sensitivity.any-expected.txt: Added. * web-platform-tests/user-timing/case-sensitivity.any.html: Added. * web-platform-tests/user-timing/case-sensitivity.any.js: Added. * web-platform-tests/user-timing/case-sensitivity.any.worker-expected.txt: Added. * web-platform-tests/user-timing/case-sensitivity.any.worker.html: Added. * web-platform-tests/user-timing/idlharness.any-expected.txt: * web-platform-tests/user-timing/idlharness.any.worker-expected.txt: * web-platform-tests/user-timing/mark-entry-constructor.any-expected.txt: * web-platform-tests/user-timing/mark-entry-constructor.any.worker-expected.txt: * web-platform-tests/user-timing/mark-errors.any-expected.txt: * web-platform-tests/user-timing/mark-errors.any.worker-expected.txt: * web-platform-tests/user-timing/mark-l3.any-expected.txt: * web-platform-tests/user-timing/mark-l3.any.worker-expected.txt: * web-platform-tests/user-timing/mark-measure-return-objects.any-expected.txt: * web-platform-tests/user-timing/mark-measure-return-objects.any.worker-expected.txt: * web-platform-tests/user-timing/measure-l3.any-expected.txt: * web-platform-tests/user-timing/measure-l3.any.worker-expected.txt: * web-platform-tests/user-timing/measure-with-dict.any-expected.txt: * web-platform-tests/user-timing/measure-with-dict.any.worker-expected.txt: * web-platform-tests/user-timing/measure_exception-expected.txt: * web-platform-tests/user-timing/performance-measure-invalid.worker-expected.txt: * web-platform-tests/user-timing/structured-serialize-detail.any-expected.txt: * web-platform-tests/user-timing/structured-serialize-detail.any.worker-expected.txt: Source/WebCore: Adds support for User Timing Level 3 which adds more flexibility in how PerformanceMarks and PerformanceMeasures are created via synthetic start/end times and associate 'details' values serialized with events themselves. Updates results to existing WPT and standalone tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Add new files. * page/Performance.cpp: (WebCore::Performance::mark): (WebCore::Performance::clearMarks): (WebCore::Performance::measure): (WebCore::Performance::clearMeasures): * page/Performance.h: * page/Performance.idl: Update for new signatures for mark and measure, and rename of UserTiming to PerformanceUserTiming. * page/PerformanceMark.cpp: Added. (WebCore::peformanceNow): (WebCore::PerformanceMark::create): (WebCore::PerformanceMark::PerformanceMark): (WebCore::PerformanceMark::detail): * page/PerformanceMark.h: * page/PerformanceMark.idl: Add support for PerformanceMark's constructor `detail` getter. While the spec says to serialize and the deserialize in the constructor, we only serialize, and delay deserialization until the first access, which is a non-observable difference. We also utilize [CachedAttribute] to only ever deserialize once per wrapper world (and also greatly simplify the GC shenanigans). * page/PerformanceMarkOptions.h: Added. * page/PerformanceMarkOptions.idl: Added. Import and bind PerformanceMarkOptions dictionary to a new struct. * page/PerformanceMeasure.cpp: Added. (WebCore::PerformanceMeasure::create): (WebCore::PerformanceMeasure::PerformanceMeasure): (WebCore::PerformanceMeasure::detail): * page/PerformanceMeasure.h: * page/PerformanceMeasure.idl: Like with PerformanceMark, but there is no constructor here, so we only need to handle adding support for the detail getter. * page/PerformanceMeasureOptions.h: Added. * page/PerformanceMeasureOptions.idl: Added. Import and bind PerformanceMeasureOptions dictionary to a new struct. * page/PerformanceUserTiming.cpp: (WebCore::restrictedMarkNamesToNavigationTimingFunctionMap): (WebCore::restrictedMarkFunction): (WebCore::isRestrictedMarkNameNonMainThread): (WebCore::PerformanceUserTiming::isRestrictedMarkName): Split up existing map to enable accessing it safely from a worker using conservative callOnMainThreadAndWait approach, though since the map is immutable after initialization, we can probably optimize this to allow concurrent querying in the future. (WebCore::addPerformanceEntry): Add helper, mirroring clearPerformanceEntries, to add entries. (WebCore::PerformanceUserTiming::mark): Matching the spec language, utilize the new PerformanceMark constructor to create the mark. (WebCore::PerformanceUserTiming::convertMarkToTimestamp const): (WebCore::isNonEmptyDictionary): (WebCore::PerformanceUserTiming::measure): Implement measure support by dispatching various combinations of arguments to overloads manually by inspecting the Variant. * page/PerformanceUserTiming.h: Renames class from UserTiming to PerformanceUserTiming to match file names. LayoutTests: Update error text due to some changes in which exceptions are thrown due to new support for User Timing Level 3. * performance-api/performance-measure-name-expected.txt: * performance-api/performance-now-api-expected.txt: * performance-api/user-timing-apis-expected.txt: Canonical link: https://commits.webkit.org/229612@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267402 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-22 08:46:36 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceMeasureOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceMeasureOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceNavigation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceNavigation.h
Add support for Navigation Timing Level 2 https://bugs.webkit.org/show_bug.cgi?id=184363 Reviewed by Ryosuke Niwa. LayoutTests/imported/w3c: * web-platform-tests/navigation-timing/META.yml: Added. * web-platform-tests/navigation-timing/dom_interactive_image_document-expected.txt: Added. * web-platform-tests/navigation-timing/dom_interactive_image_document.html: Added. * web-platform-tests/navigation-timing/dom_interactive_media_document-expected.txt: Added. * web-platform-tests/navigation-timing/dom_interactive_media_document.html: Added. * web-platform-tests/navigation-timing/idlharness.window.js: * web-platform-tests/navigation-timing/nav2_test_attributes_exist-expected.txt: Added. * web-platform-tests/navigation-timing/nav2_test_attributes_exist.html: Added. This test fails because we have not implemented transferSize, encodedBodySize, and decodedBodySize as noted in PerformanceResourceTiming.idl * web-platform-tests/navigation-timing/nav2_test_attributes_values-expected.txt: Added. * web-platform-tests/navigation-timing/nav2_test_attributes_values.html: Added. This test fails because we have not implemented transferSize, encodedBodySize, and decodedBodySize as noted in PerformanceResourceTiming.idl * web-platform-tests/navigation-timing/nav2_test_document_open-expected.txt: * web-platform-tests/navigation-timing/nav2_test_document_open.html: * web-platform-tests/navigation-timing/nav2_test_document_replaced-expected.txt: * web-platform-tests/navigation-timing/nav2_test_document_replaced.html: * web-platform-tests/navigation-timing/nav2_test_frame_removed-expected.txt: * web-platform-tests/navigation-timing/nav2_test_instance_accessible_from_the_start-expected.txt: * web-platform-tests/navigation-timing/nav2_test_instance_accessible_from_the_start.html: * web-platform-tests/navigation-timing/nav2_test_instance_accessors-expected.txt: Added. * web-platform-tests/navigation-timing/nav2_test_instance_accessors.html: Added. * web-platform-tests/navigation-timing/nav2_test_navigate_iframe-expected.txt: Added. * web-platform-tests/navigation-timing/nav2_test_navigate_iframe.html: Added. * web-platform-tests/navigation-timing/nav2_test_navigate_within_document-expected.txt: * web-platform-tests/navigation-timing/nav2_test_navigate_within_document.html: * web-platform-tests/navigation-timing/nav2_test_navigation_type_backforward-expected.txt: * web-platform-tests/navigation-timing/nav2_test_navigation_type_backforward.html: * web-platform-tests/navigation-timing/nav2_test_navigation_type_navigate-expected.txt: Added. * web-platform-tests/navigation-timing/nav2_test_navigation_type_navigate.html: Added. * web-platform-tests/navigation-timing/nav2_test_navigation_type_reload-expected.txt: * web-platform-tests/navigation-timing/nav2_test_navigation_type_reload.html: * web-platform-tests/navigation-timing/nav2_test_redirect_chain_xserver_final_original_origin-expected.txt: Added. This test fails because our test infrastructure doesn't support loading from www.localhost. * web-platform-tests/navigation-timing/nav2_test_redirect_chain_xserver_final_original_origin.html: Copied from LayoutTests/imported/w3c/web-platform-tests/navigation-timing/nav2_test_redirect_chain_xserver_partial_opt_in.html. * web-platform-tests/navigation-timing/nav2_test_redirect_chain_xserver_partial_opt_in-expected.txt: This test fails because our test infrastructure doesn't support loading from www.localhost. * web-platform-tests/navigation-timing/nav2_test_redirect_chain_xserver_partial_opt_in.html: * web-platform-tests/navigation-timing/nav2_test_redirect_none-expected.txt: Added. * web-platform-tests/navigation-timing/nav2_test_redirect_none.html: Added. * web-platform-tests/navigation-timing/nav2_test_redirect_server-expected.txt: This test failure needs further investigation. * web-platform-tests/navigation-timing/nav2_test_redirect_server.html: * web-platform-tests/navigation-timing/nav2_test_redirect_xserver-expected.txt: This test fails because our test infrastructure doesn't support loading from www.localhost. * web-platform-tests/navigation-timing/nav2_test_redirect_xserver.html: * web-platform-tests/navigation-timing/nav2_test_unique_nav_instances-expected.txt: Added. This test failure needs further investigation. * web-platform-tests/navigation-timing/nav2_test_unique_nav_instances.html: Added. * web-platform-tests/navigation-timing/po-navigation-expected.txt: Added. * web-platform-tests/navigation-timing/po-navigation.html: Added. * web-platform-tests/navigation-timing/resources/webperftestharness.js: (test_namespace): (test_attribute_exists): (test_enum): * web-platform-tests/navigation-timing/secure-connection-start-reuse.https-expected.txt: Added. * web-platform-tests/navigation-timing/secure-connection-start-reuse.https.html: Added. * web-platform-tests/navigation-timing/secure_connection_start_non_zero.https-expected.txt: This test has been marked as flaky. It needs to be fixed to not rely on no initial connection reuse. * web-platform-tests/navigation-timing/supported_navigation_type.any-expected.txt: * web-platform-tests/navigation-timing/supported_navigation_type.any.worker-expected.txt: * web-platform-tests/navigation-timing/test_document_onload-expected.txt: Added. * web-platform-tests/navigation-timing/test_document_onload.html: Added. This test failure needs further investigation. * web-platform-tests/navigation-timing/unload-event-same-origin-check-expected.txt: * web-platform-tests/navigation-timing/unload-event-same-origin-check.html: * web-platform-tests/performance-timeline/META.yml: Added. * web-platform-tests/performance-timeline/buffered-flag-after-timeout.any.js: Added. (async_test.t.t.step_timeout): * web-platform-tests/performance-timeline/buffered-flag-observer.any.js: Added. * web-platform-tests/performance-timeline/get-invalid-entries-expected.txt: Added. * web-platform-tests/performance-timeline/get-invalid-entries.html: Added. * web-platform-tests/performance-timeline/idlharness.any.js: Added. (async idl_array): * web-platform-tests/performance-timeline/multiple-buffered-flag-observers.any.js: Added. (promise_test): * web-platform-tests/performance-timeline/not-clonable-expected.txt: Added. * web-platform-tests/performance-timeline/not-clonable.html: Added. * web-platform-tests/performance-timeline/observer-buffered-false.any.js: Added. (async_test.t.t.step_timeout): * web-platform-tests/performance-timeline/performanceentry-tojson.any.js: Added. (test): * web-platform-tests/performance-timeline/po-callback-mutate.any.js: Added. (async_test): * web-platform-tests/performance-timeline/po-disconnect-removes-observed-types.any.js: Added. (async_test): * web-platform-tests/performance-timeline/po-disconnect.any.js: Added. (async_test): (test): * web-platform-tests/performance-timeline/po-entries-sort.any.js: Added. (async_test): * web-platform-tests/performance-timeline/po-getentries.any.js: Added. (async_test): * web-platform-tests/performance-timeline/po-mark-measure.any.js: Added. (async_test): * web-platform-tests/performance-timeline/po-observe-expected.txt: Added. * web-platform-tests/performance-timeline/po-observe-repeated-type.any.js: Added. (async_test): * web-platform-tests/performance-timeline/po-observe.html: Added. * web-platform-tests/performance-timeline/po-resource-expected.txt: Added. * web-platform-tests/performance-timeline/po-resource.html: Added. * web-platform-tests/performance-timeline/po-takeRecords.any.js: Added. (async_test): * web-platform-tests/performance-timeline/resources/postmessage-entry.html: Added. * web-platform-tests/performance-timeline/resources/worker-invalid-entries.js: Added. * web-platform-tests/performance-timeline/resources/worker-with-performance-observer.js: Added. (catch): * web-platform-tests/performance-timeline/supportedEntryTypes.any-expected.txt: This test failure needs further investigation. It's a bindings generation problem I've unsuccessfully looked into before. * web-platform-tests/performance-timeline/supportedEntryTypes.any.js: (test): * web-platform-tests/performance-timeline/supportedEntryTypes.any.worker-expected.txt: * web-platform-tests/performance-timeline/webtiming-resolution.any.js: Added. (testTimeResolution): (timeByUserTiming): * web-platform-tests/performance-timeline/worker-with-performance-observer-expected.txt: Added. * web-platform-tests/performance-timeline/worker-with-performance-observer.html: Added. * web-platform-tests/service-workers/service-worker/navigation-timing.https-expected.txt: This existing test failure needs more investigation. We are probably close to a fix after this patch. Source/WebCore: This is basically just a new shape for exposing the same data as window.performance.navigation, but with a shape that fits better into the rest of the performance timeline measurements that have been added to the web platform since performance.navigation. I noted that exposing transfer size is problematic, and some of the tests for reading transfer size still fail. There are still a few relatively minor test failures to fix in future patches. Each one is annotated in the LayoutTests ChangeLogs. Tests: imported/w3c/web-platform-tests/navigation-timing/dom_interactive_image_document.html imported/w3c/web-platform-tests/navigation-timing/dom_interactive_media_document.html imported/w3c/web-platform-tests/navigation-timing/nav2_test_attributes_exist.html imported/w3c/web-platform-tests/navigation-timing/nav2_test_attributes_values.html imported/w3c/web-platform-tests/navigation-timing/nav2_test_instance_accessors.html imported/w3c/web-platform-tests/navigation-timing/nav2_test_navigate_iframe.html imported/w3c/web-platform-tests/navigation-timing/nav2_test_navigation_type_navigate.html imported/w3c/web-platform-tests/navigation-timing/nav2_test_redirect_chain_xserver_final_original_origin.html imported/w3c/web-platform-tests/navigation-timing/nav2_test_redirect_none.html imported/w3c/web-platform-tests/navigation-timing/nav2_test_unique_nav_instances.html imported/w3c/web-platform-tests/navigation-timing/po-navigation.html imported/w3c/web-platform-tests/navigation-timing/secure-connection-start-reuse.https.html imported/w3c/web-platform-tests/navigation-timing/test_document_onload.html imported/w3c/web-platform-tests/performance-timeline/get-invalid-entries.html imported/w3c/web-platform-tests/performance-timeline/not-clonable.html imported/w3c/web-platform-tests/performance-timeline/po-observe.html imported/w3c/web-platform-tests/performance-timeline/po-resource.html imported/w3c/web-platform-tests/performance-timeline/worker-with-performance-observer.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSPerformanceEntryCustom.cpp: (WebCore::toJSNewlyCreated): * dom/Document.cpp: (WebCore::Document::setReadyState): Sometimes the ready state jumps right to Complete without hitting Interactive along the way. When this happens, we want to mark both m_documentTiming.domComplete and m_documentTiming.domInteractive. * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::notifyFinished): Call addNavigationTiming in notifyFinished to create the navigation timing object when we are done navigating * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::didFinishLoading): * loader/ResourceLoader.h: * loader/ResourceTiming.cpp: (WebCore::ResourceTiming::fromLoad): Add a URL parameter. Sometimes we need to use the request's URL and sometimes the response's. Different specs written at different times. (WebCore::ResourceTiming::populateServerTiming const): (WebCore::ResourceTiming::populateServerTiming): Deleted. * loader/ResourceTiming.h: (WebCore::ResourceTiming::url const): (WebCore::ResourceTiming::initiator const): (WebCore::ResourceTiming::loadTiming const): (WebCore::ResourceTiming::networkLoadMetrics const): * loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::reportResourceTiming): * page/Performance.cpp: (WebCore::Performance::getEntries const): (WebCore::Performance::getEntriesByType const): (WebCore::Performance::getEntriesByName const): (WebCore::Performance::appendBufferedEntriesByType const): (WebCore::Performance::addNavigationTiming): (WebCore::Performance::registerPerformanceObserver): (WebCore::Performance::queueEntry): (WebCore::Performance::scheduleTaskIfNeeded): * page/Performance.h: * page/PerformanceEntry.h: (WebCore::PerformanceEntry::startTime const): (WebCore::PerformanceEntry::duration const): (WebCore::PerformanceEntry::isResource const): Deleted. (WebCore::PerformanceEntry::isMark const): Deleted. (WebCore::PerformanceEntry::isMeasure const): Deleted. (WebCore::PerformanceEntry::isPaint const): Deleted. * page/PerformanceMark.h: (isType): Deleted. SPECIALIZE_TYPE_TRAITS_BEGIN/END doesn't work well with PerformanceNavigationTiming which inherits from PerformanceResourceTiming which both have distinct types. is<PerformanceResourceTiming> doesn't give us the info we need. I replaced that with "switch (entry->performanceEntryType())" in the one place it's used, and it works like a charm. Also renamed type to performanceEntryType so it doesn't conflict with PerformanceNavigationTiming::type, which is specified in the idl. * page/PerformanceMeasure.h: (isType): Deleted. * page/PerformanceNavigationTiming.cpp: Added. (WebCore::toPerformanceNavigationTimingNavigationType): (WebCore::PerformanceNavigationTiming::PerformanceNavigationTiming): (WebCore::PerformanceNavigationTiming::millisecondsSinceOrigin const): (WebCore::PerformanceNavigationTiming::sameOriginCheckFails const): (WebCore::PerformanceNavigationTiming::unloadEventStart const): (WebCore::PerformanceNavigationTiming::unloadEventEnd const): (WebCore::PerformanceNavigationTiming::domInteractive const): (WebCore::PerformanceNavigationTiming::domContentLoadedEventStart const): (WebCore::PerformanceNavigationTiming::domContentLoadedEventEnd const): (WebCore::PerformanceNavigationTiming::domComplete const): (WebCore::PerformanceNavigationTiming::loadEventStart const): (WebCore::PerformanceNavigationTiming::loadEventEnd const): (WebCore::PerformanceNavigationTiming::type const): (WebCore::PerformanceNavigationTiming::redirectCount const): (WebCore::PerformanceNavigationTiming::startTime const): (WebCore::PerformanceNavigationTiming::duration const): * page/PerformanceNavigationTiming.h: Added. * page/PerformanceNavigationTiming.idl: Copied from Source/WebCore/page/PerformanceObserver.idl. * page/PerformanceObserver.cpp: (WebCore::PerformanceObserver::takeRecords): (WebCore::PerformanceObserver::disconnect): (WebCore::PerformanceObserver::deliver): (WebCore::PerformanceObserver::supportedEntryTypes): * page/PerformanceObserver.h: * page/PerformanceObserver.idl: * page/PerformanceObserverEntryList.cpp: (WebCore::PerformanceObserverEntryList::getEntriesByName const): * page/PerformancePaintTiming.h: (isType): Deleted. * page/PerformanceResourceTiming.cpp: (WebCore::PerformanceResourceTiming::PerformanceResourceTiming): (WebCore::PerformanceResourceTiming::nextHopProtocol const): (WebCore::PerformanceResourceTiming::redirectStart const): (WebCore::PerformanceResourceTiming::redirectEnd const): (WebCore::PerformanceResourceTiming::fetchStart const): (WebCore::PerformanceResourceTiming::domainLookupStart const): (WebCore::PerformanceResourceTiming::domainLookupEnd const): (WebCore::PerformanceResourceTiming::connectStart const): (WebCore::PerformanceResourceTiming::connectEnd const): (WebCore::PerformanceResourceTiming::secureConnectionStart const): (WebCore::PerformanceResourceTiming::requestStart const): (WebCore::PerformanceResourceTiming::responseStart const): (WebCore::PerformanceResourceTiming::responseEnd const): (WebCore::PerformanceResourceTiming::networkLoadTimeToDOMHighResTimeStamp const): * page/PerformanceResourceTiming.h: (WebCore::PerformanceResourceTiming::initiatorType const): (isType): Deleted. * page/PerformanceResourceTiming.idl: * platform/network/BlobResourceHandle.cpp: (WebCore::doNotifyFinish): * platform/network/NetworkLoadMetrics.h: * platform/network/ResourceHandleClient.h: (WebCore::ResourceHandleClient::didFinishLoading): * platform/network/SynchronousLoaderClient.cpp: (WebCore::SynchronousLoaderClient::didFinishLoading): * platform/network/SynchronousLoaderClient.h: * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp: (WebCore::ResourceHandleCFURLConnectionDelegateWithOperationQueue::didFinishLoading): Pass metrics including the response end time from NSURLConnection so we don't assert in WebKitLegacy. * platform/network/cocoa/NetworkLoadMetrics.mm: (WebCore::copyTimingData): Use currentRequest instead of passing in the response so we can call it from didFinishLoading, where we don't have a response stored anywhere. We're just looking for whether it's http or https, so the currentRequest (which is the request after all the redirects) fits our purpose. * platform/network/curl/ResourceHandleCurl.cpp: (WebCore::ResourceHandle::handleDataURL): * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.mm: (-[WebCoreResourceHandleAsOperationQueueDelegate connection:didReceiveResponse:]): (-[WebCoreResourceHandleAsOperationQueueDelegate connectionDidFinishLoading:]): Source/WebKit: * NetworkProcess/cocoa/NetworkSessionCocoa.mm: (-[WKNetworkSessionDelegate URLSession:task:didFinishCollectingMetrics:]): Mark reused TLS connections in complete metrics like I did in incomplete metrics in r277493. Source/WebKitLegacy: * WebCoreSupport/PingHandle.h: Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: LayoutTests: * TestExpectations: Annoyingly secure_connection_start_non_zero.https.html becomes flaky with a correct implementation because it assumes that no connection is reused. However, when running this test after other tests, another connection is often reused. * performance-api/paint-timing/performance-observer-first-contentful-paint-expected.txt: * performance-api/paint-timing/performance-observer-first-contentful-paint.html: * performance-api/performance-observer-api-expected.txt: * performance-api/performance-timeline-api-expected.txt: * performance-api/resources/timeline-api.js: * platform/mac-wk1/imported/w3c/web-platform-tests/navigation-timing/nav2_test_attributes_values-expected.txt: Next hop protocol isn't implemented in ResourceHandle. That's probably no big deal because WebKitLegacy is deprecated and not used by Safari. Canonical link: https://commits.webkit.org/237930@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-20 00:33:02 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceNavigationTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceNavigationTiming.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceObserver.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceObserver.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceObserverCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceObserverCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceObserverEntryList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceObserverEntryList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformancePaintTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformancePaintTiming.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceResourceTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceResourceTiming.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceServerTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceServerTiming.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceTiming.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformanceTiming.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPeriodicWave.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPeriodicWave.h
Added PeriodicWave constructor according to spec https://bugs.webkit.org/show_bug.cgi?id=214615 Patch by Clark Wang <clark_wang@apple.com> on 2020-07-23 Reviewed by Chris Dumez. LayoutTests/imported/w3c: Re-baselined existing tests that now pass, or fail further along. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-oscillatornode-interface/osc-basic-waveform-expected.txt: Source/WebCore: Re-baselined existing tests that now pass. Added PeriodicWave constructor according to spec: https://www.w3.org/TR/webaudio/#periodicwave. Added PeriodicWaveConstraints, PeriodicWaveOptions files. Updated PeriodicWave::createBandLimitedTables to normalize waveform based on spec: https://www.w3.org/TR/webaudio/#waveform-normalization. Added updated createPeriodicWave method in BaseAudioContext, and moved old createPeriodicWave method Into WebKitAudioContext. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createPeriodicWave): * Modules/webaudio/BaseAudioContext.h: (WebCore::BaseAudioContext::createPeriodicWave): * Modules/webaudio/BaseAudioContext.idl: * Modules/webaudio/PeriodicWave.cpp: (WebCore::PeriodicWave::create): (WebCore::PeriodicWave::createBandLimitedTables): * Modules/webaudio/PeriodicWave.h: * Modules/webaudio/PeriodicWave.idl: * Modules/webaudio/PeriodicWaveConstraints.h: Added. * Modules/webaudio/PeriodicWaveConstraints.idl: Added. * Modules/webaudio/PeriodicWaveOptions.h: Added. * Modules/webaudio/PeriodicWaveOptions.idl: Added. * Modules/webaudio/WebKitAudioContext.cpp: (WebCore::WebKitAudioContext::createPeriodicWave): * Modules/webaudio/WebKitAudioContext.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227514@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@264782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-23 19:22:39 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPeriodicWaveConstraints.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPeriodicWaveConstraints.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPeriodicWaveOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPeriodicWaveOptions.h
[Picture-in-Picture Web API] Implement HTMLVideoElement.requestPictureInPicture() / Document.exitPictureInPicture() https://bugs.webkit.org/show_bug.cgi?id=201024 Patch by Peng Liu <peng.liu6@apple.com> on 2019-10-15 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Import wpt/picture-in-picture. * resources/import-expectations.json: * web-platform-tests/picture-in-picture/META.yml: Added. * web-platform-tests/picture-in-picture/css-selector.html: Added. * web-platform-tests/picture-in-picture/disable-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/enter-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/exit-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/idlharness.window.html: Added. * web-platform-tests/picture-in-picture/idlharness.window.js: Added. * web-platform-tests/picture-in-picture/leave-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/mediastream.html: Added. * web-platform-tests/picture-in-picture/picture-in-picture-element.html: Added. * web-platform-tests/picture-in-picture/picture-in-picture-window.html: Added. * web-platform-tests/picture-in-picture/request-picture-in-picture-twice.html: Added. * web-platform-tests/picture-in-picture/request-picture-in-picture.html: Added. * web-platform-tests/picture-in-picture/resources/picture-in-picture-helpers.js: Added. (loadVideo): (async.requestPictureInPictureWithTrustedClick): * web-platform-tests/picture-in-picture/resources/w3c-import.log: Added. * web-platform-tests/picture-in-picture/shadow-dom.html: Added. * web-platform-tests/picture-in-picture/w3c-import.log: Added. Source/JavaScriptCore: Add configurations for Picture-in-Picture API. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Implement the support to enter and exit PiP mode with the Picture-in-Picture API. Majority work of this patch was done by Carlos Eduardo Ramalho <cadubentzen@gmail.com>. Also, fix a build error of Modules/webaudio/OfflineAudioContext.cpp because of this patch (due to unified build). Tests: imported/w3c/web-platform-tests/picture-in-picture/css-selector.html imported/w3c/web-platform-tests/picture-in-picture/disable-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/enter-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/exit-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/idlharness.window.html imported/w3c/web-platform-tests/picture-in-picture/leave-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/mediastream.html imported/w3c/web-platform-tests/picture-in-picture/picture-in-picture-element.html imported/w3c/web-platform-tests/picture-in-picture/picture-in-picture-window.html imported/w3c/web-platform-tests/picture-in-picture/request-picture-in-picture-twice.html imported/w3c/web-platform-tests/picture-in-picture/request-picture-in-picture.html imported/w3c/web-platform-tests/picture-in-picture/shadow-dom.html * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/pictureinpicture/DocumentPictureInPicture.cpp: Added. (WebCore::DocumentPictureInPicture::exitPictureInPicture): (WebCore::DocumentPictureInPicture::from): * Modules/pictureinpicture/DocumentPictureInPicture.h: Added. (WebCore::DocumentPictureInPicture::pictureInPictureEnabled): (WebCore::DocumentPictureInPicture::supplementName): * Modules/pictureinpicture/DocumentPictureInPicture.idl: Added. * Modules/pictureinpicture/EnterPictureInPictureEvent.cpp: Added. (WebCore::EnterPictureInPictureEvent::create): (WebCore::EnterPictureInPictureEvent::EnterPictureInPictureEvent): * Modules/pictureinpicture/EnterPictureInPictureEvent.h: Added. * Modules/pictureinpicture/EnterPictureInPictureEvent.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.cpp: Added. (WebCore::HTMLVideoElementPictureInPicture::HTMLVideoElementPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::~HTMLVideoElementPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::from): (WebCore::HTMLVideoElementPictureInPicture::requestPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::autoPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::setAutoPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::disablePictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::setDisablePictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::exitPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::didEnterPictureInPicture): (WebCore::HTMLVideoElementPictureInPicture::didExitPictureInPicture): * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.h: Added. (WebCore::HTMLVideoElementPictureInPicture::supplementName): * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Added. * Modules/pictureinpicture/PictureInPictureWindow.cpp: Added. (WebCore::PictureInPictureWindow::create): (WebCore::PictureInPictureWindow::PictureInPictureWindow): (WebCore::PictureInPictureWindow::activeDOMObjectName const): (WebCore::PictureInPictureWindow::canSuspendForDocumentSuspension const): (WebCore::PictureInPictureWindow::eventTargetInterface const): (WebCore::PictureInPictureWindow::scriptExecutionContext const): * Modules/pictureinpicture/PictureInPictureWindow.h: Added. * Modules/pictureinpicture/PictureInPictureWindow.idl: Added. * Modules/webaudio/OfflineAudioContext.cpp: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/Document.cpp: (WebCore::Document::pictureInPictureElement const): (WebCore::Document::setPictureInPictureElement): * dom/Document.h: * dom/DocumentOrShadowRoot.idl: * dom/EventNames.h: * dom/EventNames.in: * dom/EventTargetFactory.in: * dom/ShadowRoot.cpp: (WebCore::ShadowRoot::pictureInPictureElement const): * dom/ShadowRoot.h: * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::fullscreenModeChanged): (WebCore::HTMLVideoElement::setPictureInPictureObserver): * html/HTMLVideoElement.h: * page/Settings.yaml: * platform/PictureInPictureObserver.h: Added. (WebCore::PictureInPictureObserver::~PictureInPictureObserver): * testing/InternalSettings.h: Source/WebCore/PAL: Add configurations for the Picture-in-Picture API. * Configurations/FeatureDefines.xcconfig: Source/WebKit: Add configurations for Picture-in-Picture API and add a preference option for it. * Configurations/FeatureDefines.xcconfig: * Shared/WebPreferences.yaml: Source/WebKitLegacy/mac: Add configurations for Picture-in-Picture API and also a preference option for it. * Configurations/FeatureDefines.xcconfig: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences pictureInPictureAPIEnabled]): (-[WebPreferences setPictureInPictureAPIEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Tools: Add configurations for Picture-in-Picture API and enable it in the test runner. * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setPictureInPictureAPIEnabled): * WebKitTestRunner/InjectedBundle/TestRunner.h: LayoutTests: Skip imported/w3c/web-platform-tests/picture-in-picture because of http://webkit.org/b/202617. * TestExpectations: * tests-options.json: Canonical link: https://commits.webkit.org/216437@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-15 22:06:23 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPictureInPictureWindow.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPictureInPictureWindow.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPlaybackDirection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPlaybackDirection.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPointerEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPointerEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPopStateEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPopStateEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPositionCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPositionCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPositionError.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPositionError.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPositionErrorCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPositionErrorCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPositionOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPositionOptions.h
Implement PostMessageOptions for postMessage https://bugs.webkit.org/show_bug.cgi?id=191028 Reviewed by Alex Christensen. LayoutTests/imported/w3c: Rebaseline WPT tests now that we have more passes. * web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects-expected.txt: * web-platform-tests/html/browsers/windows/document-access/document_access_parent_access.tentative-expected.txt: * web-platform-tests/service-workers/service-worker/clients-matchall-frozen.https-expected.txt: * web-platform-tests/service-workers/service-worker/postmessage.https-expected.txt: * web-platform-tests/webmessaging/message-channels/dictionary-transferrable-expected.txt: * web-platform-tests/webmessaging/message-channels/user-activation.tentative-expected.txt: * web-platform-tests/webmessaging/postMessage_MessagePorts_xsite.sub.window-expected.txt: * web-platform-tests/webmessaging/with-options/host-specific-origin-expected.txt: * web-platform-tests/webmessaging/with-options/message-channel-transferable-expected.txt: * web-platform-tests/webmessaging/with-options/no-target-origin-expected.txt: * web-platform-tests/webmessaging/with-options/null-transfer-expected.txt: * web-platform-tests/webmessaging/with-options/one-arg-expected.txt: * web-platform-tests/webmessaging/with-options/slash-origin-expected.txt: * web-platform-tests/webmessaging/with-options/undefined-transferable-expected.txt: * web-platform-tests/webmessaging/with-options/unknown-parameter-expected.txt: * web-platform-tests/webmessaging/without-ports/008-expected.txt: * web-platform-tests/webmessaging/worker_postMessage_user_activation.tentative-expected.txt: * web-platform-tests/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-dictionary-expected.txt: * web-platform-tests/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-null-expected.txt: Source/WebCore: Implement PostMessageOptions dictionary parameter for postMessage: - https://github.com/whatwg/html/issues/3799 - https://github.com/w3c/ServiceWorker/pull/1344 Blink and Gecko already support this. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/MessagePort.cpp: (WebCore::MessagePort::postMessage): * dom/MessagePort.h: * dom/MessagePort.idl: * page/DOMWindow.cpp: (WebCore::DOMWindow::postMessage): * page/DOMWindow.h: (WebCore::WindowPostMessageOptions::WindowPostMessageOptions): * page/DOMWindow.idl: * page/PostMessageOptions.h: Copied from Source/WebCore/workers/service/ServiceWorkerClient.idl. (WebCore::PostMessageOptions::PostMessageOptions): * page/PostMessageOptions.idl: Copied from Source/WebCore/workers/service/ServiceWorkerClient.idl. * workers/DedicatedWorkerGlobalScope.cpp: (WebCore::DedicatedWorkerGlobalScope::postMessage): * workers/DedicatedWorkerGlobalScope.h: * workers/DedicatedWorkerGlobalScope.idl: * workers/Worker.cpp: (WebCore::Worker::postMessage): * workers/Worker.h: * workers/Worker.idl: * workers/service/ServiceWorker.cpp: (WebCore::ServiceWorker::postMessage): * workers/service/ServiceWorker.h: * workers/service/ServiceWorker.idl: * workers/service/ServiceWorkerClient.cpp: (WebCore::ServiceWorkerClient::postMessage): * workers/service/ServiceWorkerClient.h: * workers/service/ServiceWorkerClient.idl: LayoutTests: Update a few existing tests due to the behavior change. * TestExpectations: * fast/dom/Window/post-message-crash.html: * fast/events/message-port-multi-expected.txt: * fast/events/resources/message-port-multi.js: * fast/workers/resources/worker-context-thread-multi-port.js: * fast/workers/resources/worker-multi-port.js: * fast/workers/worker-multi-port-expected.txt: * http/tests/security/postMessage/target-origin-expected.txt: * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: Canonical link: https://commits.webkit.org/218419@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-12-13 21:36:25 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPostMessageOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPostMessageOptions.h
Add preliminary support for specifying a color space for 2D canvas https://bugs.webkit.org/show_bug.cgi?id=225286 Reviewed by Dean Jackson. Source/WebCore: Tests: fast/canvas/CanvasRenderingContext2DSettings-colorSpace-disabled.html fast/canvas/CanvasRenderingContext2DSettings-colorSpace-enabled.html fast/canvas/canvas-color-space-display-p3.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Add new files. * html/canvas/CanvasRenderingContext2DSettings.idl: * html/canvas/CanvasRenderingContext2DSettings.h: Add a new setting blocked member to the CanvasRenderingContext2DSettings dictionary for specifying a color space. * html/canvas/PredefinedColorSpace.cpp: Added. * html/canvas/PredefinedColorSpace.h: Added. * html/canvas/PredefinedColorSpace.idl: Added. Add a new IDL enumeration to represent the possible color spaces supported. For ports that don't support DisplayP3, trying to use it will result in type error from JS. * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::reset): Add checks for color space and pixel format to 2d context reset optimation. This can happen if the image buffer is allocated prior to the context being requested (such as via canvas.toDataURL() or canvas.toBlob()). (WebCore::HTMLCanvasElement::createImageBuffer const): Pass the correct color space and pixel format (though the later is always BGRA8 at the moment) to the ImageBuffer create function to make a backing store in the right format. * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::createBufferForPainting const): * html/HTMLVideoElement.h: Pass color space and pixel format through to ensure the helper buffer matches the correct color space. * html/ImageBitmap.cpp: (WebCore::ImageBitmap::createPromise): Pass the existing defaults to HTMLVideoElement::createBufferForPainting. In the future, ImageBitmap will also gain color space and pixel format specificity and this will be updated. * html/canvas/CanvasRenderingContext.cpp: (WebCore::CanvasRenderingContext::pixelFormat const): (WebCore::CanvasRenderingContext::colorSpace const): * html/canvas/CanvasRenderingContext.h: Add virtual base implementations of colorSpace and pixelFormat which CanvasRenderingContext2D can override to return the values specified in the CanvasRenderingContext2DSettings. * html/canvas/CanvasRenderingContext2D.h: * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::fontProxy const): Fix incorrect formatting. (WebCore::CanvasRenderingContext2D::pixelFormat const): (WebCore::CanvasRenderingContext2D::colorSpace const): Add overrides, return m_settings.colorSpace for colorSpace. * html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::CanvasRenderingContext2DBase::drawImage): (WebCore::CanvasRenderingContext2DBase::createCompositingBuffer): (WebCore::CanvasRenderingContext2DBase::createPattern): (WebCore::CanvasRenderingContext2DBase::drawTextUnchecked): Pass along the colorSpace and pixelFormat when creating buffers. * html/shadow/DateTimeSymbolicFieldElement.cpp: Add missing includes that are now needed. Source/WTF: Add new experimental feature, CanvasColorSpaceEnabled, which blocks access to the new ability to specify color spaces for 2D canvas. * Scripts/Preferences/WebPreferencesExperimental.yaml: Tools: * DumpRenderTree/TestOptions.cpp: (WTR::TestOptions::defaults): Add CanvasColorSpaceEnabled for windows. LayoutTests: Add basic tests for color space in canvas support. * fast/canvas/CanvasRenderingContext2DSettings-colorSpace-disabled-expected.txt: Added. * fast/canvas/CanvasRenderingContext2DSettings-colorSpace-disabled.html: Added. * fast/canvas/CanvasRenderingContext2DSettings-colorSpace-enabled-expected.txt: Added. * fast/canvas/CanvasRenderingContext2DSettings-colorSpace-enabled.html: Added. * fast/canvas/canvas-color-space-display-p3-expected.html: Added. * fast/canvas/canvas-color-space-display-p3.html: Added. Canonical link: https://commits.webkit.org/237338@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-05 16:36:55 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPredefinedColorSpace.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPredefinedColorSpace.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSProcessingInstruction.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSProcessingInstruction.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSProgressEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSProgressEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPromiseRejectionEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPromiseRejectionEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPublicKeyCredential.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPublicKeyCredential.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPublicKeyCredentialCreationOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPublicKeyCredentialCreationOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPublicKeyCredentialDescriptor.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPublicKeyCredentialDescriptor.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPublicKeyCredentialRequestOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPublicKeyCredentialRequestOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPublicKeyCredentialType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPublicKeyCredentialType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSQuickTimePluginReplacement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSQuickTimePluginReplacement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCAnswerOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCAnswerOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCCertificate.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCCertificate.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCConfiguration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCConfiguration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDTMFSender.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDTMFSender.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDTMFToneChangeEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDTMFToneChangeEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDataChannel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDataChannel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDataChannelEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDataChannelEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDegradationPreference.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDegradationPreference.h
Add support for RTCDtlsTransport https://bugs.webkit.org/show_bug.cgi?id=229133 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCDtlsTransport-getRemoteCertificates-expected.txt: * web-platform-tests/webrtc/RTCDtlsTransport-state-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-connectionSetup-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-helper-test-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceConnectionState.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-answer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCRtpSender-transport.https-expected.txt: * web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt: * web-platform-tests/webrtc/protocol/bundle.https-expected.txt: * web-platform-tests/webrtc/protocol/crypto-suite.https-expected.txt: Source/ThirdParty/libwebrtc: * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: Source/WebCore: RTCDtlsTransport is an object representing the transport used by RTCRtp senders and receivers. Add WebIDL and backend implementation. In particular, we set sender/receiver transports as per spec when setting the descriptions. Add support for state and certificates access. Add support for statechange event. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/PeerConnectionBackend.cpp: (WebCore::PeerConnectionBackend::setLocalDescriptionSucceeded): (WebCore::PeerConnectionBackend::setRemoteDescriptionSucceeded): * Modules/mediastream/PeerConnectionBackend.h: * Modules/mediastream/RTCDtlsTransport.cpp: Added. (WebCore::RTCDtlsTransport::RTCDtlsTransport): (WebCore::RTCDtlsTransport::~RTCDtlsTransport): (WebCore::RTCDtlsTransport::getRemoteCertificates): (WebCore::RTCDtlsTransport::stop): (WebCore::RTCDtlsTransport::virtualHasPendingActivity const): (WebCore::RTCDtlsTransport::onStateChanged): (WebCore::RTCDtlsTransport::onError): * Modules/mediastream/RTCDtlsTransport.h: Added. * Modules/mediastream/RTCDtlsTransport.idl: Added. * Modules/mediastream/RTCDtlsTransportBackend.h: Added. (WebCore::operator==): * Modules/mediastream/RTCDtlsTransportState.h: Added. * Modules/mediastream/RTCDtlsTransportState.idl: Added. * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::getOrCreateDtlsTransport): (WebCore::RTCPeerConnection::updateTransceiverTransports): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulLocalDescription): (WebCore::RTCPeerConnection::updateTransceiversAfterSuccessfulRemoteDescription): * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCRtpReceiver.cpp: * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiver.idl: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpSender.cpp: * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSender.idl: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.cpp: Added. (WebCore::toRTCDtlsTransportState): (WebCore::LibWebRTCDtlsTransportBackendObserver::LibWebRTCDtlsTransportBackendObserver): (WebCore::LibWebRTCDtlsTransportBackendObserver::updateState): (WebCore::LibWebRTCDtlsTransportBackendObserver::start): (WebCore::LibWebRTCDtlsTransportBackendObserver::stop): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnStateChange): (WebCore::LibWebRTCDtlsTransportBackendObserver::OnError): (WebCore::LibWebRTCDtlsTransportBackend::LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::~LibWebRTCDtlsTransportBackend): (WebCore::LibWebRTCDtlsTransportBackend::registerClient): (WebCore::LibWebRTCDtlsTransportBackend::unregisterClient): * Modules/mediastream/libwebrtc/LibWebRTCDtlsTransportBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::rtpDtlsTransportBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp: * Modules/mediastream/libwebrtc/LibWebRTCUtils.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: Canonical link: https://commits.webkit.org/240662@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-19 07:36:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDtlsTransport.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDtlsTransport.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDtlsTransportState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDtlsTransportState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDtxStatus.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCDtxStatus.h
Add support for RTCRtpScriptTransform https://bugs.webkit.org/show_bug.cgi?id=219148 Reviewed by Eric Carlson. Source/WebCore: We introduce RTCRtpScriptTransform which processes encoded frames in a worker for either RTCRtpSender or RTCRtpReceiver. The model follows AudioWorkletNode in the sense that we create a RTCRtpScriptTransform object in main thread that is used with RTCRtp objects. The RTCRtpScriptTransform takes a name and a worker as parameters to create a RTCRtpScriptTransformer counter part in a worker. Before that, RTCRtpScriptTransformer constructors are registered in the worker with a specific name. A message port is shared between RTCRtpScriptTransform and RTCRtpScriptTransformer. RTCRtpScriptTransform keeps a weak pointer to RTCRtpScriptTransformer so that we keep all ref counting of RTCRtpScriptTransformer in the worker thread. To make sure RTCRtpScriptTransformer stays alive for long enough, we set a pending activity when RTCRtpScriptTransform is linked to its RTCRtpScriptTransformer. The pending activity is then removed either at worker closure or RTCRtpScriptTransform being no longer doing processing. We expose individual compressed frames as RTCEncodedAudioFrame and RTCEncodedVideoFrame. Accessor is limited to the raw data but additional getters should be added later on. To implement RTCRtpScriptTransformer, we have to be able to create WritableStream with native sinks. This is why we introduce WritableStreamSink and WritableStream C++ classes. Binding between native frames and streams is done through RTCRtpReadableStreamSource and RTCRtpWritableStreamSink. Test: http/wpt/webrtc/webrtc-transform.html and http/wpt/webrtc/sframe-transform.html. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCEncodedAudioFrame.cpp: Added. (WebCore::RTCEncodedAudioFrame::RTCEncodedAudioFrame): * Modules/mediastream/RTCEncodedAudioFrame.h: Added. (WebCore::RTCEncodedAudioFrame::create): * Modules/mediastream/RTCEncodedAudioFrame.idl: Added. * Modules/mediastream/RTCEncodedFrame.h: Added. * Modules/mediastream/RTCEncodedFrame.cpp: Added. * Modules/mediastream/RTCEncodedVideoFrame.cpp: Added. (WebCore::RTCEncodedVideoFrame::RTCEncodedVideoFrame): * Modules/mediastream/RTCEncodedVideoFrame.h: Added. (WebCore::RTCEncodedVideoFrame::create): * Modules/mediastream/RTCEncodedVideoFrame.idl: Added. * Modules/mediastream/RTCRtpReceiver+Transform.idl: * Modules/mediastream/RTCRtpReceiver.cpp: (WebCore::RTCRtpReceiver::setTransform): (WebCore::RTCRtpReceiver::transform): * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiverWithTransform.h: (WebCore::RTCRtpReceiverWithTransform::transform): (WebCore::RTCRtpReceiverWithTransform::setTransform): * Modules/mediastream/RTCRtpSFrameTransform.cpp: (WebCore::RTCRtpSFrameTransform::initializeTransformer): * Modules/mediastream/RTCRtpSFrameTransform.h: (WebCore::RTCRtpSFrameTransform::isAttached const): * Modules/mediastream/RTCRtpSFrameTransform.idl: * Modules/mediastream/RTCRtpScriptTransform.cpp: Added. (WebCore::RTCRtpScriptTransform::create): (WebCore::RTCRtpScriptTransform::RTCRtpScriptTransform): (WebCore::RTCRtpScriptTransform::~RTCRtpScriptTransform): (WebCore::RTCRtpScriptTransform::setTransformer): (WebCore::RTCRtpScriptTransform::initializeBackendForReceiver): (WebCore::RTCRtpScriptTransform::initializeBackendForSender): (WebCore::RTCRtpScriptTransform::willClearBackend): (WebCore::RTCRtpScriptTransform::initializeTransformer): * Modules/mediastream/RTCRtpScriptTransform.h: Added. * Modules/mediastream/RTCRtpScriptTransform.idl: Added. * Modules/mediastream/RTCRtpScriptTransformProvider.idl: Added. * Modules/mediastream/RTCRtpScriptTransformer.cpp: Added. (WebCore::RTCRtpReadableStreamSource::create): (WebCore::RTCRtpReadableStreamSource::close): (WebCore::RTCRtpReadableStreamSource::enqueue): (WebCore::RTCRtpWritableStreamSink::create): (WebCore::RTCRtpWritableStreamSink::RTCRtpWritableStreamSink): (WebCore::RTCRtpWritableStreamSink::write): (WebCore::RTCRtpScriptTransformer::create): (WebCore::RTCRtpScriptTransformer::RTCRtpScriptTransformer): (WebCore::RTCRtpScriptTransformer::~RTCRtpScriptTransformer): (WebCore::RTCRtpScriptTransformer::start): (WebCore::RTCRtpScriptTransformer::clear): * Modules/mediastream/RTCRtpScriptTransformer.h: Added. (WebCore::RTCRtpScriptTransformer::setCallback): (WebCore::RTCRtpScriptTransformer::port): (WebCore::RTCRtpScriptTransformer::startPendingActivity): (WebCore::RTCRtpScriptTransformer::activeDOMObjectName const): (WebCore::RTCRtpScriptTransformer::stopPendingActivity): * Modules/mediastream/RTCRtpScriptTransformer.idl: Added. * Modules/mediastream/RTCRtpScriptTransformerConstructor.h: Added. * Modules/mediastream/RTCRtpScriptTransformerConstructor.idl: Added. * Modules/mediastream/RTCRtpSender+Transform.idl: * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::setTransform): (WebCore::RTCRtpSender::transform): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSenderWithTransform.h: (WebCore::RTCRtpSenderWithTransform::transform): (WebCore::RTCRtpSenderWithTransform::setTransform): * Modules/mediastream/RTCRtpTransform.cpp: (WebCore::RTCRtpTransform::from): (WebCore::RTCRtpTransform::RTCRtpTransform): (WebCore::RTCRtpTransform::~RTCRtpTransform): (WebCore::RTCRtpTransform::isAttached const): (WebCore::RTCRtpTransform::attachToReceiver): (WebCore::RTCRtpTransform::attachToSender): (WebCore::RTCRtpTransform::clearBackend): (WebCore::RTCRtpTransform::detachFromReceiver): (WebCore::RTCRtpTransform::detachFromSender): * Modules/mediastream/RTCRtpTransform.h: (WebCore::RTCRtpTransform::internalTransform): * Modules/mediastream/RTCRtpTransformBackend.h: * Modules/mediastream/RTCRtpTransformableFrame.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.cpp: (WebCore::LibWebRTCRtpTransformBackend::setInputCallback): (WebCore::LibWebRTCRtpTransformBackend::Transform): * Modules/streams/WritableStreamSink.h: Added. * Modules/streams/WritableStreamSink.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ReadableStreamDefaultController.cpp: (WebCore::ReadableStreamDefaultController::enqueue): * bindings/js/ReadableStreamDefaultController.h: * bindings/js/WebCoreBuiltinNames.h: * bindings/js/WritableStream.cpp: Added. (WebCore::WritableStream::create): * bindings/js/WritableStream.h: Added. (WebCore::JSWritableStreamWrapperConverter::toWrapped): (WebCore::WritableStream::WritableStream): (WebCore::toJS): (WebCore::toJSNewlyCreated): * dom/EventTargetFactory.in: * testing/Internals.cpp: * testing/Internals.h: * testing/Internals.idl: * testing/MockRTCRtpTransform.cpp: (WebCore::MockRTCRtpTransformer::transform): * workers/DedicatedWorkerGlobalScope.cpp: (WebCore::DedicatedWorkerGlobalScope::registerRTCRtpScriptTransformer): (WebCore::DedicatedWorkerGlobalScope::createRTCRtpScriptTransformer): * workers/DedicatedWorkerGlobalScope.h: * workers/DedicatedWorkerGlobalScope.idl: * workers/Worker.cpp: (WebCore::Worker::addRTCRtpScriptTransformer): (WebCore::Worker::createRTCRtpScriptTransformer): (WebCore::Worker::postTaskToWorkerGlobalScope): * workers/Worker.h: * workers/WorkerGlobalScopeProxy.h: * workers/WorkerMessagingProxy.cpp: (WebCore::WorkerMessagingProxy::postTaskToWorkerObject): (WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope): (WebCore::WorkerMessagingProxy::postTaskToWorkerGlobalScope): * workers/WorkerMessagingProxy.h: * workers/WorkerObjectProxy.h: (WebCore::WorkerObjectProxy::postTaskToWorkerObject): LayoutTests: * http/wpt/webrtc/routines.js: Added. (createConnections): * http/wpt/webrtc/script-transform.js: Added. (MockRTCRtpTransformer): (MockRTCRtpTransformer.prototype.start): (MockRTCRtpTransformer.prototype.process): * http/wpt/webrtc/sframe-transform-expected.txt: Added. * http/wpt/webrtc/sframe-transform.html: Added. * http/wpt/webrtc/webrtc-transform-expected.txt: Renamed from LayoutTests/webrtc/webrtc-transform-expected.txt. * http/wpt/webrtc/webrtc-transform.html: Renamed from LayoutTests/webrtc/webrtc-transform.html. * platform/glib/TestExpectations: * webrtc/script-transform.js: Added. (MockRTCRtpTransformer): (MockRTCRtpTransformer.prototype.start): Canonical link: https://commits.webkit.org/231818@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-20 12:25:32 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCEncodedAudioFrame.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCEncodedAudioFrame.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCEncodedVideoFrame.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCEncodedVideoFrame.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceCandidate.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceCandidate.h
Introduce a C++ chain of operations in RTCPeerConnection https://bugs.webkit.org/show_bug.cgi?id=216006 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-timing.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceConnectionState.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-operations.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-answer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-parameterless.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-rollback-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-track-stats.https-expected.txt: * web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt: * web-platform-tests/webrtc/idlharness.https.window-expected.txt: Source/WebCore: Remove RTCPeerConnection JS built-ins and introduce a C++ version. This allows to make replaceTrack part of the chain of operation. Also update setLocalDescription to take no parameters. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/mediastream/PeerConnectionBackend.cpp: (WebCore::PeerConnectionBackend::createOfferSucceeded): (WebCore::PeerConnectionBackend::createAnswerSucceeded): (WebCore::PeerConnectionBackend::setLocalDescription): (WebCore::PeerConnectionBackend::setRemoteDescription): (WebCore::PeerConnectionBackend::transceiverFromSender): Deleted. * Modules/mediastream/PeerConnectionBackend.h: * Modules/mediastream/RTCIceCandidate.cpp: (WebCore::RTCIceCandidate::create): * Modules/mediastream/RTCIceCandidate.h: * Modules/mediastream/RTCIceCandidate.idl: * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::create): (WebCore::RTCPeerConnection::removeTrack): (WebCore::RTCPeerConnection::createOffer): (WebCore::RTCPeerConnection::createAnswer): (WebCore::RTCPeerConnection::setLocalDescription): (WebCore::RTCPeerConnection::setRemoteDescription): (WebCore::RTCPeerConnection::addIceCandidate): (WebCore::RTCPeerConnection::getStats): (WebCore::RTCPeerConnection::doClose): (WebCore::RTCPeerConnection::scheduleNegotiationNeededEvent): (WebCore::RTCPeerConnection::chainOperation): (WebCore::RTCPeerConnection::initializeWith): Deleted. (WebCore::RTCPeerConnection::queuedCreateOffer): Deleted. (WebCore::RTCPeerConnection::queuedCreateAnswer): Deleted. (WebCore::RTCPeerConnection::queuedSetLocalDescription): Deleted. (WebCore::RTCPeerConnection::queuedSetRemoteDescription): Deleted. (WebCore::RTCPeerConnection::queuedAddIceCandidate): Deleted. * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCPeerConnection.idl: * Modules/mediastream/RTCPeerConnection.js: Removed. * Modules/mediastream/RTCPeerConnectionInternals.js: Removed. * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::create): (WebCore::RTCRtpSender::RTCRtpSender): (WebCore::RTCRtpSender::replaceTrack): (WebCore::RTCRtpSender::isCreatedBy const): (WebCore::RTCRtpSender::dtmf): (WebCore::RTCRtpSender::currentTransceiverDirection const): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSender.idl: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/RTCSessionDescription.cpp: (WebCore::RTCSessionDescription::create): * Modules/mediastream/RTCSessionDescription.h: * Modules/mediastream/RTCSessionDescription.idl: * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp: (WebCore::LibWebRTCMediaEndpoint::doSetLocalDescription): (WebCore::LibWebRTCMediaEndpoint::doSetRemoteDescription): * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h: * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp: (WebCore::LibWebRTCPeerConnectionBackend::doSetLocalDescription): (WebCore::LibWebRTCPeerConnectionBackend::doSetRemoteDescription): (WebCore::LibWebRTCPeerConnectionBackend::addTrack): (WebCore::LibWebRTCPeerConnectionBackend::addTransceiverFromTrackOrKind): (WebCore::LibWebRTCPeerConnectionBackend::newRemoteTransceiver): * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::replaceTrack): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: LayoutTests: * fast/mediastream/RTCIceCandidate-expected.txt: * fast/mediastream/RTCPeerConnection-addIceCandidate-expected.txt: * fast/mediastream/RTCPeerConnection-media-setup-single-dialog-expected.txt: * fast/mediastream/RTCPeerConnection-remotely-assigned-transceiver-mid-expected.txt: * webrtc/libwebrtc/release-while-creating-offer-expected.txt: * webrtc/remove-track-expected.txt: * webrtc/remove-track.html: Make sure we are in a stable state before going to removeTrack actual test. Also make sure to call setRemoteDescription for second test. Canonical link: https://commits.webkit.org/228873@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-02 16:19:52 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceCandidateInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceCandidateInit.h
Add missing members to RTCIceCandidate https://bugs.webkit.org/show_bug.cgi?id=216075 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCIceCandidate-constructor-expected.txt: * web-platform-tests/webrtc/RTCIceCandidate-constructor.html: * web-platform-tests/webrtc/idlharness.https.window-expected.txt: Source/ThirdParty/libwebrtc: * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: Source/WebCore: Sync IDL with latest spec. Add missing enums and make use of libwebrtc parse routine to get fields from candidate SDP. Covered by updated tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCIceCandidate.cpp: (WebCore::RTCIceCandidate::RTCIceCandidate): (WebCore::RTCIceCandidate::create): * Modules/mediastream/RTCIceCandidate.h: * Modules/mediastream/RTCIceCandidate.idl: * Modules/mediastream/RTCIceCandidateInit.h: * Modules/mediastream/RTCIceCandidateInit.idl: * Modules/mediastream/RTCIceCandidateType.h: Added. * Modules/mediastream/RTCIceCandidateType.idl: Added. * Modules/mediastream/RTCIceComponent.h: Added. * Modules/mediastream/RTCIceComponent.idl: Added. * Modules/mediastream/RTCIceProtocol.h: Added. * Modules/mediastream/RTCIceProtocol.idl: Added. * Modules/mediastream/RTCIceTcpCandidateType.h: Added. * Modules/mediastream/RTCIceTcpCandidateType.idl: Added. * Modules/mediastream/RTCStatsReport.h: * Modules/mediastream/RTCStatsReport.idl: * Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp: (WebCore::iceCandidateState): (WebCore::fillRTCIceCandidateStats): * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp: (WebCore::toRTCIceComponent): (WebCore::toRTCIceProtocol): (WebCore::toRTCIceTcpCandidateType): (WebCore::toRTCIceCandidateType): (WebCore::parseIceCandidateSDP): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * testing/MockLibWebRTCPeerConnection.cpp: (WebCore::MockLibWebRTCPeerConnectionForIceCandidates::sendCandidates): LayoutTests: * fast/mediastream/RTCPeerConnection-icecandidate-event-expected.txt: Canonical link: https://commits.webkit.org/229067@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-07 12:37:37 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceCandidateType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceCandidateType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceComponent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceComponent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceConnectionState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceConnectionState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceGatheringState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceGatheringState.h
Add missing members to RTCIceCandidate https://bugs.webkit.org/show_bug.cgi?id=216075 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCIceCandidate-constructor-expected.txt: * web-platform-tests/webrtc/RTCIceCandidate-constructor.html: * web-platform-tests/webrtc/idlharness.https.window-expected.txt: Source/ThirdParty/libwebrtc: * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: Source/WebCore: Sync IDL with latest spec. Add missing enums and make use of libwebrtc parse routine to get fields from candidate SDP. Covered by updated tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCIceCandidate.cpp: (WebCore::RTCIceCandidate::RTCIceCandidate): (WebCore::RTCIceCandidate::create): * Modules/mediastream/RTCIceCandidate.h: * Modules/mediastream/RTCIceCandidate.idl: * Modules/mediastream/RTCIceCandidateInit.h: * Modules/mediastream/RTCIceCandidateInit.idl: * Modules/mediastream/RTCIceCandidateType.h: Added. * Modules/mediastream/RTCIceCandidateType.idl: Added. * Modules/mediastream/RTCIceComponent.h: Added. * Modules/mediastream/RTCIceComponent.idl: Added. * Modules/mediastream/RTCIceProtocol.h: Added. * Modules/mediastream/RTCIceProtocol.idl: Added. * Modules/mediastream/RTCIceTcpCandidateType.h: Added. * Modules/mediastream/RTCIceTcpCandidateType.idl: Added. * Modules/mediastream/RTCStatsReport.h: * Modules/mediastream/RTCStatsReport.idl: * Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp: (WebCore::iceCandidateState): (WebCore::fillRTCIceCandidateStats): * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp: (WebCore::toRTCIceComponent): (WebCore::toRTCIceProtocol): (WebCore::toRTCIceTcpCandidateType): (WebCore::toRTCIceCandidateType): (WebCore::parseIceCandidateSDP): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * testing/MockLibWebRTCPeerConnection.cpp: (WebCore::MockLibWebRTCPeerConnectionForIceCandidates::sendCandidates): LayoutTests: * fast/mediastream/RTCPeerConnection-icecandidate-event-expected.txt: Canonical link: https://commits.webkit.org/229067@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-07 12:37:37 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceProtocol.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceProtocol.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceServer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceServer.h
Add missing members to RTCIceCandidate https://bugs.webkit.org/show_bug.cgi?id=216075 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCIceCandidate-constructor-expected.txt: * web-platform-tests/webrtc/RTCIceCandidate-constructor.html: * web-platform-tests/webrtc/idlharness.https.window-expected.txt: Source/ThirdParty/libwebrtc: * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: Source/WebCore: Sync IDL with latest spec. Add missing enums and make use of libwebrtc parse routine to get fields from candidate SDP. Covered by updated tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCIceCandidate.cpp: (WebCore::RTCIceCandidate::RTCIceCandidate): (WebCore::RTCIceCandidate::create): * Modules/mediastream/RTCIceCandidate.h: * Modules/mediastream/RTCIceCandidate.idl: * Modules/mediastream/RTCIceCandidateInit.h: * Modules/mediastream/RTCIceCandidateInit.idl: * Modules/mediastream/RTCIceCandidateType.h: Added. * Modules/mediastream/RTCIceCandidateType.idl: Added. * Modules/mediastream/RTCIceComponent.h: Added. * Modules/mediastream/RTCIceComponent.idl: Added. * Modules/mediastream/RTCIceProtocol.h: Added. * Modules/mediastream/RTCIceProtocol.idl: Added. * Modules/mediastream/RTCIceTcpCandidateType.h: Added. * Modules/mediastream/RTCIceTcpCandidateType.idl: Added. * Modules/mediastream/RTCStatsReport.h: * Modules/mediastream/RTCStatsReport.idl: * Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp: (WebCore::iceCandidateState): (WebCore::fillRTCIceCandidateStats): * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp: (WebCore::toRTCIceComponent): (WebCore::toRTCIceProtocol): (WebCore::toRTCIceTcpCandidateType): (WebCore::toRTCIceCandidateType): (WebCore::parseIceCandidateSDP): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * testing/MockLibWebRTCPeerConnection.cpp: (WebCore::MockLibWebRTCPeerConnectionForIceCandidates::sendCandidates): LayoutTests: * fast/mediastream/RTCPeerConnection-icecandidate-event-expected.txt: Canonical link: https://commits.webkit.org/229067@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-07 12:37:37 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceTcpCandidateType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceTcpCandidateType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceTransport.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceTransport.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceTransportState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCIceTransportState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCOfferAnswerOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCOfferAnswerOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCOfferOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCOfferOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCPeerConnection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCPeerConnection.h
Add support for RTCPeerConnection.onicecandidateerror event https://bugs.webkit.org/show_bug.cgi?id=169644 Reviewed by Alex Christensen. LayoutTests/imported/w3c: * web-platform-tests/webrtc/idlharness.https.window-expected.txt: Source/WebCore: Expose RTCPeerConnection.onicecandidateerror and use it for wrong STUN/TURN server URLs. For that matter, add RTCPeerConnectionIceErrorEvent as per spec with a slight change to the init directory to keep the same terminology between event and init dictionary. Covered by updated webrtc/stun-server-filtering.html test. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::iceServersFromConfiguration): (WebCore::iceServersFromConfiguration): Deleted. * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCPeerConnection.idl: * Modules/mediastream/RTCPeerConnectionIceErrorEvent.cpp: Added. (WebCore::RTCPeerConnectionIceErrorEvent::create): (WebCore::RTCPeerConnectionIceErrorEvent::RTCPeerConnectionIceErrorEvent): (WebCore::RTCPeerConnectionIceErrorEvent::eventInterface const): * Modules/mediastream/RTCPeerConnectionIceErrorEvent.h: Added. * Modules/mediastream/RTCPeerConnectionIceErrorEvent.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventNames.h: * dom/EventNames.in: LayoutTests: * webrtc/rtcpeerconnection-error-messages-expected.txt: * webrtc/stun-server-filtering.html: Canonical link: https://commits.webkit.org/231814@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-20 11:05:32 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCPeerConnectionIceErrorEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCPeerConnectionIceErrorEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCPeerConnectionIceEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCPeerConnectionIceEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCPeerConnectionState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCPeerConnectionState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCPriorityType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCPriorityType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtcpParameters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtcpParameters.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpCapabilities.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpCapabilities.h
Implement transceiver setCodecPreferences https://bugs.webkit.org/show_bug.cgi?id=190840 <rdar://problem/45496326> Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCRtpTransceiver-setCodecPreferences-expected.txt: Source/ThirdParty/libwebrtc: * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: Source/WebCore: Add binding code to pipe setCodecPreferences up to webrtc backend, Covered by updated and rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCRtpCapabilities.idl: * Modules/mediastream/RTCRtpCodecCapability.idl: Added. * Modules/mediastream/RTCRtpTransceiver.cpp: (WebCore::RTCRtpTransceiver::setCodecPreferences): * Modules/mediastream/RTCRtpTransceiver.h: * Modules/mediastream/RTCRtpTransceiver.idl: * Modules/mediastream/RTCRtpTransceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCObservers.h: (WebCore::toExceptionCode): Deleted. * Modules/mediastream/libwebrtc/LibWebRTCRtpTransceiverBackend.cpp: (WebCore::toRtpCodecCapability): (WebCore::LibWebRTCRtpTransceiverBackend::setCodecPreferences): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp: (WebCore::toExceptionCode): (WebCore::toException): * Modules/mediastream/libwebrtc/LibWebRTCUtils.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mediastream/RTCRtpCapabilities.h: (): Deleted. * platform/mediastream/RTCRtpCodecCapability.h: Added. * platform/mediastream/libwebrtc/LibWebRTCProvider.cpp: (WebCore::toRTCRtpCapabilities): LayoutTests: * webrtc/video-mute-vp8.html: Canonical link: https://commits.webkit.org/218842@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-01 12:55:46 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpCodecCapability.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpCodecCapability.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpCodecParameters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpCodecParameters.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpCodingParameters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpCodingParameters.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpContributingSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpContributingSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpEncodingParameters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpEncodingParameters.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpFecParameters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpFecParameters.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpHeaderExtensionParameters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpHeaderExtensionParameters.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpParameters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpParameters.h
Add infrastructure for WebRTC transforms https://bugs.webkit.org/show_bug.cgi?id=218750 Reviewed by Eric Carlson. Source/ThirdParty/libwebrtc: Make sure buffer is owned by the encoded image object. * Configurations/libwebrtc.mac.exp: * Source/webrtc/sdk/WebKit/WebKitEncoder.h: * Source/webrtc/sdk/WebKit/WebKitEncoder.mm: (webrtc::encoderVideoTaskComplete): Source/WebCore: Introduce RTCRtpTransform behind a preference. Add binding code with libwebrtc to be able to process encoded content in sender and receiver sides. Add a mock transform to validate the infrastructure is working. Test: webrtc/webrtc-transform.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCRtpReceiver+Transform.idl: Added. * Modules/mediastream/RTCRtpReceiver.cpp: (WebCore::RTCRtpReceiver::~RTCRtpReceiver): (WebCore::RTCRtpReceiver::stop): (WebCore::RTCRtpReceiver::setTransform): * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpReceiverWithTransform.h: Added. (WebCore::RTCRtpReceiverWithTransform::transform): (WebCore::RTCRtpReceiverWithTransform::setTransform): * Modules/mediastream/RTCRtpSender+Transform.idl: Added. * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::~RTCRtpSender): (WebCore::RTCRtpSender::stop): (WebCore::RTCRtpSender::setTransform): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/RTCRtpSenderWithTransform.h: Added. (WebCore::RTCRtpSenderWithTransform::transform): (WebCore::RTCRtpSenderWithTransform::setTransform): * Modules/mediastream/RTCRtpTransform.cpp: Added. (WebCore::RTCRtpTransform::~RTCRtpTransform): (WebCore::RTCRtpTransform::attachToReceiver): (WebCore::RTCRtpTransform::attachToSender): (WebCore::RTCRtpTransform::detachFromReceiver): (WebCore::RTCRtpTransform::detachFromSender): * Modules/mediastream/RTCRtpTransform.h: Added. * Modules/mediastream/RTCRtpTransform.idl: Added. * Modules/mediastream/RTCRtpTransformBackend.h: Added. * Modules/mediastream/RTCRtpTransformableFrame.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::createRTCRtpTransformBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverTransformBackend.cpp: Added. (WebCore::mediaTypeFromReceiver): (WebCore::LibWebRTCRtpReceiverTransformBackend::LibWebRTCRtpReceiverTransformBackend): (WebCore::LibWebRTCRtpReceiverTransformBackend::~LibWebRTCRtpReceiverTransformBackend): (WebCore::LibWebRTCRtpReceiverTransformBackend::setTransformableFrameCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverTransformBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::createRTCRtpTransformBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderTransformBackend.cpp: Added. (WebCore::mediaTypeFromSender): (WebCore::LibWebRTCRtpSenderTransformBackend::LibWebRTCRtpSenderTransformBackend): (WebCore::LibWebRTCRtpSenderTransformBackend::~LibWebRTCRtpSenderTransformBackend): (WebCore::LibWebRTCRtpSenderTransformBackend::setTransformableFrameCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderTransformBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.cpp: Added. (WebCore::LibWebRTCRtpTransformBackend::setInputCallback): (WebCore::LibWebRTCRtpTransformBackend::clearTransformableFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::setOutputCallback): (WebCore::LibWebRTCRtpTransformBackend::processTransformedFrame): (WebCore::LibWebRTCRtpTransformBackend::Transform): (WebCore::LibWebRTCRtpTransformBackend::RegisterTransformedFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::RegisterTransformedFrameSinkCallback): (WebCore::LibWebRTCRtpTransformBackend::UnregisterTransformedFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::UnregisterTransformedFrameSinkCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.h: Added. (WebCore::LibWebRTCRtpTransformBackend::LibWebRTCRtpTransformBackend): (WebCore::LibWebRTCRtpTransformBackend::Release const): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.h: Added. (WebCore::LibWebRTCRtpTransformableFrame::LibWebRTCRtpTransformableFrame): (WebCore::LibWebRTCRtpTransformableFrame::toRTCFrame): (WebCore::LibWebRTCRtpTransformableFrame::data const): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): * bindings/scripts/test/JS/JSTestInterface.h: * testing/Internals.cpp: (WebCore::Internals::createMockRTCRtpTransform): * testing/Internals.h: * testing/Internals.idl: * testing/MockRTCRtpTransform.cpp: Added. (WebCore::MockRTCRtpTransformer::create): (WebCore::MockRTCRtpTransformer::clear): (WebCore::MockRTCRtpTransformer::transform): (WebCore::MockRTCRtpTransformer::isProcessing const): (WebCore::MockRTCRtpTransformer::MockRTCRtpTransformer): (WebCore::MockRTCRtpTransform::MockRTCRtpTransform): (WebCore::MockRTCRtpTransform::~MockRTCRtpTransform): (WebCore::MockRTCRtpTransform::isProcessing const): (WebCore::MockRTCRtpTransform::initializeBackendForReceiver): (WebCore::MockRTCRtpTransform::initializeBackendForSender): (WebCore::MockRTCRtpTransform::willClearBackend): * testing/MockRTCRtpTransform.h: Added. * testing/MockRTCRtpTransform.idl: Added. Source/WebKit: Remove no longer needed const casting. * Configurations/WebKit.xcconfig: * WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp: (WebKit::LibWebRTCCodecs::completedEncoding): Source/WTF: Add an experimental preference for WebRTC transforms. * Scripts/Preferences/WebPreferencesExperimental.yaml: LayoutTests: * webrtc/webrtc-transform-expected.txt: Added. * webrtc/webrtc-transform.html: Added. Canonical link: https://commits.webkit.org/231538@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-13 07:20:19 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpReceiver+Transform.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpReceiver+Transform.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpReceiver.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpReceiver.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpRtxParameters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpRtxParameters.h
Add a WebRTC SFrame transform https://bugs.webkit.org/show_bug.cgi?id=218752 Reviewed by Eric Carlson. Source/WebCore: Introduce a RTCRtpSFrameTransform that implements the SFrame format. RTCRtpSFrameTransform is a RTCRtpTransform that can be set to RTCRtp sender and receiver objects. API supports setting encryption key. Minor refactoring to reuse WebCrypto routines for encryption/decryption. Test: webrtc/audio-sframe.html * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCRtpSFrameTransform.cpp: Added. (WebCore::RTCRtpSFrameTransform::RTCRtpSFrameTransform): (WebCore::RTCRtpSFrameTransform::~RTCRtpSFrameTransform): (WebCore::RTCRtpSFrameTransform::setEncryptionKey): (WebCore::RTCRtpSFrameTransform::initializeTransformer): (WebCore::RTCRtpSFrameTransform::initializeBackendForReceiver): (WebCore::RTCRtpSFrameTransform::initializeBackendForSender): (WebCore::RTCRtpSFrameTransform::willClearBackend): * Modules/mediastream/RTCRtpSFrameTransform.h: Added. * Modules/mediastream/RTCRtpSFrameTransform.idl: Added. * Modules/mediastream/RTCRtpSFrameTransformer.cpp: Added. (WebCore::writeUInt64): (WebCore::lengthOfUInt64): (WebCore::computeFirstHeaderByte): (WebCore::computeIV): (WebCore::parseSFrameHeader): (WebCore::RTCRtpSFrameTransformer::create): (WebCore::RTCRtpSFrameTransformer::RTCRtpSFrameTransformer): (WebCore::RTCRtpSFrameTransformer::~RTCRtpSFrameTransformer): (WebCore::RTCRtpSFrameTransformer::setEncryptionKey): (WebCore::RTCRtpSFrameTransformer::decryptFrame): (WebCore::RTCRtpSFrameTransformer::encryptFrame): (WebCore::RTCRtpSFrameTransformer::transform): (WebCore::RTCRtpSFrameTransformer::computeSaltKey): (WebCore::RTCRtpSFrameTransformer::computeAuthenticationKey): (WebCore::RTCRtpSFrameTransformer::computeEncryptionKey): (WebCore::RTCRtpSFrameTransformer::decryptData): (WebCore::RTCRtpSFrameTransformer::encryptData): (WebCore::RTCRtpSFrameTransformer::computeEncryptedDataSignature): * Modules/mediastream/RTCRtpSFrameTransformer.h: Added. (WebCore::RTCRtpSFrameTransformer::setIsSending): (WebCore::RTCRtpSFrameTransformer::setIsProcessingAudio): * Modules/mediastream/RTCRtpSFrameTransformerCocoa.cpp: Added. (WebCore::deriveHDKFSHA256Bits): (WebCore::transformAES_CTR): (WebCore::RTCRtpSFrameTransformer::computeSaltKey): (WebCore::RTCRtpSFrameTransformer::computeAuthenticationKey): (WebCore::RTCRtpSFrameTransformer::computeEncryptionKey): (WebCore::RTCRtpSFrameTransformer::decryptData): (WebCore::RTCRtpSFrameTransformer::encryptData): (WebCore::RTCRtpSFrameTransformer::computeEncryptedDataSignature): * Sources.txt: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * WebCore.xcodeproj/project.pbxproj: * crypto/mac/CryptoAlgorithmAES_CTRMac.cpp: (WebCore::CryptoAlgorithmAES_CTR::platformEncrypt): (WebCore::CryptoAlgorithmAES_CTR::platformDecrypt): (WebCore::transformAES_CTR): Deleted. * crypto/mac/CryptoAlgorithmHKDFMac.cpp: (WebCore::CryptoAlgorithmHKDF::platformDeriveBits): * crypto/mac/CryptoUtilitiesCocoa.cpp: Added. (WebCore::transformAES_CTR): (WebCore::deriveHDKFSHA256Bits): * crypto/mac/CryptoUtilitiesCocoa.h: Added. * bindings/js/WebCoreBuiltinNames.h: Tools: Add unit tests that validate SFrame generation and parsing. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/WebCore/RTCRtpSFrameTransformerTests.cpp: Added. (TestWebKitAPI::getRawKey): (TestWebKitAPI::createVideoTransformer): (TestWebKitAPI::checkVectorsAreEqual): (TestWebKitAPI::TEST): LayoutTests: * webrtc/audio-sframe-expected.txt: Added. * webrtc/audio-sframe.html: Added. Canonical link: https://commits.webkit.org/231595@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-15 17:59:54 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSFrameTransform.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSFrameTransform.h
Implement SFrameTransform error handling https://bugs.webkit.org/show_bug.cgi?id=228947 Reviewed by Eric Carlson. Source/WebCore: Add support for RTCRtpSFrameTransformErrorEvent. When RTCRtpSFrameTransformer encounters an issue, dispatch a task to RTCRtpSFrameTransform context and fire a corresponding event. This follows https://w3c.github.io/webrtc-encoded-transform/#sframe-transform-algorithm, except that: - we are not yet exposing some fields in RTCRtpSFrameTransformErrorEvent. - we are using errorType instead of type which should be fixed in the spec. Test: imported/w3c/web-platform-tests/webrtc-encoded-transform/sframe-transform-error.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCRtpSFrameTransform.cpp: (WebCore::RTCRtpSFrameTransform::RTCRtpSFrameTransform): (WebCore::errorTypeFromInformation): (WebCore::processFrame): (WebCore::RTCRtpSFrameTransform::hasKey const): (WebCore::RTCRtpSFrameTransform::initializeTransformer): (WebCore::transformFrame): (WebCore::RTCRtpSFrameTransform::createStreams): (WebCore::RTCRtpSFrameTransform::writable): (WebCore::RTCRtpSFrameTransform::virtualHasPendingActivity const): * Modules/mediastream/RTCRtpSFrameTransform.h: * Modules/mediastream/RTCRtpSFrameTransform.idl: * Modules/mediastream/RTCRtpSFrameTransformErrorEvent.cpp: Added. (WebCore::RTCRtpSFrameTransformErrorEvent::create): (WebCore::RTCRtpSFrameTransformErrorEvent::RTCRtpSFrameTransformErrorEvent): (WebCore::RTCRtpSFrameTransformErrorEvent::eventInterface const): * Modules/mediastream/RTCRtpSFrameTransformErrorEvent.h: Added. * Modules/mediastream/RTCRtpSFrameTransformErrorEvent.idl: Added. * Modules/mediastream/RTCRtpSFrameTransformer.cpp: (WebCore::RTCRtpSFrameTransformer::hasKey const): (WebCore::RTCRtpSFrameTransformer::decryptFrame): (WebCore::RTCRtpSFrameTransformer::encryptFrame): (WebCore::RTCRtpSFrameTransformer::transform): * Modules/mediastream/RTCRtpSFrameTransformer.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventNames.in: * dom/EventTargetFactory.in: Tools: * TestWebKitAPI/Tests/WebCore/RTCRtpSFrameTransformerTests.cpp: (TestWebKitAPI::TEST): LayoutTests: * http/wpt/webrtc/sframe-transform-error-worker.js: Added. (onrtctransform.async event): * http/wpt/webrtc/sframe-transform-error.html: Added. * http/wpt/webrtc/sframe-transform-error-expected: Added. Canonical link: https://commits.webkit.org/240464@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280958 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-12 09:37:05 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSFrameTransformErrorEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSFrameTransformErrorEvent.h
Add support for RTCRtpScriptTransform https://bugs.webkit.org/show_bug.cgi?id=219148 Reviewed by Eric Carlson. Source/WebCore: We introduce RTCRtpScriptTransform which processes encoded frames in a worker for either RTCRtpSender or RTCRtpReceiver. The model follows AudioWorkletNode in the sense that we create a RTCRtpScriptTransform object in main thread that is used with RTCRtp objects. The RTCRtpScriptTransform takes a name and a worker as parameters to create a RTCRtpScriptTransformer counter part in a worker. Before that, RTCRtpScriptTransformer constructors are registered in the worker with a specific name. A message port is shared between RTCRtpScriptTransform and RTCRtpScriptTransformer. RTCRtpScriptTransform keeps a weak pointer to RTCRtpScriptTransformer so that we keep all ref counting of RTCRtpScriptTransformer in the worker thread. To make sure RTCRtpScriptTransformer stays alive for long enough, we set a pending activity when RTCRtpScriptTransform is linked to its RTCRtpScriptTransformer. The pending activity is then removed either at worker closure or RTCRtpScriptTransform being no longer doing processing. We expose individual compressed frames as RTCEncodedAudioFrame and RTCEncodedVideoFrame. Accessor is limited to the raw data but additional getters should be added later on. To implement RTCRtpScriptTransformer, we have to be able to create WritableStream with native sinks. This is why we introduce WritableStreamSink and WritableStream C++ classes. Binding between native frames and streams is done through RTCRtpReadableStreamSource and RTCRtpWritableStreamSink. Test: http/wpt/webrtc/webrtc-transform.html and http/wpt/webrtc/sframe-transform.html. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCEncodedAudioFrame.cpp: Added. (WebCore::RTCEncodedAudioFrame::RTCEncodedAudioFrame): * Modules/mediastream/RTCEncodedAudioFrame.h: Added. (WebCore::RTCEncodedAudioFrame::create): * Modules/mediastream/RTCEncodedAudioFrame.idl: Added. * Modules/mediastream/RTCEncodedFrame.h: Added. * Modules/mediastream/RTCEncodedFrame.cpp: Added. * Modules/mediastream/RTCEncodedVideoFrame.cpp: Added. (WebCore::RTCEncodedVideoFrame::RTCEncodedVideoFrame): * Modules/mediastream/RTCEncodedVideoFrame.h: Added. (WebCore::RTCEncodedVideoFrame::create): * Modules/mediastream/RTCEncodedVideoFrame.idl: Added. * Modules/mediastream/RTCRtpReceiver+Transform.idl: * Modules/mediastream/RTCRtpReceiver.cpp: (WebCore::RTCRtpReceiver::setTransform): (WebCore::RTCRtpReceiver::transform): * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiverWithTransform.h: (WebCore::RTCRtpReceiverWithTransform::transform): (WebCore::RTCRtpReceiverWithTransform::setTransform): * Modules/mediastream/RTCRtpSFrameTransform.cpp: (WebCore::RTCRtpSFrameTransform::initializeTransformer): * Modules/mediastream/RTCRtpSFrameTransform.h: (WebCore::RTCRtpSFrameTransform::isAttached const): * Modules/mediastream/RTCRtpSFrameTransform.idl: * Modules/mediastream/RTCRtpScriptTransform.cpp: Added. (WebCore::RTCRtpScriptTransform::create): (WebCore::RTCRtpScriptTransform::RTCRtpScriptTransform): (WebCore::RTCRtpScriptTransform::~RTCRtpScriptTransform): (WebCore::RTCRtpScriptTransform::setTransformer): (WebCore::RTCRtpScriptTransform::initializeBackendForReceiver): (WebCore::RTCRtpScriptTransform::initializeBackendForSender): (WebCore::RTCRtpScriptTransform::willClearBackend): (WebCore::RTCRtpScriptTransform::initializeTransformer): * Modules/mediastream/RTCRtpScriptTransform.h: Added. * Modules/mediastream/RTCRtpScriptTransform.idl: Added. * Modules/mediastream/RTCRtpScriptTransformProvider.idl: Added. * Modules/mediastream/RTCRtpScriptTransformer.cpp: Added. (WebCore::RTCRtpReadableStreamSource::create): (WebCore::RTCRtpReadableStreamSource::close): (WebCore::RTCRtpReadableStreamSource::enqueue): (WebCore::RTCRtpWritableStreamSink::create): (WebCore::RTCRtpWritableStreamSink::RTCRtpWritableStreamSink): (WebCore::RTCRtpWritableStreamSink::write): (WebCore::RTCRtpScriptTransformer::create): (WebCore::RTCRtpScriptTransformer::RTCRtpScriptTransformer): (WebCore::RTCRtpScriptTransformer::~RTCRtpScriptTransformer): (WebCore::RTCRtpScriptTransformer::start): (WebCore::RTCRtpScriptTransformer::clear): * Modules/mediastream/RTCRtpScriptTransformer.h: Added. (WebCore::RTCRtpScriptTransformer::setCallback): (WebCore::RTCRtpScriptTransformer::port): (WebCore::RTCRtpScriptTransformer::startPendingActivity): (WebCore::RTCRtpScriptTransformer::activeDOMObjectName const): (WebCore::RTCRtpScriptTransformer::stopPendingActivity): * Modules/mediastream/RTCRtpScriptTransformer.idl: Added. * Modules/mediastream/RTCRtpScriptTransformerConstructor.h: Added. * Modules/mediastream/RTCRtpScriptTransformerConstructor.idl: Added. * Modules/mediastream/RTCRtpSender+Transform.idl: * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::setTransform): (WebCore::RTCRtpSender::transform): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSenderWithTransform.h: (WebCore::RTCRtpSenderWithTransform::transform): (WebCore::RTCRtpSenderWithTransform::setTransform): * Modules/mediastream/RTCRtpTransform.cpp: (WebCore::RTCRtpTransform::from): (WebCore::RTCRtpTransform::RTCRtpTransform): (WebCore::RTCRtpTransform::~RTCRtpTransform): (WebCore::RTCRtpTransform::isAttached const): (WebCore::RTCRtpTransform::attachToReceiver): (WebCore::RTCRtpTransform::attachToSender): (WebCore::RTCRtpTransform::clearBackend): (WebCore::RTCRtpTransform::detachFromReceiver): (WebCore::RTCRtpTransform::detachFromSender): * Modules/mediastream/RTCRtpTransform.h: (WebCore::RTCRtpTransform::internalTransform): * Modules/mediastream/RTCRtpTransformBackend.h: * Modules/mediastream/RTCRtpTransformableFrame.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.cpp: (WebCore::LibWebRTCRtpTransformBackend::setInputCallback): (WebCore::LibWebRTCRtpTransformBackend::Transform): * Modules/streams/WritableStreamSink.h: Added. * Modules/streams/WritableStreamSink.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ReadableStreamDefaultController.cpp: (WebCore::ReadableStreamDefaultController::enqueue): * bindings/js/ReadableStreamDefaultController.h: * bindings/js/WebCoreBuiltinNames.h: * bindings/js/WritableStream.cpp: Added. (WebCore::WritableStream::create): * bindings/js/WritableStream.h: Added. (WebCore::JSWritableStreamWrapperConverter::toWrapped): (WebCore::WritableStream::WritableStream): (WebCore::toJS): (WebCore::toJSNewlyCreated): * dom/EventTargetFactory.in: * testing/Internals.cpp: * testing/Internals.h: * testing/Internals.idl: * testing/MockRTCRtpTransform.cpp: (WebCore::MockRTCRtpTransformer::transform): * workers/DedicatedWorkerGlobalScope.cpp: (WebCore::DedicatedWorkerGlobalScope::registerRTCRtpScriptTransformer): (WebCore::DedicatedWorkerGlobalScope::createRTCRtpScriptTransformer): * workers/DedicatedWorkerGlobalScope.h: * workers/DedicatedWorkerGlobalScope.idl: * workers/Worker.cpp: (WebCore::Worker::addRTCRtpScriptTransformer): (WebCore::Worker::createRTCRtpScriptTransformer): (WebCore::Worker::postTaskToWorkerGlobalScope): * workers/Worker.h: * workers/WorkerGlobalScopeProxy.h: * workers/WorkerMessagingProxy.cpp: (WebCore::WorkerMessagingProxy::postTaskToWorkerObject): (WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope): (WebCore::WorkerMessagingProxy::postTaskToWorkerGlobalScope): * workers/WorkerMessagingProxy.h: * workers/WorkerObjectProxy.h: (WebCore::WorkerObjectProxy::postTaskToWorkerObject): LayoutTests: * http/wpt/webrtc/routines.js: Added. (createConnections): * http/wpt/webrtc/script-transform.js: Added. (MockRTCRtpTransformer): (MockRTCRtpTransformer.prototype.start): (MockRTCRtpTransformer.prototype.process): * http/wpt/webrtc/sframe-transform-expected.txt: Added. * http/wpt/webrtc/sframe-transform.html: Added. * http/wpt/webrtc/webrtc-transform-expected.txt: Renamed from LayoutTests/webrtc/webrtc-transform-expected.txt. * http/wpt/webrtc/webrtc-transform.html: Renamed from LayoutTests/webrtc/webrtc-transform.html. * platform/glib/TestExpectations: * webrtc/script-transform.js: Added. (MockRTCRtpTransformer): (MockRTCRtpTransformer.prototype.start): Canonical link: https://commits.webkit.org/231818@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-20 12:25:32 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpScriptTransform.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpScriptTransform.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpScriptTransformProvider.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpScriptTransformProvider.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpScriptTransformer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpScriptTransformer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSendParameters.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSendParameters.h
Add infrastructure for WebRTC transforms https://bugs.webkit.org/show_bug.cgi?id=218750 Reviewed by Eric Carlson. Source/ThirdParty/libwebrtc: Make sure buffer is owned by the encoded image object. * Configurations/libwebrtc.mac.exp: * Source/webrtc/sdk/WebKit/WebKitEncoder.h: * Source/webrtc/sdk/WebKit/WebKitEncoder.mm: (webrtc::encoderVideoTaskComplete): Source/WebCore: Introduce RTCRtpTransform behind a preference. Add binding code with libwebrtc to be able to process encoded content in sender and receiver sides. Add a mock transform to validate the infrastructure is working. Test: webrtc/webrtc-transform.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCRtpReceiver+Transform.idl: Added. * Modules/mediastream/RTCRtpReceiver.cpp: (WebCore::RTCRtpReceiver::~RTCRtpReceiver): (WebCore::RTCRtpReceiver::stop): (WebCore::RTCRtpReceiver::setTransform): * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpReceiverWithTransform.h: Added. (WebCore::RTCRtpReceiverWithTransform::transform): (WebCore::RTCRtpReceiverWithTransform::setTransform): * Modules/mediastream/RTCRtpSender+Transform.idl: Added. * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::~RTCRtpSender): (WebCore::RTCRtpSender::stop): (WebCore::RTCRtpSender::setTransform): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/RTCRtpSenderWithTransform.h: Added. (WebCore::RTCRtpSenderWithTransform::transform): (WebCore::RTCRtpSenderWithTransform::setTransform): * Modules/mediastream/RTCRtpTransform.cpp: Added. (WebCore::RTCRtpTransform::~RTCRtpTransform): (WebCore::RTCRtpTransform::attachToReceiver): (WebCore::RTCRtpTransform::attachToSender): (WebCore::RTCRtpTransform::detachFromReceiver): (WebCore::RTCRtpTransform::detachFromSender): * Modules/mediastream/RTCRtpTransform.h: Added. * Modules/mediastream/RTCRtpTransform.idl: Added. * Modules/mediastream/RTCRtpTransformBackend.h: Added. * Modules/mediastream/RTCRtpTransformableFrame.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::createRTCRtpTransformBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverTransformBackend.cpp: Added. (WebCore::mediaTypeFromReceiver): (WebCore::LibWebRTCRtpReceiverTransformBackend::LibWebRTCRtpReceiverTransformBackend): (WebCore::LibWebRTCRtpReceiverTransformBackend::~LibWebRTCRtpReceiverTransformBackend): (WebCore::LibWebRTCRtpReceiverTransformBackend::setTransformableFrameCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverTransformBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::createRTCRtpTransformBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderTransformBackend.cpp: Added. (WebCore::mediaTypeFromSender): (WebCore::LibWebRTCRtpSenderTransformBackend::LibWebRTCRtpSenderTransformBackend): (WebCore::LibWebRTCRtpSenderTransformBackend::~LibWebRTCRtpSenderTransformBackend): (WebCore::LibWebRTCRtpSenderTransformBackend::setTransformableFrameCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderTransformBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.cpp: Added. (WebCore::LibWebRTCRtpTransformBackend::setInputCallback): (WebCore::LibWebRTCRtpTransformBackend::clearTransformableFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::setOutputCallback): (WebCore::LibWebRTCRtpTransformBackend::processTransformedFrame): (WebCore::LibWebRTCRtpTransformBackend::Transform): (WebCore::LibWebRTCRtpTransformBackend::RegisterTransformedFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::RegisterTransformedFrameSinkCallback): (WebCore::LibWebRTCRtpTransformBackend::UnregisterTransformedFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::UnregisterTransformedFrameSinkCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.h: Added. (WebCore::LibWebRTCRtpTransformBackend::LibWebRTCRtpTransformBackend): (WebCore::LibWebRTCRtpTransformBackend::Release const): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.h: Added. (WebCore::LibWebRTCRtpTransformableFrame::LibWebRTCRtpTransformableFrame): (WebCore::LibWebRTCRtpTransformableFrame::toRTCFrame): (WebCore::LibWebRTCRtpTransformableFrame::data const): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): * bindings/scripts/test/JS/JSTestInterface.h: * testing/Internals.cpp: (WebCore::Internals::createMockRTCRtpTransform): * testing/Internals.h: * testing/Internals.idl: * testing/MockRTCRtpTransform.cpp: Added. (WebCore::MockRTCRtpTransformer::create): (WebCore::MockRTCRtpTransformer::clear): (WebCore::MockRTCRtpTransformer::transform): (WebCore::MockRTCRtpTransformer::isProcessing const): (WebCore::MockRTCRtpTransformer::MockRTCRtpTransformer): (WebCore::MockRTCRtpTransform::MockRTCRtpTransform): (WebCore::MockRTCRtpTransform::~MockRTCRtpTransform): (WebCore::MockRTCRtpTransform::isProcessing const): (WebCore::MockRTCRtpTransform::initializeBackendForReceiver): (WebCore::MockRTCRtpTransform::initializeBackendForSender): (WebCore::MockRTCRtpTransform::willClearBackend): * testing/MockRTCRtpTransform.h: Added. * testing/MockRTCRtpTransform.idl: Added. Source/WebKit: Remove no longer needed const casting. * Configurations/WebKit.xcconfig: * WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp: (WebKit::LibWebRTCCodecs::completedEncoding): Source/WTF: Add an experimental preference for WebRTC transforms. * Scripts/Preferences/WebPreferencesExperimental.yaml: LayoutTests: * webrtc/webrtc-transform-expected.txt: Added. * webrtc/webrtc-transform.html: Added. Canonical link: https://commits.webkit.org/231538@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-13 07:20:19 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSender+Transform.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSender+Transform.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSender.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSender.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSynchronizationSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpSynchronizationSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpTransceiver.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpTransceiver.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpTransceiverDirection.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpTransceiverDirection.h
Add infrastructure for WebRTC transforms https://bugs.webkit.org/show_bug.cgi?id=218750 Reviewed by Eric Carlson. Source/ThirdParty/libwebrtc: Make sure buffer is owned by the encoded image object. * Configurations/libwebrtc.mac.exp: * Source/webrtc/sdk/WebKit/WebKitEncoder.h: * Source/webrtc/sdk/WebKit/WebKitEncoder.mm: (webrtc::encoderVideoTaskComplete): Source/WebCore: Introduce RTCRtpTransform behind a preference. Add binding code with libwebrtc to be able to process encoded content in sender and receiver sides. Add a mock transform to validate the infrastructure is working. Test: webrtc/webrtc-transform.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCRtpReceiver+Transform.idl: Added. * Modules/mediastream/RTCRtpReceiver.cpp: (WebCore::RTCRtpReceiver::~RTCRtpReceiver): (WebCore::RTCRtpReceiver::stop): (WebCore::RTCRtpReceiver::setTransform): * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiverBackend.h: * Modules/mediastream/RTCRtpReceiverWithTransform.h: Added. (WebCore::RTCRtpReceiverWithTransform::transform): (WebCore::RTCRtpReceiverWithTransform::setTransform): * Modules/mediastream/RTCRtpSender+Transform.idl: Added. * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::~RTCRtpSender): (WebCore::RTCRtpSender::stop): (WebCore::RTCRtpSender::setTransform): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/RTCRtpSenderWithTransform.h: Added. (WebCore::RTCRtpSenderWithTransform::transform): (WebCore::RTCRtpSenderWithTransform::setTransform): * Modules/mediastream/RTCRtpTransform.cpp: Added. (WebCore::RTCRtpTransform::~RTCRtpTransform): (WebCore::RTCRtpTransform::attachToReceiver): (WebCore::RTCRtpTransform::attachToSender): (WebCore::RTCRtpTransform::detachFromReceiver): (WebCore::RTCRtpTransform::detachFromSender): * Modules/mediastream/RTCRtpTransform.h: Added. * Modules/mediastream/RTCRtpTransform.idl: Added. * Modules/mediastream/RTCRtpTransformBackend.h: Added. * Modules/mediastream/RTCRtpTransformableFrame.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp: (WebCore::LibWebRTCRtpReceiverBackend::createRTCRtpTransformBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverTransformBackend.cpp: Added. (WebCore::mediaTypeFromReceiver): (WebCore::LibWebRTCRtpReceiverTransformBackend::LibWebRTCRtpReceiverTransformBackend): (WebCore::LibWebRTCRtpReceiverTransformBackend::~LibWebRTCRtpReceiverTransformBackend): (WebCore::LibWebRTCRtpReceiverTransformBackend::setTransformableFrameCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverTransformBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::createRTCRtpTransformBackend): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderTransformBackend.cpp: Added. (WebCore::mediaTypeFromSender): (WebCore::LibWebRTCRtpSenderTransformBackend::LibWebRTCRtpSenderTransformBackend): (WebCore::LibWebRTCRtpSenderTransformBackend::~LibWebRTCRtpSenderTransformBackend): (WebCore::LibWebRTCRtpSenderTransformBackend::setTransformableFrameCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderTransformBackend.h: Added. * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.cpp: Added. (WebCore::LibWebRTCRtpTransformBackend::setInputCallback): (WebCore::LibWebRTCRtpTransformBackend::clearTransformableFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::setOutputCallback): (WebCore::LibWebRTCRtpTransformBackend::processTransformedFrame): (WebCore::LibWebRTCRtpTransformBackend::Transform): (WebCore::LibWebRTCRtpTransformBackend::RegisterTransformedFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::RegisterTransformedFrameSinkCallback): (WebCore::LibWebRTCRtpTransformBackend::UnregisterTransformedFrameCallback): (WebCore::LibWebRTCRtpTransformBackend::UnregisterTransformedFrameSinkCallback): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.h: Added. (WebCore::LibWebRTCRtpTransformBackend::LibWebRTCRtpTransformBackend): (WebCore::LibWebRTCRtpTransformBackend::Release const): * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.h: Added. (WebCore::LibWebRTCRtpTransformableFrame::LibWebRTCRtpTransformableFrame): (WebCore::LibWebRTCRtpTransformableFrame::toRTCFrame): (WebCore::LibWebRTCRtpTransformableFrame::data const): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): * bindings/scripts/test/JS/JSTestInterface.h: * testing/Internals.cpp: (WebCore::Internals::createMockRTCRtpTransform): * testing/Internals.h: * testing/Internals.idl: * testing/MockRTCRtpTransform.cpp: Added. (WebCore::MockRTCRtpTransformer::create): (WebCore::MockRTCRtpTransformer::clear): (WebCore::MockRTCRtpTransformer::transform): (WebCore::MockRTCRtpTransformer::isProcessing const): (WebCore::MockRTCRtpTransformer::MockRTCRtpTransformer): (WebCore::MockRTCRtpTransform::MockRTCRtpTransform): (WebCore::MockRTCRtpTransform::~MockRTCRtpTransform): (WebCore::MockRTCRtpTransform::isProcessing const): (WebCore::MockRTCRtpTransform::initializeBackendForReceiver): (WebCore::MockRTCRtpTransform::initializeBackendForSender): (WebCore::MockRTCRtpTransform::willClearBackend): * testing/MockRTCRtpTransform.h: Added. * testing/MockRTCRtpTransform.idl: Added. Source/WebKit: Remove no longer needed const casting. * Configurations/WebKit.xcconfig: * WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp: (WebKit::LibWebRTCCodecs::completedEncoding): Source/WTF: Add an experimental preference for WebRTC transforms. * Scripts/Preferences/WebPreferencesExperimental.yaml: LayoutTests: * webrtc/webrtc-transform-expected.txt: Added. * webrtc/webrtc-transform.html: Added. Canonical link: https://commits.webkit.org/231538@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-13 07:20:19 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpTransform.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCRtpTransform.h
Introduce a C++ chain of operations in RTCPeerConnection https://bugs.webkit.org/show_bug.cgi?id=216006 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-timing.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceConnectionState.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-operations.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-answer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-parameterless.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-rollback-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-track-stats.https-expected.txt: * web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt: * web-platform-tests/webrtc/idlharness.https.window-expected.txt: Source/WebCore: Remove RTCPeerConnection JS built-ins and introduce a C++ version. This allows to make replaceTrack part of the chain of operation. Also update setLocalDescription to take no parameters. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/mediastream/PeerConnectionBackend.cpp: (WebCore::PeerConnectionBackend::createOfferSucceeded): (WebCore::PeerConnectionBackend::createAnswerSucceeded): (WebCore::PeerConnectionBackend::setLocalDescription): (WebCore::PeerConnectionBackend::setRemoteDescription): (WebCore::PeerConnectionBackend::transceiverFromSender): Deleted. * Modules/mediastream/PeerConnectionBackend.h: * Modules/mediastream/RTCIceCandidate.cpp: (WebCore::RTCIceCandidate::create): * Modules/mediastream/RTCIceCandidate.h: * Modules/mediastream/RTCIceCandidate.idl: * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::create): (WebCore::RTCPeerConnection::removeTrack): (WebCore::RTCPeerConnection::createOffer): (WebCore::RTCPeerConnection::createAnswer): (WebCore::RTCPeerConnection::setLocalDescription): (WebCore::RTCPeerConnection::setRemoteDescription): (WebCore::RTCPeerConnection::addIceCandidate): (WebCore::RTCPeerConnection::getStats): (WebCore::RTCPeerConnection::doClose): (WebCore::RTCPeerConnection::scheduleNegotiationNeededEvent): (WebCore::RTCPeerConnection::chainOperation): (WebCore::RTCPeerConnection::initializeWith): Deleted. (WebCore::RTCPeerConnection::queuedCreateOffer): Deleted. (WebCore::RTCPeerConnection::queuedCreateAnswer): Deleted. (WebCore::RTCPeerConnection::queuedSetLocalDescription): Deleted. (WebCore::RTCPeerConnection::queuedSetRemoteDescription): Deleted. (WebCore::RTCPeerConnection::queuedAddIceCandidate): Deleted. * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCPeerConnection.idl: * Modules/mediastream/RTCPeerConnection.js: Removed. * Modules/mediastream/RTCPeerConnectionInternals.js: Removed. * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::create): (WebCore::RTCRtpSender::RTCRtpSender): (WebCore::RTCRtpSender::replaceTrack): (WebCore::RTCRtpSender::isCreatedBy const): (WebCore::RTCRtpSender::dtmf): (WebCore::RTCRtpSender::currentTransceiverDirection const): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSender.idl: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/RTCSessionDescription.cpp: (WebCore::RTCSessionDescription::create): * Modules/mediastream/RTCSessionDescription.h: * Modules/mediastream/RTCSessionDescription.idl: * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp: (WebCore::LibWebRTCMediaEndpoint::doSetLocalDescription): (WebCore::LibWebRTCMediaEndpoint::doSetRemoteDescription): * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h: * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp: (WebCore::LibWebRTCPeerConnectionBackend::doSetLocalDescription): (WebCore::LibWebRTCPeerConnectionBackend::doSetRemoteDescription): (WebCore::LibWebRTCPeerConnectionBackend::addTrack): (WebCore::LibWebRTCPeerConnectionBackend::addTransceiverFromTrackOrKind): (WebCore::LibWebRTCPeerConnectionBackend::newRemoteTransceiver): * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::replaceTrack): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: LayoutTests: * fast/mediastream/RTCIceCandidate-expected.txt: * fast/mediastream/RTCPeerConnection-addIceCandidate-expected.txt: * fast/mediastream/RTCPeerConnection-media-setup-single-dialog-expected.txt: * fast/mediastream/RTCPeerConnection-remotely-assigned-transceiver-mid-expected.txt: * webrtc/libwebrtc/release-while-creating-offer-expected.txt: * webrtc/remove-track-expected.txt: * webrtc/remove-track.html: Make sure we are in a stable state before going to removeTrack actual test. Also make sure to call setRemoteDescription for second test. Canonical link: https://commits.webkit.org/228873@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-02 16:19:52 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCSdpType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCSdpType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCSessionDescription.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCSessionDescription.h
Introduce a C++ chain of operations in RTCPeerConnection https://bugs.webkit.org/show_bug.cgi?id=216006 Reviewed by Eric Carlson. LayoutTests/imported/w3c: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate-timing.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceConnectionState.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-iceGatheringState-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-operations.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-answer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setLocalDescription-parameterless.https-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-offer-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-setRemoteDescription-rollback-expected.txt: * web-platform-tests/webrtc/RTCPeerConnection-track-stats.https-expected.txt: * web-platform-tests/webrtc/RTCRtpTransceiver.https-expected.txt: * web-platform-tests/webrtc/idlharness.https.window-expected.txt: Source/WebCore: Remove RTCPeerConnection JS built-ins and introduce a C++ version. This allows to make replaceTrack part of the chain of operation. Also update setLocalDescription to take no parameters. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/mediastream/PeerConnectionBackend.cpp: (WebCore::PeerConnectionBackend::createOfferSucceeded): (WebCore::PeerConnectionBackend::createAnswerSucceeded): (WebCore::PeerConnectionBackend::setLocalDescription): (WebCore::PeerConnectionBackend::setRemoteDescription): (WebCore::PeerConnectionBackend::transceiverFromSender): Deleted. * Modules/mediastream/PeerConnectionBackend.h: * Modules/mediastream/RTCIceCandidate.cpp: (WebCore::RTCIceCandidate::create): * Modules/mediastream/RTCIceCandidate.h: * Modules/mediastream/RTCIceCandidate.idl: * Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::create): (WebCore::RTCPeerConnection::removeTrack): (WebCore::RTCPeerConnection::createOffer): (WebCore::RTCPeerConnection::createAnswer): (WebCore::RTCPeerConnection::setLocalDescription): (WebCore::RTCPeerConnection::setRemoteDescription): (WebCore::RTCPeerConnection::addIceCandidate): (WebCore::RTCPeerConnection::getStats): (WebCore::RTCPeerConnection::doClose): (WebCore::RTCPeerConnection::scheduleNegotiationNeededEvent): (WebCore::RTCPeerConnection::chainOperation): (WebCore::RTCPeerConnection::initializeWith): Deleted. (WebCore::RTCPeerConnection::queuedCreateOffer): Deleted. (WebCore::RTCPeerConnection::queuedCreateAnswer): Deleted. (WebCore::RTCPeerConnection::queuedSetLocalDescription): Deleted. (WebCore::RTCPeerConnection::queuedSetRemoteDescription): Deleted. (WebCore::RTCPeerConnection::queuedAddIceCandidate): Deleted. * Modules/mediastream/RTCPeerConnection.h: * Modules/mediastream/RTCPeerConnection.idl: * Modules/mediastream/RTCPeerConnection.js: Removed. * Modules/mediastream/RTCPeerConnectionInternals.js: Removed. * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::create): (WebCore::RTCRtpSender::RTCRtpSender): (WebCore::RTCRtpSender::replaceTrack): (WebCore::RTCRtpSender::isCreatedBy const): (WebCore::RTCRtpSender::dtmf): (WebCore::RTCRtpSender::currentTransceiverDirection const): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSender.idl: * Modules/mediastream/RTCRtpSenderBackend.h: * Modules/mediastream/RTCSessionDescription.cpp: (WebCore::RTCSessionDescription::create): * Modules/mediastream/RTCSessionDescription.h: * Modules/mediastream/RTCSessionDescription.idl: * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp: (WebCore::LibWebRTCMediaEndpoint::doSetLocalDescription): (WebCore::LibWebRTCMediaEndpoint::doSetRemoteDescription): * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h: * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp: (WebCore::LibWebRTCPeerConnectionBackend::doSetLocalDescription): (WebCore::LibWebRTCPeerConnectionBackend::doSetRemoteDescription): (WebCore::LibWebRTCPeerConnectionBackend::addTrack): (WebCore::LibWebRTCPeerConnectionBackend::addTransceiverFromTrackOrKind): (WebCore::LibWebRTCPeerConnectionBackend::newRemoteTransceiver): * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp: (WebCore::LibWebRTCRtpSenderBackend::replaceTrack): * Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: LayoutTests: * fast/mediastream/RTCIceCandidate-expected.txt: * fast/mediastream/RTCPeerConnection-addIceCandidate-expected.txt: * fast/mediastream/RTCPeerConnection-media-setup-single-dialog-expected.txt: * fast/mediastream/RTCPeerConnection-remotely-assigned-transceiver-mid-expected.txt: * webrtc/libwebrtc/release-while-creating-offer-expected.txt: * webrtc/remove-track-expected.txt: * webrtc/remove-track.html: Make sure we are in a stable state before going to removeTrack actual test. Also make sure to call setRemoteDescription for second test. Canonical link: https://commits.webkit.org/228873@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-02 16:19:52 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCSessionDescriptionInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCSessionDescriptionInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCSignalingState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCSignalingState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCStatsReport.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCStatsReport.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCTrackEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCTrackEvent.h
Update RTCRtpScriptTransform to the latest version of the spec https://bugs.webkit.org/show_bug.cgi?id=222982 Reviewed by Eric Carlson. Source/WebCore: Move from AudioWorklet model to an event based model as per latest specification. RTCRtpScriptTransformer concentrates all the API and is exposed to worker using a new rtctransform event. Add support for options parameter provided in RTCRtpScriptTransform constructor. Covered by existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCRtpScriptTransform.cpp: (WebCore::RTCRtpScriptTransform::create): (WebCore::RTCRtpScriptTransform::setTransformer): * Modules/mediastream/RTCRtpScriptTransform.h: * Modules/mediastream/RTCRtpScriptTransform.idl: * Modules/mediastream/RTCRtpScriptTransformProvider.idl: * Modules/mediastream/RTCRtpScriptTransformer.cpp: (WebCore::RTCRtpScriptTransformer::create): (WebCore::RTCRtpScriptTransformer::RTCRtpScriptTransformer): (WebCore::RTCRtpScriptTransformer::readable): (WebCore::RTCRtpScriptTransformer::writable): (WebCore::RTCRtpScriptTransformer::start): (WebCore::RTCRtpScriptTransformer::requestKeyFrame): (WebCore::RTCRtpScriptTransformer::options): * Modules/mediastream/RTCRtpScriptTransformer.h: (WebCore::RTCRtpScriptTransformer::startPendingActivity): * Modules/mediastream/RTCRtpScriptTransformer.idl: * Modules/mediastream/RTCRtpScriptTransformerConstructor.h: Removed. * Modules/mediastream/RTCRtpScriptTransformerConstructor.idl: Removed. * Modules/mediastream/RTCRtpScriptTransformerContext.h: Removed. * Modules/mediastream/RTCRtpScriptTransformerContext.idl: Removed. * Modules/mediastream/RTCTransformEvent.cpp: Added. * Modules/mediastream/RTCTransformEvent.h: Added. * Modules/mediastream/RTCTransformEvent.idl: Added. * Modules/model-element/HTMLModelElement.cpp: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ReadableStream.h: (WebCore::toJS): * bindings/js/WebCoreBuiltinNames.h: * bindings/js/WritableStream.h: (WebCore::toJS): * dom/EventNames.h: * dom/EventNames.in: * workers/DedicatedWorkerGlobalScope.cpp: (WebCore::DedicatedWorkerGlobalScope::prepareForDestruction): (WebCore::DedicatedWorkerGlobalScope::createRTCRtpScriptTransformer): * workers/DedicatedWorkerGlobalScope.h: * workers/Worker.cpp: (WebCore::Worker::createRTCRtpScriptTransformer): * workers/Worker.h: LayoutTests: * http/wpt/webrtc/audio-script-transform.html: * http/wpt/webrtc/context-transform.js: (MockRTCRtpTransformer): (MockRTCRtpTransformer.prototype.start): (MockRTCRtpTransformer.prototype.process): (onrtctransform): * http/wpt/webrtc/no-transform.js: * http/wpt/webrtc/no-webrtc-transform-expected.txt: * http/wpt/webrtc/no-webrtc-transform.html: * http/wpt/webrtc/script-transform.js: (onrtctransform.process): (onrtctransform): * http/wpt/webrtc/sframe-transform.js: (onrtctransform): * http/wpt/webrtc/video-script-transform.html: Canonical link: https://commits.webkit.org/235252@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-13 11:11:28 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCTransformEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRTCTransformEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRadioNodeList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRadioNodeList.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRange+CSSOMView.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRange+CSSOMView.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRange+DOMParsing.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRange+DOMParsing.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRange.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRange.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableByteStreamController.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableByteStreamController.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStream.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStream.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamBYOBReader.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamBYOBReader.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamBYOBRequest.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamBYOBRequest.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamDefaultController.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamDefaultController.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamDefaultReader.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamDefaultReader.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamSink.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamSink.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSReadableStreamSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRemoteDOMWindow.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRemoteDOMWindow.h
Implement the Remote Playback API. https://bugs.webkit.org/show_bug.cgi?id=162971 Reviewed by Youenn Fablet. Source/JavaScriptCore: Add RemotePlayback as a common identifier, needed for bindings due to "EnabledAtRuntime=RemotePlayback". * runtime/CommonIdentifiers.h: Source/WebCore: Tests: media/remoteplayback-cancel-invalid.html media/remoteplayback-prompt.html media/remoteplayback-target-availability.html media/remoteplayback-watch-disableremoteplayback.html imported/w3c/web-platform-tests/remote-playback/cancel-watch-availability.html imported/w3c/web-platform-tests/remote-playback/disable-remote-playback-cancel-watch-availability-throws.html imported/w3c/web-platform-tests/remote-playback/disable-remote-playback-prompt-throws.html imported/w3c/web-platform-tests/remote-playback/disable-remote-playback-watch-availability-throws.html imported/w3c/web-platform-tests/remote-playback/idlharness.window.html imported/w3c/web-platform-tests/remote-playback/watch-availability-initial-callback.html The Remote Playback API <https://w3c.github.io/remote-playback> allows page authors to control the presentation of <audio> and <video> elements to remote playback devices such as the Apple TV or Chromecast. WebKit already exposes a non-standardized API to initiate remote playback, and the Remote Playback API is largely congruent with the webkitShowPlaybackTargetPicker() API et. al. One addition provided by the Remote Playback API is an event in the case the user dismisses the picker UI without making a choice, so this concept needs to be plumbed through from the ChromeClient to the PlatformMediaSession. * DerivedSources.make: * Modules/mediasession/WebMediaSessionManager.cpp: (WebCore::WebMediaSessionManager::mockMediaPlaybackTargetPickerDismissPopup): (WebCore::WebMediaSessionManager::playbackTargetPickerWasDismissed): (WebCore::WebMediaSessionManager::configurePlaybackTargetClients): * Modules/mediasession/WebMediaSessionManager.h: * Modules/mediasession/WebMediaSessionManagerClient.h: * Modules/remoteplayback/HTMLMediaElementRemotePlayback.h: Added. (WebCore::HTMLMediaElementRemotePlayback::remote): (WebCore::HTMLMediaElementRemotePlayback::hasAttributeWithoutSynchronization): (WebCore::HTMLMediaElementRemotePlayback::setBooleanAttribute): * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Added. * Modules/remoteplayback/RemotePlayback.cpp: Added. (WebCore::RemotePlayback::create): (WebCore::RemotePlayback::RemotePlayback): (WebCore::RemotePlayback::~RemotePlayback): (WebCore::RemotePlayback::watchAvailability): (WebCore::RemotePlayback::cancelWatchAvailability): (WebCore::RemotePlayback::prompt): (WebCore::RemotePlayback::shouldPlayToRemoteTargetChanged): (WebCore::RemotePlayback::setState): (WebCore::RemotePlayback::establishConnection): (WebCore::RemotePlayback::disconnect): (WebCore::RemotePlayback::updateAvailability): (WebCore::RemotePlayback::playbackTargetPickerWasDismissed): (WebCore::RemotePlayback::isPlayingToRemoteTargetChanged): (WebCore::RemotePlayback::hasAvailabilityCallbacks): (WebCore::RemotePlayback::availabilityChanged): (WebCore::RemotePlayback::invalidate): (WebCore::RemotePlayback::activeDOMObjectName): (WebCore::RemotePlayback::canSuspendForDocumentSuspension): (WebCore::RemotePlayback::stop): * Modules/remoteplayback/RemotePlayback.h: Added. (WebCore::RemotePlayback::state): * Modules/remoteplayback/RemotePlayback.idl: Added. * Modules/remoteplayback/RemotePlaybackAvailabilityCallback.h: Added. (WebCore::RemotePlaybackAvailabilityCallback::~RemotePlaybackAvailabilityCallback): * Modules/remoteplayback/RemotePlaybackAvailabilityCallback.idl: Added. * WebCore.xcodeproj/project.pbxproj: * bindings/generic/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setRemotePlaybackEnabled): (WebCore::RuntimeEnabledFeatures::remotePlaybackEnabled): * dom/Document.cpp: (WebCore::Document::playbackTargetPickerWasDismissed): * dom/Document.h: * dom/EventNames.h: * dom/EventTargetFactory.in: * html/HTMLAttributeNames.in: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): (WebCore::HTMLMediaElement::~HTMLMediaElement): (WebCore::HTMLMediaElement::clearMediaPlayer): (WebCore::HTMLMediaElement::wirelessRoutesAvailableDidChange): (WebCore::HTMLMediaElement::mediaPlayerCurrentPlaybackTargetIsWirelessChanged): (WebCore::HTMLMediaElement::addEventListener): (WebCore::HTMLMediaElement::removeEventListener): (WebCore::HTMLMediaElement::setWirelessPlaybackTarget): (WebCore::HTMLMediaElement::playbackTargetPickerWasDismissed): (WebCore::HTMLMediaElement::remoteHasAvailabilityCallbacksChanged): (WebCore::HTMLMediaElement::createMediaPlayer): * html/HTMLMediaElement.h: (WebCore::HTMLMediaElement::remote): * html/MediaElementSession.cpp: (WebCore::MediaElementSession::wirelessVideoPlaybackDisabled): (WebCore::MediaElementSession::playbackTargetPickerWasDismissed): * html/MediaElementSession.h: * page/Page.cpp: (WebCore::Page::mockMediaPlaybackTargetPickerDismissPopup): (WebCore::Page::playbackTargetPickerWasDismissed): * page/Page.h: * page/Settings.in: * platform/audio/PlatformMediaSession.h: (WebCore::PlatformMediaSessionClient::playbackTargetPickerWasDismissed): * platform/graphics/MediaPlaybackTargetClient.h: * platform/graphics/MediaPlaybackTargetPicker.h: (WebCore::MediaPlaybackTargetPicker::playbackTargetPickerWasDismissed): * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm: (WebCore::MediaPlaybackTargetPickerMac::showPlaybackTargetPicker): * platform/mock/MediaPlaybackTargetPickerMock.cpp: (WebCore::MediaPlaybackTargetPickerMock::dismissPopup): * platform/mock/MediaPlaybackTargetPickerMock.h: * testing/Internals.cpp: (WebCore::Internals::mockMediaPlaybackTargetPickerDismissPopup): * testing/Internals.h: * testing/Internals.idl: Source/WebKit: Add a preference to enable the Remote Playback API. Pass the playbackTargetPickerWasDismissed() notification on to Page. * Shared/WebPreferencesDefinitions.h: * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesGetRemotePlaybackEnabled): (WKPreferencesSetRemotePlaybackEnabled): * UIProcess/API/C/WKPreferencesRef.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::playbackTargetPickerWasDismissed): * UIProcess/WebPageProxy.h: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::mockMediaPlaybackTargetPickerDismissPopup): * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: * WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::playbackTargetPickerWasDismissed): Tools: Enable RemotePlayback for DumpRenderTree and WebKitTestRunner. * DumpRenderTree/mac/DumpRenderTree.mm: (resetWebPreferencesToConsistentValues): * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): LayoutTests: * media/remoteplayback-cancel-invalid-expected.txt: Added. * media/remoteplayback-cancel-invalid.html: Added. * media/remoteplayback-prompt-expected.txt: Added. * media/remoteplayback-prompt.html: Added. * media/remoteplayback-target-availability-expected.txt: Added. * media/remoteplayback-target-availability.html: Added. * media/remoteplayback-watch-disableremoteplayback-expected.txt: Added. * media/remoteplayback-watch-disableremoteplayback.html: Added. * platform/ios-wk2/TestExpectations: Canonical link: https://commits.webkit.org/216954@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-29 21:54:07 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRemotePlayback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRemotePlayback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRemotePlaybackAvailabilityCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRemotePlaybackAvailabilityCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRequestAnimationFrameCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRequestAnimationFrameCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSResizeObserver.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSResizeObserver.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSResizeObserverCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSResizeObserverCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSResizeObserverEntry.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSResizeObserverEntry.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaHashedImportParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaHashedImportParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaHashedKeyGenParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaHashedKeyGenParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaKeyGenParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaKeyGenParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaOaepParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaOaepParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaOtherPrimesInfo.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaOtherPrimesInfo.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaPssParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSRsaPssParams.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLError.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLError.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLResultSet.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLResultSet.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLResultSetRowList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLResultSetRowList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLStatementCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLStatementCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLStatementErrorCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLStatementErrorCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLTransaction.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLTransaction.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLTransactionCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLTransactionCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLTransactionErrorCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSQLTransactionErrorCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAltGlyphDefElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAltGlyphDefElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAltGlyphElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAltGlyphElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAltGlyphItemElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAltGlyphItemElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAngle.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAngle.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimateColorElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimateColorElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimateElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimateElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimateMotionElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimateMotionElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimateTransformElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimateTransformElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedAngle.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedAngle.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedBoolean.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedBoolean.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedEnumeration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedEnumeration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedInteger.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedInteger.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedLength.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedLength.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedLengthList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedLengthList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedNumber.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedNumber.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedNumberList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedNumberList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedPreserveAspectRatio.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedPreserveAspectRatio.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedRect.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedRect.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedString.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedString.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedTransformList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimatedTransformList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimationElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGAnimationElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGCircleElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGCircleElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGClipPathElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGClipPathElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGComponentTransferFunctionElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGComponentTransferFunctionElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGCursorElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGCursorElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGDefsElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGDefsElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGDescElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGDescElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGDocument.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGDocument.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGElementWrapperFactory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGElementWrapperFactory.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGEllipseElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGEllipseElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEBlendElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEBlendElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEColorMatrixElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEColorMatrixElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEComponentTransferElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEComponentTransferElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFECompositeElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFECompositeElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEConvolveMatrixElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEConvolveMatrixElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEDiffuseLightingElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEDiffuseLightingElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEDisplacementMapElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEDisplacementMapElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEDistantLightElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEDistantLightElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEDropShadowElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEDropShadowElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEFloodElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEFloodElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEFuncAElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEFuncAElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEFuncBElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEFuncBElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEFuncGElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEFuncGElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEFuncRElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEFuncRElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEGaussianBlurElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEGaussianBlurElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEImageElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEImageElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEMergeElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEMergeElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEMergeNodeElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEMergeNodeElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEMorphologyElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEMorphologyElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEOffsetElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEOffsetElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEPointLightElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFEPointLightElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFESpecularLightingElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFESpecularLightingElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFESpotLightElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFESpotLightElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFETileElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFETileElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFETurbulenceElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFETurbulenceElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFilterElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFilterElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFilterPrimitiveStandardAttributes.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFilterPrimitiveStandardAttributes.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFitToViewBox.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFitToViewBox.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontFaceElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontFaceElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontFaceFormatElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontFaceFormatElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontFaceNameElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontFaceNameElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontFaceSrcElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontFaceSrcElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontFaceUriElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGFontFaceUriElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGForeignObjectElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGForeignObjectElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGeometryElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGeometryElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGlyphElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGlyphElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGlyphRefElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGlyphRefElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGradientElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGradientElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGraphicsElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGGraphicsElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGHKernElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGHKernElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGImageElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGImageElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGLength.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGLength.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGLengthList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGLengthList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGLineElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGLineElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGLinearGradientElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGLinearGradientElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMPathElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMPathElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMarkerElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMarkerElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMaskElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMaskElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMatrix.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMatrix.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMetadataElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMetadataElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMissingGlyphElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGMissingGlyphElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGNumber.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGNumber.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGNumberList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGNumberList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSeg.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSeg.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegArcAbs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegArcAbs.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegArcRel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegArcRel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegClosePath.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegClosePath.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoCubicAbs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoCubicAbs.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoCubicRel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoCubicRel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoCubicSmoothAbs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoCubicSmoothAbs.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoCubicSmoothRel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoCubicSmoothRel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoQuadraticAbs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoQuadraticAbs.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoQuadraticRel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoQuadraticRel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoQuadraticSmoothAbs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoQuadraticSmoothAbs.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoQuadraticSmoothRel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegCurvetoQuadraticSmoothRel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoAbs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoAbs.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoHorizontalAbs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoHorizontalAbs.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoHorizontalRel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoHorizontalRel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoRel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoRel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoVerticalAbs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoVerticalAbs.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoVerticalRel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegLinetoVerticalRel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegMovetoAbs.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegMovetoAbs.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegMovetoRel.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPathSegMovetoRel.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPatternElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPatternElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPoint.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPoint.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPointList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPointList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPolygonElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPolygonElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPolylineElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPolylineElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPreserveAspectRatio.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGPreserveAspectRatio.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGRadialGradientElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGRadialGradientElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGRect.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGRect.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGRectElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGRectElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGRenderingIntent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGRenderingIntent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGSVGElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGSVGElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGScriptElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGScriptElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGSetElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGSetElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGStopElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGStopElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGStringList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGStringList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGStyleElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGStyleElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGSwitchElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGSwitchElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGSymbolElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGSymbolElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTRefElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTRefElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTSpanElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTSpanElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTests.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTests.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTextContentElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTextContentElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTextElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTextElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTextPathElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTextPathElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTextPositioningElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTextPositioningElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTitleElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTitleElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTransform.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTransform.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTransformList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGTransformList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGURIReference.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGURIReference.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGUnitTypes.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGUnitTypes.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGUseElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGUseElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGVKernElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGVKernElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGViewElement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGViewElement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGViewSpec.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGViewSpec.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGZoomAndPan.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGZoomAndPan.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGZoomEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSVGZoomEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScreen.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScreen.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScriptProcessorNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScriptProcessorNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScrollBehavior.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScrollBehavior.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScrollIntoViewOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScrollIntoViewOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScrollLogicalPosition.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScrollLogicalPosition.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScrollOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScrollOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScrollToOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSScrollToOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSecurityPolicyViolationEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSecurityPolicyViolationEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorker.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorker.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerClient.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerClient.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerClientType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerClientType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerClients.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerClients.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerContainer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerContainer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerGlobalScope.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerGlobalScope.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerInternals.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerInternals.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerRegistration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerRegistration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerUpdateViaCache.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerUpdateViaCache.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerWindowClient.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSServiceWorkerWindowClient.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSShadowRoot.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSShadowRoot.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSShadowRootInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSShadowRootInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSShadowRootMode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSShadowRootMode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSShareData.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSShareData.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSlotable.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSlotable.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSourceBuffer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSourceBuffer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSourceBufferList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSourceBufferList.h
Add stubs for SpeechRecognition https://bugs.webkit.org/show_bug.cgi?id=217780 <rdar://problem/70350727> Reviewed by Youenn Fablet. LayoutTests/imported/w3c: * web-platform-tests/speech-api/SpeechRecognition-basics.https-expected.txt: * web-platform-tests/speech-api/idlharness.window-expected.txt: Source/WebCore: Add bindings code and a feature flag for SpeechRecognition. Spec: https://wicg.github.io/speech-api/#speechreco-section. This patch includes all interfaces of SpeechRecognition, except SpeechGrammar and SpeechGrammarList. We have not decided what grammar format and types we are going to support, or how we are going to support it if it is not defined in exisiting speech recognition service. So let's add those interfaces after we figure this out. No new tests. Rebaseline existins tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/speech/SpeechRecognition.cpp: Added. (WebCore::SpeechRecognition::create): (WebCore::SpeechRecognition::SpeechRecognition): (WebCore::SpeechRecognition::suspend): (WebCore::SpeechRecognition::startRecognition): (WebCore::SpeechRecognition::stopRecognition): (WebCore::SpeechRecognition::abortRecognition): (WebCore::SpeechRecognition::activeDOMObjectName const): * Modules/speech/SpeechRecognition.h: Added. (WebCore::SpeechRecognition::lang const): (WebCore::SpeechRecognition::setLang): (WebCore::SpeechRecognition::continuous const): (WebCore::SpeechRecognition::setContinuous): (WebCore::SpeechRecognition::interimResults const): (WebCore::SpeechRecognition::setInterimResults): (WebCore::SpeechRecognition::maxAlternatives const): (WebCore::SpeechRecognition::setMaxAlternatives): * Modules/speech/SpeechRecognition.idl: Added. * Modules/speech/SpeechRecognitionAlternative.cpp: Added. (WebCore::SpeechRecognitionAlternative::create): (WebCore::SpeechRecognitionAlternative::SpeechRecognitionAlternative): * Modules/speech/SpeechRecognitionAlternative.h: Added. * Modules/speech/SpeechRecognitionAlternative.idl: Added. * Modules/speech/SpeechRecognitionErrorCode.h: Added. * Modules/speech/SpeechRecognitionErrorCode.idl: Added. * Modules/speech/SpeechRecognitionErrorEvent.cpp: Added. (WebCore::SpeechRecognitionErrorEvent::create): (WebCore::SpeechRecognitionErrorEvent::SpeechRecognitionErrorEvent): (WebCore::SpeechRecognitionErrorEvent::eventInterface const): * Modules/speech/SpeechRecognitionErrorEvent.h: Added. * Modules/speech/SpeechRecognitionErrorEvent.idl: Added. * Modules/speech/SpeechRecognitionEvent.cpp: Added. (WebCore::SpeechRecognitionEvent::create): (WebCore::SpeechRecognitionEvent::SpeechRecognitionEvent): (WebCore::SpeechRecognitionEvent::eventInterface const): * Modules/speech/SpeechRecognitionEvent.h: Added. * Modules/speech/SpeechRecognitionEvent.idl: Added. * Modules/speech/SpeechRecognitionResult.cpp: Added. (WebCore::SpeechRecognitionResult::create): (WebCore::SpeechRecognitionResult::SpeechRecognitionResult): (WebCore::SpeechRecognitionResult::item const): * Modules/speech/SpeechRecognitionResult.h: Added. * Modules/speech/SpeechRecognitionResult.idl: Added. * Modules/speech/SpeechRecognitionResultList.cpp: Added. (WebCore::SpeechRecognitionResultList::create): (WebCore::SpeechRecognitionResultList::item const): (WebCore::SpeechRecognitionResultList::add): (WebCore::SpeechRecognitionResultList::SpeechRecognitionResultList): * Modules/speech/SpeechRecognitionResultList.h: Added. * Modules/speech/SpeechRecognitionResultList.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventNames.in: * dom/EventTargetFactory.in: Source/WebKitLegacy/mac: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (-[WebPreferences _speechRecognitionEnabled]): (-[WebPreferences _setSpeechRecognitionEnabled:]): * WebView/WebPreferencesPrivate.h: Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnable.h: Tools: * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): LayoutTests: * platform/mac/TestExpectations: Canonical link: https://commits.webkit.org/230705@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-20 21:54:36 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognition.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognition.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionAlternative.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionAlternative.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionErrorCode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionErrorCode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionErrorEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionErrorEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionResult.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionResult.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionResultList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechRecognitionResultList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechSynthesis.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechSynthesis.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechSynthesisEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechSynthesisEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechSynthesisUtterance.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechSynthesisUtterance.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechSynthesisVoice.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSpeechSynthesisVoice.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStaticRange.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStaticRange.h
Introduce StereoPannerNode Interface https://bugs.webkit.org/show_bug.cgi?id=215518 Patch by Clark Wang <clark_wang@apple.com> on 2020-08-20 Reviewed by Darin Adler. LayoutTests/imported/w3c: Re-baselined existing tests. Some now fail due to missing automation rate. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-connect-method-chaining-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/automation-rate-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-connections-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-stereo-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/ctor-stereopanner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/no-dezippering-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/stereopannernode-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-stereopanner-interface/stereopannernode-panning-expected.txt: Source/WebCore: Added StereoPannerNode according to spec: https://www.w3.org/TR/webaudio/#stereopannernode. Used Chromium implementation for guidance: https://source.chromium.org/chromium/chromium/src/ +/master:third_party/blink/renderer/modules/webaudio/stereo_panner_node.cc. Added in StereoPannerOptions and StereoPanner files as well. The latter used Chromium implementation for guidance: https://source.chromium.org/chromium/chromium/src/+ /master:third_party/blink/renderer/platform/audio/stereo_panner.cc Re-baselined existing tests. Some now fail due to missing automation rate. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioNode.cpp: (WebCore::convertEnumerationToString): * Modules/webaudio/AudioNode.h: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createStereoPanner): * Modules/webaudio/BaseAudioContext.h: * Modules/webaudio/BaseAudioContext.idl: * Modules/webaudio/StereoPannerNode.cpp: Added. (WebCore::StereoPannerNode::create): (WebCore::StereoPannerNode::StereoPannerNode): (WebCore::StereoPannerNode::~StereoPannerNode): (WebCore::StereoPannerNode::process): (WebCore::StereoPannerNode::initialize): (WebCore::StereoPannerNode::uninitialize): (WebCore::StereoPannerNode::listener): (WebCore::StereoPannerNode::setChannelCount): (WebCore::StereoPannerNode::setChannelCountMode): * Modules/webaudio/StereoPannerNode.h: Added. * Modules/webaudio/StereoPannerNode.idl: Added. * Modules/webaudio/StereoPannerOptions.h: Added. * Modules/webaudio/StereoPannerOptions.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * platform/audio/StereoPanner.cpp: Added. (WebCore::StereoPanner::create): (WebCore::StereoPanner::StereoPanner): (WebCore::StereoPanner::panWithSampleAccurateValues): (WebCore::StereoPanner::panToTargetValue): * platform/audio/StereoPanner.h: Added. (WebCore::StereoPanner::~StereoPanner): * platform/graphics/cocoa/SourceBufferParserWebM.cpp: Canonical link: https://commits.webkit.org/228460@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-20 20:44:25 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStereoPannerNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStereoPannerNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStereoPannerOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStereoPannerOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStorage.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStorage.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStorageEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStorageEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStringCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStringCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStyleMedia.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStyleMedia.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStylePropertyMap.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStylePropertyMap.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStylePropertyMapReadOnly.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStylePropertyMapReadOnly.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStyleSheet.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStyleSheet.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStyleSheetList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSStyleSheetList.h
Implement 'SubmitEvent' interface https://bugs.webkit.org/show_bug.cgi?id=202978 Reviewed by Alex Christensen. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/html/semantics/forms/form-submission-0/SubmitEvent.window-expected.txt: * web-platform-tests/html/semantics/forms/form-submission-0/implicit-submission.optional-expected.txt: Source/WebCore: Implement 'SubmitEvent' interface as per: - https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submitevent Both Chrome and Firefox already ship this. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/EventNames.in: * html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::submitIfPossible): * html/SubmitEvent.cpp: Added. (WebCore::SubmitEvent::create): (WebCore::SubmitEvent::SubmitEvent): (WebCore::SubmitEvent::eventInterface const): * html/SubmitEvent.h: Added. (WebCore::SubmitEvent::submitter const): * html/SubmitEvent.idl: Added. * html/SubmitInputType.cpp: (WebCore::SubmitInputType::handleDOMActivateEvent): Make sure SubmitInputType::handleDOMActivateEvent() passes its element as submitter when submitting the form. One of the subtests in html/semantics/forms/form-submission-0/implicit-submission.optional.html covers this. LayoutTests: Rebaseline WPT test now that more checks are passing. * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: Canonical link: https://commits.webkit.org/239722@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-16 06:52:15 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSubmitEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSubmitEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSubtleCrypto.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSSubtleCrypto.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSText.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSText.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextDecoder.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextDecoder.h
Add support for TextDecoderStream https://bugs.webkit.org/show_bug.cgi?id=215919 Reviewed by Alex Christensen. LayoutTests/imported/w3c: * web-platform-tests/encoding/streams/backpressure.any-expected.txt: * web-platform-tests/encoding/streams/backpressure.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-attributes.any-expected.txt: * web-platform-tests/encoding/streams/decode-attributes.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-bad-chunks.any-expected.txt: * web-platform-tests/encoding/streams/decode-bad-chunks.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-ignore-bom.any-expected.txt: * web-platform-tests/encoding/streams/decode-ignore-bom.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-incomplete-input.any-expected.txt: * web-platform-tests/encoding/streams/decode-incomplete-input.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-non-utf8.any-expected.txt: * web-platform-tests/encoding/streams/decode-non-utf8.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-split-character.any-expected.txt: * web-platform-tests/encoding/streams/decode-split-character.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-utf8.any-expected.txt: * web-platform-tests/encoding/streams/decode-utf8.any.worker-expected.txt: * web-platform-tests/encoding/streams/encode-bad-chunks.any-expected.txt: * web-platform-tests/encoding/streams/encode-bad-chunks.any.worker-expected.txt: * web-platform-tests/encoding/streams/readable-writable-properties.any-expected.txt: * web-platform-tests/encoding/streams/readable-writable-properties.any.worker-expected.txt: * web-platform-tests/encoding/streams/realms.window-expected.txt: Source/WebCore: Implement TextEncoderStream as a JS built-in. It is enabled by transform stream runtime flag. TextDecoderStream takes a TransformStream and TextDecoderStreamEncoder as private slots. Add TextDecoderStreamEncoder to implement the actual UTF-8 encoding steps, as a wrapper around TextDecoder. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/TextDecoderStream.idl: Added. * dom/TextDecoderStream.js: Added. (initializeTextDecoderStream): (getter.encoding): (getter.fatal): (getter.ignoreBOM): (getter.readable): (getter.writable): * dom/TextDecoderStreamDecoder.cpp: Added. (WebCore::TextDecoderStreamDecoder::create): (WebCore::TextDecoderStreamDecoder::TextDecoderStreamDecoder): (WebCore::TextDecoderStreamDecoder::decode): (WebCore::TextDecoderStreamDecoder::flush): * dom/TextDecoderStreamDecoder.h: Added. (WebCore::TextDecoderStreamDecoder::encoding const): * dom/TextDecoderStreamDecoder.idl: Added. LayoutTests: * TestExpectations: Unskipping encoding tests except legacy-* tests which are big and slow. Canonical link: https://commits.webkit.org/228784@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-31 09:01:55 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextDecoderStream.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextDecoderStream.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextDecoderStreamDecoder.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextDecoderStreamDecoder.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextEncoder.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextEncoder.h
Add support for TextEncoderStream https://bugs.webkit.org/show_bug.cgi?id=215916 Reviewed by Alex Christensen. LayoutTests/imported/w3c: * web-platform-tests/encoding/idlharness.any-expected.txt: * web-platform-tests/encoding/idlharness.any.worker-expected.txt: * web-platform-tests/encoding/streams/backpressure.any-expected.txt: * web-platform-tests/encoding/streams/backpressure.any.worker-expected.txt: * web-platform-tests/encoding/streams/encode-bad-chunks.any-expected.txt: * web-platform-tests/encoding/streams/encode-bad-chunks.any.worker-expected.txt: * web-platform-tests/encoding/streams/encode-utf8.any-expected.txt: * web-platform-tests/encoding/streams/encode-utf8.any.worker-expected.txt: * web-platform-tests/encoding/streams/readable-writable-properties.any-expected.txt: * web-platform-tests/encoding/streams/readable-writable-properties.any.worker-expected.txt: * web-platform-tests/encoding/streams/realms.window-expected.txt: * web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt: Source/WebCore: Implement TextEncoderStream as a JS built-in. It is controlled by transform stream runtime flag. TextEncoderStream takes a TransformStream and TextEncoderStreamEncoder as private slots. Add TextEncoderStreamEncoder to implement the actual UTF-8 encoding steps. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/streams/TransformStream.idl: * Modules/streams/TransformStream.js: (initializeTransformStream): * Modules/streams/TransformStreamInternals.js: (createTransformStream): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/TextEncoderStream.idl: Added. * dom/TextEncoderStream.js: Added. (initializeTextEncoderStream): (getter.encoding): (getter.readable): (getter.writable): * dom/TextEncoderStreamEncoder.cpp: Added. (WebCore::TextEncoderStreamEncoder::encode): (WebCore::TextEncoderStreamEncoder::flush): * dom/TextEncoderStreamEncoder.h: Added. (WebCore::TextEncoderStreamEncoder::create): * dom/TextEncoderStreamEncoder.idl: Added. LayoutTests: * TestExpectations: Canonical link: https://commits.webkit.org/228768@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-30 09:53:17 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextEncoderStream.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextEncoderStream.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextEncoderStreamEncoder.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextEncoderStreamEncoder.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextMetrics.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextMetrics.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrack+MediaSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrack+MediaSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrack.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrack.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrackCue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrackCue.h
Source/WebCore: Test for: 196095 Inband Text Track cues interspersed with Data cues can display out of order. https://bugs.webkit.org/show_bug.cgi?id=196097 Reviewed by Eric Carlson. Test: media/track/track-in-band-metadata-display-order.html Add a method in Internals to create a TextTrackCueGeneric (which can normally only be created by parsing an in-band media track). This requires adding IDL for TextTrackCueGeneric, and exporting TextTrackCueGeneric for testing. Drive-by fixes: Add runtime logging to MediaControlTextTrackContainerElement. This necessitates modifying the parentMediaElement() method to take a const Node*, and const_cast that constness away in order to return a HTMLMediaElement* TextTrackCue, VTTCue, TextTrackCueGeneric, and DataCue should all use the WTF TypeCasts macros to enable use of is<> and downcast<>. * Source/WebCore/CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * Sources.txt: * html/shadow/MediaControlElementTypes.cpp: (WebCore::parentMediaElement): * html/shadow/MediaControlElementTypes.h: * html/shadow/MediaControlElements.cpp: (WebCore::MediaControlTextTrackContainerElement::updateDisplay): (WebCore::MediaControlTextTrackContainerElement::logger const): (WebCore::MediaControlTextTrackContainerElement::logIdentifier const): (WebCore::MediaControlTextTrackContainerElement::logChannel const): * html/shadow/MediaControlElements.h: * html/track/DataCue.h: (isType): * html/track/TextTrackCueGeneric.h: (isType): * html/track/TextTrackCueGeneric.idl: Added. * html/track/VTTCue.h: (isType): * testing/Internals.cpp: (WebCore::Internals::createGenericCue): * testing/Internals.h: * testing/Internals.idl: Tools: Test for: 196095 Inband Text Track cues interspersed with Data cues can display out of order. https://bugs.webkit.org/show_bug.cgi?id=196097 Reviewed by Eric Carlson. Drive-by bug fix: allow tests to play audio without a user gesture by default. * DumpRenderTree/mac/DumpRenderTree.mm: (resetWebPreferencesToConsistentValues): * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): LayoutTests: Add test for fix of #196095 https://bugs.webkit.org/show_bug.cgi?id=196097 Reviewed by Eric Carlson. * media/track/track-in-band-metadata-display-order-expected.txt: Added. * media/track/track-in-band-metadata-display-order.html: Added. Canonical link: https://commits.webkit.org/211012@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-04-09 15:57:45 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrackCueGeneric.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrackCueGeneric.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrackCueList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrackCueList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrackList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrackList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrackMediaSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTextTrackMediaSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTimeRanges.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTimeRanges.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTouch.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTouch.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTouchEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTouchEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTouchList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTouchList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTrackEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTrackEvent.h
Add experimental HDR MediaCapabilities support. https://bugs.webkit.org/show_bug.cgi?id=203113 Reviewed by Eric Carlson. Source/WebCore: Tests: media/mediacapabilities/mock-decodingInfo-hdr.html platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr.html Add support for MediaCapabilities.decodeInfo() HDR support detection. Add new enum IDL types to MediaCapabilities and remove old unused ones. Add mock implementation for HDR detection. Add Cocoa platform implementation. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediacapabilities/ColorGamut.idl: * Modules/mediacapabilities/HdrMetadataType.idl: * Modules/mediacapabilities/ScreenLuminance.h: * Modules/mediacapabilities/TransferFunction.idl: * Modules/mediacapabilities/VideoConfiguration.idl: * Scripts/GenerateSettings.rb: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/scripts/CodeGenerator.pm: (WK_ucfirst): * bindings/scripts/CodeGeneratorJS.pm: (ToMethodName): * page/Settings.yaml: * platform/graphics/cocoa/MediaEngineConfigurationFactoryCocoa.cpp: (WebCore::createMediaPlayerDecodingConfigurationCocoa): * platform/mediacapabilities/ColorGamut.h: * platform/mediacapabilities/HdrMetadataType.h: * platform/mediacapabilities/TransferFunction.h: * platform/mediacapabilities/VideoConfiguration.h: * platform/mock/MediaEngineConfigurationFactoryMock.cpp: (WebCore::canDecodeMedia): (WebCore::canEncodeMedia): Source/WebKit: Add experimental hdrMediaCapabilitiesEnabled preference. * Shared/WebPreferences.yaml: LayoutTests: * media/mediacapabilities/mock-decodingInfo-alphaChannel-expected.txt: * media/mediacapabilities/mock-decodingInfo-hdr-expected.txt: Added. * media/mediacapabilities/mock-decodingInfo-hdr.html: Added. * platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr-expected.txt: Added. * platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr.html: Added. Canonical link: https://commits.webkit.org/216564@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-18 22:00:48 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTransferFunction.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTransferFunction.h
Add support for TransformStream https://bugs.webkit.org/show_bug.cgi?id=215607 Reviewed by Alex Christensen. LayoutTests/imported/w3c: * web-platform-tests/streams/idlharness.any-expected.txt: * web-platform-tests/streams/idlharness.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/backpressure.any-expected.txt: * web-platform-tests/streams/transform-streams/backpressure.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/errors.any-expected.txt: * web-platform-tests/streams/transform-streams/errors.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/flush.any-expected.txt: * web-platform-tests/streams/transform-streams/flush.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/general.any-expected.txt: * web-platform-tests/streams/transform-streams/general.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/lipfuzz.any-expected.txt: * web-platform-tests/streams/transform-streams/lipfuzz.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/patched-global.any-expected.txt: * web-platform-tests/streams/transform-streams/patched-global.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/properties.any-expected.txt: * web-platform-tests/streams/transform-streams/properties.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/reentrant-strategies.any-expected.txt: * web-platform-tests/streams/transform-streams/reentrant-strategies.any.js: * web-platform-tests/streams/transform-streams/reentrant-strategies.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/strategies.any-expected.txt: * web-platform-tests/streams/transform-streams/strategies.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/terminate.any-expected.txt: * web-platform-tests/streams/transform-streams/terminate.any.worker-expected.txt: Source/WebCore: Add initial implementation as JS built-ins as per spec. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/streams/ReadableStreamInternals.js: (readableStreamDefaultControllerShouldCallPull): (readableStreamDefaultControllerCallPullIfNeeded): * Modules/streams/TransformStream.idl: Added. * Modules/streams/TransformStream.js: Added. (initializeTransformStream): (getter.readable): (writable): * Modules/streams/TransformStreamDefaultController.idl: Added. * Modules/streams/TransformStreamDefaultController.js: Added. (initializeTransformStreamDefaultController): (getter.desiredSize): (enqueue): (error): (terminate): * Modules/streams/TransformStreamInternals.js: Added. (isTransformStream): (isTransformStreamDefaultController): (initializeTransformStream): (transformStreamError): (transformStreamErrorWritableAndUnblockWrite): (transformStreamSetBackpressure): (setUpTransformStreamDefaultController): (setUpTransformStreamDefaultControllerFromTransformer): (transformStreamDefaultControllerClearAlgorithms): (transformStreamDefaultControllerEnqueue): (transformStreamDefaultControllerError): (transformStreamDefaultControllerPerformTransform): (transformStreamDefaultSinkWriteAlgorithm): (transformStreamDefaultSinkAbortAlgorithm): (transformStreamDefaultSinkCloseAlgorithm): (transformStreamDefaultSourcePullAlgorithm): * Modules/streams/WritableStream.js: (initializeWritableStream): * Modules/streams/WritableStreamInternals.js: (createWritableStream): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setTransformStreamAPIEnabled): (WebCore::RuntimeEnabledFeatures::transformStreamAPIEnabled const): Source/WebKit: Add a runtime flag for TransformStream, off by default. * Shared/WebPreferences.yaml: * WebProcess/InjectedBundle/InjectedBundle.cpp: (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): Source/WebKitLegacy/mac: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences transformStreamAPIEnabled]): (-[WebPreferences setTransformStreamAPIEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Tools: * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setWritableStreamAPIEnabled): (WTR::TestRunner::setTransformStreamAPIEnabled): * WebKitTestRunner/InjectedBundle/TestRunner.h: LayoutTests: Rebased tests now that TransformStream is defined. * streams/reference-implementation/pipe-through-expected.txt: * streams/reference-implementation/pipe-to-expected.txt: * streams/reference-implementation/transform-stream-errors-expected.txt: * streams/reference-implementation/transform-stream-expected.txt: Canonical link: https://commits.webkit.org/228682@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-27 10:00:20 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTransformStream.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTransformStream.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTransformStreamDefaultController.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTransformStreamDefaultController.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTransitionEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTransitionEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTreeWalker.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTreeWalker.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTypeConversions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSTypeConversions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUIEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUIEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUIEventInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUIEventInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSURLSearchParams.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSURLSearchParams.h
Introduce IDL files for runtime-enabled UndoManager and UndoItem JavaScript API https://bugs.webkit.org/show_bug.cgi?id=193109 <rdar://problem/44807048> Reviewed by Ryosuke Niwa. Source/WebCore: Adds new IDL files and stubs for UndoManager and UndoItem. This is an experimental DOM API that (in the near future) is intended only for use in internal WebKit text editing clients. This API allows the page to participate in the processes of undoing and redoing by defining custom undo and redo handlers, to be executed when undo or redo is triggered. Tests: editing/undo-manager/undo-manager-interfaces.html editing/undo-manager/undo-manager-keeps-wrapper-alive.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * UnifiedSources-input.xcfilelist: * WebCore.xcodeproj/project.pbxproj: Add new source files. * bindings/js/WebCoreBuiltinNames.h: Add "UndoManager" and "UndoItem" names. * dom/Document.cpp: (WebCore::m_undoManager): Have the document own a UndoManager. * dom/Document.h: (WebCore::Document::undoManager const): * dom/Document.idl: * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setUndoManagerAPIEnabled): (WebCore::RuntimeEnabledFeatures::undoManagerAPIEnabled const): Guard the new bindings behind a runtime-enabled feature flag. * page/UndoItem.h: Added. (WebCore::UndoItem::create): (WebCore::UndoItem::label const): (WebCore::UndoItem::undoHandler const): (WebCore::UndoItem::redoHandler const): (WebCore::UndoItem::UndoItem): * page/UndoItem.idl: Added. * page/UndoManager.cpp: Added. (WebCore::UndoManager::addItem): * page/UndoManager.h: Added. (WebCore::UndoManager::create): (WebCore::UndoManager::document): (WebCore::UndoManager::UndoManager): * page/UndoManager.idl: Added. * page/mac/WheelEventDeltaFilterMac.h: Necessary (albeit unrelated) build fix to appease unified sources. Source/WebKit: Add a new SPI configuration flag to enable the UndoManager API. This is off by default. * Shared/WebPreferences.yaml: * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): * UIProcess/API/Cocoa/WKWebViewConfiguration.mm: (-[WKWebViewConfiguration init]): (-[WKWebViewConfiguration copyWithZone:]): (-[WKWebViewConfiguration _setUndoManagerAPIEnabled:]): (-[WKWebViewConfiguration _undoManagerAPIEnabled]): * UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h: Tools: Introduce and respect a test option to enable the UndoManager API. * WebKitTestRunner/TestController.cpp: (WTR::updateTestOptionsFromTestHeader): * WebKitTestRunner/TestOptions.h: (WTR::TestOptions::hasSameInitializationOptions const): * WebKitTestRunner/cocoa/TestControllerCocoa.mm: (WTR::TestController::platformCreateWebView): LayoutTests: Add UndoManager tests to exercise new bindings, and verify that the JS wrapper for Document's UndoManager survives garbage collection. * TestExpectations: * editing/undo-manager/undo-manager-interfaces-expected.txt: Added. * editing/undo-manager/undo-manager-interfaces.html: Added. * editing/undo-manager/undo-manager-keeps-wrapper-alive-expected.txt: Added. * editing/undo-manager/undo-manager-keeps-wrapper-alive.html: Added. * platform/ios-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Canonical link: https://commits.webkit.org/207849@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-01-11 18:28:06 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUndoItem.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUndoItem.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUndoManager.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUndoManager.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUserMessageHandler.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUserMessageHandler.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUserMessageHandlersNamespace.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUserMessageHandlersNamespace.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUserVerificationRequirement.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSUserVerificationRequirement.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVTTCue.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVTTCue.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVTTRegion.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVTTRegion.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVTTRegionList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVTTRegionList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSValidityState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSValidityState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoConfiguration.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoConfiguration.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoPlaybackQuality.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoPlaybackQuality.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoTrack+MediaSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoTrack+MediaSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoTrack.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoTrack.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoTrackList.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoTrackList.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoTrackMediaSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVideoTrackMediaSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVisibilityState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVisibilityState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVisualViewport.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVisualViewport.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVoidCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSVoidCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWaveShaperNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWaveShaperNode.h
Add constructor for WaveShaperNode https://bugs.webkit.org/show_bug.cgi?id=214989 Reviewed by Youenn Fablet. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/ctor-waveshaper-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-waveshapernode-interface/waveshaper-simple-expected.txt: Source/WebCore: Add constructor for WaveShaperNode: - https://www.w3.org/TR/webaudio/#waveshapernode No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createWaveShaper): * Modules/webaudio/OverSampleType.h: Copied from Source/WebCore/Modules/webaudio/WaveShaperNode.idl. * Modules/webaudio/OverSampleType.idl: Copied from Source/WebCore/Modules/webaudio/WaveShaperNode.idl. * Modules/webaudio/WaveShaperNode.cpp: (WebCore::WaveShaperNode::create): (WebCore::WaveShaperNode::setCurve): (WebCore::processorType): * Modules/webaudio/WaveShaperNode.h: (WTF::LogArgument<WebCore::OverSampleType>::toString): * Modules/webaudio/WaveShaperNode.idl: * Modules/webaudio/WaveShaperOptions.h: Copied from Source/WebCore/Modules/webaudio/WaveShaperNode.idl. * Modules/webaudio/WaveShaperOptions.idl: Copied from Source/WebCore/Modules/webaudio/WaveShaperNode.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/227838@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-31 18:47:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWaveShaperOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWaveShaperOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebAnimation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebAnimation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebFakeXRDevice.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebFakeXRDevice.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebFakeXRInputController.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebFakeXRInputController.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGL2RenderingContext.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGL2RenderingContext.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLActiveInfo.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLActiveInfo.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLBuffer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLBuffer.h
REGRESSION (r256784?): Shadertoy demo no longer works in Safari https://bugs.webkit.org/show_bug.cgi?id=210994 Patch by Kenneth Russell <kbr@chromium.org> on 2020-04-29 Reviewed by Dean Jackson. Source/WebCore: Certain Shadertoy examples stopped working with the ANGLE backend for WebGL because rendering to floating-point render targets was no longer being enabled implicitly along with the OES_texture_float extension. Add support for the WebGL 1.0 extensions EXT_color_buffer_half_float and WEBGL_color_buffer_float, and the WebGL 2.0 extension EXT_color_buffer_float. Enable these implicitly for WebGL 1.0 in the OES_texture_float and OES_texture_half_float extensions, restoring the previous functionality. Translate 32-bit floating point texture formats appropriately for the ANGLE backend. Fix some failures in previously-skipped conformance tests. The new code passes the more stringent top-of-tree WebGL 1.0.4 and 2.0.1 conformance tests related to floating-point texture renderability, which are not yet in the WebKit repository. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMConvertWebGL.cpp: (WebCore::convertToJSValue): * html/canvas/EXTColorBufferFloat.cpp: Copied from Source/WebCore/html/canvas/OESTextureHalfFloat.cpp. (WebCore::EXTColorBufferFloat::EXTColorBufferFloat): (WebCore::EXTColorBufferFloat::getName const): (WebCore::EXTColorBufferFloat::supported): * html/canvas/EXTColorBufferFloat.h: Copied from Source/WebCore/html/canvas/OESTextureFloat.h. * html/canvas/EXTColorBufferFloat.idl: Added. * html/canvas/EXTColorBufferHalfFloat.cpp: Copied from Source/WebCore/html/canvas/OESTextureFloat.cpp. (WebCore::EXTColorBufferHalfFloat::EXTColorBufferHalfFloat): (WebCore::EXTColorBufferHalfFloat::getName const): (WebCore::EXTColorBufferHalfFloat::supported): * html/canvas/EXTColorBufferHalfFloat.h: Copied from Source/WebCore/html/canvas/OESTextureFloat.h. * html/canvas/EXTColorBufferHalfFloat.idl: Added. * html/canvas/OESTextureFloat.cpp: (WebCore::OESTextureFloat::OESTextureFloat): (WebCore::OESTextureFloat::supported): * html/canvas/OESTextureFloat.h: * html/canvas/OESTextureHalfFloat.cpp: (WebCore::OESTextureHalfFloat::OESTextureHalfFloat): (WebCore::OESTextureHalfFloat::supported): * html/canvas/OESTextureHalfFloat.h: * html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::getExtension): (WebCore::WebGL2RenderingContext::getSupportedExtensions): (WebCore::WebGL2RenderingContext::getParameter): * html/canvas/WebGLColorBufferFloat.cpp: Copied from Source/WebCore/html/canvas/OESTextureFloat.cpp. (WebCore::WebGLColorBufferFloat::WebGLColorBufferFloat): (WebCore::WebGLColorBufferFloat::getName const): (WebCore::WebGLColorBufferFloat::supported): * html/canvas/WebGLColorBufferFloat.h: Copied from Source/WebCore/html/canvas/OESTextureFloat.h. * html/canvas/WebGLColorBufferFloat.idl: Added. * html/canvas/WebGLExtension.h: * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::getExtension): (WebCore::WebGLRenderingContext::getSupportedExtensions): (WebCore::WebGLRenderingContext::getParameter): * html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::extensionIsEnabled): (WebCore::WebGLRenderingContextBase::copyTexImage2D): * html/canvas/WebGLRenderingContextBase.h: * platform/graphics/angle/ExtensionsGLANGLE.cpp: (WebCore::ExtensionsGLANGLE::adjustWebGL1TextureInternalFormat): (WebCore::ExtensionsGLANGLE::texImage2DRobustANGLE): * platform/graphics/angle/ExtensionsGLANGLE.h: * platform/graphics/angle/GraphicsContextGLANGLE.cpp: (WebCore::GraphicsContextGLOpenGL::texImage2DDirect): LayoutTests: Update tex-mipmap-levels.html to top-of-tree to fix incorrect test cases. Rebaseline layout tests which are either now all passing, or have progressed. Temporarily skip a couple of tests, previously skipped because of lack of the EXT_color_buffer_float extension, which are failing because of Bug 211156. * TestExpectations: * fast/canvas/webgl/readPixels-float-expected.txt: * webgl/2.0.0/conformance2/textures/misc/copy-texture-image-expected.txt: * webgl/2.0.0/conformance2/textures/misc/tex-mipmap-levels-expected.txt: * webgl/2.0.0/resources/webgl_test_files/conformance2/textures/misc/tex-mipmap-levels.html: Canonical link: https://commits.webkit.org/224098@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-29 19:01:50 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLColorBufferFloat.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLColorBufferFloat.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureASTC.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureASTC.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureATC.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureATC.h
Please support WEBGL_compressed_texture_etc1 extension (and possibly WEBGL_compressed_texture_etc too) https://bugs.webkit.org/show_bug.cgi?id=197900 Patch by Kenneth Russell <kbr@chromium.org> on 2019-11-07 Reviewed by Dean Jackson. Support the ETC1 and ETC2 compressed texture formats in WebKit's WebGL implementation. Tested by changing the code to allocate an OpenGL ES 3.0 context for WebGL, and running in the iOS Simulator. The WebGL conformance tests webgl-compressed-texture-etc.html and webgl-compressed-texture-etc1.html all pass with these changes. When an ANGLE backend is supported on iOS, these extensions will automatically be supported, and some of the new validation code can be removed. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMConvertWebGL.cpp: (WebCore::convertToJSValue): * html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::getExtension): (WebCore::WebGL2RenderingContext::getSupportedExtensions): * html/canvas/WebGLCompressedTextureETC.cpp: Added. (WebCore::WebGLCompressedTextureETC::WebGLCompressedTextureETC): (WebCore::WebGLCompressedTextureETC::getName const): (WebCore::WebGLCompressedTextureETC::supported): * html/canvas/WebGLCompressedTextureETC.h: Added. * html/canvas/WebGLCompressedTextureETC.idl: Added. * html/canvas/WebGLCompressedTextureETC1.cpp: Added. (WebCore::WebGLCompressedTextureETC1::WebGLCompressedTextureETC1): (WebCore::WebGLCompressedTextureETC1::getName const): (WebCore::WebGLCompressedTextureETC1::supported): * html/canvas/WebGLCompressedTextureETC1.h: Added. * html/canvas/WebGLCompressedTextureETC1.idl: Added. * html/canvas/WebGLExtension.h: * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::getExtension): (WebCore::WebGLRenderingContext::getSupportedExtensions): * html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::extensionIsEnabled): (WebCore::WebGLRenderingContextBase::validateCompressedTexFuncData): (WebCore::WebGLRenderingContextBase::validateCompressedTexDimensions): (WebCore::WebGLRenderingContextBase::validateCompressedTexSubDimensions): * html/canvas/WebGLRenderingContextBase.h: * platform/graphics/Extensions3D.h: * platform/graphics/cocoa/GraphicsContext3DCocoa.mm: (WebCore::GraphicsContext3D::GraphicsContext3D): * platform/graphics/opengl/Extensions3DOpenGL.cpp: (WebCore::Extensions3DOpenGL::supportsExtension): Canonical link: https://commits.webkit.org/217321@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@252226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-11-08 01:38:26 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureETC.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureETC.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureETC1.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureETC1.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTexturePVRTC.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTexturePVRTC.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureS3TC.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureS3TC.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureS3TCsRGB.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLCompressedTextureS3TCsRGB.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLContextAttributes.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLContextAttributes.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLContextEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLContextEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLDebugRendererInfo.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLDebugRendererInfo.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLDebugShaders.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLDebugShaders.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLDepthTexture.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLDepthTexture.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLDrawBuffers.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLDrawBuffers.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLFramebuffer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLFramebuffer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLLoseContext.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLLoseContext.h
Support WEBGL_multi_draw extension https://bugs.webkit.org/show_bug.cgi?id=219139 Patch by Kenneth Russell <kbr@chromium.org> on 2021-01-20 Reviewed by Dean Jackson. Source/WebCore: Support the WEBGL_multi_draw extension in WebKit, delegating to ANGLE's underlying implementation. This extension significantly reduces draw-call overhead in certain scenarios, and is requested by CAD/CAM web apps using WebGL. Test: webgl/conformance/extensions/webgl-multi-draw.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMConvertWebGL.cpp: (WebCore::convertToJSValue): * html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::getExtension): (WebCore::WebGL2RenderingContext::getSupportedExtensions): * html/canvas/WebGLExtension.h: * html/canvas/WebGLMultiDraw.cpp: Added. (WebCore::makeSpanWithOffset): (WebCore::WebGLMultiDraw::WebGLMultiDraw): (WebCore::WebGLMultiDraw::getName const): (WebCore::WebGLMultiDraw::supported): (WebCore::WebGLMultiDraw::multiDrawArraysWEBGL): (WebCore::WebGLMultiDraw::multiDrawArraysInstancedWEBGL): (WebCore::WebGLMultiDraw::multiDrawElementsWEBGL): (WebCore::WebGLMultiDraw::multiDrawElementsInstancedWEBGL): (WebCore::WebGLMultiDraw::validateDrawcount): (WebCore::WebGLMultiDraw::validateOffset): * html/canvas/WebGLMultiDraw.h: Added. * html/canvas/WebGLMultiDraw.idl: Added. * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::getExtension): (WebCore::WebGLRenderingContext::getSupportedExtensions): * html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::extensionIsEnabled): * html/canvas/WebGLRenderingContextBase.h: * platform/graphics/GraphicsContextGL.h: * platform/graphics/angle/GraphicsContextGLANGLE.cpp: (WebCore::GraphicsContextGLOpenGL::multiDrawArraysANGLE): (WebCore::GraphicsContextGLOpenGL::multiDrawArraysInstancedANGLE): (WebCore::GraphicsContextGLOpenGL::multiDrawElementsANGLE): (WebCore::GraphicsContextGLOpenGL::multiDrawElementsInstancedANGLE): * platform/graphics/opengl/GraphicsContextGLOpenGL.h: * platform/graphics/opengl/GraphicsContextGLOpenGLCommon.cpp: (WebCore::GraphicsContextGLOpenGL::multiDrawArraysANGLE): (WebCore::GraphicsContextGLOpenGL::multiDrawArraysInstancedANGLE): (WebCore::GraphicsContextGLOpenGL::multiDrawElementsANGLE): (WebCore::GraphicsContextGLOpenGL::multiDrawElementsInstancedANGLE): Source/WebInspectorUI: Tell the Inspector about the method signatures in the WEBGL_multi_draw extension. * UserInterface/Models/NativeFunctionParameters.js: Source/WebKit: Add automatically-generated stubs for supporting the multi-draw extension in the GPU process. * GPUProcess/graphics/RemoteGraphicsContextGL.messages.in: * GPUProcess/graphics/RemoteGraphicsContextGLFunctionsGenerated.h: (multiDrawArraysANGLE): (multiDrawArraysInstancedANGLE): (multiDrawElementsANGLE): (multiDrawElementsInstancedANGLE): * WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.h: * WebProcess/GPU/graphics/RemoteGraphicsContextGLProxyFunctionsGenerated.cpp: (WebKit::RemoteGraphicsContextGLProxy::multiDrawArraysANGLE): (WebKit::RemoteGraphicsContextGLProxy::multiDrawArraysInstancedANGLE): (WebKit::RemoteGraphicsContextGLProxy::multiDrawElementsANGLE): (WebKit::RemoteGraphicsContextGLProxy::multiDrawElementsInstancedANGLE): LayoutTests: Add conformance test for the multi-draw extension, which is expected to pass. Temporarily suppress the test due to failures on Intel GPUs on macOS caused by recently-discovered OpenGL driver bugs, which are currently being investigated. * TestExpectations: * webgl/conformance/extensions/webgl-multi-draw-expected.txt: Added. * webgl/conformance/extensions/webgl-multi-draw.html: Added. * webgl/resources/webgl_test_files/conformance/extensions/webgl-multi-draw.html: Added. Canonical link: https://commits.webkit.org/233192@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-01-21 01:42:45 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLMultiDraw.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLMultiDraw.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLProgram.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLProgram.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLQuery.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLQuery.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLRenderbuffer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLRenderbuffer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLRenderingContext.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLRenderingContext.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLRenderingContextBase.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLRenderingContextBase.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLSampler.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLSampler.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLShader.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLShader.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLShaderPrecisionFormat.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLShaderPrecisionFormat.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLSync.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLSync.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLTexture.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLTexture.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLTransformFeedback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLTransformFeedback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLUniformLocation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLUniformLocation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLVertexArrayObject.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLVertexArrayObject.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLVertexArrayObjectOES.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebGLVertexArrayObjectOES.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAnimationEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAnimationEvent.h
Move non standard AudioBufferSourceNode API to new WebKitAudioBufferSourceNode interface https://bugs.webkit.org/show_bug.cgi?id=215106 Reviewed by Eric Carlson. Source/WebCore: Move non standard AudioBufferSourceNode API to new WebKitAudioBufferSourceNode interface to maintain backward compatibility while having an unprefixed API that matches the specification: - https://www.w3.org/TR/webaudio/#AudioBufferSourceNode In particular the 'playbackState' and 'gain' attributes should not part of the standard. Test: webaudio/audiobuffersourcenode-legacy-api.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioBufferSourceNode.cpp: (WebCore::AudioBufferSourceNode::AudioBufferSourceNode): (WebCore::AudioBufferSourceNode::process): (WebCore::AudioBufferSourceNode::reset): * Modules/webaudio/AudioBufferSourceNode.h: (WebCore::AudioBufferSourceNode::legacyGainValue const): * Modules/webaudio/AudioBufferSourceNode.idl: * Modules/webaudio/WebKitAudioBufferSourceNode.h: Copied from Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl. * Modules/webaudio/WebKitAudioBufferSourceNode.idl: Copied from Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl. * Modules/webaudio/WebKitAudioContext.cpp: (WebCore::WebKitAudioContext::createWebKitBufferSource): * Modules/webaudio/WebKitAudioContext.h: * Modules/webaudio/WebKitAudioContext.idl: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: LayoutTests: Add layout test coverage. * webaudio/audiobuffersourcenode-legacy-api-expected.txt: Added. * webaudio/audiobuffersourcenode-legacy-api.html: Added. Canonical link: https://commits.webkit.org/227930@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-04 16:23:40 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAudioBufferSourceNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAudioBufferSourceNode.h
Add experimental feature flag for modern & unprefixed WebAudio API https://bugs.webkit.org/show_bug.cgi?id=213268 Reviewed by Jer Noble. LayoutTests/imported/w3c: Rebaseline a few web-platform-tests now that they are passing or failing at a later stage. This is due to our WebAudio getting properly unprefixed in the context of layout tests. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-detached-execution-context.tentative-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-connect-method-chaining-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/offlineaudiocontext-detached-execution-context.tentative-expected.txt: Source/WebCore: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. This patch split the AudioContext, OfflineAudioContext and PannerNode IDL interfaces into their prefixed and unprefixed versions. The unprefixed versions are behind the new experimental feature flag that is currently off by default but automatically gets turned on in the context of layout tests. This will give us more flexibility when working on the modern and unprefixed WebAudio API as we will not have to worry about backward compatibility. This also allows us to easily turn it on or off via the experimental features menu in Safari. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AnalyserNode.cpp: (WebCore::AnalyserNode::AnalyserNode): * Modules/webaudio/AnalyserNode.h: * Modules/webaudio/AudioBasicInspectorNode.cpp: (WebCore::AudioBasicInspectorNode::AudioBasicInspectorNode): * Modules/webaudio/AudioBasicInspectorNode.h: * Modules/webaudio/AudioBasicProcessorNode.cpp: (WebCore::AudioBasicProcessorNode::AudioBasicProcessorNode): * Modules/webaudio/AudioBasicProcessorNode.h: * Modules/webaudio/AudioBufferSourceNode.cpp: (WebCore::AudioBufferSourceNode::create): (WebCore::AudioBufferSourceNode::AudioBufferSourceNode): (WebCore::AudioBufferSourceNode::setBuffer): (WebCore::AudioBufferSourceNode::setPannerNode): * Modules/webaudio/AudioBufferSourceNode.h: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContextBase::AudioContextBase): (WebCore::AudioContext::AudioContext): (WebCore::AudioContextBase::document const): (WebCore::AudioContextBase::scriptExecutionContext const): * Modules/webaudio/AudioContext.h: (WebCore::AudioContextBase::AutoLocker::AutoLocker): (WebCore::AudioContextBase::AutoLocker::~AutoLocker): (WebCore::AudioContext::maxNumberOfChannels): (isType): * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioContextState.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioContextState.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioDestinationNode.cpp: (WebCore::AudioDestinationNode::AudioDestinationNode): * Modules/webaudio/AudioDestinationNode.h: * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::AudioNode): (WebCore::AudioNode::connect): (WebCore::AudioNode::disconnect): (WebCore::AudioNode::setChannelCount): (WebCore::AudioNode::setChannelCountMode): (WebCore::AudioNode::setChannelInterpretation): (WebCore::AudioNode::enableOutputsIfNecessary): (WebCore::AudioNode::deref): (WebCore::AudioNode::contextForBindings const): * Modules/webaudio/AudioNode.h: (WebCore::AudioNode::context): (WebCore::AudioNode::context const): * Modules/webaudio/AudioNode.idl: * Modules/webaudio/AudioNodeOutput.h: (WebCore::AudioNodeOutput::context): * Modules/webaudio/AudioParam.cpp: (WebCore::AudioParam::AudioParam): * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParamTimeline.cpp: (WebCore::AudioParamTimeline::valueForContextTime): * Modules/webaudio/AudioParamTimeline.h: * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::AudioScheduledSourceNode): * Modules/webaudio/AudioScheduledSourceNode.h: * Modules/webaudio/AudioSummingJunction.cpp: (WebCore::AudioSummingJunction::AudioSummingJunction): * Modules/webaudio/AudioSummingJunction.h: (WebCore::AudioSummingJunction::context): * Modules/webaudio/BiquadFilterNode.cpp: (WebCore::BiquadFilterNode::BiquadFilterNode): * Modules/webaudio/BiquadFilterNode.h: * Modules/webaudio/BiquadProcessor.cpp: (WebCore::BiquadProcessor::BiquadProcessor): * Modules/webaudio/BiquadProcessor.h: * Modules/webaudio/ChannelMergerNode.cpp: (WebCore::ChannelMergerNode::create): (WebCore::ChannelMergerNode::ChannelMergerNode): * Modules/webaudio/ChannelMergerNode.h: * Modules/webaudio/ChannelSplitterNode.cpp: (WebCore::ChannelSplitterNode::create): (WebCore::ChannelSplitterNode::ChannelSplitterNode): * Modules/webaudio/ChannelSplitterNode.h: * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::ConvolverNode): * Modules/webaudio/ConvolverNode.h: * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode): * Modules/webaudio/DefaultAudioDestinationNode.h: * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::DelayNode): (WebCore::DelayNode::create): * Modules/webaudio/DelayNode.h: * Modules/webaudio/DelayProcessor.cpp: (WebCore::DelayProcessor::DelayProcessor): * Modules/webaudio/DelayProcessor.h: * Modules/webaudio/DistanceModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DistanceModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DynamicsCompressorNode.cpp: (WebCore::DynamicsCompressorNode::DynamicsCompressorNode): * Modules/webaudio/DynamicsCompressorNode.h: * Modules/webaudio/GainNode.cpp: (WebCore::GainNode::GainNode): * Modules/webaudio/GainNode.h: * Modules/webaudio/MediaElementAudioSourceNode.cpp: (WebCore::MediaElementAudioSourceNode::create): (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode): (WebCore::MediaElementAudioSourceNode::setFormat): * Modules/webaudio/MediaElementAudioSourceNode.h: * Modules/webaudio/MediaStreamAudioDestinationNode.cpp: (WebCore::MediaStreamAudioDestinationNode::create): (WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode): * Modules/webaudio/MediaStreamAudioDestinationNode.h: * Modules/webaudio/MediaStreamAudioSourceNode.cpp: (WebCore::MediaStreamAudioSourceNode::create): (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode): * Modules/webaudio/MediaStreamAudioSourceNode.h: * Modules/webaudio/OfflineAudioContext.idl: * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode): * Modules/webaudio/OfflineAudioDestinationNode.h: * Modules/webaudio/OscillatorNode.cpp: (WebCore::OscillatorNode::create): (WebCore::OscillatorNode::OscillatorNode): * Modules/webaudio/OscillatorNode.h: * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNodeBase::PannerNodeBase): (WebCore::PannerNode::PannerNode): * Modules/webaudio/PannerNode.h: * Modules/webaudio/PannerNode.idl: * Modules/webaudio/PanningModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/PanningModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/ScriptProcessorNode.cpp: (WebCore::ScriptProcessorNode::create): (WebCore::ScriptProcessorNode::ScriptProcessorNode): * Modules/webaudio/ScriptProcessorNode.h: * Modules/webaudio/WaveShaperNode.cpp: (WebCore::WaveShaperNode::WaveShaperNode): * Modules/webaudio/WaveShaperNode.h: * Modules/webaudio/WebKitAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/AudioContext.cpp. (WebCore::WebKitAudioContext::isSampleRateRangeGood): (WebCore::WebKitAudioContext::create): (WebCore::WebKitAudioContext::WebKitAudioContext): (WebCore::WebKitAudioContext::constructCommon): (WebCore::WebKitAudioContext::~WebKitAudioContext): (WebCore::WebKitAudioContext::lazyInitialize): (WebCore::WebKitAudioContext::clear): (WebCore::WebKitAudioContext::uninitialize): (WebCore::WebKitAudioContext::isInitialized const): (WebCore::WebKitAudioContext::addReaction): (WebCore::WebKitAudioContext::setState): (WebCore::WebKitAudioContext::stop): (WebCore::WebKitAudioContext::suspend): (WebCore::WebKitAudioContext::resume): (WebCore::WebKitAudioContext::activeDOMObjectName const): (WebCore::WebKitAudioContext::hostingDocumentIdentifier const): (WebCore::WebKitAudioContext::isSuspended const): (WebCore::WebKitAudioContext::visibilityStateChanged): (WebCore::WebKitAudioContext::wouldTaintOrigin const): (WebCore::WebKitAudioContext::createBuffer): (WebCore::WebKitAudioContext::decodeAudioData): (WebCore::WebKitAudioContext::createBufferSource): (WebCore::WebKitAudioContext::createMediaElementSource): (WebCore::WebKitAudioContext::createMediaStreamSource): (WebCore::WebKitAudioContext::createMediaStreamDestination): (WebCore::WebKitAudioContext::createScriptProcessor): (WebCore::WebKitAudioContext::createBiquadFilter): (WebCore::WebKitAudioContext::createWaveShaper): (WebCore::WebKitAudioContext::createPanner): (WebCore::WebKitAudioContext::createConvolver): (WebCore::WebKitAudioContext::createDynamicsCompressor): (WebCore::WebKitAudioContext::createAnalyser): (WebCore::WebKitAudioContext::createGain): (WebCore::WebKitAudioContext::createDelay): (WebCore::WebKitAudioContext::createChannelSplitter): (WebCore::WebKitAudioContext::createChannelMerger): (WebCore::WebKitAudioContext::createOscillator): (WebCore::WebKitAudioContext::createPeriodicWave): (WebCore::WebKitAudioContext::notifyNodeFinishedProcessing): (WebCore::WebKitAudioContext::derefFinishedSourceNodes): (WebCore::WebKitAudioContext::refNode): (WebCore::WebKitAudioContext::derefNode): (WebCore::WebKitAudioContext::derefUnfinishedSourceNodes): (WebCore::WebKitAudioContext::lock): (WebCore::WebKitAudioContext::tryLock): (WebCore::WebKitAudioContext::unlock): (WebCore::WebKitAudioContext::isAudioThread const): (WebCore::WebKitAudioContext::isGraphOwner const): (WebCore::WebKitAudioContext::addDeferredFinishDeref): (WebCore::WebKitAudioContext::handlePreRenderTasks): (WebCore::WebKitAudioContext::handlePostRenderTasks): (WebCore::WebKitAudioContext::handleDeferredFinishDerefs): (WebCore::WebKitAudioContext::markForDeletion): (WebCore::WebKitAudioContext::scheduleNodeDeletion): (WebCore::WebKitAudioContext::deleteMarkedNodes): (WebCore::WebKitAudioContext::markSummingJunctionDirty): (WebCore::WebKitAudioContext::removeMarkedSummingJunction): (WebCore::WebKitAudioContext::markAudioNodeOutputDirty): (WebCore::WebKitAudioContext::handleDirtyAudioSummingJunctions): (WebCore::WebKitAudioContext::handleDirtyAudioNodeOutputs): (WebCore::WebKitAudioContext::addAutomaticPullNode): (WebCore::WebKitAudioContext::removeAutomaticPullNode): (WebCore::WebKitAudioContext::updateAutomaticPullNodes): (WebCore::WebKitAudioContext::processAutomaticPullNodes): (WebCore::WebKitAudioContext::nodeWillBeginPlayback): (WebCore::shouldDocumentAllowWebAudioToAutoPlay): (WebCore::WebKitAudioContext::willBeginPlayback): (WebCore::WebKitAudioContext::willPausePlayback): (WebCore::WebKitAudioContext::startRendering): (WebCore::WebKitAudioContext::mediaCanStart): (WebCore::WebKitAudioContext::mediaState const): (WebCore::WebKitAudioContext::pageMutedStateDidChange): (WebCore::WebKitAudioContext::isPlayingAudioDidChange): (WebCore::WebKitAudioContext::finishedRendering): (WebCore::WebKitAudioContext::dispatchEvent): (WebCore::WebKitAudioContext::incrementActiveSourceCount): (WebCore::WebKitAudioContext::decrementActiveSourceCount): (WebCore::WebKitAudioContext::suspendRendering): (WebCore::WebKitAudioContext::resumeRendering): (WebCore::WebKitAudioContext::close): (WebCore::WebKitAudioContext::suspendPlayback): (WebCore::WebKitAudioContext::mayResumePlayback): (WebCore::WebKitAudioContext::postTask): (WebCore::WebKitAudioContext::origin const): (WebCore::WebKitAudioContext::addConsoleMessage): (WebCore::WebKitAudioContext::clearPendingActivity): (WebCore::WebKitAudioContext::makePendingActivity): (WebCore::WebKitAudioContext::logChannel const): * Modules/webaudio/WebKitAudioContext.h: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. (WebCore::WebKitAudioContext::destination): (WebCore::WebKitAudioContext::activeSourceCount const): (WebCore::WebKitAudioContext::listener): (WebCore::WebKitAudioContext::isClosed const): (WebCore::WebKitAudioContext::connectionCount const): (WebCore::WebKitAudioContext::audioThread const): (WebCore::WebKitAudioContext::maxNumberOfChannels): (WebCore::WebKitAudioContext::userGestureRequiredForAudioStart const): (WebCore::WebKitAudioContext::pageConsentRequiredForAudioStart const): (WebCore::WebKitAudioContext::state const): (isType): * Modules/webaudio/WebKitAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/AudioContext.idl. * Modules/webaudio/WebKitAudioPannerNode.cpp: Copied from Source/WebCore/Modules/webaudio/PannerNode.cpp. (WebCore::fixNANs): (WebCore::WebKitAudioPannerNode::WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::~WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::pullInputs): (WebCore::WebKitAudioPannerNode::process): (WebCore::WebKitAudioPannerNode::reset): (WebCore::WebKitAudioPannerNode::initialize): (WebCore::WebKitAudioPannerNode::uninitialize): (WebCore::WebKitAudioPannerNode::listener): (WebCore::WebKitAudioPannerNode::setPanningModel): (WebCore::WebKitAudioPannerNode::distanceModel const): (WebCore::WebKitAudioPannerNode::setDistanceModel): (WebCore::WebKitAudioPannerNode::getAzimuthElevation): (WebCore::WebKitAudioPannerNode::dopplerRate): (WebCore::WebKitAudioPannerNode::distanceConeGain): (WebCore::WebKitAudioPannerNode::notifyAudioSourcesConnectedToNode): * Modules/webaudio/WebKitAudioPannerNode.h: Copied from Source/WebCore/Modules/webaudio/PannerNode.h. * Modules/webaudio/WebKitAudioPannerNode.idl: Copied from Source/WebCore/Modules/webaudio/PannerNode.idl. * Modules/webaudio/WebKitOfflineAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/DelayNode.cpp. (WebCore::WebKitOfflineAudioContext::WebKitOfflineAudioContext): (WebCore::WebKitOfflineAudioContext::create): * Modules/webaudio/WebKitOfflineAudioContext.h: Copied from Source/WebCore/Modules/webaudio/DelayNode.h. * Modules/webaudio/WebKitOfflineAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: * page/Settings.yaml: * testing/Internals.cpp: (WebCore::Internals::setAudioContextRestrictions): * testing/Internals.h: * testing/Internals.idl: Source/WebKit: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. * Shared/WebPreferences.yaml: Canonical link: https://commits.webkit.org/226120@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-18 04:14:13 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAudioContext.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAudioContext.h
Align AudioListener with the W3C specification https://bugs.webkit.org/show_bug.cgi?id=215134 Reviewed by Geoffrey Garen. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/historical-expected.txt: * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/panner-automation-position-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/pannernode-basic-expected.txt: Source/WebCore: Align AudioListener with the W3C specification: - https://webaudio.github.io/web-audio-api/#audiolistener Note that the prefixed API still behaves the way it used to. I have maintained the old version of the AudioListener API by moving it to a new WebKitAudioListener interface. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioListener.cpp: (WebCore::AudioListener::AudioListener): (WebCore::AudioListener::setPosition): (WebCore::AudioListener::position const): (WebCore::AudioListener::setOrientation): (WebCore::AudioListener::orientation const): (WebCore::AudioListener::upVector const): * Modules/webaudio/AudioListener.h: (WebCore::AudioListener::create): (WebCore::AudioListener::positionX): (WebCore::AudioListener::positionY): (WebCore::AudioListener::positionZ): (WebCore::AudioListener::forwardX): (WebCore::AudioListener::forwardY): (WebCore::AudioListener::forwardZ): (WebCore::AudioListener::upX): (WebCore::AudioListener::upY): (WebCore::AudioListener::upZ): * Modules/webaudio/AudioListener.idl: * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::constructCommon): * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNode::dopplerRate): * Modules/webaudio/WebKitAudioContext.h: (WebCore::WebKitAudioContext::listener): * Modules/webaudio/WebKitAudioContext.idl: * Modules/webaudio/WebKitAudioListener.h: Copied from Source/WebCore/Modules/webaudio/AudioListener.h. * Modules/webaudio/WebKitAudioListener.idl: Copied from Source/WebCore/Modules/webaudio/AudioListener.idl. * Modules/webaudio/WebKitAudioPannerNode.cpp: (WebCore::WebKitAudioPannerNode::listener): * Modules/webaudio/WebKitAudioPannerNode.h: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: Canonical link: https://commits.webkit.org/227948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-04 23:01:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAudioListener.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAudioListener.h
Add experimental feature flag for modern & unprefixed WebAudio API https://bugs.webkit.org/show_bug.cgi?id=213268 Reviewed by Jer Noble. LayoutTests/imported/w3c: Rebaseline a few web-platform-tests now that they are passing or failing at a later stage. This is due to our WebAudio getting properly unprefixed in the context of layout tests. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-detached-execution-context.tentative-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-connect-method-chaining-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/offlineaudiocontext-detached-execution-context.tentative-expected.txt: Source/WebCore: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. This patch split the AudioContext, OfflineAudioContext and PannerNode IDL interfaces into their prefixed and unprefixed versions. The unprefixed versions are behind the new experimental feature flag that is currently off by default but automatically gets turned on in the context of layout tests. This will give us more flexibility when working on the modern and unprefixed WebAudio API as we will not have to worry about backward compatibility. This also allows us to easily turn it on or off via the experimental features menu in Safari. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AnalyserNode.cpp: (WebCore::AnalyserNode::AnalyserNode): * Modules/webaudio/AnalyserNode.h: * Modules/webaudio/AudioBasicInspectorNode.cpp: (WebCore::AudioBasicInspectorNode::AudioBasicInspectorNode): * Modules/webaudio/AudioBasicInspectorNode.h: * Modules/webaudio/AudioBasicProcessorNode.cpp: (WebCore::AudioBasicProcessorNode::AudioBasicProcessorNode): * Modules/webaudio/AudioBasicProcessorNode.h: * Modules/webaudio/AudioBufferSourceNode.cpp: (WebCore::AudioBufferSourceNode::create): (WebCore::AudioBufferSourceNode::AudioBufferSourceNode): (WebCore::AudioBufferSourceNode::setBuffer): (WebCore::AudioBufferSourceNode::setPannerNode): * Modules/webaudio/AudioBufferSourceNode.h: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContextBase::AudioContextBase): (WebCore::AudioContext::AudioContext): (WebCore::AudioContextBase::document const): (WebCore::AudioContextBase::scriptExecutionContext const): * Modules/webaudio/AudioContext.h: (WebCore::AudioContextBase::AutoLocker::AutoLocker): (WebCore::AudioContextBase::AutoLocker::~AutoLocker): (WebCore::AudioContext::maxNumberOfChannels): (isType): * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioContextState.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioContextState.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioDestinationNode.cpp: (WebCore::AudioDestinationNode::AudioDestinationNode): * Modules/webaudio/AudioDestinationNode.h: * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::AudioNode): (WebCore::AudioNode::connect): (WebCore::AudioNode::disconnect): (WebCore::AudioNode::setChannelCount): (WebCore::AudioNode::setChannelCountMode): (WebCore::AudioNode::setChannelInterpretation): (WebCore::AudioNode::enableOutputsIfNecessary): (WebCore::AudioNode::deref): (WebCore::AudioNode::contextForBindings const): * Modules/webaudio/AudioNode.h: (WebCore::AudioNode::context): (WebCore::AudioNode::context const): * Modules/webaudio/AudioNode.idl: * Modules/webaudio/AudioNodeOutput.h: (WebCore::AudioNodeOutput::context): * Modules/webaudio/AudioParam.cpp: (WebCore::AudioParam::AudioParam): * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParamTimeline.cpp: (WebCore::AudioParamTimeline::valueForContextTime): * Modules/webaudio/AudioParamTimeline.h: * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::AudioScheduledSourceNode): * Modules/webaudio/AudioScheduledSourceNode.h: * Modules/webaudio/AudioSummingJunction.cpp: (WebCore::AudioSummingJunction::AudioSummingJunction): * Modules/webaudio/AudioSummingJunction.h: (WebCore::AudioSummingJunction::context): * Modules/webaudio/BiquadFilterNode.cpp: (WebCore::BiquadFilterNode::BiquadFilterNode): * Modules/webaudio/BiquadFilterNode.h: * Modules/webaudio/BiquadProcessor.cpp: (WebCore::BiquadProcessor::BiquadProcessor): * Modules/webaudio/BiquadProcessor.h: * Modules/webaudio/ChannelMergerNode.cpp: (WebCore::ChannelMergerNode::create): (WebCore::ChannelMergerNode::ChannelMergerNode): * Modules/webaudio/ChannelMergerNode.h: * Modules/webaudio/ChannelSplitterNode.cpp: (WebCore::ChannelSplitterNode::create): (WebCore::ChannelSplitterNode::ChannelSplitterNode): * Modules/webaudio/ChannelSplitterNode.h: * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::ConvolverNode): * Modules/webaudio/ConvolverNode.h: * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode): * Modules/webaudio/DefaultAudioDestinationNode.h: * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::DelayNode): (WebCore::DelayNode::create): * Modules/webaudio/DelayNode.h: * Modules/webaudio/DelayProcessor.cpp: (WebCore::DelayProcessor::DelayProcessor): * Modules/webaudio/DelayProcessor.h: * Modules/webaudio/DistanceModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DistanceModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DynamicsCompressorNode.cpp: (WebCore::DynamicsCompressorNode::DynamicsCompressorNode): * Modules/webaudio/DynamicsCompressorNode.h: * Modules/webaudio/GainNode.cpp: (WebCore::GainNode::GainNode): * Modules/webaudio/GainNode.h: * Modules/webaudio/MediaElementAudioSourceNode.cpp: (WebCore::MediaElementAudioSourceNode::create): (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode): (WebCore::MediaElementAudioSourceNode::setFormat): * Modules/webaudio/MediaElementAudioSourceNode.h: * Modules/webaudio/MediaStreamAudioDestinationNode.cpp: (WebCore::MediaStreamAudioDestinationNode::create): (WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode): * Modules/webaudio/MediaStreamAudioDestinationNode.h: * Modules/webaudio/MediaStreamAudioSourceNode.cpp: (WebCore::MediaStreamAudioSourceNode::create): (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode): * Modules/webaudio/MediaStreamAudioSourceNode.h: * Modules/webaudio/OfflineAudioContext.idl: * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode): * Modules/webaudio/OfflineAudioDestinationNode.h: * Modules/webaudio/OscillatorNode.cpp: (WebCore::OscillatorNode::create): (WebCore::OscillatorNode::OscillatorNode): * Modules/webaudio/OscillatorNode.h: * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNodeBase::PannerNodeBase): (WebCore::PannerNode::PannerNode): * Modules/webaudio/PannerNode.h: * Modules/webaudio/PannerNode.idl: * Modules/webaudio/PanningModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/PanningModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/ScriptProcessorNode.cpp: (WebCore::ScriptProcessorNode::create): (WebCore::ScriptProcessorNode::ScriptProcessorNode): * Modules/webaudio/ScriptProcessorNode.h: * Modules/webaudio/WaveShaperNode.cpp: (WebCore::WaveShaperNode::WaveShaperNode): * Modules/webaudio/WaveShaperNode.h: * Modules/webaudio/WebKitAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/AudioContext.cpp. (WebCore::WebKitAudioContext::isSampleRateRangeGood): (WebCore::WebKitAudioContext::create): (WebCore::WebKitAudioContext::WebKitAudioContext): (WebCore::WebKitAudioContext::constructCommon): (WebCore::WebKitAudioContext::~WebKitAudioContext): (WebCore::WebKitAudioContext::lazyInitialize): (WebCore::WebKitAudioContext::clear): (WebCore::WebKitAudioContext::uninitialize): (WebCore::WebKitAudioContext::isInitialized const): (WebCore::WebKitAudioContext::addReaction): (WebCore::WebKitAudioContext::setState): (WebCore::WebKitAudioContext::stop): (WebCore::WebKitAudioContext::suspend): (WebCore::WebKitAudioContext::resume): (WebCore::WebKitAudioContext::activeDOMObjectName const): (WebCore::WebKitAudioContext::hostingDocumentIdentifier const): (WebCore::WebKitAudioContext::isSuspended const): (WebCore::WebKitAudioContext::visibilityStateChanged): (WebCore::WebKitAudioContext::wouldTaintOrigin const): (WebCore::WebKitAudioContext::createBuffer): (WebCore::WebKitAudioContext::decodeAudioData): (WebCore::WebKitAudioContext::createBufferSource): (WebCore::WebKitAudioContext::createMediaElementSource): (WebCore::WebKitAudioContext::createMediaStreamSource): (WebCore::WebKitAudioContext::createMediaStreamDestination): (WebCore::WebKitAudioContext::createScriptProcessor): (WebCore::WebKitAudioContext::createBiquadFilter): (WebCore::WebKitAudioContext::createWaveShaper): (WebCore::WebKitAudioContext::createPanner): (WebCore::WebKitAudioContext::createConvolver): (WebCore::WebKitAudioContext::createDynamicsCompressor): (WebCore::WebKitAudioContext::createAnalyser): (WebCore::WebKitAudioContext::createGain): (WebCore::WebKitAudioContext::createDelay): (WebCore::WebKitAudioContext::createChannelSplitter): (WebCore::WebKitAudioContext::createChannelMerger): (WebCore::WebKitAudioContext::createOscillator): (WebCore::WebKitAudioContext::createPeriodicWave): (WebCore::WebKitAudioContext::notifyNodeFinishedProcessing): (WebCore::WebKitAudioContext::derefFinishedSourceNodes): (WebCore::WebKitAudioContext::refNode): (WebCore::WebKitAudioContext::derefNode): (WebCore::WebKitAudioContext::derefUnfinishedSourceNodes): (WebCore::WebKitAudioContext::lock): (WebCore::WebKitAudioContext::tryLock): (WebCore::WebKitAudioContext::unlock): (WebCore::WebKitAudioContext::isAudioThread const): (WebCore::WebKitAudioContext::isGraphOwner const): (WebCore::WebKitAudioContext::addDeferredFinishDeref): (WebCore::WebKitAudioContext::handlePreRenderTasks): (WebCore::WebKitAudioContext::handlePostRenderTasks): (WebCore::WebKitAudioContext::handleDeferredFinishDerefs): (WebCore::WebKitAudioContext::markForDeletion): (WebCore::WebKitAudioContext::scheduleNodeDeletion): (WebCore::WebKitAudioContext::deleteMarkedNodes): (WebCore::WebKitAudioContext::markSummingJunctionDirty): (WebCore::WebKitAudioContext::removeMarkedSummingJunction): (WebCore::WebKitAudioContext::markAudioNodeOutputDirty): (WebCore::WebKitAudioContext::handleDirtyAudioSummingJunctions): (WebCore::WebKitAudioContext::handleDirtyAudioNodeOutputs): (WebCore::WebKitAudioContext::addAutomaticPullNode): (WebCore::WebKitAudioContext::removeAutomaticPullNode): (WebCore::WebKitAudioContext::updateAutomaticPullNodes): (WebCore::WebKitAudioContext::processAutomaticPullNodes): (WebCore::WebKitAudioContext::nodeWillBeginPlayback): (WebCore::shouldDocumentAllowWebAudioToAutoPlay): (WebCore::WebKitAudioContext::willBeginPlayback): (WebCore::WebKitAudioContext::willPausePlayback): (WebCore::WebKitAudioContext::startRendering): (WebCore::WebKitAudioContext::mediaCanStart): (WebCore::WebKitAudioContext::mediaState const): (WebCore::WebKitAudioContext::pageMutedStateDidChange): (WebCore::WebKitAudioContext::isPlayingAudioDidChange): (WebCore::WebKitAudioContext::finishedRendering): (WebCore::WebKitAudioContext::dispatchEvent): (WebCore::WebKitAudioContext::incrementActiveSourceCount): (WebCore::WebKitAudioContext::decrementActiveSourceCount): (WebCore::WebKitAudioContext::suspendRendering): (WebCore::WebKitAudioContext::resumeRendering): (WebCore::WebKitAudioContext::close): (WebCore::WebKitAudioContext::suspendPlayback): (WebCore::WebKitAudioContext::mayResumePlayback): (WebCore::WebKitAudioContext::postTask): (WebCore::WebKitAudioContext::origin const): (WebCore::WebKitAudioContext::addConsoleMessage): (WebCore::WebKitAudioContext::clearPendingActivity): (WebCore::WebKitAudioContext::makePendingActivity): (WebCore::WebKitAudioContext::logChannel const): * Modules/webaudio/WebKitAudioContext.h: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. (WebCore::WebKitAudioContext::destination): (WebCore::WebKitAudioContext::activeSourceCount const): (WebCore::WebKitAudioContext::listener): (WebCore::WebKitAudioContext::isClosed const): (WebCore::WebKitAudioContext::connectionCount const): (WebCore::WebKitAudioContext::audioThread const): (WebCore::WebKitAudioContext::maxNumberOfChannels): (WebCore::WebKitAudioContext::userGestureRequiredForAudioStart const): (WebCore::WebKitAudioContext::pageConsentRequiredForAudioStart const): (WebCore::WebKitAudioContext::state const): (isType): * Modules/webaudio/WebKitAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/AudioContext.idl. * Modules/webaudio/WebKitAudioPannerNode.cpp: Copied from Source/WebCore/Modules/webaudio/PannerNode.cpp. (WebCore::fixNANs): (WebCore::WebKitAudioPannerNode::WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::~WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::pullInputs): (WebCore::WebKitAudioPannerNode::process): (WebCore::WebKitAudioPannerNode::reset): (WebCore::WebKitAudioPannerNode::initialize): (WebCore::WebKitAudioPannerNode::uninitialize): (WebCore::WebKitAudioPannerNode::listener): (WebCore::WebKitAudioPannerNode::setPanningModel): (WebCore::WebKitAudioPannerNode::distanceModel const): (WebCore::WebKitAudioPannerNode::setDistanceModel): (WebCore::WebKitAudioPannerNode::getAzimuthElevation): (WebCore::WebKitAudioPannerNode::dopplerRate): (WebCore::WebKitAudioPannerNode::distanceConeGain): (WebCore::WebKitAudioPannerNode::notifyAudioSourcesConnectedToNode): * Modules/webaudio/WebKitAudioPannerNode.h: Copied from Source/WebCore/Modules/webaudio/PannerNode.h. * Modules/webaudio/WebKitAudioPannerNode.idl: Copied from Source/WebCore/Modules/webaudio/PannerNode.idl. * Modules/webaudio/WebKitOfflineAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/DelayNode.cpp. (WebCore::WebKitOfflineAudioContext::WebKitOfflineAudioContext): (WebCore::WebKitOfflineAudioContext::create): * Modules/webaudio/WebKitOfflineAudioContext.h: Copied from Source/WebCore/Modules/webaudio/DelayNode.h. * Modules/webaudio/WebKitOfflineAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: * page/Settings.yaml: * testing/Internals.cpp: (WebCore::Internals::setAudioContextRestrictions): * testing/Internals.h: * testing/Internals.idl: Source/WebKit: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. * Shared/WebPreferences.yaml: Canonical link: https://commits.webkit.org/226120@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-18 04:14:13 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAudioPannerNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitAudioPannerNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitCSSViewportRule.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitCSSViewportRule.h
DynamicsCompressorNode.reduction attribute should be a float, not an AudioParam https://bugs.webkit.org/show_bug.cgi?id=215195 Reviewed by Youenn Fablet. LayoutTests/imported/w3c: Rebaseline WPT tests now that more checks are passing. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/ctor-dynamicscompressor-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-dynamicscompressornode-interface/dynamicscompressor-basic-expected.txt: Source/WebCore: DynamicsCompressorNode.reduction attribute should be a float, not an AudioParam: - https://webaudio.github.io/web-audio-api/#dynamicscompressornode Backward-compatibility is maintained for the prefixed WebAudio API. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/DynamicsCompressorNode.cpp: (WebCore::DynamicsCompressorNode::DynamicsCompressorNode): (WebCore::DynamicsCompressorNode::process): * Modules/webaudio/DynamicsCompressorNode.h: (WebCore::DynamicsCompressorNode::reduction const): (WebCore::DynamicsCompressorNode::DynamicsCompressorNode): (WebCore::DynamicsCompressorNode::setReduction): * Modules/webaudio/DynamicsCompressorNode.idl: * Modules/webaudio/WebKitAudioContext.cpp: (WebCore::WebKitAudioContext::createWebKitDynamicsCompressor): * Modules/webaudio/WebKitAudioContext.h: * Modules/webaudio/WebKitAudioContext.idl: * Modules/webaudio/WebKitDynamicsCompressorNode.h: Copied from Source/WebCore/Modules/webaudio/DynamicsCompressorNode.idl. * Modules/webaudio/WebKitDynamicsCompressorNode.idl: Copied from Source/WebCore/Modules/webaudio/DynamicsCompressorNode.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/228015@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-06 17:33:40 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitDynamicsCompressorNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitDynamicsCompressorNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeyError.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeyError.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeyMessageEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeyMessageEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeyNeededEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeyNeededEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeySession.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeySession.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeys.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitMediaKeys.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitNamespace.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitNamespace.h
Add experimental feature flag for modern & unprefixed WebAudio API https://bugs.webkit.org/show_bug.cgi?id=213268 Reviewed by Jer Noble. LayoutTests/imported/w3c: Rebaseline a few web-platform-tests now that they are passing or failing at a later stage. This is due to our WebAudio getting properly unprefixed in the context of layout tests. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-detached-execution-context.tentative-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-connect-method-chaining-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-offlineaudiocontext-interface/offlineaudiocontext-detached-execution-context.tentative-expected.txt: Source/WebCore: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. This patch split the AudioContext, OfflineAudioContext and PannerNode IDL interfaces into their prefixed and unprefixed versions. The unprefixed versions are behind the new experimental feature flag that is currently off by default but automatically gets turned on in the context of layout tests. This will give us more flexibility when working on the modern and unprefixed WebAudio API as we will not have to worry about backward compatibility. This also allows us to easily turn it on or off via the experimental features menu in Safari. No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AnalyserNode.cpp: (WebCore::AnalyserNode::AnalyserNode): * Modules/webaudio/AnalyserNode.h: * Modules/webaudio/AudioBasicInspectorNode.cpp: (WebCore::AudioBasicInspectorNode::AudioBasicInspectorNode): * Modules/webaudio/AudioBasicInspectorNode.h: * Modules/webaudio/AudioBasicProcessorNode.cpp: (WebCore::AudioBasicProcessorNode::AudioBasicProcessorNode): * Modules/webaudio/AudioBasicProcessorNode.h: * Modules/webaudio/AudioBufferSourceNode.cpp: (WebCore::AudioBufferSourceNode::create): (WebCore::AudioBufferSourceNode::AudioBufferSourceNode): (WebCore::AudioBufferSourceNode::setBuffer): (WebCore::AudioBufferSourceNode::setPannerNode): * Modules/webaudio/AudioBufferSourceNode.h: * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContextBase::AudioContextBase): (WebCore::AudioContext::AudioContext): (WebCore::AudioContextBase::document const): (WebCore::AudioContextBase::scriptExecutionContext const): * Modules/webaudio/AudioContext.h: (WebCore::AudioContextBase::AutoLocker::AutoLocker): (WebCore::AudioContextBase::AutoLocker::~AutoLocker): (WebCore::AudioContext::maxNumberOfChannels): (isType): * Modules/webaudio/AudioContext.idl: * Modules/webaudio/AudioContextState.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioContextState.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/AudioDestinationNode.cpp: (WebCore::AudioDestinationNode::AudioDestinationNode): * Modules/webaudio/AudioDestinationNode.h: * Modules/webaudio/AudioNode.cpp: (WebCore::AudioNode::AudioNode): (WebCore::AudioNode::connect): (WebCore::AudioNode::disconnect): (WebCore::AudioNode::setChannelCount): (WebCore::AudioNode::setChannelCountMode): (WebCore::AudioNode::setChannelInterpretation): (WebCore::AudioNode::enableOutputsIfNecessary): (WebCore::AudioNode::deref): (WebCore::AudioNode::contextForBindings const): * Modules/webaudio/AudioNode.h: (WebCore::AudioNode::context): (WebCore::AudioNode::context const): * Modules/webaudio/AudioNode.idl: * Modules/webaudio/AudioNodeOutput.h: (WebCore::AudioNodeOutput::context): * Modules/webaudio/AudioParam.cpp: (WebCore::AudioParam::AudioParam): * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParamTimeline.cpp: (WebCore::AudioParamTimeline::valueForContextTime): * Modules/webaudio/AudioParamTimeline.h: * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::AudioScheduledSourceNode): * Modules/webaudio/AudioScheduledSourceNode.h: * Modules/webaudio/AudioSummingJunction.cpp: (WebCore::AudioSummingJunction::AudioSummingJunction): * Modules/webaudio/AudioSummingJunction.h: (WebCore::AudioSummingJunction::context): * Modules/webaudio/BiquadFilterNode.cpp: (WebCore::BiquadFilterNode::BiquadFilterNode): * Modules/webaudio/BiquadFilterNode.h: * Modules/webaudio/BiquadProcessor.cpp: (WebCore::BiquadProcessor::BiquadProcessor): * Modules/webaudio/BiquadProcessor.h: * Modules/webaudio/ChannelMergerNode.cpp: (WebCore::ChannelMergerNode::create): (WebCore::ChannelMergerNode::ChannelMergerNode): * Modules/webaudio/ChannelMergerNode.h: * Modules/webaudio/ChannelSplitterNode.cpp: (WebCore::ChannelSplitterNode::create): (WebCore::ChannelSplitterNode::ChannelSplitterNode): * Modules/webaudio/ChannelSplitterNode.h: * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::ConvolverNode): * Modules/webaudio/ConvolverNode.h: * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode): * Modules/webaudio/DefaultAudioDestinationNode.h: * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::DelayNode): (WebCore::DelayNode::create): * Modules/webaudio/DelayNode.h: * Modules/webaudio/DelayProcessor.cpp: (WebCore::DelayProcessor::DelayProcessor): * Modules/webaudio/DelayProcessor.h: * Modules/webaudio/DistanceModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DistanceModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/DynamicsCompressorNode.cpp: (WebCore::DynamicsCompressorNode::DynamicsCompressorNode): * Modules/webaudio/DynamicsCompressorNode.h: * Modules/webaudio/GainNode.cpp: (WebCore::GainNode::GainNode): * Modules/webaudio/GainNode.h: * Modules/webaudio/MediaElementAudioSourceNode.cpp: (WebCore::MediaElementAudioSourceNode::create): (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode): (WebCore::MediaElementAudioSourceNode::setFormat): * Modules/webaudio/MediaElementAudioSourceNode.h: * Modules/webaudio/MediaStreamAudioDestinationNode.cpp: (WebCore::MediaStreamAudioDestinationNode::create): (WebCore::MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode): * Modules/webaudio/MediaStreamAudioDestinationNode.h: * Modules/webaudio/MediaStreamAudioSourceNode.cpp: (WebCore::MediaStreamAudioSourceNode::create): (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode): * Modules/webaudio/MediaStreamAudioSourceNode.h: * Modules/webaudio/OfflineAudioContext.idl: * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode): * Modules/webaudio/OfflineAudioDestinationNode.h: * Modules/webaudio/OscillatorNode.cpp: (WebCore::OscillatorNode::create): (WebCore::OscillatorNode::OscillatorNode): * Modules/webaudio/OscillatorNode.h: * Modules/webaudio/PannerNode.cpp: (WebCore::PannerNodeBase::PannerNodeBase): (WebCore::PannerNode::PannerNode): * Modules/webaudio/PannerNode.h: * Modules/webaudio/PannerNode.idl: * Modules/webaudio/PanningModelType.h: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/PanningModelType.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Modules/webaudio/ScriptProcessorNode.cpp: (WebCore::ScriptProcessorNode::create): (WebCore::ScriptProcessorNode::ScriptProcessorNode): * Modules/webaudio/ScriptProcessorNode.h: * Modules/webaudio/WaveShaperNode.cpp: (WebCore::WaveShaperNode::WaveShaperNode): * Modules/webaudio/WaveShaperNode.h: * Modules/webaudio/WebKitAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/AudioContext.cpp. (WebCore::WebKitAudioContext::isSampleRateRangeGood): (WebCore::WebKitAudioContext::create): (WebCore::WebKitAudioContext::WebKitAudioContext): (WebCore::WebKitAudioContext::constructCommon): (WebCore::WebKitAudioContext::~WebKitAudioContext): (WebCore::WebKitAudioContext::lazyInitialize): (WebCore::WebKitAudioContext::clear): (WebCore::WebKitAudioContext::uninitialize): (WebCore::WebKitAudioContext::isInitialized const): (WebCore::WebKitAudioContext::addReaction): (WebCore::WebKitAudioContext::setState): (WebCore::WebKitAudioContext::stop): (WebCore::WebKitAudioContext::suspend): (WebCore::WebKitAudioContext::resume): (WebCore::WebKitAudioContext::activeDOMObjectName const): (WebCore::WebKitAudioContext::hostingDocumentIdentifier const): (WebCore::WebKitAudioContext::isSuspended const): (WebCore::WebKitAudioContext::visibilityStateChanged): (WebCore::WebKitAudioContext::wouldTaintOrigin const): (WebCore::WebKitAudioContext::createBuffer): (WebCore::WebKitAudioContext::decodeAudioData): (WebCore::WebKitAudioContext::createBufferSource): (WebCore::WebKitAudioContext::createMediaElementSource): (WebCore::WebKitAudioContext::createMediaStreamSource): (WebCore::WebKitAudioContext::createMediaStreamDestination): (WebCore::WebKitAudioContext::createScriptProcessor): (WebCore::WebKitAudioContext::createBiquadFilter): (WebCore::WebKitAudioContext::createWaveShaper): (WebCore::WebKitAudioContext::createPanner): (WebCore::WebKitAudioContext::createConvolver): (WebCore::WebKitAudioContext::createDynamicsCompressor): (WebCore::WebKitAudioContext::createAnalyser): (WebCore::WebKitAudioContext::createGain): (WebCore::WebKitAudioContext::createDelay): (WebCore::WebKitAudioContext::createChannelSplitter): (WebCore::WebKitAudioContext::createChannelMerger): (WebCore::WebKitAudioContext::createOscillator): (WebCore::WebKitAudioContext::createPeriodicWave): (WebCore::WebKitAudioContext::notifyNodeFinishedProcessing): (WebCore::WebKitAudioContext::derefFinishedSourceNodes): (WebCore::WebKitAudioContext::refNode): (WebCore::WebKitAudioContext::derefNode): (WebCore::WebKitAudioContext::derefUnfinishedSourceNodes): (WebCore::WebKitAudioContext::lock): (WebCore::WebKitAudioContext::tryLock): (WebCore::WebKitAudioContext::unlock): (WebCore::WebKitAudioContext::isAudioThread const): (WebCore::WebKitAudioContext::isGraphOwner const): (WebCore::WebKitAudioContext::addDeferredFinishDeref): (WebCore::WebKitAudioContext::handlePreRenderTasks): (WebCore::WebKitAudioContext::handlePostRenderTasks): (WebCore::WebKitAudioContext::handleDeferredFinishDerefs): (WebCore::WebKitAudioContext::markForDeletion): (WebCore::WebKitAudioContext::scheduleNodeDeletion): (WebCore::WebKitAudioContext::deleteMarkedNodes): (WebCore::WebKitAudioContext::markSummingJunctionDirty): (WebCore::WebKitAudioContext::removeMarkedSummingJunction): (WebCore::WebKitAudioContext::markAudioNodeOutputDirty): (WebCore::WebKitAudioContext::handleDirtyAudioSummingJunctions): (WebCore::WebKitAudioContext::handleDirtyAudioNodeOutputs): (WebCore::WebKitAudioContext::addAutomaticPullNode): (WebCore::WebKitAudioContext::removeAutomaticPullNode): (WebCore::WebKitAudioContext::updateAutomaticPullNodes): (WebCore::WebKitAudioContext::processAutomaticPullNodes): (WebCore::WebKitAudioContext::nodeWillBeginPlayback): (WebCore::shouldDocumentAllowWebAudioToAutoPlay): (WebCore::WebKitAudioContext::willBeginPlayback): (WebCore::WebKitAudioContext::willPausePlayback): (WebCore::WebKitAudioContext::startRendering): (WebCore::WebKitAudioContext::mediaCanStart): (WebCore::WebKitAudioContext::mediaState const): (WebCore::WebKitAudioContext::pageMutedStateDidChange): (WebCore::WebKitAudioContext::isPlayingAudioDidChange): (WebCore::WebKitAudioContext::finishedRendering): (WebCore::WebKitAudioContext::dispatchEvent): (WebCore::WebKitAudioContext::incrementActiveSourceCount): (WebCore::WebKitAudioContext::decrementActiveSourceCount): (WebCore::WebKitAudioContext::suspendRendering): (WebCore::WebKitAudioContext::resumeRendering): (WebCore::WebKitAudioContext::close): (WebCore::WebKitAudioContext::suspendPlayback): (WebCore::WebKitAudioContext::mayResumePlayback): (WebCore::WebKitAudioContext::postTask): (WebCore::WebKitAudioContext::origin const): (WebCore::WebKitAudioContext::addConsoleMessage): (WebCore::WebKitAudioContext::clearPendingActivity): (WebCore::WebKitAudioContext::makePendingActivity): (WebCore::WebKitAudioContext::logChannel const): * Modules/webaudio/WebKitAudioContext.h: Copied from Source/WebCore/Modules/webaudio/AudioContext.h. (WebCore::WebKitAudioContext::destination): (WebCore::WebKitAudioContext::activeSourceCount const): (WebCore::WebKitAudioContext::listener): (WebCore::WebKitAudioContext::isClosed const): (WebCore::WebKitAudioContext::connectionCount const): (WebCore::WebKitAudioContext::audioThread const): (WebCore::WebKitAudioContext::maxNumberOfChannels): (WebCore::WebKitAudioContext::userGestureRequiredForAudioStart const): (WebCore::WebKitAudioContext::pageConsentRequiredForAudioStart const): (WebCore::WebKitAudioContext::state const): (isType): * Modules/webaudio/WebKitAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/AudioContext.idl. * Modules/webaudio/WebKitAudioPannerNode.cpp: Copied from Source/WebCore/Modules/webaudio/PannerNode.cpp. (WebCore::fixNANs): (WebCore::WebKitAudioPannerNode::WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::~WebKitAudioPannerNode): (WebCore::WebKitAudioPannerNode::pullInputs): (WebCore::WebKitAudioPannerNode::process): (WebCore::WebKitAudioPannerNode::reset): (WebCore::WebKitAudioPannerNode::initialize): (WebCore::WebKitAudioPannerNode::uninitialize): (WebCore::WebKitAudioPannerNode::listener): (WebCore::WebKitAudioPannerNode::setPanningModel): (WebCore::WebKitAudioPannerNode::distanceModel const): (WebCore::WebKitAudioPannerNode::setDistanceModel): (WebCore::WebKitAudioPannerNode::getAzimuthElevation): (WebCore::WebKitAudioPannerNode::dopplerRate): (WebCore::WebKitAudioPannerNode::distanceConeGain): (WebCore::WebKitAudioPannerNode::notifyAudioSourcesConnectedToNode): * Modules/webaudio/WebKitAudioPannerNode.h: Copied from Source/WebCore/Modules/webaudio/PannerNode.h. * Modules/webaudio/WebKitAudioPannerNode.idl: Copied from Source/WebCore/Modules/webaudio/PannerNode.idl. * Modules/webaudio/WebKitOfflineAudioContext.cpp: Copied from Source/WebCore/Modules/webaudio/DelayNode.cpp. (WebCore::WebKitOfflineAudioContext::WebKitOfflineAudioContext): (WebCore::WebKitOfflineAudioContext::create): * Modules/webaudio/WebKitOfflineAudioContext.h: Copied from Source/WebCore/Modules/webaudio/DelayNode.h. * Modules/webaudio/WebKitOfflineAudioContext.idl: Copied from Source/WebCore/Modules/webaudio/OfflineAudioContext.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/EventTargetFactory.in: * page/Settings.yaml: * testing/Internals.cpp: (WebCore::Internals::setAudioContextRestrictions): * testing/Internals.h: * testing/Internals.idl: Source/WebKit: Add experimental feature flag for modern & unprefixed WebAudio API, off by default. * Shared/WebPreferences.yaml: Canonical link: https://commits.webkit.org/226120@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-06-18 04:14:13 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitOfflineAudioContext.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitOfflineAudioContext.h
Source/WebCore: Move non standard OscillatorNode API to new webKitOscillatorNode interface https://bugs.webkit.org/show_bug.cgi?id=214902 Reviewed by Darin Adler. Move non standard OscillatorNode API to new webKitOscillatorNode interface: https://webaudio.github.io/web-audio-api/#oscillatornode Namely, the playbackState attribute and its associated constants are now exposed on the prefixed webKitOscillatorNode interface instead of the unprefixed OscillatorNode. This way, this API is still available to apps using the prefixed API but we do not support this legacy API if the app is using the modern unprefixed API. Test: webaudio/oscillatornode-legacy-api.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/OscillatorNode.cpp: (WebCore::OscillatorNode::create): (WebCore::OscillatorNode::setType): (WebCore::OscillatorNode::setPeriodicWave): * Modules/webaudio/OscillatorNode.h: * Modules/webaudio/OscillatorNode.idl: * Modules/webaudio/WebKitAudioContext.cpp: (WebCore::WebKitAudioContext::createWebKitOscillator): * Modules/webaudio/WebKitAudioContext.h: * Modules/webaudio/WebKitAudioContext.idl: * Modules/webaudio/WebKitOscillatorNode.h: Copied from Source/WebCore/Modules/webaudio/OscillatorNode.idl. (WebCore::WebKitOscillatorNode::create): (WebCore::WebKitOscillatorNode::setWebKitPeriodicWave): (WebCore::WebKitOscillatorNode::WebKitOscillatorNode): * Modules/webaudio/WebKitOscillatorNode.idl: Copied from Source/WebCore/Modules/webaudio/OscillatorNode.idl. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: LayoutTests: Move non standard OscillatorNode API to new WebKitOscillatorNode interface https://bugs.webkit.org/show_bug.cgi?id=214902 Reviewed by Darin Adler. Add layout test coverage. * webaudio/oscillatornode-legacy-api-expected.txt: Added. * webaudio/oscillatornode-legacy-api.html: Added. Canonical link: https://commits.webkit.org/227730@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-29 05:18:35 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitOscillatorNode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitOscillatorNode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitPlaybackTargetAvailabilityEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitPlaybackTargetAvailabilityEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitPoint.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitPoint.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitTransitionEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebKitTransitionEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebSocket.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebSocket.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRBoundedReferenceSpace.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRBoundedReferenceSpace.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRFrame.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRFrame.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRInputSource.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRInputSource.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRInputSourceArray.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRInputSourceArray.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRLayer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRLayer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRPose.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRPose.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRReferenceSpace.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRReferenceSpace.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRRenderState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRRenderState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRRigidTransform.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRRigidTransform.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSession.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSession.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSpace.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSpace.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSystem.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSystem.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRTest.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRTest.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRView.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRView.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRViewerPose.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRViewerPose.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRViewport.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRViewport.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRWebGLLayer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRWebGLLayer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWheelEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWheelEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowEventHandlers.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowEventHandlers.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowLocalStorage.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowLocalStorage.h
Merge WorkerGlobalScope+Caches.idl and DOMWindow+Caches.idl into a single WindowOrWorkerGlobalScope+Caches.idl https://bugs.webkit.org/show_bug.cgi?id=226271 Reviewed by Darin Adler. Address FIXMEs in both WorkerGlobalScope+Caches.idl and DOMWindow+Caches.idl by merging them into a single WindowOrWorkerGlobalScope+Caches.idl, matching the spec langauge more closely. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/cache/DOMWindow+Caches.idl: Removed. * Modules/cache/DOMWindowCaches.cpp: Removed. * Modules/cache/DOMWindowCaches.h: Removed. * Modules/cache/WindowOrWorkerGlobalScope+Caches.idl: Added. * Modules/cache/WindowOrWorkerGlobalScopeCaches.cpp: Added. (WebCore::DOMWindowCaches::supplementName): (WebCore::WorkerGlobalScopeCaches::supplementName): (WebCore::DOMWindowCaches::DOMWindowCaches): (WebCore::DOMWindowCaches::from): (WebCore::DOMWindowCaches::caches const): (WebCore::WorkerGlobalScopeCaches::WorkerGlobalScopeCaches): (WebCore::WorkerGlobalScopeCaches::from): (WebCore::WorkerGlobalScopeCaches::caches const): (WebCore::WindowOrWorkerGlobalScopeCaches::caches): * Modules/cache/WindowOrWorkerGlobalScopeCaches.h: Added. * Modules/cache/WorkerGlobalScope+Caches.idl: Removed. * Modules/cache/WorkerGlobalScopeCaches.cpp: Removed. * Modules/cache/WorkerGlobalScopeCaches.h: Removed. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/238207@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-27 13:26:22 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope+Caches.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope+Caches.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope+Crypto.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope+Crypto.h
[WebIDL] Switch to new file name convention for partial interfaces https://bugs.webkit.org/show_bug.cgi?id=216843 Reviewed by Tim Horton. Updates all 'partial interface' IDLs to use the new naming convention adopted in https://webkit.org/b/216729, where they are name as the construction of the base interface '+' the supplementing spec. So, additions to Document from the Web Animations spec becomes Document+WebAnimations.idl. * accessibility/AccessibilityRenderObject.cpp: * bindings/js/JSDocumentCustom.cpp: * bindings/js/JSXMLDocumentCustom.cpp: * html/HTMLFrameOwnerElement.h: * loader/FrameLoader.cpp: * page/FrameView.cpp: * svg/DocumentSVG.cpp: Added. * svg/DocumentSVG.h: Added. * svg/SVGDocument.cpp: * svg/SVGDocument.h: * svg/SVGTRefElement.cpp: * svg/graphics/SVGImage.cpp: * style/StyleAdjuster.cpp: * svg/Document+SVG.idl: Added. * svg/SVGDocument.idl: Removed. Fix weirdness around SVGDocument. Previously, additions to the Document interface were in a class that was also a document subclass. Now the two are split, so the additions are in DocumentSVG.h/cpp, matching convention, and the subclass remains SVGDocument.h/cpp, also matching convention. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: Update for renames. * Modules/async-clipboard/Navigator+Clipboard.idl: Added. * Modules/async-clipboard/NavigatorClipboard.idl: Removed. * Modules/beacon/Navigator+Beacon.idl: Added. * Modules/beacon/NavigatorBeacon.idl: Removed. * Modules/cache/DOMWindow+Caches.idl: Added. * Modules/cache/DOMWindowCaches.idl: Removed. * Modules/cache/WorkerGlobalScope+Caches.idl: Added. * Modules/cache/WorkerGlobalScopeCaches.idl: Removed. * Modules/credentialmanagement/Navigator+Credentials.idl: Added. * Modules/credentialmanagement/NavigatorCredentials.idl: Removed. * Modules/encryptedmedia/Navigator+EME.idl: Added. * Modules/encryptedmedia/NavigatorEME.idl: Removed. * Modules/entriesapi/HTMLInputElement+EntriesAPI.idl: Added. * Modules/entriesapi/HTMLInputElementEntriesAPI.idl: Removed. * Modules/fetch/WindowOrWorkerGlobalScope+Fetch.idl: Added. * Modules/fetch/WindowOrWorkerGlobalScopeFetch.idl: Removed. * Modules/gamepad/Navigator+Gamepad.idl: Added. * Modules/gamepad/NavigatorGamepad.idl: Removed. * Modules/geolocation/Navigator+Geolocation.idl: Added. * Modules/geolocation/NavigatorGeolocation.idl: Removed. * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Added. * Modules/indexeddb/DOMWindowIndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Removed. * Modules/mediacapabilities/Navigator+MediaCapabilities.idl: Added. * Modules/mediacapabilities/NavigatorMediaCapabilities.idl: Removed. * Modules/mediasession/HTMLMediaElement+MediaSession.idl: Added. * Modules/mediasession/HTMLMediaElementMediaSession.idl: Removed. * Modules/mediasource/AudioTrack+MediaSource.idl: Added. * Modules/mediasource/AudioTrackMediaSource.idl: Removed. * Modules/mediasource/DOMURL+MediaSource.idl: Added. * Modules/mediasource/DOMURLMediaSource.idl: Removed. * Modules/mediasource/TextTrack+MediaSource.idl: Added. * Modules/mediasource/TextTrackMediaSource.idl: Removed. * Modules/mediasource/VideoTrack+MediaSource.idl: Added. * Modules/mediasource/VideoTrackMediaSource.idl: Removed. * Modules/mediastream/Navigator+MediaDevices.idl: Added. * Modules/mediastream/NavigatorMediaDevices.idl: Removed. * Modules/pictureinpicture/Document+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRoot+PictureInPicture.idl: Added. * Modules/pictureinpicture/DocumentOrShadowRootPictureInPicture.idl: Removed. * Modules/pictureinpicture/DocumentPictureInPicture.idl: Removed. * Modules/pictureinpicture/HTMLVideoElement+PictureInPicture.idl: Added. * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.idl: Removed. * Modules/quota/DOMWindow+Quota.idl: Added. * Modules/quota/DOMWindowQuota.idl: Removed. * Modules/quota/Navigator+StorageQuota.idl: Added. * Modules/quota/NavigatorStorageQuota.idl: Removed. * Modules/quota/WorkerNavigator+StorageQuota.idl: Added. * Modules/quota/WorkerNavigatorStorageQuota.idl: Removed. * Modules/remoteplayback/HTMLMediaElement+RemotePlayback.idl: Added. * Modules/remoteplayback/HTMLMediaElementRemotePlayback.idl: Removed. * Modules/speech/DOMWindow+SpeechSynthesis.idl: Added. * Modules/speech/DOMWindowSpeechSynthesis.idl: Removed. * Modules/webdatabase/DOMWindow+WebDatabase.idl: Added. * Modules/webdatabase/DOMWindowWebDatabase.idl: Removed. * Modules/webdriver/Navigator+WebDriver.idl: Added. * Modules/webdriver/NavigatorWebDriver.idl: Removed. * Modules/webgpu/Navigator+GPU.idl: Added. * Modules/webgpu/NavigatorGPU.idl: Removed. * Modules/webgpu/WorkerNavigator+GPU.idl: Added. * Modules/webgpu/WorkerNavigatorGPU.idl: Removed. * Modules/webxr/Navigator+WebXR.idl: Added. * Modules/webxr/NavigatorWebXR.idl: Removed. * animation/Document+WebAnimations.idl: Added. * animation/DocumentAnimations.idl: Removed. * animation/DocumentOrShadowRoot+WebAnimations.idl: Added. * animation/DocumentOrShadowRootAnimations.idl: Removed. * animation/GlobalEventHandlers+CSSAnimations.idl: Added. * animation/GlobalEventHandlers+CSSTransitions.idl: Added. * animation/GlobalEventHandlersCSSAnimations.idl: Removed. * animation/GlobalEventHandlersCSSTransitions.idl: Removed. * css/DOMCSSNamespace+CSSPainting.idl: Added. * css/DOMCSSNamespace+CSSPropertiesandValues.idl: Added. * css/DOMCSSPaintWorklet.idl: Removed. * css/DOMCSSRegisterCustomProperty.idl: Removed. * css/DocumentOrShadowRoot+CSSOM.idl: Added. * css/DocumentOrShadowRootStyleSheets.idl: Removed. * dom/Document+CSSOMView.idl: Added. * dom/Document+Fullscreen.idl: Added. * dom/Document+HTML.idl: Added. * dom/Document+HTMLObsolete.idl: Added. * dom/Document+PageVisibility.idl: Added. * dom/Document+PointerLock.idl: Added. * dom/Document+Selection.idl: Added. * dom/Document+StorageAccess.idl: Added. * dom/Document+Touch.idl: Added. * dom/Document+UndoMananger.idl: Added. * dom/DocumentFullscreen.idl: Removed. * dom/DocumentHTML.idl: Removed. * dom/DocumentHTMLObsolete.idl: Removed. * dom/DocumentOrShadowRoot+PointerLock.idl: Added. * dom/DocumentOrShadowRootPointerLock.idl: Removed. * dom/DocumentPageVisibility.idl: Removed. * dom/DocumentPointerLock.idl: Removed. * dom/DocumentScrolling.idl: Removed. * dom/DocumentSelection.idl: Removed. * dom/DocumentStorageAccess.idl: Removed. * dom/DocumentTouch.idl: Removed. * dom/DocumentUndoMananger.idl: Removed. * dom/Element+DOMParsing.idl: Added. * dom/ElementDOMParsing.idl: Removed. * dom/GlobalEventHandlers+PointerEvents.idl: Added. * dom/GlobalEventHandlersPointerEvents.idl: Removed. * page/Navigator+IsLoggedIn.idl: Added. * page/NavigatorIsLoggedIn.idl: Removed. Rename IDLs. Canonical link: https://commits.webkit.org/229645@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-23 00:20:14 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope+Fetch.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope+Fetch.h
Merge DOMWindow+IndexedDatabase.idl and WorkerGlobalScope+IndexedDatabase.idl into a single WindowOrWorkerGlobalScope+IndexedDatabase.idl to match the IndexedDB spec https://bugs.webkit.org/show_bug.cgi?id=223856 Reviewed by Sihui Liu. Replaces DOMWindow+IndexedDatabase.idl and WorkerGlobalScope+IndexedDatabase.idl with WindowOrWorkerGlobalScope+IndexedDatabase.idl which contains a partial mixin interface like specified. Also moves implementations of supplements into the cpp file, as the only use of them is by the two indexedDB static functions. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/indexeddb/DOMWindow+IndexedDatabase.idl: Removed. * Modules/indexeddb/DOMWindowIndexedDatabase.cpp: Removed. * Modules/indexeddb/DOMWindowIndexedDatabase.h: Removed. * Modules/indexeddb/WindowOrWorkerGlobalScope+IndexedDatabase.idl: Added. * Modules/indexeddb/WindowOrWorkerGlobalScopeIndexedDatabase.cpp: Added. (WebCore::DOMWindowIndexedDatabase::supplementName): (WebCore::WorkerGlobalScopeIndexedDatabase::supplementName): (WebCore::WindowOrWorkerGlobalScopeIndexedDatabase::indexedDB): (WebCore::DOMWindowIndexedDatabase::DOMWindowIndexedDatabase): (WebCore::DOMWindowIndexedDatabase::from): (WebCore::DOMWindowIndexedDatabase::indexedDB): (WebCore::WorkerGlobalScopeIndexedDatabase::WorkerGlobalScopeIndexedDatabase): (WebCore::WorkerGlobalScopeIndexedDatabase::from): (WebCore::WorkerGlobalScopeIndexedDatabase::indexedDB): * Modules/indexeddb/WindowOrWorkerGlobalScopeIndexedDatabase.h: Added. * Modules/indexeddb/WorkerGlobalScope+IndexedDatabase.idl: Removed. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp: Removed. * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h: Removed. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMWindowCustom.cpp: * inspector/agents/InspectorIndexedDBAgent.cpp: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275303 268f45cc-cd09-0410-ab3c-d52691b4dbfc Canonical link: https://commits.webkit.org/235984@main
2021-03-31 20:15:07 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope+IndexedDatabase.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope+IndexedDatabase.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope+Performance.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope+Performance.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowOrWorkerGlobalScope.h
[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowSessionStorage.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWindowSessionStorage.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorker.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorker.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkerGlobalScope.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkerGlobalScope.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkerLocation.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkerLocation.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkerNavigator.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkerNavigator.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkerType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkerType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorklet.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorklet.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkletGlobalScope.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkletGlobalScope.h
Add stubs for AudioWorklet https://bugs.webkit.org/show_bug.cgi?id=217059 Reviewed by Eric Carlson. LayoutTests/imported/w3c: Rebaseline WPT tests now that AudioWorklet / AudioWorkletNode / AudioParamMap interfaces are exposed. * web-platform-tests/webaudio/idlharness.https.window-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/processing-after-resume.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet-connections.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-stereo-panner-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-addmodule-resolution.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-iterable.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-size.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-messageport.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-postmessage-sharedarraybuffer.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-suspend.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-sample-rate.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletglobalscope-timing-info.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-automatic-pull.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-channel-count.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-construction.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-constructor-options.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-disconnected-input.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-onerror.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-output-channel-count.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-options.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-process-frozen-array.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-process-zero-outputs.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-promises.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/extended-audioworkletnode-with-parameters.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/process-getter.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/process-parameters.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/processor-construction-port.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/simple-input-output.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/suspended-context-messageport.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/active-processing.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/cors-check.https-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/no-cors.https-expected.txt: Source/WebCore: Add stubs for AudioWorklet, AudioWorkletNode and AudioParamMap: - https://www.w3.org/TR/webaudio/#audioworklet - https://www.w3.org/TR/webaudio/#audioworkletnode - https://www.w3.org/TR/webaudio/#audioparammap No new tests, rebaselined existing tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/webaudio/AudioNode.cpp: (WebCore::convertEnumerationToString): * Modules/webaudio/AudioNode.h: * Modules/webaudio/AudioParamMap.cpp: Added. (WebCore::AudioParamMap::initializeMapLike): (WebCore::AudioParamMap::add): * Modules/webaudio/AudioParamMap.h: Added. (WebCore::AudioParamMap::create): (WebCore::AudioParamMap::map const): * Modules/webaudio/AudioParamMap.idl: Added. * Modules/webaudio/AudioWorklet.cpp: Added. (WebCore::AudioWorklet::create): (WebCore::AudioWorklet::AudioWorklet): * Modules/webaudio/AudioWorklet.h: Added. * Modules/webaudio/AudioWorklet.idl: Added. * Modules/webaudio/AudioWorkletNode.cpp: Added. (WebCore::AudioWorkletNode::create): (WebCore::AudioWorkletNode::AudioWorkletNode): (WebCore::AudioWorkletNode::~AudioWorkletNode): (WebCore::AudioWorkletNode::process): * Modules/webaudio/AudioWorkletNode.h: Added. (WebCore::AudioWorkletNode::parameters): (WebCore::AudioWorkletNode::port): * Modules/webaudio/AudioWorkletNode.idl: Added. * Modules/webaudio/AudioWorkletNodeOptions.h: Added. * Modules/webaudio/AudioWorkletNodeOptions.idl: Added. * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::BaseAudioContext): * Modules/webaudio/BaseAudioContext.h: (WebCore::BaseAudioContext::audioWorklet): * Modules/webaudio/BaseAudioContext.idl: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * css/DOMCSSPaintWorklet.cpp: (WebCore::DOMCSSPaintWorklet::ensurePaintWorklet): (WebCore::PaintWorklet::addModule): * css/DOMCSSPaintWorklet.h: * dom/Document.cpp: (WebCore::Document::ensurePaintWorklet): * dom/Document.h: * dom/EventNames.h: * page/Settings.yaml: * worklets/Worklet.cpp: (WebCore::Worklet::addModule): * worklets/Worklet.h: * worklets/Worklet.idl: * worklets/WorkletOptions.h: Copied from Source/WebCore/worklets/Worklet.idl. * worklets/WorkletOptions.idl: Copied from Source/WebCore/worklets/Worklet.idl. Source/WebKit: Add experimental feature flag for AudioWorklet API. * Shared/WebPreferencesExperimental.yaml: LayoutTests: Skip tests that are timing out because we don't support Worklet.addModule() yet. * TestExpectations: * webaudio/AudioParam/worklet-warnings-expected.txt: Canonical link: https://commits.webkit.org/229873@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-29 16:47:37 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkletOptions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWorkletOptions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWritableStream.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWritableStream.h
Refresh WritableStream up to spec https://bugs.webkit.org/show_bug.cgi?id=215267 Reviewed by Geoff Garen. LayoutTests/imported/w3c: * web-platform-tests/encoding/streams/realms.window-expected.txt: * web-platform-tests/fetch/api/response/response-stream-disturbed-by-pipe.any-expected.txt: * web-platform-tests/fetch/api/response/response-stream-disturbed-by-pipe.any.worker-expected.txt: * web-platform-tests/streams/idlharness.any-expected.txt: * web-platform-tests/streams/idlharness.any.worker-expected.txt: * web-platform-tests/streams/piping/abort.any-expected.txt: * web-platform-tests/streams/piping/abort.any.worker-expected.txt: * web-platform-tests/streams/piping/close-propagation-backward.any-expected.txt: * web-platform-tests/streams/piping/close-propagation-backward.any.worker-expected.txt: * web-platform-tests/streams/piping/close-propagation-forward.any-expected.txt: * web-platform-tests/streams/piping/close-propagation-forward.any.worker-expected.txt: * web-platform-tests/streams/piping/error-propagation-backward.any-expected.txt: * web-platform-tests/streams/piping/error-propagation-backward.any.worker-expected.txt: * web-platform-tests/streams/piping/error-propagation-forward.any-expected.txt: * web-platform-tests/streams/piping/error-propagation-forward.any.worker-expected.txt: * web-platform-tests/streams/piping/flow-control.any-expected.txt: * web-platform-tests/streams/piping/flow-control.any.worker-expected.txt: * web-platform-tests/streams/piping/general.any-expected.txt: * web-platform-tests/streams/piping/general.any.worker-expected.txt: * web-platform-tests/streams/piping/multiple-propagation.any-expected.txt: * web-platform-tests/streams/piping/multiple-propagation.any.worker-expected.txt: * web-platform-tests/streams/piping/pipe-through.any-expected.txt: * web-platform-tests/streams/piping/pipe-through.any.worker-expected.txt: * web-platform-tests/streams/piping/then-interception.any-expected.txt: * web-platform-tests/streams/piping/then-interception.any.worker-expected.txt: * web-platform-tests/streams/piping/throwing-options.any-expected.txt: * web-platform-tests/streams/transform-streams/patched-global.any.worker-expected.txt: * web-platform-tests/streams/readable-streams/patched-global.any-expected.txt: * web-platform-tests/streams/readable-streams/patched-global.any.worker-expected.txt: * web-platform-tests/streams/readable-streams/reentrant-strategies.any-expected.txt: * web-platform-tests/streams/readable-streams/reentrant-strategies.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/reentrant-strategies.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/aborting.any-expected.txt: * web-platform-tests/streams/writable-streams/aborting.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/bad-strategies.any-expected.txt: * web-platform-tests/streams/writable-streams/bad-strategies.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/bad-underlying-sinks.any-expected.txt: * web-platform-tests/streams/writable-streams/bad-underlying-sinks.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/byte-length-queuing-strategy.any-expected.txt: * web-platform-tests/streams/writable-streams/byte-length-queuing-strategy.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/close.any-expected.txt: * web-platform-tests/streams/writable-streams/close.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/constructor.any-expected.txt: * web-platform-tests/streams/writable-streams/constructor.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/count-queuing-strategy.any-expected.txt: * web-platform-tests/streams/writable-streams/count-queuing-strategy.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/error.any-expected.txt: * web-platform-tests/streams/writable-streams/error.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/floating-point-total-queue-size.any-expected.txt: * web-platform-tests/streams/writable-streams/floating-point-total-queue-size.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/general.any-expected.txt: * web-platform-tests/streams/writable-streams/general.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/properties.any-expected.txt: * web-platform-tests/streams/writable-streams/properties.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/reentrant-strategy.any-expected.txt: * web-platform-tests/streams/writable-streams/reentrant-strategy.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/start.any-expected.txt: * web-platform-tests/streams/writable-streams/start.any.js: * web-platform-tests/streams/writable-streams/start.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/write.any-expected.txt: * web-platform-tests/streams/writable-streams/write.any.worker-expected.txt: * web-platform-tests/workers/semantics/interface-objects/001.worker-expected.txt: * web-platform-tests/workers/semantics/interface-objects/002.worker-expected.txt: Source/WebCore: Update according latest spec, including WebIDL, controller and writer. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/streams/StreamInternals.js: * Modules/streams/WritableStream.idl: * Modules/streams/WritableStream.js: * Modules/streams/WritableStreamDefaultController.idl: Added. * Modules/streams/WritableStreamDefaultController.js: Added. * Modules/streams/WritableStreamDefaultWriter.idl: Added. * Modules/streams/WritableStreamDefaultWriter.js: Added. * Modules/streams/WritableStreamInternals.js: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: Source/WebKit: * Shared/WebPreferences.yaml: Add a dedicated runtime flag, off by default. Tools: Put console log in stderr as this makes some tests flaky otherwise. * DumpRenderTree/TestOptions.cpp: (shouldDumpJSConsoleLogInStdErr): * WebKitTestRunner/TestOptions.cpp: (WTR::shouldDumpJSConsoleLogInStdErr): LayoutTests: * js/dom/builtin-getter-name-expected.txt: * js/dom/builtin-getter-name.html: * streams/pipe-to-expected.txt: * streams/reference-implementation/bad-strategies-expected.txt: * streams/reference-implementation/bad-underlying-sinks-expected.txt: * streams/reference-implementation/brand-checks-expected.txt: * streams/reference-implementation/byte-length-queuing-strategy-expected.txt: * streams/reference-implementation/count-queuing-strategy-expected.txt: * streams/reference-implementation/pipe-through-expected.txt: * streams/reference-implementation/pipe-to-expected.txt: * streams/reference-implementation/pipe-to-options-expected.txt: * streams/reference-implementation/readable-stream-templated-expected.txt: * streams/reference-implementation/writable-stream-abort-expected.txt: Removed. * streams/reference-implementation/writable-stream-abort.html: Removed. Removed as not up to date. We should probably do so with all the reference implementation tests. * streams/reference-implementation/writable-stream-expected.txt: Canonical link: https://commits.webkit.org/228190@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-12 12:25:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWritableStreamDefaultController.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWritableStreamDefaultController.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWritableStreamDefaultWriter.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWritableStreamDefaultWriter.h
Add support for RTCRtpScriptTransform https://bugs.webkit.org/show_bug.cgi?id=219148 Reviewed by Eric Carlson. Source/WebCore: We introduce RTCRtpScriptTransform which processes encoded frames in a worker for either RTCRtpSender or RTCRtpReceiver. The model follows AudioWorkletNode in the sense that we create a RTCRtpScriptTransform object in main thread that is used with RTCRtp objects. The RTCRtpScriptTransform takes a name and a worker as parameters to create a RTCRtpScriptTransformer counter part in a worker. Before that, RTCRtpScriptTransformer constructors are registered in the worker with a specific name. A message port is shared between RTCRtpScriptTransform and RTCRtpScriptTransformer. RTCRtpScriptTransform keeps a weak pointer to RTCRtpScriptTransformer so that we keep all ref counting of RTCRtpScriptTransformer in the worker thread. To make sure RTCRtpScriptTransformer stays alive for long enough, we set a pending activity when RTCRtpScriptTransform is linked to its RTCRtpScriptTransformer. The pending activity is then removed either at worker closure or RTCRtpScriptTransform being no longer doing processing. We expose individual compressed frames as RTCEncodedAudioFrame and RTCEncodedVideoFrame. Accessor is limited to the raw data but additional getters should be added later on. To implement RTCRtpScriptTransformer, we have to be able to create WritableStream with native sinks. This is why we introduce WritableStreamSink and WritableStream C++ classes. Binding between native frames and streams is done through RTCRtpReadableStreamSource and RTCRtpWritableStreamSink. Test: http/wpt/webrtc/webrtc-transform.html and http/wpt/webrtc/sframe-transform.html. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/mediastream/RTCEncodedAudioFrame.cpp: Added. (WebCore::RTCEncodedAudioFrame::RTCEncodedAudioFrame): * Modules/mediastream/RTCEncodedAudioFrame.h: Added. (WebCore::RTCEncodedAudioFrame::create): * Modules/mediastream/RTCEncodedAudioFrame.idl: Added. * Modules/mediastream/RTCEncodedFrame.h: Added. * Modules/mediastream/RTCEncodedFrame.cpp: Added. * Modules/mediastream/RTCEncodedVideoFrame.cpp: Added. (WebCore::RTCEncodedVideoFrame::RTCEncodedVideoFrame): * Modules/mediastream/RTCEncodedVideoFrame.h: Added. (WebCore::RTCEncodedVideoFrame::create): * Modules/mediastream/RTCEncodedVideoFrame.idl: Added. * Modules/mediastream/RTCRtpReceiver+Transform.idl: * Modules/mediastream/RTCRtpReceiver.cpp: (WebCore::RTCRtpReceiver::setTransform): (WebCore::RTCRtpReceiver::transform): * Modules/mediastream/RTCRtpReceiver.h: * Modules/mediastream/RTCRtpReceiverWithTransform.h: (WebCore::RTCRtpReceiverWithTransform::transform): (WebCore::RTCRtpReceiverWithTransform::setTransform): * Modules/mediastream/RTCRtpSFrameTransform.cpp: (WebCore::RTCRtpSFrameTransform::initializeTransformer): * Modules/mediastream/RTCRtpSFrameTransform.h: (WebCore::RTCRtpSFrameTransform::isAttached const): * Modules/mediastream/RTCRtpSFrameTransform.idl: * Modules/mediastream/RTCRtpScriptTransform.cpp: Added. (WebCore::RTCRtpScriptTransform::create): (WebCore::RTCRtpScriptTransform::RTCRtpScriptTransform): (WebCore::RTCRtpScriptTransform::~RTCRtpScriptTransform): (WebCore::RTCRtpScriptTransform::setTransformer): (WebCore::RTCRtpScriptTransform::initializeBackendForReceiver): (WebCore::RTCRtpScriptTransform::initializeBackendForSender): (WebCore::RTCRtpScriptTransform::willClearBackend): (WebCore::RTCRtpScriptTransform::initializeTransformer): * Modules/mediastream/RTCRtpScriptTransform.h: Added. * Modules/mediastream/RTCRtpScriptTransform.idl: Added. * Modules/mediastream/RTCRtpScriptTransformProvider.idl: Added. * Modules/mediastream/RTCRtpScriptTransformer.cpp: Added. (WebCore::RTCRtpReadableStreamSource::create): (WebCore::RTCRtpReadableStreamSource::close): (WebCore::RTCRtpReadableStreamSource::enqueue): (WebCore::RTCRtpWritableStreamSink::create): (WebCore::RTCRtpWritableStreamSink::RTCRtpWritableStreamSink): (WebCore::RTCRtpWritableStreamSink::write): (WebCore::RTCRtpScriptTransformer::create): (WebCore::RTCRtpScriptTransformer::RTCRtpScriptTransformer): (WebCore::RTCRtpScriptTransformer::~RTCRtpScriptTransformer): (WebCore::RTCRtpScriptTransformer::start): (WebCore::RTCRtpScriptTransformer::clear): * Modules/mediastream/RTCRtpScriptTransformer.h: Added. (WebCore::RTCRtpScriptTransformer::setCallback): (WebCore::RTCRtpScriptTransformer::port): (WebCore::RTCRtpScriptTransformer::startPendingActivity): (WebCore::RTCRtpScriptTransformer::activeDOMObjectName const): (WebCore::RTCRtpScriptTransformer::stopPendingActivity): * Modules/mediastream/RTCRtpScriptTransformer.idl: Added. * Modules/mediastream/RTCRtpScriptTransformerConstructor.h: Added. * Modules/mediastream/RTCRtpScriptTransformerConstructor.idl: Added. * Modules/mediastream/RTCRtpSender+Transform.idl: * Modules/mediastream/RTCRtpSender.cpp: (WebCore::RTCRtpSender::setTransform): (WebCore::RTCRtpSender::transform): * Modules/mediastream/RTCRtpSender.h: * Modules/mediastream/RTCRtpSenderWithTransform.h: (WebCore::RTCRtpSenderWithTransform::transform): (WebCore::RTCRtpSenderWithTransform::setTransform): * Modules/mediastream/RTCRtpTransform.cpp: (WebCore::RTCRtpTransform::from): (WebCore::RTCRtpTransform::RTCRtpTransform): (WebCore::RTCRtpTransform::~RTCRtpTransform): (WebCore::RTCRtpTransform::isAttached const): (WebCore::RTCRtpTransform::attachToReceiver): (WebCore::RTCRtpTransform::attachToSender): (WebCore::RTCRtpTransform::clearBackend): (WebCore::RTCRtpTransform::detachFromReceiver): (WebCore::RTCRtpTransform::detachFromSender): * Modules/mediastream/RTCRtpTransform.h: (WebCore::RTCRtpTransform::internalTransform): * Modules/mediastream/RTCRtpTransformBackend.h: * Modules/mediastream/RTCRtpTransformableFrame.h: * Modules/mediastream/libwebrtc/LibWebRTCRtpTransformBackend.cpp: (WebCore::LibWebRTCRtpTransformBackend::setInputCallback): (WebCore::LibWebRTCRtpTransformBackend::Transform): * Modules/streams/WritableStreamSink.h: Added. * Modules/streams/WritableStreamSink.idl: Added. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ReadableStreamDefaultController.cpp: (WebCore::ReadableStreamDefaultController::enqueue): * bindings/js/ReadableStreamDefaultController.h: * bindings/js/WebCoreBuiltinNames.h: * bindings/js/WritableStream.cpp: Added. (WebCore::WritableStream::create): * bindings/js/WritableStream.h: Added. (WebCore::JSWritableStreamWrapperConverter::toWrapped): (WebCore::WritableStream::WritableStream): (WebCore::toJS): (WebCore::toJSNewlyCreated): * dom/EventTargetFactory.in: * testing/Internals.cpp: * testing/Internals.h: * testing/Internals.idl: * testing/MockRTCRtpTransform.cpp: (WebCore::MockRTCRtpTransformer::transform): * workers/DedicatedWorkerGlobalScope.cpp: (WebCore::DedicatedWorkerGlobalScope::registerRTCRtpScriptTransformer): (WebCore::DedicatedWorkerGlobalScope::createRTCRtpScriptTransformer): * workers/DedicatedWorkerGlobalScope.h: * workers/DedicatedWorkerGlobalScope.idl: * workers/Worker.cpp: (WebCore::Worker::addRTCRtpScriptTransformer): (WebCore::Worker::createRTCRtpScriptTransformer): (WebCore::Worker::postTaskToWorkerGlobalScope): * workers/Worker.h: * workers/WorkerGlobalScopeProxy.h: * workers/WorkerMessagingProxy.cpp: (WebCore::WorkerMessagingProxy::postTaskToWorkerObject): (WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope): (WebCore::WorkerMessagingProxy::postTaskToWorkerGlobalScope): * workers/WorkerMessagingProxy.h: * workers/WorkerObjectProxy.h: (WebCore::WorkerObjectProxy::postTaskToWorkerObject): LayoutTests: * http/wpt/webrtc/routines.js: Added. (createConnections): * http/wpt/webrtc/script-transform.js: Added. (MockRTCRtpTransformer): (MockRTCRtpTransformer.prototype.start): (MockRTCRtpTransformer.prototype.process): * http/wpt/webrtc/sframe-transform-expected.txt: Added. * http/wpt/webrtc/sframe-transform.html: Added. * http/wpt/webrtc/webrtc-transform-expected.txt: Renamed from LayoutTests/webrtc/webrtc-transform-expected.txt. * http/wpt/webrtc/webrtc-transform.html: Renamed from LayoutTests/webrtc/webrtc-transform.html. * platform/glib/TestExpectations: * webrtc/script-transform.js: Added. (MockRTCRtpTransformer): (MockRTCRtpTransformer.prototype.start): Canonical link: https://commits.webkit.org/231818@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-20 12:25:32 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWritableStreamSink.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWritableStreamSink.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLDocument.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLDocument.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLHttpRequest.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLHttpRequest.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLHttpRequestEventTarget.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLHttpRequestEventTarget.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLHttpRequestProgressEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLHttpRequestProgressEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLHttpRequestUpload.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLHttpRequestUpload.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLSerializer.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXMLSerializer.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXPathEvaluator.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXPathEvaluator.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXPathEvaluatorBase.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXPathEvaluatorBase.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXPathExpression.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXPathExpression.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXPathNSResolver.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXPathNSResolver.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXPathResult.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXPathResult.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXREnvironmentBlendMode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXREnvironmentBlendMode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXREye.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXREye.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRFrameRequestCallback.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRFrameRequestCallback.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRHandedness.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRHandedness.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRInputSourceEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRInputSourceEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRInputSourcesChangeEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRInputSourcesChangeEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRInteractionMode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRInteractionMode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRReferenceSpaceEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRReferenceSpaceEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRReferenceSpaceType.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRReferenceSpaceType.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRRenderStateInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRRenderStateInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRSessionEvent.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRSessionEvent.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRSessionInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRSessionInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRSessionMode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRSessionMode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRSimulateUserActivationFunction.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRSimulateUserActivationFunction.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRTargetRayMode.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRTargetRayMode.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRVisibilityState.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRVisibilityState.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRWebGLLayerInit.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXRWebGLLayerInit.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXSLTProcessor.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSXSLTProcessor.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/LocalizableAdditions.strings.out
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/MathMLElementFactory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/MathMLElementFactory.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/MathMLElementTypeHelpers.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/MathMLNames.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/MathMLNames.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ModernMediaControls.css
modern-media-controls script should not be allocated in heap https://bugs.webkit.org/show_bug.cgi?id=223309 Reviewed by Devin Rousso. Source/JavaScriptCore: Add --fail-if-non-ascii flag to ensure that input files do not include non-ASCII characters. * Scripts/make-js-file-arrays.py: (main): Source/WebCore: Previously, we are concatenating several modern-media-controls scripts into one. But this causes significant memory overhead (~600KB). Using NSBundle's data still allocates memory since WTF::String(CFString) allocates heap memory. Let's use existing mechanism designed for this purpose. We serialize modern-media-controls.js into const C array in UserAgentScriptData.cpp. UserAgentScript is a mechanism for having user-agent specific script source, and this matches to our purpose. (for example, UserAgentStyleSheets (CSS version of that) have html.css etc.). We also __InjectedScript_*.js name for these ModernMediaControls.js scripts while this is not directly related to the heap usage reduction of this patch. This patch does not do the same thing for CSS of modern-media-controls since this patch's focus is script files first. * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/plugins/QuickTimePluginReplacement.mm: (WebCore::quickTimePluginReplacementScript): * WebCore.xcodeproj/project.pbxproj: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript): * rendering/RenderTheme.h: (WebCore::RenderTheme::mediaControlsScripts): (WebCore::RenderTheme::mediaControlsScript): Deleted. * rendering/RenderThemeAdwaita.cpp: (WebCore::RenderThemeAdwaita::mediaControlsScripts): (WebCore::RenderThemeAdwaita::mediaControlsScript): Deleted. * rendering/RenderThemeAdwaita.h: * rendering/RenderThemeIOS.h: * rendering/RenderThemeIOS.mm: (WebCore::RenderThemeIOS::purgeCaches): (WebCore::RenderThemeIOS::mediaControlsScripts): (WebCore::RenderThemeIOS::mediaControlsScript): Deleted. * rendering/RenderThemeMac.h: * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::purgeCaches): (WebCore::RenderThemeMac::mediaControlsScripts): (WebCore::RenderThemeMac::mediaControlsScript): Deleted. * rendering/RenderThemeWin.cpp: (WebCore::RenderThemeWin::mediaControlsScripts): (WebCore::RenderThemeWin::mediaControlsScript): Deleted. * rendering/RenderThemeWin.h: Canonical link: https://commits.webkit.org/235444@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-18 02:00:25 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ModernMediaControls.js
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/PaintWorkletGlobalScopeConstructors.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/PlugInsResources.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/RTCPeerConnectionBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/RTCPeerConnectionInternalsBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ReadableByteStreamControllerBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ReadableByteStreamInternalsBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ReadableStreamBYOBReaderBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ReadableStreamBYOBRequestBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ReadableStreamBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ReadableStreamDefaultControllerBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ReadableStreamDefaultReaderBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ReadableStreamInternalsBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/SVGElementFactory.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/SVGElementFactory.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/SVGElementTypeHelpers.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/SVGNames.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/SVGNames.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/SelectorPseudoClassAndCompatibilityElementMap.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/SelectorPseudoElementTypeMap.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/ServiceWorkerGlobalScopeConstructors.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/Settings.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/Settings.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/StreamInternalsBuiltins.h
Introduce Style::Builder https://bugs.webkit.org/show_bug.cgi?id=203682 Reviewed by Zalan Bujtas. Encapsulate the style building step into a new Builder class. It owns the cascade and the style building state. Move tha applying code from StyleResolver and PropertyCascade there. Move a bunch of font related state from StyleResolver::State to BuilderState. * DerivedSources-output.xcfilelist: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * css/CSSVariableReferenceValue.cpp: (WebCore::resolveVariableReference): * css/DOMCSSRegisterCustomProperty.cpp: (WebCore::DOMCSSRegisterCustomProperty::registerProperty): * css/StyleResolver.cpp: (WebCore::StyleResolver::styleForKeyframe): (WebCore::StyleResolver::styleForPage): (WebCore::StyleResolver::applyMatchedProperties): (WebCore::StyleResolver::applyPropertyToCurrentStyle): (WebCore::StyleResolver::initializeFontStyle): (WebCore::StyleResolver::adjustStyleForInterCharacterRuby): Deleted. (WebCore::checkForOrientationChange): Deleted. (WebCore::StyleResolver::updateFont): Deleted. (WebCore::StyleResolver::useSVGZoomRules const): Deleted. (WebCore::StyleResolver::useSVGZoomRulesForLength const): Deleted. (WebCore::StyleResolver::checkForTextSizeAdjust): Deleted. (WebCore::StyleResolver::checkForZoomChange): Deleted. (WebCore::StyleResolver::checkForGenericFamilyChange): Deleted. (WebCore::StyleResolver::setFontSize): Deleted. * css/StyleResolver.h: (WebCore::StyleResolver::State::setFontSizeHasViewportUnits): Deleted. (WebCore::StyleResolver::State::fontSizeHasViewportUnits const): Deleted. (WebCore::StyleResolver::State::useSVGZoomRules const): Deleted. * css/parser/CSSParser.cpp: (WebCore::CSSParser::parseValueWithVariableReferences): * css/parser/CSSPropertyParser.cpp: * style/PropertyCascade.cpp: (WebCore::Style::PropertyCascade::PropertyCascade): (WebCore::Style::PropertyCascade::set): (WebCore::Style::PropertyCascade::propertyCascadeForRollback const): (WebCore::Style::PropertyCascade::resolveDirectionAndWritingMode const): (WebCore::Style::PropertyCascade::applyDeferredProperties): Deleted. (WebCore::Style::PropertyCascade::applyProperties): Deleted. (WebCore::Style::PropertyCascade::applyPropertiesImpl): Deleted. (WebCore::Style::PropertyCascade::applyCustomProperties): Deleted. (WebCore::Style::PropertyCascade::applyCustomProperty): Deleted. (WebCore::Style::PropertyCascade::propertyCascadeForRollback): Deleted. (WebCore::Style::PropertyCascade::applyProperty): Deleted. (WebCore::Style::PropertyCascade::resolveValue): Deleted. (WebCore::Style::PropertyCascade::resolvedVariableValue): Deleted. (WebCore::Style::PropertyCascade::resolveDirectionAndWritingMode): Deleted. * style/PropertyCascade.h: (WebCore::Style::PropertyCascade::deferredProperties const): (WebCore::Style::PropertyCascade::customProperties const): (WebCore::Style::PropertyCascade::direction const): (WebCore::Style::PropertyCascade::builderState): Deleted. * style/StyleBuilder.cpp: Added. (WebCore::Style::directionFromStyle): (WebCore::Style::Builder::Builder): (WebCore::Style::Builder::applyAllProperties): (WebCore::Style::Builder::applyHighPriorityProperties): (WebCore::Style::Builder::applyLowPriorityProperties): (WebCore::Style::Builder::applyPropertyValue): (WebCore::Style::Builder::applyDeferredProperties): (WebCore::Style::Builder::applyProperties): (WebCore::Style::Builder::applyPropertiesImpl): (WebCore::Style::Builder::applyCustomProperties): (WebCore::Style::Builder::applyCustomProperty): (WebCore::Style::Builder::applyCascadeProperty): (WebCore::Style::Builder::applyProperty): (WebCore::Style::Builder::resolveValue): (WebCore::Style::Builder::resolvedVariableValue): * style/StyleBuilder.h: Added. (WebCore::Style::Builder::applyProperty): (WebCore::Style::Builder::state): * style/StyleBuilderCustom.h: (WebCore::Style::BuilderCustom::applyValueFontSize): * style/StyleBuilderState.cpp: (WebCore::Style::BuilderState::BuilderState): (WebCore::Style::BuilderState::useSVGZoomRules const): (WebCore::Style::BuilderState::useSVGZoomRulesForLength const): (WebCore::Style::BuilderState::adjustStyleForInterCharacterRuby): (WebCore::Style::BuilderState::updateFont): (WebCore::Style::BuilderState::updateFontForTextSizeAdjust): (WebCore::Style::BuilderState::updateFontForZoomChange): (WebCore::Style::BuilderState::updateFontForGenericFamilyChange): (WebCore::Style::BuilderState::updateFontForOrientationChange): (WebCore::Style::BuilderState::setFontSize): * style/StyleBuilderState.h: (WebCore::Style::BuilderState::builder): (WebCore::Style::BuilderState::setFontDirty): (WebCore::Style::BuilderState::cascade): Deleted. (WebCore::Style::BuilderState::clearFontDirty): Deleted. Canonical link: https://commits.webkit.org/217053@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-31 18:55:34 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/StyleBuilder.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/StyleBuilderGenerated.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/StylePropertyShorthandFunctions.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/StylePropertyShorthandFunctions.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/SupplementalDependencies.dep
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/SupplementalDependencies.txt
Add support for TextDecoderStream https://bugs.webkit.org/show_bug.cgi?id=215919 Reviewed by Alex Christensen. LayoutTests/imported/w3c: * web-platform-tests/encoding/streams/backpressure.any-expected.txt: * web-platform-tests/encoding/streams/backpressure.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-attributes.any-expected.txt: * web-platform-tests/encoding/streams/decode-attributes.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-bad-chunks.any-expected.txt: * web-platform-tests/encoding/streams/decode-bad-chunks.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-ignore-bom.any-expected.txt: * web-platform-tests/encoding/streams/decode-ignore-bom.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-incomplete-input.any-expected.txt: * web-platform-tests/encoding/streams/decode-incomplete-input.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-non-utf8.any-expected.txt: * web-platform-tests/encoding/streams/decode-non-utf8.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-split-character.any-expected.txt: * web-platform-tests/encoding/streams/decode-split-character.any.worker-expected.txt: * web-platform-tests/encoding/streams/decode-utf8.any-expected.txt: * web-platform-tests/encoding/streams/decode-utf8.any.worker-expected.txt: * web-platform-tests/encoding/streams/encode-bad-chunks.any-expected.txt: * web-platform-tests/encoding/streams/encode-bad-chunks.any.worker-expected.txt: * web-platform-tests/encoding/streams/readable-writable-properties.any-expected.txt: * web-platform-tests/encoding/streams/readable-writable-properties.any.worker-expected.txt: * web-platform-tests/encoding/streams/realms.window-expected.txt: Source/WebCore: Implement TextEncoderStream as a JS built-in. It is enabled by transform stream runtime flag. TextDecoderStream takes a TransformStream and TextDecoderStreamEncoder as private slots. Add TextDecoderStreamEncoder to implement the actual UTF-8 encoding steps, as a wrapper around TextDecoder. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/TextDecoderStream.idl: Added. * dom/TextDecoderStream.js: Added. (initializeTextDecoderStream): (getter.encoding): (getter.fatal): (getter.ignoreBOM): (getter.readable): (getter.writable): * dom/TextDecoderStreamDecoder.cpp: Added. (WebCore::TextDecoderStreamDecoder::create): (WebCore::TextDecoderStreamDecoder::TextDecoderStreamDecoder): (WebCore::TextDecoderStreamDecoder::decode): (WebCore::TextDecoderStreamDecoder::flush): * dom/TextDecoderStreamDecoder.h: Added. (WebCore::TextDecoderStreamDecoder::encoding const): * dom/TextDecoderStreamDecoder.idl: Added. LayoutTests: * TestExpectations: Unskipping encoding tests except legacy-* tests which are big and slow. Canonical link: https://commits.webkit.org/228784@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-31 09:01:55 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/TextDecoderStreamBuiltins.h
Add support for TextEncoderStream https://bugs.webkit.org/show_bug.cgi?id=215916 Reviewed by Alex Christensen. LayoutTests/imported/w3c: * web-platform-tests/encoding/idlharness.any-expected.txt: * web-platform-tests/encoding/idlharness.any.worker-expected.txt: * web-platform-tests/encoding/streams/backpressure.any-expected.txt: * web-platform-tests/encoding/streams/backpressure.any.worker-expected.txt: * web-platform-tests/encoding/streams/encode-bad-chunks.any-expected.txt: * web-platform-tests/encoding/streams/encode-bad-chunks.any.worker-expected.txt: * web-platform-tests/encoding/streams/encode-utf8.any-expected.txt: * web-platform-tests/encoding/streams/encode-utf8.any.worker-expected.txt: * web-platform-tests/encoding/streams/readable-writable-properties.any-expected.txt: * web-platform-tests/encoding/streams/readable-writable-properties.any.worker-expected.txt: * web-platform-tests/encoding/streams/realms.window-expected.txt: * web-platform-tests/service-workers/service-worker/fetch-event.https-expected.txt: Source/WebCore: Implement TextEncoderStream as a JS built-in. It is controlled by transform stream runtime flag. TextEncoderStream takes a TransformStream and TextEncoderStreamEncoder as private slots. Add TextEncoderStreamEncoder to implement the actual UTF-8 encoding steps. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/streams/TransformStream.idl: * Modules/streams/TransformStream.js: (initializeTransformStream): * Modules/streams/TransformStreamInternals.js: (createTransformStream): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * dom/TextEncoderStream.idl: Added. * dom/TextEncoderStream.js: Added. (initializeTextEncoderStream): (getter.encoding): (getter.readable): (getter.writable): * dom/TextEncoderStreamEncoder.cpp: Added. (WebCore::TextEncoderStreamEncoder::encode): (WebCore::TextEncoderStreamEncoder::flush): * dom/TextEncoderStreamEncoder.h: Added. (WebCore::TextEncoderStreamEncoder::create): * dom/TextEncoderStreamEncoder.idl: Added. LayoutTests: * TestExpectations: Canonical link: https://commits.webkit.org/228768@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-30 09:53:17 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/TextEncoderStreamBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/Touch.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/TouchEvent.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/TouchList.idl
Add support for TransformStream https://bugs.webkit.org/show_bug.cgi?id=215607 Reviewed by Alex Christensen. LayoutTests/imported/w3c: * web-platform-tests/streams/idlharness.any-expected.txt: * web-platform-tests/streams/idlharness.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/backpressure.any-expected.txt: * web-platform-tests/streams/transform-streams/backpressure.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/errors.any-expected.txt: * web-platform-tests/streams/transform-streams/errors.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/flush.any-expected.txt: * web-platform-tests/streams/transform-streams/flush.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/general.any-expected.txt: * web-platform-tests/streams/transform-streams/general.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/lipfuzz.any-expected.txt: * web-platform-tests/streams/transform-streams/lipfuzz.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/patched-global.any-expected.txt: * web-platform-tests/streams/transform-streams/patched-global.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/properties.any-expected.txt: * web-platform-tests/streams/transform-streams/properties.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/reentrant-strategies.any-expected.txt: * web-platform-tests/streams/transform-streams/reentrant-strategies.any.js: * web-platform-tests/streams/transform-streams/reentrant-strategies.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/strategies.any-expected.txt: * web-platform-tests/streams/transform-streams/strategies.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/terminate.any-expected.txt: * web-platform-tests/streams/transform-streams/terminate.any.worker-expected.txt: Source/WebCore: Add initial implementation as JS built-ins as per spec. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Headers.cmake: * Modules/streams/ReadableStreamInternals.js: (readableStreamDefaultControllerShouldCallPull): (readableStreamDefaultControllerCallPullIfNeeded): * Modules/streams/TransformStream.idl: Added. * Modules/streams/TransformStream.js: Added. (initializeTransformStream): (getter.readable): (writable): * Modules/streams/TransformStreamDefaultController.idl: Added. * Modules/streams/TransformStreamDefaultController.js: Added. (initializeTransformStreamDefaultController): (getter.desiredSize): (enqueue): (error): (terminate): * Modules/streams/TransformStreamInternals.js: Added. (isTransformStream): (isTransformStreamDefaultController): (initializeTransformStream): (transformStreamError): (transformStreamErrorWritableAndUnblockWrite): (transformStreamSetBackpressure): (setUpTransformStreamDefaultController): (setUpTransformStreamDefaultControllerFromTransformer): (transformStreamDefaultControllerClearAlgorithms): (transformStreamDefaultControllerEnqueue): (transformStreamDefaultControllerError): (transformStreamDefaultControllerPerformTransform): (transformStreamDefaultSinkWriteAlgorithm): (transformStreamDefaultSinkAbortAlgorithm): (transformStreamDefaultSinkCloseAlgorithm): (transformStreamDefaultSourcePullAlgorithm): * Modules/streams/WritableStream.js: (initializeWritableStream): * Modules/streams/WritableStreamInternals.js: (createWritableStream): * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setTransformStreamAPIEnabled): (WebCore::RuntimeEnabledFeatures::transformStreamAPIEnabled const): Source/WebKit: Add a runtime flag for TransformStream, off by default. * Shared/WebPreferences.yaml: * WebProcess/InjectedBundle/InjectedBundle.cpp: (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): Source/WebKitLegacy/mac: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences transformStreamAPIEnabled]): (-[WebPreferences setTransformStreamAPIEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Tools: * DumpRenderTree/mac/DumpRenderTree.mm: (enableExperimentalFeatures): * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setWritableStreamAPIEnabled): (WTR::TestRunner::setTransformStreamAPIEnabled): * WebKitTestRunner/InjectedBundle/TestRunner.h: LayoutTests: Rebased tests now that TransformStream is defined. * streams/reference-implementation/pipe-through-expected.txt: * streams/reference-implementation/pipe-to-expected.txt: * streams/reference-implementation/transform-stream-errors-expected.txt: * streams/reference-implementation/transform-stream-expected.txt: Canonical link: https://commits.webkit.org/228682@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@266228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-27 10:00:20 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/TransformStreamBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/TransformStreamDefaultControllerBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/TransformStreamInternalsBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/UserAgentScripts.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/UserAgentScriptsData.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/UserAgentStyleSheets.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCoreJSBuiltinInternals.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCoreJSBuiltinInternals.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCoreJSBuiltins.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCoreJSBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCore_BUILTINS_DEPENDENCIES_LIST
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCore_BUILTINS_SOURCES_LIST
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebKitFontFamilyNames.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebKitFontFamilyNames.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WorkerGlobalScopeConstructors.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WorkletGlobalScopeConstructors.idl
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WritableStreamBuiltins.h
Refresh WritableStream up to spec https://bugs.webkit.org/show_bug.cgi?id=215267 Reviewed by Geoff Garen. LayoutTests/imported/w3c: * web-platform-tests/encoding/streams/realms.window-expected.txt: * web-platform-tests/fetch/api/response/response-stream-disturbed-by-pipe.any-expected.txt: * web-platform-tests/fetch/api/response/response-stream-disturbed-by-pipe.any.worker-expected.txt: * web-platform-tests/streams/idlharness.any-expected.txt: * web-platform-tests/streams/idlharness.any.worker-expected.txt: * web-platform-tests/streams/piping/abort.any-expected.txt: * web-platform-tests/streams/piping/abort.any.worker-expected.txt: * web-platform-tests/streams/piping/close-propagation-backward.any-expected.txt: * web-platform-tests/streams/piping/close-propagation-backward.any.worker-expected.txt: * web-platform-tests/streams/piping/close-propagation-forward.any-expected.txt: * web-platform-tests/streams/piping/close-propagation-forward.any.worker-expected.txt: * web-platform-tests/streams/piping/error-propagation-backward.any-expected.txt: * web-platform-tests/streams/piping/error-propagation-backward.any.worker-expected.txt: * web-platform-tests/streams/piping/error-propagation-forward.any-expected.txt: * web-platform-tests/streams/piping/error-propagation-forward.any.worker-expected.txt: * web-platform-tests/streams/piping/flow-control.any-expected.txt: * web-platform-tests/streams/piping/flow-control.any.worker-expected.txt: * web-platform-tests/streams/piping/general.any-expected.txt: * web-platform-tests/streams/piping/general.any.worker-expected.txt: * web-platform-tests/streams/piping/multiple-propagation.any-expected.txt: * web-platform-tests/streams/piping/multiple-propagation.any.worker-expected.txt: * web-platform-tests/streams/piping/pipe-through.any-expected.txt: * web-platform-tests/streams/piping/pipe-through.any.worker-expected.txt: * web-platform-tests/streams/piping/then-interception.any-expected.txt: * web-platform-tests/streams/piping/then-interception.any.worker-expected.txt: * web-platform-tests/streams/piping/throwing-options.any-expected.txt: * web-platform-tests/streams/transform-streams/patched-global.any.worker-expected.txt: * web-platform-tests/streams/readable-streams/patched-global.any-expected.txt: * web-platform-tests/streams/readable-streams/patched-global.any.worker-expected.txt: * web-platform-tests/streams/readable-streams/reentrant-strategies.any-expected.txt: * web-platform-tests/streams/readable-streams/reentrant-strategies.any.worker-expected.txt: * web-platform-tests/streams/transform-streams/reentrant-strategies.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/aborting.any-expected.txt: * web-platform-tests/streams/writable-streams/aborting.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/bad-strategies.any-expected.txt: * web-platform-tests/streams/writable-streams/bad-strategies.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/bad-underlying-sinks.any-expected.txt: * web-platform-tests/streams/writable-streams/bad-underlying-sinks.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/byte-length-queuing-strategy.any-expected.txt: * web-platform-tests/streams/writable-streams/byte-length-queuing-strategy.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/close.any-expected.txt: * web-platform-tests/streams/writable-streams/close.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/constructor.any-expected.txt: * web-platform-tests/streams/writable-streams/constructor.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/count-queuing-strategy.any-expected.txt: * web-platform-tests/streams/writable-streams/count-queuing-strategy.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/error.any-expected.txt: * web-platform-tests/streams/writable-streams/error.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/floating-point-total-queue-size.any-expected.txt: * web-platform-tests/streams/writable-streams/floating-point-total-queue-size.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/general.any-expected.txt: * web-platform-tests/streams/writable-streams/general.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/properties.any-expected.txt: * web-platform-tests/streams/writable-streams/properties.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/reentrant-strategy.any-expected.txt: * web-platform-tests/streams/writable-streams/reentrant-strategy.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/start.any-expected.txt: * web-platform-tests/streams/writable-streams/start.any.js: * web-platform-tests/streams/writable-streams/start.any.worker-expected.txt: * web-platform-tests/streams/writable-streams/write.any-expected.txt: * web-platform-tests/streams/writable-streams/write.any.worker-expected.txt: * web-platform-tests/workers/semantics/interface-objects/001.worker-expected.txt: * web-platform-tests/workers/semantics/interface-objects/002.worker-expected.txt: Source/WebCore: Update according latest spec, including WebIDL, controller and writer. Covered by rebased tests. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/streams/StreamInternals.js: * Modules/streams/WritableStream.idl: * Modules/streams/WritableStream.js: * Modules/streams/WritableStreamDefaultController.idl: Added. * Modules/streams/WritableStreamDefaultController.js: Added. * Modules/streams/WritableStreamDefaultWriter.idl: Added. * Modules/streams/WritableStreamDefaultWriter.js: Added. * Modules/streams/WritableStreamInternals.js: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/WebCoreBuiltinNames.h: Source/WebKit: * Shared/WebPreferences.yaml: Add a dedicated runtime flag, off by default. Tools: Put console log in stderr as this makes some tests flaky otherwise. * DumpRenderTree/TestOptions.cpp: (shouldDumpJSConsoleLogInStdErr): * WebKitTestRunner/TestOptions.cpp: (WTR::shouldDumpJSConsoleLogInStdErr): LayoutTests: * js/dom/builtin-getter-name-expected.txt: * js/dom/builtin-getter-name.html: * streams/pipe-to-expected.txt: * streams/reference-implementation/bad-strategies-expected.txt: * streams/reference-implementation/bad-underlying-sinks-expected.txt: * streams/reference-implementation/brand-checks-expected.txt: * streams/reference-implementation/byte-length-queuing-strategy-expected.txt: * streams/reference-implementation/count-queuing-strategy-expected.txt: * streams/reference-implementation/pipe-through-expected.txt: * streams/reference-implementation/pipe-to-expected.txt: * streams/reference-implementation/pipe-to-options-expected.txt: * streams/reference-implementation/readable-stream-templated-expected.txt: * streams/reference-implementation/writable-stream-abort-expected.txt: Removed. * streams/reference-implementation/writable-stream-abort.html: Removed. Removed as not up to date. We should probably do so with all the reference implementation tests. * streams/reference-implementation/writable-stream-expected.txt: Canonical link: https://commits.webkit.org/228190@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@265548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-08-12 12:25:49 +00:00
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WritableStreamDefaultControllerBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WritableStreamDefaultWriterBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WritableStreamInternalsBuiltins.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/XLinkNames.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/XMLNSNames.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/XMLNames.cpp
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/XMLViewerCSS.h
$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/XMLViewerJS.h