haikuwebkit/Source/WTF/wtf/PlatformEnable.h

924 lines
26 KiB
C
Raw Permalink Normal View History

/*
Implement some common Baseline JIT slow paths using JIT thunks. https://bugs.webkit.org/show_bug.cgi?id=225682 Reviewed by Filip Pizlo. Source/JavaScriptCore: This patch implements the following changes: 1. Implement exception handling thunks: a. handleExceptionGenerator, which calls operationLookupExceptionHandler(). b. handleExceptionWithCallFrameRollbackGenerator, which calls operationLookupExceptionHandlerFromCallerFrame(). All the JIT tiers were emitting their own copy of these routines to call these operation, one per CodeBlock. We now emit 2 thunks for these and have all the tiers just jump to them. PolymorphicAccess also now uses the handleExceptionGenerator thunk. DFG::JITCompiler::compileExceptionHandlers() has one small behavior difference before it calls operationLookupExceptionHandlerFromCallerFrame(): it first re-sets the top of stack for the function where we are about to throw a StackOverflowError from. This re-setting of top of stack is useless because we're imminently unwinding out of at least this frame for the StackOverflowError. Hence, it is ok to use the handleExceptionWithCallFrameRollbackGenerator thunk here as well. Note that no other tiers does this re-setting of top of stack. FTLLowerDFGToB3 has one case using operationLookupExceptionHandlerFromCallerFrame() which cannot be refactored to use these thunks because it does additional work to throw a StackOverflowError. A different thunk will be needed. I left it alone for now. 2. Introduce JITThunks::existingCTIStub(ThunkGenerator, NoLockingNecessaryTag) so that a thunk can get a pointer to another thunk without locking the JITThunks lock. Otherwise, deadlock ensues. 3. Change SlowPathCall to emit and use thunks instead of emitting a blob of code to call a slow path function for every bytecode in a CodeBlock. 4. Introduce JITThunks::ctiSlowPathFunctionStub() to manage these SlowPathFunction thunks. 5. Introduce JITThunks::preinitializeAggressiveCTIThunks() to initialize these thunks at VM initialization time. Pre-initializing them has multiple benefits: a. the thunks are not scattered through out JIT memory, thereby reducing fragmentation. b. we don't spend time at runtime compiling them when the user is interacting with the VM. Conceptually, these thunks can be VM independent and can be shared by VMs process-wide. However, it will require some additional work. For now, the thunks remain bound to a specific VM instance. These changes are only enabled when ENABLE(EXTRA_CTI_THUNKS), which is currently only available for ARM64 and non-Windows x86_64. This patch has passed JSC tests on AS Mac. With this patch, --dumpLinkBufferStats shows the following changes in emitted JIT code size (using a single run of the CLI version of JetStream2 on AS Mac): Base New Diff BaselineJIT: 89089964 (84.962811 MB) 84624776 (80.704475 MB) 0.95x (reduction) DFG: 39117360 (37.305222 MB) 36415264 (34.728302 MB) 0.93x (reduction) Thunk: 23230968 (22.154778 MB) 23130336 (22.058807 MB) 1.00x InlineCache: 22027416 (21.006981 MB) 21969728 (20.951965 MB) 1.00x FTL: 6575772 (6.271145 MB) 6097336 (5.814873 MB) 0.93x (reduction) Wasm: 2302724 (2.196049 MB) 2301956 (2.195316 MB) 1.00x YarrJIT: 1538956 (1.467663 MB) 1522488 (1.451958 MB) 0.99x CSSJIT: 0 0 Uncategorized: 0 0 * CMakeLists.txt: * JavaScriptCore.xcodeproj/project.pbxproj: * Sources.txt: * bytecode/CodeBlock.h: (JSC::CodeBlock::offsetOfInstructionsRawPointer): * bytecode/PolymorphicAccess.cpp: (JSC::AccessGenerationState::emitExplicitExceptionHandler): * dfg/DFGJITCompiler.cpp: (JSC::DFG::JITCompiler::compileExceptionHandlers): (JSC::DFG::JITCompiler::link): * dfg/DFGJITCompiler.h: * ftl/FTLCompile.cpp: (JSC::FTL::compile): * ftl/FTLLink.cpp: (JSC::FTL::link): * jit/JIT.cpp: (JSC::JIT::link): (JSC::JIT::privateCompileExceptionHandlers): * jit/JIT.h: * jit/JITThunks.cpp: (JSC::JITThunks::existingCTIStub): (JSC::JITThunks::ctiSlowPathFunctionStub): (JSC::JITThunks::preinitializeExtraCTIThunks): * jit/JITThunks.h: * jit/SlowPathCall.cpp: Added. (JSC::JITSlowPathCall::call): (JSC::JITSlowPathCall::generateThunk): * jit/SlowPathCall.h: * jit/ThunkGenerators.cpp: (JSC::handleExceptionGenerator): (JSC::handleExceptionWithCallFrameRollbackGenerator): (JSC::popThunkStackPreservesAndHandleExceptionGenerator): * jit/ThunkGenerators.h: * runtime/CommonSlowPaths.h: * runtime/SlowPathFunction.h: Added. * runtime/VM.cpp: (JSC::VM::VM): Source/WTF: Introduce ENABLE(EXTRA_CTI_THUNKS) flag to guard the use of these new thunks. Currently, the thunks are 64-bit only, and only supported for ARM64 and non-Windows X86_64. The reason it is not supported for Windows as well is because Windows only has 4 argument registers. In this patch, the thunks do not use that many registers yet, but there will be more thunks coming that will require the use of up to 6 argument registers. * wtf/PlatformEnable.h: Canonical link: https://commits.webkit.org/237639@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-12 19:11:25 +00:00
* Copyright (C) 2006-2021 Apple Inc. All rights reserved.
* Copyright (C) 2007-2009 Torch Mobile, Inc.
* Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
* Copyright (C) 2013 Samsung Electronics. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
.: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * ManualTests/NPN_Invoke/Info.plist: * ManualTests/NPN_Invoke/main.c: * ManualTests/accessibility/resources/AppletTest.java: Examples: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * NetscapeCocoaPlugin/MenuHandler.h: * NetscapeCocoaPlugin/MenuHandler.m: * NetscapeCocoaPlugin/main.m: * NetscapeCoreAnimationPlugin/main.m: * NetscapeInputMethodPlugin/main.m: PerformanceTests: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-raytrace.html: * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bitwise-and.html: * Dromaeo/resources/dromaeo/web/tests/sunspider-math-cordic.html: * Dromaeo/resources/dromaeo/web/tests/sunspider-string-tagcloud.html: * LongSpider/3d-morph.js: * LongSpider/3d-raytrace.js: * LongSpider/math-cordic.js: * LongSpider/string-tagcloud.js: * Parser/resources/html5-8266.html: * Parser/resources/html5.html: PerformanceTests/SunSpider: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * hosted/sunspider.html: * hosted/versions.html: * make-hosted: * resources/TEMPLATE.html: * resources/driver-TEMPLATE.html: * resources/results-TEMPLATE.html: * resources/sunspider-analyze-results.js: * resources/sunspider-compare-results.js: * resources/sunspider-standalone-compare.js: * resources/sunspider-standalone-driver.js: * sunspider: * sunspider-compare-results: * tests/sunspider-0.9.1/3d-morph.js: * tests/sunspider-0.9.1/3d-raytrace.js: * tests/sunspider-0.9.1/bitops-bitwise-and.js: * tests/sunspider-0.9.1/math-cordic.js: * tests/sunspider-0.9.1/string-tagcloud.js: * tests/sunspider-0.9/3d-morph.js: * tests/sunspider-0.9/3d-raytrace.js: * tests/sunspider-0.9/bitops-bitwise-and.js: * tests/sunspider-0.9/math-cordic.js: * tests/sunspider-0.9/string-tagcloud.js: * tests/sunspider-1.0.1/3d-morph.js: * tests/sunspider-1.0.1/3d-raytrace.js: * tests/sunspider-1.0.1/bitops-bitwise-and.js: * tests/sunspider-1.0.1/math-cordic.js: * tests/sunspider-1.0.1/string-tagcloud.js: * tests/sunspider-1.0.2/3d-morph.js: * tests/sunspider-1.0.2/3d-raytrace.js: * tests/sunspider-1.0.2/bitops-bitwise-and.js: * tests/sunspider-1.0.2/math-cordic.js: * tests/sunspider-1.0.2/string-tagcloud.js: * tests/sunspider-1.0/3d-morph.js: * tests/sunspider-1.0/3d-raytrace.js: * tests/sunspider-1.0/bitops-bitwise-and.js: * tests/sunspider-1.0/math-cordic.js: * tests/sunspider-1.0/string-tagcloud.js: Source/JavaScriptCore: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * API/APICast.h: * API/JSBase.cpp: * API/JSBase.h: * API/JSBasePrivate.h: * API/JSCallbackConstructor.cpp: * API/JSCallbackConstructor.h: * API/JSCallbackFunction.cpp: * API/JSCallbackFunction.h: * API/JSCallbackObject.cpp: * API/JSCallbackObject.h: * API/JSCallbackObjectFunctions.h: * API/JSClassRef.cpp: * API/JSClassRef.h: * API/JSContextRef.cpp: * API/JSContextRef.h: * API/JSContextRefPrivate.h: * API/JSObjectRef.cpp: * API/JSObjectRef.h: * API/JSProfilerPrivate.cpp: * API/JSProfilerPrivate.h: * API/JSRetainPtr.h: * API/JSStringRef.cpp: * API/JSStringRef.h: * API/JSStringRefBSTR.cpp: * API/JSStringRefBSTR.h: * API/JSStringRefCF.cpp: * API/JSStringRefCF.h: * API/JSValueRef.cpp: * API/JSValueRef.h: * API/JavaScript.h: * API/JavaScriptCore.h: * API/OpaqueJSString.cpp: * API/OpaqueJSString.h: * API/tests/JSNode.c: * API/tests/JSNode.h: * API/tests/JSNodeList.c: * API/tests/JSNodeList.h: * API/tests/Node.c: * API/tests/Node.h: * API/tests/NodeList.c: * API/tests/NodeList.h: * API/tests/minidom.c: * API/tests/minidom.js: * API/tests/testapi.c: * API/tests/testapi.js: * DerivedSources.make: * bindings/ScriptValue.cpp: * bytecode/CodeBlock.cpp: * bytecode/CodeBlock.h: * bytecode/EvalCodeCache.h: * bytecode/Instruction.h: * bytecode/JumpTable.cpp: * bytecode/JumpTable.h: * bytecode/Opcode.cpp: * bytecode/Opcode.h: * bytecode/SamplingTool.cpp: * bytecode/SamplingTool.h: * bytecode/SpeculatedType.cpp: * bytecode/SpeculatedType.h: * bytecode/ValueProfile.h: * bytecompiler/BytecodeGenerator.cpp: * bytecompiler/BytecodeGenerator.h: * bytecompiler/Label.h: * bytecompiler/LabelScope.h: * bytecompiler/RegisterID.h: * debugger/DebuggerCallFrame.cpp: * debugger/DebuggerCallFrame.h: * dfg/DFGDesiredStructureChains.cpp: * dfg/DFGDesiredStructureChains.h: * heap/GCActivityCallback.cpp: * heap/GCActivityCallback.h: * inspector/ConsoleMessage.cpp: * inspector/ConsoleMessage.h: * inspector/IdentifiersFactory.cpp: * inspector/IdentifiersFactory.h: * inspector/InjectedScriptManager.cpp: * inspector/InjectedScriptManager.h: * inspector/InjectedScriptSource.js: * inspector/ScriptBreakpoint.h: * inspector/ScriptDebugListener.h: * inspector/ScriptDebugServer.cpp: * inspector/ScriptDebugServer.h: * inspector/agents/InspectorAgent.cpp: * inspector/agents/InspectorAgent.h: * inspector/agents/InspectorDebuggerAgent.cpp: * inspector/agents/InspectorDebuggerAgent.h: * interpreter/Interpreter.cpp: * interpreter/Interpreter.h: * interpreter/JSStack.cpp: * interpreter/JSStack.h: * interpreter/Register.h: * jit/CompactJITCodeMap.h: * jit/JITStubs.cpp: * jit/JITStubs.h: * jit/JITStubsARM.h: * jit/JITStubsARMv7.h: * jit/JITStubsX86.h: * jit/JITStubsX86_64.h: * os-win32/stdbool.h: * parser/SourceCode.h: * parser/SourceProvider.h: * profiler/LegacyProfiler.cpp: * profiler/LegacyProfiler.h: * profiler/ProfileNode.cpp: * profiler/ProfileNode.h: * runtime/ArrayBufferView.cpp: * runtime/ArrayBufferView.h: * runtime/BatchedTransitionOptimizer.h: * runtime/CallData.h: * runtime/ConstructData.h: * runtime/DumpContext.cpp: * runtime/DumpContext.h: * runtime/ExceptionHelpers.cpp: * runtime/ExceptionHelpers.h: * runtime/InitializeThreading.cpp: * runtime/InitializeThreading.h: * runtime/IntegralTypedArrayBase.h: * runtime/IntendedStructureChain.cpp: * runtime/IntendedStructureChain.h: * runtime/JSActivation.cpp: * runtime/JSActivation.h: * runtime/JSExportMacros.h: * runtime/JSGlobalObject.cpp: * runtime/JSNotAnObject.cpp: * runtime/JSNotAnObject.h: * runtime/JSPropertyNameIterator.cpp: * runtime/JSPropertyNameIterator.h: * runtime/JSSegmentedVariableObject.cpp: * runtime/JSSegmentedVariableObject.h: * runtime/JSSymbolTableObject.cpp: * runtime/JSSymbolTableObject.h: * runtime/JSTypeInfo.h: * runtime/JSVariableObject.cpp: * runtime/JSVariableObject.h: * runtime/PropertyTable.cpp: * runtime/PutPropertySlot.h: * runtime/SamplingCounter.cpp: * runtime/SamplingCounter.h: * runtime/Structure.cpp: * runtime/Structure.h: * runtime/StructureChain.cpp: * runtime/StructureChain.h: * runtime/StructureInlines.h: * runtime/StructureTransitionTable.h: * runtime/SymbolTable.cpp: * runtime/SymbolTable.h: * runtime/TypedArrayBase.h: * runtime/TypedArrayType.cpp: * runtime/TypedArrayType.h: * runtime/VM.cpp: * runtime/VM.h: * yarr/RegularExpression.cpp: * yarr/RegularExpression.h: Source/WebCore: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. No new tests because no behavior changes. * DerivedSources.make: * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp: * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h: * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl: * Modules/encryptedmedia/MediaKeyMessageEvent.cpp: * Modules/encryptedmedia/MediaKeyMessageEvent.h: * Modules/encryptedmedia/MediaKeyMessageEvent.idl: * Modules/encryptedmedia/MediaKeyNeededEvent.cpp: * Modules/encryptedmedia/MediaKeyNeededEvent.h: * Modules/encryptedmedia/MediaKeyNeededEvent.idl: * Modules/encryptedmedia/MediaKeySession.idl: * Modules/encryptedmedia/MediaKeys.idl: * Modules/geolocation/NavigatorGeolocation.cpp: * Modules/indexeddb/DOMWindowIndexedDatabase.idl: * Modules/indexeddb/IDBCallbacks.h: * Modules/indexeddb/IDBDatabaseException.cpp: * Modules/indexeddb/IDBDatabaseMetadata.h: * Modules/indexeddb/IDBEventDispatcher.cpp: * Modules/indexeddb/IDBEventDispatcher.h: * Modules/indexeddb/IDBFactory.cpp: * Modules/indexeddb/IDBFactory.h: * Modules/indexeddb/IDBFactoryBackendInterface.cpp: * Modules/indexeddb/IDBFactoryBackendInterface.h: * Modules/indexeddb/IDBHistograms.h: * Modules/indexeddb/IDBIndexMetadata.h: * Modules/indexeddb/IDBObjectStoreMetadata.h: * Modules/indexeddb/IDBRecordIdentifier.h: * Modules/indexeddb/IDBRequest.cpp: * Modules/indexeddb/IDBRequest.h: * Modules/indexeddb/IDBRequest.idl: * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp: * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h: * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp: * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h: * Modules/mediacontrols/MediaControlsHost.cpp: * Modules/mediacontrols/MediaControlsHost.h: * Modules/mediacontrols/MediaControlsHost.idl: * Modules/mediacontrols/mediaControlsApple.css: * Modules/mediacontrols/mediaControlsiOS.css: * Modules/mediasource/AudioTrackMediaSource.h: * Modules/mediasource/AudioTrackMediaSource.idl: * Modules/mediasource/TextTrackMediaSource.h: * Modules/mediasource/TextTrackMediaSource.idl: * Modules/mediasource/VideoTrackMediaSource.h: * Modules/mediasource/VideoTrackMediaSource.idl: * Modules/mediastream/AllAudioCapabilities.h: * Modules/mediastream/AllAudioCapabilities.idl: * Modules/mediastream/AllVideoCapabilities.h: * Modules/mediastream/AllVideoCapabilities.idl: * Modules/mediastream/AudioStreamTrack.cpp: * Modules/mediastream/AudioStreamTrack.h: * Modules/mediastream/AudioStreamTrack.idl: * Modules/mediastream/CapabilityRange.cpp: * Modules/mediastream/CapabilityRange.h: * Modules/mediastream/CapabilityRange.idl: * Modules/mediastream/MediaSourceStates.cpp: * Modules/mediastream/MediaSourceStates.h: * Modules/mediastream/MediaSourceStates.idl: * Modules/mediastream/MediaStreamCapabilities.cpp: * Modules/mediastream/MediaStreamCapabilities.h: * Modules/mediastream/MediaStreamCapabilities.idl: * Modules/mediastream/MediaTrackConstraint.cpp: * Modules/mediastream/MediaTrackConstraint.h: * Modules/mediastream/MediaTrackConstraint.idl: * Modules/mediastream/MediaTrackConstraintSet.cpp: * Modules/mediastream/MediaTrackConstraintSet.h: * Modules/mediastream/MediaTrackConstraints.cpp: * Modules/mediastream/MediaTrackConstraints.h: * Modules/mediastream/MediaTrackConstraints.idl: * Modules/mediastream/NavigatorMediaStream.cpp: * Modules/mediastream/NavigatorUserMediaError.cpp: * Modules/mediastream/RTCConfiguration.idl: * Modules/mediastream/RTCIceServer.idl: * Modules/mediastream/RTCOfferAnswerOptions.cpp: * Modules/mediastream/RTCOfferAnswerOptions.h: * Modules/mediastream/VideoStreamTrack.cpp: * Modules/mediastream/VideoStreamTrack.h: * Modules/mediastream/VideoStreamTrack.idl: * Modules/networkinfo/NetworkInfo.cpp: * Modules/networkinfo/NetworkInfo.h: * Modules/networkinfo/NetworkInfoConnection.cpp: * Modules/networkinfo/NetworkInfoConnection.h: * Modules/networkinfo/NetworkInfoController.cpp: * Modules/notifications/DOMWindowNotifications.cpp: * Modules/notifications/DOMWindowNotifications.h: * Modules/notifications/DOMWindowNotifications.idl: * Modules/notifications/NotificationController.cpp: * Modules/notifications/NotificationController.h: * Modules/notifications/NotificationPermissionCallback.h: * Modules/notifications/NotificationPermissionCallback.idl: * Modules/notifications/WorkerGlobalScopeNotifications.cpp: * Modules/notifications/WorkerGlobalScopeNotifications.h: * Modules/notifications/WorkerGlobalScopeNotifications.idl: * Modules/plugins/PluginReplacement.h: * Modules/plugins/QuickTimePluginReplacement.cpp: * Modules/plugins/QuickTimePluginReplacement.css: * Modules/plugins/QuickTimePluginReplacement.h: * Modules/plugins/QuickTimePluginReplacement.idl: * Modules/quota/DOMWindowQuota.idl: * Modules/speech/DOMWindowSpeechSynthesis.h: * Modules/speech/DOMWindowSpeechSynthesis.idl: * Modules/speech/SpeechSynthesis.cpp: * Modules/speech/SpeechSynthesis.h: * Modules/speech/SpeechSynthesis.idl: * Modules/speech/SpeechSynthesisEvent.cpp: * Modules/speech/SpeechSynthesisEvent.h: * Modules/speech/SpeechSynthesisEvent.idl: * Modules/speech/SpeechSynthesisUtterance.cpp: * Modules/speech/SpeechSynthesisUtterance.h: * Modules/speech/SpeechSynthesisUtterance.idl: * Modules/speech/SpeechSynthesisVoice.cpp: * Modules/speech/SpeechSynthesisVoice.h: * Modules/speech/SpeechSynthesisVoice.idl: * Modules/webaudio/AudioBuffer.cpp: * Modules/webaudio/AudioBuffer.h: * Modules/webaudio/AudioBuffer.idl: * Modules/webaudio/AudioListener.cpp: * Modules/webaudio/AudioListener.h: * Modules/webaudio/AudioListener.idl: * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParam.idl: * Modules/webaudio/AudioParamTimeline.h: * Modules/webaudio/AudioScheduledSourceNode.h: * Modules/webaudio/ChannelMergerNode.cpp: * Modules/webaudio/ChannelMergerNode.h: * Modules/webaudio/ChannelMergerNode.idl: * Modules/webaudio/MediaStreamAudioSource.cpp: * Modules/webaudio/MediaStreamAudioSource.h: * Modules/webaudio/PeriodicWave.cpp: * Modules/webaudio/PeriodicWave.h: * Modules/webdatabase/ChangeVersionWrapper.cpp: * Modules/webdatabase/ChangeVersionWrapper.h: * Modules/webdatabase/DOMWindowWebDatabase.cpp: * Modules/webdatabase/DOMWindowWebDatabase.h: * Modules/webdatabase/DOMWindowWebDatabase.idl: * Modules/webdatabase/Database.cpp: * Modules/webdatabase/Database.h: * Modules/webdatabase/Database.idl: * Modules/webdatabase/DatabaseAuthorizer.cpp: * Modules/webdatabase/DatabaseAuthorizer.h: * Modules/webdatabase/DatabaseBackendBase.cpp: * Modules/webdatabase/DatabaseBackendBase.h: * Modules/webdatabase/DatabaseCallback.idl: * Modules/webdatabase/DatabaseContext.cpp: * Modules/webdatabase/DatabaseContext.h: * Modules/webdatabase/DatabaseDetails.h: * Modules/webdatabase/DatabaseTask.cpp: * Modules/webdatabase/DatabaseTask.h: * Modules/webdatabase/DatabaseThread.cpp: * Modules/webdatabase/DatabaseThread.h: * Modules/webdatabase/DatabaseTracker.cpp: * Modules/webdatabase/DatabaseTracker.h: * Modules/webdatabase/SQLCallbackWrapper.h: * Modules/webdatabase/SQLError.h: * Modules/webdatabase/SQLError.idl: * Modules/webdatabase/SQLException.cpp: * Modules/webdatabase/SQLResultSet.cpp: * Modules/webdatabase/SQLResultSet.h: * Modules/webdatabase/SQLResultSet.idl: * Modules/webdatabase/SQLResultSetRowList.cpp: * Modules/webdatabase/SQLResultSetRowList.h: * Modules/webdatabase/SQLResultSetRowList.idl: * Modules/webdatabase/SQLStatement.cpp: * Modules/webdatabase/SQLStatement.h: * Modules/webdatabase/SQLStatementBackend.cpp: * Modules/webdatabase/SQLStatementBackend.h: * Modules/webdatabase/SQLStatementCallback.h: * Modules/webdatabase/SQLStatementCallback.idl: * Modules/webdatabase/SQLStatementErrorCallback.h: * Modules/webdatabase/SQLStatementErrorCallback.idl: * Modules/webdatabase/SQLStatementSync.cpp: * Modules/webdatabase/SQLTransaction.cpp: * Modules/webdatabase/SQLTransaction.h: * Modules/webdatabase/SQLTransaction.idl: * Modules/webdatabase/SQLTransactionBackend.cpp: * Modules/webdatabase/SQLTransactionBackend.h: * Modules/webdatabase/SQLTransactionCallback.h: * Modules/webdatabase/SQLTransactionCallback.idl: * Modules/webdatabase/SQLTransactionErrorCallback.h: * Modules/webdatabase/SQLTransactionErrorCallback.idl: * Modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp: * Modules/webdatabase/WorkerGlobalScopeWebDatabase.h: * Modules/webdatabase/WorkerGlobalScopeWebDatabase.idl: * Resources/deleteButton.tiff: * Resources/deleteButtonPressed.tiff: * WebCore.vcxproj/MigrateScripts: * WebCorePrefix.cpp: * accessibility/AXObjectCache.cpp: * accessibility/AXObjectCache.h: * accessibility/AccessibilityARIAGrid.cpp: * accessibility/AccessibilityARIAGrid.h: * accessibility/AccessibilityARIAGridCell.cpp: * accessibility/AccessibilityARIAGridCell.h: * accessibility/AccessibilityARIAGridRow.cpp: * accessibility/AccessibilityARIAGridRow.h: * accessibility/AccessibilityImageMapLink.cpp: * accessibility/AccessibilityImageMapLink.h: * accessibility/AccessibilityList.cpp: * accessibility/AccessibilityList.h: * accessibility/AccessibilityListBox.cpp: * accessibility/AccessibilityListBox.h: * accessibility/AccessibilityListBoxOption.cpp: * accessibility/AccessibilityListBoxOption.h: * accessibility/AccessibilityMediaControls.cpp: * accessibility/AccessibilityMediaControls.h: * accessibility/AccessibilityNodeObject.cpp: * accessibility/AccessibilityNodeObject.h: * accessibility/AccessibilityObject.cpp: * accessibility/AccessibilityObject.h: * accessibility/AccessibilityRenderObject.cpp: * accessibility/AccessibilityRenderObject.h: * accessibility/AccessibilitySVGRoot.cpp: * accessibility/AccessibilitySVGRoot.h: * accessibility/AccessibilityScrollbar.cpp: * accessibility/AccessibilityScrollbar.h: * accessibility/AccessibilitySlider.cpp: * accessibility/AccessibilitySlider.h: * accessibility/AccessibilityTable.cpp: * accessibility/AccessibilityTable.h: * accessibility/AccessibilityTableCell.cpp: * accessibility/AccessibilityTableCell.h: * accessibility/AccessibilityTableColumn.cpp: * accessibility/AccessibilityTableColumn.h: * accessibility/AccessibilityTableHeaderContainer.cpp: * accessibility/AccessibilityTableHeaderContainer.h: * accessibility/AccessibilityTableRow.cpp: * accessibility/AccessibilityTableRow.h: * accessibility/ios/AXObjectCacheIOS.mm: * accessibility/ios/AccessibilityObjectIOS.mm: * accessibility/ios/WebAccessibilityObjectWrapperIOS.h: * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: * accessibility/mac/AXObjectCacheMac.mm: * accessibility/mac/AccessibilityObjectMac.mm: * accessibility/mac/WebAccessibilityObjectWrapperBase.h: * accessibility/mac/WebAccessibilityObjectWrapperBase.mm: * accessibility/mac/WebAccessibilityObjectWrapperMac.h: * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: * bindings/gobject/WebKitDOMEventTarget.cpp: * bindings/gobject/WebKitDOMHTMLPrivate.cpp: * bindings/gobject/WebKitDOMHTMLPrivate.h: * bindings/js/Dictionary.cpp: * bindings/js/GCController.cpp: * bindings/js/GCController.h: * bindings/js/JSAttrCustom.cpp: * bindings/js/JSAudioTrackCustom.cpp: * bindings/js/JSAudioTrackListCustom.cpp: * bindings/js/JSCSSRuleCustom.cpp: * bindings/js/JSCSSRuleCustom.h: * bindings/js/JSCSSRuleListCustom.cpp: * bindings/js/JSCSSStyleDeclarationCustom.cpp: * bindings/js/JSCSSValueCustom.cpp: * bindings/js/JSCallbackData.cpp: * bindings/js/JSCallbackData.h: * bindings/js/JSCanvasRenderingContextCustom.cpp: * bindings/js/JSClipboardCustom.cpp: * bindings/js/JSCustomSQLStatementErrorCallback.cpp: * bindings/js/JSCustomXPathNSResolver.cpp: * bindings/js/JSCustomXPathNSResolver.h: * bindings/js/JSDOMGlobalObject.cpp: * bindings/js/JSDOMGlobalObject.h: * bindings/js/JSDOMWindowShell.cpp: * bindings/js/JSDOMWindowShell.h: * bindings/js/JSElementCustom.cpp: * bindings/js/JSEventCustom.cpp: * bindings/js/JSHTMLAppletElementCustom.cpp: * bindings/js/JSHTMLCanvasElementCustom.cpp: * bindings/js/JSHTMLDocumentCustom.cpp: * bindings/js/JSHTMLElementCustom.cpp: * bindings/js/JSHTMLEmbedElementCustom.cpp: * bindings/js/JSHTMLFormElementCustom.cpp: * bindings/js/JSHTMLFrameElementCustom.cpp: * bindings/js/JSHTMLFrameSetElementCustom.cpp: * bindings/js/JSHTMLObjectElementCustom.cpp: * bindings/js/JSHTMLSelectElementCustom.h: * bindings/js/JSHistoryCustom.cpp: * bindings/js/JSMediaListCustom.h: * bindings/js/JSMediaSourceStatesCustom.cpp: * bindings/js/JSMediaStreamCapabilitiesCustom.cpp: * bindings/js/JSNamedNodeMapCustom.cpp: * bindings/js/JSNodeCustom.cpp: * bindings/js/JSNodeCustom.h: * bindings/js/JSNodeFilterCustom.cpp: * bindings/js/JSNodeListCustom.cpp: * bindings/js/JSSQLResultSetRowListCustom.cpp: * bindings/js/JSSQLTransactionCustom.cpp: * bindings/js/JSSQLTransactionSyncCustom.cpp: * bindings/js/JSSVGElementInstanceCustom.cpp: * bindings/js/JSStyleSheetCustom.cpp: * bindings/js/JSStyleSheetCustom.h: * bindings/js/JSStyleSheetListCustom.cpp: * bindings/js/JSTextTrackCueCustom.cpp: * bindings/js/JSTextTrackCustom.cpp: * bindings/js/JSTextTrackListCustom.cpp: * bindings/js/JSTouchCustom.cpp: * bindings/js/JSTouchListCustom.cpp: * bindings/js/JSTrackCustom.cpp: * bindings/js/JSTrackCustom.h: * bindings/js/JSTrackEventCustom.cpp: * bindings/js/JSVideoTrackCustom.cpp: * bindings/js/JSVideoTrackListCustom.cpp: * bindings/js/JSWebGLRenderingContextCustom.cpp: * bindings/js/JSWebKitPointCustom.cpp: * bindings/js/JSWorkerGlobalScopeBase.cpp: * bindings/js/JSWorkerGlobalScopeBase.h: * bindings/js/JSXMLHttpRequestCustom.cpp: * bindings/js/JSXSLTProcessorCustom.cpp: * bindings/js/ScriptControllerMac.mm: * bindings/js/ScriptProfile.cpp: * bindings/js/ScriptProfile.h: * bindings/js/ScriptProfileNode.h: * bindings/js/ScriptProfiler.cpp: * bindings/js/ScriptProfiler.h: * bindings/js/SerializedScriptValue.cpp: * bindings/js/SerializedScriptValue.h: * bindings/js/WorkerScriptController.cpp: * bindings/js/WorkerScriptController.h: * bindings/objc/DOM.h: * bindings/objc/DOM.mm: * bindings/objc/DOMAbstractView.mm: * bindings/objc/DOMAbstractViewFrame.h: * bindings/objc/DOMCSS.h: * bindings/objc/DOMCSS.mm: * bindings/objc/DOMCore.h: * bindings/objc/DOMCustomXPathNSResolver.h: * bindings/objc/DOMCustomXPathNSResolver.mm: * bindings/objc/DOMEventException.h: * bindings/objc/DOMEvents.h: * bindings/objc/DOMEvents.mm: * bindings/objc/DOMException.h: * bindings/objc/DOMExtensions.h: * bindings/objc/DOMHTML.h: * bindings/objc/DOMHTML.mm: * bindings/objc/DOMInternal.h: * bindings/objc/DOMInternal.mm: * bindings/objc/DOMObject.h: * bindings/objc/DOMObject.mm: * bindings/objc/DOMPrivate.h: * bindings/objc/DOMRangeException.h: * bindings/objc/DOMRanges.h: * bindings/objc/DOMStylesheets.h: * bindings/objc/DOMTraversal.h: * bindings/objc/DOMUIKitExtensions.h: * bindings/objc/DOMUIKitExtensions.mm: * bindings/objc/DOMUtility.mm: * bindings/objc/DOMViews.h: * bindings/objc/DOMXPath.h: * bindings/objc/DOMXPath.mm: * bindings/objc/DOMXPathException.h: * bindings/objc/ExceptionHandlers.h: * bindings/objc/ExceptionHandlers.mm: * bindings/objc/ObjCEventListener.h: * bindings/objc/ObjCEventListener.mm: * bindings/objc/ObjCNodeFilterCondition.h: * bindings/objc/ObjCNodeFilterCondition.mm: * bindings/objc/PublicDOMInterfaces.h: * bindings/objc/WebScriptObject.mm: * bindings/scripts/CodeGeneratorObjC.pm: * bindings/scripts/InFilesCompiler.pm: (license): * bindings/scripts/InFilesParser.pm: * bindings/scripts/generate-bindings.pl: * bindings/scripts/test/ObjC/DOMFloat64Array.h: * bindings/scripts/test/ObjC/DOMFloat64Array.mm: * bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h: * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.h: * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.mm: * bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h: * bindings/scripts/test/ObjC/DOMTestCallback.h: * bindings/scripts/test/ObjC/DOMTestCallback.mm: * bindings/scripts/test/ObjC/DOMTestCallbackInternal.h: * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.h: * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.mm: * bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h: * bindings/scripts/test/ObjC/DOMTestEventConstructor.h: * bindings/scripts/test/ObjC/DOMTestEventConstructor.mm: * bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h: * bindings/scripts/test/ObjC/DOMTestEventTarget.h: * bindings/scripts/test/ObjC/DOMTestEventTarget.mm: * bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h: * bindings/scripts/test/ObjC/DOMTestException.h: * bindings/scripts/test/ObjC/DOMTestException.mm: * bindings/scripts/test/ObjC/DOMTestExceptionInternal.h: * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.h: * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.mm: * bindings/scripts/test/ObjC/DOMTestGenerateIsReachableInternal.h: * bindings/scripts/test/ObjC/DOMTestInterface.h: * bindings/scripts/test/ObjC/DOMTestInterface.mm: * bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h: * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h: * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm: * bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h: * bindings/scripts/test/ObjC/DOMTestNamedConstructor.h: * bindings/scripts/test/ObjC/DOMTestNamedConstructor.mm: * bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h: * bindings/scripts/test/ObjC/DOMTestNode.h: * bindings/scripts/test/ObjC/DOMTestNode.mm: * bindings/scripts/test/ObjC/DOMTestNodeInternal.h: * bindings/scripts/test/ObjC/DOMTestObj.h: * bindings/scripts/test/ObjC/DOMTestObj.mm: * bindings/scripts/test/ObjC/DOMTestObjInternal.h: * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.h: * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.mm: * bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h: * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h: * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm: * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h: * bindings/scripts/test/ObjC/DOMTestTypedefs.h: * bindings/scripts/test/ObjC/DOMTestTypedefs.mm: * bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h: * bindings/scripts/test/ObjC/DOMattribute.h: * bindings/scripts/test/ObjC/DOMattribute.mm: * bindings/scripts/test/ObjC/DOMattributeInternal.h: * bindings/scripts/test/ObjC/DOMreadonly.h: * bindings/scripts/test/ObjC/DOMreadonly.mm: * bindings/scripts/test/ObjC/DOMreadonlyInternal.h: * bindings/scripts/test/TestCallback.idl: * bindings/scripts/test/TestCustomNamedGetter.idl: * bindings/scripts/test/TestDomainSecurity.idl: * bindings/scripts/test/TestEventConstructor.idl: * bindings/scripts/test/TestEventTarget.idl: * bindings/scripts/test/TestException.idl: * bindings/scripts/test/TestImplements.idl: * bindings/scripts/test/TestInterface.idl: * bindings/scripts/test/TestMediaQueryListListener.idl: * bindings/scripts/test/TestNamedConstructor.idl: * bindings/scripts/test/TestObj.idl: * bindings/scripts/test/TestOverloadedConstructors.idl: * bindings/scripts/test/TestSupplemental.idl: * bridge/Bridge.h: * bridge/IdentifierRep.cpp: * bridge/IdentifierRep.h: * bridge/NP_jsobject.cpp: * bridge/NP_jsobject.h: * bridge/c/CRuntimeObject.cpp: * bridge/c/CRuntimeObject.h: * bridge/c/c_class.cpp: * bridge/c/c_class.h: * bridge/c/c_instance.cpp: * bridge/c/c_instance.h: * bridge/c/c_runtime.cpp: * bridge/c/c_runtime.h: * bridge/c/c_utility.cpp: * bridge/c/c_utility.h: * bridge/jsc/BridgeJSC.cpp: * bridge/jsc/BridgeJSC.h: * bridge/npruntime.cpp: * bridge/npruntime_impl.h: * bridge/npruntime_priv.h: * bridge/objc/ObjCRuntimeObject.h: * bridge/objc/ObjCRuntimeObject.mm: * bridge/objc/WebScriptObject.h: * bridge/objc/objc_class.h: * bridge/objc/objc_class.mm: * bridge/objc/objc_header.h: * bridge/objc/objc_instance.h: * bridge/objc/objc_instance.mm: * bridge/objc/objc_runtime.h: * bridge/objc/objc_runtime.mm: * bridge/objc/objc_utility.h: * bridge/objc/objc_utility.mm: * bridge/runtime_array.cpp: * bridge/runtime_array.h: * bridge/runtime_method.cpp: * bridge/runtime_method.h: * bridge/runtime_object.cpp: * bridge/runtime_object.h: * bridge/runtime_root.cpp: * bridge/runtime_root.h: * bridge/testbindings.mm: * css/CSSAllInOne.cpp: * css/CSSAspectRatioValue.cpp: * css/CSSAspectRatioValue.h: * css/CSSBorderImageSliceValue.cpp: * css/CSSBorderImageSliceValue.h: * css/CSSCanvasValue.cpp: * css/CSSCanvasValue.h: * css/CSSCrossfadeValue.cpp: * css/CSSCrossfadeValue.h: * css/CSSFontFace.cpp: * css/CSSFontFace.h: * css/CSSFontFaceSource.cpp: * css/CSSFontFaceSource.h: * css/CSSFontFaceSrcValue.cpp: * css/CSSFontFaceSrcValue.h: * css/CSSFontFeatureValue.cpp: * css/CSSFontFeatureValue.h: * css/CSSFontSelector.cpp: * css/CSSFontSelector.h: * css/CSSFontValue.cpp: * css/CSSGradientValue.cpp: * css/CSSGradientValue.h: * css/CSSImageGeneratorValue.cpp: * css/CSSImageGeneratorValue.h: * css/CSSMediaRule.cpp: * css/CSSProperty.cpp: * css/CSSProperty.h: * css/CSSReflectValue.cpp: * css/CSSReflectValue.h: * css/CSSReflectionDirection.h: * css/CSSRuleList.cpp: * css/CSSRuleList.h: * css/CSSRuleList.idl: * css/CSSSegmentedFontFace.cpp: * css/CSSSegmentedFontFace.h: * css/CSSShadowValue.cpp: * css/CSSTimingFunctionValue.cpp: * css/CSSTimingFunctionValue.h: * css/CSSUnicodeRangeValue.cpp: * css/CSSUnicodeRangeValue.h: * css/CSSUnknownRule.idl: * css/CSSValue.cpp: * css/CSSValueList.idl: * css/MediaAllInOne.cpp: * css/MediaFeatureNames.cpp: * css/MediaList.idl: * css/MediaQuery.cpp: * css/MediaQuery.h: * css/MediaQueryEvaluator.cpp: * css/MediaQueryEvaluator.h: * css/MediaQueryExp.cpp: * css/MediaQueryExp.h: * css/Pair.h: * css/PropertySetCSSStyleDeclaration.h: * css/RGBColor.cpp: * css/RGBColor.h: * css/SVGCSSParser.cpp: * css/SVGCSSStyleSelector.cpp: * css/StyleInvalidationAnalysis.cpp: * css/StyleInvalidationAnalysis.h: * css/StyleMedia.cpp: * css/StyleMedia.h: * css/StyleMedia.idl: * css/StyleSheet.cpp: * css/WebKitCSSFilterValue.cpp: * css/WebKitCSSFilterValue.h: * css/WebKitCSSFilterValue.idl: * css/WebKitCSSKeyframeRule.cpp: * css/WebKitCSSKeyframeRule.h: * css/WebKitCSSKeyframeRule.idl: * css/WebKitCSSKeyframesRule.cpp: * css/WebKitCSSKeyframesRule.h: * css/WebKitCSSKeyframesRule.idl: * css/WebKitCSSTransformValue.cpp: * css/WebKitCSSTransformValue.h: * css/WebKitCSSTransformValue.idl: * css/make-css-file-arrays.pl: * css/mediaControls.css: * css/mediaControlsEfl.css: * css/mediaControlsEflFullscreen.css: * css/mediaControlsGtk.css: * css/mediaControlsiOS.css: * css/svg.css: * dom/ActiveDOMObject.cpp: * dom/ActiveDOMObject.h: * dom/BeforeLoadEvent.h: * dom/BeforeLoadEvent.idl: * dom/BeforeTextInsertedEvent.cpp: * dom/BeforeTextInsertedEvent.h: * dom/BeforeUnloadEvent.cpp: * dom/BeforeUnloadEvent.h: * dom/BeforeUnloadEvent.idl: * dom/ClassNodeList.cpp: * dom/ClassNodeList.h: * dom/ClientRect.cpp: * dom/ClientRect.h: * dom/ClientRect.idl: * dom/ClientRectList.cpp: * dom/ClientRectList.h: * dom/ClientRectList.idl: * dom/Clipboard.cpp: * dom/Clipboard.idl: * dom/ClipboardAccessPolicy.h: * dom/ClipboardMac.mm: * dom/CompositionEvent.cpp: * dom/CompositionEvent.h: * dom/CompositionEvent.idl: * dom/ContextDestructionObserver.cpp: * dom/ContextDestructionObserver.h: * dom/CurrentScriptIncrementer.h: * dom/CustomEvent.cpp: * dom/CustomEvent.h: * dom/CustomEvent.idl: * dom/DOMCoreException.cpp: * dom/DOMCoreException.h: * dom/DOMCoreException.idl: * dom/DOMError.idl: * dom/DeviceMotionEvent.cpp: * dom/DeviceMotionEvent.h: * dom/DeviceMotionEvent.idl: * dom/DocumentEventQueue.cpp: * dom/DocumentEventQueue.h: * dom/DocumentMarker.h: * dom/DocumentParser.h: * dom/DocumentSharedObjectPool.cpp: * dom/DocumentSharedObjectPool.h: * dom/Entity.idl: * dom/EventContext.cpp: * dom/EventContext.h: * dom/EventException.cpp: * dom/EventException.h: * dom/EventException.idl: * dom/EventListener.idl: * dom/EventListenerMap.cpp: * dom/EventListenerMap.h: * dom/EventNames.cpp: * dom/EventQueue.h: * dom/EventTarget.cpp: * dom/EventTarget.h: * dom/ExceptionBase.cpp: * dom/ExceptionBase.h: * dom/GenericEventQueue.cpp: * dom/GenericEventQueue.h: * dom/KeyboardEvent.idl: * dom/MessageChannel.cpp: * dom/MessageChannel.h: * dom/MessageChannel.idl: * dom/MessageEvent.cpp: * dom/MessageEvent.h: * dom/MessageEvent.idl: * dom/MessagePort.cpp: * dom/MessagePort.h: * dom/MessagePort.idl: * dom/MouseRelatedEvent.h: * dom/MutationEvent.idl: * dom/Notation.idl: * dom/OverflowEvent.cpp: * dom/OverflowEvent.h: * dom/OverflowEvent.idl: * dom/PopStateEvent.cpp: * dom/PopStateEvent.h: * dom/PopStateEvent.idl: * dom/Position.cpp: * dom/Position.h: * dom/ProcessingInstruction.idl: * dom/ProgressEvent.cpp: * dom/ProgressEvent.h: * dom/ProgressEvent.idl: * dom/Range.idl: * dom/RangeException.cpp: * dom/RangeException.h: * dom/ScriptExecutionContext.cpp: * dom/ScriptExecutionContext.h: * dom/SecurityContext.cpp: * dom/SecurityContext.h: * dom/StaticNodeList.cpp: * dom/StaticNodeList.h: * dom/Text.idl: * dom/TextEvent.cpp: * dom/TextEvent.h: * dom/TextEvent.idl: * dom/Touch.cpp: * dom/Touch.h: * dom/Touch.idl: * dom/TouchEvent.cpp: * dom/TouchEvent.h: * dom/TouchEvent.idl: * dom/TouchList.cpp: * dom/TouchList.h: * dom/TouchList.idl: * dom/TransitionEvent.cpp: * dom/TransitionEvent.h: * dom/TransitionEvent.idl: * dom/TreeWalker.idl: * dom/UIEvent.idl: * dom/UIEventWithKeyState.cpp: * dom/WebKitAnimationEvent.cpp: * dom/WebKitAnimationEvent.h: * dom/WebKitAnimationEvent.idl: * dom/WebKitTransitionEvent.cpp: * dom/WebKitTransitionEvent.h: * dom/WebKitTransitionEvent.idl: * dom/make_dom_exceptions.pl: * dom/make_event_factory.pl: * dom/make_names.pl: (printLicenseHeader): * editing/AlternativeTextController.cpp: * editing/AlternativeTextController.h: * editing/AppendNodeCommand.cpp: * editing/AppendNodeCommand.h: * editing/ApplyStyleCommand.cpp: * editing/ApplyStyleCommand.h: * editing/BreakBlockquoteCommand.cpp: * editing/BreakBlockquoteCommand.h: * editing/CompositeEditCommand.cpp: * editing/CompositeEditCommand.h: * editing/CreateLinkCommand.cpp: * editing/CreateLinkCommand.h: * editing/DeleteButton.cpp: * editing/DeleteButton.h: * editing/DeleteButtonController.cpp: * editing/DeleteButtonController.h: * editing/DeleteFromTextNodeCommand.cpp: * editing/DeleteFromTextNodeCommand.h: * editing/DeleteSelectionCommand.cpp: * editing/DeleteSelectionCommand.h: * editing/EditAction.h: * editing/EditCommand.cpp: * editing/EditCommand.h: * editing/EditingBoundary.h: * editing/EditingStyle.cpp: * editing/Editor.cpp: * editing/Editor.h: * editing/EditorCommand.cpp: * editing/EditorDeleteAction.h: * editing/EditorInsertAction.h: * editing/FormatBlockCommand.cpp: * editing/FormatBlockCommand.h: * editing/FrameSelection.cpp: * editing/FrameSelection.h: * editing/HTMLInterchange.cpp: * editing/HTMLInterchange.h: * editing/IndentOutdentCommand.cpp: * editing/IndentOutdentCommand.h: * editing/InsertIntoTextNodeCommand.cpp: * editing/InsertIntoTextNodeCommand.h: * editing/InsertLineBreakCommand.cpp: * editing/InsertLineBreakCommand.h: * editing/InsertListCommand.cpp: * editing/InsertListCommand.h: * editing/InsertNodeBeforeCommand.cpp: * editing/InsertNodeBeforeCommand.h: * editing/InsertParagraphSeparatorCommand.cpp: * editing/InsertParagraphSeparatorCommand.h: * editing/InsertTextCommand.cpp: * editing/InsertTextCommand.h: * editing/MarkupAccumulator.h: * editing/MergeIdenticalElementsCommand.cpp: * editing/MergeIdenticalElementsCommand.h: * editing/ModifySelectionListLevel.cpp: * editing/ModifySelectionListLevel.h: * editing/MoveSelectionCommand.cpp: * editing/MoveSelectionCommand.h: * editing/RemoveCSSPropertyCommand.cpp: * editing/RemoveCSSPropertyCommand.h: * editing/RemoveFormatCommand.cpp: * editing/RemoveFormatCommand.h: * editing/RemoveNodeCommand.cpp: * editing/RemoveNodeCommand.h: * editing/RemoveNodePreservingChildrenCommand.cpp: * editing/RemoveNodePreservingChildrenCommand.h: * editing/ReplaceSelectionCommand.cpp: * editing/ReplaceSelectionCommand.h: * editing/SetNodeAttributeCommand.cpp: * editing/SetNodeAttributeCommand.h: * editing/SetSelectionCommand.cpp: * editing/SetSelectionCommand.h: * editing/SimplifyMarkupCommand.cpp: * editing/SimplifyMarkupCommand.h: * editing/SmartReplace.cpp: * editing/SmartReplace.h: * editing/SmartReplaceCF.cpp: * editing/SpellChecker.cpp: * editing/SpellChecker.h: * editing/SpellingCorrectionCommand.cpp: * editing/SpellingCorrectionCommand.h: * editing/SplitElementCommand.cpp: * editing/SplitElementCommand.h: * editing/SplitTextNodeCommand.cpp: * editing/SplitTextNodeCommand.h: * editing/SplitTextNodeContainingElementCommand.cpp: * editing/SplitTextNodeContainingElementCommand.h: * editing/TextAffinity.h: * editing/TextCheckingHelper.cpp: * editing/TextGranularity.h: * editing/TextIterator.cpp: * editing/TextIterator.h: * editing/TextIteratorBehavior.h: * editing/TypingCommand.cpp: * editing/TypingCommand.h: * editing/UnlinkCommand.cpp: * editing/UnlinkCommand.h: * editing/VisiblePosition.cpp: * editing/VisiblePosition.h: * editing/VisibleSelection.cpp: * editing/VisibleSelection.h: * editing/VisibleUnits.cpp: * editing/VisibleUnits.h: * editing/WrapContentsInDummySpanCommand.cpp: * editing/WrapContentsInDummySpanCommand.h: * editing/WritingDirection.h: * editing/efl/EditorEfl.cpp: * editing/htmlediting.cpp: * editing/htmlediting.h: * editing/mac/EditorMac.mm: * editing/mac/FrameSelectionMac.mm: * editing/markup.cpp: * editing/markup.h: * extract-localizable-strings.pl: * fileapi/FileException.cpp: * history/BackForwardClient.h: * history/BackForwardList.cpp: * history/BackForwardList.h: * history/CachedFrame.cpp: * history/CachedFrame.h: * history/CachedFramePlatformData.h: * history/CachedPage.cpp: * history/CachedPage.h: * history/HistoryItem.cpp: * history/HistoryItem.h: * history/PageCache.cpp: * history/PageCache.h: * history/mac/HistoryItemMac.mm: * html/FTPDirectoryDocument.cpp: * html/FTPDirectoryDocument.h: * html/HTMLAudioElement.cpp: * html/HTMLAudioElement.h: * html/HTMLAudioElement.idl: * html/HTMLCanvasElement.cpp: * html/HTMLCanvasElement.h: * html/HTMLCanvasElement.idl: * html/HTMLFieldSetElement.idl: * html/HTMLImageLoader.h: * html/HTMLMediaElement.cpp: * html/HTMLMediaElement.h: * html/HTMLMediaElement.idl: * html/HTMLOptionsCollection.cpp: * html/HTMLPlugInElement.cpp: * html/HTMLSourceElement.cpp: * html/HTMLSourceElement.h: * html/HTMLSourceElement.idl: * html/HTMLTablePartElement.cpp: * html/HTMLTableRowsCollection.cpp: * html/HTMLTableRowsCollection.h: * html/HTMLTitleElement.idl: * html/HTMLTrackElement.cpp: * html/HTMLTrackElement.h: * html/HTMLTrackElement.idl: * html/HTMLVideoElement.cpp: * html/HTMLVideoElement.h: * html/HTMLVideoElement.idl: * html/ImageData.cpp: * html/ImageData.h: * html/ImageData.idl: * html/ImageDocument.cpp: * html/ImageDocument.h: * html/MediaController.cpp: * html/MediaController.h: * html/MediaController.idl: * html/MediaControllerInterface.h: * html/MediaError.h: * html/MediaError.idl: * html/MediaFragmentURIParser.cpp: * html/MediaFragmentURIParser.h: * html/MediaKeyError.h: * html/MediaKeyError.idl: * html/MediaKeyEvent.cpp: * html/MediaKeyEvent.h: * html/MediaKeyEvent.idl: * html/PluginDocument.cpp: * html/PluginDocument.h: * html/TextDocument.cpp: * html/TextDocument.h: * html/TimeRanges.cpp: * html/TimeRanges.h: * html/TimeRanges.idl: * html/VoidCallback.h: * html/VoidCallback.idl: * html/canvas/CanvasGradient.cpp: * html/canvas/CanvasGradient.h: * html/canvas/CanvasGradient.idl: * html/canvas/CanvasPattern.cpp: * html/canvas/CanvasPattern.h: * html/canvas/CanvasPattern.idl: * html/canvas/CanvasRenderingContext.cpp: * html/canvas/CanvasRenderingContext.h: * html/canvas/CanvasRenderingContext.idl: * html/canvas/CanvasRenderingContext2D.cpp: * html/canvas/CanvasRenderingContext2D.h: * html/canvas/CanvasRenderingContext2D.idl: * html/canvas/CanvasStyle.cpp: * html/canvas/CanvasStyle.h: * html/canvas/DOMPath.idl: * html/canvas/OESVertexArrayObject.cpp: * html/canvas/OESVertexArrayObject.h: * html/canvas/OESVertexArrayObject.idl: * html/canvas/WebGLBuffer.cpp: * html/canvas/WebGLBuffer.h: * html/canvas/WebGLBuffer.idl: * html/canvas/WebGLContextGroup.cpp: * html/canvas/WebGLContextGroup.h: * html/canvas/WebGLContextObject.cpp: * html/canvas/WebGLContextObject.h: * html/canvas/WebGLFramebuffer.cpp: * html/canvas/WebGLFramebuffer.h: * html/canvas/WebGLFramebuffer.idl: * html/canvas/WebGLObject.cpp: * html/canvas/WebGLObject.h: * html/canvas/WebGLProgram.cpp: * html/canvas/WebGLProgram.h: * html/canvas/WebGLProgram.idl: * html/canvas/WebGLRenderbuffer.cpp: * html/canvas/WebGLRenderbuffer.h: * html/canvas/WebGLRenderbuffer.idl: * html/canvas/WebGLRenderingContext.cpp: * html/canvas/WebGLRenderingContext.h: * html/canvas/WebGLRenderingContext.idl: * html/canvas/WebGLShader.cpp: * html/canvas/WebGLShader.h: * html/canvas/WebGLShader.idl: * html/canvas/WebGLSharedObject.cpp: * html/canvas/WebGLSharedObject.h: * html/canvas/WebGLTexture.cpp: * html/canvas/WebGLTexture.h: * html/canvas/WebGLTexture.idl: * html/canvas/WebGLUniformLocation.cpp: * html/canvas/WebGLUniformLocation.h: * html/canvas/WebGLUniformLocation.idl: * html/canvas/WebGLVertexArrayObjectOES.cpp: * html/canvas/WebGLVertexArrayObjectOES.h: * html/canvas/WebGLVertexArrayObjectOES.idl: * html/forms/FileIconLoader.cpp: * html/forms/FileIconLoader.h: * html/parser/TextDocumentParser.cpp: * html/parser/TextDocumentParser.h: * html/shadow/MediaControlElementTypes.cpp: * html/shadow/MediaControlElementTypes.h: * html/shadow/MediaControlElements.cpp: * html/shadow/MediaControlElements.h: * html/shadow/MediaControls.cpp: * html/shadow/MediaControls.h: * html/shadow/MediaControlsApple.cpp: * html/shadow/MediaControlsApple.h: * html/shadow/MediaControlsGtk.cpp: * html/shadow/MediaControlsGtk.h: * html/shadow/SpinButtonElement.cpp: * html/shadow/SpinButtonElement.h: * html/shadow/TextControlInnerElements.cpp: * html/shadow/TextControlInnerElements.h: * html/track/AudioTrack.h: * html/track/AudioTrack.idl: * html/track/AudioTrackList.cpp: * html/track/AudioTrackList.h: * html/track/AudioTrackList.idl: * html/track/DataCue.cpp: * html/track/DataCue.h: * html/track/DataCue.idl: * html/track/InbandGenericTextTrack.cpp: * html/track/InbandGenericTextTrack.h: * html/track/InbandTextTrack.cpp: * html/track/InbandTextTrack.h: * html/track/InbandWebVTTTextTrack.cpp: * html/track/InbandWebVTTTextTrack.h: * html/track/LoadableTextTrack.cpp: * html/track/LoadableTextTrack.h: * html/track/TextTrack.h: * html/track/TextTrack.idl: * html/track/TextTrackCue.idl: * html/track/TextTrackCueGeneric.cpp: * html/track/TextTrackCueGeneric.h: * html/track/TextTrackCueList.cpp: * html/track/TextTrackCueList.h: * html/track/TextTrackCueList.idl: * html/track/TextTrackList.cpp: * html/track/TextTrackList.h: * html/track/TextTrackList.idl: * html/track/TextTrackRegion.idl: * html/track/TextTrackRegionList.cpp: * html/track/TextTrackRegionList.h: * html/track/TextTrackRegionList.idl: * html/track/TrackBase.cpp: * html/track/TrackBase.h: * html/track/TrackEvent.cpp: * html/track/TrackEvent.h: * html/track/TrackEvent.idl: * html/track/TrackListBase.cpp: * html/track/TrackListBase.h: * html/track/VTTCue.idl: * html/track/VideoTrack.h: * html/track/VideoTrack.idl: * html/track/VideoTrackList.cpp: * html/track/VideoTrackList.h: * html/track/VideoTrackList.idl: * html/track/WebVTTElement.cpp: * html/track/WebVTTElement.h: * inspector/CommandLineAPIHost.cpp: * inspector/CommandLineAPIHost.h: * inspector/CommandLineAPIModuleSource.js: * inspector/InspectorAllInOne.cpp: * inspector/InspectorClient.h: * inspector/InspectorDOMAgent.cpp: * inspector/InspectorDOMAgent.h: * inspector/InspectorDOMStorageAgent.cpp: * inspector/InspectorDOMStorageAgent.h: * inspector/InspectorDatabaseAgent.cpp: * inspector/InspectorDatabaseAgent.h: * inspector/InspectorDatabaseResource.cpp: * inspector/InspectorDatabaseResource.h: * inspector/InspectorForwarding.h: * inspector/InspectorFrontendHost.cpp: * inspector/InspectorFrontendHost.h: * inspector/InspectorLayerTreeAgent.h: * inspector/InspectorNodeFinder.cpp: * inspector/InspectorNodeFinder.h: * inspector/InspectorOverlay.cpp: * inspector/InspectorOverlay.h: * inspector/InspectorOverlayPage.html: * inspector/InspectorProfilerAgent.cpp: * inspector/InspectorProfilerAgent.h: * inspector/ScriptProfile.idl: * inspector/ScriptProfileNode.idl: * loader/CookieJar.h: * loader/CrossOriginAccessControl.cpp: * loader/CrossOriginAccessControl.h: * loader/CrossOriginPreflightResultCache.cpp: * loader/CrossOriginPreflightResultCache.h: * loader/DocumentLoader.cpp: * loader/DocumentLoader.h: * loader/DocumentWriter.cpp: * loader/EmptyClients.h: * loader/FormState.cpp: * loader/FormState.h: * loader/FrameLoadRequest.h: * loader/FrameLoader.cpp: * loader/FrameLoader.h: * loader/FrameLoaderClient.h: * loader/FrameLoaderTypes.h: * loader/HistoryController.cpp: * loader/HistoryController.h: * loader/MixedContentChecker.cpp: * loader/NavigationAction.cpp: * loader/NavigationAction.h: * loader/NavigationScheduler.cpp: * loader/NavigationScheduler.h: * loader/NetscapePlugInStreamLoader.cpp: * loader/NetscapePlugInStreamLoader.h: * loader/PolicyCallback.cpp: * loader/PolicyCallback.h: * loader/PolicyChecker.cpp: * loader/PolicyChecker.h: * loader/ProgressTracker.cpp: * loader/ProgressTracker.h: * loader/ResourceBuffer.cpp: * loader/ResourceBuffer.h: * loader/ResourceLoadNotifier.cpp: * loader/ResourceLoadNotifier.h: * loader/ResourceLoader.cpp: * loader/ResourceLoader.h: * loader/SinkDocument.cpp: * loader/SinkDocument.h: * loader/SubframeLoader.cpp: * loader/SubframeLoader.h: * loader/SubresourceLoader.cpp: * loader/SubresourceLoader.h: * loader/SubstituteData.h: * loader/TextTrackLoader.cpp: * loader/appcache/ApplicationCacheAllInOne.cpp: * loader/archive/Archive.cpp: * loader/archive/Archive.h: * loader/archive/ArchiveFactory.cpp: * loader/archive/ArchiveFactory.h: * loader/archive/ArchiveResource.cpp: * loader/archive/ArchiveResource.h: * loader/archive/ArchiveResourceCollection.cpp: * loader/archive/ArchiveResourceCollection.h: * loader/archive/cf/LegacyWebArchive.cpp: * loader/archive/cf/LegacyWebArchive.h: * loader/archive/cf/LegacyWebArchiveMac.mm: * loader/cache/CachePolicy.h: * loader/cache/CachedCSSStyleSheet.cpp: * loader/cache/CachedFont.cpp: * loader/cache/CachedFont.h: * loader/cache/CachedResourceRequest.cpp: * loader/cache/CachedResourceRequest.h: * loader/cache/CachedResourceRequestInitiators.cpp: * loader/cache/CachedResourceRequestInitiators.h: * loader/cf/ResourceLoaderCFNet.cpp: * loader/icon/IconController.cpp: * loader/icon/IconController.h: * loader/icon/IconDatabase.cpp: * loader/icon/IconDatabase.h: * loader/icon/IconDatabaseBase.cpp: * loader/icon/IconDatabaseBase.h: * loader/icon/IconDatabaseClient.h: * loader/icon/IconLoader.cpp: * loader/icon/IconLoader.h: * loader/icon/IconRecord.cpp: * loader/icon/IconRecord.h: * loader/icon/PageURLRecord.cpp: * loader/icon/PageURLRecord.h: * loader/mac/DocumentLoaderMac.cpp: * loader/mac/LoaderNSURLExtras.h: * loader/mac/LoaderNSURLExtras.mm: * loader/mac/ResourceBuffer.mm: * loader/mac/ResourceLoaderMac.mm: * loader/win/DocumentLoaderWin.cpp: * loader/win/FrameLoaderWin.cpp: * mathml/MathMLAllInOne.cpp: * page/AbstractView.idl: * page/AlternativeTextClient.h: * page/AutoscrollController.cpp: * page/AutoscrollController.h: * page/BarProp.cpp: * page/BarProp.h: * page/BarProp.idl: * page/ContentSecurityPolicy.cpp: * page/ContentSecurityPolicy.h: * page/ContextMenuClient.h: * page/ContextMenuContext.cpp: * page/ContextMenuContext.h: * page/ContextMenuController.cpp: * page/ContextMenuController.h: * page/DOMSecurityPolicy.cpp: * page/DOMSecurityPolicy.h: * page/DOMSelection.cpp: * page/DOMSelection.h: * page/DOMSelection.idl: * page/DOMTimer.cpp: * page/DOMTimer.h: * page/DOMWindow.cpp: * page/DOMWindow.h: * page/DOMWindow.idl: * page/DragActions.h: * page/DragClient.h: * page/DragController.cpp: * page/DragController.h: * page/DragSession.h: * page/DragState.h: * page/EditorClient.h: * page/EventHandler.cpp: * page/EventHandler.h: * page/FocusController.cpp: * page/FocusController.h: * page/FocusDirection.h: * page/FrameTree.h: * page/GestureTapHighlighter.cpp: * page/GestureTapHighlighter.h: * page/History.cpp: * page/History.h: * page/History.idl: * page/Location.cpp: * page/Location.h: * page/Location.idl: * page/MouseEventWithHitTestResults.cpp: * page/MouseEventWithHitTestResults.h: * page/Navigator.cpp: * page/NavigatorBase.cpp: * page/NavigatorBase.h: * page/PageConsole.cpp: * page/PageConsole.h: * page/Screen.cpp: * page/Screen.h: * page/Screen.idl: * page/SecurityOrigin.cpp: * page/SecurityOrigin.h: * page/SecurityOriginHash.h: * page/Settings.cpp: * page/Settings.h: * page/SpatialNavigation.cpp: * page/SuspendableTimer.cpp: * page/SuspendableTimer.h: * page/UserContentTypes.h: * page/UserContentURLPattern.cpp: * page/UserContentURLPattern.h: * page/UserScript.h: * page/UserScriptTypes.h: * page/UserStyleSheet.h: * page/UserStyleSheetTypes.h: * page/WebCoreKeyboardUIMode.h: * page/WebKitPoint.h: * page/WebKitPoint.idl: * page/WindowBase64.idl: * page/WindowFeatures.h: * page/WindowFocusAllowedIndicator.cpp: * page/WindowFocusAllowedIndicator.h: * page/WindowTimers.idl: * page/WorkerNavigator.cpp: * page/WorkerNavigator.h: * page/WorkerNavigator.idl: * page/animation/AnimationBase.cpp: * page/animation/AnimationBase.h: * page/animation/AnimationController.cpp: * page/animation/AnimationController.h: * page/animation/AnimationControllerPrivate.h: * page/animation/CSSPropertyAnimation.cpp: * page/animation/CSSPropertyAnimation.h: * page/animation/CompositeAnimation.cpp: * page/animation/CompositeAnimation.h: * page/animation/ImplicitAnimation.cpp: * page/animation/ImplicitAnimation.h: * page/animation/KeyframeAnimation.cpp: * page/animation/KeyframeAnimation.h: * page/efl/DragControllerEfl.cpp: * page/efl/EventHandlerEfl.cpp: * page/gtk/DragControllerGtk.cpp: * page/gtk/EventHandlerGtk.cpp: * page/ios/EventHandlerIOS.mm: * page/mac/DragControllerMac.mm: * page/mac/EventHandlerMac.mm: * page/mac/PageMac.cpp: * page/mac/WebCoreFrameView.h: * page/make_settings.pl: * page/win/DragControllerWin.cpp: * page/win/EventHandlerWin.cpp: * page/win/FrameCGWin.cpp: * page/win/FrameCairoWin.cpp: * page/win/FrameGdiWin.cpp: * page/win/FrameWin.cpp: * page/win/FrameWin.h: * pdf/ios/PDFDocument.h: * platform/Clock.cpp: * platform/Clock.h: * platform/ClockGeneric.cpp: * platform/ClockGeneric.h: * platform/ColorChooser.h: * platform/ColorChooserClient.h: * platform/ContentType.cpp: * platform/ContentType.h: * platform/ContextMenu.h: * platform/ContextMenuItem.h: * platform/Cookie.h: * platform/Cursor.h: * platform/DragData.cpp: * platform/DragData.h: * platform/DragImage.cpp: * platform/DragImage.h: * platform/FileChooser.cpp: * platform/FileChooser.h: * platform/FileSystem.h: * platform/FloatConversion.h: * platform/KillRing.h: * platform/LinkHash.h: * platform/LocalizedStrings.cpp: * platform/LocalizedStrings.h: * platform/Logging.cpp: * platform/Logging.h: * platform/MIMETypeRegistry.cpp: * platform/MIMETypeRegistry.h: * platform/MediaDescription.h: * platform/MediaSample.h: * platform/NotImplemented.h: * platform/PODFreeListArena.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformExportMacros.h: * platform/PlatformKeyboardEvent.h: * platform/PlatformMenuDescription.h: * platform/PlatformMouseEvent.h: * platform/PlatformPasteboard.h: * platform/PlatformScreen.h: * platform/PlatformSpeechSynthesis.h: * platform/PlatformSpeechSynthesisUtterance.cpp: * platform/PlatformSpeechSynthesisUtterance.h: * platform/PlatformSpeechSynthesisVoice.cpp: * platform/PlatformSpeechSynthesisVoice.h: * platform/PlatformSpeechSynthesizer.cpp: * platform/PlatformSpeechSynthesizer.h: * platform/PlatformWheelEvent.h: * platform/PopupMenuClient.h: * platform/RemoteCommandListener.cpp: * platform/RemoteCommandListener.h: * platform/SSLKeyGenerator.h: * platform/SchemeRegistry.cpp: * platform/SchemeRegistry.h: * platform/ScrollTypes.h: * platform/ScrollView.cpp: * platform/ScrollView.h: * platform/Scrollbar.cpp: * platform/Scrollbar.h: * platform/SharedBuffer.cpp: * platform/SharedBuffer.h: * platform/SharedTimer.h: * platform/Sound.h: * platform/ThreadCheck.h: * platform/ThreadGlobalData.cpp: * platform/ThreadGlobalData.h: * platform/ThreadTimers.cpp: * platform/ThreadTimers.h: * platform/Timer.cpp: * platform/Timer.h: * platform/URL.cpp: * platform/URL.h: * platform/Widget.cpp: * platform/Widget.h: * platform/animation/AnimationUtilities.h: * platform/audio/AudioArray.h: * platform/audio/AudioBus.cpp: * platform/audio/AudioBus.h: * platform/audio/AudioChannel.cpp: * platform/audio/AudioChannel.h: * platform/audio/AudioDestination.h: * platform/audio/AudioFIFO.cpp: * platform/audio/AudioFIFO.h: * platform/audio/AudioFileReader.h: * platform/audio/AudioIOCallback.h: * platform/audio/AudioPullFIFO.cpp: * platform/audio/AudioPullFIFO.h: * platform/audio/AudioSourceProvider.h: * platform/audio/Biquad.cpp: * platform/audio/Biquad.h: * platform/audio/Cone.cpp: * platform/audio/Cone.h: * platform/audio/DirectConvolver.cpp: * platform/audio/DirectConvolver.h: * platform/audio/Distance.cpp: * platform/audio/Distance.h: * platform/audio/DownSampler.cpp: * platform/audio/DownSampler.h: * platform/audio/DynamicsCompressor.cpp: * platform/audio/DynamicsCompressor.h: * platform/audio/DynamicsCompressorKernel.cpp: * platform/audio/DynamicsCompressorKernel.h: * platform/audio/FFTConvolver.cpp: * platform/audio/FFTConvolver.h: * platform/audio/FFTFrame.cpp: * platform/audio/FFTFrame.h: * platform/audio/HRTFDatabase.cpp: * platform/audio/HRTFDatabase.h: * platform/audio/HRTFDatabaseLoader.cpp: * platform/audio/HRTFDatabaseLoader.h: * platform/audio/HRTFElevation.cpp: * platform/audio/HRTFElevation.h: * platform/audio/HRTFKernel.cpp: * platform/audio/HRTFKernel.h: * platform/audio/MultiChannelResampler.cpp: * platform/audio/MultiChannelResampler.h: * platform/audio/Panner.cpp: * platform/audio/Panner.h: * platform/audio/Reverb.cpp: * platform/audio/Reverb.h: * platform/audio/ReverbAccumulationBuffer.cpp: * platform/audio/ReverbAccumulationBuffer.h: * platform/audio/ReverbConvolver.cpp: * platform/audio/ReverbConvolver.h: * platform/audio/ReverbConvolverStage.cpp: * platform/audio/ReverbConvolverStage.h: * platform/audio/ReverbInputBuffer.cpp: * platform/audio/ReverbInputBuffer.h: * platform/audio/SincResampler.cpp: * platform/audio/SincResampler.h: * platform/audio/UpSampler.cpp: * platform/audio/UpSampler.h: * platform/audio/ZeroPole.cpp: * platform/audio/ZeroPole.h: * platform/audio/ios/AudioDestinationIOS.cpp: * platform/audio/ios/AudioDestinationIOS.h: * platform/audio/ios/AudioFileReaderIOS.cpp: * platform/audio/ios/AudioFileReaderIOS.h: * platform/audio/mac/AudioDestinationMac.cpp: * platform/audio/mac/AudioDestinationMac.h: * platform/audio/mac/AudioFileReaderMac.cpp: * platform/audio/mac/AudioFileReaderMac.h: * platform/audio/mac/FFTFrameMac.cpp: * platform/cf/FileSystemCF.cpp: * platform/cf/SharedBufferCF.cpp: * platform/cf/URLCF.cpp: * platform/cocoa/KeyEventCocoa.h: * platform/cocoa/KeyEventCocoa.mm: * platform/efl/CursorEfl.cpp: * platform/efl/EflKeyboardUtilities.cpp: * platform/efl/EflKeyboardUtilities.h: * platform/efl/FileSystemEfl.cpp: * platform/efl/LanguageEfl.cpp: * platform/efl/LocalizedStringsEfl.cpp: * platform/efl/MIMETypeRegistryEfl.cpp: * platform/efl/PlatformKeyboardEventEfl.cpp: * platform/efl/PlatformMouseEventEfl.cpp: * platform/efl/PlatformScreenEfl.cpp: * platform/efl/PlatformWheelEventEfl.cpp: * platform/efl/RenderThemeEfl.h: * platform/efl/ScrollbarEfl.h: * platform/efl/SharedTimerEfl.cpp: * platform/efl/SoundEfl.cpp: * platform/efl/TemporaryLinkStubs.cpp: * platform/efl/WidgetEfl.cpp: * platform/graphics/ANGLEWebKitBridge.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/AudioTrackPrivate.h: * platform/graphics/BitmapImage.cpp: * platform/graphics/BitmapImage.h: * platform/graphics/Color.cpp: * platform/graphics/Color.h: * platform/graphics/CrossfadeGeneratedImage.cpp: * platform/graphics/CrossfadeGeneratedImage.h: * platform/graphics/DashArray.h: * platform/graphics/DisplayRefreshMonitor.cpp: * platform/graphics/DisplayRefreshMonitor.h: * platform/graphics/FloatPoint.cpp: * platform/graphics/FloatPoint.h: * platform/graphics/FloatQuad.cpp: * platform/graphics/FloatQuad.h: * platform/graphics/FloatRect.cpp: * platform/graphics/FloatRect.h: * platform/graphics/FloatSize.cpp: * platform/graphics/FloatSize.h: * platform/graphics/FontBaseline.h: * platform/graphics/FontCache.cpp: * platform/graphics/FontCache.h: * platform/graphics/FontData.cpp: * platform/graphics/FontData.h: * platform/graphics/FontDescription.cpp: * platform/graphics/FontFeatureSettings.cpp: * platform/graphics/FontFeatureSettings.h: * platform/graphics/FontGlyphs.cpp: * platform/graphics/FontOrientation.h: * platform/graphics/FontRenderingMode.h: * platform/graphics/FontSelector.h: * platform/graphics/FontWidthVariant.h: * platform/graphics/FormatConverter.cpp: * platform/graphics/FormatConverter.h: * platform/graphics/GeneratedImage.h: * platform/graphics/Glyph.h: * platform/graphics/GlyphBuffer.h: * platform/graphics/GlyphMetricsMap.h: * platform/graphics/GlyphPage.h: * platform/graphics/GlyphPageTreeNode.cpp: * platform/graphics/GlyphPageTreeNode.h: * platform/graphics/Gradient.cpp: * platform/graphics/Gradient.h: * platform/graphics/GradientImage.h: * platform/graphics/GraphicsContext.h: * platform/graphics/GraphicsContext3D.cpp: * platform/graphics/GraphicsContext3D.h: * platform/graphics/GraphicsLayer.cpp: * platform/graphics/GraphicsLayer.h: * platform/graphics/GraphicsLayerClient.h: * platform/graphics/GraphicsTypes.cpp: * platform/graphics/GraphicsTypes.h: * platform/graphics/GraphicsTypes3D.h: * platform/graphics/Image.cpp: * platform/graphics/Image.h: * platform/graphics/ImageBuffer.cpp: * platform/graphics/ImageBuffer.h: * platform/graphics/ImageBufferData.h: * platform/graphics/ImageObserver.h: * platform/graphics/ImageSource.cpp: * platform/graphics/ImageSource.h: * platform/graphics/InbandTextTrackPrivate.h: * platform/graphics/InbandTextTrackPrivateClient.h: * platform/graphics/IntPoint.cpp: * platform/graphics/IntPoint.h: * platform/graphics/IntSize.cpp: * platform/graphics/IntSize.h: * platform/graphics/MediaPlayer.cpp: * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: * platform/graphics/MediaSourcePrivateClient.h: * platform/graphics/NativeImagePtr.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/Path.cpp: * platform/graphics/Path.h: * platform/graphics/PathTraversalState.h: * platform/graphics/Pattern.cpp: * platform/graphics/Pattern.h: * platform/graphics/PlatformLayer.h: * platform/graphics/PlatformTimeRanges.cpp: * platform/graphics/PlatformTimeRanges.h: * platform/graphics/SegmentedFontData.cpp: * platform/graphics/SegmentedFontData.h: * platform/graphics/ShadowBlur.cpp: * platform/graphics/ShadowBlur.h: * platform/graphics/SimpleFontData.cpp: * platform/graphics/SourceBufferPrivateClient.h: * platform/graphics/StringTruncator.cpp: * platform/graphics/StringTruncator.h: * platform/graphics/TrackPrivateBase.h: * platform/graphics/VideoTrackPrivate.h: * platform/graphics/WindRule.h: * platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.h: * platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: * platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h: * platform/graphics/avfoundation/cf/CoreMediaSoftLinking.h: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h: * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h: * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.cpp: * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h: * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm: * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h: * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm: * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h: * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.mm: * platform/graphics/ca/GraphicsLayerCA.cpp: * platform/graphics/ca/GraphicsLayerCA.h: * platform/graphics/ca/LayerFlushScheduler.cpp: * platform/graphics/ca/LayerFlushScheduler.h: * platform/graphics/ca/LayerFlushSchedulerClient.h: * platform/graphics/ca/PlatformCAAnimation.h: * platform/graphics/ca/PlatformCAFilters.h: * platform/graphics/ca/PlatformCALayer.cpp: * platform/graphics/ca/PlatformCALayer.h: * platform/graphics/ca/PlatformCALayerClient.h: * platform/graphics/ca/TransformationMatrixCA.cpp: * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp: * platform/graphics/ca/mac/LayerPool.mm: * platform/graphics/ca/mac/PlatformCAAnimationMac.mm: * platform/graphics/ca/mac/PlatformCAFiltersMac.h: * platform/graphics/ca/mac/PlatformCAFiltersMac.mm: * platform/graphics/ca/mac/PlatformCALayerMac.h: * platform/graphics/ca/mac/PlatformCALayerMac.mm: * platform/graphics/ca/mac/WebTiledBackingLayer.h: * platform/graphics/ca/mac/WebTiledBackingLayer.mm: * platform/graphics/ca/win/AbstractCACFLayerTreeHost.h: * platform/graphics/ca/win/CACFLayerTreeHost.cpp: * platform/graphics/ca/win/CACFLayerTreeHost.h: * platform/graphics/ca/win/CACFLayerTreeHostClient.h: * platform/graphics/ca/win/LayerChangesFlusher.cpp: * platform/graphics/ca/win/LayerChangesFlusher.h: * platform/graphics/ca/win/LegacyCACFLayerTreeHost.cpp: * platform/graphics/ca/win/LegacyCACFLayerTreeHost.h: * platform/graphics/ca/win/PlatformCAAnimationWin.cpp: * platform/graphics/ca/win/PlatformCAFiltersWin.cpp: * platform/graphics/ca/win/PlatformCALayerWin.cpp: * platform/graphics/ca/win/PlatformCALayerWin.h: * platform/graphics/ca/win/PlatformCALayerWinInternal.cpp: * platform/graphics/ca/win/PlatformCALayerWinInternal.h: * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp: * platform/graphics/ca/win/WKCACFViewLayerTreeHost.h: * platform/graphics/cairo/BitmapImageCairo.cpp: * platform/graphics/cairo/CairoUtilities.cpp: * platform/graphics/cairo/CairoUtilities.h: * platform/graphics/cairo/DrawingBufferCairo.cpp: * platform/graphics/cairo/FloatRectCairo.cpp: * platform/graphics/cairo/FontCairo.cpp: * platform/graphics/cairo/FontCairoHarfbuzzNG.cpp: * platform/graphics/cairo/GradientCairo.cpp: * platform/graphics/cairo/GraphicsContext3DCairo.cpp: * platform/graphics/cairo/GraphicsContextCairo.cpp: * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: * platform/graphics/cairo/ImageBufferCairo.cpp: * platform/graphics/cairo/ImageBufferDataCairo.h: * platform/graphics/cairo/ImageCairo.cpp: * platform/graphics/cairo/PatternCairo.cpp: * platform/graphics/cairo/PlatformContextCairo.cpp: * platform/graphics/cairo/PlatformContextCairo.h: * platform/graphics/cairo/TransformationMatrixCairo.cpp: * platform/graphics/cg/BitmapImageCG.cpp: * platform/graphics/cg/ColorCG.cpp: * platform/graphics/cg/FloatPointCG.cpp: * platform/graphics/cg/FloatRectCG.cpp: * platform/graphics/cg/FloatSizeCG.cpp: * platform/graphics/cg/GradientCG.cpp: * platform/graphics/cg/GraphicsContext3DCG.cpp: * platform/graphics/cg/GraphicsContextCG.cpp: * platform/graphics/cg/GraphicsContextCG.h: * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h: * platform/graphics/cg/ImageBufferCG.cpp: * platform/graphics/cg/ImageBufferDataCG.cpp: * platform/graphics/cg/ImageBufferDataCG.h: * platform/graphics/cg/ImageCG.cpp: * platform/graphics/cg/ImageSourceCG.cpp: * platform/graphics/cg/IntPointCG.cpp: * platform/graphics/cg/IntRectCG.cpp: * platform/graphics/cg/IntSizeCG.cpp: * platform/graphics/cg/PDFDocumentImage.cpp: * platform/graphics/cg/PDFDocumentImage.h: * platform/graphics/cg/PathCG.cpp: * platform/graphics/cg/PatternCG.cpp: * platform/graphics/cg/TransformationMatrixCG.cpp: * platform/graphics/efl/IconEfl.cpp: * platform/graphics/efl/ImageEfl.cpp: * platform/graphics/filters/FilterOperation.cpp: * platform/graphics/filters/FilterOperation.h: * platform/graphics/filters/FilterOperations.cpp: * platform/graphics/filters/FilterOperations.h: * platform/graphics/freetype/FontPlatformDataFreeType.cpp: * platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp: * platform/graphics/freetype/SimpleFontDataFreeType.cpp: * platform/graphics/gpu/mac/DrawingBufferMac.mm: * platform/graphics/gtk/GdkCairoUtilities.cpp: * platform/graphics/gtk/GdkCairoUtilities.h: * platform/graphics/gtk/IconGtk.cpp: * platform/graphics/gtk/ImageGtk.cpp: * platform/graphics/ios/DisplayRefreshMonitorIOS.mm: * platform/graphics/ios/FontCacheIOS.mm: * platform/graphics/ios/GraphicsContext3DIOS.h: * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h: * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.mm: * platform/graphics/ios/MediaPlayerPrivateIOS.h: * platform/graphics/ios/MediaPlayerPrivateIOS.mm: * platform/graphics/mac/ColorMac.h: * platform/graphics/mac/ColorMac.mm: * platform/graphics/mac/DisplayRefreshMonitorMac.cpp: * platform/graphics/mac/FloatPointMac.mm: * platform/graphics/mac/FloatRectMac.mm: * platform/graphics/mac/FloatSizeMac.mm: * platform/graphics/mac/FontCacheMac.mm: * platform/graphics/mac/FontCustomPlatformData.h: * platform/graphics/mac/GlyphPageTreeNodeMac.cpp: * platform/graphics/mac/GraphicsContext3DMac.mm: * platform/graphics/mac/GraphicsContextMac.mm: * platform/graphics/mac/ImageMac.mm: * platform/graphics/mac/IntPointMac.mm: * platform/graphics/mac/IntRectMac.mm: * platform/graphics/mac/IntSizeMac.mm: * platform/graphics/mac/MediaPlayerPrivateQTKit.h: * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: * platform/graphics/mac/MediaPlayerProxy.h: * platform/graphics/mac/WebCoreCALayerExtras.h: * platform/graphics/mac/WebCoreCALayerExtras.mm: * platform/graphics/mac/WebGLLayer.h: * platform/graphics/mac/WebGLLayer.mm: * platform/graphics/mac/WebLayer.h: * platform/graphics/mac/WebLayer.mm: * platform/graphics/mac/WebTiledLayer.h: * platform/graphics/mac/WebTiledLayer.mm: * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp: * platform/graphics/opentype/OpenTypeUtilities.cpp: * platform/graphics/opentype/OpenTypeUtilities.h: * platform/graphics/transforms/AffineTransform.cpp: * platform/graphics/transforms/AffineTransform.h: * platform/graphics/transforms/Matrix3DTransformOperation.cpp: * platform/graphics/transforms/Matrix3DTransformOperation.h: * platform/graphics/transforms/PerspectiveTransformOperation.cpp: * platform/graphics/transforms/PerspectiveTransformOperation.h: * platform/graphics/transforms/TransformState.cpp: * platform/graphics/transforms/TransformState.h: * platform/graphics/transforms/TransformationMatrix.cpp: * platform/graphics/transforms/TransformationMatrix.h: * platform/graphics/win/FontCGWin.cpp: * platform/graphics/win/FontCacheWin.cpp: * platform/graphics/win/FontCustomPlatformDataCairo.cpp: * platform/graphics/win/FontWin.cpp: * platform/graphics/win/FullScreenController.cpp: * platform/graphics/win/FullScreenController.h: * platform/graphics/win/FullScreenControllerClient.h: * platform/graphics/win/GlyphPageTreeNodeCGWin.cpp: * platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp: * platform/graphics/win/GraphicsContextCGWin.cpp: * platform/graphics/win/GraphicsContextCairoWin.cpp: * platform/graphics/win/GraphicsContextWin.cpp: * platform/graphics/win/ImageCGWin.cpp: * platform/graphics/win/ImageCairoWin.cpp: * platform/graphics/win/ImageWin.cpp: * platform/graphics/win/IntPointWin.cpp: * platform/graphics/win/IntRectWin.cpp: * platform/graphics/win/IntSizeWin.cpp: * platform/graphics/win/LocalWindowsContext.h: * platform/graphics/win/MediaPlayerPrivateTaskTimer.cpp: * platform/graphics/win/MediaPlayerPrivateTaskTimer.h: * platform/graphics/win/SimpleFontDataCGWin.cpp: * platform/graphics/win/SimpleFontDataCairoWin.cpp: * platform/graphics/win/SimpleFontDataWin.cpp: * platform/graphics/win/TransformationMatrixWin.cpp: * platform/graphics/wince/FontCacheWinCE.cpp: * platform/graphics/wince/FontWinCE.cpp: * platform/graphics/wince/MediaPlayerPrivateWinCE.h: * platform/graphics/wince/SimpleFontDataWinCE.cpp: * platform/gtk/CompositionResults.h: * platform/gtk/CursorGtk.cpp: * platform/gtk/GtkPluginWidget.cpp: * platform/gtk/GtkPluginWidget.h: * platform/gtk/LocalizedStringsGtk.cpp: * platform/gtk/MIMETypeRegistryGtk.cpp: * platform/gtk/PlatformKeyboardEventGtk.cpp: * platform/gtk/PlatformMouseEventGtk.cpp: * platform/gtk/PlatformScreenGtk.cpp: * platform/gtk/PlatformWheelEventGtk.cpp: * platform/gtk/RedirectedXCompositeWindow.cpp: * platform/gtk/RedirectedXCompositeWindow.h: * platform/gtk/RenderThemeGtk.h: * platform/gtk/ScrollViewGtk.cpp: * platform/gtk/SharedTimerGtk.cpp: * platform/gtk/TemporaryLinkStubs.cpp: * platform/gtk/UserAgentGtk.cpp: * platform/gtk/UserAgentGtk.h: * platform/gtk/WidgetGtk.cpp: * platform/gtk/WidgetRenderingContext.cpp: * platform/image-decoders/ImageDecoder.h: * platform/image-decoders/cairo/ImageDecoderCairo.cpp: * platform/image-decoders/gif/GIFImageDecoder.cpp: * platform/image-decoders/gif/GIFImageDecoder.h: * platform/image-decoders/gif/GIFImageReader.cpp: * platform/image-decoders/jpeg/JPEGImageDecoder.cpp: * platform/image-decoders/jpeg/JPEGImageDecoder.h: * platform/image-decoders/png/PNGImageDecoder.cpp: * platform/image-decoders/png/PNGImageDecoder.h: * platform/image-decoders/webp/WEBPImageDecoder.cpp: * platform/image-decoders/webp/WEBPImageDecoder.h: * platform/ios/CursorIOS.cpp: * platform/ios/DragImageIOS.mm: * platform/ios/KeyEventCodesIOS.h: * platform/ios/KeyEventIOS.mm: * platform/ios/PlatformPasteboardIOS.mm: * platform/ios/PlatformScreenIOS.mm: * platform/ios/PlatformSpeechSynthesizerIOS.mm: * platform/ios/RemoteCommandListenerIOS.h: * platform/ios/RemoteCommandListenerIOS.mm: * platform/ios/ScrollViewIOS.mm: * platform/ios/SoundIOS.mm: * platform/ios/SystemMemory.h: * platform/ios/SystemMemoryIOS.cpp: * platform/ios/WebCoreSystemInterfaceIOS.h: * platform/ios/WebCoreSystemInterfaceIOS.mm: * platform/ios/WidgetIOS.mm: * platform/mac/BlockExceptions.h: * platform/mac/BlockExceptions.mm: * platform/mac/ContextMenuItemMac.mm: * platform/mac/ContextMenuMac.mm: * platform/mac/CursorMac.mm: * platform/mac/DragDataMac.mm: * platform/mac/DragImageMac.mm: * platform/mac/FileSystemMac.mm: * platform/mac/KeyEventMac.mm: * platform/mac/LocalCurrentGraphicsContext.h: * platform/mac/LocalCurrentGraphicsContext.mm: * platform/mac/LoggingMac.mm: * platform/mac/MIMETypeRegistryMac.mm: * platform/mac/MediaTimeMac.cpp: * platform/mac/MediaTimeMac.h: * platform/mac/PasteboardMac.mm: * platform/mac/PlatformClockCA.cpp: * platform/mac/PlatformClockCA.h: * platform/mac/PlatformClockCM.h: * platform/mac/PlatformClockCM.mm: * platform/mac/PlatformPasteboardMac.mm: * platform/mac/PlatformScreenMac.mm: * platform/mac/PlatformSpeechSynthesisMac.mm: * platform/mac/PlatformSpeechSynthesizerMac.mm: * platform/mac/ScrollViewMac.mm: * platform/mac/SharedBufferMac.mm: * platform/mac/SharedTimerMac.mm: * platform/mac/SoftLinking.h: * platform/mac/SoundMac.mm: * platform/mac/ThreadCheck.mm: * platform/mac/URLMac.mm: * platform/mac/WebCoreNSStringExtras.h: * platform/mac/WebCoreNSStringExtras.mm: * platform/mac/WebCoreNSURLExtras.h: * platform/mac/WebCoreNSURLExtras.mm: * platform/mac/WebCoreObjCExtras.h: * platform/mac/WebCoreObjCExtras.mm: * platform/mac/WebCoreSystemInterface.h: * platform/mac/WebCoreSystemInterface.mm: * platform/mac/WebCoreView.h: * platform/mac/WebCoreView.m: * platform/mac/WebFontCache.h: * platform/mac/WebFontCache.mm: * platform/mac/WebWindowAnimation.h: * platform/mac/WebWindowAnimation.mm: * platform/mac/WidgetMac.mm: * platform/mediastream/MediaStreamConstraintsValidationClient.h: * platform/mediastream/MediaStreamCreationClient.h: * platform/mediastream/MediaStreamSourceCapabilities.h: * platform/mediastream/MediaStreamSourceStates.h: * platform/mediastream/MediaStreamTrackSourcesRequestClient.h: * platform/mediastream/RTCIceServer.h: * platform/mediastream/mac/AVAudioCaptureSource.h: * platform/mediastream/mac/AVAudioCaptureSource.mm: * platform/mediastream/mac/AVCaptureDeviceManager.h: * platform/mediastream/mac/AVCaptureDeviceManager.mm: * platform/mediastream/mac/AVMediaCaptureSource.h: * platform/mediastream/mac/AVMediaCaptureSource.mm: * platform/mediastream/mac/AVVideoCaptureSource.h: * platform/mediastream/mac/AVVideoCaptureSource.mm: * platform/mock/MockMediaStreamCenter.cpp: * platform/mock/MockMediaStreamCenter.h: * platform/mock/PlatformSpeechSynthesizerMock.cpp: * platform/mock/PlatformSpeechSynthesizerMock.h: * platform/mock/mediasource/MockBox.cpp: * platform/mock/mediasource/MockBox.h: * platform/mock/mediasource/MockMediaPlayerMediaSource.cpp: * platform/mock/mediasource/MockMediaPlayerMediaSource.h: * platform/mock/mediasource/MockMediaSourcePrivate.cpp: * platform/mock/mediasource/MockMediaSourcePrivate.h: * platform/mock/mediasource/MockSourceBufferPrivate.cpp: * platform/mock/mediasource/MockSourceBufferPrivate.h: * platform/mock/mediasource/MockTracks.cpp: * platform/mock/mediasource/MockTracks.h: * platform/network/AuthenticationChallengeBase.cpp: * platform/network/AuthenticationChallengeBase.h: * platform/network/Credential.cpp: * platform/network/Credential.h: * platform/network/DNS.h: * platform/network/DNSResolveQueue.cpp: * platform/network/DNSResolveQueue.h: * platform/network/DataURL.cpp: * platform/network/DataURL.h: * platform/network/HTTPHeaderMap.h: * platform/network/HTTPParsers.cpp: * platform/network/HTTPParsers.h: * platform/network/PlatformCookieJar.h: * platform/network/ProtectionSpace.cpp: * platform/network/ProtectionSpace.h: * platform/network/ResourceErrorBase.cpp: * platform/network/ResourceErrorBase.h: * platform/network/ResourceHandle.cpp: * platform/network/ResourceHandle.h: * platform/network/ResourceHandleClient.h: * platform/network/ResourceHandleInternal.h: * platform/network/ResourceRequestBase.cpp: * platform/network/ResourceRequestBase.h: * platform/network/ResourceResponseBase.cpp: * platform/network/ResourceResponseBase.h: * platform/network/cf/AuthenticationCF.cpp: * platform/network/cf/AuthenticationCF.h: * platform/network/cf/AuthenticationChallenge.h: * platform/network/cf/CookieJarCFNet.cpp: * platform/network/cf/CookieStorageCFNet.cpp: * platform/network/cf/DNSCFNet.cpp: * platform/network/cf/DownloadBundle.h: * platform/network/cf/FormDataStreamCFNet.cpp: * platform/network/cf/FormDataStreamCFNet.h: * platform/network/cf/ResourceError.h: * platform/network/cf/ResourceErrorCF.cpp: * platform/network/cf/ResourceHandleCFNet.cpp: * platform/network/cf/ResourceHandleCFURLConnectionDelegate.cpp: * platform/network/cf/ResourceHandleCFURLConnectionDelegate.h: * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp: * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h: * platform/network/cf/ResourceRequest.h: * platform/network/cf/ResourceRequestCFNet.cpp: * platform/network/cf/ResourceRequestCFNet.h: * platform/network/cf/ResourceResponse.h: * platform/network/cf/ResourceResponseCFNet.cpp: * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp: * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h: * platform/network/curl/AuthenticationChallenge.h: * platform/network/curl/CurlDownload.cpp: * platform/network/curl/CurlDownload.h: * platform/network/curl/DNSCurl.cpp: * platform/network/curl/DownloadBundle.h: * platform/network/curl/FormDataStreamCurl.cpp: * platform/network/curl/FormDataStreamCurl.h: * platform/network/curl/ResourceError.h: * platform/network/curl/ResourceHandleCurl.cpp: * platform/network/curl/ResourceHandleManager.cpp: * platform/network/curl/ResourceHandleManager.h: * platform/network/curl/ResourceRequest.h: * platform/network/curl/ResourceResponse.h: * platform/network/curl/SSLHandle.cpp: * platform/network/curl/SSLHandle.h: * platform/network/gtk/CredentialBackingStore.cpp: * platform/network/gtk/CredentialBackingStore.h: * platform/network/ios/WebCoreURLResponseIOS.h: * platform/network/ios/WebCoreURLResponseIOS.mm: * platform/network/mac/AuthenticationMac.h: * platform/network/mac/AuthenticationMac.mm: * platform/network/mac/CookieJarMac.mm: * platform/network/mac/CookieStorageMac.mm: * platform/network/mac/FormDataStreamMac.h: * platform/network/mac/FormDataStreamMac.mm: * platform/network/mac/ResourceErrorMac.mm: * platform/network/mac/ResourceHandleMac.mm: * platform/network/mac/ResourceRequestMac.mm: * platform/network/mac/ResourceResponseMac.mm: * platform/network/mac/WebCoreURLResponse.h: * platform/network/mac/WebCoreURLResponse.mm: * platform/network/soup/AuthenticationChallenge.h: * platform/network/soup/AuthenticationChallengeSoup.cpp: * platform/network/soup/CookieJarSoup.h: * platform/network/soup/DNSSoup.cpp: * platform/network/soup/ResourceError.h: * platform/network/soup/ResourceErrorSoup.cpp: * platform/network/soup/ResourceRequest.h: * platform/network/soup/ResourceResponse.h: * platform/network/soup/SoupNetworkSession.cpp: * platform/network/soup/SoupNetworkSession.h: * platform/network/win/CookieJarWin.cpp: * platform/network/win/DownloadBundleWin.cpp: * platform/network/win/ResourceError.h: * platform/network/win/ResourceHandleWin.cpp: * platform/network/win/ResourceRequest.h: * platform/network/win/ResourceResponse.h: * platform/posix/FileSystemPOSIX.cpp: * platform/posix/SharedBufferPOSIX.cpp: * platform/soup/URLSoup.cpp: * platform/sql/SQLValue.cpp: * platform/sql/SQLValue.h: * platform/sql/SQLiteAuthorizer.cpp: * platform/sql/SQLiteDatabase.cpp: * platform/sql/SQLiteDatabase.h: * platform/sql/SQLiteStatement.cpp: * platform/sql/SQLiteStatement.h: * platform/sql/SQLiteTransaction.cpp: * platform/sql/SQLiteTransaction.h: * platform/text/SuffixTree.h: * platform/text/TextAllInOne.cpp: * platform/text/TextBoundaries.cpp: * platform/text/TextBoundaries.h: * platform/text/TextCodec.cpp: * platform/text/TextCodec.h: * platform/text/TextCodecASCIIFastPath.h: * platform/text/TextCodecICU.cpp: * platform/text/TextCodecICU.h: * platform/text/TextCodecLatin1.cpp: * platform/text/TextCodecLatin1.h: * platform/text/TextCodecUTF16.cpp: * platform/text/TextCodecUTF16.h: * platform/text/TextCodecUTF8.cpp: * platform/text/TextCodecUTF8.h: * platform/text/TextCodecUserDefined.cpp: * platform/text/TextCodecUserDefined.h: * platform/text/TextDirection.h: * platform/text/TextEncoding.cpp: * platform/text/TextEncoding.h: * platform/text/TextEncodingRegistry.cpp: * platform/text/TextEncodingRegistry.h: * platform/text/TextStream.cpp: * platform/text/TextStream.h: * platform/text/UnicodeBidi.h: * platform/text/mac/CharsetData.h: * platform/text/mac/TextBoundaries.mm: * platform/text/mac/TextCodecMac.cpp: * platform/text/mac/TextCodecMac.h: * platform/text/mac/character-sets.txt: * platform/text/mac/make-charset-table.pl: * platform/text/win/TextCodecWin.h: * platform/win/BString.cpp: * platform/win/BString.h: * platform/win/COMPtr.h: * platform/win/ClipboardUtilitiesWin.cpp: * platform/win/ClipboardUtilitiesWin.h: * platform/win/ContextMenuItemWin.cpp: * platform/win/ContextMenuWin.cpp: * platform/win/CursorWin.cpp: * platform/win/DragDataWin.cpp: * platform/win/DragImageCGWin.cpp: * platform/win/DragImageCairoWin.cpp: * platform/win/DragImageWin.cpp: * platform/win/FileSystemWin.cpp: * platform/win/GDIObjectCounter.cpp: * platform/win/GDIObjectCounter.h: * platform/win/HWndDC.h: * platform/win/KeyEventWin.cpp: * platform/win/LanguageWin.cpp: * platform/win/MIMETypeRegistryWin.cpp: * platform/win/PasteboardWin.cpp: * platform/win/PlatformMouseEventWin.cpp: * platform/win/PlatformScreenWin.cpp: * platform/win/SharedBufferWin.cpp: * platform/win/SharedTimerWin.cpp: * platform/win/SoftLinking.h: * platform/win/SoundWin.cpp: * platform/win/StructuredExceptionHandlerSuppressor.cpp: * platform/win/TemporaryLinkStubs.cpp: * platform/win/WCDataObject.cpp: * platform/win/WCDataObject.h: * platform/win/WebCoreTextRenderer.cpp: * platform/win/WebCoreTextRenderer.h: * platform/win/WheelEventWin.cpp: * platform/win/WidgetWin.cpp: * platform/win/WindowMessageBroadcaster.cpp: * platform/win/WindowMessageBroadcaster.h: * platform/win/WindowMessageListener.h: * platform/win/WindowsTouch.h: * platform/win/makesafeseh.asm: * plugins/PluginDatabase.cpp: * plugins/PluginDatabase.h: * plugins/PluginDebug.cpp: * plugins/PluginDebug.h: * plugins/PluginPackage.cpp: * plugins/PluginPackage.h: * plugins/PluginQuirkSet.h: * plugins/PluginStream.cpp: * plugins/PluginStream.h: * plugins/PluginView.cpp: * plugins/PluginView.h: * plugins/efl/PluginPackageEfl.cpp: * plugins/efl/PluginViewEfl.cpp: * plugins/gtk/PluginPackageGtk.cpp: * plugins/gtk/PluginViewGtk.cpp: * plugins/mac/PluginPackageMac.cpp: * plugins/mac/PluginViewMac.mm: * plugins/npapi.cpp: * plugins/npfunctions.h: * plugins/npruntime.h: * plugins/win/PluginDatabaseWin.cpp: * plugins/win/PluginPackageWin.cpp: * plugins/win/PluginViewWin.cpp: * plugins/x11/PluginViewX11.cpp: * rendering/EllipsisBox.cpp: * rendering/EllipsisBox.h: * rendering/FilterEffectRenderer.cpp: * rendering/FilterEffectRenderer.h: * rendering/HitTestLocation.h: * rendering/HitTestRequest.h: * rendering/HitTestResult.h: * rendering/HitTestingTransformState.cpp: * rendering/HitTestingTransformState.h: * rendering/RenderBoxRegionInfo.h: * rendering/RenderButton.cpp: * rendering/RenderButton.h: * rendering/RenderDeprecatedFlexibleBox.cpp: * rendering/RenderDeprecatedFlexibleBox.h: * rendering/RenderFieldset.cpp: * rendering/RenderFrameBase.cpp: * rendering/RenderFrameBase.h: * rendering/RenderFrameSet.cpp: * rendering/RenderGeometryMap.cpp: * rendering/RenderGeometryMap.h: * rendering/RenderGrid.cpp: * rendering/RenderGrid.h: * rendering/RenderHTMLCanvas.cpp: * rendering/RenderHTMLCanvas.h: * rendering/RenderIFrame.cpp: * rendering/RenderIFrame.h: * rendering/RenderLayerBacking.cpp: * rendering/RenderLayerBacking.h: * rendering/RenderLayerCompositor.cpp: * rendering/RenderLayerCompositor.h: * rendering/RenderLineBoxList.cpp: * rendering/RenderLineBoxList.h: * rendering/RenderListBox.cpp: * rendering/RenderListBox.h: * rendering/RenderMarquee.h: * rendering/RenderMedia.cpp: * rendering/RenderMedia.h: * rendering/RenderMultiColumnFlowThread.cpp: * rendering/RenderMultiColumnFlowThread.h: * rendering/RenderMultiColumnSet.cpp: * rendering/RenderMultiColumnSet.h: * rendering/RenderNamedFlowThread.cpp: * rendering/RenderNamedFlowThread.h: * rendering/RenderRegionSet.cpp: * rendering/RenderRegionSet.h: * rendering/RenderReplica.cpp: * rendering/RenderReplica.h: * rendering/RenderTheme.cpp: * rendering/RenderTheme.h: * rendering/RenderThemeMac.h: * rendering/RenderThemeWin.h: * rendering/RenderThemeWinCE.cpp: * rendering/RenderThemeWinCE.h: * rendering/RenderTreeAsText.cpp: * rendering/RenderTreeAsText.h: * rendering/RenderVTTCue.cpp: * rendering/RenderVTTCue.h: * rendering/RenderVideo.cpp: * rendering/RenderVideo.h: * rendering/RenderView.h: * rendering/style/SVGRenderStyle.cpp: * rendering/style/SVGRenderStyle.h: * rendering/style/SVGRenderStyleDefs.cpp: * rendering/style/SVGRenderStyleDefs.h: * rendering/style/StyleFilterData.cpp: * rendering/style/StyleFilterData.h: * rendering/style/StylePendingImage.h: * rendering/svg/RenderSVGBlock.cpp: * rendering/svg/RenderSVGBlock.h: * rendering/svg/RenderSVGForeignObject.cpp: * rendering/svg/RenderSVGForeignObject.h: * rendering/svg/RenderSVGImage.cpp: * rendering/svg/RenderSVGInline.h: * rendering/svg/RenderSVGInlineText.cpp: * rendering/svg/RenderSVGPath.h: * rendering/svg/RenderSVGShape.h: * rendering/svg/RenderSVGTSpan.h: * rendering/svg/RenderSVGText.cpp: * rendering/svg/RenderSVGText.h: * rendering/svg/SVGInlineFlowBox.cpp: * rendering/svg/SVGInlineFlowBox.h: * rendering/svg/SVGRenderTreeAsText.cpp: * rendering/svg/SVGRenderTreeAsText.h: * rendering/svg/SVGRootInlineBox.cpp: * rendering/svg/SVGRootInlineBox.h: * storage/StorageEventDispatcher.h: * svg/SVGException.cpp: * svg/graphics/SVGImageChromeClient.h: * workers/Worker.cpp: * workers/Worker.h: * workers/Worker.idl: * workers/WorkerEventQueue.cpp: * workers/WorkerEventQueue.h: * workers/WorkerGlobalScope.cpp: * workers/WorkerGlobalScope.h: * workers/WorkerGlobalScope.idl: * workers/WorkerLocation.cpp: * workers/WorkerLocation.h: * workers/WorkerLocation.idl: * workers/WorkerMessagingProxy.cpp: * workers/WorkerMessagingProxy.h: * workers/WorkerScriptLoader.cpp: * workers/WorkerScriptLoader.h: * workers/WorkerScriptLoaderClient.h: * workers/WorkerThread.cpp: * workers/WorkerThread.h: * xml/DOMParser.h: * xml/DOMParser.idl: * xml/NativeXPathNSResolver.cpp: * xml/NativeXPathNSResolver.h: * xml/XMLHttpRequest.idl: * xml/XMLHttpRequestException.cpp: * xml/XMLHttpRequestException.h: * xml/XMLHttpRequestException.idl: * xml/XMLHttpRequestProgressEvent.h: * xml/XMLHttpRequestProgressEvent.idl: * xml/XMLHttpRequestUpload.idl: * xml/XMLSerializer.h: * xml/XMLSerializer.idl: * xml/XPathEvaluator.cpp: * xml/XPathEvaluator.h: * xml/XPathEvaluator.idl: * xml/XPathException.cpp: * xml/XPathException.h: * xml/XPathException.idl: * xml/XPathExpression.idl: * xml/XPathExpressionNode.cpp: * xml/XPathNSResolver.cpp: * xml/XPathNSResolver.h: * xml/XPathNSResolver.idl: * xml/XPathNodeSet.h: * xml/XPathResult.idl: * xml/XPathUtil.h: * xml/XPathVariableReference.cpp: * xml/XSLTProcessor.idl: * xml/XSLTUnicodeSort.cpp: * xml/XSLTUnicodeSort.h: Source/WebInspectorUI: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * APPLE_IMAGES_LICENSE.rtf: * UserInterface/Base/DOMUtilities.js: * UserInterface/Models/Color.js: * UserInterface/Views/ConsoleCommand.js: * UserInterface/Views/ConsoleCommandResult.js: * UserInterface/Views/ConsoleGroup.js: * UserInterface/Views/ConsoleMessage.js: * UserInterface/Views/ConsoleMessageImpl.js: * UserInterface/Views/DOMTreeElement.js: * UserInterface/Views/DOMTreeOutline.js: * UserInterface/Views/DOMTreeUpdater.js: * UserInterface/Views/GradientSlider.css: * UserInterface/Views/GradientSlider.js: * UserInterface/Views/TreeOutline.js: Source/WebKit: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * scripts/generate-webkitversion.pl: (printLicenseHeader): Source/WebKit/efl: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/ContextMenuClientEfl.cpp: * WebCoreSupport/ContextMenuClientEfl.h: * WebCoreSupport/DeviceMotionClientEfl.cpp: * WebCoreSupport/DeviceOrientationClientEfl.cpp: * WebCoreSupport/DragClientEfl.cpp: * WebCoreSupport/EditorClientEfl.h: * WebCoreSupport/FrameLoaderClientEfl.cpp: * WebCoreSupport/FrameLoaderClientEfl.h: * WebCoreSupport/FrameNetworkingContextEfl.cpp: * WebCoreSupport/FrameNetworkingContextEfl.h: * WebCoreSupport/InspectorClientEfl.h: * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp: * WebCoreSupport/NavigatorContentUtilsClientEfl.h: * WebCoreSupport/NetworkInfoClientEfl.cpp: Source/WebKit/gtk: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * WebCoreSupport/ContextMenuClientGtk.h: * WebCoreSupport/DocumentLoaderGtk.cpp: * WebCoreSupport/DocumentLoaderGtk.h: * WebCoreSupport/EditorClientGtk.h: * WebCoreSupport/FrameLoaderClientGtk.h: * WebCoreSupport/InspectorClientGtk.h: * WebCoreSupport/TextCheckerClientGtk.h: Source/WebKit/ios: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * WebCoreSupport/WebCaretChangeListener.h: * WebCoreSupport/WebInspectorClientIOS.mm: * WebView/WebPlainWhiteView.h: * WebView/WebPlainWhiteView.mm: Source/WebKit/mac: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * Carbon/CarbonUtils.h: * Carbon/CarbonUtils.m: * Carbon/CarbonWindowAdapter.h: * Carbon/CarbonWindowAdapter.mm: * Carbon/CarbonWindowContentView.h: * Carbon/CarbonWindowContentView.m: * Carbon/CarbonWindowFrame.h: * Carbon/CarbonWindowFrame.m: * Carbon/HIViewAdapter.h: * Carbon/HIViewAdapter.m: * Carbon/HIWebView.h: * Carbon/HIWebView.mm: * DOM/WebDOMOperations.h: * DOM/WebDOMOperations.mm: * DOM/WebDOMOperationsInternal.h: * DOM/WebDOMOperationsPrivate.h: * DefaultDelegates/WebDefaultContextMenuDelegate.h: * DefaultDelegates/WebDefaultContextMenuDelegate.mm: * DefaultDelegates/WebDefaultEditingDelegate.h: * DefaultDelegates/WebDefaultEditingDelegate.m: * DefaultDelegates/WebDefaultPolicyDelegate.h: * DefaultDelegates/WebDefaultPolicyDelegate.m: * DefaultDelegates/WebDefaultUIDelegate.h: * DefaultDelegates/WebDefaultUIDelegate.m: * History/WebBackForwardList.h: * History/WebBackForwardList.mm: * History/WebBackForwardListInternal.h: * History/WebBackForwardListPrivate.h: * History/WebHistory.h: * History/WebHistory.mm: * History/WebHistoryInternal.h: * History/WebHistoryItem.h: * History/WebHistoryItem.mm: * History/WebHistoryItemInternal.h: * History/WebHistoryItemPrivate.h: * History/WebHistoryPrivate.h: * History/WebURLsWithTitles.h: * History/WebURLsWithTitles.m: * MigrateHeaders.make: * Misc/OldWebAssertions.c: * Misc/WebCache.h: * Misc/WebCache.mm: * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: * Misc/WebDownload.h: * Misc/WebDownload.mm: * Misc/WebDownloadInternal.h: * Misc/WebElementDictionary.h: * Misc/WebElementDictionary.mm: * Misc/WebIconDatabase.h: * Misc/WebIconDatabase.mm: * Misc/WebIconDatabaseDelegate.h: * Misc/WebIconDatabaseInternal.h: * Misc/WebIconDatabasePrivate.h: * Misc/WebKit.h: * Misc/WebKitErrors.h: * Misc/WebKitErrors.m: * Misc/WebKitErrorsPrivate.h: * Misc/WebKitLogging.h: * Misc/WebKitLogging.m: * Misc/WebKitNSStringExtras.h: * Misc/WebKitNSStringExtras.mm: * Misc/WebKitStatistics.h: * Misc/WebKitStatistics.m: * Misc/WebKitStatisticsPrivate.h: * Misc/WebKitSystemBits.h: * Misc/WebKitSystemBits.m: * Misc/WebKitVersionChecks.h: * Misc/WebKitVersionChecks.m: * Misc/WebLocalizableStrings.h: * Misc/WebLocalizableStrings.mm: * Misc/WebNSArrayExtras.h: * Misc/WebNSArrayExtras.m: * Misc/WebNSControlExtras.h: * Misc/WebNSControlExtras.m: * Misc/WebNSDataExtras.h: * Misc/WebNSDataExtras.m: * Misc/WebNSDataExtrasPrivate.h: * Misc/WebNSDictionaryExtras.h: * Misc/WebNSDictionaryExtras.m: * Misc/WebNSEventExtras.h: * Misc/WebNSEventExtras.m: * Misc/WebNSFileManagerExtras.h: * Misc/WebNSFileManagerExtras.mm: * Misc/WebNSImageExtras.h: * Misc/WebNSImageExtras.m: * Misc/WebNSObjectExtras.h: * Misc/WebNSObjectExtras.mm: * Misc/WebNSPasteboardExtras.h: * Misc/WebNSPasteboardExtras.mm: * Misc/WebNSPrintOperationExtras.h: * Misc/WebNSPrintOperationExtras.m: * Misc/WebNSURLExtras.h: * Misc/WebNSURLExtras.mm: * Misc/WebNSURLRequestExtras.h: * Misc/WebNSURLRequestExtras.m: * Misc/WebNSUserDefaultsExtras.h: * Misc/WebNSUserDefaultsExtras.mm: * Misc/WebNSViewExtras.h: * Misc/WebNSViewExtras.m: * Misc/WebNSWindowExtras.h: * Misc/WebNSWindowExtras.m: * Misc/WebStringTruncator.h: * Misc/WebStringTruncator.mm: * Misc/WebTypesInternal.h: * Panels/WebAuthenticationPanel.h: * Panels/WebAuthenticationPanel.m: * Panels/WebPanelAuthenticationHandler.h: * Panels/WebPanelAuthenticationHandler.m: * Plugins/Hosted/ProxyRuntimeObject.h: * Plugins/Hosted/ProxyRuntimeObject.mm: * Plugins/WebBaseNetscapePluginView.h: * Plugins/WebBaseNetscapePluginView.mm: * Plugins/WebBasePluginPackage.h: * Plugins/WebBasePluginPackage.mm: * Plugins/WebJavaPlugIn.h: * Plugins/WebNetscapeContainerCheckContextInfo.h: * Plugins/WebNetscapeContainerCheckPrivate.h: * Plugins/WebNetscapeContainerCheckPrivate.mm: * Plugins/WebNetscapePluginPackage.h: * Plugins/WebNetscapePluginPackage.mm: * Plugins/WebNetscapePluginStream.h: * Plugins/WebNetscapePluginStream.mm: * Plugins/WebNetscapePluginView.h: * Plugins/WebNetscapePluginView.mm: * Plugins/WebPlugin.h: * Plugins/WebPluginContainer.h: * Plugins/WebPluginContainerCheck.h: * Plugins/WebPluginContainerCheck.mm: * Plugins/WebPluginContainerPrivate.h: * Plugins/WebPluginController.h: * Plugins/WebPluginController.mm: * Plugins/WebPluginDatabase.h: * Plugins/WebPluginDatabase.mm: * Plugins/WebPluginPackage.h: * Plugins/WebPluginPackage.mm: * Plugins/WebPluginRequest.h: * Plugins/WebPluginRequest.m: * Plugins/WebPluginViewFactory.h: * Plugins/WebPluginViewFactoryPrivate.h: * Plugins/WebPluginsPrivate.h: * Plugins/WebPluginsPrivate.m: * Plugins/npapi.mm: * Storage/WebDatabaseManager.mm: * Storage/WebDatabaseManagerInternal.h: * Storage/WebDatabaseManagerPrivate.h: * WebCoreSupport/SearchPopupMenuMac.mm: * WebCoreSupport/WebAlternativeTextClient.h: * WebCoreSupport/WebAlternativeTextClient.mm: * WebCoreSupport/WebCachedFramePlatformData.h: * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: * WebCoreSupport/WebContextMenuClient.h: * WebCoreSupport/WebContextMenuClient.mm: * WebCoreSupport/WebDragClient.h: * WebCoreSupport/WebDragClient.mm: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.mm: * WebCoreSupport/WebIconDatabaseClient.h: * WebCoreSupport/WebIconDatabaseClient.mm: * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebInspectorClient.mm: * WebCoreSupport/WebJavaScriptTextInputPanel.h: * WebCoreSupport/WebJavaScriptTextInputPanel.m: * WebCoreSupport/WebSecurityOrigin.mm: * WebCoreSupport/WebSecurityOriginInternal.h: * WebCoreSupport/WebSecurityOriginPrivate.h: * WebCoreSupport/WebSystemInterface.h: * WebCoreSupport/WebSystemInterface.mm: * WebInspector/WebInspector.h: * WebInspector/WebInspector.mm: * WebInspector/WebInspectorPrivate.h: * WebInspector/WebNodeHighlight.h: * WebInspector/WebNodeHighlight.mm: * WebInspector/WebNodeHighlightView.h: * WebInspector/WebNodeHighlightView.mm: * WebInspector/WebNodeHighlighter.h: * WebInspector/WebNodeHighlighter.mm: * WebKitLegacy/MigrateHeadersToLegacy.make: * WebKitPrefix.h: * WebView/WebArchive.h: * WebView/WebArchive.mm: * WebView/WebArchiveInternal.h: * WebView/WebClipView.h: * WebView/WebClipView.mm: * WebView/WebDashboardRegion.h: * WebView/WebDashboardRegion.mm: * WebView/WebDataSource.h: * WebView/WebDataSource.mm: * WebView/WebDataSourceInternal.h: * WebView/WebDataSourcePrivate.h: * WebView/WebDelegateImplementationCaching.h: * WebView/WebDelegateImplementationCaching.mm: * WebView/WebDocument.h: * WebView/WebDocumentInternal.h: * WebView/WebDocumentLoaderMac.h: * WebView/WebDocumentLoaderMac.mm: * WebView/WebDocumentPrivate.h: * WebView/WebDynamicScrollBarsViewInternal.h: * WebView/WebEditingDelegate.h: * WebView/WebEditingDelegatePrivate.h: * WebView/WebFormDelegate.h: * WebView/WebFormDelegate.m: * WebView/WebFormDelegatePrivate.h: * WebView/WebFrame.h: * WebView/WebFrame.mm: * WebView/WebFrameInternal.h: * WebView/WebFrameLoadDelegate.h: * WebView/WebFrameLoadDelegatePrivate.h: * WebView/WebFramePrivate.h: * WebView/WebFrameView.h: * WebView/WebFrameView.mm: * WebView/WebFrameViewInternal.h: * WebView/WebFrameViewPrivate.h: * WebView/WebHTMLRepresentation.h: * WebView/WebHTMLRepresentation.mm: * WebView/WebHTMLRepresentationPrivate.h: * WebView/WebHTMLView.h: * WebView/WebHTMLView.mm: * WebView/WebHTMLViewInternal.h: * WebView/WebHTMLViewPrivate.h: * WebView/WebNotification.h: * WebView/WebNotification.mm: * WebView/WebNotificationInternal.h: * WebView/WebPDFRepresentation.h: * WebView/WebPDFRepresentation.mm: * WebView/WebPDFView.h: * WebView/WebPDFView.mm: * WebView/WebPolicyDelegate.h: * WebView/WebPolicyDelegate.mm: * WebView/WebPolicyDelegatePrivate.h: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.h: * WebView/WebPreferences.mm: * WebView/WebPreferencesPrivate.h: * WebView/WebRenderLayer.h: * WebView/WebRenderLayer.mm: * WebView/WebRenderNode.h: * WebView/WebRenderNode.mm: * WebView/WebResource.h: * WebView/WebResource.mm: * WebView/WebResourceInternal.h: * WebView/WebResourceLoadDelegate.h: * WebView/WebResourceLoadDelegatePrivate.h: * WebView/WebResourcePrivate.h: * WebView/WebScriptDebugDelegate.h: * WebView/WebScriptDebugDelegate.mm: * WebView/WebScriptDebugger.h: * WebView/WebScriptDebugger.mm: * WebView/WebTextCompletionController.mm: * WebView/WebUIDelegate.h: * WebView/WebUIDelegatePrivate.h: * WebView/WebView.h: * WebView/WebView.mm: * WebView/WebViewData.h: * WebView/WebViewData.mm: * WebView/WebViewInternal.h: * WebView/WebViewPrivate.h: Source/WebKit/win: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * CFDictionaryPropertyBag.cpp: * CFDictionaryPropertyBag.h: * CodeAnalysisConfig.h: * DOMCSSClasses.cpp: * DOMCSSClasses.h: * DOMCoreClasses.cpp: * DOMCoreClasses.h: * DOMEventsClasses.cpp: * DOMEventsClasses.h: * DOMHTMLClasses.cpp: * DOMHTMLClasses.h: * DefaultDownloadDelegate.cpp: * DefaultDownloadDelegate.h: * DefaultPolicyDelegate.cpp: * DefaultPolicyDelegate.h: * ForEachCoClass.cpp: * ForEachCoClass.h: * FullscreenVideoController.cpp: * FullscreenVideoController.h: * Interfaces/AccessibilityDelegate.idl: * Interfaces/DOMCSS.idl: * Interfaces/DOMCore.idl: * Interfaces/DOMEvents.idl: * Interfaces/DOMExtensions.idl: * Interfaces/DOMHTML.idl: * Interfaces/DOMPrivate.idl: * Interfaces/DOMRange.idl: * Interfaces/DOMWindow.idl: * Interfaces/IGEN_DOMObject.idl: * Interfaces/IWebArchive.idl: * Interfaces/IWebBackForwardList.idl: * Interfaces/IWebBackForwardListPrivate.idl: * Interfaces/IWebCache.idl: * Interfaces/IWebDataSource.idl: * Interfaces/IWebDatabaseManager.idl: * Interfaces/IWebDocument.idl: * Interfaces/IWebDownload.idl: * Interfaces/IWebEditingDelegate.idl: * Interfaces/IWebError.idl: * Interfaces/IWebErrorPrivate.idl: * Interfaces/IWebFormDelegate.idl: * Interfaces/IWebFrame.idl: * Interfaces/IWebFrameLoadDelegate.idl: * Interfaces/IWebFrameLoadDelegatePrivate.idl: * Interfaces/IWebFrameLoadDelegatePrivate2.idl: * Interfaces/IWebFramePrivate.idl: * Interfaces/IWebFrameView.idl: * Interfaces/IWebHTMLRepresentation.idl: * Interfaces/IWebHTTPURLResponse.idl: * Interfaces/IWebHistory.idl: * Interfaces/IWebHistoryDelegate.idl: * Interfaces/IWebHistoryItem.idl: * Interfaces/IWebHistoryItemPrivate.idl: * Interfaces/IWebHistoryPrivate.idl: * Interfaces/IWebIconDatabase.idl: * Interfaces/IWebInspector.idl: * Interfaces/IWebInspectorPrivate.idl: * Interfaces/IWebJavaScriptCollector.idl: * Interfaces/IWebKitStatistics.idl: * Interfaces/IWebMutableURLRequest.idl: * Interfaces/IWebMutableURLRequestPrivate.idl: * Interfaces/IWebNavigationData.idl: * Interfaces/IWebNotification.idl: * Interfaces/IWebNotificationCenter.idl: * Interfaces/IWebNotificationObserver.idl: * Interfaces/IWebPolicyDelegate.idl: * Interfaces/IWebPolicyDelegatePrivate.idl: * Interfaces/IWebPreferences.idl: * Interfaces/IWebPreferencesPrivate.idl: * Interfaces/IWebResource.idl: * Interfaces/IWebResourceLoadDelegate.idl: * Interfaces/IWebResourceLoadDelegatePrivate.idl: * Interfaces/IWebResourceLoadDelegatePrivate2.idl: * Interfaces/IWebScriptObject.idl: * Interfaces/IWebSecurityOrigin.idl: * Interfaces/IWebSerializedJSValuePrivate.idl: * Interfaces/IWebTextRenderer.idl: * Interfaces/IWebUIDelegate.idl: * Interfaces/IWebUIDelegatePrivate.idl: * Interfaces/IWebURLAuthenticationChallenge.idl: * Interfaces/IWebURLRequest.idl: * Interfaces/IWebURLResponse.idl: * Interfaces/IWebURLResponsePrivate.idl: * Interfaces/IWebUndoManager.idl: * Interfaces/IWebUndoTarget.idl: * Interfaces/IWebView.idl: * Interfaces/IWebViewPrivate.idl: * Interfaces/WebKit.idl: * Interfaces/WebScrollbarTypes.idl: * MarshallingHelpers.cpp: * MarshallingHelpers.h: * MemoryStream.cpp: * MemoryStream.h: * ProgIDMacros.h: * WebActionPropertyBag.cpp: * WebActionPropertyBag.h: * WebBackForwardList.cpp: * WebBackForwardList.h: * WebCache.cpp: * WebCache.h: * WebCachedFramePlatformData.h: * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebContextMenuClient.cpp: * WebCoreSupport/WebContextMenuClient.h: * WebCoreSupport/WebDragClient.cpp: * WebCoreSupport/WebDragClient.h: * WebCoreSupport/WebEditorClient.cpp: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebInspectorClient.cpp: * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebInspectorDelegate.cpp: * WebCoreSupport/WebInspectorDelegate.h: * WebDataSource.cpp: * WebDataSource.h: * WebDatabaseManager.cpp: * WebDatabaseManager.h: * WebDocumentLoader.cpp: * WebDocumentLoader.h: * WebDownload.cpp: * WebDownload.h: * WebDownloadCFNet.cpp: * WebDownloadCurl.cpp: * WebDropSource.cpp: * WebDropSource.h: * WebElementPropertyBag.cpp: * WebElementPropertyBag.h: * WebError.cpp: * WebError.h: * WebFrame.cpp: * WebFrame.h: * WebFramePolicyListener.cpp: * WebFramePolicyListener.h: * WebHTMLRepresentation.cpp: * WebHTMLRepresentation.h: * WebHistory.cpp: * WebHistory.h: * WebHistoryItem.cpp: * WebHistoryItem.h: * WebIconDatabase.cpp: * WebIconDatabase.h: * WebInspector.cpp: * WebInspector.h: * WebJavaScriptCollector.cpp: * WebJavaScriptCollector.h: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitClassFactory.cpp: * WebKitClassFactory.h: * WebKitDLL.cpp: * WebKitDLL.h: * WebKitGraphics.cpp: * WebKitGraphics.h: * WebKitLogging.cpp: * WebKitLogging.h: * WebKitPrefix.cpp: * WebKitPrefix.h: * WebKitStatistics.cpp: * WebKitStatistics.h: * WebKitStatisticsPrivate.h: * WebKitSystemBits.cpp: * WebKitSystemBits.h: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebMutableURLRequest.h: * WebNavigationData.cpp: * WebNavigationData.h: * WebNodeHighlight.cpp: * WebNodeHighlight.h: * WebNotification.cpp: * WebNotification.h: * WebNotificationCenter.cpp: * WebNotificationCenter.h: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: * WebPreferences.h: * WebResource.cpp: * WebResource.h: * WebScriptObject.cpp: * WebScriptObject.h: * WebSecurityOrigin.cpp: * WebSecurityOrigin.h: * WebTextRenderer.cpp: * WebTextRenderer.h: * WebURLAuthenticationChallenge.cpp: * WebURLAuthenticationChallenge.h: * WebURLAuthenticationChallengeSender.cpp: * WebURLAuthenticationChallengeSender.h: * WebURLAuthenticationChallengeSenderCFNet.cpp: * WebURLAuthenticationChallengeSenderCurl.cpp: * WebURLCredential.cpp: * WebURLCredential.h: * WebURLProtectionSpace.cpp: * WebURLProtectionSpace.h: * WebURLResponse.cpp: * WebURLResponse.h: * WebView.cpp: * WebView.h: Source/WebKit2: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * Shared/AsyncRequest.cpp: * Shared/AsyncRequest.h: * Shared/ContextMenuContextData.cpp: * Shared/ContextMenuContextData.h: * Shared/Databases/DatabaseProcessCreationParameters.h: * Shared/Databases/IndexedDB/IDBUtilities.cpp: * Shared/Databases/IndexedDB/IDBUtilities.h: * Shared/mac/RemoteLayerBackingStore.h: * Shared/mac/RemoteLayerBackingStore.mm: * UIProcess/API/Cocoa/WKBackForwardList.h: * UIProcess/API/Cocoa/WKBackForwardListItem.h: Removed. * UIProcess/API/Cocoa/WKNavigation.h: * UIProcess/API/Cocoa/WKNavigationAction.h: Removed. * UIProcess/API/Cocoa/WKNavigationDelegate.h: * UIProcess/API/Cocoa/WKNavigationResponse.h: Removed. * UIProcess/API/Cocoa/WKNavigationTrigger.h: Added. (NS_ENUM): * UIProcess/API/Cocoa/WKWebView.h: * UIProcess/API/CoordinatedGraphics/WKCoordinatedScene.cpp: * UIProcess/API/CoordinatedGraphics/WKCoordinatedScene.h: * UIProcess/CoordinatedGraphics/WKCoordinatedSceneAPICast.h: * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp: * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h: * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp: * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h: * WebProcess/Databases/WebToDatabaseProcessConnection.cpp: * WebProcess/Databases/WebToDatabaseProcessConnection.h: * WebProcess/WebCoreSupport/WebAlternativeTextClient.h: * WebProcess/WebCoreSupport/mac/WebAlternativeTextClient.cpp: * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm: * WebProcess/WebPage/mac/GraphicsLayerCARemote.cpp: * WebProcess/WebPage/mac/GraphicsLayerCARemote.h: * WebProcess/WebPage/mac/PlatformCALayerRemote.cpp: * WebProcess/WebPage/mac/PlatformCALayerRemote.h: * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.h: * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm: * WebProcess/WebPage/mac/PlatformCALayerRemoteTiledBacking.cpp: * WebProcess/WebPage/mac/PlatformCALayerRemoteTiledBacking.h: Source/WTF: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * wtf/ASCIICType.h: * wtf/AVLTree.h: * wtf/Assertions.cpp: * wtf/Assertions.h: * wtf/Atomics.cpp: * wtf/Atomics.h: * wtf/AutodrainedPool.h: * wtf/AutodrainedPoolMac.mm: * wtf/BoundsCheckedPointer.h: * wtf/CryptographicUtilities.cpp: * wtf/CryptographicallyRandomNumber.h: * wtf/CurrentTime.h: * wtf/Deque.h: * wtf/DisallowCType.h: * wtf/ExportMacros.h: * wtf/FeatureDefines.h: * wtf/GetPtr.h: * wtf/HashIterators.h: * wtf/Locker.h: * wtf/MainThread.cpp: * wtf/MainThread.h: * wtf/MathExtras.h: * wtf/MediaTime.cpp: * wtf/MediaTime.h: * wtf/MessageQueue.h: * wtf/MetaAllocator.cpp: * wtf/MetaAllocator.h: * wtf/MetaAllocatorHandle.h: * wtf/OSRandomSource.cpp: * wtf/OSRandomSource.h: * wtf/Platform.h: * wtf/RandomNumber.cpp: * wtf/RandomNumber.h: * wtf/RandomNumberSeed.h: * wtf/RedBlackTree.h: * wtf/RunLoopTimer.h: * wtf/RunLoopTimerCF.cpp: * wtf/SchedulePair.h: * wtf/SchedulePairCF.cpp: * wtf/SchedulePairMac.mm: * wtf/SegmentedVector.h: * wtf/StackBounds.h: * wtf/StaticConstructors.h: * wtf/StringExtras.h: * wtf/ThreadFunctionInvocation.h: * wtf/ThreadSafeRefCounted.h: * wtf/ThreadSpecific.h: * wtf/Threading.h: * wtf/ThreadingPrimitives.h: * wtf/ThreadingPthreads.cpp: * wtf/ThreadingWin.cpp: * wtf/WTFThreadData.cpp: * wtf/WTFThreadData.h: * wtf/efl/OwnPtrEfl.cpp: * wtf/mac/MainThreadMac.mm: * wtf/text/AtomicStringHash.h: * wtf/text/AtomicStringImpl.h: * wtf/text/Base64.h: * wtf/text/CString.cpp: * wtf/text/CString.h: * wtf/text/LChar.h: * wtf/text/cf/StringCF.cpp: * wtf/text/mac/StringMac.mm: * wtf/unicode/CharacterNames.h: * wtf/unicode/Collator.h: * wtf/unicode/CollatorDefault.cpp: * wtf/unicode/UTF8.cpp: * wtf/unicode/UTF8.h: * wtf/unicode/icu/CollatorICU.cpp: * wtf/win/MainThreadWin.cpp: Tools: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * BuildSlaveSupport/build-launcher-app: * BuildSlaveSupport/build-launcher-dmg: * DumpRenderTree/DumpRenderTree.h: * DumpRenderTree/DumpRenderTreePrefix.h: * DumpRenderTree/GCController.cpp: * DumpRenderTree/GCController.h: * DumpRenderTree/JavaScriptThreading.cpp: * DumpRenderTree/JavaScriptThreading.h: * DumpRenderTree/PixelDumpSupport.cpp: * DumpRenderTree/PixelDumpSupport.h: * DumpRenderTree/TestNetscapePlugIn/PluginObjectMac.mm: * DumpRenderTree/TestRunner.cpp: * DumpRenderTree/TestRunner.h: * DumpRenderTree/WorkQueue.cpp: * DumpRenderTree/WorkQueue.h: * DumpRenderTree/WorkQueueItem.h: * DumpRenderTree/atk/AccessibilityCallbacks.h: * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp: * DumpRenderTree/cairo/PixelDumpSupportCairo.cpp: * DumpRenderTree/cairo/PixelDumpSupportCairo.h: * DumpRenderTree/cg/PixelDumpSupportCG.cpp: * DumpRenderTree/cg/PixelDumpSupportCG.h: * DumpRenderTree/efl/EditingCallbacks.cpp: * DumpRenderTree/efl/EditingCallbacks.h: * DumpRenderTree/efl/EventSender.cpp: * DumpRenderTree/efl/EventSender.h: * DumpRenderTree/efl/GCControllerEfl.cpp: * DumpRenderTree/efl/PixelDumpSupportEfl.cpp: * DumpRenderTree/efl/TestRunnerEfl.cpp: * DumpRenderTree/gtk/DumpRenderTree.cpp: * DumpRenderTree/gtk/DumpRenderTreeGtk.h: * DumpRenderTree/gtk/EditingCallbacks.cpp: * DumpRenderTree/gtk/EditingCallbacks.h: * DumpRenderTree/gtk/EventSender.cpp: * DumpRenderTree/gtk/EventSender.h: * DumpRenderTree/gtk/GCControllerGtk.cpp: * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp: * DumpRenderTree/gtk/SelfScrollingWebKitWebView.cpp: * DumpRenderTree/gtk/SelfScrollingWebKitWebView.h: * DumpRenderTree/gtk/TestRunnerGtk.cpp: * DumpRenderTree/gtk/TextInputController.cpp: * DumpRenderTree/gtk/TextInputController.h: * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Makefile.PL: * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/lib/IPhoneSimulatorNotification.pm: * DumpRenderTree/ios/PixelDumpSupportIOS.mm: * DumpRenderTree/mac/AppleScriptController.h: * DumpRenderTree/mac/AppleScriptController.m: * DumpRenderTree/mac/CheckedMalloc.cpp: * DumpRenderTree/mac/CheckedMalloc.h: * DumpRenderTree/mac/DumpRenderTree.mm: * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: * DumpRenderTree/mac/DumpRenderTreeMac.h: * DumpRenderTree/mac/DumpRenderTreePasteboard.h: * DumpRenderTree/mac/DumpRenderTreePasteboard.m: * DumpRenderTree/mac/DumpRenderTreeWindow.h: * DumpRenderTree/mac/DumpRenderTreeWindow.mm: * DumpRenderTree/mac/EditingDelegate.h: * DumpRenderTree/mac/EditingDelegate.mm: * DumpRenderTree/mac/EventSendingController.h: * DumpRenderTree/mac/EventSendingController.mm: * DumpRenderTree/mac/FrameLoadDelegate.h: * DumpRenderTree/mac/FrameLoadDelegate.mm: * DumpRenderTree/mac/GCControllerMac.mm: * DumpRenderTree/mac/MockWebNotificationProvider.h: * DumpRenderTree/mac/MockWebNotificationProvider.mm: * DumpRenderTree/mac/NavigationController.h: * DumpRenderTree/mac/NavigationController.m: * DumpRenderTree/mac/ObjCController.h: * DumpRenderTree/mac/ObjCController.m: * DumpRenderTree/mac/ObjCPlugin.h: * DumpRenderTree/mac/ObjCPlugin.m: * DumpRenderTree/mac/ObjCPluginFunction.h: * DumpRenderTree/mac/ObjCPluginFunction.m: * DumpRenderTree/mac/PixelDumpSupportMac.mm: * DumpRenderTree/mac/PolicyDelegate.h: * DumpRenderTree/mac/PolicyDelegate.mm: * DumpRenderTree/mac/ResourceLoadDelegate.h: * DumpRenderTree/mac/ResourceLoadDelegate.mm: * DumpRenderTree/mac/TestRunnerMac.mm: * DumpRenderTree/mac/TextInputController.h: * DumpRenderTree/mac/TextInputController.m: * DumpRenderTree/mac/UIDelegate.h: * DumpRenderTree/mac/UIDelegate.mm: * DumpRenderTree/mac/WorkQueueItemMac.mm: * DumpRenderTree/win/DRTDataObject.cpp: * DumpRenderTree/win/DRTDataObject.h: * DumpRenderTree/win/DRTDesktopNotificationPresenter.h: * DumpRenderTree/win/DRTDropSource.cpp: * DumpRenderTree/win/DRTDropSource.h: * DumpRenderTree/win/DraggingInfo.h: * DumpRenderTree/win/DumpRenderTree.cpp: * DumpRenderTree/win/DumpRenderTreeWin.h: * DumpRenderTree/win/EditingDelegate.cpp: * DumpRenderTree/win/EditingDelegate.h: * DumpRenderTree/win/EventSender.cpp: * DumpRenderTree/win/EventSender.h: * DumpRenderTree/win/FrameLoadDelegate.cpp: * DumpRenderTree/win/FrameLoadDelegate.h: * DumpRenderTree/win/GCControllerWin.cpp: * DumpRenderTree/win/HistoryDelegate.cpp: * DumpRenderTree/win/HistoryDelegate.h: * DumpRenderTree/win/MD5.cpp: * DumpRenderTree/win/MD5.h: * DumpRenderTree/win/PixelDumpSupportWin.cpp: * DumpRenderTree/win/PolicyDelegate.cpp: * DumpRenderTree/win/PolicyDelegate.h: * DumpRenderTree/win/ResourceLoadDelegate.cpp: * DumpRenderTree/win/ResourceLoadDelegate.h: * DumpRenderTree/win/TestRunnerWin.cpp: * DumpRenderTree/win/TextInputController.cpp: * DumpRenderTree/win/TextInputController.h: * DumpRenderTree/win/TextInputControllerWin.cpp: * DumpRenderTree/win/UIDelegate.cpp: * DumpRenderTree/win/UIDelegate.h: * DumpRenderTree/win/WorkQueueItemWin.cpp: * EWebLauncher/main.c: * GtkLauncher/main.c: * ImageDiff/efl/ImageDiff.cpp: * ImageDiff/gtk/ImageDiff.cpp: * MiniBrowser/gtk/main.c: * Scripts/SpacingHeuristics.pm: * Scripts/VCSUtils.pm: * Scripts/bisect-builds: * Scripts/build-dumprendertree: * Scripts/build-jsc: * Scripts/build-webkit: * Scripts/check-dom-results: * Scripts/check-for-exit-time-destructors: * Scripts/check-for-global-initializers: * Scripts/commit-log-editor: * Scripts/compare-timing-files: * Scripts/debug-minibrowser: * Scripts/debug-safari: * Scripts/do-file-rename: * Scripts/find-extra-includes: * Scripts/generate-coverage-data: * Scripts/make-script-test-wrappers: * Scripts/malloc-tree: * Scripts/old-run-webkit-tests: * Scripts/parse-malloc-history: * Scripts/report-include-statistics: * Scripts/resolve-ChangeLogs: * Scripts/run-bindings-tests: * Scripts/run-iexploder-tests: * Scripts/run-javascriptcore-tests: * Scripts/run-jsc: * Scripts/run-launcher: * Scripts/run-leaks: * Scripts/run-mangleme-tests: * Scripts/run-minibrowser: * Scripts/run-pageloadtest: * Scripts/run-regexp-tests: * Scripts/run-safari: * Scripts/run-sunspider: * Scripts/run-webkit-app: * Scripts/sampstat: * Scripts/set-webkit-configuration: * Scripts/sort-Xcode-project-file: * Scripts/sort-export-file: * Scripts/split-file-by-class: * Scripts/sunspider-compare-results: * Scripts/svn-apply: * Scripts/svn-create-patch: * Scripts/svn-unapply: * Scripts/test-webkit-scripts: * Scripts/update-javascriptcore-test-results: * Scripts/update-webkit: * Scripts/update-webkit-auxiliary-libs: * Scripts/update-webkit-dependency: * Scripts/update-webkit-localizable-strings: * Scripts/update-webkit-support-libs: * Scripts/update-webkit-wincairo-libs: * Scripts/webkit-build-directory: * Scripts/webkitdirs.pm: (installedSafariPath): * Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl: * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl: * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl: * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl: * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl: * Scripts/webkitperl/features.pm: * Scripts/webkitperl/httpd.pm: * Scripts/webkitpy/bindings/main.py: * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py: * TestWebKitAPI/Tests/WTF/MediaTime.cpp: * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp: * TestWebKitAPI/Tests/WTF/RedBlackTree.cpp: * TestWebKitAPI/Tests/WTF/cf/RetainPtr.cpp: * TestWebKitAPI/Tests/WTF/cf/RetainPtrHashing.cpp: * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm: * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp: * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.cpp: * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.h: * WebKitTestRunner/PixelDumpSupport.cpp: * WebKitTestRunner/PixelDumpSupport.h: * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp: * WinLauncher/WinLauncher.cpp: * WinLauncher/WinLauncher.h: * WinLauncher/stdafx.cpp: * WinLauncher/stdafx.h: WebKitLibraries: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/tools/scripts/auto-version.sh: Websites/webkit.org: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * blog/wp-content/textfield_screenshot.jpg: * misc/WebKitDetect.html: * misc/WebKitDetect.js: * perf/sunspider-0.9.1/sunspider-0.9.1/driver.html: * perf/sunspider-0.9.1/sunspider-0.9.1/results.html: * perf/sunspider-0.9.1/sunspider-0.9.1/sunspider-test-contents.js: * perf/sunspider-0.9.1/sunspider-0.9/driver.html: * perf/sunspider-0.9.1/sunspider-0.9/results.html: * perf/sunspider-0.9.1/sunspider-0.9/sunspider-test-contents.js: * perf/sunspider-0.9.1/sunspider-analyze-results.js: * perf/sunspider-0.9.1/sunspider-compare-results.js: * perf/sunspider-0.9/3d-cube.html: * perf/sunspider-0.9/3d-morph.html: * perf/sunspider-0.9/3d-raytrace.html: * perf/sunspider-0.9/access-binary-trees.html: * perf/sunspider-0.9/access-fannkuch.html: * perf/sunspider-0.9/access-nbody.html: * perf/sunspider-0.9/access-nsieve.html: * perf/sunspider-0.9/bitops-3bit-bits-in-byte.html: * perf/sunspider-0.9/bitops-bits-in-byte.html: * perf/sunspider-0.9/bitops-bitwise-and.html: * perf/sunspider-0.9/bitops-nsieve-bits.html: * perf/sunspider-0.9/controlflow-recursive.html: * perf/sunspider-0.9/crypto-aes.html: * perf/sunspider-0.9/crypto-md5.html: * perf/sunspider-0.9/crypto-sha1.html: * perf/sunspider-0.9/date-format-tofte.html: * perf/sunspider-0.9/date-format-xparb.html: * perf/sunspider-0.9/math-cordic.html: * perf/sunspider-0.9/math-partial-sums.html: * perf/sunspider-0.9/math-spectral-norm.html: * perf/sunspider-0.9/regexp-dna.html: * perf/sunspider-0.9/string-base64.html: * perf/sunspider-0.9/string-fasta.html: * perf/sunspider-0.9/string-tagcloud.html: * perf/sunspider-0.9/string-unpack-code.html: * perf/sunspider-0.9/string-validate-input.html: * perf/sunspider-0.9/sunspider-analyze-results.js: * perf/sunspider-0.9/sunspider-compare-results.js: * perf/sunspider-0.9/sunspider-driver.html: * perf/sunspider-0.9/sunspider-record-result.js: * perf/sunspider-0.9/sunspider-results.html: * perf/sunspider-1.0.1/sunspider-1.0.1/driver.html: * perf/sunspider-1.0.1/sunspider-1.0.1/results.html: * perf/sunspider-1.0.1/sunspider-1.0.1/sunspider-test-contents.js: * perf/sunspider-1.0.1/sunspider-analyze-results.js: * perf/sunspider-1.0.1/sunspider-compare-results.js: * perf/sunspider-1.0.1/sunspider.html: * perf/sunspider-1.0.2/sunspider-1.0.2/driver.html: * perf/sunspider-1.0.2/sunspider-1.0.2/results.html: * perf/sunspider-1.0.2/sunspider-1.0.2/sunspider-test-contents.js: * perf/sunspider-1.0.2/sunspider-analyze-results.js: * perf/sunspider-1.0.2/sunspider-compare-results.js: * perf/sunspider-1.0.2/sunspider.html: * perf/sunspider-1.0/sunspider-1.0/driver.html: * perf/sunspider-1.0/sunspider-1.0/results.html: * perf/sunspider-1.0/sunspider-1.0/sunspider-test-contents.js: * perf/sunspider-1.0/sunspider-analyze-results.js: * perf/sunspider-1.0/sunspider-compare-results.js: * perf/sunspider-1.0/sunspider.html: * perf/sunspider/sunspider.html: * perf/sunspider/versions.html: * quality/reporting.html: LayoutTests: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * editing/resources/TIFF-pasteboard-data.dat: * fast/backgrounds/repeat/resources/gradient.gif: * fast/forms/resources/apple.gif: * http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/fragmentShader.frag: * http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/vertexShader.vert: * platform/win/TestExpectations: * platform/wincairo/TestExpectations: * platform/wk2/TestExpectations: * webgl/1.0.1/resources/webgl_test_files/conformance/attribs/gl-vertexattribpointer-offsets.html: * webgl/1.0.1/resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html: * webgl/1.0.1/resources/webgl_test_files/conformance/context/incorrect-context-object-behaviour.html: * webgl/1.0.1/resources/webgl_test_files/conformance/misc/bad-arguments-test.html: * webgl/1.0.1/resources/webgl_test_files/conformance/misc/invalid-passed-params.html: * webgl/1.0.1/resources/webgl_test_files/conformance/misc/null-object-behaviour.html: * webgl/1.0.1/resources/webgl_test_files/conformance/misc/type-conversion-test.html: * webgl/1.0.1/resources/webgl_test_files/conformance/programs/get-active-test.html: * webgl/1.0.1/resources/webgl_test_files/conformance/rendering/draw-arrays-out-of-bounds.html: * webgl/1.0.1/resources/webgl_test_files/conformance/rendering/draw-elements-out-of-bounds.html: * webgl/1.0.1/resources/webgl_test_files/conformance/rendering/line-loop-tri-fan.html: * webgl/1.0.1/resources/webgl_test_files/conformance/rendering/triangle.html: * webgl/1.0.1/resources/webgl_test_files/conformance/resources/fragmentShader.frag: * webgl/1.0.1/resources/webgl_test_files/conformance/resources/vertexShader.vert: * webgl/1.0.1/resources/webgl_test_files/conformance/resources/webgl-test.js: * webgl/1.0.1/resources/webgl_test_files/conformance/state/gl-get-calls.html: * webgl/1.0.1/resources/webgl_test_files/conformance/state/gl-object-get-calls.html: * webgl/1.0.1/resources/webgl_test_files/conformance/typedarrays/array-unit-tests.html: * webgl/1.0.1/resources/webgl_test_files/extra/canvas-compositing-test.html: * webgl/1.0.2/resources/webgl_test_files/conformance/resources/fragmentShader.frag: * webgl/1.0.2/resources/webgl_test_files/conformance/resources/vertexShader.vert: * webgl/resources/webgl_test_files/conformance/resources/fragmentShader.frag: * webgl/resources/webgl_test_files/conformance/resources/vertexShader.vert: Canonical link: https://commits.webkit.org/148261@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-03-15 04:08:27 +00:00
* THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * ManualTests/NPN_Invoke/Info.plist: * ManualTests/NPN_Invoke/main.c: * ManualTests/accessibility/resources/AppletTest.java: Examples: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * NetscapeCocoaPlugin/MenuHandler.h: * NetscapeCocoaPlugin/MenuHandler.m: * NetscapeCocoaPlugin/main.m: * NetscapeCoreAnimationPlugin/main.m: * NetscapeInputMethodPlugin/main.m: PerformanceTests: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-raytrace.html: * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bitwise-and.html: * Dromaeo/resources/dromaeo/web/tests/sunspider-math-cordic.html: * Dromaeo/resources/dromaeo/web/tests/sunspider-string-tagcloud.html: * LongSpider/3d-morph.js: * LongSpider/3d-raytrace.js: * LongSpider/math-cordic.js: * LongSpider/string-tagcloud.js: * Parser/resources/html5-8266.html: * Parser/resources/html5.html: PerformanceTests/SunSpider: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * hosted/sunspider.html: * hosted/versions.html: * make-hosted: * resources/TEMPLATE.html: * resources/driver-TEMPLATE.html: * resources/results-TEMPLATE.html: * resources/sunspider-analyze-results.js: * resources/sunspider-compare-results.js: * resources/sunspider-standalone-compare.js: * resources/sunspider-standalone-driver.js: * sunspider: * sunspider-compare-results: * tests/sunspider-0.9.1/3d-morph.js: * tests/sunspider-0.9.1/3d-raytrace.js: * tests/sunspider-0.9.1/bitops-bitwise-and.js: * tests/sunspider-0.9.1/math-cordic.js: * tests/sunspider-0.9.1/string-tagcloud.js: * tests/sunspider-0.9/3d-morph.js: * tests/sunspider-0.9/3d-raytrace.js: * tests/sunspider-0.9/bitops-bitwise-and.js: * tests/sunspider-0.9/math-cordic.js: * tests/sunspider-0.9/string-tagcloud.js: * tests/sunspider-1.0.1/3d-morph.js: * tests/sunspider-1.0.1/3d-raytrace.js: * tests/sunspider-1.0.1/bitops-bitwise-and.js: * tests/sunspider-1.0.1/math-cordic.js: * tests/sunspider-1.0.1/string-tagcloud.js: * tests/sunspider-1.0.2/3d-morph.js: * tests/sunspider-1.0.2/3d-raytrace.js: * tests/sunspider-1.0.2/bitops-bitwise-and.js: * tests/sunspider-1.0.2/math-cordic.js: * tests/sunspider-1.0.2/string-tagcloud.js: * tests/sunspider-1.0/3d-morph.js: * tests/sunspider-1.0/3d-raytrace.js: * tests/sunspider-1.0/bitops-bitwise-and.js: * tests/sunspider-1.0/math-cordic.js: * tests/sunspider-1.0/string-tagcloud.js: Source/JavaScriptCore: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * API/APICast.h: * API/JSBase.cpp: * API/JSBase.h: * API/JSBasePrivate.h: * API/JSCallbackConstructor.cpp: * API/JSCallbackConstructor.h: * API/JSCallbackFunction.cpp: * API/JSCallbackFunction.h: * API/JSCallbackObject.cpp: * API/JSCallbackObject.h: * API/JSCallbackObjectFunctions.h: * API/JSClassRef.cpp: * API/JSClassRef.h: * API/JSContextRef.cpp: * API/JSContextRef.h: * API/JSContextRefPrivate.h: * API/JSObjectRef.cpp: * API/JSObjectRef.h: * API/JSProfilerPrivate.cpp: * API/JSProfilerPrivate.h: * API/JSRetainPtr.h: * API/JSStringRef.cpp: * API/JSStringRef.h: * API/JSStringRefBSTR.cpp: * API/JSStringRefBSTR.h: * API/JSStringRefCF.cpp: * API/JSStringRefCF.h: * API/JSValueRef.cpp: * API/JSValueRef.h: * API/JavaScript.h: * API/JavaScriptCore.h: * API/OpaqueJSString.cpp: * API/OpaqueJSString.h: * API/tests/JSNode.c: * API/tests/JSNode.h: * API/tests/JSNodeList.c: * API/tests/JSNodeList.h: * API/tests/Node.c: * API/tests/Node.h: * API/tests/NodeList.c: * API/tests/NodeList.h: * API/tests/minidom.c: * API/tests/minidom.js: * API/tests/testapi.c: * API/tests/testapi.js: * DerivedSources.make: * bindings/ScriptValue.cpp: * bytecode/CodeBlock.cpp: * bytecode/CodeBlock.h: * bytecode/EvalCodeCache.h: * bytecode/Instruction.h: * bytecode/JumpTable.cpp: * bytecode/JumpTable.h: * bytecode/Opcode.cpp: * bytecode/Opcode.h: * bytecode/SamplingTool.cpp: * bytecode/SamplingTool.h: * bytecode/SpeculatedType.cpp: * bytecode/SpeculatedType.h: * bytecode/ValueProfile.h: * bytecompiler/BytecodeGenerator.cpp: * bytecompiler/BytecodeGenerator.h: * bytecompiler/Label.h: * bytecompiler/LabelScope.h: * bytecompiler/RegisterID.h: * debugger/DebuggerCallFrame.cpp: * debugger/DebuggerCallFrame.h: * dfg/DFGDesiredStructureChains.cpp: * dfg/DFGDesiredStructureChains.h: * heap/GCActivityCallback.cpp: * heap/GCActivityCallback.h: * inspector/ConsoleMessage.cpp: * inspector/ConsoleMessage.h: * inspector/IdentifiersFactory.cpp: * inspector/IdentifiersFactory.h: * inspector/InjectedScriptManager.cpp: * inspector/InjectedScriptManager.h: * inspector/InjectedScriptSource.js: * inspector/ScriptBreakpoint.h: * inspector/ScriptDebugListener.h: * inspector/ScriptDebugServer.cpp: * inspector/ScriptDebugServer.h: * inspector/agents/InspectorAgent.cpp: * inspector/agents/InspectorAgent.h: * inspector/agents/InspectorDebuggerAgent.cpp: * inspector/agents/InspectorDebuggerAgent.h: * interpreter/Interpreter.cpp: * interpreter/Interpreter.h: * interpreter/JSStack.cpp: * interpreter/JSStack.h: * interpreter/Register.h: * jit/CompactJITCodeMap.h: * jit/JITStubs.cpp: * jit/JITStubs.h: * jit/JITStubsARM.h: * jit/JITStubsARMv7.h: * jit/JITStubsX86.h: * jit/JITStubsX86_64.h: * os-win32/stdbool.h: * parser/SourceCode.h: * parser/SourceProvider.h: * profiler/LegacyProfiler.cpp: * profiler/LegacyProfiler.h: * profiler/ProfileNode.cpp: * profiler/ProfileNode.h: * runtime/ArrayBufferView.cpp: * runtime/ArrayBufferView.h: * runtime/BatchedTransitionOptimizer.h: * runtime/CallData.h: * runtime/ConstructData.h: * runtime/DumpContext.cpp: * runtime/DumpContext.h: * runtime/ExceptionHelpers.cpp: * runtime/ExceptionHelpers.h: * runtime/InitializeThreading.cpp: * runtime/InitializeThreading.h: * runtime/IntegralTypedArrayBase.h: * runtime/IntendedStructureChain.cpp: * runtime/IntendedStructureChain.h: * runtime/JSActivation.cpp: * runtime/JSActivation.h: * runtime/JSExportMacros.h: * runtime/JSGlobalObject.cpp: * runtime/JSNotAnObject.cpp: * runtime/JSNotAnObject.h: * runtime/JSPropertyNameIterator.cpp: * runtime/JSPropertyNameIterator.h: * runtime/JSSegmentedVariableObject.cpp: * runtime/JSSegmentedVariableObject.h: * runtime/JSSymbolTableObject.cpp: * runtime/JSSymbolTableObject.h: * runtime/JSTypeInfo.h: * runtime/JSVariableObject.cpp: * runtime/JSVariableObject.h: * runtime/PropertyTable.cpp: * runtime/PutPropertySlot.h: * runtime/SamplingCounter.cpp: * runtime/SamplingCounter.h: * runtime/Structure.cpp: * runtime/Structure.h: * runtime/StructureChain.cpp: * runtime/StructureChain.h: * runtime/StructureInlines.h: * runtime/StructureTransitionTable.h: * runtime/SymbolTable.cpp: * runtime/SymbolTable.h: * runtime/TypedArrayBase.h: * runtime/TypedArrayType.cpp: * runtime/TypedArrayType.h: * runtime/VM.cpp: * runtime/VM.h: * yarr/RegularExpression.cpp: * yarr/RegularExpression.h: Source/WebCore: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. No new tests because no behavior changes. * DerivedSources.make: * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp: * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h: * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl: * Modules/encryptedmedia/MediaKeyMessageEvent.cpp: * Modules/encryptedmedia/MediaKeyMessageEvent.h: * Modules/encryptedmedia/MediaKeyMessageEvent.idl: * Modules/encryptedmedia/MediaKeyNeededEvent.cpp: * Modules/encryptedmedia/MediaKeyNeededEvent.h: * Modules/encryptedmedia/MediaKeyNeededEvent.idl: * Modules/encryptedmedia/MediaKeySession.idl: * Modules/encryptedmedia/MediaKeys.idl: * Modules/geolocation/NavigatorGeolocation.cpp: * Modules/indexeddb/DOMWindowIndexedDatabase.idl: * Modules/indexeddb/IDBCallbacks.h: * Modules/indexeddb/IDBDatabaseException.cpp: * Modules/indexeddb/IDBDatabaseMetadata.h: * Modules/indexeddb/IDBEventDispatcher.cpp: * Modules/indexeddb/IDBEventDispatcher.h: * Modules/indexeddb/IDBFactory.cpp: * Modules/indexeddb/IDBFactory.h: * Modules/indexeddb/IDBFactoryBackendInterface.cpp: * Modules/indexeddb/IDBFactoryBackendInterface.h: * Modules/indexeddb/IDBHistograms.h: * Modules/indexeddb/IDBIndexMetadata.h: * Modules/indexeddb/IDBObjectStoreMetadata.h: * Modules/indexeddb/IDBRecordIdentifier.h: * Modules/indexeddb/IDBRequest.cpp: * Modules/indexeddb/IDBRequest.h: * Modules/indexeddb/IDBRequest.idl: * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp: * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h: * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp: * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h: * Modules/mediacontrols/MediaControlsHost.cpp: * Modules/mediacontrols/MediaControlsHost.h: * Modules/mediacontrols/MediaControlsHost.idl: * Modules/mediacontrols/mediaControlsApple.css: * Modules/mediacontrols/mediaControlsiOS.css: * Modules/mediasource/AudioTrackMediaSource.h: * Modules/mediasource/AudioTrackMediaSource.idl: * Modules/mediasource/TextTrackMediaSource.h: * Modules/mediasource/TextTrackMediaSource.idl: * Modules/mediasource/VideoTrackMediaSource.h: * Modules/mediasource/VideoTrackMediaSource.idl: * Modules/mediastream/AllAudioCapabilities.h: * Modules/mediastream/AllAudioCapabilities.idl: * Modules/mediastream/AllVideoCapabilities.h: * Modules/mediastream/AllVideoCapabilities.idl: * Modules/mediastream/AudioStreamTrack.cpp: * Modules/mediastream/AudioStreamTrack.h: * Modules/mediastream/AudioStreamTrack.idl: * Modules/mediastream/CapabilityRange.cpp: * Modules/mediastream/CapabilityRange.h: * Modules/mediastream/CapabilityRange.idl: * Modules/mediastream/MediaSourceStates.cpp: * Modules/mediastream/MediaSourceStates.h: * Modules/mediastream/MediaSourceStates.idl: * Modules/mediastream/MediaStreamCapabilities.cpp: * Modules/mediastream/MediaStreamCapabilities.h: * Modules/mediastream/MediaStreamCapabilities.idl: * Modules/mediastream/MediaTrackConstraint.cpp: * Modules/mediastream/MediaTrackConstraint.h: * Modules/mediastream/MediaTrackConstraint.idl: * Modules/mediastream/MediaTrackConstraintSet.cpp: * Modules/mediastream/MediaTrackConstraintSet.h: * Modules/mediastream/MediaTrackConstraints.cpp: * Modules/mediastream/MediaTrackConstraints.h: * Modules/mediastream/MediaTrackConstraints.idl: * Modules/mediastream/NavigatorMediaStream.cpp: * Modules/mediastream/NavigatorUserMediaError.cpp: * Modules/mediastream/RTCConfiguration.idl: * Modules/mediastream/RTCIceServer.idl: * Modules/mediastream/RTCOfferAnswerOptions.cpp: * Modules/mediastream/RTCOfferAnswerOptions.h: * Modules/mediastream/VideoStreamTrack.cpp: * Modules/mediastream/VideoStreamTrack.h: * Modules/mediastream/VideoStreamTrack.idl: * Modules/networkinfo/NetworkInfo.cpp: * Modules/networkinfo/NetworkInfo.h: * Modules/networkinfo/NetworkInfoConnection.cpp: * Modules/networkinfo/NetworkInfoConnection.h: * Modules/networkinfo/NetworkInfoController.cpp: * Modules/notifications/DOMWindowNotifications.cpp: * Modules/notifications/DOMWindowNotifications.h: * Modules/notifications/DOMWindowNotifications.idl: * Modules/notifications/NotificationController.cpp: * Modules/notifications/NotificationController.h: * Modules/notifications/NotificationPermissionCallback.h: * Modules/notifications/NotificationPermissionCallback.idl: * Modules/notifications/WorkerGlobalScopeNotifications.cpp: * Modules/notifications/WorkerGlobalScopeNotifications.h: * Modules/notifications/WorkerGlobalScopeNotifications.idl: * Modules/plugins/PluginReplacement.h: * Modules/plugins/QuickTimePluginReplacement.cpp: * Modules/plugins/QuickTimePluginReplacement.css: * Modules/plugins/QuickTimePluginReplacement.h: * Modules/plugins/QuickTimePluginReplacement.idl: * Modules/quota/DOMWindowQuota.idl: * Modules/speech/DOMWindowSpeechSynthesis.h: * Modules/speech/DOMWindowSpeechSynthesis.idl: * Modules/speech/SpeechSynthesis.cpp: * Modules/speech/SpeechSynthesis.h: * Modules/speech/SpeechSynthesis.idl: * Modules/speech/SpeechSynthesisEvent.cpp: * Modules/speech/SpeechSynthesisEvent.h: * Modules/speech/SpeechSynthesisEvent.idl: * Modules/speech/SpeechSynthesisUtterance.cpp: * Modules/speech/SpeechSynthesisUtterance.h: * Modules/speech/SpeechSynthesisUtterance.idl: * Modules/speech/SpeechSynthesisVoice.cpp: * Modules/speech/SpeechSynthesisVoice.h: * Modules/speech/SpeechSynthesisVoice.idl: * Modules/webaudio/AudioBuffer.cpp: * Modules/webaudio/AudioBuffer.h: * Modules/webaudio/AudioBuffer.idl: * Modules/webaudio/AudioListener.cpp: * Modules/webaudio/AudioListener.h: * Modules/webaudio/AudioListener.idl: * Modules/webaudio/AudioParam.h: * Modules/webaudio/AudioParam.idl: * Modules/webaudio/AudioParamTimeline.h: * Modules/webaudio/AudioScheduledSourceNode.h: * Modules/webaudio/ChannelMergerNode.cpp: * Modules/webaudio/ChannelMergerNode.h: * Modules/webaudio/ChannelMergerNode.idl: * Modules/webaudio/MediaStreamAudioSource.cpp: * Modules/webaudio/MediaStreamAudioSource.h: * Modules/webaudio/PeriodicWave.cpp: * Modules/webaudio/PeriodicWave.h: * Modules/webdatabase/ChangeVersionWrapper.cpp: * Modules/webdatabase/ChangeVersionWrapper.h: * Modules/webdatabase/DOMWindowWebDatabase.cpp: * Modules/webdatabase/DOMWindowWebDatabase.h: * Modules/webdatabase/DOMWindowWebDatabase.idl: * Modules/webdatabase/Database.cpp: * Modules/webdatabase/Database.h: * Modules/webdatabase/Database.idl: * Modules/webdatabase/DatabaseAuthorizer.cpp: * Modules/webdatabase/DatabaseAuthorizer.h: * Modules/webdatabase/DatabaseBackendBase.cpp: * Modules/webdatabase/DatabaseBackendBase.h: * Modules/webdatabase/DatabaseCallback.idl: * Modules/webdatabase/DatabaseContext.cpp: * Modules/webdatabase/DatabaseContext.h: * Modules/webdatabase/DatabaseDetails.h: * Modules/webdatabase/DatabaseTask.cpp: * Modules/webdatabase/DatabaseTask.h: * Modules/webdatabase/DatabaseThread.cpp: * Modules/webdatabase/DatabaseThread.h: * Modules/webdatabase/DatabaseTracker.cpp: * Modules/webdatabase/DatabaseTracker.h: * Modules/webdatabase/SQLCallbackWrapper.h: * Modules/webdatabase/SQLError.h: * Modules/webdatabase/SQLError.idl: * Modules/webdatabase/SQLException.cpp: * Modules/webdatabase/SQLResultSet.cpp: * Modules/webdatabase/SQLResultSet.h: * Modules/webdatabase/SQLResultSet.idl: * Modules/webdatabase/SQLResultSetRowList.cpp: * Modules/webdatabase/SQLResultSetRowList.h: * Modules/webdatabase/SQLResultSetRowList.idl: * Modules/webdatabase/SQLStatement.cpp: * Modules/webdatabase/SQLStatement.h: * Modules/webdatabase/SQLStatementBackend.cpp: * Modules/webdatabase/SQLStatementBackend.h: * Modules/webdatabase/SQLStatementCallback.h: * Modules/webdatabase/SQLStatementCallback.idl: * Modules/webdatabase/SQLStatementErrorCallback.h: * Modules/webdatabase/SQLStatementErrorCallback.idl: * Modules/webdatabase/SQLStatementSync.cpp: * Modules/webdatabase/SQLTransaction.cpp: * Modules/webdatabase/SQLTransaction.h: * Modules/webdatabase/SQLTransaction.idl: * Modules/webdatabase/SQLTransactionBackend.cpp: * Modules/webdatabase/SQLTransactionBackend.h: * Modules/webdatabase/SQLTransactionCallback.h: * Modules/webdatabase/SQLTransactionCallback.idl: * Modules/webdatabase/SQLTransactionErrorCallback.h: * Modules/webdatabase/SQLTransactionErrorCallback.idl: * Modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp: * Modules/webdatabase/WorkerGlobalScopeWebDatabase.h: * Modules/webdatabase/WorkerGlobalScopeWebDatabase.idl: * Resources/deleteButton.tiff: * Resources/deleteButtonPressed.tiff: * WebCore.vcxproj/MigrateScripts: * WebCorePrefix.cpp: * accessibility/AXObjectCache.cpp: * accessibility/AXObjectCache.h: * accessibility/AccessibilityARIAGrid.cpp: * accessibility/AccessibilityARIAGrid.h: * accessibility/AccessibilityARIAGridCell.cpp: * accessibility/AccessibilityARIAGridCell.h: * accessibility/AccessibilityARIAGridRow.cpp: * accessibility/AccessibilityARIAGridRow.h: * accessibility/AccessibilityImageMapLink.cpp: * accessibility/AccessibilityImageMapLink.h: * accessibility/AccessibilityList.cpp: * accessibility/AccessibilityList.h: * accessibility/AccessibilityListBox.cpp: * accessibility/AccessibilityListBox.h: * accessibility/AccessibilityListBoxOption.cpp: * accessibility/AccessibilityListBoxOption.h: * accessibility/AccessibilityMediaControls.cpp: * accessibility/AccessibilityMediaControls.h: * accessibility/AccessibilityNodeObject.cpp: * accessibility/AccessibilityNodeObject.h: * accessibility/AccessibilityObject.cpp: * accessibility/AccessibilityObject.h: * accessibility/AccessibilityRenderObject.cpp: * accessibility/AccessibilityRenderObject.h: * accessibility/AccessibilitySVGRoot.cpp: * accessibility/AccessibilitySVGRoot.h: * accessibility/AccessibilityScrollbar.cpp: * accessibility/AccessibilityScrollbar.h: * accessibility/AccessibilitySlider.cpp: * accessibility/AccessibilitySlider.h: * accessibility/AccessibilityTable.cpp: * accessibility/AccessibilityTable.h: * accessibility/AccessibilityTableCell.cpp: * accessibility/AccessibilityTableCell.h: * accessibility/AccessibilityTableColumn.cpp: * accessibility/AccessibilityTableColumn.h: * accessibility/AccessibilityTableHeaderContainer.cpp: * accessibility/AccessibilityTableHeaderContainer.h: * accessibility/AccessibilityTableRow.cpp: * accessibility/AccessibilityTableRow.h: * accessibility/ios/AXObjectCacheIOS.mm: * accessibility/ios/AccessibilityObjectIOS.mm: * accessibility/ios/WebAccessibilityObjectWrapperIOS.h: * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: * accessibility/mac/AXObjectCacheMac.mm: * accessibility/mac/AccessibilityObjectMac.mm: * accessibility/mac/WebAccessibilityObjectWrapperBase.h: * accessibility/mac/WebAccessibilityObjectWrapperBase.mm: * accessibility/mac/WebAccessibilityObjectWrapperMac.h: * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: * bindings/gobject/WebKitDOMEventTarget.cpp: * bindings/gobject/WebKitDOMHTMLPrivate.cpp: * bindings/gobject/WebKitDOMHTMLPrivate.h: * bindings/js/Dictionary.cpp: * bindings/js/GCController.cpp: * bindings/js/GCController.h: * bindings/js/JSAttrCustom.cpp: * bindings/js/JSAudioTrackCustom.cpp: * bindings/js/JSAudioTrackListCustom.cpp: * bindings/js/JSCSSRuleCustom.cpp: * bindings/js/JSCSSRuleCustom.h: * bindings/js/JSCSSRuleListCustom.cpp: * bindings/js/JSCSSStyleDeclarationCustom.cpp: * bindings/js/JSCSSValueCustom.cpp: * bindings/js/JSCallbackData.cpp: * bindings/js/JSCallbackData.h: * bindings/js/JSCanvasRenderingContextCustom.cpp: * bindings/js/JSClipboardCustom.cpp: * bindings/js/JSCustomSQLStatementErrorCallback.cpp: * bindings/js/JSCustomXPathNSResolver.cpp: * bindings/js/JSCustomXPathNSResolver.h: * bindings/js/JSDOMGlobalObject.cpp: * bindings/js/JSDOMGlobalObject.h: * bindings/js/JSDOMWindowShell.cpp: * bindings/js/JSDOMWindowShell.h: * bindings/js/JSElementCustom.cpp: * bindings/js/JSEventCustom.cpp: * bindings/js/JSHTMLAppletElementCustom.cpp: * bindings/js/JSHTMLCanvasElementCustom.cpp: * bindings/js/JSHTMLDocumentCustom.cpp: * bindings/js/JSHTMLElementCustom.cpp: * bindings/js/JSHTMLEmbedElementCustom.cpp: * bindings/js/JSHTMLFormElementCustom.cpp: * bindings/js/JSHTMLFrameElementCustom.cpp: * bindings/js/JSHTMLFrameSetElementCustom.cpp: * bindings/js/JSHTMLObjectElementCustom.cpp: * bindings/js/JSHTMLSelectElementCustom.h: * bindings/js/JSHistoryCustom.cpp: * bindings/js/JSMediaListCustom.h: * bindings/js/JSMediaSourceStatesCustom.cpp: * bindings/js/JSMediaStreamCapabilitiesCustom.cpp: * bindings/js/JSNamedNodeMapCustom.cpp: * bindings/js/JSNodeCustom.cpp: * bindings/js/JSNodeCustom.h: * bindings/js/JSNodeFilterCustom.cpp: * bindings/js/JSNodeListCustom.cpp: * bindings/js/JSSQLResultSetRowListCustom.cpp: * bindings/js/JSSQLTransactionCustom.cpp: * bindings/js/JSSQLTransactionSyncCustom.cpp: * bindings/js/JSSVGElementInstanceCustom.cpp: * bindings/js/JSStyleSheetCustom.cpp: * bindings/js/JSStyleSheetCustom.h: * bindings/js/JSStyleSheetListCustom.cpp: * bindings/js/JSTextTrackCueCustom.cpp: * bindings/js/JSTextTrackCustom.cpp: * bindings/js/JSTextTrackListCustom.cpp: * bindings/js/JSTouchCustom.cpp: * bindings/js/JSTouchListCustom.cpp: * bindings/js/JSTrackCustom.cpp: * bindings/js/JSTrackCustom.h: * bindings/js/JSTrackEventCustom.cpp: * bindings/js/JSVideoTrackCustom.cpp: * bindings/js/JSVideoTrackListCustom.cpp: * bindings/js/JSWebGLRenderingContextCustom.cpp: * bindings/js/JSWebKitPointCustom.cpp: * bindings/js/JSWorkerGlobalScopeBase.cpp: * bindings/js/JSWorkerGlobalScopeBase.h: * bindings/js/JSXMLHttpRequestCustom.cpp: * bindings/js/JSXSLTProcessorCustom.cpp: * bindings/js/ScriptControllerMac.mm: * bindings/js/ScriptProfile.cpp: * bindings/js/ScriptProfile.h: * bindings/js/ScriptProfileNode.h: * bindings/js/ScriptProfiler.cpp: * bindings/js/ScriptProfiler.h: * bindings/js/SerializedScriptValue.cpp: * bindings/js/SerializedScriptValue.h: * bindings/js/WorkerScriptController.cpp: * bindings/js/WorkerScriptController.h: * bindings/objc/DOM.h: * bindings/objc/DOM.mm: * bindings/objc/DOMAbstractView.mm: * bindings/objc/DOMAbstractViewFrame.h: * bindings/objc/DOMCSS.h: * bindings/objc/DOMCSS.mm: * bindings/objc/DOMCore.h: * bindings/objc/DOMCustomXPathNSResolver.h: * bindings/objc/DOMCustomXPathNSResolver.mm: * bindings/objc/DOMEventException.h: * bindings/objc/DOMEvents.h: * bindings/objc/DOMEvents.mm: * bindings/objc/DOMException.h: * bindings/objc/DOMExtensions.h: * bindings/objc/DOMHTML.h: * bindings/objc/DOMHTML.mm: * bindings/objc/DOMInternal.h: * bindings/objc/DOMInternal.mm: * bindings/objc/DOMObject.h: * bindings/objc/DOMObject.mm: * bindings/objc/DOMPrivate.h: * bindings/objc/DOMRangeException.h: * bindings/objc/DOMRanges.h: * bindings/objc/DOMStylesheets.h: * bindings/objc/DOMTraversal.h: * bindings/objc/DOMUIKitExtensions.h: * bindings/objc/DOMUIKitExtensions.mm: * bindings/objc/DOMUtility.mm: * bindings/objc/DOMViews.h: * bindings/objc/DOMXPath.h: * bindings/objc/DOMXPath.mm: * bindings/objc/DOMXPathException.h: * bindings/objc/ExceptionHandlers.h: * bindings/objc/ExceptionHandlers.mm: * bindings/objc/ObjCEventListener.h: * bindings/objc/ObjCEventListener.mm: * bindings/objc/ObjCNodeFilterCondition.h: * bindings/objc/ObjCNodeFilterCondition.mm: * bindings/objc/PublicDOMInterfaces.h: * bindings/objc/WebScriptObject.mm: * bindings/scripts/CodeGeneratorObjC.pm: * bindings/scripts/InFilesCompiler.pm: (license): * bindings/scripts/InFilesParser.pm: * bindings/scripts/generate-bindings.pl: * bindings/scripts/test/ObjC/DOMFloat64Array.h: * bindings/scripts/test/ObjC/DOMFloat64Array.mm: * bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h: * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.h: * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.mm: * bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h: * bindings/scripts/test/ObjC/DOMTestCallback.h: * bindings/scripts/test/ObjC/DOMTestCallback.mm: * bindings/scripts/test/ObjC/DOMTestCallbackInternal.h: * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.h: * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.mm: * bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h: * bindings/scripts/test/ObjC/DOMTestEventConstructor.h: * bindings/scripts/test/ObjC/DOMTestEventConstructor.mm: * bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h: * bindings/scripts/test/ObjC/DOMTestEventTarget.h: * bindings/scripts/test/ObjC/DOMTestEventTarget.mm: * bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h: * bindings/scripts/test/ObjC/DOMTestException.h: * bindings/scripts/test/ObjC/DOMTestException.mm: * bindings/scripts/test/ObjC/DOMTestExceptionInternal.h: * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.h: * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.mm: * bindings/scripts/test/ObjC/DOMTestGenerateIsReachableInternal.h: * bindings/scripts/test/ObjC/DOMTestInterface.h: * bindings/scripts/test/ObjC/DOMTestInterface.mm: * bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h: * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h: * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm: * bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h: * bindings/scripts/test/ObjC/DOMTestNamedConstructor.h: * bindings/scripts/test/ObjC/DOMTestNamedConstructor.mm: * bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h: * bindings/scripts/test/ObjC/DOMTestNode.h: * bindings/scripts/test/ObjC/DOMTestNode.mm: * bindings/scripts/test/ObjC/DOMTestNodeInternal.h: * bindings/scripts/test/ObjC/DOMTestObj.h: * bindings/scripts/test/ObjC/DOMTestObj.mm: * bindings/scripts/test/ObjC/DOMTestObjInternal.h: * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.h: * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.mm: * bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h: * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h: * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm: * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h: * bindings/scripts/test/ObjC/DOMTestTypedefs.h: * bindings/scripts/test/ObjC/DOMTestTypedefs.mm: * bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h: * bindings/scripts/test/ObjC/DOMattribute.h: * bindings/scripts/test/ObjC/DOMattribute.mm: * bindings/scripts/test/ObjC/DOMattributeInternal.h: * bindings/scripts/test/ObjC/DOMreadonly.h: * bindings/scripts/test/ObjC/DOMreadonly.mm: * bindings/scripts/test/ObjC/DOMreadonlyInternal.h: * bindings/scripts/test/TestCallback.idl: * bindings/scripts/test/TestCustomNamedGetter.idl: * bindings/scripts/test/TestDomainSecurity.idl: * bindings/scripts/test/TestEventConstructor.idl: * bindings/scripts/test/TestEventTarget.idl: * bindings/scripts/test/TestException.idl: * bindings/scripts/test/TestImplements.idl: * bindings/scripts/test/TestInterface.idl: * bindings/scripts/test/TestMediaQueryListListener.idl: * bindings/scripts/test/TestNamedConstructor.idl: * bindings/scripts/test/TestObj.idl: * bindings/scripts/test/TestOverloadedConstructors.idl: * bindings/scripts/test/TestSupplemental.idl: * bridge/Bridge.h: * bridge/IdentifierRep.cpp: * bridge/IdentifierRep.h: * bridge/NP_jsobject.cpp: * bridge/NP_jsobject.h: * bridge/c/CRuntimeObject.cpp: * bridge/c/CRuntimeObject.h: * bridge/c/c_class.cpp: * bridge/c/c_class.h: * bridge/c/c_instance.cpp: * bridge/c/c_instance.h: * bridge/c/c_runtime.cpp: * bridge/c/c_runtime.h: * bridge/c/c_utility.cpp: * bridge/c/c_utility.h: * bridge/jsc/BridgeJSC.cpp: * bridge/jsc/BridgeJSC.h: * bridge/npruntime.cpp: * bridge/npruntime_impl.h: * bridge/npruntime_priv.h: * bridge/objc/ObjCRuntimeObject.h: * bridge/objc/ObjCRuntimeObject.mm: * bridge/objc/WebScriptObject.h: * bridge/objc/objc_class.h: * bridge/objc/objc_class.mm: * bridge/objc/objc_header.h: * bridge/objc/objc_instance.h: * bridge/objc/objc_instance.mm: * bridge/objc/objc_runtime.h: * bridge/objc/objc_runtime.mm: * bridge/objc/objc_utility.h: * bridge/objc/objc_utility.mm: * bridge/runtime_array.cpp: * bridge/runtime_array.h: * bridge/runtime_method.cpp: * bridge/runtime_method.h: * bridge/runtime_object.cpp: * bridge/runtime_object.h: * bridge/runtime_root.cpp: * bridge/runtime_root.h: * bridge/testbindings.mm: * css/CSSAllInOne.cpp: * css/CSSAspectRatioValue.cpp: * css/CSSAspectRatioValue.h: * css/CSSBorderImageSliceValue.cpp: * css/CSSBorderImageSliceValue.h: * css/CSSCanvasValue.cpp: * css/CSSCanvasValue.h: * css/CSSCrossfadeValue.cpp: * css/CSSCrossfadeValue.h: * css/CSSFontFace.cpp: * css/CSSFontFace.h: * css/CSSFontFaceSource.cpp: * css/CSSFontFaceSource.h: * css/CSSFontFaceSrcValue.cpp: * css/CSSFontFaceSrcValue.h: * css/CSSFontFeatureValue.cpp: * css/CSSFontFeatureValue.h: * css/CSSFontSelector.cpp: * css/CSSFontSelector.h: * css/CSSFontValue.cpp: * css/CSSGradientValue.cpp: * css/CSSGradientValue.h: * css/CSSImageGeneratorValue.cpp: * css/CSSImageGeneratorValue.h: * css/CSSMediaRule.cpp: * css/CSSProperty.cpp: * css/CSSProperty.h: * css/CSSReflectValue.cpp: * css/CSSReflectValue.h: * css/CSSReflectionDirection.h: * css/CSSRuleList.cpp: * css/CSSRuleList.h: * css/CSSRuleList.idl: * css/CSSSegmentedFontFace.cpp: * css/CSSSegmentedFontFace.h: * css/CSSShadowValue.cpp: * css/CSSTimingFunctionValue.cpp: * css/CSSTimingFunctionValue.h: * css/CSSUnicodeRangeValue.cpp: * css/CSSUnicodeRangeValue.h: * css/CSSUnknownRule.idl: * css/CSSValue.cpp: * css/CSSValueList.idl: * css/MediaAllInOne.cpp: * css/MediaFeatureNames.cpp: * css/MediaList.idl: * css/MediaQuery.cpp: * css/MediaQuery.h: * css/MediaQueryEvaluator.cpp: * css/MediaQueryEvaluator.h: * css/MediaQueryExp.cpp: * css/MediaQueryExp.h: * css/Pair.h: * css/PropertySetCSSStyleDeclaration.h: * css/RGBColor.cpp: * css/RGBColor.h: * css/SVGCSSParser.cpp: * css/SVGCSSStyleSelector.cpp: * css/StyleInvalidationAnalysis.cpp: * css/StyleInvalidationAnalysis.h: * css/StyleMedia.cpp: * css/StyleMedia.h: * css/StyleMedia.idl: * css/StyleSheet.cpp: * css/WebKitCSSFilterValue.cpp: * css/WebKitCSSFilterValue.h: * css/WebKitCSSFilterValue.idl: * css/WebKitCSSKeyframeRule.cpp: * css/WebKitCSSKeyframeRule.h: * css/WebKitCSSKeyframeRule.idl: * css/WebKitCSSKeyframesRule.cpp: * css/WebKitCSSKeyframesRule.h: * css/WebKitCSSKeyframesRule.idl: * css/WebKitCSSTransformValue.cpp: * css/WebKitCSSTransformValue.h: * css/WebKitCSSTransformValue.idl: * css/make-css-file-arrays.pl: * css/mediaControls.css: * css/mediaControlsEfl.css: * css/mediaControlsEflFullscreen.css: * css/mediaControlsGtk.css: * css/mediaControlsiOS.css: * css/svg.css: * dom/ActiveDOMObject.cpp: * dom/ActiveDOMObject.h: * dom/BeforeLoadEvent.h: * dom/BeforeLoadEvent.idl: * dom/BeforeTextInsertedEvent.cpp: * dom/BeforeTextInsertedEvent.h: * dom/BeforeUnloadEvent.cpp: * dom/BeforeUnloadEvent.h: * dom/BeforeUnloadEvent.idl: * dom/ClassNodeList.cpp: * dom/ClassNodeList.h: * dom/ClientRect.cpp: * dom/ClientRect.h: * dom/ClientRect.idl: * dom/ClientRectList.cpp: * dom/ClientRectList.h: * dom/ClientRectList.idl: * dom/Clipboard.cpp: * dom/Clipboard.idl: * dom/ClipboardAccessPolicy.h: * dom/ClipboardMac.mm: * dom/CompositionEvent.cpp: * dom/CompositionEvent.h: * dom/CompositionEvent.idl: * dom/ContextDestructionObserver.cpp: * dom/ContextDestructionObserver.h: * dom/CurrentScriptIncrementer.h: * dom/CustomEvent.cpp: * dom/CustomEvent.h: * dom/CustomEvent.idl: * dom/DOMCoreException.cpp: * dom/DOMCoreException.h: * dom/DOMCoreException.idl: * dom/DOMError.idl: * dom/DeviceMotionEvent.cpp: * dom/DeviceMotionEvent.h: * dom/DeviceMotionEvent.idl: * dom/DocumentEventQueue.cpp: * dom/DocumentEventQueue.h: * dom/DocumentMarker.h: * dom/DocumentParser.h: * dom/DocumentSharedObjectPool.cpp: * dom/DocumentSharedObjectPool.h: * dom/Entity.idl: * dom/EventContext.cpp: * dom/EventContext.h: * dom/EventException.cpp: * dom/EventException.h: * dom/EventException.idl: * dom/EventListener.idl: * dom/EventListenerMap.cpp: * dom/EventListenerMap.h: * dom/EventNames.cpp: * dom/EventQueue.h: * dom/EventTarget.cpp: * dom/EventTarget.h: * dom/ExceptionBase.cpp: * dom/ExceptionBase.h: * dom/GenericEventQueue.cpp: * dom/GenericEventQueue.h: * dom/KeyboardEvent.idl: * dom/MessageChannel.cpp: * dom/MessageChannel.h: * dom/MessageChannel.idl: * dom/MessageEvent.cpp: * dom/MessageEvent.h: * dom/MessageEvent.idl: * dom/MessagePort.cpp: * dom/MessagePort.h: * dom/MessagePort.idl: * dom/MouseRelatedEvent.h: * dom/MutationEvent.idl: * dom/Notation.idl: * dom/OverflowEvent.cpp: * dom/OverflowEvent.h: * dom/OverflowEvent.idl: * dom/PopStateEvent.cpp: * dom/PopStateEvent.h: * dom/PopStateEvent.idl: * dom/Position.cpp: * dom/Position.h: * dom/ProcessingInstruction.idl: * dom/ProgressEvent.cpp: * dom/ProgressEvent.h: * dom/ProgressEvent.idl: * dom/Range.idl: * dom/RangeException.cpp: * dom/RangeException.h: * dom/ScriptExecutionContext.cpp: * dom/ScriptExecutionContext.h: * dom/SecurityContext.cpp: * dom/SecurityContext.h: * dom/StaticNodeList.cpp: * dom/StaticNodeList.h: * dom/Text.idl: * dom/TextEvent.cpp: * dom/TextEvent.h: * dom/TextEvent.idl: * dom/Touch.cpp: * dom/Touch.h: * dom/Touch.idl: * dom/TouchEvent.cpp: * dom/TouchEvent.h: * dom/TouchEvent.idl: * dom/TouchList.cpp: * dom/TouchList.h: * dom/TouchList.idl: * dom/TransitionEvent.cpp: * dom/TransitionEvent.h: * dom/TransitionEvent.idl: * dom/TreeWalker.idl: * dom/UIEvent.idl: * dom/UIEventWithKeyState.cpp: * dom/WebKitAnimationEvent.cpp: * dom/WebKitAnimationEvent.h: * dom/WebKitAnimationEvent.idl: * dom/WebKitTransitionEvent.cpp: * dom/WebKitTransitionEvent.h: * dom/WebKitTransitionEvent.idl: * dom/make_dom_exceptions.pl: * dom/make_event_factory.pl: * dom/make_names.pl: (printLicenseHeader): * editing/AlternativeTextController.cpp: * editing/AlternativeTextController.h: * editing/AppendNodeCommand.cpp: * editing/AppendNodeCommand.h: * editing/ApplyStyleCommand.cpp: * editing/ApplyStyleCommand.h: * editing/BreakBlockquoteCommand.cpp: * editing/BreakBlockquoteCommand.h: * editing/CompositeEditCommand.cpp: * editing/CompositeEditCommand.h: * editing/CreateLinkCommand.cpp: * editing/CreateLinkCommand.h: * editing/DeleteButton.cpp: * editing/DeleteButton.h: * editing/DeleteButtonController.cpp: * editing/DeleteButtonController.h: * editing/DeleteFromTextNodeCommand.cpp: * editing/DeleteFromTextNodeCommand.h: * editing/DeleteSelectionCommand.cpp: * editing/DeleteSelectionCommand.h: * editing/EditAction.h: * editing/EditCommand.cpp: * editing/EditCommand.h: * editing/EditingBoundary.h: * editing/EditingStyle.cpp: * editing/Editor.cpp: * editing/Editor.h: * editing/EditorCommand.cpp: * editing/EditorDeleteAction.h: * editing/EditorInsertAction.h: * editing/FormatBlockCommand.cpp: * editing/FormatBlockCommand.h: * editing/FrameSelection.cpp: * editing/FrameSelection.h: * editing/HTMLInterchange.cpp: * editing/HTMLInterchange.h: * editing/IndentOutdentCommand.cpp: * editing/IndentOutdentCommand.h: * editing/InsertIntoTextNodeCommand.cpp: * editing/InsertIntoTextNodeCommand.h: * editing/InsertLineBreakCommand.cpp: * editing/InsertLineBreakCommand.h: * editing/InsertListCommand.cpp: * editing/InsertListCommand.h: * editing/InsertNodeBeforeCommand.cpp: * editing/InsertNodeBeforeCommand.h: * editing/InsertParagraphSeparatorCommand.cpp: * editing/InsertParagraphSeparatorCommand.h: * editing/InsertTextCommand.cpp: * editing/InsertTextCommand.h: * editing/MarkupAccumulator.h: * editing/MergeIdenticalElementsCommand.cpp: * editing/MergeIdenticalElementsCommand.h: * editing/ModifySelectionListLevel.cpp: * editing/ModifySelectionListLevel.h: * editing/MoveSelectionCommand.cpp: * editing/MoveSelectionCommand.h: * editing/RemoveCSSPropertyCommand.cpp: * editing/RemoveCSSPropertyCommand.h: * editing/RemoveFormatCommand.cpp: * editing/RemoveFormatCommand.h: * editing/RemoveNodeCommand.cpp: * editing/RemoveNodeCommand.h: * editing/RemoveNodePreservingChildrenCommand.cpp: * editing/RemoveNodePreservingChildrenCommand.h: * editing/ReplaceSelectionCommand.cpp: * editing/ReplaceSelectionCommand.h: * editing/SetNodeAttributeCommand.cpp: * editing/SetNodeAttributeCommand.h: * editing/SetSelectionCommand.cpp: * editing/SetSelectionCommand.h: * editing/SimplifyMarkupCommand.cpp: * editing/SimplifyMarkupCommand.h: * editing/SmartReplace.cpp: * editing/SmartReplace.h: * editing/SmartReplaceCF.cpp: * editing/SpellChecker.cpp: * editing/SpellChecker.h: * editing/SpellingCorrectionCommand.cpp: * editing/SpellingCorrectionCommand.h: * editing/SplitElementCommand.cpp: * editing/SplitElementCommand.h: * editing/SplitTextNodeCommand.cpp: * editing/SplitTextNodeCommand.h: * editing/SplitTextNodeContainingElementCommand.cpp: * editing/SplitTextNodeContainingElementCommand.h: * editing/TextAffinity.h: * editing/TextCheckingHelper.cpp: * editing/TextGranularity.h: * editing/TextIterator.cpp: * editing/TextIterator.h: * editing/TextIteratorBehavior.h: * editing/TypingCommand.cpp: * editing/TypingCommand.h: * editing/UnlinkCommand.cpp: * editing/UnlinkCommand.h: * editing/VisiblePosition.cpp: * editing/VisiblePosition.h: * editing/VisibleSelection.cpp: * editing/VisibleSelection.h: * editing/VisibleUnits.cpp: * editing/VisibleUnits.h: * editing/WrapContentsInDummySpanCommand.cpp: * editing/WrapContentsInDummySpanCommand.h: * editing/WritingDirection.h: * editing/efl/EditorEfl.cpp: * editing/htmlediting.cpp: * editing/htmlediting.h: * editing/mac/EditorMac.mm: * editing/mac/FrameSelectionMac.mm: * editing/markup.cpp: * editing/markup.h: * extract-localizable-strings.pl: * fileapi/FileException.cpp: * history/BackForwardClient.h: * history/BackForwardList.cpp: * history/BackForwardList.h: * history/CachedFrame.cpp: * history/CachedFrame.h: * history/CachedFramePlatformData.h: * history/CachedPage.cpp: * history/CachedPage.h: * history/HistoryItem.cpp: * history/HistoryItem.h: * history/PageCache.cpp: * history/PageCache.h: * history/mac/HistoryItemMac.mm: * html/FTPDirectoryDocument.cpp: * html/FTPDirectoryDocument.h: * html/HTMLAudioElement.cpp: * html/HTMLAudioElement.h: * html/HTMLAudioElement.idl: * html/HTMLCanvasElement.cpp: * html/HTMLCanvasElement.h: * html/HTMLCanvasElement.idl: * html/HTMLFieldSetElement.idl: * html/HTMLImageLoader.h: * html/HTMLMediaElement.cpp: * html/HTMLMediaElement.h: * html/HTMLMediaElement.idl: * html/HTMLOptionsCollection.cpp: * html/HTMLPlugInElement.cpp: * html/HTMLSourceElement.cpp: * html/HTMLSourceElement.h: * html/HTMLSourceElement.idl: * html/HTMLTablePartElement.cpp: * html/HTMLTableRowsCollection.cpp: * html/HTMLTableRowsCollection.h: * html/HTMLTitleElement.idl: * html/HTMLTrackElement.cpp: * html/HTMLTrackElement.h: * html/HTMLTrackElement.idl: * html/HTMLVideoElement.cpp: * html/HTMLVideoElement.h: * html/HTMLVideoElement.idl: * html/ImageData.cpp: * html/ImageData.h: * html/ImageData.idl: * html/ImageDocument.cpp: * html/ImageDocument.h: * html/MediaController.cpp: * html/MediaController.h: * html/MediaController.idl: * html/MediaControllerInterface.h: * html/MediaError.h: * html/MediaError.idl: * html/MediaFragmentURIParser.cpp: * html/MediaFragmentURIParser.h: * html/MediaKeyError.h: * html/MediaKeyError.idl: * html/MediaKeyEvent.cpp: * html/MediaKeyEvent.h: * html/MediaKeyEvent.idl: * html/PluginDocument.cpp: * html/PluginDocument.h: * html/TextDocument.cpp: * html/TextDocument.h: * html/TimeRanges.cpp: * html/TimeRanges.h: * html/TimeRanges.idl: * html/VoidCallback.h: * html/VoidCallback.idl: * html/canvas/CanvasGradient.cpp: * html/canvas/CanvasGradient.h: * html/canvas/CanvasGradient.idl: * html/canvas/CanvasPattern.cpp: * html/canvas/CanvasPattern.h: * html/canvas/CanvasPattern.idl: * html/canvas/CanvasRenderingContext.cpp: * html/canvas/CanvasRenderingContext.h: * html/canvas/CanvasRenderingContext.idl: * html/canvas/CanvasRenderingContext2D.cpp: * html/canvas/CanvasRenderingContext2D.h: * html/canvas/CanvasRenderingContext2D.idl: * html/canvas/CanvasStyle.cpp: * html/canvas/CanvasStyle.h: * html/canvas/DOMPath.idl: * html/canvas/OESVertexArrayObject.cpp: * html/canvas/OESVertexArrayObject.h: * html/canvas/OESVertexArrayObject.idl: * html/canvas/WebGLBuffer.cpp: * html/canvas/WebGLBuffer.h: * html/canvas/WebGLBuffer.idl: * html/canvas/WebGLContextGroup.cpp: * html/canvas/WebGLContextGroup.h: * html/canvas/WebGLContextObject.cpp: * html/canvas/WebGLContextObject.h: * html/canvas/WebGLFramebuffer.cpp: * html/canvas/WebGLFramebuffer.h: * html/canvas/WebGLFramebuffer.idl: * html/canvas/WebGLObject.cpp: * html/canvas/WebGLObject.h: * html/canvas/WebGLProgram.cpp: * html/canvas/WebGLProgram.h: * html/canvas/WebGLProgram.idl: * html/canvas/WebGLRenderbuffer.cpp: * html/canvas/WebGLRenderbuffer.h: * html/canvas/WebGLRenderbuffer.idl: * html/canvas/WebGLRenderingContext.cpp: * html/canvas/WebGLRenderingContext.h: * html/canvas/WebGLRenderingContext.idl: * html/canvas/WebGLShader.cpp: * html/canvas/WebGLShader.h: * html/canvas/WebGLShader.idl: * html/canvas/WebGLSharedObject.cpp: * html/canvas/WebGLSharedObject.h: * html/canvas/WebGLTexture.cpp: * html/canvas/WebGLTexture.h: * html/canvas/WebGLTexture.idl: * html/canvas/WebGLUniformLocation.cpp: * html/canvas/WebGLUniformLocation.h: * html/canvas/WebGLUniformLocation.idl: * html/canvas/WebGLVertexArrayObjectOES.cpp: * html/canvas/WebGLVertexArrayObjectOES.h: * html/canvas/WebGLVertexArrayObjectOES.idl: * html/forms/FileIconLoader.cpp: * html/forms/FileIconLoader.h: * html/parser/TextDocumentParser.cpp: * html/parser/TextDocumentParser.h: * html/shadow/MediaControlElementTypes.cpp: * html/shadow/MediaControlElementTypes.h: * html/shadow/MediaControlElements.cpp: * html/shadow/MediaControlElements.h: * html/shadow/MediaControls.cpp: * html/shadow/MediaControls.h: * html/shadow/MediaControlsApple.cpp: * html/shadow/MediaControlsApple.h: * html/shadow/MediaControlsGtk.cpp: * html/shadow/MediaControlsGtk.h: * html/shadow/SpinButtonElement.cpp: * html/shadow/SpinButtonElement.h: * html/shadow/TextControlInnerElements.cpp: * html/shadow/TextControlInnerElements.h: * html/track/AudioTrack.h: * html/track/AudioTrack.idl: * html/track/AudioTrackList.cpp: * html/track/AudioTrackList.h: * html/track/AudioTrackList.idl: * html/track/DataCue.cpp: * html/track/DataCue.h: * html/track/DataCue.idl: * html/track/InbandGenericTextTrack.cpp: * html/track/InbandGenericTextTrack.h: * html/track/InbandTextTrack.cpp: * html/track/InbandTextTrack.h: * html/track/InbandWebVTTTextTrack.cpp: * html/track/InbandWebVTTTextTrack.h: * html/track/LoadableTextTrack.cpp: * html/track/LoadableTextTrack.h: * html/track/TextTrack.h: * html/track/TextTrack.idl: * html/track/TextTrackCue.idl: * html/track/TextTrackCueGeneric.cpp: * html/track/TextTrackCueGeneric.h: * html/track/TextTrackCueList.cpp: * html/track/TextTrackCueList.h: * html/track/TextTrackCueList.idl: * html/track/TextTrackList.cpp: * html/track/TextTrackList.h: * html/track/TextTrackList.idl: * html/track/TextTrackRegion.idl: * html/track/TextTrackRegionList.cpp: * html/track/TextTrackRegionList.h: * html/track/TextTrackRegionList.idl: * html/track/TrackBase.cpp: * html/track/TrackBase.h: * html/track/TrackEvent.cpp: * html/track/TrackEvent.h: * html/track/TrackEvent.idl: * html/track/TrackListBase.cpp: * html/track/TrackListBase.h: * html/track/VTTCue.idl: * html/track/VideoTrack.h: * html/track/VideoTrack.idl: * html/track/VideoTrackList.cpp: * html/track/VideoTrackList.h: * html/track/VideoTrackList.idl: * html/track/WebVTTElement.cpp: * html/track/WebVTTElement.h: * inspector/CommandLineAPIHost.cpp: * inspector/CommandLineAPIHost.h: * inspector/CommandLineAPIModuleSource.js: * inspector/InspectorAllInOne.cpp: * inspector/InspectorClient.h: * inspector/InspectorDOMAgent.cpp: * inspector/InspectorDOMAgent.h: * inspector/InspectorDOMStorageAgent.cpp: * inspector/InspectorDOMStorageAgent.h: * inspector/InspectorDatabaseAgent.cpp: * inspector/InspectorDatabaseAgent.h: * inspector/InspectorDatabaseResource.cpp: * inspector/InspectorDatabaseResource.h: * inspector/InspectorForwarding.h: * inspector/InspectorFrontendHost.cpp: * inspector/InspectorFrontendHost.h: * inspector/InspectorLayerTreeAgent.h: * inspector/InspectorNodeFinder.cpp: * inspector/InspectorNodeFinder.h: * inspector/InspectorOverlay.cpp: * inspector/InspectorOverlay.h: * inspector/InspectorOverlayPage.html: * inspector/InspectorProfilerAgent.cpp: * inspector/InspectorProfilerAgent.h: * inspector/ScriptProfile.idl: * inspector/ScriptProfileNode.idl: * loader/CookieJar.h: * loader/CrossOriginAccessControl.cpp: * loader/CrossOriginAccessControl.h: * loader/CrossOriginPreflightResultCache.cpp: * loader/CrossOriginPreflightResultCache.h: * loader/DocumentLoader.cpp: * loader/DocumentLoader.h: * loader/DocumentWriter.cpp: * loader/EmptyClients.h: * loader/FormState.cpp: * loader/FormState.h: * loader/FrameLoadRequest.h: * loader/FrameLoader.cpp: * loader/FrameLoader.h: * loader/FrameLoaderClient.h: * loader/FrameLoaderTypes.h: * loader/HistoryController.cpp: * loader/HistoryController.h: * loader/MixedContentChecker.cpp: * loader/NavigationAction.cpp: * loader/NavigationAction.h: * loader/NavigationScheduler.cpp: * loader/NavigationScheduler.h: * loader/NetscapePlugInStreamLoader.cpp: * loader/NetscapePlugInStreamLoader.h: * loader/PolicyCallback.cpp: * loader/PolicyCallback.h: * loader/PolicyChecker.cpp: * loader/PolicyChecker.h: * loader/ProgressTracker.cpp: * loader/ProgressTracker.h: * loader/ResourceBuffer.cpp: * loader/ResourceBuffer.h: * loader/ResourceLoadNotifier.cpp: * loader/ResourceLoadNotifier.h: * loader/ResourceLoader.cpp: * loader/ResourceLoader.h: * loader/SinkDocument.cpp: * loader/SinkDocument.h: * loader/SubframeLoader.cpp: * loader/SubframeLoader.h: * loader/SubresourceLoader.cpp: * loader/SubresourceLoader.h: * loader/SubstituteData.h: * loader/TextTrackLoader.cpp: * loader/appcache/ApplicationCacheAllInOne.cpp: * loader/archive/Archive.cpp: * loader/archive/Archive.h: * loader/archive/ArchiveFactory.cpp: * loader/archive/ArchiveFactory.h: * loader/archive/ArchiveResource.cpp: * loader/archive/ArchiveResource.h: * loader/archive/ArchiveResourceCollection.cpp: * loader/archive/ArchiveResourceCollection.h: * loader/archive/cf/LegacyWebArchive.cpp: * loader/archive/cf/LegacyWebArchive.h: * loader/archive/cf/LegacyWebArchiveMac.mm: * loader/cache/CachePolicy.h: * loader/cache/CachedCSSStyleSheet.cpp: * loader/cache/CachedFont.cpp: * loader/cache/CachedFont.h: * loader/cache/CachedResourceRequest.cpp: * loader/cache/CachedResourceRequest.h: * loader/cache/CachedResourceRequestInitiators.cpp: * loader/cache/CachedResourceRequestInitiators.h: * loader/cf/ResourceLoaderCFNet.cpp: * loader/icon/IconController.cpp: * loader/icon/IconController.h: * loader/icon/IconDatabase.cpp: * loader/icon/IconDatabase.h: * loader/icon/IconDatabaseBase.cpp: * loader/icon/IconDatabaseBase.h: * loader/icon/IconDatabaseClient.h: * loader/icon/IconLoader.cpp: * loader/icon/IconLoader.h: * loader/icon/IconRecord.cpp: * loader/icon/IconRecord.h: * loader/icon/PageURLRecord.cpp: * loader/icon/PageURLRecord.h: * loader/mac/DocumentLoaderMac.cpp: * loader/mac/LoaderNSURLExtras.h: * loader/mac/LoaderNSURLExtras.mm: * loader/mac/ResourceBuffer.mm: * loader/mac/ResourceLoaderMac.mm: * loader/win/DocumentLoaderWin.cpp: * loader/win/FrameLoaderWin.cpp: * mathml/MathMLAllInOne.cpp: * page/AbstractView.idl: * page/AlternativeTextClient.h: * page/AutoscrollController.cpp: * page/AutoscrollController.h: * page/BarProp.cpp: * page/BarProp.h: * page/BarProp.idl: * page/ContentSecurityPolicy.cpp: * page/ContentSecurityPolicy.h: * page/ContextMenuClient.h: * page/ContextMenuContext.cpp: * page/ContextMenuContext.h: * page/ContextMenuController.cpp: * page/ContextMenuController.h: * page/DOMSecurityPolicy.cpp: * page/DOMSecurityPolicy.h: * page/DOMSelection.cpp: * page/DOMSelection.h: * page/DOMSelection.idl: * page/DOMTimer.cpp: * page/DOMTimer.h: * page/DOMWindow.cpp: * page/DOMWindow.h: * page/DOMWindow.idl: * page/DragActions.h: * page/DragClient.h: * page/DragController.cpp: * page/DragController.h: * page/DragSession.h: * page/DragState.h: * page/EditorClient.h: * page/EventHandler.cpp: * page/EventHandler.h: * page/FocusController.cpp: * page/FocusController.h: * page/FocusDirection.h: * page/FrameTree.h: * page/GestureTapHighlighter.cpp: * page/GestureTapHighlighter.h: * page/History.cpp: * page/History.h: * page/History.idl: * page/Location.cpp: * page/Location.h: * page/Location.idl: * page/MouseEventWithHitTestResults.cpp: * page/MouseEventWithHitTestResults.h: * page/Navigator.cpp: * page/NavigatorBase.cpp: * page/NavigatorBase.h: * page/PageConsole.cpp: * page/PageConsole.h: * page/Screen.cpp: * page/Screen.h: * page/Screen.idl: * page/SecurityOrigin.cpp: * page/SecurityOrigin.h: * page/SecurityOriginHash.h: * page/Settings.cpp: * page/Settings.h: * page/SpatialNavigation.cpp: * page/SuspendableTimer.cpp: * page/SuspendableTimer.h: * page/UserContentTypes.h: * page/UserContentURLPattern.cpp: * page/UserContentURLPattern.h: * page/UserScript.h: * page/UserScriptTypes.h: * page/UserStyleSheet.h: * page/UserStyleSheetTypes.h: * page/WebCoreKeyboardUIMode.h: * page/WebKitPoint.h: * page/WebKitPoint.idl: * page/WindowBase64.idl: * page/WindowFeatures.h: * page/WindowFocusAllowedIndicator.cpp: * page/WindowFocusAllowedIndicator.h: * page/WindowTimers.idl: * page/WorkerNavigator.cpp: * page/WorkerNavigator.h: * page/WorkerNavigator.idl: * page/animation/AnimationBase.cpp: * page/animation/AnimationBase.h: * page/animation/AnimationController.cpp: * page/animation/AnimationController.h: * page/animation/AnimationControllerPrivate.h: * page/animation/CSSPropertyAnimation.cpp: * page/animation/CSSPropertyAnimation.h: * page/animation/CompositeAnimation.cpp: * page/animation/CompositeAnimation.h: * page/animation/ImplicitAnimation.cpp: * page/animation/ImplicitAnimation.h: * page/animation/KeyframeAnimation.cpp: * page/animation/KeyframeAnimation.h: * page/efl/DragControllerEfl.cpp: * page/efl/EventHandlerEfl.cpp: * page/gtk/DragControllerGtk.cpp: * page/gtk/EventHandlerGtk.cpp: * page/ios/EventHandlerIOS.mm: * page/mac/DragControllerMac.mm: * page/mac/EventHandlerMac.mm: * page/mac/PageMac.cpp: * page/mac/WebCoreFrameView.h: * page/make_settings.pl: * page/win/DragControllerWin.cpp: * page/win/EventHandlerWin.cpp: * page/win/FrameCGWin.cpp: * page/win/FrameCairoWin.cpp: * page/win/FrameGdiWin.cpp: * page/win/FrameWin.cpp: * page/win/FrameWin.h: * pdf/ios/PDFDocument.h: * platform/Clock.cpp: * platform/Clock.h: * platform/ClockGeneric.cpp: * platform/ClockGeneric.h: * platform/ColorChooser.h: * platform/ColorChooserClient.h: * platform/ContentType.cpp: * platform/ContentType.h: * platform/ContextMenu.h: * platform/ContextMenuItem.h: * platform/Cookie.h: * platform/Cursor.h: * platform/DragData.cpp: * platform/DragData.h: * platform/DragImage.cpp: * platform/DragImage.h: * platform/FileChooser.cpp: * platform/FileChooser.h: * platform/FileSystem.h: * platform/FloatConversion.h: * platform/KillRing.h: * platform/LinkHash.h: * platform/LocalizedStrings.cpp: * platform/LocalizedStrings.h: * platform/Logging.cpp: * platform/Logging.h: * platform/MIMETypeRegistry.cpp: * platform/MIMETypeRegistry.h: * platform/MediaDescription.h: * platform/MediaSample.h: * platform/NotImplemented.h: * platform/PODFreeListArena.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformExportMacros.h: * platform/PlatformKeyboardEvent.h: * platform/PlatformMenuDescription.h: * platform/PlatformMouseEvent.h: * platform/PlatformPasteboard.h: * platform/PlatformScreen.h: * platform/PlatformSpeechSynthesis.h: * platform/PlatformSpeechSynthesisUtterance.cpp: * platform/PlatformSpeechSynthesisUtterance.h: * platform/PlatformSpeechSynthesisVoice.cpp: * platform/PlatformSpeechSynthesisVoice.h: * platform/PlatformSpeechSynthesizer.cpp: * platform/PlatformSpeechSynthesizer.h: * platform/PlatformWheelEvent.h: * platform/PopupMenuClient.h: * platform/RemoteCommandListener.cpp: * platform/RemoteCommandListener.h: * platform/SSLKeyGenerator.h: * platform/SchemeRegistry.cpp: * platform/SchemeRegistry.h: * platform/ScrollTypes.h: * platform/ScrollView.cpp: * platform/ScrollView.h: * platform/Scrollbar.cpp: * platform/Scrollbar.h: * platform/SharedBuffer.cpp: * platform/SharedBuffer.h: * platform/SharedTimer.h: * platform/Sound.h: * platform/ThreadCheck.h: * platform/ThreadGlobalData.cpp: * platform/ThreadGlobalData.h: * platform/ThreadTimers.cpp: * platform/ThreadTimers.h: * platform/Timer.cpp: * platform/Timer.h: * platform/URL.cpp: * platform/URL.h: * platform/Widget.cpp: * platform/Widget.h: * platform/animation/AnimationUtilities.h: * platform/audio/AudioArray.h: * platform/audio/AudioBus.cpp: * platform/audio/AudioBus.h: * platform/audio/AudioChannel.cpp: * platform/audio/AudioChannel.h: * platform/audio/AudioDestination.h: * platform/audio/AudioFIFO.cpp: * platform/audio/AudioFIFO.h: * platform/audio/AudioFileReader.h: * platform/audio/AudioIOCallback.h: * platform/audio/AudioPullFIFO.cpp: * platform/audio/AudioPullFIFO.h: * platform/audio/AudioSourceProvider.h: * platform/audio/Biquad.cpp: * platform/audio/Biquad.h: * platform/audio/Cone.cpp: * platform/audio/Cone.h: * platform/audio/DirectConvolver.cpp: * platform/audio/DirectConvolver.h: * platform/audio/Distance.cpp: * platform/audio/Distance.h: * platform/audio/DownSampler.cpp: * platform/audio/DownSampler.h: * platform/audio/DynamicsCompressor.cpp: * platform/audio/DynamicsCompressor.h: * platform/audio/DynamicsCompressorKernel.cpp: * platform/audio/DynamicsCompressorKernel.h: * platform/audio/FFTConvolver.cpp: * platform/audio/FFTConvolver.h: * platform/audio/FFTFrame.cpp: * platform/audio/FFTFrame.h: * platform/audio/HRTFDatabase.cpp: * platform/audio/HRTFDatabase.h: * platform/audio/HRTFDatabaseLoader.cpp: * platform/audio/HRTFDatabaseLoader.h: * platform/audio/HRTFElevation.cpp: * platform/audio/HRTFElevation.h: * platform/audio/HRTFKernel.cpp: * platform/audio/HRTFKernel.h: * platform/audio/MultiChannelResampler.cpp: * platform/audio/MultiChannelResampler.h: * platform/audio/Panner.cpp: * platform/audio/Panner.h: * platform/audio/Reverb.cpp: * platform/audio/Reverb.h: * platform/audio/ReverbAccumulationBuffer.cpp: * platform/audio/ReverbAccumulationBuffer.h: * platform/audio/ReverbConvolver.cpp: * platform/audio/ReverbConvolver.h: * platform/audio/ReverbConvolverStage.cpp: * platform/audio/ReverbConvolverStage.h: * platform/audio/ReverbInputBuffer.cpp: * platform/audio/ReverbInputBuffer.h: * platform/audio/SincResampler.cpp: * platform/audio/SincResampler.h: * platform/audio/UpSampler.cpp: * platform/audio/UpSampler.h: * platform/audio/ZeroPole.cpp: * platform/audio/ZeroPole.h: * platform/audio/ios/AudioDestinationIOS.cpp: * platform/audio/ios/AudioDestinationIOS.h: * platform/audio/ios/AudioFileReaderIOS.cpp: * platform/audio/ios/AudioFileReaderIOS.h: * platform/audio/mac/AudioDestinationMac.cpp: * platform/audio/mac/AudioDestinationMac.h: * platform/audio/mac/AudioFileReaderMac.cpp: * platform/audio/mac/AudioFileReaderMac.h: * platform/audio/mac/FFTFrameMac.cpp: * platform/cf/FileSystemCF.cpp: * platform/cf/SharedBufferCF.cpp: * platform/cf/URLCF.cpp: * platform/cocoa/KeyEventCocoa.h: * platform/cocoa/KeyEventCocoa.mm: * platform/efl/CursorEfl.cpp: * platform/efl/EflKeyboardUtilities.cpp: * platform/efl/EflKeyboardUtilities.h: * platform/efl/FileSystemEfl.cpp: * platform/efl/LanguageEfl.cpp: * platform/efl/LocalizedStringsEfl.cpp: * platform/efl/MIMETypeRegistryEfl.cpp: * platform/efl/PlatformKeyboardEventEfl.cpp: * platform/efl/PlatformMouseEventEfl.cpp: * platform/efl/PlatformScreenEfl.cpp: * platform/efl/PlatformWheelEventEfl.cpp: * platform/efl/RenderThemeEfl.h: * platform/efl/ScrollbarEfl.h: * platform/efl/SharedTimerEfl.cpp: * platform/efl/SoundEfl.cpp: * platform/efl/TemporaryLinkStubs.cpp: * platform/efl/WidgetEfl.cpp: * platform/graphics/ANGLEWebKitBridge.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/AudioTrackPrivate.h: * platform/graphics/BitmapImage.cpp: * platform/graphics/BitmapImage.h: * platform/graphics/Color.cpp: * platform/graphics/Color.h: * platform/graphics/CrossfadeGeneratedImage.cpp: * platform/graphics/CrossfadeGeneratedImage.h: * platform/graphics/DashArray.h: * platform/graphics/DisplayRefreshMonitor.cpp: * platform/graphics/DisplayRefreshMonitor.h: * platform/graphics/FloatPoint.cpp: * platform/graphics/FloatPoint.h: * platform/graphics/FloatQuad.cpp: * platform/graphics/FloatQuad.h: * platform/graphics/FloatRect.cpp: * platform/graphics/FloatRect.h: * platform/graphics/FloatSize.cpp: * platform/graphics/FloatSize.h: * platform/graphics/FontBaseline.h: * platform/graphics/FontCache.cpp: * platform/graphics/FontCache.h: * platform/graphics/FontData.cpp: * platform/graphics/FontData.h: * platform/graphics/FontDescription.cpp: * platform/graphics/FontFeatureSettings.cpp: * platform/graphics/FontFeatureSettings.h: * platform/graphics/FontGlyphs.cpp: * platform/graphics/FontOrientation.h: * platform/graphics/FontRenderingMode.h: * platform/graphics/FontSelector.h: * platform/graphics/FontWidthVariant.h: * platform/graphics/FormatConverter.cpp: * platform/graphics/FormatConverter.h: * platform/graphics/GeneratedImage.h: * platform/graphics/Glyph.h: * platform/graphics/GlyphBuffer.h: * platform/graphics/GlyphMetricsMap.h: * platform/graphics/GlyphPage.h: * platform/graphics/GlyphPageTreeNode.cpp: * platform/graphics/GlyphPageTreeNode.h: * platform/graphics/Gradient.cpp: * platform/graphics/Gradient.h: * platform/graphics/GradientImage.h: * platform/graphics/GraphicsContext.h: * platform/graphics/GraphicsContext3D.cpp: * platform/graphics/GraphicsContext3D.h: * platform/graphics/GraphicsLayer.cpp: * platform/graphics/GraphicsLayer.h: * platform/graphics/GraphicsLayerClient.h: * platform/graphics/GraphicsTypes.cpp: * platform/graphics/GraphicsTypes.h: * platform/graphics/GraphicsTypes3D.h: * platform/graphics/Image.cpp: * platform/graphics/Image.h: * platform/graphics/ImageBuffer.cpp: * platform/graphics/ImageBuffer.h: * platform/graphics/ImageBufferData.h: * platform/graphics/ImageObserver.h: * platform/graphics/ImageSource.cpp: * platform/graphics/ImageSource.h: * platform/graphics/InbandTextTrackPrivate.h: * platform/graphics/InbandTextTrackPrivateClient.h: * platform/graphics/IntPoint.cpp: * platform/graphics/IntPoint.h: * platform/graphics/IntSize.cpp: * platform/graphics/IntSize.h: * platform/graphics/MediaPlayer.cpp: * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: * platform/graphics/MediaSourcePrivateClient.h: * platform/graphics/NativeImagePtr.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/Path.cpp: * platform/graphics/Path.h: * platform/graphics/PathTraversalState.h: * platform/graphics/Pattern.cpp: * platform/graphics/Pattern.h: * platform/graphics/PlatformLayer.h: * platform/graphics/PlatformTimeRanges.cpp: * platform/graphics/PlatformTimeRanges.h: * platform/graphics/SegmentedFontData.cpp: * platform/graphics/SegmentedFontData.h: * platform/graphics/ShadowBlur.cpp: * platform/graphics/ShadowBlur.h: * platform/graphics/SimpleFontData.cpp: * platform/graphics/SourceBufferPrivateClient.h: * platform/graphics/StringTruncator.cpp: * platform/graphics/StringTruncator.h: * platform/graphics/TrackPrivateBase.h: * platform/graphics/VideoTrackPrivate.h: * platform/graphics/WindRule.h: * platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.h: * platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: * platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h: * platform/graphics/avfoundation/cf/CoreMediaSoftLinking.h: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h: * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h: * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.cpp: * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h: * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm: * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h: * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm: * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h: * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.mm: * platform/graphics/ca/GraphicsLayerCA.cpp: * platform/graphics/ca/GraphicsLayerCA.h: * platform/graphics/ca/LayerFlushScheduler.cpp: * platform/graphics/ca/LayerFlushScheduler.h: * platform/graphics/ca/LayerFlushSchedulerClient.h: * platform/graphics/ca/PlatformCAAnimation.h: * platform/graphics/ca/PlatformCAFilters.h: * platform/graphics/ca/PlatformCALayer.cpp: * platform/graphics/ca/PlatformCALayer.h: * platform/graphics/ca/PlatformCALayerClient.h: * platform/graphics/ca/TransformationMatrixCA.cpp: * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp: * platform/graphics/ca/mac/LayerPool.mm: * platform/graphics/ca/mac/PlatformCAAnimationMac.mm: * platform/graphics/ca/mac/PlatformCAFiltersMac.h: * platform/graphics/ca/mac/PlatformCAFiltersMac.mm: * platform/graphics/ca/mac/PlatformCALayerMac.h: * platform/graphics/ca/mac/PlatformCALayerMac.mm: * platform/graphics/ca/mac/WebTiledBackingLayer.h: * platform/graphics/ca/mac/WebTiledBackingLayer.mm: * platform/graphics/ca/win/AbstractCACFLayerTreeHost.h: * platform/graphics/ca/win/CACFLayerTreeHost.cpp: * platform/graphics/ca/win/CACFLayerTreeHost.h: * platform/graphics/ca/win/CACFLayerTreeHostClient.h: * platform/graphics/ca/win/LayerChangesFlusher.cpp: * platform/graphics/ca/win/LayerChangesFlusher.h: * platform/graphics/ca/win/LegacyCACFLayerTreeHost.cpp: * platform/graphics/ca/win/LegacyCACFLayerTreeHost.h: * platform/graphics/ca/win/PlatformCAAnimationWin.cpp: * platform/graphics/ca/win/PlatformCAFiltersWin.cpp: * platform/graphics/ca/win/PlatformCALayerWin.cpp: * platform/graphics/ca/win/PlatformCALayerWin.h: * platform/graphics/ca/win/PlatformCALayerWinInternal.cpp: * platform/graphics/ca/win/PlatformCALayerWinInternal.h: * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp: * platform/graphics/ca/win/WKCACFViewLayerTreeHost.h: * platform/graphics/cairo/BitmapImageCairo.cpp: * platform/graphics/cairo/CairoUtilities.cpp: * platform/graphics/cairo/CairoUtilities.h: * platform/graphics/cairo/DrawingBufferCairo.cpp: * platform/graphics/cairo/FloatRectCairo.cpp: * platform/graphics/cairo/FontCairo.cpp: * platform/graphics/cairo/FontCairoHarfbuzzNG.cpp: * platform/graphics/cairo/GradientCairo.cpp: * platform/graphics/cairo/GraphicsContext3DCairo.cpp: * platform/graphics/cairo/GraphicsContextCairo.cpp: * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: * platform/graphics/cairo/ImageBufferCairo.cpp: * platform/graphics/cairo/ImageBufferDataCairo.h: * platform/graphics/cairo/ImageCairo.cpp: * platform/graphics/cairo/PatternCairo.cpp: * platform/graphics/cairo/PlatformContextCairo.cpp: * platform/graphics/cairo/PlatformContextCairo.h: * platform/graphics/cairo/TransformationMatrixCairo.cpp: * platform/graphics/cg/BitmapImageCG.cpp: * platform/graphics/cg/ColorCG.cpp: * platform/graphics/cg/FloatPointCG.cpp: * platform/graphics/cg/FloatRectCG.cpp: * platform/graphics/cg/FloatSizeCG.cpp: * platform/graphics/cg/GradientCG.cpp: * platform/graphics/cg/GraphicsContext3DCG.cpp: * platform/graphics/cg/GraphicsContextCG.cpp: * platform/graphics/cg/GraphicsContextCG.h: * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h: * platform/graphics/cg/ImageBufferCG.cpp: * platform/graphics/cg/ImageBufferDataCG.cpp: * platform/graphics/cg/ImageBufferDataCG.h: * platform/graphics/cg/ImageCG.cpp: * platform/graphics/cg/ImageSourceCG.cpp: * platform/graphics/cg/IntPointCG.cpp: * platform/graphics/cg/IntRectCG.cpp: * platform/graphics/cg/IntSizeCG.cpp: * platform/graphics/cg/PDFDocumentImage.cpp: * platform/graphics/cg/PDFDocumentImage.h: * platform/graphics/cg/PathCG.cpp: * platform/graphics/cg/PatternCG.cpp: * platform/graphics/cg/TransformationMatrixCG.cpp: * platform/graphics/efl/IconEfl.cpp: * platform/graphics/efl/ImageEfl.cpp: * platform/graphics/filters/FilterOperation.cpp: * platform/graphics/filters/FilterOperation.h: * platform/graphics/filters/FilterOperations.cpp: * platform/graphics/filters/FilterOperations.h: * platform/graphics/freetype/FontPlatformDataFreeType.cpp: * platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp: * platform/graphics/freetype/SimpleFontDataFreeType.cpp: * platform/graphics/gpu/mac/DrawingBufferMac.mm: * platform/graphics/gtk/GdkCairoUtilities.cpp: * platform/graphics/gtk/GdkCairoUtilities.h: * platform/graphics/gtk/IconGtk.cpp: * platform/graphics/gtk/ImageGtk.cpp: * platform/graphics/ios/DisplayRefreshMonitorIOS.mm: * platform/graphics/ios/FontCacheIOS.mm: * platform/graphics/ios/GraphicsContext3DIOS.h: * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h: * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.mm: * platform/graphics/ios/MediaPlayerPrivateIOS.h: * platform/graphics/ios/MediaPlayerPrivateIOS.mm: * platform/graphics/mac/ColorMac.h: * platform/graphics/mac/ColorMac.mm: * platform/graphics/mac/DisplayRefreshMonitorMac.cpp: * platform/graphics/mac/FloatPointMac.mm: * platform/graphics/mac/FloatRectMac.mm: * platform/graphics/mac/FloatSizeMac.mm: * platform/graphics/mac/FontCacheMac.mm: * platform/graphics/mac/FontCustomPlatformData.h: * platform/graphics/mac/GlyphPageTreeNodeMac.cpp: * platform/graphics/mac/GraphicsContext3DMac.mm: * platform/graphics/mac/GraphicsContextMac.mm: * platform/graphics/mac/ImageMac.mm: * platform/graphics/mac/IntPointMac.mm: * platform/graphics/mac/IntRectMac.mm: * platform/graphics/mac/IntSizeMac.mm: * platform/graphics/mac/MediaPlayerPrivateQTKit.h: * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: * platform/graphics/mac/MediaPlayerProxy.h: * platform/graphics/mac/WebCoreCALayerExtras.h: * platform/graphics/mac/WebCoreCALayerExtras.mm: * platform/graphics/mac/WebGLLayer.h: * platform/graphics/mac/WebGLLayer.mm: * platform/graphics/mac/WebLayer.h: * platform/graphics/mac/WebLayer.mm: * platform/graphics/mac/WebTiledLayer.h: * platform/graphics/mac/WebTiledLayer.mm: * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp: * platform/graphics/opentype/OpenTypeUtilities.cpp: * platform/graphics/opentype/OpenTypeUtilities.h: * platform/graphics/transforms/AffineTransform.cpp: * platform/graphics/transforms/AffineTransform.h: * platform/graphics/transforms/Matrix3DTransformOperation.cpp: * platform/graphics/transforms/Matrix3DTransformOperation.h: * platform/graphics/transforms/PerspectiveTransformOperation.cpp: * platform/graphics/transforms/PerspectiveTransformOperation.h: * platform/graphics/transforms/TransformState.cpp: * platform/graphics/transforms/TransformState.h: * platform/graphics/transforms/TransformationMatrix.cpp: * platform/graphics/transforms/TransformationMatrix.h: * platform/graphics/win/FontCGWin.cpp: * platform/graphics/win/FontCacheWin.cpp: * platform/graphics/win/FontCustomPlatformDataCairo.cpp: * platform/graphics/win/FontWin.cpp: * platform/graphics/win/FullScreenController.cpp: * platform/graphics/win/FullScreenController.h: * platform/graphics/win/FullScreenControllerClient.h: * platform/graphics/win/GlyphPageTreeNodeCGWin.cpp: * platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp: * platform/graphics/win/GraphicsContextCGWin.cpp: * platform/graphics/win/GraphicsContextCairoWin.cpp: * platform/graphics/win/GraphicsContextWin.cpp: * platform/graphics/win/ImageCGWin.cpp: * platform/graphics/win/ImageCairoWin.cpp: * platform/graphics/win/ImageWin.cpp: * platform/graphics/win/IntPointWin.cpp: * platform/graphics/win/IntRectWin.cpp: * platform/graphics/win/IntSizeWin.cpp: * platform/graphics/win/LocalWindowsContext.h: * platform/graphics/win/MediaPlayerPrivateTaskTimer.cpp: * platform/graphics/win/MediaPlayerPrivateTaskTimer.h: * platform/graphics/win/SimpleFontDataCGWin.cpp: * platform/graphics/win/SimpleFontDataCairoWin.cpp: * platform/graphics/win/SimpleFontDataWin.cpp: * platform/graphics/win/TransformationMatrixWin.cpp: * platform/graphics/wince/FontCacheWinCE.cpp: * platform/graphics/wince/FontWinCE.cpp: * platform/graphics/wince/MediaPlayerPrivateWinCE.h: * platform/graphics/wince/SimpleFontDataWinCE.cpp: * platform/gtk/CompositionResults.h: * platform/gtk/CursorGtk.cpp: * platform/gtk/GtkPluginWidget.cpp: * platform/gtk/GtkPluginWidget.h: * platform/gtk/LocalizedStringsGtk.cpp: * platform/gtk/MIMETypeRegistryGtk.cpp: * platform/gtk/PlatformKeyboardEventGtk.cpp: * platform/gtk/PlatformMouseEventGtk.cpp: * platform/gtk/PlatformScreenGtk.cpp: * platform/gtk/PlatformWheelEventGtk.cpp: * platform/gtk/RedirectedXCompositeWindow.cpp: * platform/gtk/RedirectedXCompositeWindow.h: * platform/gtk/RenderThemeGtk.h: * platform/gtk/ScrollViewGtk.cpp: * platform/gtk/SharedTimerGtk.cpp: * platform/gtk/TemporaryLinkStubs.cpp: * platform/gtk/UserAgentGtk.cpp: * platform/gtk/UserAgentGtk.h: * platform/gtk/WidgetGtk.cpp: * platform/gtk/WidgetRenderingContext.cpp: * platform/image-decoders/ImageDecoder.h: * platform/image-decoders/cairo/ImageDecoderCairo.cpp: * platform/image-decoders/gif/GIFImageDecoder.cpp: * platform/image-decoders/gif/GIFImageDecoder.h: * platform/image-decoders/gif/GIFImageReader.cpp: * platform/image-decoders/jpeg/JPEGImageDecoder.cpp: * platform/image-decoders/jpeg/JPEGImageDecoder.h: * platform/image-decoders/png/PNGImageDecoder.cpp: * platform/image-decoders/png/PNGImageDecoder.h: * platform/image-decoders/webp/WEBPImageDecoder.cpp: * platform/image-decoders/webp/WEBPImageDecoder.h: * platform/ios/CursorIOS.cpp: * platform/ios/DragImageIOS.mm: * platform/ios/KeyEventCodesIOS.h: * platform/ios/KeyEventIOS.mm: * platform/ios/PlatformPasteboardIOS.mm: * platform/ios/PlatformScreenIOS.mm: * platform/ios/PlatformSpeechSynthesizerIOS.mm: * platform/ios/RemoteCommandListenerIOS.h: * platform/ios/RemoteCommandListenerIOS.mm: * platform/ios/ScrollViewIOS.mm: * platform/ios/SoundIOS.mm: * platform/ios/SystemMemory.h: * platform/ios/SystemMemoryIOS.cpp: * platform/ios/WebCoreSystemInterfaceIOS.h: * platform/ios/WebCoreSystemInterfaceIOS.mm: * platform/ios/WidgetIOS.mm: * platform/mac/BlockExceptions.h: * platform/mac/BlockExceptions.mm: * platform/mac/ContextMenuItemMac.mm: * platform/mac/ContextMenuMac.mm: * platform/mac/CursorMac.mm: * platform/mac/DragDataMac.mm: * platform/mac/DragImageMac.mm: * platform/mac/FileSystemMac.mm: * platform/mac/KeyEventMac.mm: * platform/mac/LocalCurrentGraphicsContext.h: * platform/mac/LocalCurrentGraphicsContext.mm: * platform/mac/LoggingMac.mm: * platform/mac/MIMETypeRegistryMac.mm: * platform/mac/MediaTimeMac.cpp: * platform/mac/MediaTimeMac.h: * platform/mac/PasteboardMac.mm: * platform/mac/PlatformClockCA.cpp: * platform/mac/PlatformClockCA.h: * platform/mac/PlatformClockCM.h: * platform/mac/PlatformClockCM.mm: * platform/mac/PlatformPasteboardMac.mm: * platform/mac/PlatformScreenMac.mm: * platform/mac/PlatformSpeechSynthesisMac.mm: * platform/mac/PlatformSpeechSynthesizerMac.mm: * platform/mac/ScrollViewMac.mm: * platform/mac/SharedBufferMac.mm: * platform/mac/SharedTimerMac.mm: * platform/mac/SoftLinking.h: * platform/mac/SoundMac.mm: * platform/mac/ThreadCheck.mm: * platform/mac/URLMac.mm: * platform/mac/WebCoreNSStringExtras.h: * platform/mac/WebCoreNSStringExtras.mm: * platform/mac/WebCoreNSURLExtras.h: * platform/mac/WebCoreNSURLExtras.mm: * platform/mac/WebCoreObjCExtras.h: * platform/mac/WebCoreObjCExtras.mm: * platform/mac/WebCoreSystemInterface.h: * platform/mac/WebCoreSystemInterface.mm: * platform/mac/WebCoreView.h: * platform/mac/WebCoreView.m: * platform/mac/WebFontCache.h: * platform/mac/WebFontCache.mm: * platform/mac/WebWindowAnimation.h: * platform/mac/WebWindowAnimation.mm: * platform/mac/WidgetMac.mm: * platform/mediastream/MediaStreamConstraintsValidationClient.h: * platform/mediastream/MediaStreamCreationClient.h: * platform/mediastream/MediaStreamSourceCapabilities.h: * platform/mediastream/MediaStreamSourceStates.h: * platform/mediastream/MediaStreamTrackSourcesRequestClient.h: * platform/mediastream/RTCIceServer.h: * platform/mediastream/mac/AVAudioCaptureSource.h: * platform/mediastream/mac/AVAudioCaptureSource.mm: * platform/mediastream/mac/AVCaptureDeviceManager.h: * platform/mediastream/mac/AVCaptureDeviceManager.mm: * platform/mediastream/mac/AVMediaCaptureSource.h: * platform/mediastream/mac/AVMediaCaptureSource.mm: * platform/mediastream/mac/AVVideoCaptureSource.h: * platform/mediastream/mac/AVVideoCaptureSource.mm: * platform/mock/MockMediaStreamCenter.cpp: * platform/mock/MockMediaStreamCenter.h: * platform/mock/PlatformSpeechSynthesizerMock.cpp: * platform/mock/PlatformSpeechSynthesizerMock.h: * platform/mock/mediasource/MockBox.cpp: * platform/mock/mediasource/MockBox.h: * platform/mock/mediasource/MockMediaPlayerMediaSource.cpp: * platform/mock/mediasource/MockMediaPlayerMediaSource.h: * platform/mock/mediasource/MockMediaSourcePrivate.cpp: * platform/mock/mediasource/MockMediaSourcePrivate.h: * platform/mock/mediasource/MockSourceBufferPrivate.cpp: * platform/mock/mediasource/MockSourceBufferPrivate.h: * platform/mock/mediasource/MockTracks.cpp: * platform/mock/mediasource/MockTracks.h: * platform/network/AuthenticationChallengeBase.cpp: * platform/network/AuthenticationChallengeBase.h: * platform/network/Credential.cpp: * platform/network/Credential.h: * platform/network/DNS.h: * platform/network/DNSResolveQueue.cpp: * platform/network/DNSResolveQueue.h: * platform/network/DataURL.cpp: * platform/network/DataURL.h: * platform/network/HTTPHeaderMap.h: * platform/network/HTTPParsers.cpp: * platform/network/HTTPParsers.h: * platform/network/PlatformCookieJar.h: * platform/network/ProtectionSpace.cpp: * platform/network/ProtectionSpace.h: * platform/network/ResourceErrorBase.cpp: * platform/network/ResourceErrorBase.h: * platform/network/ResourceHandle.cpp: * platform/network/ResourceHandle.h: * platform/network/ResourceHandleClient.h: * platform/network/ResourceHandleInternal.h: * platform/network/ResourceRequestBase.cpp: * platform/network/ResourceRequestBase.h: * platform/network/ResourceResponseBase.cpp: * platform/network/ResourceResponseBase.h: * platform/network/cf/AuthenticationCF.cpp: * platform/network/cf/AuthenticationCF.h: * platform/network/cf/AuthenticationChallenge.h: * platform/network/cf/CookieJarCFNet.cpp: * platform/network/cf/CookieStorageCFNet.cpp: * platform/network/cf/DNSCFNet.cpp: * platform/network/cf/DownloadBundle.h: * platform/network/cf/FormDataStreamCFNet.cpp: * platform/network/cf/FormDataStreamCFNet.h: * platform/network/cf/ResourceError.h: * platform/network/cf/ResourceErrorCF.cpp: * platform/network/cf/ResourceHandleCFNet.cpp: * platform/network/cf/ResourceHandleCFURLConnectionDelegate.cpp: * platform/network/cf/ResourceHandleCFURLConnectionDelegate.h: * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp: * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h: * platform/network/cf/ResourceRequest.h: * platform/network/cf/ResourceRequestCFNet.cpp: * platform/network/cf/ResourceRequestCFNet.h: * platform/network/cf/ResourceResponse.h: * platform/network/cf/ResourceResponseCFNet.cpp: * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp: * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h: * platform/network/curl/AuthenticationChallenge.h: * platform/network/curl/CurlDownload.cpp: * platform/network/curl/CurlDownload.h: * platform/network/curl/DNSCurl.cpp: * platform/network/curl/DownloadBundle.h: * platform/network/curl/FormDataStreamCurl.cpp: * platform/network/curl/FormDataStreamCurl.h: * platform/network/curl/ResourceError.h: * platform/network/curl/ResourceHandleCurl.cpp: * platform/network/curl/ResourceHandleManager.cpp: * platform/network/curl/ResourceHandleManager.h: * platform/network/curl/ResourceRequest.h: * platform/network/curl/ResourceResponse.h: * platform/network/curl/SSLHandle.cpp: * platform/network/curl/SSLHandle.h: * platform/network/gtk/CredentialBackingStore.cpp: * platform/network/gtk/CredentialBackingStore.h: * platform/network/ios/WebCoreURLResponseIOS.h: * platform/network/ios/WebCoreURLResponseIOS.mm: * platform/network/mac/AuthenticationMac.h: * platform/network/mac/AuthenticationMac.mm: * platform/network/mac/CookieJarMac.mm: * platform/network/mac/CookieStorageMac.mm: * platform/network/mac/FormDataStreamMac.h: * platform/network/mac/FormDataStreamMac.mm: * platform/network/mac/ResourceErrorMac.mm: * platform/network/mac/ResourceHandleMac.mm: * platform/network/mac/ResourceRequestMac.mm: * platform/network/mac/ResourceResponseMac.mm: * platform/network/mac/WebCoreURLResponse.h: * platform/network/mac/WebCoreURLResponse.mm: * platform/network/soup/AuthenticationChallenge.h: * platform/network/soup/AuthenticationChallengeSoup.cpp: * platform/network/soup/CookieJarSoup.h: * platform/network/soup/DNSSoup.cpp: * platform/network/soup/ResourceError.h: * platform/network/soup/ResourceErrorSoup.cpp: * platform/network/soup/ResourceRequest.h: * platform/network/soup/ResourceResponse.h: * platform/network/soup/SoupNetworkSession.cpp: * platform/network/soup/SoupNetworkSession.h: * platform/network/win/CookieJarWin.cpp: * platform/network/win/DownloadBundleWin.cpp: * platform/network/win/ResourceError.h: * platform/network/win/ResourceHandleWin.cpp: * platform/network/win/ResourceRequest.h: * platform/network/win/ResourceResponse.h: * platform/posix/FileSystemPOSIX.cpp: * platform/posix/SharedBufferPOSIX.cpp: * platform/soup/URLSoup.cpp: * platform/sql/SQLValue.cpp: * platform/sql/SQLValue.h: * platform/sql/SQLiteAuthorizer.cpp: * platform/sql/SQLiteDatabase.cpp: * platform/sql/SQLiteDatabase.h: * platform/sql/SQLiteStatement.cpp: * platform/sql/SQLiteStatement.h: * platform/sql/SQLiteTransaction.cpp: * platform/sql/SQLiteTransaction.h: * platform/text/SuffixTree.h: * platform/text/TextAllInOne.cpp: * platform/text/TextBoundaries.cpp: * platform/text/TextBoundaries.h: * platform/text/TextCodec.cpp: * platform/text/TextCodec.h: * platform/text/TextCodecASCIIFastPath.h: * platform/text/TextCodecICU.cpp: * platform/text/TextCodecICU.h: * platform/text/TextCodecLatin1.cpp: * platform/text/TextCodecLatin1.h: * platform/text/TextCodecUTF16.cpp: * platform/text/TextCodecUTF16.h: * platform/text/TextCodecUTF8.cpp: * platform/text/TextCodecUTF8.h: * platform/text/TextCodecUserDefined.cpp: * platform/text/TextCodecUserDefined.h: * platform/text/TextDirection.h: * platform/text/TextEncoding.cpp: * platform/text/TextEncoding.h: * platform/text/TextEncodingRegistry.cpp: * platform/text/TextEncodingRegistry.h: * platform/text/TextStream.cpp: * platform/text/TextStream.h: * platform/text/UnicodeBidi.h: * platform/text/mac/CharsetData.h: * platform/text/mac/TextBoundaries.mm: * platform/text/mac/TextCodecMac.cpp: * platform/text/mac/TextCodecMac.h: * platform/text/mac/character-sets.txt: * platform/text/mac/make-charset-table.pl: * platform/text/win/TextCodecWin.h: * platform/win/BString.cpp: * platform/win/BString.h: * platform/win/COMPtr.h: * platform/win/ClipboardUtilitiesWin.cpp: * platform/win/ClipboardUtilitiesWin.h: * platform/win/ContextMenuItemWin.cpp: * platform/win/ContextMenuWin.cpp: * platform/win/CursorWin.cpp: * platform/win/DragDataWin.cpp: * platform/win/DragImageCGWin.cpp: * platform/win/DragImageCairoWin.cpp: * platform/win/DragImageWin.cpp: * platform/win/FileSystemWin.cpp: * platform/win/GDIObjectCounter.cpp: * platform/win/GDIObjectCounter.h: * platform/win/HWndDC.h: * platform/win/KeyEventWin.cpp: * platform/win/LanguageWin.cpp: * platform/win/MIMETypeRegistryWin.cpp: * platform/win/PasteboardWin.cpp: * platform/win/PlatformMouseEventWin.cpp: * platform/win/PlatformScreenWin.cpp: * platform/win/SharedBufferWin.cpp: * platform/win/SharedTimerWin.cpp: * platform/win/SoftLinking.h: * platform/win/SoundWin.cpp: * platform/win/StructuredExceptionHandlerSuppressor.cpp: * platform/win/TemporaryLinkStubs.cpp: * platform/win/WCDataObject.cpp: * platform/win/WCDataObject.h: * platform/win/WebCoreTextRenderer.cpp: * platform/win/WebCoreTextRenderer.h: * platform/win/WheelEventWin.cpp: * platform/win/WidgetWin.cpp: * platform/win/WindowMessageBroadcaster.cpp: * platform/win/WindowMessageBroadcaster.h: * platform/win/WindowMessageListener.h: * platform/win/WindowsTouch.h: * platform/win/makesafeseh.asm: * plugins/PluginDatabase.cpp: * plugins/PluginDatabase.h: * plugins/PluginDebug.cpp: * plugins/PluginDebug.h: * plugins/PluginPackage.cpp: * plugins/PluginPackage.h: * plugins/PluginQuirkSet.h: * plugins/PluginStream.cpp: * plugins/PluginStream.h: * plugins/PluginView.cpp: * plugins/PluginView.h: * plugins/efl/PluginPackageEfl.cpp: * plugins/efl/PluginViewEfl.cpp: * plugins/gtk/PluginPackageGtk.cpp: * plugins/gtk/PluginViewGtk.cpp: * plugins/mac/PluginPackageMac.cpp: * plugins/mac/PluginViewMac.mm: * plugins/npapi.cpp: * plugins/npfunctions.h: * plugins/npruntime.h: * plugins/win/PluginDatabaseWin.cpp: * plugins/win/PluginPackageWin.cpp: * plugins/win/PluginViewWin.cpp: * plugins/x11/PluginViewX11.cpp: * rendering/EllipsisBox.cpp: * rendering/EllipsisBox.h: * rendering/FilterEffectRenderer.cpp: * rendering/FilterEffectRenderer.h: * rendering/HitTestLocation.h: * rendering/HitTestRequest.h: * rendering/HitTestResult.h: * rendering/HitTestingTransformState.cpp: * rendering/HitTestingTransformState.h: * rendering/RenderBoxRegionInfo.h: * rendering/RenderButton.cpp: * rendering/RenderButton.h: * rendering/RenderDeprecatedFlexibleBox.cpp: * rendering/RenderDeprecatedFlexibleBox.h: * rendering/RenderFieldset.cpp: * rendering/RenderFrameBase.cpp: * rendering/RenderFrameBase.h: * rendering/RenderFrameSet.cpp: * rendering/RenderGeometryMap.cpp: * rendering/RenderGeometryMap.h: * rendering/RenderGrid.cpp: * rendering/RenderGrid.h: * rendering/RenderHTMLCanvas.cpp: * rendering/RenderHTMLCanvas.h: * rendering/RenderIFrame.cpp: * rendering/RenderIFrame.h: * rendering/RenderLayerBacking.cpp: * rendering/RenderLayerBacking.h: * rendering/RenderLayerCompositor.cpp: * rendering/RenderLayerCompositor.h: * rendering/RenderLineBoxList.cpp: * rendering/RenderLineBoxList.h: * rendering/RenderListBox.cpp: * rendering/RenderListBox.h: * rendering/RenderMarquee.h: * rendering/RenderMedia.cpp: * rendering/RenderMedia.h: * rendering/RenderMultiColumnFlowThread.cpp: * rendering/RenderMultiColumnFlowThread.h: * rendering/RenderMultiColumnSet.cpp: * rendering/RenderMultiColumnSet.h: * rendering/RenderNamedFlowThread.cpp: * rendering/RenderNamedFlowThread.h: * rendering/RenderRegionSet.cpp: * rendering/RenderRegionSet.h: * rendering/RenderReplica.cpp: * rendering/RenderReplica.h: * rendering/RenderTheme.cpp: * rendering/RenderTheme.h: * rendering/RenderThemeMac.h: * rendering/RenderThemeWin.h: * rendering/RenderThemeWinCE.cpp: * rendering/RenderThemeWinCE.h: * rendering/RenderTreeAsText.cpp: * rendering/RenderTreeAsText.h: * rendering/RenderVTTCue.cpp: * rendering/RenderVTTCue.h: * rendering/RenderVideo.cpp: * rendering/RenderVideo.h: * rendering/RenderView.h: * rendering/style/SVGRenderStyle.cpp: * rendering/style/SVGRenderStyle.h: * rendering/style/SVGRenderStyleDefs.cpp: * rendering/style/SVGRenderStyleDefs.h: * rendering/style/StyleFilterData.cpp: * rendering/style/StyleFilterData.h: * rendering/style/StylePendingImage.h: * rendering/svg/RenderSVGBlock.cpp: * rendering/svg/RenderSVGBlock.h: * rendering/svg/RenderSVGForeignObject.cpp: * rendering/svg/RenderSVGForeignObject.h: * rendering/svg/RenderSVGImage.cpp: * rendering/svg/RenderSVGInline.h: * rendering/svg/RenderSVGInlineText.cpp: * rendering/svg/RenderSVGPath.h: * rendering/svg/RenderSVGShape.h: * rendering/svg/RenderSVGTSpan.h: * rendering/svg/RenderSVGText.cpp: * rendering/svg/RenderSVGText.h: * rendering/svg/SVGInlineFlowBox.cpp: * rendering/svg/SVGInlineFlowBox.h: * rendering/svg/SVGRenderTreeAsText.cpp: * rendering/svg/SVGRenderTreeAsText.h: * rendering/svg/SVGRootInlineBox.cpp: * rendering/svg/SVGRootInlineBox.h: * storage/StorageEventDispatcher.h: * svg/SVGException.cpp: * svg/graphics/SVGImageChromeClient.h: * workers/Worker.cpp: * workers/Worker.h: * workers/Worker.idl: * workers/WorkerEventQueue.cpp: * workers/WorkerEventQueue.h: * workers/WorkerGlobalScope.cpp: * workers/WorkerGlobalScope.h: * workers/WorkerGlobalScope.idl: * workers/WorkerLocation.cpp: * workers/WorkerLocation.h: * workers/WorkerLocation.idl: * workers/WorkerMessagingProxy.cpp: * workers/WorkerMessagingProxy.h: * workers/WorkerScriptLoader.cpp: * workers/WorkerScriptLoader.h: * workers/WorkerScriptLoaderClient.h: * workers/WorkerThread.cpp: * workers/WorkerThread.h: * xml/DOMParser.h: * xml/DOMParser.idl: * xml/NativeXPathNSResolver.cpp: * xml/NativeXPathNSResolver.h: * xml/XMLHttpRequest.idl: * xml/XMLHttpRequestException.cpp: * xml/XMLHttpRequestException.h: * xml/XMLHttpRequestException.idl: * xml/XMLHttpRequestProgressEvent.h: * xml/XMLHttpRequestProgressEvent.idl: * xml/XMLHttpRequestUpload.idl: * xml/XMLSerializer.h: * xml/XMLSerializer.idl: * xml/XPathEvaluator.cpp: * xml/XPathEvaluator.h: * xml/XPathEvaluator.idl: * xml/XPathException.cpp: * xml/XPathException.h: * xml/XPathException.idl: * xml/XPathExpression.idl: * xml/XPathExpressionNode.cpp: * xml/XPathNSResolver.cpp: * xml/XPathNSResolver.h: * xml/XPathNSResolver.idl: * xml/XPathNodeSet.h: * xml/XPathResult.idl: * xml/XPathUtil.h: * xml/XPathVariableReference.cpp: * xml/XSLTProcessor.idl: * xml/XSLTUnicodeSort.cpp: * xml/XSLTUnicodeSort.h: Source/WebInspectorUI: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * APPLE_IMAGES_LICENSE.rtf: * UserInterface/Base/DOMUtilities.js: * UserInterface/Models/Color.js: * UserInterface/Views/ConsoleCommand.js: * UserInterface/Views/ConsoleCommandResult.js: * UserInterface/Views/ConsoleGroup.js: * UserInterface/Views/ConsoleMessage.js: * UserInterface/Views/ConsoleMessageImpl.js: * UserInterface/Views/DOMTreeElement.js: * UserInterface/Views/DOMTreeOutline.js: * UserInterface/Views/DOMTreeUpdater.js: * UserInterface/Views/GradientSlider.css: * UserInterface/Views/GradientSlider.js: * UserInterface/Views/TreeOutline.js: Source/WebKit: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * scripts/generate-webkitversion.pl: (printLicenseHeader): Source/WebKit/efl: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/ContextMenuClientEfl.cpp: * WebCoreSupport/ContextMenuClientEfl.h: * WebCoreSupport/DeviceMotionClientEfl.cpp: * WebCoreSupport/DeviceOrientationClientEfl.cpp: * WebCoreSupport/DragClientEfl.cpp: * WebCoreSupport/EditorClientEfl.h: * WebCoreSupport/FrameLoaderClientEfl.cpp: * WebCoreSupport/FrameLoaderClientEfl.h: * WebCoreSupport/FrameNetworkingContextEfl.cpp: * WebCoreSupport/FrameNetworkingContextEfl.h: * WebCoreSupport/InspectorClientEfl.h: * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp: * WebCoreSupport/NavigatorContentUtilsClientEfl.h: * WebCoreSupport/NetworkInfoClientEfl.cpp: Source/WebKit/gtk: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * WebCoreSupport/ContextMenuClientGtk.h: * WebCoreSupport/DocumentLoaderGtk.cpp: * WebCoreSupport/DocumentLoaderGtk.h: * WebCoreSupport/EditorClientGtk.h: * WebCoreSupport/FrameLoaderClientGtk.h: * WebCoreSupport/InspectorClientGtk.h: * WebCoreSupport/TextCheckerClientGtk.h: Source/WebKit/ios: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * WebCoreSupport/WebCaretChangeListener.h: * WebCoreSupport/WebInspectorClientIOS.mm: * WebView/WebPlainWhiteView.h: * WebView/WebPlainWhiteView.mm: Source/WebKit/mac: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * Carbon/CarbonUtils.h: * Carbon/CarbonUtils.m: * Carbon/CarbonWindowAdapter.h: * Carbon/CarbonWindowAdapter.mm: * Carbon/CarbonWindowContentView.h: * Carbon/CarbonWindowContentView.m: * Carbon/CarbonWindowFrame.h: * Carbon/CarbonWindowFrame.m: * Carbon/HIViewAdapter.h: * Carbon/HIViewAdapter.m: * Carbon/HIWebView.h: * Carbon/HIWebView.mm: * DOM/WebDOMOperations.h: * DOM/WebDOMOperations.mm: * DOM/WebDOMOperationsInternal.h: * DOM/WebDOMOperationsPrivate.h: * DefaultDelegates/WebDefaultContextMenuDelegate.h: * DefaultDelegates/WebDefaultContextMenuDelegate.mm: * DefaultDelegates/WebDefaultEditingDelegate.h: * DefaultDelegates/WebDefaultEditingDelegate.m: * DefaultDelegates/WebDefaultPolicyDelegate.h: * DefaultDelegates/WebDefaultPolicyDelegate.m: * DefaultDelegates/WebDefaultUIDelegate.h: * DefaultDelegates/WebDefaultUIDelegate.m: * History/WebBackForwardList.h: * History/WebBackForwardList.mm: * History/WebBackForwardListInternal.h: * History/WebBackForwardListPrivate.h: * History/WebHistory.h: * History/WebHistory.mm: * History/WebHistoryInternal.h: * History/WebHistoryItem.h: * History/WebHistoryItem.mm: * History/WebHistoryItemInternal.h: * History/WebHistoryItemPrivate.h: * History/WebHistoryPrivate.h: * History/WebURLsWithTitles.h: * History/WebURLsWithTitles.m: * MigrateHeaders.make: * Misc/OldWebAssertions.c: * Misc/WebCache.h: * Misc/WebCache.mm: * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: * Misc/WebDownload.h: * Misc/WebDownload.mm: * Misc/WebDownloadInternal.h: * Misc/WebElementDictionary.h: * Misc/WebElementDictionary.mm: * Misc/WebIconDatabase.h: * Misc/WebIconDatabase.mm: * Misc/WebIconDatabaseDelegate.h: * Misc/WebIconDatabaseInternal.h: * Misc/WebIconDatabasePrivate.h: * Misc/WebKit.h: * Misc/WebKitErrors.h: * Misc/WebKitErrors.m: * Misc/WebKitErrorsPrivate.h: * Misc/WebKitLogging.h: * Misc/WebKitLogging.m: * Misc/WebKitNSStringExtras.h: * Misc/WebKitNSStringExtras.mm: * Misc/WebKitStatistics.h: * Misc/WebKitStatistics.m: * Misc/WebKitStatisticsPrivate.h: * Misc/WebKitSystemBits.h: * Misc/WebKitSystemBits.m: * Misc/WebKitVersionChecks.h: * Misc/WebKitVersionChecks.m: * Misc/WebLocalizableStrings.h: * Misc/WebLocalizableStrings.mm: * Misc/WebNSArrayExtras.h: * Misc/WebNSArrayExtras.m: * Misc/WebNSControlExtras.h: * Misc/WebNSControlExtras.m: * Misc/WebNSDataExtras.h: * Misc/WebNSDataExtras.m: * Misc/WebNSDataExtrasPrivate.h: * Misc/WebNSDictionaryExtras.h: * Misc/WebNSDictionaryExtras.m: * Misc/WebNSEventExtras.h: * Misc/WebNSEventExtras.m: * Misc/WebNSFileManagerExtras.h: * Misc/WebNSFileManagerExtras.mm: * Misc/WebNSImageExtras.h: * Misc/WebNSImageExtras.m: * Misc/WebNSObjectExtras.h: * Misc/WebNSObjectExtras.mm: * Misc/WebNSPasteboardExtras.h: * Misc/WebNSPasteboardExtras.mm: * Misc/WebNSPrintOperationExtras.h: * Misc/WebNSPrintOperationExtras.m: * Misc/WebNSURLExtras.h: * Misc/WebNSURLExtras.mm: * Misc/WebNSURLRequestExtras.h: * Misc/WebNSURLRequestExtras.m: * Misc/WebNSUserDefaultsExtras.h: * Misc/WebNSUserDefaultsExtras.mm: * Misc/WebNSViewExtras.h: * Misc/WebNSViewExtras.m: * Misc/WebNSWindowExtras.h: * Misc/WebNSWindowExtras.m: * Misc/WebStringTruncator.h: * Misc/WebStringTruncator.mm: * Misc/WebTypesInternal.h: * Panels/WebAuthenticationPanel.h: * Panels/WebAuthenticationPanel.m: * Panels/WebPanelAuthenticationHandler.h: * Panels/WebPanelAuthenticationHandler.m: * Plugins/Hosted/ProxyRuntimeObject.h: * Plugins/Hosted/ProxyRuntimeObject.mm: * Plugins/WebBaseNetscapePluginView.h: * Plugins/WebBaseNetscapePluginView.mm: * Plugins/WebBasePluginPackage.h: * Plugins/WebBasePluginPackage.mm: * Plugins/WebJavaPlugIn.h: * Plugins/WebNetscapeContainerCheckContextInfo.h: * Plugins/WebNetscapeContainerCheckPrivate.h: * Plugins/WebNetscapeContainerCheckPrivate.mm: * Plugins/WebNetscapePluginPackage.h: * Plugins/WebNetscapePluginPackage.mm: * Plugins/WebNetscapePluginStream.h: * Plugins/WebNetscapePluginStream.mm: * Plugins/WebNetscapePluginView.h: * Plugins/WebNetscapePluginView.mm: * Plugins/WebPlugin.h: * Plugins/WebPluginContainer.h: * Plugins/WebPluginContainerCheck.h: * Plugins/WebPluginContainerCheck.mm: * Plugins/WebPluginContainerPrivate.h: * Plugins/WebPluginController.h: * Plugins/WebPluginController.mm: * Plugins/WebPluginDatabase.h: * Plugins/WebPluginDatabase.mm: * Plugins/WebPluginPackage.h: * Plugins/WebPluginPackage.mm: * Plugins/WebPluginRequest.h: * Plugins/WebPluginRequest.m: * Plugins/WebPluginViewFactory.h: * Plugins/WebPluginViewFactoryPrivate.h: * Plugins/WebPluginsPrivate.h: * Plugins/WebPluginsPrivate.m: * Plugins/npapi.mm: * Storage/WebDatabaseManager.mm: * Storage/WebDatabaseManagerInternal.h: * Storage/WebDatabaseManagerPrivate.h: * WebCoreSupport/SearchPopupMenuMac.mm: * WebCoreSupport/WebAlternativeTextClient.h: * WebCoreSupport/WebAlternativeTextClient.mm: * WebCoreSupport/WebCachedFramePlatformData.h: * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: * WebCoreSupport/WebContextMenuClient.h: * WebCoreSupport/WebContextMenuClient.mm: * WebCoreSupport/WebDragClient.h: * WebCoreSupport/WebDragClient.mm: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.mm: * WebCoreSupport/WebIconDatabaseClient.h: * WebCoreSupport/WebIconDatabaseClient.mm: * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebInspectorClient.mm: * WebCoreSupport/WebJavaScriptTextInputPanel.h: * WebCoreSupport/WebJavaScriptTextInputPanel.m: * WebCoreSupport/WebSecurityOrigin.mm: * WebCoreSupport/WebSecurityOriginInternal.h: * WebCoreSupport/WebSecurityOriginPrivate.h: * WebCoreSupport/WebSystemInterface.h: * WebCoreSupport/WebSystemInterface.mm: * WebInspector/WebInspector.h: * WebInspector/WebInspector.mm: * WebInspector/WebInspectorPrivate.h: * WebInspector/WebNodeHighlight.h: * WebInspector/WebNodeHighlight.mm: * WebInspector/WebNodeHighlightView.h: * WebInspector/WebNodeHighlightView.mm: * WebInspector/WebNodeHighlighter.h: * WebInspector/WebNodeHighlighter.mm: * WebKitLegacy/MigrateHeadersToLegacy.make: * WebKitPrefix.h: * WebView/WebArchive.h: * WebView/WebArchive.mm: * WebView/WebArchiveInternal.h: * WebView/WebClipView.h: * WebView/WebClipView.mm: * WebView/WebDashboardRegion.h: * WebView/WebDashboardRegion.mm: * WebView/WebDataSource.h: * WebView/WebDataSource.mm: * WebView/WebDataSourceInternal.h: * WebView/WebDataSourcePrivate.h: * WebView/WebDelegateImplementationCaching.h: * WebView/WebDelegateImplementationCaching.mm: * WebView/WebDocument.h: * WebView/WebDocumentInternal.h: * WebView/WebDocumentLoaderMac.h: * WebView/WebDocumentLoaderMac.mm: * WebView/WebDocumentPrivate.h: * WebView/WebDynamicScrollBarsViewInternal.h: * WebView/WebEditingDelegate.h: * WebView/WebEditingDelegatePrivate.h: * WebView/WebFormDelegate.h: * WebView/WebFormDelegate.m: * WebView/WebFormDelegatePrivate.h: * WebView/WebFrame.h: * WebView/WebFrame.mm: * WebView/WebFrameInternal.h: * WebView/WebFrameLoadDelegate.h: * WebView/WebFrameLoadDelegatePrivate.h: * WebView/WebFramePrivate.h: * WebView/WebFrameView.h: * WebView/WebFrameView.mm: * WebView/WebFrameViewInternal.h: * WebView/WebFrameViewPrivate.h: * WebView/WebHTMLRepresentation.h: * WebView/WebHTMLRepresentation.mm: * WebView/WebHTMLRepresentationPrivate.h: * WebView/WebHTMLView.h: * WebView/WebHTMLView.mm: * WebView/WebHTMLViewInternal.h: * WebView/WebHTMLViewPrivate.h: * WebView/WebNotification.h: * WebView/WebNotification.mm: * WebView/WebNotificationInternal.h: * WebView/WebPDFRepresentation.h: * WebView/WebPDFRepresentation.mm: * WebView/WebPDFView.h: * WebView/WebPDFView.mm: * WebView/WebPolicyDelegate.h: * WebView/WebPolicyDelegate.mm: * WebView/WebPolicyDelegatePrivate.h: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.h: * WebView/WebPreferences.mm: * WebView/WebPreferencesPrivate.h: * WebView/WebRenderLayer.h: * WebView/WebRenderLayer.mm: * WebView/WebRenderNode.h: * WebView/WebRenderNode.mm: * WebView/WebResource.h: * WebView/WebResource.mm: * WebView/WebResourceInternal.h: * WebView/WebResourceLoadDelegate.h: * WebView/WebResourceLoadDelegatePrivate.h: * WebView/WebResourcePrivate.h: * WebView/WebScriptDebugDelegate.h: * WebView/WebScriptDebugDelegate.mm: * WebView/WebScriptDebugger.h: * WebView/WebScriptDebugger.mm: * WebView/WebTextCompletionController.mm: * WebView/WebUIDelegate.h: * WebView/WebUIDelegatePrivate.h: * WebView/WebView.h: * WebView/WebView.mm: * WebView/WebViewData.h: * WebView/WebViewData.mm: * WebView/WebViewInternal.h: * WebView/WebViewPrivate.h: Source/WebKit/win: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * CFDictionaryPropertyBag.cpp: * CFDictionaryPropertyBag.h: * CodeAnalysisConfig.h: * DOMCSSClasses.cpp: * DOMCSSClasses.h: * DOMCoreClasses.cpp: * DOMCoreClasses.h: * DOMEventsClasses.cpp: * DOMEventsClasses.h: * DOMHTMLClasses.cpp: * DOMHTMLClasses.h: * DefaultDownloadDelegate.cpp: * DefaultDownloadDelegate.h: * DefaultPolicyDelegate.cpp: * DefaultPolicyDelegate.h: * ForEachCoClass.cpp: * ForEachCoClass.h: * FullscreenVideoController.cpp: * FullscreenVideoController.h: * Interfaces/AccessibilityDelegate.idl: * Interfaces/DOMCSS.idl: * Interfaces/DOMCore.idl: * Interfaces/DOMEvents.idl: * Interfaces/DOMExtensions.idl: * Interfaces/DOMHTML.idl: * Interfaces/DOMPrivate.idl: * Interfaces/DOMRange.idl: * Interfaces/DOMWindow.idl: * Interfaces/IGEN_DOMObject.idl: * Interfaces/IWebArchive.idl: * Interfaces/IWebBackForwardList.idl: * Interfaces/IWebBackForwardListPrivate.idl: * Interfaces/IWebCache.idl: * Interfaces/IWebDataSource.idl: * Interfaces/IWebDatabaseManager.idl: * Interfaces/IWebDocument.idl: * Interfaces/IWebDownload.idl: * Interfaces/IWebEditingDelegate.idl: * Interfaces/IWebError.idl: * Interfaces/IWebErrorPrivate.idl: * Interfaces/IWebFormDelegate.idl: * Interfaces/IWebFrame.idl: * Interfaces/IWebFrameLoadDelegate.idl: * Interfaces/IWebFrameLoadDelegatePrivate.idl: * Interfaces/IWebFrameLoadDelegatePrivate2.idl: * Interfaces/IWebFramePrivate.idl: * Interfaces/IWebFrameView.idl: * Interfaces/IWebHTMLRepresentation.idl: * Interfaces/IWebHTTPURLResponse.idl: * Interfaces/IWebHistory.idl: * Interfaces/IWebHistoryDelegate.idl: * Interfaces/IWebHistoryItem.idl: * Interfaces/IWebHistoryItemPrivate.idl: * Interfaces/IWebHistoryPrivate.idl: * Interfaces/IWebIconDatabase.idl: * Interfaces/IWebInspector.idl: * Interfaces/IWebInspectorPrivate.idl: * Interfaces/IWebJavaScriptCollector.idl: * Interfaces/IWebKitStatistics.idl: * Interfaces/IWebMutableURLRequest.idl: * Interfaces/IWebMutableURLRequestPrivate.idl: * Interfaces/IWebNavigationData.idl: * Interfaces/IWebNotification.idl: * Interfaces/IWebNotificationCenter.idl: * Interfaces/IWebNotificationObserver.idl: * Interfaces/IWebPolicyDelegate.idl: * Interfaces/IWebPolicyDelegatePrivate.idl: * Interfaces/IWebPreferences.idl: * Interfaces/IWebPreferencesPrivate.idl: * Interfaces/IWebResource.idl: * Interfaces/IWebResourceLoadDelegate.idl: * Interfaces/IWebResourceLoadDelegatePrivate.idl: * Interfaces/IWebResourceLoadDelegatePrivate2.idl: * Interfaces/IWebScriptObject.idl: * Interfaces/IWebSecurityOrigin.idl: * Interfaces/IWebSerializedJSValuePrivate.idl: * Interfaces/IWebTextRenderer.idl: * Interfaces/IWebUIDelegate.idl: * Interfaces/IWebUIDelegatePrivate.idl: * Interfaces/IWebURLAuthenticationChallenge.idl: * Interfaces/IWebURLRequest.idl: * Interfaces/IWebURLResponse.idl: * Interfaces/IWebURLResponsePrivate.idl: * Interfaces/IWebUndoManager.idl: * Interfaces/IWebUndoTarget.idl: * Interfaces/IWebView.idl: * Interfaces/IWebViewPrivate.idl: * Interfaces/WebKit.idl: * Interfaces/WebScrollbarTypes.idl: * MarshallingHelpers.cpp: * MarshallingHelpers.h: * MemoryStream.cpp: * MemoryStream.h: * ProgIDMacros.h: * WebActionPropertyBag.cpp: * WebActionPropertyBag.h: * WebBackForwardList.cpp: * WebBackForwardList.h: * WebCache.cpp: * WebCache.h: * WebCachedFramePlatformData.h: * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebContextMenuClient.cpp: * WebCoreSupport/WebContextMenuClient.h: * WebCoreSupport/WebDragClient.cpp: * WebCoreSupport/WebDragClient.h: * WebCoreSupport/WebEditorClient.cpp: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebFrameLoaderClient.cpp: * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebInspectorClient.cpp: * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebInspectorDelegate.cpp: * WebCoreSupport/WebInspectorDelegate.h: * WebDataSource.cpp: * WebDataSource.h: * WebDatabaseManager.cpp: * WebDatabaseManager.h: * WebDocumentLoader.cpp: * WebDocumentLoader.h: * WebDownload.cpp: * WebDownload.h: * WebDownloadCFNet.cpp: * WebDownloadCurl.cpp: * WebDropSource.cpp: * WebDropSource.h: * WebElementPropertyBag.cpp: * WebElementPropertyBag.h: * WebError.cpp: * WebError.h: * WebFrame.cpp: * WebFrame.h: * WebFramePolicyListener.cpp: * WebFramePolicyListener.h: * WebHTMLRepresentation.cpp: * WebHTMLRepresentation.h: * WebHistory.cpp: * WebHistory.h: * WebHistoryItem.cpp: * WebHistoryItem.h: * WebIconDatabase.cpp: * WebIconDatabase.h: * WebInspector.cpp: * WebInspector.h: * WebJavaScriptCollector.cpp: * WebJavaScriptCollector.h: * WebKitCOMAPI.cpp: * WebKitCOMAPI.h: * WebKitClassFactory.cpp: * WebKitClassFactory.h: * WebKitDLL.cpp: * WebKitDLL.h: * WebKitGraphics.cpp: * WebKitGraphics.h: * WebKitLogging.cpp: * WebKitLogging.h: * WebKitPrefix.cpp: * WebKitPrefix.h: * WebKitStatistics.cpp: * WebKitStatistics.h: * WebKitStatisticsPrivate.h: * WebKitSystemBits.cpp: * WebKitSystemBits.h: * WebLocalizableStrings.cpp: * WebLocalizableStrings.h: * WebMutableURLRequest.cpp: * WebMutableURLRequest.h: * WebNavigationData.cpp: * WebNavigationData.h: * WebNodeHighlight.cpp: * WebNodeHighlight.h: * WebNotification.cpp: * WebNotification.h: * WebNotificationCenter.cpp: * WebNotificationCenter.h: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: * WebPreferences.h: * WebResource.cpp: * WebResource.h: * WebScriptObject.cpp: * WebScriptObject.h: * WebSecurityOrigin.cpp: * WebSecurityOrigin.h: * WebTextRenderer.cpp: * WebTextRenderer.h: * WebURLAuthenticationChallenge.cpp: * WebURLAuthenticationChallenge.h: * WebURLAuthenticationChallengeSender.cpp: * WebURLAuthenticationChallengeSender.h: * WebURLAuthenticationChallengeSenderCFNet.cpp: * WebURLAuthenticationChallengeSenderCurl.cpp: * WebURLCredential.cpp: * WebURLCredential.h: * WebURLProtectionSpace.cpp: * WebURLProtectionSpace.h: * WebURLResponse.cpp: * WebURLResponse.h: * WebView.cpp: * WebView.h: Source/WebKit2: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * Shared/AsyncRequest.cpp: * Shared/AsyncRequest.h: * Shared/ContextMenuContextData.cpp: * Shared/ContextMenuContextData.h: * Shared/Databases/DatabaseProcessCreationParameters.h: * Shared/Databases/IndexedDB/IDBUtilities.cpp: * Shared/Databases/IndexedDB/IDBUtilities.h: * Shared/mac/RemoteLayerBackingStore.h: * Shared/mac/RemoteLayerBackingStore.mm: * UIProcess/API/Cocoa/WKBackForwardList.h: * UIProcess/API/Cocoa/WKBackForwardListItem.h: Removed. * UIProcess/API/Cocoa/WKNavigation.h: * UIProcess/API/Cocoa/WKNavigationAction.h: Removed. * UIProcess/API/Cocoa/WKNavigationDelegate.h: * UIProcess/API/Cocoa/WKNavigationResponse.h: Removed. * UIProcess/API/Cocoa/WKNavigationTrigger.h: Added. (NS_ENUM): * UIProcess/API/Cocoa/WKWebView.h: * UIProcess/API/CoordinatedGraphics/WKCoordinatedScene.cpp: * UIProcess/API/CoordinatedGraphics/WKCoordinatedScene.h: * UIProcess/CoordinatedGraphics/WKCoordinatedSceneAPICast.h: * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.cpp: * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h: * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp: * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h: * WebProcess/Databases/WebToDatabaseProcessConnection.cpp: * WebProcess/Databases/WebToDatabaseProcessConnection.h: * WebProcess/WebCoreSupport/WebAlternativeTextClient.h: * WebProcess/WebCoreSupport/mac/WebAlternativeTextClient.cpp: * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm: * WebProcess/WebPage/mac/GraphicsLayerCARemote.cpp: * WebProcess/WebPage/mac/GraphicsLayerCARemote.h: * WebProcess/WebPage/mac/PlatformCALayerRemote.cpp: * WebProcess/WebPage/mac/PlatformCALayerRemote.h: * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.h: * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm: * WebProcess/WebPage/mac/PlatformCALayerRemoteTiledBacking.cpp: * WebProcess/WebPage/mac/PlatformCALayerRemoteTiledBacking.h: Source/WTF: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * wtf/ASCIICType.h: * wtf/AVLTree.h: * wtf/Assertions.cpp: * wtf/Assertions.h: * wtf/Atomics.cpp: * wtf/Atomics.h: * wtf/AutodrainedPool.h: * wtf/AutodrainedPoolMac.mm: * wtf/BoundsCheckedPointer.h: * wtf/CryptographicUtilities.cpp: * wtf/CryptographicallyRandomNumber.h: * wtf/CurrentTime.h: * wtf/Deque.h: * wtf/DisallowCType.h: * wtf/ExportMacros.h: * wtf/FeatureDefines.h: * wtf/GetPtr.h: * wtf/HashIterators.h: * wtf/Locker.h: * wtf/MainThread.cpp: * wtf/MainThread.h: * wtf/MathExtras.h: * wtf/MediaTime.cpp: * wtf/MediaTime.h: * wtf/MessageQueue.h: * wtf/MetaAllocator.cpp: * wtf/MetaAllocator.h: * wtf/MetaAllocatorHandle.h: * wtf/OSRandomSource.cpp: * wtf/OSRandomSource.h: * wtf/Platform.h: * wtf/RandomNumber.cpp: * wtf/RandomNumber.h: * wtf/RandomNumberSeed.h: * wtf/RedBlackTree.h: * wtf/RunLoopTimer.h: * wtf/RunLoopTimerCF.cpp: * wtf/SchedulePair.h: * wtf/SchedulePairCF.cpp: * wtf/SchedulePairMac.mm: * wtf/SegmentedVector.h: * wtf/StackBounds.h: * wtf/StaticConstructors.h: * wtf/StringExtras.h: * wtf/ThreadFunctionInvocation.h: * wtf/ThreadSafeRefCounted.h: * wtf/ThreadSpecific.h: * wtf/Threading.h: * wtf/ThreadingPrimitives.h: * wtf/ThreadingPthreads.cpp: * wtf/ThreadingWin.cpp: * wtf/WTFThreadData.cpp: * wtf/WTFThreadData.h: * wtf/efl/OwnPtrEfl.cpp: * wtf/mac/MainThreadMac.mm: * wtf/text/AtomicStringHash.h: * wtf/text/AtomicStringImpl.h: * wtf/text/Base64.h: * wtf/text/CString.cpp: * wtf/text/CString.h: * wtf/text/LChar.h: * wtf/text/cf/StringCF.cpp: * wtf/text/mac/StringMac.mm: * wtf/unicode/CharacterNames.h: * wtf/unicode/Collator.h: * wtf/unicode/CollatorDefault.cpp: * wtf/unicode/UTF8.cpp: * wtf/unicode/UTF8.h: * wtf/unicode/icu/CollatorICU.cpp: * wtf/win/MainThreadWin.cpp: Tools: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * BuildSlaveSupport/build-launcher-app: * BuildSlaveSupport/build-launcher-dmg: * DumpRenderTree/DumpRenderTree.h: * DumpRenderTree/DumpRenderTreePrefix.h: * DumpRenderTree/GCController.cpp: * DumpRenderTree/GCController.h: * DumpRenderTree/JavaScriptThreading.cpp: * DumpRenderTree/JavaScriptThreading.h: * DumpRenderTree/PixelDumpSupport.cpp: * DumpRenderTree/PixelDumpSupport.h: * DumpRenderTree/TestNetscapePlugIn/PluginObjectMac.mm: * DumpRenderTree/TestRunner.cpp: * DumpRenderTree/TestRunner.h: * DumpRenderTree/WorkQueue.cpp: * DumpRenderTree/WorkQueue.h: * DumpRenderTree/WorkQueueItem.h: * DumpRenderTree/atk/AccessibilityCallbacks.h: * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp: * DumpRenderTree/cairo/PixelDumpSupportCairo.cpp: * DumpRenderTree/cairo/PixelDumpSupportCairo.h: * DumpRenderTree/cg/PixelDumpSupportCG.cpp: * DumpRenderTree/cg/PixelDumpSupportCG.h: * DumpRenderTree/efl/EditingCallbacks.cpp: * DumpRenderTree/efl/EditingCallbacks.h: * DumpRenderTree/efl/EventSender.cpp: * DumpRenderTree/efl/EventSender.h: * DumpRenderTree/efl/GCControllerEfl.cpp: * DumpRenderTree/efl/PixelDumpSupportEfl.cpp: * DumpRenderTree/efl/TestRunnerEfl.cpp: * DumpRenderTree/gtk/DumpRenderTree.cpp: * DumpRenderTree/gtk/DumpRenderTreeGtk.h: * DumpRenderTree/gtk/EditingCallbacks.cpp: * DumpRenderTree/gtk/EditingCallbacks.h: * DumpRenderTree/gtk/EventSender.cpp: * DumpRenderTree/gtk/EventSender.h: * DumpRenderTree/gtk/GCControllerGtk.cpp: * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp: * DumpRenderTree/gtk/SelfScrollingWebKitWebView.cpp: * DumpRenderTree/gtk/SelfScrollingWebKitWebView.h: * DumpRenderTree/gtk/TestRunnerGtk.cpp: * DumpRenderTree/gtk/TextInputController.cpp: * DumpRenderTree/gtk/TextInputController.h: * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/Makefile.PL: * DumpRenderTree/ios/PerlSupport/IPhoneSimulatorNotification/lib/IPhoneSimulatorNotification.pm: * DumpRenderTree/ios/PixelDumpSupportIOS.mm: * DumpRenderTree/mac/AppleScriptController.h: * DumpRenderTree/mac/AppleScriptController.m: * DumpRenderTree/mac/CheckedMalloc.cpp: * DumpRenderTree/mac/CheckedMalloc.h: * DumpRenderTree/mac/DumpRenderTree.mm: * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: * DumpRenderTree/mac/DumpRenderTreeMac.h: * DumpRenderTree/mac/DumpRenderTreePasteboard.h: * DumpRenderTree/mac/DumpRenderTreePasteboard.m: * DumpRenderTree/mac/DumpRenderTreeWindow.h: * DumpRenderTree/mac/DumpRenderTreeWindow.mm: * DumpRenderTree/mac/EditingDelegate.h: * DumpRenderTree/mac/EditingDelegate.mm: * DumpRenderTree/mac/EventSendingController.h: * DumpRenderTree/mac/EventSendingController.mm: * DumpRenderTree/mac/FrameLoadDelegate.h: * DumpRenderTree/mac/FrameLoadDelegate.mm: * DumpRenderTree/mac/GCControllerMac.mm: * DumpRenderTree/mac/MockWebNotificationProvider.h: * DumpRenderTree/mac/MockWebNotificationProvider.mm: * DumpRenderTree/mac/NavigationController.h: * DumpRenderTree/mac/NavigationController.m: * DumpRenderTree/mac/ObjCController.h: * DumpRenderTree/mac/ObjCController.m: * DumpRenderTree/mac/ObjCPlugin.h: * DumpRenderTree/mac/ObjCPlugin.m: * DumpRenderTree/mac/ObjCPluginFunction.h: * DumpRenderTree/mac/ObjCPluginFunction.m: * DumpRenderTree/mac/PixelDumpSupportMac.mm: * DumpRenderTree/mac/PolicyDelegate.h: * DumpRenderTree/mac/PolicyDelegate.mm: * DumpRenderTree/mac/ResourceLoadDelegate.h: * DumpRenderTree/mac/ResourceLoadDelegate.mm: * DumpRenderTree/mac/TestRunnerMac.mm: * DumpRenderTree/mac/TextInputController.h: * DumpRenderTree/mac/TextInputController.m: * DumpRenderTree/mac/UIDelegate.h: * DumpRenderTree/mac/UIDelegate.mm: * DumpRenderTree/mac/WorkQueueItemMac.mm: * DumpRenderTree/win/DRTDataObject.cpp: * DumpRenderTree/win/DRTDataObject.h: * DumpRenderTree/win/DRTDesktopNotificationPresenter.h: * DumpRenderTree/win/DRTDropSource.cpp: * DumpRenderTree/win/DRTDropSource.h: * DumpRenderTree/win/DraggingInfo.h: * DumpRenderTree/win/DumpRenderTree.cpp: * DumpRenderTree/win/DumpRenderTreeWin.h: * DumpRenderTree/win/EditingDelegate.cpp: * DumpRenderTree/win/EditingDelegate.h: * DumpRenderTree/win/EventSender.cpp: * DumpRenderTree/win/EventSender.h: * DumpRenderTree/win/FrameLoadDelegate.cpp: * DumpRenderTree/win/FrameLoadDelegate.h: * DumpRenderTree/win/GCControllerWin.cpp: * DumpRenderTree/win/HistoryDelegate.cpp: * DumpRenderTree/win/HistoryDelegate.h: * DumpRenderTree/win/MD5.cpp: * DumpRenderTree/win/MD5.h: * DumpRenderTree/win/PixelDumpSupportWin.cpp: * DumpRenderTree/win/PolicyDelegate.cpp: * DumpRenderTree/win/PolicyDelegate.h: * DumpRenderTree/win/ResourceLoadDelegate.cpp: * DumpRenderTree/win/ResourceLoadDelegate.h: * DumpRenderTree/win/TestRunnerWin.cpp: * DumpRenderTree/win/TextInputController.cpp: * DumpRenderTree/win/TextInputController.h: * DumpRenderTree/win/TextInputControllerWin.cpp: * DumpRenderTree/win/UIDelegate.cpp: * DumpRenderTree/win/UIDelegate.h: * DumpRenderTree/win/WorkQueueItemWin.cpp: * EWebLauncher/main.c: * GtkLauncher/main.c: * ImageDiff/efl/ImageDiff.cpp: * ImageDiff/gtk/ImageDiff.cpp: * MiniBrowser/gtk/main.c: * Scripts/SpacingHeuristics.pm: * Scripts/VCSUtils.pm: * Scripts/bisect-builds: * Scripts/build-dumprendertree: * Scripts/build-jsc: * Scripts/build-webkit: * Scripts/check-dom-results: * Scripts/check-for-exit-time-destructors: * Scripts/check-for-global-initializers: * Scripts/commit-log-editor: * Scripts/compare-timing-files: * Scripts/debug-minibrowser: * Scripts/debug-safari: * Scripts/do-file-rename: * Scripts/find-extra-includes: * Scripts/generate-coverage-data: * Scripts/make-script-test-wrappers: * Scripts/malloc-tree: * Scripts/old-run-webkit-tests: * Scripts/parse-malloc-history: * Scripts/report-include-statistics: * Scripts/resolve-ChangeLogs: * Scripts/run-bindings-tests: * Scripts/run-iexploder-tests: * Scripts/run-javascriptcore-tests: * Scripts/run-jsc: * Scripts/run-launcher: * Scripts/run-leaks: * Scripts/run-mangleme-tests: * Scripts/run-minibrowser: * Scripts/run-pageloadtest: * Scripts/run-regexp-tests: * Scripts/run-safari: * Scripts/run-sunspider: * Scripts/run-webkit-app: * Scripts/sampstat: * Scripts/set-webkit-configuration: * Scripts/sort-Xcode-project-file: * Scripts/sort-export-file: * Scripts/split-file-by-class: * Scripts/sunspider-compare-results: * Scripts/svn-apply: * Scripts/svn-create-patch: * Scripts/svn-unapply: * Scripts/test-webkit-scripts: * Scripts/update-javascriptcore-test-results: * Scripts/update-webkit: * Scripts/update-webkit-auxiliary-libs: * Scripts/update-webkit-dependency: * Scripts/update-webkit-localizable-strings: * Scripts/update-webkit-support-libs: * Scripts/update-webkit-wincairo-libs: * Scripts/webkit-build-directory: * Scripts/webkitdirs.pm: (installedSafariPath): * Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl: * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl: * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl: * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl: * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl: * Scripts/webkitperl/features.pm: * Scripts/webkitperl/httpd.pm: * Scripts/webkitpy/bindings/main.py: * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py: * TestWebKitAPI/Tests/WTF/MediaTime.cpp: * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp: * TestWebKitAPI/Tests/WTF/RedBlackTree.cpp: * TestWebKitAPI/Tests/WTF/cf/RetainPtr.cpp: * TestWebKitAPI/Tests/WTF/cf/RetainPtrHashing.cpp: * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm: * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp: * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.cpp: * WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.h: * WebKitTestRunner/PixelDumpSupport.cpp: * WebKitTestRunner/PixelDumpSupport.h: * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp: * WinLauncher/WinLauncher.cpp: * WinLauncher/WinLauncher.h: * WinLauncher/stdafx.cpp: * WinLauncher/stdafx.h: WebKitLibraries: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/tools/scripts/auto-version.sh: Websites/webkit.org: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * blog/wp-content/textfield_screenshot.jpg: * misc/WebKitDetect.html: * misc/WebKitDetect.js: * perf/sunspider-0.9.1/sunspider-0.9.1/driver.html: * perf/sunspider-0.9.1/sunspider-0.9.1/results.html: * perf/sunspider-0.9.1/sunspider-0.9.1/sunspider-test-contents.js: * perf/sunspider-0.9.1/sunspider-0.9/driver.html: * perf/sunspider-0.9.1/sunspider-0.9/results.html: * perf/sunspider-0.9.1/sunspider-0.9/sunspider-test-contents.js: * perf/sunspider-0.9.1/sunspider-analyze-results.js: * perf/sunspider-0.9.1/sunspider-compare-results.js: * perf/sunspider-0.9/3d-cube.html: * perf/sunspider-0.9/3d-morph.html: * perf/sunspider-0.9/3d-raytrace.html: * perf/sunspider-0.9/access-binary-trees.html: * perf/sunspider-0.9/access-fannkuch.html: * perf/sunspider-0.9/access-nbody.html: * perf/sunspider-0.9/access-nsieve.html: * perf/sunspider-0.9/bitops-3bit-bits-in-byte.html: * perf/sunspider-0.9/bitops-bits-in-byte.html: * perf/sunspider-0.9/bitops-bitwise-and.html: * perf/sunspider-0.9/bitops-nsieve-bits.html: * perf/sunspider-0.9/controlflow-recursive.html: * perf/sunspider-0.9/crypto-aes.html: * perf/sunspider-0.9/crypto-md5.html: * perf/sunspider-0.9/crypto-sha1.html: * perf/sunspider-0.9/date-format-tofte.html: * perf/sunspider-0.9/date-format-xparb.html: * perf/sunspider-0.9/math-cordic.html: * perf/sunspider-0.9/math-partial-sums.html: * perf/sunspider-0.9/math-spectral-norm.html: * perf/sunspider-0.9/regexp-dna.html: * perf/sunspider-0.9/string-base64.html: * perf/sunspider-0.9/string-fasta.html: * perf/sunspider-0.9/string-tagcloud.html: * perf/sunspider-0.9/string-unpack-code.html: * perf/sunspider-0.9/string-validate-input.html: * perf/sunspider-0.9/sunspider-analyze-results.js: * perf/sunspider-0.9/sunspider-compare-results.js: * perf/sunspider-0.9/sunspider-driver.html: * perf/sunspider-0.9/sunspider-record-result.js: * perf/sunspider-0.9/sunspider-results.html: * perf/sunspider-1.0.1/sunspider-1.0.1/driver.html: * perf/sunspider-1.0.1/sunspider-1.0.1/results.html: * perf/sunspider-1.0.1/sunspider-1.0.1/sunspider-test-contents.js: * perf/sunspider-1.0.1/sunspider-analyze-results.js: * perf/sunspider-1.0.1/sunspider-compare-results.js: * perf/sunspider-1.0.1/sunspider.html: * perf/sunspider-1.0.2/sunspider-1.0.2/driver.html: * perf/sunspider-1.0.2/sunspider-1.0.2/results.html: * perf/sunspider-1.0.2/sunspider-1.0.2/sunspider-test-contents.js: * perf/sunspider-1.0.2/sunspider-analyze-results.js: * perf/sunspider-1.0.2/sunspider-compare-results.js: * perf/sunspider-1.0.2/sunspider.html: * perf/sunspider-1.0/sunspider-1.0/driver.html: * perf/sunspider-1.0/sunspider-1.0/results.html: * perf/sunspider-1.0/sunspider-1.0/sunspider-test-contents.js: * perf/sunspider-1.0/sunspider-analyze-results.js: * perf/sunspider-1.0/sunspider-compare-results.js: * perf/sunspider-1.0/sunspider.html: * perf/sunspider/sunspider.html: * perf/sunspider/versions.html: * quality/reporting.html: LayoutTests: Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers https://bugs.webkit.org/show_bug.cgi?id=130276 <rdar://problem/16266927> Reviewed by Simon Fraser. * editing/resources/TIFF-pasteboard-data.dat: * fast/backgrounds/repeat/resources/gradient.gif: * fast/forms/resources/apple.gif: * http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/fragmentShader.frag: * http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/resources/vertexShader.vert: * platform/win/TestExpectations: * platform/wincairo/TestExpectations: * platform/wk2/TestExpectations: * webgl/1.0.1/resources/webgl_test_files/conformance/attribs/gl-vertexattribpointer-offsets.html: * webgl/1.0.1/resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html: * webgl/1.0.1/resources/webgl_test_files/conformance/context/incorrect-context-object-behaviour.html: * webgl/1.0.1/resources/webgl_test_files/conformance/misc/bad-arguments-test.html: * webgl/1.0.1/resources/webgl_test_files/conformance/misc/invalid-passed-params.html: * webgl/1.0.1/resources/webgl_test_files/conformance/misc/null-object-behaviour.html: * webgl/1.0.1/resources/webgl_test_files/conformance/misc/type-conversion-test.html: * webgl/1.0.1/resources/webgl_test_files/conformance/programs/get-active-test.html: * webgl/1.0.1/resources/webgl_test_files/conformance/rendering/draw-arrays-out-of-bounds.html: * webgl/1.0.1/resources/webgl_test_files/conformance/rendering/draw-elements-out-of-bounds.html: * webgl/1.0.1/resources/webgl_test_files/conformance/rendering/line-loop-tri-fan.html: * webgl/1.0.1/resources/webgl_test_files/conformance/rendering/triangle.html: * webgl/1.0.1/resources/webgl_test_files/conformance/resources/fragmentShader.frag: * webgl/1.0.1/resources/webgl_test_files/conformance/resources/vertexShader.vert: * webgl/1.0.1/resources/webgl_test_files/conformance/resources/webgl-test.js: * webgl/1.0.1/resources/webgl_test_files/conformance/state/gl-get-calls.html: * webgl/1.0.1/resources/webgl_test_files/conformance/state/gl-object-get-calls.html: * webgl/1.0.1/resources/webgl_test_files/conformance/typedarrays/array-unit-tests.html: * webgl/1.0.1/resources/webgl_test_files/extra/canvas-compositing-test.html: * webgl/1.0.2/resources/webgl_test_files/conformance/resources/fragmentShader.frag: * webgl/1.0.2/resources/webgl_test_files/conformance/resources/vertexShader.vert: * webgl/resources/webgl_test_files/conformance/resources/fragmentShader.frag: * webgl/resources/webgl_test_files/conformance/resources/vertexShader.vert: Canonical link: https://commits.webkit.org/148261@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-03-15 04:08:27 +00:00
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
Use pragma once in WTF https://bugs.webkit.org/show_bug.cgi?id=190527 Reviewed by Chris Dumez. Source/WTF: We also need to consistently include wtf headers from within wtf so we can build wtf without symbol redefinition errors from including the copy in Source and the copy in the build directory. * wtf/ASCIICType.h: * wtf/Assertions.cpp: * wtf/Assertions.h: * wtf/Atomics.h: * wtf/AutomaticThread.cpp: * wtf/AutomaticThread.h: * wtf/BackwardsGraph.h: * wtf/Bag.h: * wtf/BagToHashMap.h: * wtf/BitVector.cpp: * wtf/BitVector.h: * wtf/Bitmap.h: * wtf/BloomFilter.h: * wtf/Box.h: * wtf/BubbleSort.h: * wtf/BumpPointerAllocator.h: * wtf/ByteOrder.h: * wtf/CPUTime.cpp: * wtf/CallbackAggregator.h: * wtf/CheckedArithmetic.h: * wtf/CheckedBoolean.h: * wtf/ClockType.cpp: * wtf/ClockType.h: * wtf/CommaPrinter.h: * wtf/CompilationThread.cpp: * wtf/CompilationThread.h: * wtf/Compiler.h: * wtf/ConcurrentPtrHashSet.cpp: * wtf/ConcurrentVector.h: * wtf/Condition.h: * wtf/CountingLock.cpp: * wtf/CrossThreadTaskHandler.cpp: * wtf/CryptographicUtilities.cpp: * wtf/CryptographicUtilities.h: * wtf/CryptographicallyRandomNumber.cpp: * wtf/CryptographicallyRandomNumber.h: * wtf/CurrentTime.cpp: * wtf/DataLog.cpp: * wtf/DataLog.h: * wtf/DateMath.cpp: * wtf/DateMath.h: * wtf/DecimalNumber.cpp: * wtf/DecimalNumber.h: * wtf/Deque.h: * wtf/DisallowCType.h: * wtf/Dominators.h: * wtf/DoublyLinkedList.h: * wtf/FastBitVector.cpp: * wtf/FastMalloc.cpp: * wtf/FastMalloc.h: * wtf/FeatureDefines.h: * wtf/FilePrintStream.cpp: * wtf/FilePrintStream.h: * wtf/FlipBytes.h: * wtf/FunctionDispatcher.cpp: * wtf/FunctionDispatcher.h: * wtf/GetPtr.h: * wtf/Gigacage.cpp: * wtf/GlobalVersion.cpp: * wtf/GraphNodeWorklist.h: * wtf/GregorianDateTime.cpp: * wtf/GregorianDateTime.h: * wtf/HashFunctions.h: * wtf/HashMap.h: * wtf/HashMethod.h: * wtf/HashSet.h: * wtf/HashTable.cpp: * wtf/HashTraits.h: * wtf/Indenter.h: * wtf/IndexSparseSet.h: * wtf/InlineASM.h: * wtf/Insertion.h: * wtf/IteratorAdaptors.h: * wtf/IteratorRange.h: * wtf/JSONValues.cpp: * wtf/JSValueMalloc.cpp: * wtf/LEBDecoder.h: * wtf/Language.cpp: * wtf/ListDump.h: * wtf/Lock.cpp: * wtf/Lock.h: * wtf/LockAlgorithm.h: * wtf/LockedPrintStream.cpp: * wtf/Locker.h: * wtf/MD5.cpp: * wtf/MD5.h: * wtf/MainThread.cpp: * wtf/MainThread.h: * wtf/MallocPtr.h: * wtf/MathExtras.h: * wtf/MediaTime.cpp: * wtf/MediaTime.h: * wtf/MemoryPressureHandler.cpp: * wtf/MessageQueue.h: * wtf/MetaAllocator.cpp: * wtf/MetaAllocator.h: * wtf/MetaAllocatorHandle.h: * wtf/MonotonicTime.cpp: * wtf/MonotonicTime.h: * wtf/NakedPtr.h: * wtf/NoLock.h: * wtf/NoTailCalls.h: * wtf/Noncopyable.h: * wtf/NumberOfCores.cpp: * wtf/NumberOfCores.h: * wtf/OSAllocator.h: * wtf/OSAllocatorPosix.cpp: * wtf/OSRandomSource.cpp: * wtf/OSRandomSource.h: * wtf/ObjcRuntimeExtras.h: * wtf/OrderMaker.h: * wtf/PackedIntVector.h: * wtf/PageAllocation.h: * wtf/PageBlock.cpp: * wtf/PageBlock.h: * wtf/PageReservation.h: * wtf/ParallelHelperPool.cpp: * wtf/ParallelHelperPool.h: * wtf/ParallelJobs.h: * wtf/ParallelJobsLibdispatch.h: * wtf/ParallelVectorIterator.h: * wtf/ParkingLot.cpp: * wtf/ParkingLot.h: * wtf/Platform.h: * wtf/PointerComparison.h: * wtf/Poisoned.cpp: * wtf/PrintStream.cpp: * wtf/PrintStream.h: * wtf/ProcessID.h: * wtf/ProcessPrivilege.cpp: * wtf/RAMSize.cpp: * wtf/RAMSize.h: * wtf/RandomDevice.cpp: * wtf/RandomNumber.cpp: * wtf/RandomNumber.h: * wtf/RandomNumberSeed.h: * wtf/RangeSet.h: * wtf/RawPointer.h: * wtf/ReadWriteLock.cpp: * wtf/RedBlackTree.h: * wtf/Ref.h: * wtf/RefCountedArray.h: * wtf/RefCountedLeakCounter.cpp: * wtf/RefCountedLeakCounter.h: * wtf/RefCounter.h: * wtf/RefPtr.h: * wtf/RetainPtr.h: * wtf/RunLoop.cpp: * wtf/RunLoop.h: * wtf/RunLoopTimer.h: * wtf/RunLoopTimerCF.cpp: * wtf/SHA1.cpp: * wtf/SHA1.h: * wtf/SaturatedArithmetic.h: (saturatedSubtraction): * wtf/SchedulePair.h: * wtf/SchedulePairCF.cpp: * wtf/SchedulePairMac.mm: * wtf/ScopedLambda.h: * wtf/Seconds.cpp: * wtf/Seconds.h: * wtf/SegmentedVector.h: * wtf/SentinelLinkedList.h: * wtf/SharedTask.h: * wtf/SimpleStats.h: * wtf/SingleRootGraph.h: * wtf/SinglyLinkedList.h: * wtf/SixCharacterHash.cpp: * wtf/SixCharacterHash.h: * wtf/SmallPtrSet.h: * wtf/Spectrum.h: * wtf/StackBounds.cpp: * wtf/StackBounds.h: * wtf/StackStats.cpp: * wtf/StackStats.h: * wtf/StackTrace.cpp: * wtf/StdLibExtras.h: * wtf/StreamBuffer.h: * wtf/StringHashDumpContext.h: * wtf/StringPrintStream.cpp: * wtf/StringPrintStream.h: * wtf/ThreadGroup.cpp: * wtf/ThreadMessage.cpp: * wtf/ThreadSpecific.h: * wtf/Threading.cpp: * wtf/Threading.h: * wtf/ThreadingPrimitives.h: * wtf/ThreadingPthreads.cpp: * wtf/TimeWithDynamicClockType.cpp: * wtf/TimeWithDynamicClockType.h: * wtf/TimingScope.cpp: * wtf/TinyLRUCache.h: * wtf/TinyPtrSet.h: * wtf/TriState.h: * wtf/TypeCasts.h: * wtf/UUID.cpp: * wtf/UnionFind.h: * wtf/VMTags.h: * wtf/ValueCheck.h: * wtf/Vector.h: * wtf/VectorTraits.h: * wtf/WallTime.cpp: * wtf/WallTime.h: * wtf/WeakPtr.h: * wtf/WeakRandom.h: * wtf/WordLock.cpp: * wtf/WordLock.h: * wtf/WorkQueue.cpp: * wtf/WorkQueue.h: * wtf/WorkerPool.cpp: * wtf/cf/LanguageCF.cpp: * wtf/cf/RunLoopCF.cpp: * wtf/cocoa/Entitlements.mm: * wtf/cocoa/MachSendRight.cpp: * wtf/cocoa/MainThreadCocoa.mm: * wtf/cocoa/MemoryFootprintCocoa.cpp: * wtf/cocoa/WorkQueueCocoa.cpp: * wtf/dtoa.cpp: * wtf/dtoa.h: * wtf/ios/WebCoreThread.cpp: * wtf/ios/WebCoreThread.h: * wtf/mac/AppKitCompatibilityDeclarations.h: * wtf/mac/DeprecatedSymbolsUsedBySafari.mm: * wtf/mbmalloc.cpp: * wtf/persistence/PersistentCoders.cpp: * wtf/persistence/PersistentDecoder.cpp: * wtf/persistence/PersistentEncoder.cpp: * wtf/spi/cf/CFBundleSPI.h: * wtf/spi/darwin/CommonCryptoSPI.h: * wtf/text/ASCIIFastPath.h: * wtf/text/ASCIILiteral.cpp: * wtf/text/AtomicString.cpp: * wtf/text/AtomicString.h: * wtf/text/AtomicStringHash.h: * wtf/text/AtomicStringImpl.cpp: * wtf/text/AtomicStringImpl.h: * wtf/text/AtomicStringTable.cpp: * wtf/text/AtomicStringTable.h: * wtf/text/Base64.cpp: * wtf/text/CString.cpp: * wtf/text/CString.h: * wtf/text/ConversionMode.h: * wtf/text/ExternalStringImpl.cpp: * wtf/text/IntegerToStringConversion.h: * wtf/text/LChar.h: * wtf/text/LineEnding.cpp: * wtf/text/StringBuffer.h: * wtf/text/StringBuilder.cpp: * wtf/text/StringBuilder.h: * wtf/text/StringBuilderJSON.cpp: * wtf/text/StringCommon.h: * wtf/text/StringConcatenate.h: * wtf/text/StringHash.h: * wtf/text/StringImpl.cpp: * wtf/text/StringImpl.h: * wtf/text/StringOperators.h: * wtf/text/StringView.cpp: * wtf/text/StringView.h: * wtf/text/SymbolImpl.cpp: * wtf/text/SymbolRegistry.cpp: * wtf/text/SymbolRegistry.h: * wtf/text/TextBreakIterator.cpp: * wtf/text/TextBreakIterator.h: * wtf/text/TextBreakIteratorInternalICU.h: * wtf/text/TextPosition.h: * wtf/text/TextStream.cpp: * wtf/text/UniquedStringImpl.h: * wtf/text/WTFString.cpp: * wtf/text/WTFString.h: * wtf/text/cocoa/StringCocoa.mm: * wtf/text/cocoa/StringViewCocoa.mm: * wtf/text/cocoa/TextBreakIteratorInternalICUCocoa.cpp: * wtf/text/icu/UTextProvider.cpp: * wtf/text/icu/UTextProvider.h: * wtf/text/icu/UTextProviderLatin1.cpp: * wtf/text/icu/UTextProviderLatin1.h: * wtf/text/icu/UTextProviderUTF16.cpp: * wtf/text/icu/UTextProviderUTF16.h: * wtf/threads/BinarySemaphore.cpp: * wtf/threads/BinarySemaphore.h: * wtf/threads/Signals.cpp: * wtf/unicode/CharacterNames.h: * wtf/unicode/Collator.h: * wtf/unicode/CollatorDefault.cpp: * wtf/unicode/UTF8.cpp: * wtf/unicode/UTF8.h: Tools: Put WorkQueue in namespace DRT so it does not conflict with WTF::WorkQueue. * DumpRenderTree/TestRunner.cpp: (TestRunner::queueLoadHTMLString): (TestRunner::queueLoadAlternateHTMLString): (TestRunner::queueBackNavigation): (TestRunner::queueForwardNavigation): (TestRunner::queueLoadingScript): (TestRunner::queueNonLoadingScript): (TestRunner::queueReload): * DumpRenderTree/WorkQueue.cpp: (WorkQueue::singleton): Deleted. (WorkQueue::WorkQueue): Deleted. (WorkQueue::queue): Deleted. (WorkQueue::dequeue): Deleted. (WorkQueue::count): Deleted. (WorkQueue::clear): Deleted. (WorkQueue::processWork): Deleted. * DumpRenderTree/WorkQueue.h: (WorkQueue::setFrozen): Deleted. * DumpRenderTree/WorkQueueItem.h: * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): * DumpRenderTree/mac/FrameLoadDelegate.mm: (-[FrameLoadDelegate processWork:]): (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]): * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::notifyDone): (TestRunner::forceImmediateCompletion): (TestRunner::queueLoad): * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): * DumpRenderTree/win/FrameLoadDelegate.cpp: (FrameLoadDelegate::processWork): (FrameLoadDelegate::locationChangeDone): * DumpRenderTree/win/TestRunnerWin.cpp: (TestRunner::notifyDone): (TestRunner::forceImmediateCompletion): (TestRunner::queueLoad): Canonical link: https://commits.webkit.org/205473@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-15 14:24:49 +00:00
#pragma once
#ifndef WTF_PLATFORM_GUARD_AGAINST_INDIRECT_INCLUSION
#error "Please #include <wtf/Platform.h> instead of this file directly."
#endif
#define ENABLE(WTF_FEATURE) (defined ENABLE_##WTF_FEATURE && ENABLE_##WTF_FEATURE)
/* Use this file to list _all_ ENABLE() macros. Define the macros to be one of the following values:
* - "0" disables the feature by default. The feature can still be enabled for a specific port or environment.
* - "1" enables the feature by default. The feature can still be disabled for a specific port or environment.
*
* The feature defaults in this file are only taken into account if the (port specific) build system
[Readable Streams API] Enable creation of ReadableByteStreamController https://bugs.webkit.org/show_bug.cgi?id=164014 Patch by Romain Bellessort <romain.bellessort@crf.canon.fr> on 2016-11-02 Reviewed by Youenn Fablet. .: Added flag for the byte stream part of Readable Streams API. * Source/cmake/WebKitFeatures.cmake: Source/JavaScriptCore: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Added support for creating ReadableByteStreamController. IDL is mostly implemented but methods return TypeError. Tests have been added to ensure behaviour. This part of Readable Streams API is associated to a flag (READABLE_BYTE_STREAM_API). Test: streams/readable-byte-stream-controller.html * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * DerivedSources.cpp: * DerivedSources.make: * Modules/streams/ReadableByteStreamController.idl: Added. * Modules/streams/ReadableByteStreamController.js: Added. (enqueue): Empty method for the moment, throws TypeError. (error): Empty method for the moment, throws TypeError. (close): Empty method for the moment, throws TypeError. (byobRequest): Empty method for the moment, throws TypeError. (desiredSize): Empty method for the moment, throws TypeError. * Modules/streams/ReadableByteStreamInternals.js: Added. (privateInitializeReadableByteStreamController): * Modules/streams/ReadableStream.js: (initializeReadableStream): * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMGlobalObject.cpp: (WebCore::JSDOMGlobalObject::addBuiltinGlobals): * bindings/js/JSReadableStreamPrivateConstructors.cpp: (WebCore::constructJSReadableByteStreamController): (WebCore::constructJSReadableStreamDefaultReader): (WebCore::JSBuiltinReadableByteStreamControllerPrivateConstructor::initializeExecutable): (WebCore::createReadableByteStreamControllerPrivateConstructor): * bindings/js/JSReadableStreamPrivateConstructors.h: * bindings/js/WebCoreBuiltinNames.h: Source/WebKit/mac: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WebKit2: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WTF: Added flag for the byte stream part of Readable Streams API. * wtf/FeatureDefines.h: Tools: Enable the byte stream part of Readable Streams API by default. * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: LayoutTests: Added test to check behaviour when using ReadableByteStreamController. Tests are also performed with Workers. * TestExpectations: * streams/readable-byte-stream-controller-expected.txt: Added. * streams/readable-byte-stream-controller.html: Added. * streams/readable-byte-stream-controller.js: Added. Canonical link: https://commits.webkit.org/182036@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-02 11:37:26 +00:00
* has not enabled or disabled a particular feature.
*
* Use this file to define ENABLE() macros only. Do not use this file to define USE() or macros !
*
* Only define a macro if it was not defined before - always check for !defined first.
[Readable Streams API] Enable creation of ReadableByteStreamController https://bugs.webkit.org/show_bug.cgi?id=164014 Patch by Romain Bellessort <romain.bellessort@crf.canon.fr> on 2016-11-02 Reviewed by Youenn Fablet. .: Added flag for the byte stream part of Readable Streams API. * Source/cmake/WebKitFeatures.cmake: Source/JavaScriptCore: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Added support for creating ReadableByteStreamController. IDL is mostly implemented but methods return TypeError. Tests have been added to ensure behaviour. This part of Readable Streams API is associated to a flag (READABLE_BYTE_STREAM_API). Test: streams/readable-byte-stream-controller.html * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * DerivedSources.cpp: * DerivedSources.make: * Modules/streams/ReadableByteStreamController.idl: Added. * Modules/streams/ReadableByteStreamController.js: Added. (enqueue): Empty method for the moment, throws TypeError. (error): Empty method for the moment, throws TypeError. (close): Empty method for the moment, throws TypeError. (byobRequest): Empty method for the moment, throws TypeError. (desiredSize): Empty method for the moment, throws TypeError. * Modules/streams/ReadableByteStreamInternals.js: Added. (privateInitializeReadableByteStreamController): * Modules/streams/ReadableStream.js: (initializeReadableStream): * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMGlobalObject.cpp: (WebCore::JSDOMGlobalObject::addBuiltinGlobals): * bindings/js/JSReadableStreamPrivateConstructors.cpp: (WebCore::constructJSReadableByteStreamController): (WebCore::constructJSReadableStreamDefaultReader): (WebCore::JSBuiltinReadableByteStreamControllerPrivateConstructor::initializeExecutable): (WebCore::createReadableByteStreamControllerPrivateConstructor): * bindings/js/JSReadableStreamPrivateConstructors.h: * bindings/js/WebCoreBuiltinNames.h: Source/WebKit/mac: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WebKit2: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WTF: Added flag for the byte stream part of Readable Streams API. * wtf/FeatureDefines.h: Tools: Enable the byte stream part of Readable Streams API by default. * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: LayoutTests: Added test to check behaviour when using ReadableByteStreamController. Tests are also performed with Workers. * TestExpectations: * streams/readable-byte-stream-controller-expected.txt: Added. * streams/readable-byte-stream-controller.html: Added. * streams/readable-byte-stream-controller.js: Added. Canonical link: https://commits.webkit.org/182036@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-02 11:37:26 +00:00
*
* Keep the file sorted by the name of the defines. As an exception you can change the order
* to allow interdependencies between the default values.
[Readable Streams API] Enable creation of ReadableByteStreamController https://bugs.webkit.org/show_bug.cgi?id=164014 Patch by Romain Bellessort <romain.bellessort@crf.canon.fr> on 2016-11-02 Reviewed by Youenn Fablet. .: Added flag for the byte stream part of Readable Streams API. * Source/cmake/WebKitFeatures.cmake: Source/JavaScriptCore: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Added support for creating ReadableByteStreamController. IDL is mostly implemented but methods return TypeError. Tests have been added to ensure behaviour. This part of Readable Streams API is associated to a flag (READABLE_BYTE_STREAM_API). Test: streams/readable-byte-stream-controller.html * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * DerivedSources.cpp: * DerivedSources.make: * Modules/streams/ReadableByteStreamController.idl: Added. * Modules/streams/ReadableByteStreamController.js: Added. (enqueue): Empty method for the moment, throws TypeError. (error): Empty method for the moment, throws TypeError. (close): Empty method for the moment, throws TypeError. (byobRequest): Empty method for the moment, throws TypeError. (desiredSize): Empty method for the moment, throws TypeError. * Modules/streams/ReadableByteStreamInternals.js: Added. (privateInitializeReadableByteStreamController): * Modules/streams/ReadableStream.js: (initializeReadableStream): * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMGlobalObject.cpp: (WebCore::JSDOMGlobalObject::addBuiltinGlobals): * bindings/js/JSReadableStreamPrivateConstructors.cpp: (WebCore::constructJSReadableByteStreamController): (WebCore::constructJSReadableStreamDefaultReader): (WebCore::JSBuiltinReadableByteStreamControllerPrivateConstructor::initializeExecutable): (WebCore::createReadableByteStreamControllerPrivateConstructor): * bindings/js/JSReadableStreamPrivateConstructors.h: * bindings/js/WebCoreBuiltinNames.h: Source/WebKit/mac: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WebKit2: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WTF: Added flag for the byte stream part of Readable Streams API. * wtf/FeatureDefines.h: Tools: Enable the byte stream part of Readable Streams API by default. * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: LayoutTests: Added test to check behaviour when using ReadableByteStreamController. Tests are also performed with Workers. * TestExpectations: * streams/readable-byte-stream-controller-expected.txt: Added. * streams/readable-byte-stream-controller.html: Added. * streams/readable-byte-stream-controller.js: Added. Canonical link: https://commits.webkit.org/182036@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-02 11:37:26 +00:00
*
* Below are a few potential commands to take advantage of this file running from the Source/WTF directory
*
* Get the list of feature defines: grep -o "ENABLE_\(\w\+\)" wtf/PlatformEnable.h | sort | uniq
[Readable Streams API] Enable creation of ReadableByteStreamController https://bugs.webkit.org/show_bug.cgi?id=164014 Patch by Romain Bellessort <romain.bellessort@crf.canon.fr> on 2016-11-02 Reviewed by Youenn Fablet. .: Added flag for the byte stream part of Readable Streams API. * Source/cmake/WebKitFeatures.cmake: Source/JavaScriptCore: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Added support for creating ReadableByteStreamController. IDL is mostly implemented but methods return TypeError. Tests have been added to ensure behaviour. This part of Readable Streams API is associated to a flag (READABLE_BYTE_STREAM_API). Test: streams/readable-byte-stream-controller.html * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * DerivedSources.cpp: * DerivedSources.make: * Modules/streams/ReadableByteStreamController.idl: Added. * Modules/streams/ReadableByteStreamController.js: Added. (enqueue): Empty method for the moment, throws TypeError. (error): Empty method for the moment, throws TypeError. (close): Empty method for the moment, throws TypeError. (byobRequest): Empty method for the moment, throws TypeError. (desiredSize): Empty method for the moment, throws TypeError. * Modules/streams/ReadableByteStreamInternals.js: Added. (privateInitializeReadableByteStreamController): * Modules/streams/ReadableStream.js: (initializeReadableStream): * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMGlobalObject.cpp: (WebCore::JSDOMGlobalObject::addBuiltinGlobals): * bindings/js/JSReadableStreamPrivateConstructors.cpp: (WebCore::constructJSReadableByteStreamController): (WebCore::constructJSReadableStreamDefaultReader): (WebCore::JSBuiltinReadableByteStreamControllerPrivateConstructor::initializeExecutable): (WebCore::createReadableByteStreamControllerPrivateConstructor): * bindings/js/JSReadableStreamPrivateConstructors.h: * bindings/js/WebCoreBuiltinNames.h: Source/WebKit/mac: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WebKit2: Added flag for the byte stream part of Readable Streams API. * Configurations/FeatureDefines.xcconfig: Source/WTF: Added flag for the byte stream part of Readable Streams API. * wtf/FeatureDefines.h: Tools: Enable the byte stream part of Readable Streams API by default. * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: LayoutTests: Added test to check behaviour when using ReadableByteStreamController. Tests are also performed with Workers. * TestExpectations: * streams/readable-byte-stream-controller-expected.txt: Added. * streams/readable-byte-stream-controller.html: Added. * streams/readable-byte-stream-controller.js: Added. Canonical link: https://commits.webkit.org/182036@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-02 11:37:26 +00:00
* Get the list of features enabled by default for a PLATFORM(XXX): gcc -E -dM -I. -DWTF_PLATFORM_XXX "wtf/Platform.h" | grep "ENABLE_\w\+ 1" | cut -d' ' -f2 | sort
*/
/* FIXME: This should be renamed to ENABLE_ASSERTS for consistency and so it can be used as ENABLE(ASSERTS). */
/* ASSERT_ENABLED should be true if we want the current compilation unit to
do debug assertion checks unconditionally (e.g. treat a debug ASSERT
like a RELEASE_ASSERT.
*/
#ifndef ASSERT_ENABLED
#ifdef NDEBUG
#define ASSERT_ENABLED 0
#else
#define ASSERT_ENABLED 1
#endif
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
/* ==== Platform additions: additions to PlatformEnable.h from outside the main repository ==== */
#if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/AdditionalFeatureDefines.h>)
#include <WebKitAdditions/AdditionalFeatureDefines.h>
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
/* ==== Platform specific defaults ==== */
[Apple Pay] Use PKPaymentAuthorizationController to present the Apple Pay UI remotely from the Networking service on iOS https://bugs.webkit.org/show_bug.cgi?id=195530 <rdar://problem/48747164> Reviewed by Alex Christensen. Source/WebCore: * Modules/applepay/PaymentCoordinatorClient.h: Defined isWebPaymentCoordinator. * page/Settings.yaml: Defined the applePayRemoteUIEnabled setting and reordered the other Apple Pay settings. Source/WebCore/PAL: * pal/cocoa/PassKitSoftLink.h: Soft-linked PKPaymentAuthorizationController on iOS. * pal/cocoa/PassKitSoftLink.mm: Ditto. * pal/spi/cocoa/PassKitSPI.h: Declared PKPaymentAuthorizationControllerPrivateDelegate and related SPI. Source/WebKit: * Configurations/Network-iOS.entitlements: Added the 'com.apple.payment.all-access' entitlement and reordered the others. * NetworkProcess/NetworkConnectionToWebProcess.cpp: (WebKit::NetworkConnectionToWebProcess::didReceiveMessage): Forwarded WebPaymentCoordinatorProxy messages to the payment coordinator. (WebKit::NetworkConnectionToWebProcess::didReceiveSyncMessage): Ditto. (WebKit::NetworkConnectionToWebProcess::didClose): Set m_paymentCoordinator to nullptr. * NetworkProcess/NetworkConnectionToWebProcess.h: Inherited from WebPaymentCoordinatorProxy::Client and added a unique_ptr<WebPaymentCoordinatorProxy> member. * NetworkProcess/cocoa/NetworkSessionCocoa.h: Declared getters for source application bundle and secondary identifiers, and CTDataConnectionServiceType on iOS. * NetworkProcess/cocoa/NetworkSessionCocoa.mm: (WebKit::NetworkSessionCocoa::sourceApplicationBundleIdentifier const): Defined getter. (WebKit::NetworkSessionCocoa::sourceApplicationSecondaryIdentifier const): Ditto. (WebKit::NetworkSessionCocoa::ctDataConnectionServiceType const): Ditto. (WebKit::NetworkSessionCocoa::NetworkSessionCocoa): Initialized m_sourceApplicationBundleIdentifier and m_sourceApplicationSecondaryIdentifier with corresponding NetworkSessionCreationParameters. * NetworkProcess/ios/NetworkConnectionToWebProcessIOS.mm: Added. (WebKit::NetworkConnectionToWebProcess::paymentCoordinator): Added. Returns m_paymentCoordinator after lazily initializing it. (WebKit::NetworkConnectionToWebProcess::paymentCoordinatorConnection): Added. Returns the connection to the web process. (WebKit::NetworkConnectionToWebProcess::paymentCoordinatorPresentingViewController): Added. Returns nil. (WebKit::NetworkConnectionToWebProcess::paymentCoordinatorCTDataConnectionServiceType): Added. Returns the value from the network session identified by sessionID. (WebKit::NetworkConnectionToWebProcess::paymentCoordinatorSourceApplicationBundleIdentifier): Ditto. (WebKit::NetworkConnectionToWebProcess::paymentCoordinatorSourceApplicationSecondaryIdentifier): Ditto. (WebKit::NetworkConnectionToWebProcess::paymentCoordinatorAuthorizationPresenter): Added. Returns a new PaymentAuthorizationController. (WebKit::NetworkConnectionToWebProcess::paymentCoordinatorAddMessageReceiver): Added empty definition. NetworkConnectionToWebProcess explicitly forwards WebPaymentCoordinatorProxy messages to its payment coordinator, so there's no need to register with a MessageReceiverMap. (WebKit::NetworkConnectionToWebProcess::paymentCoordinatorRemoveMessageReceiver): Ditto. * Platform/ios/PaymentAuthorizationController.h: Added. Declares a PaymentAuthorizationPresenter subclass based on PKPaymentAuthorizationController. * Platform/ios/PaymentAuthorizationController.mm: Added. (-[WKPaymentAuthorizationControllerDelegate initWithRequest:presenter:]): Initialized WKPaymentAuthorizationDelegate with request and presenter. (-[WKPaymentAuthorizationControllerDelegate paymentAuthorizationControllerDidFinish:]): Forwarded call to WKPaymentAuthorizationDelegate. (-[WKPaymentAuthorizationControllerDelegate paymentAuthorizationController:didAuthorizePayment:handler:]): Ditto. (-[WKPaymentAuthorizationControllerDelegate paymentAuthorizationController:didSelectShippingMethod:handler:]): Ditto. (-[WKPaymentAuthorizationControllerDelegate paymentAuthorizationController:didSelectShippingContact:handler:]): Ditto. (-[WKPaymentAuthorizationControllerDelegate paymentAuthorizationController:didSelectPaymentMethod:handler:]): Ditto. (-[WKPaymentAuthorizationControllerDelegate paymentAuthorizationController:willFinishWithError:]): Ditto. (-[WKPaymentAuthorizationControllerDelegate paymentAuthorizationController:didRequestMerchantSession:]): Ditto. (WebKit::PaymentAuthorizationController::PaymentAuthorizationController): Initialized m_controller with a new PKPaymentAuthorizationController and m_delegate with a new WKPaymentAuthorizationControllerDelegate. (WebKit::PaymentAuthorizationController::platformDelegate): Returned m_delegate. (WebKit::PaymentAuthorizationController::dismiss): Dismissed the controller, set its delegates to nil, set m_controller to nil, invalidated the delegate, and set m_delegate to nil. (WebKit::PaymentAuthorizationController::present): Called -presentWithCompletion: on the controller, forwarding the passed-in completion handler. * Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb: Allowed PassKit to look up the "com.apple.passd.in-app-payment" and "com.apple.passd.library" service endpoints. * Shared/ApplePay/WebPaymentCoordinatorProxy.cpp: (WebKit::WebPaymentCoordinatorProxy::WebPaymentCoordinatorProxy): Changed to call paymentCoordinatorAddMessageReceiver. (WebKit::WebPaymentCoordinatorProxy::~WebPaymentCoordinatorProxy): Changed to call paymentCoordinatorRemoveMessageReceiver. (WebKit::WebPaymentCoordinatorProxy::messageSenderDestinationID const): Deleted. (WebKit::WebPaymentCoordinatorProxy::canMakePaymentsWithActiveCard): Passed sessionID to platformCanMakePaymentsWithActiveCard. (WebKit::WebPaymentCoordinatorProxy::showPaymentUI): Stored destinationID and passed sessionID to platformShowPaymentUI. (WebKit::WebPaymentCoordinatorProxy::cancelPaymentSession): Changed to account for new behavior of didCancelPaymentSession. (WebKit::WebPaymentCoordinatorProxy::didCancelPaymentSession): Changed to call hidePaymentUI. (WebKit::WebPaymentCoordinatorProxy::presenterDidFinish): Changed to only call hidePaymentUI when didReachFinalState is true, since didCancelPaymentSession is called otherwise. (WebKit::WebPaymentCoordinatorProxy::didReachFinalState): Cleared m_destinationID. * Shared/ApplePay/WebPaymentCoordinatorProxy.h: Added m_destionationID member. * Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in: Changed CanMakePaymentsWithActiveCard and ShowPaymentUI messages to take destinationID and sessionID arguments. * Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: (WebKit::WebPaymentCoordinatorProxy::platformCanMakePaymentsWithActiveCard): Passed sessionID to paymentCoordinatorSourceApplicationSecondaryIdentifier. (WebKit::WebPaymentCoordinatorProxy::platformPaymentRequest): Passed sessionID to various m_client call sites. * Shared/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm: (WebKit::WebPaymentCoordinatorProxy::platformShowPaymentUI): Passed sessionID to platformPaymentRequest. (WebKit::WebPaymentCoordinatorProxy::hidePaymentUI): Null-checked m_authorizationPresenter before calling dismiss. * Shared/ApplePay/mac/WebPaymentCoordinatorProxyMac.mm: (WebKit::WebPaymentCoordinatorProxy::platformShowPaymentUI): Passed sessionID to platformPaymentRequest. (WebKit::WebPaymentCoordinatorProxy::hidePaymentUI): Null-checked m_authorizationPresenter before calling dismiss. * Shared/WebPreferences.yaml: Added ApplePayRemoteUIEnabled as an internal preference. * SourcesCocoa.txt: Added NetworkConnectionToWebProcessIOS.mm and PaymentAuthorizationController.mm. * UIProcess/AuxiliaryProcessProxy.h: (WebKit::AuxiliaryProcessProxy::messageReceiverMap): Deleted. * UIProcess/Cocoa/WebPageProxyCocoa.mm: (WebKit::WebPageProxy::paymentCoordinatorConnection): Moved from WebPageProxy.cpp. (WebKit::WebPageProxy::paymentCoordinatorSourceApplicationBundleIdentifier): Ditto. (WebKit::WebPageProxy::paymentCoordinatorSourceApplicationSecondaryIdentifier): Ditto. (WebKit::WebPageProxy::paymentCoordinatorAddMessageReceiver): Ditto. (WebKit::WebPageProxy::paymentCoordinatorRemoveMessageReceiver): Ditto. * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::paymentCoordinatorConnection): Moved to WebPageProxyCocoa.mm. (WebKit::WebPageProxy::paymentCoordinatorMessageReceiver): Ditto. (WebKit::WebPageProxy::paymentCoordinatorSourceApplicationBundleIdentifier): Ditto. (WebKit::WebPageProxy::paymentCoordinatorSourceApplicationSecondaryIdentifier): Ditto. (WebKit::WebPageProxy::paymentCoordinatorDestinationID): Ditto. * UIProcess/WebPageProxy.h: * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::paymentCoordinatorCTDataConnectionServiceType): Asserted that sessionID equals the website data store's sessionID. * WebKit.xcodeproj/project.pbxproj: * WebProcess/ApplePay/WebPaymentCoordinator.cpp: (WebKit::WebPaymentCoordinator::networkProcessConnectionClosed): Added. Cancels the current session if Apple Pay Remote UI is enabled and the network process connection closes. (WebKit::WebPaymentCoordinator::availablePaymentNetworks): Changed to account for WebPaymentCoordinator being an IPC::MessageSender. (WebKit::WebPaymentCoordinator::canMakePayments): Ditto. (WebKit::WebPaymentCoordinator::canMakePaymentsWithActiveCard): Ditto. (WebKit::WebPaymentCoordinator::openPaymentSetup): Ditto. (WebKit::WebPaymentCoordinator::showPaymentUI): Ditto. (WebKit::WebPaymentCoordinator::completeMerchantValidation): Ditto. (WebKit::WebPaymentCoordinator::completeShippingMethodSelection): Ditto. (WebKit::WebPaymentCoordinator::completeShippingContactSelection): Ditto. (WebKit::WebPaymentCoordinator::completePaymentMethodSelection): Ditto. (WebKit::WebPaymentCoordinator::completePaymentSession): Ditto. (WebKit::WebPaymentCoordinator::abortPaymentSession): Ditto. (WebKit::WebPaymentCoordinator::cancelPaymentSession): Ditto. (WebKit::WebPaymentCoordinator::messageSenderConnection const): Added. Returns a connection to the network process if Apple Pay Remote UI is enabled. Otherwise, returned the web process's parent connection. (WebKit::WebPaymentCoordinator::messageSenderDestinationID const): Added. Returns the web page's ID. (WebKit::WebPaymentCoordinator::remoteUIEnabled const): Added. Calls Settings::applePayRemoteUIEnabled. * WebProcess/ApplePay/WebPaymentCoordinator.h: Inherited from IPC::MessageSender. * WebProcess/Network/NetworkProcessConnection.cpp: (WebKit::NetworkProcessConnection::didReceiveMessage): Forwarded WebPaymentCoordinator messages to the payment coordinator of the web page matching the decoder's destination ID. (WebKit::NetworkProcessConnection::didReceiveSyncMessage): Ditto for sync messages. * WebProcess/WebPage/Cocoa/WebPageCocoa.mm: (WebKit::WebPage::paymentCoordinator): Added a payment coordinator getter. * WebProcess/WebPage/WebPage.h: Ditto. * WebProcess/WebProcess.cpp: (WebKit::WebProcess::networkProcessConnectionClosed): Called WebPaymentCoordinator::networkProcessConnectionClosed when the network process connection closes. Source/WTF: * wtf/FeatureDefines.h: Defined ENABLE_APPLE_PAY_REMOTE_UI. Canonical link: https://commits.webkit.org/209880@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-03-11 22:42:09 +00:00
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
/* --------- Apple Cocoa platforms --------- */
#if PLATFORM(COCOA)
#include <wtf/PlatformEnableCocoa.h>
Web Inspector: Provide a way to have alternate inspector agents https://bugs.webkit.org/show_bug.cgi?id=137901 Reviewed by Brian Burg. Source/JavaScriptCore: Provide a way to use alternate inspector agents debugging a JSContext. Expose a very slim private API that a client could use to know when an inspector has connected/disconnected, and a way to register its augmentative agents. * Configurations/FeatureDefines.xcconfig: * JavaScriptCore.xcodeproj/project.pbxproj: New feature guard. New files. * API/JSContextRef.cpp: (JSGlobalContextGetAugmentableInspectorController): * API/JSContextRefInspectorSupport.h: Added. Access to the private interface from a JSContext. * inspector/JSGlobalObjectInspectorController.cpp: (Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController): (Inspector::JSGlobalObjectInspectorController::connectFrontend): (Inspector::JSGlobalObjectInspectorController::disconnectFrontend): * inspector/JSGlobalObjectInspectorController.h: * inspector/augmentable/AugmentableInspectorController.h: Added. (Inspector::AugmentableInspectorController::~AugmentableInspectorController): (Inspector::AugmentableInspectorController::connected): * inspector/augmentable/AugmentableInspectorControllerClient.h: Added. (Inspector::AugmentableInspectorControllerClient::~AugmentableInspectorControllerClient): * inspector/augmentable/AlternateDispatchableAgent.h: Added. (Inspector::AlternateDispatchableAgent::AlternateDispatchableAgent): Provide the private APIs a client could use to add alternate agents using alternate backend dispatchers. * inspector/scripts/codegen/__init__.py: * inspector/scripts/generate-inspector-protocol-bindings.py: (generate_from_specification): New includes, and use the new generator. * inspector/scripts/codegen/generate_alternate_backend_dispatcher_header.py: Added. (AlternateBackendDispatcherHeaderGenerator): (AlternateBackendDispatcherHeaderGenerator.__init__): (AlternateBackendDispatcherHeaderGenerator.output_filename): (AlternateBackendDispatcherHeaderGenerator.generate_output): (AlternateBackendDispatcherHeaderGenerator._generate_handler_declarations_for_domain): (AlternateBackendDispatcherHeaderGenerator._generate_handler_declaration_for_command): Generate the abstract AlternateInspectorBackendDispatcher interfaces. * inspector/scripts/codegen/generate_backend_dispatcher_header.py: (BackendDispatcherHeaderGenerator.generate_output): (BackendDispatcherHeaderGenerator._generate_alternate_handler_forward_declarations_for_domains): (BackendDispatcherHeaderGenerator._generate_alternate_handler_forward_declarations_for_domains.AlternateInspector): Forward declare alternate dispatchers, and allow setting an alternate dispatcher on a domain dispatcher. * inspector/scripts/codegen/generate_backend_dispatcher_implementation.py: (BackendDispatcherImplementationGenerator.generate_output): (BackendDispatcherImplementationGenerator._generate_dispatcher_implementation_for_command): Check for and dispatch on an AlternateInspectorBackendDispatcher if there is one for this domain. * inspector/scripts/codegen/generator_templates.py: (AlternateInspectorBackendDispatcher): (AlternateInspector): Template boilerplate for prelude and postlude. * inspector/scripts/tests/expected/commands-with-async-attribute.json-result: * inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result: * inspector/scripts/tests/expected/domains-with-varying-command-sizes.json-result: * inspector/scripts/tests/expected/events-with-optional-parameters.json-result: * inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result: * inspector/scripts/tests/expected/same-type-id-different-domain.json-result: * inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result: * inspector/scripts/tests/expected/type-declaration-aliased-primitive-type.json-result: * inspector/scripts/tests/expected/type-declaration-array-type.json-result: * inspector/scripts/tests/expected/type-declaration-enum-type.json-result: * inspector/scripts/tests/expected/type-declaration-object-type.json-result: * inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result: Rebaseline tests. Source/WebCore: * Configurations/FeatureDefines.xcconfig: Source/WebKit/mac: * Configurations/FeatureDefines.xcconfig: Source/WebKit2: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/FeatureDefines.h: Canonical link: https://commits.webkit.org/155888@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-10-23 23:43:14 +00:00
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
/* --------- Apple Windows port --------- */
#if PLATFORM(WIN) && !PLATFORM(WIN_CAIRO)
#include <wtf/PlatformEnableWinApple.h>
Web Inspector: Add diagnostic logging for frontend feature usage https://bugs.webkit.org/show_bug.cgi?id=203579 <rdar://problem/56717410> Reviewed by Brian Burg. .: Original patch by Matt Baker <mattbaker@apple.com>. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/JavaScriptCore: Original patch by Matt Baker <mattbaker@apple.com>. * Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/WebCore: Add `InspectorFrontendHost` API for logging diagnostic events from the Web Inspector UI. An event consists of a message string, such as "TabActivity" or "SettingChanged", and a dictionary payload encoded as a JSON string. Original patch by Matt Baker. * inspector/InspectorFrontendHost.idl: * inspector/InspectorFrontendHost.h: * inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::supportsDiagnosticLogging): Added. (WebCore::valuePayloadFromJSONValue): Added. (WebCore::InspectorFrontendHost::logDiagnosticEvent): Added. * inspector/InspectorFrontendClient.h: (WebCore::InspectorFrontendClient::supportsDiagnosticLogging): Added. (WebCore::InspectorFrontendClient::logDiagnosticEvent): Added. * Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/WebCore/PAL: Original patch by Matt Baker <mattbaker@apple.com>. * Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/WebInspectorUI: Add a `DiagnosticController` class for reporting Web Inspector telemetry. The controller initially measures a single "TabActivity" data point, which logs the active tab during the specified time interval (one minute). If the UI is not active during the time interval, no logging takes place. The UI is considered to be active if mouse/keyboard interaction occurs during the time interval, or the selected `TabContentView` changes. Original patch by Matt Baker <mattbaker@apple.com>. * UserInterface/Controllers/DiagnosticController.js: Added. (WI.DiagnosticController): (WI.DiagnosticController.supportsDiagnosticLogging): (WI.DiagnosticController.prototype.logDiagnosticMessage): (WI.DiagnosticController.prototype._didInteractWithTabContent): (WI.DiagnosticController.prototype._clearTabActivityTimeout): (WI.DiagnosticController.prototype._beginTabActivityTimeout): (WI.DiagnosticController.prototype._stopTrackingTabActivity): (WI.DiagnosticController.prototype._handleWindowFocus): (WI.DiagnosticController.prototype._handleWindowBlur): (WI.DiagnosticController.prototype._handleWindowKeyDown): (WI.DiagnosticController.prototype._handleWindowMouseDown): (WI.DiagnosticController.prototype._handleTabBrowserSelectedTabContentViewDidChange): * UserInterface/Main.html: * UserInterface/Base/Main.js: (WI.contentLoaded): Source/WebKit: This patch enables diagnostic logging for the Web Inspector web process and adds the necessary `InspectorFrontendClient` plumbing to `WebInspectorUI`. Original patch by Matt Baker <mattbaker@apple.com>. * WebProcess/WebPage/WebInspectorUI.h: * WebProcess/WebPage/WebInspectorUI.cpp: (WebKit::WebInspectorUI::supportsDiagnosticLogging): Added. (WebKit::WebInspectorUI::logDagnosticEvent): Added. * WebProcess/WebPage/RemoteWebInspectorUI.h: * WebProcess/WebPage/RemoteWebInspectorUI.cpp: (WebKit::RemoteWebInspectorUI::supportsDiagnosticLogging): Added. (WebKit::RemoteWebInspectorUI::logDiagnosticEvent): Added. * UIProcess/mac/WKInspectorViewController.mm: (-[WKInspectorViewController configuration]): Default to enabling diagnostic logging for the Web Inspector frontend window. * Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/WebKitLegacy/mac: Original patch by Matt Baker <mattbaker@apple.com>. * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebInspectorClient.mm: (WebInspectorFrontendClient::supportsDiagnosticLogging): Added. (WebInspectorFrontendClient::logDiagnosticEvent): Added. * Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/WTF: Original patch by Matt Baker <mattbaker@apple.com>. * wtf/FeatureDefines.h: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Tools: Original patch by Matt Baker <mattbaker@apple.com>. * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Canonical link: https://commits.webkit.org/217131@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-11-02 07:36:24 +00:00
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
/* --------- Windows CAIRO port --------- */
#if PLATFORM(WIN_CAIRO)
#include <wtf/PlatformEnableWinCairo.h>
[iOS] Upstream WebCore/page changes https://bugs.webkit.org/show_bug.cgi?id=126180 Reviewed by Darin Adler. Source/WebCore: * WebCore.xcodeproj/project.pbxproj: * dom/EventNames.h: (WebCore::EventNames::isGestureEventType): Added. * page/AlternativeTextClient.h: Do not define WTF_USE_DICTATION_ALTERNATIVES when building for iOS. * page/Chrome.cpp: (WebCore::Chrome::Chrome): (WebCore::Chrome::dispatchViewportPropertiesDidChange): Added; guarded by PLATFORM(IOS). (WebCore::Chrome::setCursor): Make this an empty function when building for iOS. (WebCore::Chrome::setCursorHiddenUntilMouseMoves): Ditto. (WebCore::Chrome::didReceiveDocType): Added; iOS-specific. * page/Chrome.h: (WebCore::Chrome::setDispatchViewportDataDidChangeSuppressed): Added; guarded by PLATFORM(IOS). * page/ChromeClient.h: (WebCore::ChromeClient::didFlushCompositingLayers): Added; guarded by PLATFORM(IOS). (WebCore::ChromeClient::fetchCustomFixedPositionLayoutRect): Added; guarded by PLATFORM(IOS). (WebCore::ChromeClient::updateViewportConstrainedLayers): Added; guarded by PLATFORM(IOS). * page/DOMTimer.cpp: (WebCore::DOMTimer::install): Added iOS-specific code. (WebCore::DOMTimer::fired): Ditto. * page/DOMWindow.cpp: (WebCore::DOMWindow::DOMWindow): Ditto. (WebCore::DOMWindow::innerHeight): Ditto. (WebCore::DOMWindow::innerWidth): Ditto. (WebCore::DOMWindow::scrollX): Ditto. (WebCore::DOMWindow::scrollY): Ditto. (WebCore::DOMWindow::scrollBy): Ditto. (WebCore::DOMWindow::scrollTo): Ditto. (WebCore::DOMWindow::clearTimeout): Ditto. (WebCore::DOMWindow::addEventListener): Ditto. (WebCore::DOMWindow::incrementScrollEventListenersCount): Added; guarded by PLATFORM(IOS). (WebCore::DOMWindow::decrementScrollEventListenersCount): Added; guarded by PLATFORM(IOS). (WebCore::DOMWindow::resetAllGeolocationPermission): Added; Also added FIXME comment. (WebCore::DOMWindow::removeEventListener): Added iOS-specific code. (WebCore::DOMWindow::dispatchEvent): Modified to prevent dispatching duplicate pageshow and pagehide events per <http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-pageshow>. (WebCore::DOMWindow::removeAllEventListeners): Added iOS-specific code. * page/DOMWindow.h: * page/DOMWindow.idl: Added IOS_GESTURE_EVENTS-guarded attributes: ongesture{change, end, start}. Also added IOS_TOUCH_EVENTS-guarded attributes: {Touch, TouchList}Constructor. * page/EditorClient.h: * page/EventHandler.cpp: (WebCore::EventHandler::EventHandler): Added iOS-specific code. (WebCore::EventHandler::clear): Ditto. (WebCore::EventHandler::startPanScrolling): Make this an empty function when building for iOS. (WebCore::EventHandler::handleMousePressEvent): Modified to invalidate a click when the clicked node is null. Also, opt out of code for updating the scrollbars as UIKit manages scrollbars on iOS. (WebCore::EventHandler::handleMouseMoveEvent): Opt of code for updating the scrollbars and cursor when building on iOS. (WebCore::hitTestResultInFrame): Made this a file-local static function since it's only used in EventHandler.cpp. (WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled): Added iOS-specific code. * page/EventHandler.h: * page/FocusController.h: * page/Frame.cpp: (WebCore::Frame::Frame): Added iOS-specific code. (WebCore::Frame::scrollOverflowLayer): Added; iOS-specific. (WebCore::Frame::overflowAutoScrollTimerFired): Added; iOS-specific. (WebCore::Frame::startOverflowAutoScroll): Added; iOS-specific. (WebCore::Frame::checkOverflowScroll): Added; iOS-specific. (WebCore::Frame::willDetachPage): Added iOS-specific code. (WebCore::Frame::createView): Ditto. (WebCore::Frame::setSelectionChangeCallbacksDisabled): Added; iOS-specific. (WebCore::Frame::selectionChangeCallbacksDisabled): Added; iOS-specific. * page/Frame.h: (WebCore::Frame::timersPaused): Added; guarded by PLATFORM(IOS). * page/FrameView.cpp: (WebCore::FrameView::FrameView): Added iOS-specific code. (WebCore::FrameView::clear): Ditto. (WebCore::FrameView::flushCompositingStateForThisFrame): Ditto. (WebCore::FrameView::graphicsLayerForPlatformWidget): Added. (WebCore::FrameView::scheduleLayerFlushAllowingThrottling): Added. (WebCore::FrameView::layout): Added iOS-specific code. (WebCore::countRenderedCharactersInRenderObjectWithThreshold): Added; helper function used by FrameView::renderedCharactersExceed(). Also added FIXME comment. (WebCore::FrameView::renderedCharactersExceed): Added. (WebCore::FrameView::visibleContentsResized): Added iOS-specific code. (WebCore::FrameView::adjustTiledBackingCoverage): Ditto. (WebCore::FrameView::performPostLayoutTasks): Ditto. (WebCore::FrameView::sendResizeEventIfNeeded): Ditto. (WebCore::FrameView::paintContents): Added iOS-specific code. Also added FIXME comments. (WebCore::FrameView::setUseCustomFixedPositionLayoutRect): Added; iOS-specific. (WebCore::FrameView::setCustomFixedPositionLayoutRect): Added; iOS-specific. (WebCore::FrameView::updateFixedPositionLayoutRect): Added; iOS-specific. * page/FrameView.h: * page/Navigator.cpp: (WebCore::Navigator::standalone): Added; iOS-specific. * page/Navigator.h: * page/Navigator.idl: Added WTF_PLATFORM_IOS-guarded attribute: standalone. Also added FIXME comment. * page/NavigatorBase.cpp: (WebCore::NavigatorBase::platform): Added iOS-specific code. * page/Page.h: (WebCore::Page::hasCustomHTMLTokenizerTimeDelay): Added; guarded by PLATFORM(IOS). Also added FIXME comment to remove this method. (WebCore::Page::customHTMLTokenizerTimeDelay): Added; guarded by PLATFORM(IOS). Also added FIXME comment to remove this method. * page/PageGroup.cpp: (WebCore::PageGroup::removeVisitedLink): Added. * page/PageGroup.h: * page/Settings.cpp: (WebCore::Settings::Settings): (WebCore::Settings::setScriptEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setStandalone): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAudioSessionCategoryOverride): Added; guarded by PLATFORM(IOS). (WebCore::Settings::audioSessionCategoryOverride): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setNetworkDataUsageTrackingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::networkDataUsageTrackingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::sharedNetworkInterfaceNameGlobal): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setNetworkInterfaceName): Added; guarded by PLATFORM(IOS). (WebCore::Settings::networkInterfaceName): Added; guarded by PLATFORM(IOS). * page/Settings.h: (WebCore::Settings::setMaxParseDuration): Added; guarded by PLATFORM(IOS). Also added FIXME comment. (WebCore::Settings::maxParseDuration): Added; guarded by PLATFORM(IOS). Also added FIXME comment. (WebCore::Settings::standalone): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setTelephoneNumberParsingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::telephoneNumberParsingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setMediaDataLoadsAutomatically): Added; guarded by PLATFORM(IOS). (WebCore::Settings::mediaDataLoadsAutomatically): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setShouldTransformsAffectOverflow): Added; guarded by PLATFORM(IOS). (WebCore::Settings::shouldTransformsAffectOverflow): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setShouldDispatchJavaScriptWindowOnErrorEvents): Added; guarded by PLATFORM(IOS). (WebCore::Settings::shouldDispatchJavaScriptWindowOnErrorEvents): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAlwaysUseBaselineOfPrimaryFont): Added; guarded by PLATFORM(IOS). (WebCore::Settings::alwaysUseBaselineOfPrimaryFont): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAlwaysUseAcceleratedOverflowScroll): Added; guarded by PLATFORM(IOS). (WebCore::Settings::alwaysUseAcceleratedOverflowScroll): Added; guarded by PLATFORM(IOS). * page/Settings.in: Added IOS_AIRPLAY-guarded setting: mediaPlaybackAllowsAirPlay. * page/animation/CSSPropertyAnimation.cpp: (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): Added iOS-specific code and FIXME comment. * page/ios/EventHandlerIOS.mm: Added. * page/ios/FrameIOS.mm: Added. * page/mac/ChromeMac.mm: * page/mac/PageMac.cpp: (WebCore::Page::addSchedulePair): Opt out of code when building for iOS. (WebCore::Page::removeSchedulePair): Ditto. * page/mac/SettingsMac.mm: (WebCore::Settings::shouldEnableScreenFontSubstitutionByDefault): Added iOS-specific code. * page/mac/WebCoreFrameView.h: Source/WebKit/ios: * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS). Source/WebKit2: * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebCoreSupport/ios/WebChromeClientIOS.mm: Added. * WebProcess/WebPage/WebPage.cpp: Include header <WebCore/HitTestResult.h>. Source/WTF: * wtf/FeatureDefines.h: Define ENABLE_IOS_TOUCH_EVENTS to be enabled by default when building iOS with ENABLE(TOUCH_EVENTS). Canonical link: https://commits.webkit.org/144196@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-27 20:40:28 +00:00
#endif
/* --------- PlayStation port --------- */
#if PLATFORM(PLAYSTATION)
#include <wtf/PlatformEnablePlayStation.h>
#endif
[iOS] Upstream WebCore/html changes https://bugs.webkit.org/show_bug.cgi?id=125765 Reviewed by Darin Adler. Source/WebCore: * WebCore.xcodeproj/project.pbxproj: * html/Autocapitalize.cpp: Added. * html/Autocapitalize.h: Added. Also, added FIXME comment to forward declare AtomicString once we upstream more of the iOS port. * html/BaseChooserOnlyDateAndTimeInputType.cpp: (WebCore::BaseChooserOnlyDateAndTimeInputType::handleDOMActivateEvent): Opt out of code when building for iOS. * html/BaseDateAndTimeInputType.cpp: (WebCore::BaseDateAndTimeInputType::isKeyboardFocusable): Added; iOS-specific. * html/BaseDateAndTimeInputType.h: * html/FileInputType.cpp: (WebCore::FileInputType::FileInputType): Added iOS-specific code. (WebCore::FileInputType::~FileInputType): Opt out of code when building for iOS. Also, added FIXME comment. (WebCore::FileInputType::requestIcon): Ditto. (WebCore::FileInputType::filesChosen): Added; iOS-specific. (WebCore::FileInputType::displayString): Added; iOS-specific. (WebCore::FileInputType::receiveDroppedFiles): Guarded code with ENABLE(DRAG_SUPPORT). * html/FileInputType.h: * html/FormController.cpp: (WebCore::FormController::formElementsCharacterCount): Added. * html/FormController.h: * html/HTMLAppletElement.cpp: (WebCore::HTMLAppletElement::updateWidget): Opt out of code when building for iOS. * html/HTMLAreaElement.cpp: (WebCore::HTMLAreaElement::computePath): Changed argument datatype from RenderElement* to RenderObject*. Also, added FIXME comment to fix this up once we upstream iOS's DOMUIKitExtensions.{h, mm}. (WebCore::HTMLAreaElement::computeRect): Ditto. * html/HTMLAreaElement.h: * html/HTMLAttributeNames.in: Added attributes ongesture{start, change, end}, autocorrect, autocapitalize, data-youtube-id, onwebkit{currentplaybacktargetiswirelesschanged, playbacktargetavailabilitychanged}, webkit-playsinline, x-webkit-airplay, and x-webkit-wirelessvideoplaybackdisabled. * html/HTMLBodyElement.cpp: (WebCore::HTMLBodyElement::scrollLeft): Added iOS-specific code. (WebCore::HTMLBodyElement::scrollTop): Ditto. * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::HTMLCanvasElement): Added iOS-specific code and FIXME comment. (WebCore::HTMLCanvasElement::createImageBuffer): Added iOS-specific code. * html/HTMLCanvasElement.h: Added iOS-specific code and FIXME comment. * html/HTMLDocument.cpp: (WebCore::HTMLDocument::HTMLDocument): Added argument isSynthesized (default to false), which is passed through to Document::Document(), to create a synthesized document. * html/HTMLDocument.h: (WebCore::HTMLDocument::createSynthesizedDocument): Added. * html/HTMLElement.cpp: (WebCore::HTMLElement::collectStyleForPresentationAttribute): Added iOS-specific code. (WebCore::populateEventNameForAttributeLocalNameMap): Ditto. (WebCore::HTMLElement::willRespondToMouseMoveEvents): Added; iOS-specific. (WebCore::HTMLElement::willRespondToMouseWheelEvents): Added; iOS-specific. (WebCore::HTMLElement::willRespondToMouseClickEvents): Added; iOS-specific. * html/HTMLElement.h: * html/HTMLFormControlElement.cpp: Added FIXME comment to share more code with class HTMLFormElement. (WebCore::HTMLFormControlElement::autocorrect): Added; guarded by PLATFORM(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE). (WebCore::HTMLFormControlElement::setAutocorrect): Added; guarded by PLATFORM(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE). (WebCore::HTMLFormControlElement::autocapitalizeType): Added; guarded by PLATFORM(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE). (WebCore::HTMLFormControlElement::autocapitalize): Added; guarded by PLATFORM(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE). (WebCore::HTMLFormControlElement::setAutocapitalize): Added; guarded by PLATFORM(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE). * html/HTMLFormControlElement.h: * html/HTMLFormElement.cpp: Added FIXME comment to share more code with class HTMLFormControlElement. (WebCore::HTMLFormElement::submitImplicitly): Modified to code to allow implicit submission of multi-input forms only if Settings::allowMultiElementImplicitSubmission() returns true. Such behavior is expected by older iOS apps. Also, changed datatype of variable submissionTriggerCount from int to unsigned because it represents a non-negative value. (WebCore::HTMLFormElement::autocorrect): Added; guarded by PLATFORM(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE). (WebCore::HTMLFormElement::setAutocorrect): Added; guarded by PLATFORM(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE). (WebCore::HTMLFormElement::autocapitalizeType): Added; guarded by PLATFORM(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE). (WebCore::HTMLFormElement::autocapitalize): Added; guarded by PLATFORM(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE). (WebCore::HTMLFormElement::setAutocapitalize): Added; guarded by PLATFORM(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE). * html/HTMLFormElement.h: * html/HTMLFormElement.idl: Added iOS-specific attributes: autocorrect and autocapitalize. * html/HTMLIFrameElement.h: * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::displayString): Added; guarded by PLATFORM(IOS). (WebCore::HTMLInputElement::dateType): Added; guarded by PLATFORM(IOS). * html/HTMLInputElement.h: * html/HTMLInputElement.idl: Added iOS-specific attributes: autocorrect and autocapitalize. * html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::willRespondToMouseClickEvents): Added iOS-specific code. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): Added iOS-specific code and FIXME comment. (WebCore::HTMLMediaElement::~HTMLMediaElement): Added iOS-specific code. (WebCore::HTMLMediaElement::parseMediaPlayerAttribute): Added; iOS-specific. (WebCore::HTMLMediaElement::parseAttribute): Added iOS-specific code. (WebCore::HTMLMediaElement::insertedInto): Ditto. (WebCore::HTMLMediaElement::load): Ditto. (WebCore::HTMLMediaElement::prepareForLoad): Ditto. (WebCore::HTMLMediaElement::autoplay): Ditto. (WebCore::HTMLMediaElement::play): Ditto. (WebCore::HTMLMediaElement::playInternal): Ditto. (WebCore::HTMLMediaElement::pauseInternal): Ditto. (WebCore::HTMLMediaElement::setVolumne): Opt out of code when building for iOS. (WebCore::HTMLMediaElement::setMuted): Ditto. (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): Added iOS-specific code. (WebCore::HTMLMediaElement::updateVolume): Ditto. (WebCore::HTMLMediaElement::updatePlayState): Ditto. (WebCore::HTMLMediaElement::userCancelledLoad): Added iOS-specific code and FIXME comment. (WebCore::HTMLMediaElement::resume): Added iOS-specific comment. See <rdar://problem/9751303>. (WebCore::HTMLMediaElement::deliverNotification): Added iOS-specific code. (WebCore::HTMLMediaElement::getPluginProxyParams): Added iOS-specific code. Also, changed src() to getNonEmptyURLAttribute() in the non-iOS code as their doesn't exist a method called src in this class or its superclasses. (WebCore::HTMLMediaElement::webkitShowPlaybackTargetPicker): Added; guarded by ENABLE(IOS_AIRPLAY). (WebCore::HTMLMediaElement::webkitCurrentPlaybackTargetIsWireless): Added; guarded by ENABLE(IOS_AIRPLAY). (WebCore::HTMLMediaElement::mediaPlayerCurrentPlaybackTargetIsWirelessChanged): Added; guarded by ENABLE(IOS_AIRPLAY). (WebCore::HTMLMediaElement::mediaPlayerPlaybackTargetAvailabilityChanged): Added; guarded by ENABLE(IOS_AIRPLAY). (WebCore::HTMLMediaElement::addEventListener): Added; guarded by ENABLE(IOS_AIRPLAY). (WebCore::HTMLMediaElement::removeEventListener): Added; guarded by ENABLE(IOS_AIRPLAY). (WebCore::HTMLMediaElement::enqueuePlaybackTargetAvailabilityChangedEvent): Added; guarded by ENABLE(IOS_AIRPLAY). (WebCore::HTMLMediaElement::enterFullscreen): Added iOS-specific code. (WebCore::HTMLMediaElement::exitFullscreen): Ditto. (WebCore::HTMLMediaElement::createMediaPlayer): Added ENABLE(IOS_AIRPLAY)-guarded code. (WebCore::HTMLMediaElement::userRequestsMediaLoading): Added; guarded by PLATFORM(IOS). (WebCore::HTMLMediaElement::shouldUseVideoPluginProxy): Use dot operator instead of dereference operator (->) when accessing Document::settings(). (WebCore::HTMLMediaElement::didAddUserAgentShadowRoot): Added ENABLE(PLUGIN_PROXY_FOR_VIDEO)-guarded code. * html/HTMLMediaElement.h: (WebCore::HTMLMediaElement::userGestureRequiredToShowPlaybackTargetPicker): Added; guarded by ENABLE(IOS_AIRPLAY). * html/HTMLMediaElement.idl: Added ENABLE_IOS_AIRPLAY-guarded attributes and functions:webkitCurrentPlaybackTargetIsWireless, onwebkit{currentplaybacktargetiswirelesschanged, playbacktargetavailabilitychanged}, and webkitShowPlaybackTargetPicker(). * html/HTMLMetaElement.cpp: (WebCore::HTMLMetaElement::process): Added iOS-specific code. * html/HTMLObjectElement.cpp: (WebCore::shouldNotPerformURLAdjustment): Added; iOS-specific. (WebCore::HTMLObjectElement::parametersForPlugin): Modified to call shouldNotPerformURLAdjustment() when building for iOS. * html/HTMLPlugInElement.h: * html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::createRenderer): Added iOS-specific code. (WebCore::HTMLPlugInImageElement::createShadowIFrameSubtree): Added; iOS-specific. * html/HTMLPlugInImageElement.h: * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::usesMenuList): Added iOS-specific code. (WebCore::HTMLSelectElement::createRenderer): Ditto. (WebCore::HTMLSelectElement::childShouldCreateRenderer): Ditto. (WebCore::HTMLSelectElement::willRespondToMouseClickEvents): Added; iOS-specific. (WebCore::HTMLSelectElement::updateListBoxSelection): Added iOS-specific code. (WebCore::HTMLSelectElement::scrollToSelection): Ditto. (WebCore::HTMLSelectElement::setOptionsChangedOnRenderer): Ditto. (WebCore::HTMLSelectElement::menuListDefaultEventHandler): Opt out of code when building for iOS. (WebCore::HTMLSelectElement::defaultEventHandler): Added iOS-specific code. * html/HTMLSelectElement.h: * html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::willRespondToMouseClickEvents): Added; iOS-specific. * html/HTMLTextAreaElement.h: * html/HTMLTextAreaElement.idl: Added iOS-specific attributes: autocorrect and autocapitalize. * html/HTMLTextFormControlElement.cpp: (WebCore::HTMLTextFormControlElement::select): Added iOS-specific code and FIXME comment. (WebCore::HTMLTextFormControlElement::setSelectionRange): Opt out of code when building for iOS. (WebCore::HTMLTextFormControlElement::hidePlaceholder): Added; guarded by PLATFORM(IOS). (WebCore::HTMLTextFormControlElement::showPlaceholderIfNecessary): Added; guarded by PLATFORM(IOS). * html/HTMLTextFormControlElement.h: * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::createRenderer): Fix up call to HTMLMediaElement::createRenderer(). (WebCore::HTMLVideoElement::parseAttribute): Added iOS-specific code. (WebCore::HTMLVideoElement::supportsFullscreen): Ditto. (WebCore::HTMLVideoElement::webkitWirelessVideoPlaybackDisabled): Added; guarded by ENABLE(IOS_AIRPLAY). (WebCore::HTMLVideoElement::setWebkitWirelessVideoPlaybackDisabled): Added; guarded by ENABLE(IOS_AIRPLAY). * html/HTMLVideoElement.h: * html/HTMLVideoElement.idl: Added ENABLE_IOS_AIRPLAY-guarded attribute: webkitWirelessVideoPlaybackDisabled. * html/ImageDocument.cpp: (WebCore::ImageDocument::createDocumentStructure): Added iOS-specific code. (WebCore::ImageDocument::scale): Ditto. (WebCore::ImageDocument::resizeImageToFit): Ditto. (WebCore::ImageDocument::imageClicked): Ditto. (WebCore::ImageDocument::imageFitsInWindow): Ditto. (WebCore::ImageDocument::windowSizeChanged): Ditto. * html/InputType.cpp: (WebCore::InputType::dateType): Added; guarded by PLATFORM(IOS). (WebCore::InputType::isKeyboardFocusable): Added iOS-specific code. (WebCore::InputType::displayString): Added; guarded by PLATFORM(IOS). * html/InputType.h: * html/PluginDocument.cpp: (WebCore::PluginDocumentParser::createDocumentStructure): Added iOS-specific code. * html/RangeInputType.cpp: (WebCore::RangeInputType::handleTouchEvent): Ditto. (WebCore::RangeInputType::disabledAttributeChanged): Added; iOS-specific. * html/RangeInputType.h: * html/SearchInputType.cpp: (WebCore::SearchInputType::addSearchResult): Opt out of code when building for iOS. * html/TextFieldInputType.cpp: (WebCore::TextFieldInputType::isKeyboardFocusable): Added iOS-specific code. * html/TextFieldInputType.h: * html/WebAutocapitalize.h: Added. * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::createImageData): Added iOS-specific code. (WebCore::CanvasRenderingContext2D::getImageData): Ditto. * html/parser/HTMLConstructionSite.h: (WebCore::HTMLConstructionSite::isTelephoneNumberParsingEnabled): Added; guarded by PLATFORM(IOS). * html/parser/HTMLParserScheduler.h: (WebCore::HTMLParserScheduler::checkForYieldBeforeToken): Added iOS-specific code. * html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::insertPhoneNumberLink): Added; guarded by PLATFORM(IOS). (WebCore::HTMLTreeBuilder::linkifyPhoneNumbers): Added; guarded by PLATFORM(IOS). (WebCore::disallowTelephoneNumberParsing): Added; guarded by PLATFORM(IOS). (WebCore::shouldParseTelephoneNumbersInNode): Added; guarded by PLATFORM(IOS). (WebCore::HTMLTreeBuilder::processCharacterBufferForInBody): Added iOS-specific code. * html/parser/HTMLTreeBuilder.h: * html/shadow/MediaControlElements.cpp: (WebCore::MediaControlClosedCaptionsTrackListElement::MediaControlClosedCaptionsTrackListElement): Guarded member initialization of m_controls with ENABLE(VIDEO_TRACK). Also added UNUSED_PARAM(event) when building with VIDEO_TRACK disabled. (WebCore::MediaControlClosedCaptionsTrackListElement::defaultEventHandler): Added UNUSED_PARAM(event) when building with VIDEO_TRACK disabled. * html/shadow/MediaControls.h: * html/shadow/SliderThumbElement.cpp: (WebCore::SliderThumbElement::SliderThumbElement): Added iOS-specific code. (WebCore::SliderThumbElement::dragFrom): Opt out of code when building for iOS. (WebCore::SliderThumbElement::willDetachRenderers): Added iOS-specific code. (WebCore::SliderThumbElement::exclusiveTouchIdentifier): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::setExclusiveTouchIdentifier): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::clearExclusiveTouchIdentifier): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::findTouchWithIdentifier): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::handleTouchStart): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::handleTouchMove): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::handleTouchEndAndCancel): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::didAttachRenderers): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::handleTouchEvent): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::shouldAcceptTouchEvents): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::registerForTouchEvents): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::unregisterForTouchEvents): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). (WebCore::SliderThumbElement::disabledAttributeChanged): Added; guarded by ENABLE(TOUCH_EVENTS) && PLATFORM(IOS). * html/shadow/SliderThumbElement.h: * html/shadow/TextControlInnerElements.cpp: (WebCore::SearchFieldResultsButtonElement::defaultEventHandler): Opt out of code when building for iOS. * html/shadow/TextControlInnerElements.h: * page/Settings.in: Added setting allowMultiElementImplicitSubmission to enable/disable multi-input implicit form submission (disabled by default). Also added FIXME comment to rename this setting to allowMultiElementImplicitFormSubmission once we upstream the iOS changes to WebView.mm. Source/WTF: Defined ENABLE_IOS_AUTOCORRECT_AND_AUTOCAPITALIZE, enabled by default on iOS. * wtf/FeatureDefines.h: Canonical link: https://commits.webkit.org/143888@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-18 00:15:02 +00:00
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
/* --------- ENABLE macro defaults --------- */
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
/* Do not use PLATFORM() tests in this section ! */
[iOS] Upstream text autosizing https://bugs.webkit.org/show_bug.cgi?id=121111 Reviewed by Andy Estes and Sam Weinig. Source/WebCore: Tests: platform/iphone-simulator/text-autosizing/anonymous-block.html platform/iphone-simulator/text-autosizing/contenteditable.html platform/iphone-simulator/text-autosizing/first-letter.html platform/iphone-simulator/text-autosizing/font-family-case-insensitive.html platform/iphone-simulator/text-autosizing/lists.html platform/iphone-simulator/text-autosizing/overflow.html platform/iphone-simulator/text-autosizing/percent-adjust-length-line-height.html platform/iphone-simulator/text-autosizing/percent-adjust-number-line-height.html platform/iphone-simulator/text-autosizing/percent-adjust-percent-line-height.html * WebCore.exp.in: * WebCore.xcodeproj/project.pbxproj: * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::propertyValue): * css/CSSParser.cpp: (WebCore::isValidKeywordPropertyAndValue): (WebCore::CSSParser::parseValue): * css/CSSProperty.cpp: (WebCore::CSSProperty::isInheritedProperty): * css/CSSPropertyNames.in: Add property -webkit-text-size-adjust. * css/DeprecatedStyleBuilder.cpp: (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyValue): Added. (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyInitialValue): Added. (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyInheritValue): Added. (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::createHandler): Added. (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder): * css/StyleResolver.cpp: (WebCore::StyleResolver::updateFont): (WebCore::StyleResolver::applyProperties): Add COMPILE_ASSERT to ensure that all properties that affect font size, including -webkit-text-size-adjust, are resolved before properties that depend on them; see <rdar://problem/13522835>. (WebCore::StyleResolver::applyProperty): (WebCore::StyleResolver::checkForTextSizeAdjust): Added. * css/StyleResolver.h: * dom/Document.cpp: (WebCore::TextAutoSizingTraits::constructDeletedValue): Added. (WebCore::TextAutoSizingTraits::isDeletedValue): Added. (WebCore::Document::detach): (WebCore::Document::addAutoSizingNode): Added. (WebCore::Document::validateAutoSizingNodes): Added. (WebCore::Document::resetAutoSizingNodes): Added. * dom/Document.h: * editing/EditingStyle.cpp: * page/Frame.h: Add declarations for setTextAutosizingWidth(), textAutosizingWidth(). * page/FrameView.cpp: (WebCore::FrameView::layout): * page/Settings.in: Generate setter and getter for setting minimumZoomFontSize. * platform/graphics/Font.h: (WebCore::Font::equalForTextAutoSizing): Added. * platform/graphics/FontDescription.cpp: (WebCore::FontDescription::familiesEqualForTextAutoSizing): Added. * platform/graphics/FontDescription.h: (WebCore::FontDescription::equalForTextAutoSizing): Added. * rendering/RenderBlock.cpp: (WebCore::RenderBlock::RenderBlock): (WebCore::isVisibleRenderText): Added. (WebCore::resizeTextPermitted): Added. (WebCore::RenderBlock::immediateLineCount): Added. (WebCore::isNonBlocksOrNonFixedHeightListItems): Added. (WebCore::oneLineTextMultiplier): Added. (WebCore::textMultiplier): Added. (WebCore::RenderBlock::adjustComputedFontSizes): Added. * rendering/RenderBlock.h: (WebCore::RenderBlock::resetComputedFontSize): Added. * rendering/RenderObject.cpp: (WebCore::RenderObject::traverseNext): Added. (WebCore::includeNonFixedHeight): Added. (WebCore::RenderObject::adjustComputedFontSizesOnBlocks): Added. (WebCore::RenderObject::resetTextAutosizing): Added. * rendering/RenderObject.h: * rendering/RenderText.cpp: (WebCore::RenderText::RenderText): * rendering/RenderText.h: (WebCore::RenderText::candidateComputedTextSize): Added. (WebCore::RenderText::setCandidateComputedTextSize): Added. * rendering/style/RenderStyle.cpp: (WebCore::computeFontHash): (WebCore::RenderStyle::hashForTextAutosizing): Added. (WebCore::RenderStyle::equalForTextAutosizing): Added. (WebCore::RenderStyle::changeRequiresLayout): (WebCore::RenderStyle::specifiedLineHeight): Added; iOS-specific variant. We should reconcile this getter with the getter of the same name that is compiled when building with IOS_TEXT_AUTOSIZING disabled. (WebCore::RenderStyle::setSpecifiedLineHeight): Added. * rendering/style/RenderStyle.h: (WebCore::RenderStyle::initialSpecifiedLineHeight): Added. (WebCore::RenderStyle::initialTextSizeAdjust): Added. (WebCore::RenderStyle::setTextSizeAdjust): Added. (WebCore::RenderStyle::textSizeAdjust): Added. * rendering/style/StyleInheritedData.cpp: (WebCore::StyleInheritedData::StyleInheritedData): (WebCore::StyleInheritedData::operator==): * rendering/style/StyleInheritedData.h: * rendering/style/StyleRareInheritedData.cpp: (WebCore::StyleRareInheritedData::StyleRareInheritedData): (WebCore::StyleRareInheritedData::operator==): * rendering/style/StyleRareInheritedData.h: * rendering/style/TextSizeAdjustment.h: Added. (TextSizeAdjustment::TextSizeAdjustment): (TextSizeAdjustment::percentage): (TextSizeAdjustment::multiplier): (TextSizeAdjustment::isAuto): (TextSizeAdjustment::isNone): (TextSizeAdjustment::isPercentage): (TextSizeAdjustment::operator == ): (TextSizeAdjustment::operator != ): Source/WebKit/mac: * WebView/WebFrame.mm: (-[WebFrame resetTextAutosizingBeforeLayout]): Added. (-[WebFrame _setVisibleSize:]): Added. (-[WebFrame _setTextAutosizingWidth:]): Added. * WebView/WebFramePrivate.h: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences _setMinimumZoomFontSize:]): Added. (-[WebPreferences _minimumZoomFontSize]): Added. Source/WTF: Define iOS text autosizing to be enabled on iOS unless otherwise defined. * wtf/FeatureDefines.h: Tools: Implement infrastructure to test the iOS text autosizing code. * DumpRenderTree/TestRunner.cpp: (setTextAutosizingEnabledCallback): Added. (TestRunner::staticFunctions): * DumpRenderTree/TestRunner.h: * DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues): * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setTextAutosizingEnabled): Added. LayoutTests: Add tests to ensure we don't regress iOS text autosizing. * platform/iphone-simulator/text-autosizing/anonymous-block-expected.txt: Added. * platform/iphone-simulator/text-autosizing/anonymous-block.html: Added. * platform/iphone-simulator/text-autosizing/contenteditable-expected.txt: Added. * platform/iphone-simulator/text-autosizing/contenteditable.html: Added. * platform/iphone-simulator/text-autosizing/first-letter-expected.txt: Added. * platform/iphone-simulator/text-autosizing/first-letter.html: Added. * platform/iphone-simulator/text-autosizing/font-family-case-insensitive-expected.txt: Added. * platform/iphone-simulator/text-autosizing/font-family-case-insensitive.html: Added. * platform/iphone-simulator/text-autosizing/lists-expected.txt: Added. * platform/iphone-simulator/text-autosizing/lists.html: Added. * platform/iphone-simulator/text-autosizing/overflow-expected.txt: Added. * platform/iphone-simulator/text-autosizing/overflow.html: Added. * platform/iphone-simulator/text-autosizing/percent-adjust-length-line-height-expected.txt: Added. * platform/iphone-simulator/text-autosizing/percent-adjust-length-line-height.html: Added. * platform/iphone-simulator/text-autosizing/percent-adjust-number-line-height-expected.txt: Added. * platform/iphone-simulator/text-autosizing/percent-adjust-number-line-height.html: Added. * platform/iphone-simulator/text-autosizing/percent-adjust-percent-line-height-expected.txt: Added. * platform/iphone-simulator/text-autosizing/percent-adjust-percent-line-height.html: Added. Canonical link: https://commits.webkit.org/139059@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-09-11 02:39:05 +00:00
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_WEBPROCESS_NSRUNLOOP)
#define ENABLE_WEBPROCESS_NSRUNLOOP 0
[iOS] Upstream WebCore/page changes https://bugs.webkit.org/show_bug.cgi?id=126180 Reviewed by Darin Adler. Source/WebCore: * WebCore.xcodeproj/project.pbxproj: * dom/EventNames.h: (WebCore::EventNames::isGestureEventType): Added. * page/AlternativeTextClient.h: Do not define WTF_USE_DICTATION_ALTERNATIVES when building for iOS. * page/Chrome.cpp: (WebCore::Chrome::Chrome): (WebCore::Chrome::dispatchViewportPropertiesDidChange): Added; guarded by PLATFORM(IOS). (WebCore::Chrome::setCursor): Make this an empty function when building for iOS. (WebCore::Chrome::setCursorHiddenUntilMouseMoves): Ditto. (WebCore::Chrome::didReceiveDocType): Added; iOS-specific. * page/Chrome.h: (WebCore::Chrome::setDispatchViewportDataDidChangeSuppressed): Added; guarded by PLATFORM(IOS). * page/ChromeClient.h: (WebCore::ChromeClient::didFlushCompositingLayers): Added; guarded by PLATFORM(IOS). (WebCore::ChromeClient::fetchCustomFixedPositionLayoutRect): Added; guarded by PLATFORM(IOS). (WebCore::ChromeClient::updateViewportConstrainedLayers): Added; guarded by PLATFORM(IOS). * page/DOMTimer.cpp: (WebCore::DOMTimer::install): Added iOS-specific code. (WebCore::DOMTimer::fired): Ditto. * page/DOMWindow.cpp: (WebCore::DOMWindow::DOMWindow): Ditto. (WebCore::DOMWindow::innerHeight): Ditto. (WebCore::DOMWindow::innerWidth): Ditto. (WebCore::DOMWindow::scrollX): Ditto. (WebCore::DOMWindow::scrollY): Ditto. (WebCore::DOMWindow::scrollBy): Ditto. (WebCore::DOMWindow::scrollTo): Ditto. (WebCore::DOMWindow::clearTimeout): Ditto. (WebCore::DOMWindow::addEventListener): Ditto. (WebCore::DOMWindow::incrementScrollEventListenersCount): Added; guarded by PLATFORM(IOS). (WebCore::DOMWindow::decrementScrollEventListenersCount): Added; guarded by PLATFORM(IOS). (WebCore::DOMWindow::resetAllGeolocationPermission): Added; Also added FIXME comment. (WebCore::DOMWindow::removeEventListener): Added iOS-specific code. (WebCore::DOMWindow::dispatchEvent): Modified to prevent dispatching duplicate pageshow and pagehide events per <http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-pageshow>. (WebCore::DOMWindow::removeAllEventListeners): Added iOS-specific code. * page/DOMWindow.h: * page/DOMWindow.idl: Added IOS_GESTURE_EVENTS-guarded attributes: ongesture{change, end, start}. Also added IOS_TOUCH_EVENTS-guarded attributes: {Touch, TouchList}Constructor. * page/EditorClient.h: * page/EventHandler.cpp: (WebCore::EventHandler::EventHandler): Added iOS-specific code. (WebCore::EventHandler::clear): Ditto. (WebCore::EventHandler::startPanScrolling): Make this an empty function when building for iOS. (WebCore::EventHandler::handleMousePressEvent): Modified to invalidate a click when the clicked node is null. Also, opt out of code for updating the scrollbars as UIKit manages scrollbars on iOS. (WebCore::EventHandler::handleMouseMoveEvent): Opt of code for updating the scrollbars and cursor when building on iOS. (WebCore::hitTestResultInFrame): Made this a file-local static function since it's only used in EventHandler.cpp. (WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled): Added iOS-specific code. * page/EventHandler.h: * page/FocusController.h: * page/Frame.cpp: (WebCore::Frame::Frame): Added iOS-specific code. (WebCore::Frame::scrollOverflowLayer): Added; iOS-specific. (WebCore::Frame::overflowAutoScrollTimerFired): Added; iOS-specific. (WebCore::Frame::startOverflowAutoScroll): Added; iOS-specific. (WebCore::Frame::checkOverflowScroll): Added; iOS-specific. (WebCore::Frame::willDetachPage): Added iOS-specific code. (WebCore::Frame::createView): Ditto. (WebCore::Frame::setSelectionChangeCallbacksDisabled): Added; iOS-specific. (WebCore::Frame::selectionChangeCallbacksDisabled): Added; iOS-specific. * page/Frame.h: (WebCore::Frame::timersPaused): Added; guarded by PLATFORM(IOS). * page/FrameView.cpp: (WebCore::FrameView::FrameView): Added iOS-specific code. (WebCore::FrameView::clear): Ditto. (WebCore::FrameView::flushCompositingStateForThisFrame): Ditto. (WebCore::FrameView::graphicsLayerForPlatformWidget): Added. (WebCore::FrameView::scheduleLayerFlushAllowingThrottling): Added. (WebCore::FrameView::layout): Added iOS-specific code. (WebCore::countRenderedCharactersInRenderObjectWithThreshold): Added; helper function used by FrameView::renderedCharactersExceed(). Also added FIXME comment. (WebCore::FrameView::renderedCharactersExceed): Added. (WebCore::FrameView::visibleContentsResized): Added iOS-specific code. (WebCore::FrameView::adjustTiledBackingCoverage): Ditto. (WebCore::FrameView::performPostLayoutTasks): Ditto. (WebCore::FrameView::sendResizeEventIfNeeded): Ditto. (WebCore::FrameView::paintContents): Added iOS-specific code. Also added FIXME comments. (WebCore::FrameView::setUseCustomFixedPositionLayoutRect): Added; iOS-specific. (WebCore::FrameView::setCustomFixedPositionLayoutRect): Added; iOS-specific. (WebCore::FrameView::updateFixedPositionLayoutRect): Added; iOS-specific. * page/FrameView.h: * page/Navigator.cpp: (WebCore::Navigator::standalone): Added; iOS-specific. * page/Navigator.h: * page/Navigator.idl: Added WTF_PLATFORM_IOS-guarded attribute: standalone. Also added FIXME comment. * page/NavigatorBase.cpp: (WebCore::NavigatorBase::platform): Added iOS-specific code. * page/Page.h: (WebCore::Page::hasCustomHTMLTokenizerTimeDelay): Added; guarded by PLATFORM(IOS). Also added FIXME comment to remove this method. (WebCore::Page::customHTMLTokenizerTimeDelay): Added; guarded by PLATFORM(IOS). Also added FIXME comment to remove this method. * page/PageGroup.cpp: (WebCore::PageGroup::removeVisitedLink): Added. * page/PageGroup.h: * page/Settings.cpp: (WebCore::Settings::Settings): (WebCore::Settings::setScriptEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setStandalone): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAudioSessionCategoryOverride): Added; guarded by PLATFORM(IOS). (WebCore::Settings::audioSessionCategoryOverride): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setNetworkDataUsageTrackingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::networkDataUsageTrackingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::sharedNetworkInterfaceNameGlobal): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setNetworkInterfaceName): Added; guarded by PLATFORM(IOS). (WebCore::Settings::networkInterfaceName): Added; guarded by PLATFORM(IOS). * page/Settings.h: (WebCore::Settings::setMaxParseDuration): Added; guarded by PLATFORM(IOS). Also added FIXME comment. (WebCore::Settings::maxParseDuration): Added; guarded by PLATFORM(IOS). Also added FIXME comment. (WebCore::Settings::standalone): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setTelephoneNumberParsingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::telephoneNumberParsingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setMediaDataLoadsAutomatically): Added; guarded by PLATFORM(IOS). (WebCore::Settings::mediaDataLoadsAutomatically): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setShouldTransformsAffectOverflow): Added; guarded by PLATFORM(IOS). (WebCore::Settings::shouldTransformsAffectOverflow): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setShouldDispatchJavaScriptWindowOnErrorEvents): Added; guarded by PLATFORM(IOS). (WebCore::Settings::shouldDispatchJavaScriptWindowOnErrorEvents): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAlwaysUseBaselineOfPrimaryFont): Added; guarded by PLATFORM(IOS). (WebCore::Settings::alwaysUseBaselineOfPrimaryFont): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAlwaysUseAcceleratedOverflowScroll): Added; guarded by PLATFORM(IOS). (WebCore::Settings::alwaysUseAcceleratedOverflowScroll): Added; guarded by PLATFORM(IOS). * page/Settings.in: Added IOS_AIRPLAY-guarded setting: mediaPlaybackAllowsAirPlay. * page/animation/CSSPropertyAnimation.cpp: (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): Added iOS-specific code and FIXME comment. * page/ios/EventHandlerIOS.mm: Added. * page/ios/FrameIOS.mm: Added. * page/mac/ChromeMac.mm: * page/mac/PageMac.cpp: (WebCore::Page::addSchedulePair): Opt out of code when building for iOS. (WebCore::Page::removeSchedulePair): Ditto. * page/mac/SettingsMac.mm: (WebCore::Settings::shouldEnableScreenFontSubstitutionByDefault): Added iOS-specific code. * page/mac/WebCoreFrameView.h: Source/WebKit/ios: * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS). Source/WebKit2: * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebCoreSupport/ios/WebChromeClientIOS.mm: Added. * WebProcess/WebPage/WebPage.cpp: Include header <WebCore/HitTestResult.h>. Source/WTF: * wtf/FeatureDefines.h: Define ENABLE_IOS_TOUCH_EVENTS to be enabled by default when building iOS with ENABLE(TOUCH_EVENTS). Canonical link: https://commits.webkit.org/144196@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-27 20:40:28 +00:00
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_MAC_GESTURE_EVENTS)
#define ENABLE_MAC_GESTURE_EVENTS 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_CURSOR_VISIBILITY)
#define ENABLE_CURSOR_VISIBILITY 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_AIRPLAY_PICKER)
#define ENABLE_AIRPLAY_PICKER 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_APPLE_PAY_REMOTE_UI)
#define ENABLE_APPLE_PAY_REMOTE_UI 0
Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac https://bugs.webkit.org/show_bug.cgi?id=123111 Reviewed by Timothy Hatcher. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: * Configurations/FeatureDefines.xcconfig: * WebCore.exp.in: Source/WebKit: * WebKit.xcodeproj/project.pbxproj: Source/WebKit/cf: * WebCoreSupport/WebInspectorClientCF.cpp: Source/WebKit/ios: iOS does not have a local inspector, only remote. So give it a custom implementation separate from the WebKit/mac WebInspectorClient implementation which handles an attaching/detaching local inspector. * WebKit.xcodeproj/project.pbxproj: * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added. (WebInspectorClient::WebInspectorClient): (WebInspectorClient::inspectorDestroyed): (WebInspectorClient::openInspectorFrontend): (WebInspectorClient::bringFrontendToFront): (WebInspectorClient::closeInspectorFrontend): (WebInspectorClient::didResizeMainFrame): (WebInspectorClient::highlight): (WebInspectorClient::hideHighlight): (WebInspectorClient::didSetSearchingForNode): (WebInspectorClient::sendMessageToFrontend): (WebInspectorClient::sendMessageToBackend): (WebInspectorClient::setupRemoteConnection): (WebInspectorClient::teardownRemoteConnection): (WebInspectorClient::hasLocalSession): (WebInspectorClient::canBeRemotelyInspected): (WebInspectorClient::inspectedWebView): (WebInspectorFrontendClient::WebInspectorFrontendClient): (WebInspectorFrontendClient::attachAvailabilityChanged): (WebInspectorFrontendClient::frontendLoaded): (WebInspectorFrontendClient::localizedStringsURL): (WebInspectorFrontendClient::bringToFront): (WebInspectorFrontendClient::closeWindow): (WebInspectorFrontendClient::disconnectFromBackend): (WebInspectorFrontendClient::attachWindow): (WebInspectorFrontendClient::detachWindow): (WebInspectorFrontendClient::setAttachedWindowHeight): (WebInspectorFrontendClient::setAttachedWindowWidth): (WebInspectorFrontendClient::setToolbarHeight): (WebInspectorFrontendClient::inspectedURLChanged): (WebInspectorFrontendClient::updateWindowTitle): (WebInspectorFrontendClient::save): (WebInspectorFrontendClient::append): Source/WebKit/mac: The actual implementation at the WebCoreSupport/WebInspectorClient level is the same as INSPECTOR_SERVER. Give debuggable pages a pageIdentifer. * Configurations/FeatureDefines.xcconfig: * Misc/WebKitLogging.h: Misc. * WebCoreSupport/WebInspectorClient.h: (WebInspectorClient::pageId): (WebInspectorClient::setPageId): Give WebInspectorClient's a page identifier. * WebCoreSupport/WebInspectorClient.mm: (WebInspectorClient::WebInspectorClient): (WebInspectorClient::inspectorDestroyed): (WebInspectorClient::sendMessageToFrontend): (WebInspectorClient::sendMessageToBackend): (WebInspectorClient::setupRemoteConnection): (WebInspectorClient::teardownRemoteConnection): (WebInspectorClient::hasLocalSession): (WebInspectorClient::canBeRemotelyInspected): (WebInspectorClient::inspectedWebView): A WebInspectorClient can be either local or remote. Add handling for remote connections. * WebInspector/remote/WebInspectorClientRegistry.h: Added. * WebInspector/remote/WebInspectorClientRegistry.mm: Added. (+[WebInspectorClientRegistry sharedRegistry]): (-[WebInspectorClientRegistry init]): (-[WebInspectorClientRegistry _getNextAvailablePageId]): (-[WebInspectorClientRegistry registerClient:]): (-[WebInspectorClientRegistry unregisterClient:]): (-[WebInspectorClientRegistry clientForPageId:]): (-[WebInspectorClientRegistry inspectableWebViews]): Registry for all potentially debuggable pages. All WebInspectorClient instances. * WebInspector/remote/WebInspectorRelayDefinitions.h: Added. Constants (message keys) shared between WebKit and the XPC process. * WebInspector/remote/WebInspectorServer.h: Added. * WebInspector/remote/WebInspectorServer.mm: Added. (-[WebInspectorServer init]): (-[WebInspectorServer dealloc]): (-[WebInspectorServer start]): (-[WebInspectorServer stop]): (-[WebInspectorServer isEnabled]): (-[WebInspectorServer xpcConnection]): (-[WebInspectorServer setupXPCConnectionIfNeeded]): (-[WebInspectorServer pushListing]): (-[WebInspectorServer hasActiveDebugSession]): (-[WebInspectorServer setHasActiveDebugSession:]): (-[WebInspectorServer xpcConnection:receivedMessage:userInfo:]): (-[WebInspectorServer xpcConnectionFailed:]): (-[WebInspectorServer didRegisterClient:]): (-[WebInspectorServer didUnregisterClient:]): Singleton to start/stop remote inspection. Handles the connection to the XPC and hands off connections to the connection controller. * WebInspector/remote/WebInspectorServerWebViewConnection.h: Added. * WebInspector/remote/WebInspectorServerWebViewConnection.mm: Added. (-[WebInspectorServerWebViewConnection initWithController:connectionIdentifier:destination:identifier:]): (-[WebInspectorServerWebViewConnection setupChannel]): (-[WebInspectorServerWebViewConnection dealloc]): (-[WebInspectorServerWebViewConnection connectionIdentifier]): (-[WebInspectorServerWebViewConnection identifier]): (-[WebInspectorServerWebViewConnection clearChannel]): (-[WebInspectorServerWebViewConnection sendMessageToFrontend:]): (-[WebInspectorServerWebViewConnection sendMessageToBackend:]): (-[WebInspectorServerWebViewConnection receivedData:]): (-[WebInspectorServerWebViewConnection receivedDidClose:]): An individual remote debug session connection. * WebInspector/remote/WebInspectorServerWebViewConnectionController.h: Added. * WebInspector/remote/WebInspectorServerWebViewConnectionController.mm: Added. (-[WebInspectorServerWebViewConnectionController initWithServer:]): (-[WebInspectorServerWebViewConnectionController dealloc]): (-[WebInspectorServerWebViewConnectionController closeAllConnections]): (-[WebInspectorServerWebViewConnectionController _listingForWebView:pageId:registry:]): (-[WebInspectorServerWebViewConnectionController _pushListing:]): (-[WebInspectorServerWebViewConnectionController pushListing:]): (-[WebInspectorServerWebViewConnectionController pushListing]): (-[WebInspectorServerWebViewConnectionController _receivedSetup:]): (-[WebInspectorServerWebViewConnectionController _receivedData:]): (-[WebInspectorServerWebViewConnectionController _receivedDidClose:]): (-[WebInspectorServerWebViewConnectionController _receivedGetListing:]): (-[WebInspectorServerWebViewConnectionController _receivedIndicate:]): (-[WebInspectorServerWebViewConnectionController _receivedConnectionDied:]): (-[WebInspectorServerWebViewConnectionController receivedMessage:userInfo:]): (-[WebInspectorServerWebViewConnectionController connectionClosing:]): (-[WebInspectorServerWebViewConnectionController sendMessageToFrontend:userInfo:]): ConnectionController: - Holds all the current ongoing remote debug connections. - Simplifies multi-threaded work on iOS. - Dispatches incoming messages from the remote connection. * WebInspector/remote/WebInspectorRemoteChannel.h: Added. * WebInspector/remote/WebInspectorRemoteChannel.mm: Added. (+[WebInspectorRemoteChannel createChannelForPageId:connection:]): (-[WebInspectorRemoteChannel initWithRemote:local:]): (-[WebInspectorRemoteChannel closeFromLocalSide]): (-[WebInspectorRemoteChannel closeFromRemoteSide]): (-[WebInspectorRemoteChannel sendMessageToFrontend:]): (-[WebInspectorRemoteChannel sendMessageToBackend:]): Thin interface between the remote connection and web inspector client. This simplifies breaking the connection from either side, e.g. the page closing, or the remote connection disconnecting. * WebInspector/remote/WebInspectorXPCWrapper.h: Added. * WebInspector/remote/WebInspectorXPCWrapper.m: Added. (-[WebInspectorXPCWrapper initWithConnection:]): (-[WebInspectorXPCWrapper close]): (-[WebInspectorXPCWrapper dealloc]): (-[WebInspectorXPCWrapper _deserializeMessage:]): (-[WebInspectorXPCWrapper _handleEvent:]): (-[WebInspectorXPCWrapper sendMessage:userInfo:]): (-[WebInspectorXPCWrapper available]): * WebKit.exp: XPC Connection wrapper handling a simple message format. * WebView/WebViewData.h: * WebView/WebViewData.mm: (-[WebViewPrivate init]): (-[WebViewPrivate dealloc]): * WebView/WebViewInternal.h: * WebView/WebViewPrivate.h: * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:]): (+[WebView sharedWebInspectorServer]): (+[WebView _enableRemoteInspector]): (+[WebView _disableRemoteInspector]): (+[WebView _disableAutoStartRemoteInspector]): (+[WebView _isRemoteInspectorEnabled]): (+[WebView _hasRemoteInspectorSession]): (-[WebView canBeRemotelyInspected]): (-[WebView allowsRemoteInspection]): (-[WebView setAllowsRemoteInspection:]): (-[WebView setIndicatingForRemoteInspector:]): (-[WebView setRemoteInspectorUserInfo:]): (-[WebView remoteInspectorUserInfo]): Remote inspector private API. - Enable / disable globally - Allow / disallow per webview - Optionally attach a userInfo dictionary on the WebView that is published with listing. - Indicate a WebView (implementation to land later) (-[WebView _didCommitLoadForFrame:]): * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::dispatchDidReceiveTitle): Pages changed, pushed page listing. Source/WebKit2: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/FeatureDefines.h: Canonical link: https://commits.webkit.org/141462@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-10-25 20:59:15 +00:00
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_AUTOCORRECT)
#define ENABLE_AUTOCORRECT 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_AUTOCAPITALIZE)
#define ENABLE_AUTOCAPITALIZE 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_TEXT_AUTOSIZING)
#define ENABLE_TEXT_AUTOSIZING 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_IOS_GESTURE_EVENTS)
#define ENABLE_IOS_GESTURE_EVENTS 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_IOS_TOUCH_EVENTS)
#define ENABLE_IOS_TOUCH_EVENTS 0
#endif
#if !defined(ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#define ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_WKPDFVIEW)
#define ENABLE_WKPDFVIEW 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_PREVIEW_CONVERTER)
#define ENABLE_PREVIEW_CONVERTER 0
[Quick Look] Move the QLPreviewConverter delegate into PreviewConverter and vend a C++ client interface https://bugs.webkit.org/show_bug.cgi?id=203396 Reviewed by Alex Christensen. Source/WebCore: PreviewConverter existed as a thin wrapper around QLPreviewConverter for use by LegacyPreviewLoader and Quick Look NSData loading in WebKitLegacy. This patch makes two changes to this arrangement: 1. The QLPreviewConverter delegate and the bulk of the conversion state machine was moved into PreviewConverter, which now vends a C++ client interface. LegacyPreviewLoader is now a client of its PreviewConverter, retaining the responsiility of interacting with the ResourceLoader and LegacyPreviewLoaderClient. 2. The Quick Look NSData loading code for WebKitLegacy now uses QLPreviewConverter API directly rather than creating a PreviewConverter. This code path does not require a delegate nor any of the other logic in PreviewConverter. This change also organizes PreviewConverter into a cross-platform .cpp file and an iOS-specific .mm file for the direct usage of QLPreviewConverter API. LegacyPreviewConverter was also organized such that it can be changed from .mm to .cpp in a future patch. No change in behavior. Covered by existing API and layout tests. * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::setPreviewConverter): * loader/DocumentLoader.h: Changed m_previewConverter from std::unique_ptr to RefPtr. * loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::didReceiveResponse): Used makeUnique directly instead of LegacyPreviewLoader::create(). * loader/ios/LegacyPreviewLoader.h: Privately inherited from PreviewConverterClient and PreviewConverterProvider and migrated WebPreviewLoader ivars to member variables. * loader/ios/LegacyPreviewLoader.mm: (WebCore::makeClient): (WebCore::LegacyPreviewLoader::didReceiveBuffer): (WebCore::LegacyPreviewLoader::didFinishLoading): (WebCore::LegacyPreviewLoader::didFail): (WebCore::LegacyPreviewLoader::previewConverterDidStartConverting): (WebCore::LegacyPreviewLoader::previewConverterDidReceiveData): (WebCore::LegacyPreviewLoader::previewConverterDidFinishConverting): (WebCore::LegacyPreviewLoader::previewConverterDidFailUpdating): (WebCore::LegacyPreviewLoader::previewConverterDidFailConverting): (WebCore::LegacyPreviewLoader::providePasswordForPreviewConverter): (WebCore::LegacyPreviewLoader::provideMainResourceForPreviewConverter): (WebCore::LegacyPreviewLoader::LegacyPreviewLoader): (WebCore::LegacyPreviewLoader::didReceiveData): (WebCore::LegacyPreviewLoader::didReceiveResponse): (testingClient): Deleted. (emptyClient): Deleted. (-[WebPreviewLoader initWithResourceLoader:resourceResponse:]): Deleted. (-[WebPreviewLoader appendDataArray:]): Deleted. (-[WebPreviewLoader finishedAppending]): Deleted. (-[WebPreviewLoader failed]): Deleted. (-[WebPreviewLoader _loadPreviewIfNeeded]): Deleted. (-[WebPreviewLoader connection:didReceiveData:lengthReceived:]): Deleted. (-[WebPreviewLoader connectionDidFinishLoading:]): Deleted. (isQuickLookPasswordError): Deleted. (-[WebPreviewLoader connection:didFailWithError:]): Deleted. (WebCore::LegacyPreviewLoader::~LegacyPreviewLoader): Deleted. (WebCore::LegacyPreviewLoader::create): Deleted. * platform/PreviewConverter.cpp: Added. (WebCore::PreviewConverter::supportsMIMEType): (WebCore::PreviewConverter::previewResponse const): (WebCore::PreviewConverter::previewError const): (WebCore::PreviewConverter::previewData const): (WebCore::PreviewConverter::updateMainResource): (WebCore::PreviewConverter::appendFromBuffer): (WebCore::PreviewConverter::finishUpdating): (WebCore::PreviewConverter::failedUpdating): (WebCore::PreviewConverter::hasClient const): (WebCore::PreviewConverter::addClient): (WebCore::PreviewConverter::removeClient): (WebCore::sharedPasswordForTesting): (WebCore::PreviewConverter::passwordForTesting): (WebCore::PreviewConverter::setPasswordForTesting): (WebCore::PreviewConverter::iterateClients): (WebCore::PreviewConverter::didAddClient): (WebCore::PreviewConverter::didFailConvertingWithError): (WebCore::PreviewConverter::didFailUpdating): (WebCore::PreviewConverter::replayToClient): (WebCore::PreviewConverter::delegateDidReceiveData): (WebCore::PreviewConverter::delegateDidFinishLoading): (WebCore::PreviewConverter::delegateDidFailWithError): * platform/PreviewConverter.h: (WebCore::PreviewConverter::PreviewConverter): Deleted. (WebCore::PreviewConverter::platformConverter const): Deleted. * platform/PreviewConverterClient.h: Copied from Source/WebCore/platform/PreviewConverter.h. * platform/PreviewConverterProvider.h: Copied from Source/WebCore/platform/PreviewConverter.h. * platform/ios/PreviewConverterIOS.mm: (-[WebPreviewConverterDelegate initWithDelegate:]): (-[WebPreviewConverterDelegate connection:didReceiveData:lengthReceived:]): (-[WebPreviewConverterDelegate connectionDidFinishLoading:]): (-[WebPreviewConverterDelegate connection:didFailWithError:]): (WebCore::PreviewConverter::PreviewConverter): (WebCore::PreviewConverter::platformSupportedMIMETypes): (WebCore::PreviewConverter::safeRequest const): (WebCore::PreviewConverter::platformPreviewResponse const): (WebCore::PreviewConverter::platformAppend): (WebCore::PreviewConverter::platformFinishedAppending): (WebCore::PreviewConverter::platformFailedAppending): (WebCore::PreviewConverter::isPlatformPasswordError const): (WebCore::optionsWithPassword): (WebCore::PreviewConverter::platformUnlockWithPassword): (WebCore::PreviewConverter::supportsMIMEType): Deleted. (WebCore::PreviewConverter::previewRequest const): Deleted. (WebCore::PreviewConverter::previewResponse const): Deleted. * platform/ios/QuickLook.mm: (WebCore::registerQLPreviewConverterIfNeeded): Used QLPreviewConverter directly. Source/WebCore/PAL: * pal/spi/ios/QuickLookSPI.h: Source/WTF: * wtf/FeatureDefines.h: Defined ENABLE_PREVIEW_CONVERTER. Canonical link: https://commits.webkit.org/216850@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-26 01:48:04 +00:00
#endif
Introduce ENABLE_META_VIEWPORT and use it in some WK2 code https://bugs.webkit.org/show_bug.cgi?id=206091 Reviewed by Tim Horton. Source/WebCore: didDispatchViewportPropertiesChanged() is used for a Coordinated Graphics assertion, so should be #if ASSERT_ENABLED rather than #ifndef NDEBUG. * dom/Document.cpp: (WebCore::Document::updateViewportArguments): (WebCore::Document::suspend): * dom/Document.h: Source/WebKit: Use ENABLE(META_VIEWPORT) rather than PLATFORM(IOS_FAMILY) to enable various bits of viewport-related code. * Shared/WebCoreArgumentCoders.cpp: (IPC::ArgumentCoder<ViewportArguments>::decode): (IPC::ArgumentCoder<ViewportAttributes>::encode): (IPC::ArgumentCoder<ViewportAttributes>::decode): * Shared/WebCoreArgumentCoders.h: * Shared/WebPageCreationParameters.cpp: (WebKit::WebPageCreationParameters::encode const): (WebKit::WebPageCreationParameters::decode): * Shared/WebPageCreationParameters.h: * UIProcess/API/C/WKPage.cpp: (WKPageSetIgnoresViewportScaleLimits): * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): * UIProcess/WebPageProxy.cpp: * UIProcess/WebPageProxy.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::didCommitLoad): * WebProcess/WebPage/WebPage.h: (WebKit::WebPage::viewportConfiguration const): Source/WTF: Define ENABLE_META_VIEWPORT for iOS. * wtf/FeatureDefines.h: Canonical link: https://commits.webkit.org/219217@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-11 01:27:13 +00:00
#if !defined(ENABLE_META_VIEWPORT)
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#define ENABLE_META_VIEWPORT 0
Introduce ENABLE_META_VIEWPORT and use it in some WK2 code https://bugs.webkit.org/show_bug.cgi?id=206091 Reviewed by Tim Horton. Source/WebCore: didDispatchViewportPropertiesChanged() is used for a Coordinated Graphics assertion, so should be #if ASSERT_ENABLED rather than #ifndef NDEBUG. * dom/Document.cpp: (WebCore::Document::updateViewportArguments): (WebCore::Document::suspend): * dom/Document.h: Source/WebKit: Use ENABLE(META_VIEWPORT) rather than PLATFORM(IOS_FAMILY) to enable various bits of viewport-related code. * Shared/WebCoreArgumentCoders.cpp: (IPC::ArgumentCoder<ViewportArguments>::decode): (IPC::ArgumentCoder<ViewportAttributes>::encode): (IPC::ArgumentCoder<ViewportAttributes>::decode): * Shared/WebCoreArgumentCoders.h: * Shared/WebPageCreationParameters.cpp: (WebKit::WebPageCreationParameters::encode const): (WebKit::WebPageCreationParameters::decode): * Shared/WebPageCreationParameters.h: * UIProcess/API/C/WKPage.cpp: (WKPageSetIgnoresViewportScaleLimits): * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): * UIProcess/WebPageProxy.cpp: * UIProcess/WebPageProxy.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::didCommitLoad): * WebProcess/WebPage/WebPage.h: (WebKit::WebPage::viewportConfiguration const): Source/WTF: Define ENABLE_META_VIEWPORT for iOS. * wtf/FeatureDefines.h: Canonical link: https://commits.webkit.org/219217@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-11 01:27:13 +00:00
#endif
Make Legacy EME API controlled by RuntimeEnabled setting. https://bugs.webkit.org/show_bug.cgi?id=173994 Reviewed by Sam Weinig. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: * runtime/CommonIdentifiers.h: Source/WebCore: Add a new RuntimeEnabledFeatures setting to control the availability of the WebKit prefixed EME APIs. * Configurations/FeatureDefines.xcconfig: * Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.idl: * Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.idl: * Modules/encryptedmedia/legacy/WebKitMediaKeySession.idl: * Modules/encryptedmedia/legacy/WebKitMediaKeys.idl: * dom/Element.idl: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::mediaPlayerKeyNeeded): (WebCore::HTMLMediaElement::webkitSetMediaKeys): (WebCore::HTMLMediaElement::keyAdded): * html/HTMLMediaElement.idl: * html/WebKitMediaKeyError.idl: * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setLegacyEncryptedMediaAPIEnabled): (WebCore::RuntimeEnabledFeatures::legacyEncryptedMediaAPIEnabled): Source/WebCore/PAL: * Configurations/FeatureDefines.xcconfig: Source/WebKit/mac: Add a new preference used to control WebCore's new RuntimeEnabledFeature setting. * Configurations/FeatureDefines.xcconfig: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences legacyEncryptedMediaAPIEnabled]): (-[WebPreferences setLegacyEncryptedMediaAPIEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Source/WebKit2: Add a new WKWebViewConfiguration property, as well as a new WKPreferences function, both able to control WebCore's new RuntimeEnabledFeature setting for the Legacy EME API. * Configurations/FeatureDefines.xcconfig: * Shared/WebPreferencesDefinitions.h: * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesGetLegacyEncryptedMediaAPIEnabled): (WKPreferencesSetLegacyEncryptedMediaAPIEnabled): * UIProcess/API/C/WKPreferencesRef.h: * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): * UIProcess/API/Cocoa/WKWebViewConfiguration.mm: (-[WKWebViewConfiguration init]): (-[WKWebViewConfiguration copyWithZone:]): (-[WKWebViewConfiguration _setLegacyEncryptedMediaAPIEnabled:]): (-[WKWebViewConfiguration _legacyEncryptedMediaAPIEnabled]): * UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): Source/WTF: * wtf/FeatureDefines.h: Tools: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Canonical link: https://commits.webkit.org/190867@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-06-30 21:04:11 +00:00
#if !defined(ENABLE_FILE_REPLACEMENT)
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#define ENABLE_FILE_REPLACEMENT 0
#endif
#if !defined(ENABLE_UI_SIDE_COMPOSITING)
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#define ENABLE_UI_SIDE_COMPOSITING 0
#endif
Rename ENABLE_3D_RENDERING to ENABLE_3D_TRANSFORMS https://bugs.webkit.org/show_bug.cgi?id=144182 Reviewed by Simon Fraser. .: * Source/cmake/OptionsEfl.cmake: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * Source/cmake/OptionsGTK.cmake: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * Source/cmake/OptionsMac.cmake: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * Source/cmake/WebKitFeatures.cmake: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * Source/cmakeconfig.h.cmake: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. Source/WebCore: * Configurations/FeatureDefines.xcconfig: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * WebCore.vcxproj/WebCoreCommon.props: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * WebCore.vcxproj/WebCoreTestSupportCommon.props: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * css/CSSComputedStyleDeclaration.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * css/MediaQueryEvaluator.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * platform/graphics/GraphicsContext.h: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * platform/graphics/cairo/GraphicsContextCairo.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * platform/graphics/texmap/TextureMapperImageBuffer.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * rendering/RenderLayer.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * rendering/RenderLayerCompositor.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * rendering/RenderObject.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. Source/WebKit/mac: * Configurations/FeatureDefines.xcconfig: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. Source/WebKit2: * Configurations/FeatureDefines.xcconfig: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. Source/WTF: * wtf/FeatureDefines.h: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. Tools: * DumpRenderTree/win/DumpRenderTree.cpp: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. WebKitLibraries: * win/tools/vsprops/FeatureDefines.props: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. * win/tools/vsprops/FeatureDefinesCairo.props: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS. Canonical link: https://commits.webkit.org/162180@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-04-25 21:43:06 +00:00
#if !defined(ENABLE_3D_TRANSFORMS)
#define ENABLE_3D_TRANSFORMS 0
#endif
[WPE][GTK] Build failure with ENABLE_ACCESSIBILITY=OFF https://bugs.webkit.org/show_bug.cgi?id=199625 Added ENABLE(ACCESSIBILITY) and replaced HAVE(ACCESSIBILITY) with ENABLE(ACCESSIBILITY) in the code. Additionally, the TestRunner code generator now honors the Conditional IDL format. .: Reviewed by Konstantin Tokarev. * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: Source/WebCore: No new tests as there is no intended functional change Reviewed by Konstantin Tokarev. * accessibility/AXObjectCache.cpp: * accessibility/AXObjectCache.h: * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::detach): (WebCore::AccessibilityObject::isDetached const): * accessibility/AccessibilityObject.h: * accessibility/atk/AXObjectCacheAtk.cpp: * accessibility/atk/AccessibilityObjectAtk.cpp: * accessibility/atk/WebKitAccessible.cpp: * accessibility/atk/WebKitAccessible.h: * accessibility/atk/WebKitAccessibleHyperlink.cpp: * accessibility/atk/WebKitAccessibleHyperlink.h: * accessibility/atk/WebKitAccessibleInterfaceAction.cpp: * accessibility/atk/WebKitAccessibleInterfaceAction.h: * accessibility/atk/WebKitAccessibleInterfaceComponent.cpp: * accessibility/atk/WebKitAccessibleInterfaceComponent.h: * accessibility/atk/WebKitAccessibleInterfaceDocument.cpp: * accessibility/atk/WebKitAccessibleInterfaceDocument.h: * accessibility/atk/WebKitAccessibleInterfaceEditableText.cpp: * accessibility/atk/WebKitAccessibleInterfaceEditableText.h: * accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.cpp: * accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.h: * accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp: * accessibility/atk/WebKitAccessibleInterfaceHypertext.h: * accessibility/atk/WebKitAccessibleInterfaceImage.cpp: * accessibility/atk/WebKitAccessibleInterfaceImage.h: * accessibility/atk/WebKitAccessibleInterfaceSelection.cpp: * accessibility/atk/WebKitAccessibleInterfaceSelection.h: * accessibility/atk/WebKitAccessibleInterfaceTable.cpp: * accessibility/atk/WebKitAccessibleInterfaceTable.h: * accessibility/atk/WebKitAccessibleInterfaceTableCell.cpp: * accessibility/atk/WebKitAccessibleInterfaceTableCell.h: * accessibility/atk/WebKitAccessibleInterfaceText.cpp: * accessibility/atk/WebKitAccessibleInterfaceText.h: * accessibility/atk/WebKitAccessibleInterfaceValue.cpp: * accessibility/atk/WebKitAccessibleInterfaceValue.h: * accessibility/atk/WebKitAccessibleUtil.cpp: * accessibility/atk/WebKitAccessibleUtil.h: * accessibility/ios/AXObjectCacheIOS.mm: * accessibility/ios/AccessibilityObjectIOS.mm: * accessibility/ios/WebAccessibilityObjectWrapperIOS.h: * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: * accessibility/mac/AXObjectCacheMac.mm: * accessibility/mac/AccessibilityObjectBase.mm: * accessibility/mac/AccessibilityObjectMac.mm: * accessibility/mac/WebAccessibilityObjectWrapperBase.mm: * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: * accessibility/win/AccessibilityObjectWin.cpp: * accessibility/win/AccessibilityObjectWrapperWin.cpp: * dom/Document.cpp: (WebCore::Document::prepareForDestruction): * editing/FrameSelection.h: * editing/atk/FrameSelectionAtk.cpp: * html/HTMLTextFormControlElement.cpp: (WebCore::HTMLTextFormControlElement::setInnerTextValue): * testing/Internals.cpp: (WebCore::Internals::resetToConsistentState): Source/WebKit: Reviewed by Konstantin Tokarev. * UIProcess/API/glib/WebKitWebViewAccessible.cpp: * UIProcess/API/glib/WebKitWebViewAccessible.h: * UIProcess/API/wpe/PageClientImpl.cpp: * UIProcess/API/wpe/PageClientImpl.h: * UIProcess/API/wpe/WPEView.cpp: (WKWPE::m_backend): (WKWPE::View::~View): * UIProcess/API/wpe/WPEView.h: * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: (WKAccessibilityRootObject): (WKAccessibilityFocusedObject): (WKAccessibilityEnableEnhancedAccessibility): (WKAccessibilityEnhancedAccessibilityEnabled): * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/atk/WebKitWebPageAccessibilityObject.cpp: * WebProcess/WebPage/atk/WebKitWebPageAccessibilityObject.h: * WebProcess/WebPage/gtk/WebPageGtk.cpp: (WebKit::WebPage::platformInitialize): * WebProcess/WebPage/wpe/WebPageWPE.cpp: (WebKit::WebPage::platformInitialize): * WebProcess/wpe/WebProcessMainWPE.cpp: Source/WebKitLegacy/mac: Reviewed by Konstantin Tokarev. * WebView/WebFrame.mm: (-[WebFrame setAccessibleName:]): (-[WebFrame enhancedAccessibilityEnabled]): (-[WebFrame setEnhancedAccessibility:]): (-[WebFrame accessibilityRoot]): Source/WTF: Reviewed by Konstantin Tokarev. * wtf/FeatureDefines.h: * wtf/Platform.h: Tools: Reviewed by Konstantin Tokarev. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl: * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarker.idl: * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarkerRange.idl: * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl: * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm: (_generateImplementationFile): Canonical link: https://commits.webkit.org/213602@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-07-11 21:51:24 +00:00
#if !defined(ENABLE_ACCESSIBILITY)
#define ENABLE_ACCESSIBILITY 1
#endif
Rename ENABLE_ACCELERATED_OVERFLOW_SCROLLING macro to ENABLE_OVERFLOW_SCROLLING_TOUCH https://bugs.webkit.org/show_bug.cgi?id=196049 Reviewed by Tim Horton. This macro is about the -webkit-overflow-scrolling CSS property, not accelerated overflow scrolling in general, so rename it. .: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: * Configurations/FeatureDefines.xcconfig: * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::valueForPropertyinStyle): * css/CSSProperties.json: * css/CSSValueKeywords.in: * css/StyleBuilderConverter.h: * css/StyleResolver.cpp: (WebCore::StyleResolver::adjustRenderStyle): * css/parser/CSSParserFastPaths.cpp: (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): (WebCore::CSSParserFastPaths::isKeywordPropertyID): * dom/Element.cpp: * dom/Element.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::canUseCompositedScrolling const): * rendering/style/RenderStyle.cpp: (WebCore::rareInheritedDataChangeRequiresLayout): * rendering/style/RenderStyle.h: * rendering/style/StyleRareInheritedData.cpp: (WebCore::StyleRareInheritedData::StyleRareInheritedData): (WebCore::StyleRareInheritedData::operator== const): * rendering/style/StyleRareInheritedData.h: * rendering/style/WillChangeData.cpp: (WebCore::WillChangeData::propertyCreatesStackingContext): Source/WebCore/PAL: * Configurations/FeatureDefines.xcconfig: Source/WebKit: * Configurations/FeatureDefines.xcconfig: Source/WebKitLegacy/mac: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/FeatureDefines.h: Tools: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Canonical link: https://commits.webkit.org/210339@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-03-21 03:48:35 +00:00
#if !defined(ENABLE_OVERFLOW_SCROLLING_TOUCH)
#define ENABLE_OVERFLOW_SCROLLING_TOUCH 0
#endif
Add APNG support https://bugs.webkit.org/show_bug.cgi?id=17022 Patch by Max Stepin <maxstepin@gmail.com> on 2015-03-16 Reviewed by Carlos Garcia Campos. Source/WebCore: Test: fast/images/animated-png.html * platform/image-decoders/ImageDecoder.h: (WebCore::ImageFrame::divide255): (WebCore::ImageFrame::overRGBA): * platform/image-decoders/png/PNGImageDecoder.cpp: (WebCore::frameHeader): (WebCore::readChunks): (WebCore::PNGImageReader::PNGImageReader): (WebCore::PNGImageDecoder::PNGImageDecoder): (WebCore::PNGImageDecoder::frameBufferAtIndex): (WebCore::PNGImageDecoder::headerAvailable): (WebCore::PNGImageDecoder::rowAvailable): (WebCore::PNGImageDecoder::pngComplete): (WebCore::PNGImageDecoder::readChunks): (WebCore::PNGImageDecoder::frameHeader): (WebCore::PNGImageDecoder::init): (WebCore::PNGImageDecoder::clearFrameBufferCache): (WebCore::PNGImageDecoder::initFrameBuffer): (WebCore::PNGImageDecoder::frameComplete): (WebCore::PNGImageDecoder::processingStart): (WebCore::PNGImageDecoder::processingFinish): (WebCore::PNGImageDecoder::fallbackNotAnimated): * platform/image-decoders/png/PNGImageDecoder.h: (WebCore::PNGImageDecoder::frameCount): (WebCore::PNGImageDecoder::repetitionCount): (WebCore::PNGImageDecoder::isComplete): Source/WTF: * wtf/FeatureDefines.h: LayoutTests: * fast/images/animated-png-expected.html: Added. * fast/images/animated-png.html: Added. * fast/images/resources/apng00-ref.png: Added. * fast/images/resources/apng00.png: Added. * fast/images/resources/apng01-ref.png: Added. * fast/images/resources/apng01.png: Added. * fast/images/resources/apng02-ref.png: Added. * fast/images/resources/apng02.png: Added. * fast/images/resources/apng04-ref.png: Added. * fast/images/resources/apng04.png: Added. * fast/images/resources/apng08-ref.png: Added. * fast/images/resources/apng08.png: Added. * fast/images/resources/apng10-ref.png: Added. * fast/images/resources/apng10.png: Added. * fast/images/resources/apng11-ref.png: Added. * fast/images/resources/apng11.png: Added. * fast/images/resources/apng12-ref.png: Added. * fast/images/resources/apng12.png: Added. * fast/images/resources/apng14-ref.png: Added. * fast/images/resources/apng14.png: Added. * fast/images/resources/apng18-ref.png: Added. * fast/images/resources/apng18.png: Added. * fast/images/resources/apng24-ref.png: Added. * fast/images/resources/apng24.png: Added. * fast/images/resources/apng26-ref.png: Added. * fast/images/resources/apng26.png: Added. * platform/mac/TestExpectations: Canonical link: https://commits.webkit.org/160733@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-03-16 14:24:46 +00:00
#if !defined(ENABLE_APNG)
#define ENABLE_APNG 1
#endif
#if !defined(ENABLE_CHANNEL_MESSAGING)
#define ENABLE_CHANNEL_MESSAGING 1
#endif
[WK2] Start a prototype for declarative site specific extensions https://bugs.webkit.org/show_bug.cgi?id=140160 Reviewed by Andreas Kling. Source/WebCore: Currently, clients have various ways to execute custom code for certain URLs. Each of those mechanism implies messaging the UIProcess, executing some code calling back to the WebProcess, then actually load the resource. All this back and forth introduces delays before we actually load resources. Since the set of actions is done per site is actually simple and limited, it may be possible to do everything in WebCore and shortcut the defered loading. This patch provides the starting point for this idea. The "rules" (currently just blocking) are be passed to WebCore in a JSON format. In WebCore, we create a state machine to match the rules and we execute the action when the state machine tells us to. * WebCore.exp.in: * WebCore.xcodeproj/project.pbxproj: * contentextensions/ContentExtensionRule.cpp: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. (WebCore::ContentExtensions::ContentExtensionRule::ContentExtensionRule): * contentextensions/ContentExtensionRule.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. (WebCore::ContentExtensions::ContentExtensionRule::trigger): (WebCore::ContentExtensions::ContentExtensionRule::action): * contentextensions/ContentExtensionsBackend.cpp: Added. (WebCore::ContentExtensions::ContentExtensionsBackend::sharedInstance): (WebCore::ContentExtensions::ContentExtensionsBackend::setRuleList): (WebCore::ContentExtensions::ContentExtensionsBackend::removeRuleList): (WebCore::ContentExtensions::ContentExtensionsBackend::shouldBlockURL): * contentextensions/ContentExtensionsBackend.h: Added. * contentextensions/ContentExtensionsInterface.cpp: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. (WebCore::ContentExtensions::shouldBlockURL): * contentextensions/ContentExtensionsInterface.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. * contentextensions/ContentExtensionsManager.cpp: Added. (WebCore::ContentExtensions::ExtensionsManager::loadTrigger): (WebCore::ContentExtensions::ExtensionsManager::loadAction): (WebCore::ContentExtensions::ExtensionsManager::loadRule): (WebCore::ContentExtensions::ExtensionsManager::loadExtension): * contentextensions/ContentExtensionsManager.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. * contentextensions/DFA.cpp: Added. (WebCore::ContentExtensions::DFA::DFA): (WebCore::ContentExtensions::DFA::operator=): (WebCore::ContentExtensions::DFA::nextState): (WebCore::ContentExtensions::DFA::actions): (WebCore::ContentExtensions::DFA::debugPrintDot): * contentextensions/DFA.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. (WebCore::ContentExtensions::DFA::root): * contentextensions/DFANode.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. * contentextensions/NFA.cpp: Added. (WebCore::ContentExtensions::NFA::NFA): (WebCore::ContentExtensions::NFA::createNode): (WebCore::ContentExtensions::NFA::addTransition): (WebCore::ContentExtensions::NFA::addEpsilonTransition): (WebCore::ContentExtensions::NFA::setFinal): (WebCore::ContentExtensions::NFA::debugPrintDot): * contentextensions/NFA.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. (WebCore::ContentExtensions::NFA::root): * contentextensions/NFANode.cpp: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. (WebCore::ContentExtensions::NFANode::NFANode): * contentextensions/NFANode.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. * contentextensions/NFAToDFA.cpp: Added. (WebCore::ContentExtensions::epsilonClosure): (WebCore::ContentExtensions::setTransitionsExcludingEpsilon): (WebCore::ContentExtensions::HashableNodeIdSet::HashableNodeIdSet): (WebCore::ContentExtensions::HashableNodeIdSet::operator=): (WebCore::ContentExtensions::HashableNodeIdSet::isEmptyValue): (WebCore::ContentExtensions::HashableNodeIdSet::isDeletedValue): (WebCore::ContentExtensions::HashableNodeIdSet::nodeIdSet): (WebCore::ContentExtensions::HashableNodeIdSetHash::hash): (WebCore::ContentExtensions::HashableNodeIdSetHash::equal): (WebCore::ContentExtensions::addDFAState): (WebCore::ContentExtensions::NFAToDFA::convert): * contentextensions/NFAToDFA.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h. * loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::requestResource): Source/WebKit2: Provide a small SPI for OS X. This will likely move to a better place. * UIProcess/API/Cocoa/WKProcessPool.mm: (-[WKProcessPool _loadContentExtensionWithIdentifier:serializedRules:successCompletionHandler:errorCompletionHandler:]): * UIProcess/API/Cocoa/WKProcessPoolPrivate.h: * UIProcess/WebProcessPool.cpp: (WebKit::WebProcessPool::processDidFinishLaunching): (WebKit::WebProcessPool::loadContentExtension): * UIProcess/WebProcessPool.h: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::loadContentExtension): * WebProcess/WebProcess.h: * WebProcess/WebProcess.messages.in: Source/WTF: * wtf/FeatureDefines.h: Canonical link: https://commits.webkit.org/158244@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-09 01:56:00 +00:00
#if !defined(ENABLE_CONTENT_EXTENSIONS)
#define ENABLE_CONTENT_EXTENSIONS 0
#endif
#if !defined(ENABLE_CONTEXT_MENUS)
#define ENABLE_CONTEXT_MENUS 1
#endif
#if !defined(ENABLE_CONTEXT_MENU_EVENT)
#define ENABLE_CONTEXT_MENU_EVENT 1
#endif
#if !defined(ENABLE_CSS3_TEXT)
#define ENABLE_CSS3_TEXT 0
#endif
#if !defined(ENABLE_CSS_BOX_DECORATION_BREAK)
#define ENABLE_CSS_BOX_DECORATION_BREAK 1
#endif
#if !defined(ENABLE_CSS_COMPOSITING)
#define ENABLE_CSS_COMPOSITING 0
#endif
#if !defined(ENABLE_CSS_IMAGE_RESOLUTION)
#define ENABLE_CSS_IMAGE_RESOLUTION 0
#endif
#if !defined(ENABLE_CSS_CONIC_GRADIENTS)
#define ENABLE_CSS_CONIC_GRADIENTS 0
#endif
Add CSS property to enable separated bit on GraphicsLayer https://bugs.webkit.org/show_bug.cgi?id=222010 Reviewed by Dean Jackson. Add internal access to the separated bit on graphics layer via a new "optimized-3d" transform-style. This is all off by default and is expected to change, but is useful and non-invasive for experimentation. Source/WebCore: * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::valueForPropertyInStyle): * css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): (WebCore::CSSPrimitiveValue::operator TransformStyle3D const): * css/CSSProperties.json: * css/CSSValueKeywords.in: * css/parser/CSSParserContext.cpp: (WebCore::operator==): * css/parser/CSSParserContext.h: (WebCore::CSSParserContextHash::hash): * css/parser/CSSParserFastPaths.cpp: (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateGeometry): * rendering/style/RenderStyleConstants.cpp: (WebCore::operator<<): * rendering/style/RenderStyleConstants.h: * rendering/style/StyleRareNonInheritedData.h: Plumb optimized-3d all the way to graphics layer. Currently we are just mapping optimized-3d to separated, but I expect to change this a bit to make it a bit more useful for experimentation. Source/WTF: * Scripts/Preferences/WebPreferencesExperimental.yaml: * wtf/PlatformEnable.h: Canonical link: https://commits.webkit.org/234190@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@272987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-02-17 06:47:27 +00:00
#if !defined(ENABLE_CSS_TRANSFORM_STYLE_OPTIMIZED_3D)
#define ENABLE_CSS_TRANSFORM_STYLE_OPTIMIZED_3D 0
#endif
macCatalyst: Cursor should update on mouse movement and style change https://bugs.webkit.org/show_bug.cgi?id=205317 <rdar://problem/46793696> Reviewed by Anders Carlsson. Source/WebCore: * Configurations/WebCore.xcconfig: Link AppKit for NSCursor. * SourcesCocoa.txt: Remove CursorIOS.cpp. De-unify CursorMac; because it imports AppKit headers, we have to take care to make sure it doesn't also get WAK (which it does if you leave it unified). * WebCore.xcodeproj/project.pbxproj: Remove CursorIOS.cpp and de-unify CursorMac (by adding it to the target) * loader/EmptyClients.h: * page/Chrome.cpp: (WebCore::Chrome::setCursor): (WebCore::Chrome::setCursorHiddenUntilMouseMoves): Unifdef many things. * page/ChromeClient.h: (WebCore::ChromeClient::supportsSettingCursor): Add a ChromeClient bit, supportsSettingCursor, which can be used to guard work that shouldn't happen if a platform doesn't support pushing cursor updates out from WebCore. This will be true everywhere except iOS, and does the work of the old platform ifdefs. * page/EventHandler.cpp: (WebCore::EventHandler::EventHandler): (WebCore::EventHandler::clear): (WebCore::EventHandler::updateCursor): (WebCore::EventHandler::selectCursor): (WebCore::EventHandler::handleMouseMoveEvent): (WebCore::EventHandler::scheduleCursorUpdate): * page/EventHandler.h: * platform/Cursor.cpp: * platform/Cursor.h: Unifdef, and use supportsSettingCursor to avoid some unnecessary work. * platform/ios/CursorIOS.cpp: Removed. * platform/ios/WidgetIOS.mm: (WebCore::Widget::setCursor): Propagate cursor changes upwards. * platform/mac/CursorMac.mm: (WebCore::cursor): (WebCore::Cursor::ensurePlatformCursor const): CursorMac is now built in macCatalyst. However, parts that depend on HIServices or NSImage are #ifdeffed out, and fall back to an arrow. Source/WebKit: * Configurations/WebKit.xcconfig: Link AppKit for NSCursor. * Shared/WebCoreArgumentCoders.cpp: (IPC::ArgumentCoder<Cursor>::decode): Enable Cursor encoders. * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::setCursor): * WebProcess/WebCoreSupport/WebChromeClient.cpp: * WebProcess/WebCoreSupport/WebChromeClient.h: Unifdef various things. Implement setCursor(). Source/WebKitLegacy/ios: * WebCoreSupport/WebChromeClientIOS.h: Provide a stub implementation of cursor-related ChromeClient methods. Source/WTF: * wtf/FeatureDefines.h: Make ENABLE_CURSOR_SUPPORT true on iOS, for macCatalyst. This results in it being true everywhere, so remove it. Add a new ENABLE_CUSTOM_CURSOR_SUPPORT, indicating whether we support custom bitmap cursors. It covers the subset of ENABLE_CURSOR_SUPPORT code that we still don't support in macCatalyst. * wtf/Platform.h: Add HAVE_HISERVICES (true on macOS but not macCatalyst) and HAVE_NSCURSOR (true on macOS and macCatalyst but not e.g. iOS). Canonical link: https://commits.webkit.org/218543@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-12-17 19:57:25 +00:00
#if !defined(ENABLE_CUSTOM_CURSOR_SUPPORT)
#define ENABLE_CUSTOM_CURSOR_SUPPORT 1
[iOS] Upstream WebCore/page changes https://bugs.webkit.org/show_bug.cgi?id=126180 Reviewed by Darin Adler. Source/WebCore: * WebCore.xcodeproj/project.pbxproj: * dom/EventNames.h: (WebCore::EventNames::isGestureEventType): Added. * page/AlternativeTextClient.h: Do not define WTF_USE_DICTATION_ALTERNATIVES when building for iOS. * page/Chrome.cpp: (WebCore::Chrome::Chrome): (WebCore::Chrome::dispatchViewportPropertiesDidChange): Added; guarded by PLATFORM(IOS). (WebCore::Chrome::setCursor): Make this an empty function when building for iOS. (WebCore::Chrome::setCursorHiddenUntilMouseMoves): Ditto. (WebCore::Chrome::didReceiveDocType): Added; iOS-specific. * page/Chrome.h: (WebCore::Chrome::setDispatchViewportDataDidChangeSuppressed): Added; guarded by PLATFORM(IOS). * page/ChromeClient.h: (WebCore::ChromeClient::didFlushCompositingLayers): Added; guarded by PLATFORM(IOS). (WebCore::ChromeClient::fetchCustomFixedPositionLayoutRect): Added; guarded by PLATFORM(IOS). (WebCore::ChromeClient::updateViewportConstrainedLayers): Added; guarded by PLATFORM(IOS). * page/DOMTimer.cpp: (WebCore::DOMTimer::install): Added iOS-specific code. (WebCore::DOMTimer::fired): Ditto. * page/DOMWindow.cpp: (WebCore::DOMWindow::DOMWindow): Ditto. (WebCore::DOMWindow::innerHeight): Ditto. (WebCore::DOMWindow::innerWidth): Ditto. (WebCore::DOMWindow::scrollX): Ditto. (WebCore::DOMWindow::scrollY): Ditto. (WebCore::DOMWindow::scrollBy): Ditto. (WebCore::DOMWindow::scrollTo): Ditto. (WebCore::DOMWindow::clearTimeout): Ditto. (WebCore::DOMWindow::addEventListener): Ditto. (WebCore::DOMWindow::incrementScrollEventListenersCount): Added; guarded by PLATFORM(IOS). (WebCore::DOMWindow::decrementScrollEventListenersCount): Added; guarded by PLATFORM(IOS). (WebCore::DOMWindow::resetAllGeolocationPermission): Added; Also added FIXME comment. (WebCore::DOMWindow::removeEventListener): Added iOS-specific code. (WebCore::DOMWindow::dispatchEvent): Modified to prevent dispatching duplicate pageshow and pagehide events per <http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-pageshow>. (WebCore::DOMWindow::removeAllEventListeners): Added iOS-specific code. * page/DOMWindow.h: * page/DOMWindow.idl: Added IOS_GESTURE_EVENTS-guarded attributes: ongesture{change, end, start}. Also added IOS_TOUCH_EVENTS-guarded attributes: {Touch, TouchList}Constructor. * page/EditorClient.h: * page/EventHandler.cpp: (WebCore::EventHandler::EventHandler): Added iOS-specific code. (WebCore::EventHandler::clear): Ditto. (WebCore::EventHandler::startPanScrolling): Make this an empty function when building for iOS. (WebCore::EventHandler::handleMousePressEvent): Modified to invalidate a click when the clicked node is null. Also, opt out of code for updating the scrollbars as UIKit manages scrollbars on iOS. (WebCore::EventHandler::handleMouseMoveEvent): Opt of code for updating the scrollbars and cursor when building on iOS. (WebCore::hitTestResultInFrame): Made this a file-local static function since it's only used in EventHandler.cpp. (WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled): Added iOS-specific code. * page/EventHandler.h: * page/FocusController.h: * page/Frame.cpp: (WebCore::Frame::Frame): Added iOS-specific code. (WebCore::Frame::scrollOverflowLayer): Added; iOS-specific. (WebCore::Frame::overflowAutoScrollTimerFired): Added; iOS-specific. (WebCore::Frame::startOverflowAutoScroll): Added; iOS-specific. (WebCore::Frame::checkOverflowScroll): Added; iOS-specific. (WebCore::Frame::willDetachPage): Added iOS-specific code. (WebCore::Frame::createView): Ditto. (WebCore::Frame::setSelectionChangeCallbacksDisabled): Added; iOS-specific. (WebCore::Frame::selectionChangeCallbacksDisabled): Added; iOS-specific. * page/Frame.h: (WebCore::Frame::timersPaused): Added; guarded by PLATFORM(IOS). * page/FrameView.cpp: (WebCore::FrameView::FrameView): Added iOS-specific code. (WebCore::FrameView::clear): Ditto. (WebCore::FrameView::flushCompositingStateForThisFrame): Ditto. (WebCore::FrameView::graphicsLayerForPlatformWidget): Added. (WebCore::FrameView::scheduleLayerFlushAllowingThrottling): Added. (WebCore::FrameView::layout): Added iOS-specific code. (WebCore::countRenderedCharactersInRenderObjectWithThreshold): Added; helper function used by FrameView::renderedCharactersExceed(). Also added FIXME comment. (WebCore::FrameView::renderedCharactersExceed): Added. (WebCore::FrameView::visibleContentsResized): Added iOS-specific code. (WebCore::FrameView::adjustTiledBackingCoverage): Ditto. (WebCore::FrameView::performPostLayoutTasks): Ditto. (WebCore::FrameView::sendResizeEventIfNeeded): Ditto. (WebCore::FrameView::paintContents): Added iOS-specific code. Also added FIXME comments. (WebCore::FrameView::setUseCustomFixedPositionLayoutRect): Added; iOS-specific. (WebCore::FrameView::setCustomFixedPositionLayoutRect): Added; iOS-specific. (WebCore::FrameView::updateFixedPositionLayoutRect): Added; iOS-specific. * page/FrameView.h: * page/Navigator.cpp: (WebCore::Navigator::standalone): Added; iOS-specific. * page/Navigator.h: * page/Navigator.idl: Added WTF_PLATFORM_IOS-guarded attribute: standalone. Also added FIXME comment. * page/NavigatorBase.cpp: (WebCore::NavigatorBase::platform): Added iOS-specific code. * page/Page.h: (WebCore::Page::hasCustomHTMLTokenizerTimeDelay): Added; guarded by PLATFORM(IOS). Also added FIXME comment to remove this method. (WebCore::Page::customHTMLTokenizerTimeDelay): Added; guarded by PLATFORM(IOS). Also added FIXME comment to remove this method. * page/PageGroup.cpp: (WebCore::PageGroup::removeVisitedLink): Added. * page/PageGroup.h: * page/Settings.cpp: (WebCore::Settings::Settings): (WebCore::Settings::setScriptEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setStandalone): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAudioSessionCategoryOverride): Added; guarded by PLATFORM(IOS). (WebCore::Settings::audioSessionCategoryOverride): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setNetworkDataUsageTrackingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::networkDataUsageTrackingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::sharedNetworkInterfaceNameGlobal): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setNetworkInterfaceName): Added; guarded by PLATFORM(IOS). (WebCore::Settings::networkInterfaceName): Added; guarded by PLATFORM(IOS). * page/Settings.h: (WebCore::Settings::setMaxParseDuration): Added; guarded by PLATFORM(IOS). Also added FIXME comment. (WebCore::Settings::maxParseDuration): Added; guarded by PLATFORM(IOS). Also added FIXME comment. (WebCore::Settings::standalone): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setTelephoneNumberParsingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::telephoneNumberParsingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setMediaDataLoadsAutomatically): Added; guarded by PLATFORM(IOS). (WebCore::Settings::mediaDataLoadsAutomatically): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setShouldTransformsAffectOverflow): Added; guarded by PLATFORM(IOS). (WebCore::Settings::shouldTransformsAffectOverflow): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setShouldDispatchJavaScriptWindowOnErrorEvents): Added; guarded by PLATFORM(IOS). (WebCore::Settings::shouldDispatchJavaScriptWindowOnErrorEvents): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAlwaysUseBaselineOfPrimaryFont): Added; guarded by PLATFORM(IOS). (WebCore::Settings::alwaysUseBaselineOfPrimaryFont): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAlwaysUseAcceleratedOverflowScroll): Added; guarded by PLATFORM(IOS). (WebCore::Settings::alwaysUseAcceleratedOverflowScroll): Added; guarded by PLATFORM(IOS). * page/Settings.in: Added IOS_AIRPLAY-guarded setting: mediaPlaybackAllowsAirPlay. * page/animation/CSSPropertyAnimation.cpp: (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): Added iOS-specific code and FIXME comment. * page/ios/EventHandlerIOS.mm: Added. * page/ios/FrameIOS.mm: Added. * page/mac/ChromeMac.mm: * page/mac/PageMac.cpp: (WebCore::Page::addSchedulePair): Opt out of code when building for iOS. (WebCore::Page::removeSchedulePair): Ditto. * page/mac/SettingsMac.mm: (WebCore::Settings::shouldEnableScreenFontSubstitutionByDefault): Added iOS-specific code. * page/mac/WebCoreFrameView.h: Source/WebKit/ios: * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS). Source/WebKit2: * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebCoreSupport/ios/WebChromeClientIOS.mm: Added. * WebProcess/WebPage/WebPage.cpp: Include header <WebCore/HitTestResult.h>. Source/WTF: * wtf/FeatureDefines.h: Define ENABLE_IOS_TOUCH_EVENTS to be enabled by default when building iOS with ENABLE(TOUCH_EVENTS). Canonical link: https://commits.webkit.org/144196@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-27 20:40:28 +00:00
#endif
Add support for prefers-color-scheme media query https://bugs.webkit.org/show_bug.cgi?id=190499 rdar://problem/45212025 Reviewed by Dean Jackson. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Added ENABLE_DARK_MODE_CSS. Source/WebCore: Test: css-dark-mode/prefers-color-scheme.html * Configurations/FeatureDefines.xcconfig: Added ENABLE_DARK_MODE_CSS. * css/CSSValueKeywords.in: Added light and dark. * css/MediaFeatureNames.h: Added prefers-color-scheme. * css/MediaQueryEvaluator.cpp: (WebCore::prefersColorSchemeEvaluate): Added. * css/MediaQueryExpression.cpp: (WebCore::featureWithValidIdent): Added prefers-color-scheme. * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setDarkModeCSSEnabled): Added. (WebCore::RuntimeEnabledFeatures::darkModeCSSEnabled const): Added. * testing/InternalSettings.cpp: (WebCore::InternalSettings::resetToConsistentState): Reset setUseDarkAppearance. (WebCore::InternalSettings::setUseDarkAppearance): Added. * testing/InternalSettings.h: Added setUseDarkAppearance. * testing/InternalSettings.idl: Ditto. Source/WebCore/PAL: * Configurations/FeatureDefines.xcconfig: Added ENABLE_DARK_MODE_CSS. Source/WebKit: * Configurations/FeatureDefines.xcconfig: Added ENABLE_DARK_MODE_CSS. * Shared/WebPreferences.yaml: Added DarkModeCSSEnabled as experimental. Source/WebKitLegacy/mac: * Configurations/FeatureDefines.xcconfig: Added ENABLE_DARK_MODE_CSS. Source/WTF: * wtf/FeatureDefines.h: Added ENABLE_DARK_MODE_CSS. Tools: * Scripts/webkitperl/FeatureList.pm: Added ENABLE_DARK_MODE_CSS as dark-mode-css. * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Added ENABLE_DARK_MODE_CSS. LayoutTests: * css-dark-mode/prefers-color-scheme-expected.txt: Added. * css-dark-mode/prefers-color-scheme.html: Added. * platform/gtk/TestExpectations: Skip css-dark-mode. * platform/ios/TestExpectations: Skip css-dark-mode. * platform/mac-wk1/TestExpectations: Skip css-dark-mode. * platform/win/TestExpectations: Skip css-dark-mode. * platform/wincairo/TestExpectations: Skip css-dark-mode. * platform/wpe/TestExpectations: Skip css-dark-mode. Canonical link: https://commits.webkit.org/205530@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-15 23:43:02 +00:00
#if !defined(ENABLE_DARK_MODE_CSS)
#define ENABLE_DARK_MODE_CSS 0
#endif
#if !defined(ENABLE_DATALIST_ELEMENT)
#define ENABLE_DATALIST_ELEMENT 0
#endif
#if !defined(ENABLE_DEVICE_ORIENTATION)
#define ENABLE_DEVICE_ORIENTATION 0
#endif
#if !defined(ENABLE_DESTINATION_COLOR_SPACE_DISPLAY_P3)
#define ENABLE_DESTINATION_COLOR_SPACE_DISPLAY_P3 0
#endif
Make destination color space enumeration match supported destination color spaces for the port https://bugs.webkit.org/show_bug.cgi?id=225237 Reviewed by Simon Fraser. Add ENABLE_DESTINATION_COLOR_SPACE_LINEAR_SRGB and enabled it for all ports except the Apple Windows port, which is the only one doesn't have any support for it. Source/WebCore: Removes existing behavior of returning SRGB when LinearSRGB was requested in the Apple Windows port. Now, the callers are responisble for dealing with a ports lack of support of LinearSRGB, making it very clear at those call sites that something is different and wrong. * platform/graphics/Color.cpp: * platform/graphics/Color.h: * platform/graphics/ColorConversion.cpp: * platform/graphics/ColorConversion.h: Add new functions to perform color conversion to and from an color space denoted by the ColorSpace or DestinationColorSpace enum. Previously, we only had convient ways to convert if the color was strongly typed (and this is implemented using that mechanism). This is useful when converting for final ouput, such in as the caller in FELighting::drawLighting. * platform/graphics/cg/ColorSpaceCG.h: * platform/graphics/ColorSpace.cpp: * platform/graphics/ColorSpace.h: * platform/graphics/filters/FELighting.cpp: * platform/graphics/filters/FilterEffect.h: * rendering/CSSFilter.cpp: * rendering/svg/RenderSVGResourceFilter.cpp: * rendering/svg/RenderSVGResourceMasker.cpp: Wrap uses of DestinationColorSpace::LinearSRGB in ENABLE(DESTINATION_COLOR_SPACE_LINEAR_SRGB). Source/WTF: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: * wtf/PlatformEnableWinApple.h: Canonical link: https://commits.webkit.org/237221@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-01 18:06:08 +00:00
#if !defined(ENABLE_DESTINATION_COLOR_SPACE_LINEAR_SRGB)
#define ENABLE_DESTINATION_COLOR_SPACE_LINEAR_SRGB 1
#endif
#if !defined(ENABLE_DOWNLOAD_ATTRIBUTE)
[WK2] Support download attribute feature https://bugs.webkit.org/show_bug.cgi?id=102914 <rdar://problem/13177492> Reviewed by Darin Adler. Source/WebCore: Tested by imported/w3c/web-platform-tests/html/dom/interfaces.html imported/w3c/web-platform-tests/html/dom/reflection-text.html A first draft implementation of this feature. * html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::handleClick): If the anchor has the 'download' attribute, pass along the information to the rest of the load system. * loader/FrameLoadRequest.h: (WebCore::FrameLoadRequest::FrameLoadRequest): Create new overload that accepts a download attribute flag and a suggested filename. (WebCore::FrameLoadRequest::hasDownloadAttribute): Added. (WebCore::FrameLoadRequest::suggestedFilename): Added. * loader/FrameLoader.cpp: (WebCore::FrameLoader::urlSelected): Expand to accept the download attribute flag and suggested filename. (WebCore::FrameLoader::loadURL): Populate the NavigationAction with the new download attribute flag and suggested filename. (WebCore::FrameLoader::loadPostRequest): Ditto. * loader/FrameLoader.h: * loader/FrameLoaderTypes.h: Add new 'HasDownloadAttribute' enum. * loader/NavigationAction.cpp: (WebCore::navigationType): (WebCore::NavigationAction::NavigationAction): Update to accept new download attribute flag and suggested filename. * loader/NavigationAction.h: (WebCore::NavigationAction::hasDownloadAttribute): Added. (WebCore::NavigationAction::suggestedFilename): Added. * loader/PolicyChecker.cpp: (WebCore::PolicyChecker::checkNavigationPolicy): Pass more information to 'continueAfterNavigationPolicy' (WebCore::PolicyChecker::continueAfterNavigationPolicy): Accept suggested filename * loader/PolicyChecker.h: Source/WebKit2: A first draft implementation of this feature. * NetworkProcess/Downloads/Download.cpp: (WebKit::Download::Download): Update to accept default filename. (WebKit::Download::didStart): Send default filename in message. * NetworkProcess/Downloads/Download.h: * NetworkProcess/Downloads/DownloadManager.cpp: (WebKit::DownloadManager::startDownload): Expect a default filename argument. * NetworkProcess/Downloads/DownloadManager.h: * NetworkProcess/NetworkConnectionToWebProcess.cpp: (WebKit::NetworkConnectionToWebProcess::startDownload): Expect a default filename argument. * NetworkProcess/NetworkConnectionToWebProcess.h: * NetworkProcess/NetworkConnectionToWebProcess.messages.in: Update messages to expect a default filename argument. * Shared/NavigationActionData.cpp: (WebKit::NavigationActionData::encode): Handle the download attribute flag and the default filename. (WebKit::NavigationActionData::decode): Ditto. * Shared/NavigationActionData.h: * UIProcess/API/APINavigationAction.h: * UIProcess/Downloads/DownloadProxy.cpp: (WebKit::DownloadProxy::didStart): Expect a default filename argument. (WebKit::DownloadProxy::decideDestinationWithSuggestedFilename): Use the suggested filename if the client delegate does not override it. * UIProcess/Downloads/DownloadProxy.h: * UIProcess/Downloads/DownloadProxy.messages.in: Include a default filename value. * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::receivedPolicyDecision): If the feature is enabled, and the load was started with a download attribute, convert a "PolicyUse" decision to "PolicyDownload". (WebKit::WebPageProxy::decidePolicyForNavigationAction): Remember if the load is happening due to a 'download' attribute link. * UIProcess/WebPageProxy.h: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::createWindow): Populate the navigationActionData object with any download attribute and suggested filename. * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction): Populate the navigationActionData object with any download attribute and suggested filename. (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Ditto. (WebKit::WebFrameLoaderClient::startDownload): Expect a suggested filename argument. * WebProcess/WebPage/WebFrame.cpp: (WebKit::WebFrame::startDownload): Expect a suggested filename argument. * WebProcess/WebPage/WebFrame.h: Source/WTF: * wtf/FeatureDefines.h: Turn the ENABLE_DOWNLOAD_ATTRIBUTE flag on to see what happens. LayoutTests: * imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt: Update for <a download>. * imported/w3c/web-platform-tests/html/dom/reflection-text-expected.txt: Ditto. * js/dom/dom-static-property-for-in-iteration-expected.txt: Ditto. * platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt: Ditto. Canonical link: https://commits.webkit.org/174183@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-03-31 15:35:41 +00:00
#define ENABLE_DOWNLOAD_ATTRIBUTE 1
#endif
#if !defined(ENABLE_DRAG_SUPPORT)
#define ENABLE_DRAG_SUPPORT 1
#endif
Add ENABLE_ENCRYPTED_MEDIA configuration option https://bugs.webkit.org/show_bug.cgi?id=163219 Reviewed by Darin Adler. .: Add the ENABLE_ENCRYPTED_MEDIA configuration option to the CMake and MSVC build systems. It will be used to enable or disable the new EME implementation at build-time. * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Add the ENABLE_ENCRYPTED_MEDIA configuration option. It will be used to enable or disable the new EME implementation at build-time. Source/WebCore: * Configurations/FeatureDefines.xcconfig: Add the ENABLE_ENCRYPTED_MEDIA configuration option. It will be used to enable or disable the new EME implementation at build-time. * DerivedSources.make: Group the legacy option and the new option together. Source/WebKit/mac: * Configurations/FeatureDefines.xcconfig: Add the ENABLE_ENCRYPTED_MEDIA configuration option. It will be used to enable or disable the new EME implementation at build-time. Source/WebKit2: * Configurations/FeatureDefines.xcconfig: Add the ENABLE_ENCRYPTED_MEDIA configuration option. It will be used to enable or disable the new EME implementation at build-time. Source/WTF: * wtf/FeatureDefines.h: If undefined, define the ENABLE_ENCRYPTED_MEDIA option to 0. Tools: * Scripts/webkitperl/FeatureList.pm: Make the ENABLE_ENCRYPTED_MEDIA option overridable via build-webkit. * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Add the ENABLE_ENCRYPTED_MEDIA configuration option. It will be used to enable or disable the new EME implementation at build-time. Canonical link: https://commits.webkit.org/181096@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@207054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-10-11 06:43:35 +00:00
#if !defined(ENABLE_ENCRYPTED_MEDIA)
#define ENABLE_ENCRYPTED_MEDIA 0
#endif
#if !defined(ENABLE_FILTERS_LEVEL_2)
#define ENABLE_FILTERS_LEVEL_2 0
#endif
#if !defined(ENABLE_FTPDIR)
#define ENABLE_FTPDIR 1
#endif
#if !defined(ENABLE_FULLSCREEN_API)
#define ENABLE_FULLSCREEN_API 0
#endif
#if ((PLATFORM(IOS) || PLATFORM(WATCHOS) || PLATFORM(MACCATALYST)) && HAVE(AVKIT)) || PLATFORM(MAC)
Fix build failures when video fullscreen and picture-in-picture is disabled https://bugs.webkit.org/show_bug.cgi?id=210777 Reviewed by Eric Carlson. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: Wrap video fullscreen and picture-in-picture related code with "#if ENABLE(VIDEO_PRESENTATION_MODE)". * Configurations/FeatureDefines.xcconfig: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::updateVideoLayerGravity): * platform/graphics/avfoundation/objc/VideoLayerManagerObjC.h: * platform/graphics/avfoundation/objc/VideoLayerManagerObjC.mm: (WebCore::VideoLayerManagerObjC::setVideoLayer): (WebCore::VideoLayerManagerObjC::requiresTextTrackRepresentation const): (WebCore::VideoLayerManagerObjC::syncTextTrackBounds): (WebCore::VideoLayerManagerObjC::setTextTrackRepresentation): Source/WebCore/PAL: * Configurations/FeatureDefines.xcconfig: Source/WebKit: Wrap video fullscreen and picture-in-picture related code with "#if ENABLE(VIDEO_PRESENTATION_MODE)". * Configurations/FeatureDefines.xcconfig: * GPUProcess/media/RemoteMediaPlayerProxy.cpp: (WebKit::RemoteMediaPlayerProxy::setVideoFullscreenGravity): (WebKit::RemoteMediaPlayerProxy::updateVideoFullscreenInlineImage): (WebKit::RemoteMediaPlayerProxy::setVideoFullscreenMode): (WebKit::RemoteMediaPlayerProxy::videoFullscreenStandbyChanged): (WebKit::RemoteMediaPlayerProxy::setBufferingPolicy): * GPUProcess/media/RemoteMediaPlayerProxy.h: * GPUProcess/media/RemoteMediaPlayerProxy.messages.in: * GPUProcess/media/cocoa/RemoteMediaPlayerProxyCocoa.mm: (WebKit::RemoteMediaPlayerProxy::prepareForPlayback): * WebProcess/GPU/media/MediaPlayerPrivateRemote.cpp: (WebKit::MediaPlayerPrivateRemote::prepareForPlayback): Source/WebKitLegacy/mac: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/PlatformEnable.h: Tools: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Canonical link: https://commits.webkit.org/223664@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-21 04:06:11 +00:00
#if !defined(ENABLE_VIDEO_PRESENTATION_MODE)
Cleanup the macros for video fullscreen and picture-in-picture https://bugs.webkit.org/show_bug.cgi?id=210638 Reviewed by Eric Carlson. Source/WebCore: Replace some "#if PLATFORM(IOS_FAMILY) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))" and all "#if (PLATFORM(IOS_FAMILY) && HAVE(AVKIT)) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))" with "#if ENABLE(VIDEO_PRESENTATION_MODE)". No new tests, no functional change. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::mediaEngineWasUpdated): (WebCore::HTMLMediaElement::setVideoFullscreenStandby): * html/HTMLMediaElement.h: * html/HTMLVideoElement.cpp: * html/HTMLVideoElement.h: * platform/PictureInPictureSupport.h: * platform/cocoa/VideoFullscreenChangeObserver.h: * platform/cocoa/VideoFullscreenModel.h: * platform/cocoa/VideoFullscreenModelVideoElement.h: * platform/cocoa/VideoFullscreenModelVideoElement.mm: * platform/graphics/MediaPlayer.cpp: * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: * platform/ios/VideoFullscreenInterfaceAVKit.mm: (WebCore::supportsPictureInPicture): Source/WebKit: Replace some "#if PLATFORM(IOS_FAMILY) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))" and all "#if (PLATFORM(IOS_FAMILY) && HAVE(AVKIT)) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))" with "#if ENABLE(VIDEO_PRESENTATION_MODE)". * GPUProcess/media/RemoteMediaPlayerProxy.cpp: (WebKit::RemoteMediaPlayerProxy::setVideoFullscreenGravity): (WebKit::RemoteMediaPlayerProxy::updateVideoFullscreenInlineImage): (WebKit::RemoteMediaPlayerProxy::setVideoFullscreenMode): (WebKit::RemoteMediaPlayerProxy::videoFullscreenStandbyChanged): * UIProcess/Cocoa/VideoFullscreenManagerProxy.h: * UIProcess/Cocoa/VideoFullscreenManagerProxy.messages.in: * UIProcess/Cocoa/VideoFullscreenManagerProxy.mm: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::didAttachToRunningProcess): (WebKit::WebPageProxy::viewDidLeaveWindow): (WebKit::WebPageProxy::exitFullscreenImmediately): * UIProcess/WebPageProxy.h: * WebProcess/GPU/media/MediaPlayerPrivateRemote.cpp: * WebProcess/GPU/media/MediaPlayerPrivateRemote.h: * WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm: * WebProcess/WebCoreSupport/WebChromeClient.cpp: * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::~WebPage): * WebProcess/WebPage/WebPage.h: * WebProcess/cocoa/VideoFullscreenManager.h: * WebProcess/cocoa/VideoFullscreenManager.messages.in: * WebProcess/cocoa/VideoFullscreenManager.mm: Source/WTF: Add macro ENABLE_VIDEO_PRESENTATION_MODE. * wtf/PlatformEnable.h: Canonical link: https://commits.webkit.org/223532@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-17 17:13:44 +00:00
#define ENABLE_VIDEO_PRESENTATION_MODE 1
Fix build failures when video fullscreen and picture-in-picture is disabled https://bugs.webkit.org/show_bug.cgi?id=210777 Reviewed by Eric Carlson. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: Wrap video fullscreen and picture-in-picture related code with "#if ENABLE(VIDEO_PRESENTATION_MODE)". * Configurations/FeatureDefines.xcconfig: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::updateVideoLayerGravity): * platform/graphics/avfoundation/objc/VideoLayerManagerObjC.h: * platform/graphics/avfoundation/objc/VideoLayerManagerObjC.mm: (WebCore::VideoLayerManagerObjC::setVideoLayer): (WebCore::VideoLayerManagerObjC::requiresTextTrackRepresentation const): (WebCore::VideoLayerManagerObjC::syncTextTrackBounds): (WebCore::VideoLayerManagerObjC::setTextTrackRepresentation): Source/WebCore/PAL: * Configurations/FeatureDefines.xcconfig: Source/WebKit: Wrap video fullscreen and picture-in-picture related code with "#if ENABLE(VIDEO_PRESENTATION_MODE)". * Configurations/FeatureDefines.xcconfig: * GPUProcess/media/RemoteMediaPlayerProxy.cpp: (WebKit::RemoteMediaPlayerProxy::setVideoFullscreenGravity): (WebKit::RemoteMediaPlayerProxy::updateVideoFullscreenInlineImage): (WebKit::RemoteMediaPlayerProxy::setVideoFullscreenMode): (WebKit::RemoteMediaPlayerProxy::videoFullscreenStandbyChanged): (WebKit::RemoteMediaPlayerProxy::setBufferingPolicy): * GPUProcess/media/RemoteMediaPlayerProxy.h: * GPUProcess/media/RemoteMediaPlayerProxy.messages.in: * GPUProcess/media/cocoa/RemoteMediaPlayerProxyCocoa.mm: (WebKit::RemoteMediaPlayerProxy::prepareForPlayback): * WebProcess/GPU/media/MediaPlayerPrivateRemote.cpp: (WebKit::MediaPlayerPrivateRemote::prepareForPlayback): Source/WebKitLegacy/mac: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/PlatformEnable.h: Tools: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Canonical link: https://commits.webkit.org/223664@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-21 04:06:11 +00:00
#endif
Cleanup the macros for video fullscreen and picture-in-picture https://bugs.webkit.org/show_bug.cgi?id=210638 Reviewed by Eric Carlson. Source/WebCore: Replace some "#if PLATFORM(IOS_FAMILY) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))" and all "#if (PLATFORM(IOS_FAMILY) && HAVE(AVKIT)) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))" with "#if ENABLE(VIDEO_PRESENTATION_MODE)". No new tests, no functional change. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::mediaEngineWasUpdated): (WebCore::HTMLMediaElement::setVideoFullscreenStandby): * html/HTMLMediaElement.h: * html/HTMLVideoElement.cpp: * html/HTMLVideoElement.h: * platform/PictureInPictureSupport.h: * platform/cocoa/VideoFullscreenChangeObserver.h: * platform/cocoa/VideoFullscreenModel.h: * platform/cocoa/VideoFullscreenModelVideoElement.h: * platform/cocoa/VideoFullscreenModelVideoElement.mm: * platform/graphics/MediaPlayer.cpp: * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: * platform/ios/VideoFullscreenInterfaceAVKit.mm: (WebCore::supportsPictureInPicture): Source/WebKit: Replace some "#if PLATFORM(IOS_FAMILY) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))" and all "#if (PLATFORM(IOS_FAMILY) && HAVE(AVKIT)) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))" with "#if ENABLE(VIDEO_PRESENTATION_MODE)". * GPUProcess/media/RemoteMediaPlayerProxy.cpp: (WebKit::RemoteMediaPlayerProxy::setVideoFullscreenGravity): (WebKit::RemoteMediaPlayerProxy::updateVideoFullscreenInlineImage): (WebKit::RemoteMediaPlayerProxy::setVideoFullscreenMode): (WebKit::RemoteMediaPlayerProxy::videoFullscreenStandbyChanged): * UIProcess/Cocoa/VideoFullscreenManagerProxy.h: * UIProcess/Cocoa/VideoFullscreenManagerProxy.messages.in: * UIProcess/Cocoa/VideoFullscreenManagerProxy.mm: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::didAttachToRunningProcess): (WebKit::WebPageProxy::viewDidLeaveWindow): (WebKit::WebPageProxy::exitFullscreenImmediately): * UIProcess/WebPageProxy.h: * WebProcess/GPU/media/MediaPlayerPrivateRemote.cpp: * WebProcess/GPU/media/MediaPlayerPrivateRemote.h: * WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm: * WebProcess/WebCoreSupport/WebChromeClient.cpp: * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::~WebPage): * WebProcess/WebPage/WebPage.h: * WebProcess/cocoa/VideoFullscreenManager.h: * WebProcess/cocoa/VideoFullscreenManager.messages.in: * WebProcess/cocoa/VideoFullscreenManager.mm: Source/WTF: Add macro ENABLE_VIDEO_PRESENTATION_MODE. * wtf/PlatformEnable.h: Canonical link: https://commits.webkit.org/223532@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-17 17:13:44 +00:00
#endif
#if !defined(ENABLE_GAMEPAD)
#define ENABLE_GAMEPAD 0
#endif
#if !defined(ENABLE_GEOLOCATION)
#define ENABLE_GEOLOCATION 0
#endif
#if !defined(ENABLE_INPUT_TYPE_COLOR)
Make <input type=color> a runtime enabled (on-by-default) feature https://bugs.webkit.org/show_bug.cgi?id=189162 Reviewed by Wenson Hsieh and Tim Horton. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: Enable the build-time flag INPUT_TYPE_COLOR by default and introduce a runtime-enabled feature for input type color, also on by default. Covered by rebaselining existing layout tests. * Configurations/FeatureDefines.xcconfig: * html/InputType.cpp: (WebCore::createInputTypeFactoryMap): * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::inputTypeColorEnabled const): (WebCore::RuntimeEnabledFeatures::setInputTypeColorEnabled): Source/WebCore/PAL: * Configurations/FeatureDefines.xcconfig: Source/WebKit: * Configurations/FeatureDefines.xcconfig: * Shared/WebPreferences.yaml: Add an experimental feature flag for input type=color. * UIProcess/mac/WebColorPickerMac.mm: (-[WKPopoverColorWell webDelegate]): (-[WKPopoverColorWell setWebDelegate:]): Source/WebKitLegacy/mac: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/FeatureDefines.h: Tools: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: LayoutTests: Rebaseline layout tests after enabling input type=color by default. * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt: * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt: * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt: * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt: * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt: * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt: * platform/ios/fast/forms/color/input-appearance-color-expected.txt: * platform/ios/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-elements-filter-expected.txt: Added. * platform/ios/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/color-expected.txt: * platform/mac/accessibility/roles-exposed-expected.txt: * platform/mac/fast/selectors/read-only-read-write-input-basics-expected.txt: * platform/mac/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt: * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-validity-badInput-expected.txt: * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt: * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt: * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt: * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt: * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/valueMode-expected.txt: * platform/mac/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/readwrite-readonly-expected.txt: Canonical link: https://commits.webkit.org/205330@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-08 22:08:41 +00:00
#define ENABLE_INPUT_TYPE_COLOR 1
#endif
#if !defined(ENABLE_INPUT_TYPE_DATE)
#define ENABLE_INPUT_TYPE_DATE 0
#endif
#if !defined(ENABLE_INPUT_TYPE_DATETIMELOCAL)
#define ENABLE_INPUT_TYPE_DATETIMELOCAL 0
#endif
#if !defined(ENABLE_INPUT_TYPE_MONTH)
#define ENABLE_INPUT_TYPE_MONTH 0
#endif
#if !defined(ENABLE_INPUT_TYPE_TIME)
#define ENABLE_INPUT_TYPE_TIME 0
#endif
#if !defined(ENABLE_INPUT_TYPE_WEEK)
#define ENABLE_INPUT_TYPE_WEEK 0
#endif
#if !defined(ENABLE_IOS_FORM_CONTROL_REFRESH)
#define ENABLE_IOS_FORM_CONTROL_REFRESH 0
#endif
Make it possible to send an arbitrary IPC message from JavaScript https://bugs.webkit.org/show_bug.cgi?id=217423 <rdar://problem/69969351> Reviewed by Geoffrey Garen. Source/JavaScriptCore: Added a helper function to get uint64_t out of BigInt. * runtime/JSBigInt.cpp: (JSC::JSBigInt::toUint64Heap): Added. * runtime/JSBigInt.h: (JSC::JSBigInt::toUint64): Added. Source/WebKit: This patch introduces the JavaScript API (window.IPC) to send IPC out of WebContent process. The feature is compiled in under ASAN and Debug builds and can be enabled at runtime. window.IPC has two methods: sendMessage and sendSyncMessage which sends an async and sync IPC respectively. It takes the destination process name (UI, GPU, or Networking), the destination ID (e.g. WebPageProxy ID), message ID, timeout for sendSyncMessage, and optionally IPC message arguments. The message arguments can be passed in as a TypedArray or ArrayBuffer, or a JavaScript array that recursively describes encoded objects. Each object can be either a TypedArray or ArrayBuffer, which will be treated as encoded message, an array which will be encoded as a Vector with each item within the array encoded recursively, or a dictionary which describes a specific type. When a specific type is described via a dictionary, "value" is encoed based on "type" as follows: - When "type" is "String", "value" is encoded as a WTF::String, treating null or undefined as a null string. - When "type" is "bool", "int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", or "uint64_t", "value" (which can be BigInt or a number) is encoded as the respective C++ type. - When "type" is "RGBA", "value" is used as PackedColor::RGBA to construct WebCore::Color to be encoded. - When "type" is "IntRect" or "FloatRect", "x", "y", "width", and "height" are treated as respective values of IntRect or FloatRect C++ objects, and the constructed *Rect is encoded. - When "type" is "FrameInfoData", the context object's WebFrame's FrameInfoData is encoded. The list of IPC messages are exposed on window.IPC.messages, and VisitedLinkStore ID, WebPageProxy ID, and frame identifiers are also exposed as static variables on window.IPC. * Sources.txt: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld): Inject the API if enabled. * WebProcess/WebPage/IPCTestingAPI.cpp: Added. (WebKit::IPCTestingAPI::JSIPC::create): Added. (WebKit::IPCTestingAPI::JSIPC::webFrame): Added. (WebKit::IPCTestingAPI::JSIPC::JSIPC): Added. (WebKit::IPCTestingAPI::JSIPC::wrapperClass): Added. (WebKit::IPCTestingAPI::JSIPC::unwrap): Added. (WebKit::IPCTestingAPI::JSIPC::toWrapped): Added. (WebKit::IPCTestingAPI::JSIPC::initialize): Added. (WebKit::IPCTestingAPI::JSIPC::finalize): Added. (WebKit::IPCTestingAPI::JSIPC::staticFunctions): Added. (WebKit::IPCTestingAPI::JSIPC::staticValues): Added. (WebKit::IPCTestingAPI::convertToUint64): Added. (WebKit::IPCTestingAPI::processTargetFromArgument): Added. (WebKit::IPCTestingAPI::destinationIDFromArgument): Added. (WebKit::IPCTestingAPI::messageIDFromArgument): Added. (WebKit::IPCTestingAPI::encodeTypedArray): Added. (WebKit::IPCTestingAPI::createTypeError): Added. (WebKit::IPCTestingAPI::encodeRectType): Added. (WebKit::IPCTestingAPI::encodeIntegralType): Added. (WebKit::IPCTestingAPI::VectorEncodeHelper::encode const): Added. (WebKit::IPCTestingAPI::encodeArgument): Added. (WebKit::IPCTestingAPI::JSIPC::sendMessage): Added. (WebKit::IPCTestingAPI::JSIPC::sendSyncMessage): Added. (WebKit::IPCTestingAPI::JSIPC::visitedLinkStoreID): Added. (WebKit::IPCTestingAPI::JSIPC::webPageProxyID): Added. (WebKit::IPCTestingAPI::JSIPC::frameIdentifier): Added. (WebKit::IPCTestingAPI::JSIPC::retrieveID): Added. (WebKit::IPCTestingAPI::JSIPC::messages): Added. (WebKit::IPCTestingAPI::inject): * WebProcess/WebPage/IPCTestingAPI.h: Added. * WebProcess/WebPage/WebFrame.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::m_limitsNavigationsToAppBoundDomains): (WebKit::WebPage::updatePreferences): * WebProcess/WebPage/WebPage.h: (WebKit::WebPage::ipcTestingAPIEnabled const): (WebKit::WebPage::webPageProxyID const): (WebKit::WebPage::visitedLinkTableID const): Source/WTF: Added a compile time flag (ENABLE_IPC_TESTING_API) and a runtime flag (IPCTestingAPIEnabled) for the JavaScript API to test IPC. * Scripts/GeneratePreferences.rb: (Preference::nameLower): Keep IPC uppercase. * Scripts/Preferences/WebPreferencesInternal.yaml: Added IPCTestingAPIEnabled. * wtf/PlatformEnable.h: Added ENABLE_IPC_TESTING_API. Tools: * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm: Added. (-[IPCTestingAPIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]): (TEST): Canonical link: https://commits.webkit.org/230272@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-09 00:48:35 +00:00
#if !defined(ENABLE_IPC_TESTING_API)
/* Enable IPC testing on all ASAN builds and debug builds. */
Source/WebKit: IPC testing JS API should expose a reply and describe the list of arguments for each message https://bugs.webkit.org/show_bug.cgi?id=217565 Reviewed by Geoffrey Garen. This patch makes IPC.sendMessage and IPC.sendSyncMessage decode the reply. IPC.sendSyncMessage now returns a dictionary with two keys: "buffer" and "arguments", the first of which returns ArrayBuffer of the decoded message reply and the second of which is an array of decoded arguments where there was an appropriate JS binding code existed for the argument type. IPC.sendMessage now returns a Promise which can either resolve with the same dictionary as IPC.sendSyncMessage or reject when the decoding fails. In addition, this patch exposes a dictionary describing each IPC message argument's type and parameter name. In order to add these two functionalities, this patch adds a new step in generate-message-receiver.py to generate MessageArgumentDescriptions.cpp, which contains functions which know how to decode arguments of any IPC message and create a JS dictionary describing it as well as functions that return descriptions of arguments or reply arguments. Finally, this patch adds encoders for a few types found to be very common after r268239 had been landed. Tests: TestWebKitAPI.IPCTestingAPI.DecodesReplyArgumentsForPrompt TestWebKitAPI.IPCTestingAPI.DecodesReplyArgumentsForAsyncMessage TestWebKitAPI.IPCTestingAPI.DescribesArguments * CMakeLists.txt: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Platform/IPC/Decoder.h: (IPC::Decoder::buffer const): * Platform/IPC/JSIPCBinding.h: Added. (jsValueForDecodedArgumentValue): Added. A template function to construct a JS value for a given C++ value. (jsValueForDecodedNumericArgumentValue): Added. A helper for constructing a JS value for numeric values. (jsValueForDecodedArgumentRect): Added. Ditto for IntRect and FloatRect. (DecodedArgumentJSValueConverter): Added. A helper class to construct JS values for a tuple of values using partial template specializations. (DecodedArgumentJSValueConverter::convert): Added. (jsValueForArgumentTuple): Added. A helper to construct a JS array for the decoded IPC arguments. (jsValueForDecodedArguments): Added. * Platform/IPC/MessageArgumentDescriptions.h: Added. (IPC::ArgumentDescription): Added. * Scripts/generate-message-receiver.py: (main): Generate MessageArgumentDescriptions.cpp. * Scripts/webkit/messages.py: (headers_for_type): Removed the special case for PaymentMethodUpdate now that it's in its own header. Also added made webrtc::WebKitEncodedFrameInfo include LibWebRTCEnumTraits.h as it uses webrtc::VideoFrameType. (collect_header_conditions_for_receiver): Extracted from generate_message_handler. (generate_header_includes_from_conditions): Ditto. (generate_message_handler): (generate_js_value_conversion_function): Added. (generate_js_argument_descriptions): Added. (generate_message_argument_description_implementation): Added. * Shared/ApplePay/ApplePayPaymentSetupFeaturesWebKit.h: Fixed a bug that we were not forward declaring NSArray. * SourcesCocoa.txt: Added MessageArgumentDescriptions.cpp as a non-unified cpp file as its size is around 1MB. * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebPage/IPCTestingAPI.cpp: (WebKit::IPCTestingAPI::JSIPC::staticValues): Added the session ID and page ID as static variables. (WebKit::IPCTestingAPI::encodePointType): Added. (WebKit::IPCTestingAPI::encodeRectType): Fixed the bug was that this code wasn't checking for any exceptions. (WebKit::IPCTestingAPI::encodeNumericType): Renamed from encodeIntegralType since this function is now used to encode double and float, not just integral types. (WebKit::IPCTestingAPI::encodeArgument): Added the support for IntPoint, FloatPoint, URL, RegistrableDomain, double, and float all of which turned out to be in the top 20 most common types. (WebKit::IPCTestingAPI::jsResultFromReplyDecoder): Added. (WebKit::IPCTestingAPI::JSIPC::sendMessage): Added the code to return Promise when there is a reply and resolve it with the JS object describing the decoded argument. We use messageReplyArgumentDescriptions to figure out whether there is a reply or not. (WebKit::IPCTestingAPI::JSIPC::sendSyncMessage): Decode the reply and return a JS object which describes it. (WebKit::IPCTestingAPI::JSIPC::frameID): Renamed from frameIdentifier to be consistent. (WebKit::IPCTestingAPI::JSIPC::pageID): Added. (WebKit::IPCTestingAPI::JSIPC::sessionID): Added. (WebKit::IPCTestingAPI::createJSArrayForArgumentDescriptions): Added. (WebKit::IPCTestingAPI::JSIPC::messages): Added the code to generate descriptions for arguments. Source/WTF: Unreviewed build fix. Disable IPC testing API on non-Cocoa platforms. * wtf/PlatformEnable.h: Tools: IPC testing JS API should expose a reply and describe the list of arguments for each message https://bugs.webkit.org/show_bug.cgi?id=217565 Reviewed by Geoffrey Garen. Added tests for decoding replies for sync and async messages and one for argument descriptions. * TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm: (-[IPCTestingAPIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:]): (-[IPCTestingAPIDelegate _webView:webContentProcessDidTerminateWithReason:]): (IPCTestingAPI.DecodesReplyArgumentsForPrompt): (IPCTestingAPI.DecodesReplyArgumentsForAsyncMessage): (IPCTestingAPI.DescribesArguments): Canonical link: https://commits.webkit.org/230481@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-15 00:33:30 +00:00
#if (ASAN_ENABLED || !defined(NDEBUG)) && PLATFORM(COCOA)
Make it possible to send an arbitrary IPC message from JavaScript https://bugs.webkit.org/show_bug.cgi?id=217423 <rdar://problem/69969351> Reviewed by Geoffrey Garen. Source/JavaScriptCore: Added a helper function to get uint64_t out of BigInt. * runtime/JSBigInt.cpp: (JSC::JSBigInt::toUint64Heap): Added. * runtime/JSBigInt.h: (JSC::JSBigInt::toUint64): Added. Source/WebKit: This patch introduces the JavaScript API (window.IPC) to send IPC out of WebContent process. The feature is compiled in under ASAN and Debug builds and can be enabled at runtime. window.IPC has two methods: sendMessage and sendSyncMessage which sends an async and sync IPC respectively. It takes the destination process name (UI, GPU, or Networking), the destination ID (e.g. WebPageProxy ID), message ID, timeout for sendSyncMessage, and optionally IPC message arguments. The message arguments can be passed in as a TypedArray or ArrayBuffer, or a JavaScript array that recursively describes encoded objects. Each object can be either a TypedArray or ArrayBuffer, which will be treated as encoded message, an array which will be encoded as a Vector with each item within the array encoded recursively, or a dictionary which describes a specific type. When a specific type is described via a dictionary, "value" is encoed based on "type" as follows: - When "type" is "String", "value" is encoded as a WTF::String, treating null or undefined as a null string. - When "type" is "bool", "int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", or "uint64_t", "value" (which can be BigInt or a number) is encoded as the respective C++ type. - When "type" is "RGBA", "value" is used as PackedColor::RGBA to construct WebCore::Color to be encoded. - When "type" is "IntRect" or "FloatRect", "x", "y", "width", and "height" are treated as respective values of IntRect or FloatRect C++ objects, and the constructed *Rect is encoded. - When "type" is "FrameInfoData", the context object's WebFrame's FrameInfoData is encoded. The list of IPC messages are exposed on window.IPC.messages, and VisitedLinkStore ID, WebPageProxy ID, and frame identifiers are also exposed as static variables on window.IPC. * Sources.txt: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld): Inject the API if enabled. * WebProcess/WebPage/IPCTestingAPI.cpp: Added. (WebKit::IPCTestingAPI::JSIPC::create): Added. (WebKit::IPCTestingAPI::JSIPC::webFrame): Added. (WebKit::IPCTestingAPI::JSIPC::JSIPC): Added. (WebKit::IPCTestingAPI::JSIPC::wrapperClass): Added. (WebKit::IPCTestingAPI::JSIPC::unwrap): Added. (WebKit::IPCTestingAPI::JSIPC::toWrapped): Added. (WebKit::IPCTestingAPI::JSIPC::initialize): Added. (WebKit::IPCTestingAPI::JSIPC::finalize): Added. (WebKit::IPCTestingAPI::JSIPC::staticFunctions): Added. (WebKit::IPCTestingAPI::JSIPC::staticValues): Added. (WebKit::IPCTestingAPI::convertToUint64): Added. (WebKit::IPCTestingAPI::processTargetFromArgument): Added. (WebKit::IPCTestingAPI::destinationIDFromArgument): Added. (WebKit::IPCTestingAPI::messageIDFromArgument): Added. (WebKit::IPCTestingAPI::encodeTypedArray): Added. (WebKit::IPCTestingAPI::createTypeError): Added. (WebKit::IPCTestingAPI::encodeRectType): Added. (WebKit::IPCTestingAPI::encodeIntegralType): Added. (WebKit::IPCTestingAPI::VectorEncodeHelper::encode const): Added. (WebKit::IPCTestingAPI::encodeArgument): Added. (WebKit::IPCTestingAPI::JSIPC::sendMessage): Added. (WebKit::IPCTestingAPI::JSIPC::sendSyncMessage): Added. (WebKit::IPCTestingAPI::JSIPC::visitedLinkStoreID): Added. (WebKit::IPCTestingAPI::JSIPC::webPageProxyID): Added. (WebKit::IPCTestingAPI::JSIPC::frameIdentifier): Added. (WebKit::IPCTestingAPI::JSIPC::retrieveID): Added. (WebKit::IPCTestingAPI::JSIPC::messages): Added. (WebKit::IPCTestingAPI::inject): * WebProcess/WebPage/IPCTestingAPI.h: Added. * WebProcess/WebPage/WebFrame.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::m_limitsNavigationsToAppBoundDomains): (WebKit::WebPage::updatePreferences): * WebProcess/WebPage/WebPage.h: (WebKit::WebPage::ipcTestingAPIEnabled const): (WebKit::WebPage::webPageProxyID const): (WebKit::WebPage::visitedLinkTableID const): Source/WTF: Added a compile time flag (ENABLE_IPC_TESTING_API) and a runtime flag (IPCTestingAPIEnabled) for the JavaScript API to test IPC. * Scripts/GeneratePreferences.rb: (Preference::nameLower): Keep IPC uppercase. * Scripts/Preferences/WebPreferencesInternal.yaml: Added IPCTestingAPIEnabled. * wtf/PlatformEnable.h: Added ENABLE_IPC_TESTING_API. Tools: * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm: Added. (-[IPCTestingAPIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]): (TEST): Canonical link: https://commits.webkit.org/230272@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-09 00:48:35 +00:00
#define ENABLE_IPC_TESTING_API 1
#endif
#endif
Remove support for ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE https://bugs.webkit.org/show_bug.cgi?id=213932 Reviewed by Darin Adler. Removes support for non-standard <input type="datetime">, currently being guarded by the macro ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE. This macro, was added back in 2013 as a temporary measure to support some engines who shipped support for <input type="datetime">. It is currently not enabled for any ports so now seems like as good a time as any to remove it. .: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: * Configurations/FeatureDefines.xcconfig: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * css/html.css: (#endif): * html/DateTimeInputType.cpp: Removed. * html/DateTimeInputType.h: Removed. * html/InputType.cpp: (WebCore::createInputTypeFactoryMap): * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::inputTypeDateTimeEnabled const): Deleted. (WebCore::RuntimeEnabledFeatures::setInputTypeDateTimeEnabled): Deleted. * platform/DateComponents.cpp: (WebCore::DateComponents::setMillisecondsSinceEpochForDateTimeLocal): (WebCore::DateComponents::millisecondsSinceEpoch const): (WebCore::DateComponents::toString const): (WebCore::DateComponents::fromParsingDateTime): Deleted. (WebCore::DateComponents::parseDateTime): Deleted. (WebCore::DateComponents::fromMillisecondsSinceEpochForDateTime): Deleted. (WebCore::DateComponents::setMillisecondsSinceEpochForDateTime): Deleted. * platform/DateComponents.h: * platform/text/PlatformLocale.cpp: (WebCore::Locale::formatDateTime): * platform/text/ios/LocalizedDateCache.mm: (WebCore::LocalizedDateCache::createFormatterForType): Source/WebCore/PAL: * Configurations/FeatureDefines.xcconfig: Source/WebKit: * Configurations/FeatureDefines.xcconfig: Source/WebKitLegacy/mac: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/PlatformEnable.h: Tools: * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Canonical link: https://commits.webkit.org/226744@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-03 23:43:44 +00:00
#if ENABLE(INPUT_TYPE_DATE) || ENABLE(INPUT_TYPE_DATETIMELOCAL) || ENABLE(INPUT_TYPE_MONTH) || ENABLE(INPUT_TYPE_TIME) || ENABLE(INPUT_TYPE_WEEK)
#if !defined(ENABLE_DATE_AND_TIME_INPUT_TYPES)
#define ENABLE_DATE_AND_TIME_INPUT_TYPES 1
#endif
#endif
Web Inspector: Provide a way to have alternate inspector agents https://bugs.webkit.org/show_bug.cgi?id=137901 Reviewed by Brian Burg. Source/JavaScriptCore: Provide a way to use alternate inspector agents debugging a JSContext. Expose a very slim private API that a client could use to know when an inspector has connected/disconnected, and a way to register its augmentative agents. * Configurations/FeatureDefines.xcconfig: * JavaScriptCore.xcodeproj/project.pbxproj: New feature guard. New files. * API/JSContextRef.cpp: (JSGlobalContextGetAugmentableInspectorController): * API/JSContextRefInspectorSupport.h: Added. Access to the private interface from a JSContext. * inspector/JSGlobalObjectInspectorController.cpp: (Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController): (Inspector::JSGlobalObjectInspectorController::connectFrontend): (Inspector::JSGlobalObjectInspectorController::disconnectFrontend): * inspector/JSGlobalObjectInspectorController.h: * inspector/augmentable/AugmentableInspectorController.h: Added. (Inspector::AugmentableInspectorController::~AugmentableInspectorController): (Inspector::AugmentableInspectorController::connected): * inspector/augmentable/AugmentableInspectorControllerClient.h: Added. (Inspector::AugmentableInspectorControllerClient::~AugmentableInspectorControllerClient): * inspector/augmentable/AlternateDispatchableAgent.h: Added. (Inspector::AlternateDispatchableAgent::AlternateDispatchableAgent): Provide the private APIs a client could use to add alternate agents using alternate backend dispatchers. * inspector/scripts/codegen/__init__.py: * inspector/scripts/generate-inspector-protocol-bindings.py: (generate_from_specification): New includes, and use the new generator. * inspector/scripts/codegen/generate_alternate_backend_dispatcher_header.py: Added. (AlternateBackendDispatcherHeaderGenerator): (AlternateBackendDispatcherHeaderGenerator.__init__): (AlternateBackendDispatcherHeaderGenerator.output_filename): (AlternateBackendDispatcherHeaderGenerator.generate_output): (AlternateBackendDispatcherHeaderGenerator._generate_handler_declarations_for_domain): (AlternateBackendDispatcherHeaderGenerator._generate_handler_declaration_for_command): Generate the abstract AlternateInspectorBackendDispatcher interfaces. * inspector/scripts/codegen/generate_backend_dispatcher_header.py: (BackendDispatcherHeaderGenerator.generate_output): (BackendDispatcherHeaderGenerator._generate_alternate_handler_forward_declarations_for_domains): (BackendDispatcherHeaderGenerator._generate_alternate_handler_forward_declarations_for_domains.AlternateInspector): Forward declare alternate dispatchers, and allow setting an alternate dispatcher on a domain dispatcher. * inspector/scripts/codegen/generate_backend_dispatcher_implementation.py: (BackendDispatcherImplementationGenerator.generate_output): (BackendDispatcherImplementationGenerator._generate_dispatcher_implementation_for_command): Check for and dispatch on an AlternateInspectorBackendDispatcher if there is one for this domain. * inspector/scripts/codegen/generator_templates.py: (AlternateInspectorBackendDispatcher): (AlternateInspector): Template boilerplate for prelude and postlude. * inspector/scripts/tests/expected/commands-with-async-attribute.json-result: * inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result: * inspector/scripts/tests/expected/domains-with-varying-command-sizes.json-result: * inspector/scripts/tests/expected/events-with-optional-parameters.json-result: * inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result: * inspector/scripts/tests/expected/same-type-id-different-domain.json-result: * inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result: * inspector/scripts/tests/expected/type-declaration-aliased-primitive-type.json-result: * inspector/scripts/tests/expected/type-declaration-array-type.json-result: * inspector/scripts/tests/expected/type-declaration-enum-type.json-result: * inspector/scripts/tests/expected/type-declaration-object-type.json-result: * inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result: Rebaseline tests. Source/WebCore: * Configurations/FeatureDefines.xcconfig: Source/WebKit/mac: * Configurations/FeatureDefines.xcconfig: Source/WebKit2: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/FeatureDefines.h: Canonical link: https://commits.webkit.org/155888@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-10-23 23:43:14 +00:00
#if !defined(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS)
#define ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS 0
#endif
#if !defined(ENABLE_INSPECTOR_EXTENSIONS)
#define ENABLE_INSPECTOR_EXTENSIONS 0
#endif
Web Inspector: Add diagnostic logging for frontend feature usage https://bugs.webkit.org/show_bug.cgi?id=203579 <rdar://problem/56717410> Reviewed by Brian Burg. .: Original patch by Matt Baker <mattbaker@apple.com>. * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/JavaScriptCore: Original patch by Matt Baker <mattbaker@apple.com>. * Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/WebCore: Add `InspectorFrontendHost` API for logging diagnostic events from the Web Inspector UI. An event consists of a message string, such as "TabActivity" or "SettingChanged", and a dictionary payload encoded as a JSON string. Original patch by Matt Baker. * inspector/InspectorFrontendHost.idl: * inspector/InspectorFrontendHost.h: * inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::supportsDiagnosticLogging): Added. (WebCore::valuePayloadFromJSONValue): Added. (WebCore::InspectorFrontendHost::logDiagnosticEvent): Added. * inspector/InspectorFrontendClient.h: (WebCore::InspectorFrontendClient::supportsDiagnosticLogging): Added. (WebCore::InspectorFrontendClient::logDiagnosticEvent): Added. * Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/WebCore/PAL: Original patch by Matt Baker <mattbaker@apple.com>. * Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/WebInspectorUI: Add a `DiagnosticController` class for reporting Web Inspector telemetry. The controller initially measures a single "TabActivity" data point, which logs the active tab during the specified time interval (one minute). If the UI is not active during the time interval, no logging takes place. The UI is considered to be active if mouse/keyboard interaction occurs during the time interval, or the selected `TabContentView` changes. Original patch by Matt Baker <mattbaker@apple.com>. * UserInterface/Controllers/DiagnosticController.js: Added. (WI.DiagnosticController): (WI.DiagnosticController.supportsDiagnosticLogging): (WI.DiagnosticController.prototype.logDiagnosticMessage): (WI.DiagnosticController.prototype._didInteractWithTabContent): (WI.DiagnosticController.prototype._clearTabActivityTimeout): (WI.DiagnosticController.prototype._beginTabActivityTimeout): (WI.DiagnosticController.prototype._stopTrackingTabActivity): (WI.DiagnosticController.prototype._handleWindowFocus): (WI.DiagnosticController.prototype._handleWindowBlur): (WI.DiagnosticController.prototype._handleWindowKeyDown): (WI.DiagnosticController.prototype._handleWindowMouseDown): (WI.DiagnosticController.prototype._handleTabBrowserSelectedTabContentViewDidChange): * UserInterface/Main.html: * UserInterface/Base/Main.js: (WI.contentLoaded): Source/WebKit: This patch enables diagnostic logging for the Web Inspector web process and adds the necessary `InspectorFrontendClient` plumbing to `WebInspectorUI`. Original patch by Matt Baker <mattbaker@apple.com>. * WebProcess/WebPage/WebInspectorUI.h: * WebProcess/WebPage/WebInspectorUI.cpp: (WebKit::WebInspectorUI::supportsDiagnosticLogging): Added. (WebKit::WebInspectorUI::logDagnosticEvent): Added. * WebProcess/WebPage/RemoteWebInspectorUI.h: * WebProcess/WebPage/RemoteWebInspectorUI.cpp: (WebKit::RemoteWebInspectorUI::supportsDiagnosticLogging): Added. (WebKit::RemoteWebInspectorUI::logDiagnosticEvent): Added. * UIProcess/mac/WKInspectorViewController.mm: (-[WKInspectorViewController configuration]): Default to enabling diagnostic logging for the Web Inspector frontend window. * Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/WebKitLegacy/mac: Original patch by Matt Baker <mattbaker@apple.com>. * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebInspectorClient.mm: (WebInspectorFrontendClient::supportsDiagnosticLogging): Added. (WebInspectorFrontendClient::logDiagnosticEvent): Added. * Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Source/WTF: Original patch by Matt Baker <mattbaker@apple.com>. * wtf/FeatureDefines.h: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Tools: Original patch by Matt Baker <mattbaker@apple.com>. * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS. Canonical link: https://commits.webkit.org/217131@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-11-02 07:36:24 +00:00
#if !defined(ENABLE_INSPECTOR_TELEMETRY)
#define ENABLE_INSPECTOR_TELEMETRY 0
#endif
[LayoutFormattingContext] Initial commit. https://bugs.webkit.org/show_bug.cgi?id=184896 Reviewed by Antti Koivisto. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: This is the initial commit of the new layout component -class definitions only (and mostly public functions). See the header files (and Tools/LayoutReloaded project) for more information. // Top level layout. rootContainer = TreeBuilder::createLayoutTree(document); rootDisplayBox = new Display::Box(); rootDisplayBox->setSize(viewportSize); layoutContext = new LayoutContext(rootContainer, rootDisplayBox); layoutContext->layout(rootContainer); Driven by build time flag (currently off). Not testable yet. * Configurations/FeatureDefines.xcconfig: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * layout/BlockFormatting/BlockFormattingContext.cpp: Added. * layout/BlockFormatting/BlockFormattingContext.h: Added. * layout/BlockFormatting/BlockFormattingState.cpp: Added. * layout/BlockFormatting/BlockFormattingState.h: Added. * layout/BlockFormatting/BlockMarginCollapse.cpp: Added. * layout/BlockFormatting/BlockMarginCollapse.h: Added. * layout/DisplayTree/DisplayBox.cpp: Added. * layout/DisplayTree/DisplayBox.h: Added. * layout/FloatingContext.cpp: Added. * layout/FloatingContext.h: Added. * layout/FloatingState.cpp: Added. * layout/FloatingState.h: Added. * layout/FormattingContext.cpp: Added. * layout/FormattingContext.h: Added. * layout/FormattingState.cpp: Added. * layout/FormattingState.h: Added. * layout/InlineFormatting/InlineFormattingContext.cpp: Added. * layout/InlineFormatting/InlineFormattingContext.h: Added. * layout/InlineFormatting/InlineFormattingState.cpp: Added. * layout/InlineFormatting/InlineFormattingState.h: Added. * layout/LayoutCtx.cpp: Added. * layout/LayoutCtx.h: Added. * layout/LayoutTree/LayoutBlockContainer.cpp: Added. * layout/LayoutTree/LayoutBlockContainer.h: Added. * layout/LayoutTree/LayoutBox.cpp: Added. * layout/LayoutTree/LayoutBox.h: Added. * layout/LayoutTree/LayoutContainer.cpp: Added. * layout/LayoutTree/LayoutContainer.h: Added. * layout/LayoutTree/LayoutCtx.h: Added. * layout/LayoutTree/LayoutInlineBox.cpp: Added. * layout/LayoutTree/LayoutInlineBox.h: Added. * layout/LayoutTree/LayoutInlineContainer.cpp: Added. * layout/LayoutTree/LayoutInlineContainer.h: Added. Source/WebCore/PAL: * Configurations/FeatureDefines.xcconfig: Source/WebKit: * Configurations/FeatureDefines.xcconfig: Source/WebKitLegacy/mac: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/FeatureDefines.h: Tools: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Canonical link: https://commits.webkit.org/200405@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-04-23 23:08:47 +00:00
#if !defined(ENABLE_LAYOUT_FORMATTING_CONTEXT)
#define ENABLE_LAYOUT_FORMATTING_CONTEXT 0
#endif
[iOS] Upstream Letterpress effect https://bugs.webkit.org/show_bug.cgi?id=123932 Reviewed by Sam Weinig. Source/JavaScriptCore: Add feature define ENABLE_LETTERPRESS disabled by default. We only enable letterpress on iOS. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Test: platform/iphone-simulator/iphone/getComputedStyle-text-decoration-letterpress.html * Configurations/FeatureDefines.xcconfig: Add feature define ENABLE_LETTERPRESS disabled by default. We only enable letterpress on iOS. * css/CSSComputedStyleDeclaration.cpp: (WebCore::renderTextDecorationFlagsToCSSValue): Add support for CSS value -webkit-letterpress. * css/CSSParser.cpp: (WebCore::CSSParser::parseTextDecoration): Ditto. * css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::operator TextDecoration): Ditto. * css/CSSValueKeywords.in: Added CSS value -webkit-letterpress. * platform/graphics/GraphicsContext.h: * platform/graphics/mac/FontMac.mm: (WebCore::fillVectorWithHorizontalGlyphPositions): Added. (WebCore::shouldUseLetterpressEffect): Added. (WebCore::showLetterpressedGlyphsWithAdvances): Added. (WebCore::showGlyphsWithAdvances): Modified to call showLetterpressedGlyphsWithAdvances() to show a letterpressed glyph. I also included additional iOS-specific changes. (WebCore::Font::drawGlyphs): * rendering/TextPaintStyle.cpp: (WebCore::TextPaintStyle::TextPaintStyle): (WebCore::computeTextPaintStyle): Modified to compute letterpress effect style. (WebCore::updateGraphicsContext): Modified to apply/unapply letterpress effect drawing mode. * rendering/TextPaintStyle.h: * rendering/style/RenderStyleConstants.h: Source/WebKit/mac: Add feature define ENABLE_LETTERPRESS disabled by default. We only enable letterpress on iOS. * Configurations/FeatureDefines.xcconfig: Source/WebKit2: Add feature define ENABLE_LETTERPRESS disabled by default. We only enable letterpress on iOS. * Configurations/FeatureDefines.xcconfig: Source/WTF: Add feature define ENABLE_LETTERPRESS disabled by default. We only enable letterpress on iOS. * wtf/FeatureDefines.h: LayoutTests: * platform/iphone-simulator/iphone/getComputedStyle-text-decoration-letterpress-expected.txt: Added. * platform/iphone-simulator/iphone/getComputedStyle-text-decoration-letterpress.html: Added. * platform/iphone-simulator/iphone/resources/getComputedStyle-text-decoration-letterpress.js: Added. Canonical link: https://commits.webkit.org/142119@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-11-07 00:39:11 +00:00
#if !defined(ENABLE_LETTERPRESS)
#define ENABLE_LETTERPRESS 0
#endif
#if !defined(ENABLE_MATHML)
#define ENABLE_MATHML 1
#endif
#if !defined(ENABLE_MEDIA_CAPTURE)
#define ENABLE_MEDIA_CAPTURE 0
#endif
[Mac] Implement the media controls in JavaScript. https://bugs.webkit.org/show_bug.cgi?id=120895 Reviewed by Dean Jackson. Source/JavaScriptCore: Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Re-implement the existing MediaControls constellation of classes in JavaScript and CSS. This will allow different ports to configure their controls without dependencies on the layout requirements of any other port's controls. Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT: * Configurations/FeatureDefines.xcconfig: Add new source files to the project: * DerivedSources.cpp: * DerivedSources.make: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.vcxproj/WebCore.vcxproj.filters: * WebCore.xcodeproj/project.pbxproj: Add a new class MediaControlsHost which the script controls can use to communicate with the HTMLMediaElement without exposing private interfaces to web facing scripts: * Modules/mediacontrols/MediaControlsHost.cpp: Added. (WebCore::MediaControlsHost::automaticKeyword): Static method. (WebCore::MediaControlsHost::forcedOnlyKeyword): Ditto. (WebCore::MediaControlsHost::alwaysOnKeyword): Ditto. (WebCore::MediaControlsHost::create): Simple factory. (WebCore::MediaControlsHost::MediaControlsHost): Simple constructor. (WebCore::MediaControlsHost::~MediaControlsHost): Simple destructor. (WebCore::MediaControlsHost::sortedTrackListForMenu): Pass through to CaptionUserPreferences. (WebCore::MediaControlsHost::displayNameForTrack): Ditto. (WebCore::MediaControlsHost::captionMenuOffItem): Pass through to TextTrack. (WebCore::MediaControlsHost::captionMenuAutomaticItem): Ditto. (WebCore::MediaControlsHost::captionDisplayMode): Pass through to CaptionUserPreferences. (WebCore::MediaControlsHost::setSelectedTextTrack): Pass through to HTMLMediaElement. (WebCore::MediaControlsHost::textTrackContainer): Lazily create a MediaControlTextTrackContainerElement. (WebCore::MediaControlsHost::updateTextTrackContainer): Pass through to MediaControlTextTrackContainerElement. * Modules/mediacontrols/MediaControlsHost.h: Added. * Modules/mediacontrols/MediaControlsHost.idl: Added. * Modules/mediacontrols/mediaControlsApple.css: Added. Add convenience methods for adding a MediaControlsHost to a VM. * bindings/js/ScriptObject.cpp: (WebCore::ScriptGlobalObject::set): * bindings/js/ScriptObject.h: Add the new controller .js implementation: * Modules/mediacontrols/mediaControlsApple.js: Added. (createControls): Global method to create a new Controller object. (Controller): Constructor. Create and configure the default set of controls. (Controller.prototype.addListeners): Adds event listeners to the this.video object. (Controller.prototype.removeListeners): Removes listeners from same. (Controller.prototype.handleEvent): Makes Controller an EventHandler, making registration and deregistration simpler. (Controller.prototype.createBase): Creates the base controls object and the text track container. (Controller.prototype.createControls): Creates the controls panel object and controller UI. (Controller.prototype.setControlsType): Switches between Full Screen and Inline style of controller. (Controller.prototype.disconnectControls): Disconnects all UI elements from the DOM. (Controller.prototype.configureInlineControls): Configures existing controls for Inline mode. (Controller.prototype.configureFullScreenControls): Ditto, for Full Screen Mode. Add listeners for HTMLMediaElement events: (Controller.prototype.onloadstart): Update the status display. (Controller.prototype.onerror): Ditto. (Controller.prototype.onabort): Ditto. (Controller.prototype.onsuspend): Ditto. (Controller.prototype.onprogress): Ditto. (Controller.prototype.onstalled): Ditto. (Controller.prototype.onwaiting): Ditto. (Controller.prototype.onreadystatechange): Ditto. (Controller.prototype.ontimeupdate): Update the timeline and time displays. (Controller.prototype.ondurationchange): Ditto. (Controller.prototype.onplaying): Update the play button. (Controller.prototype.onplay): Ditto. (Controller.prototype.onpause): Ditto. (Controller.prototype.onratechange): Ditto. (Controller.prototype.onvolumechange): Update the volume and mute UI. (Controller.prototype.ontexttrackchange): Update the text track container and captions button. (Controller.prototype.ontexttrackadd): Ditto. (Controller.prototype.ontexttrackremove): Ditto. (Controller.prototype.ontexttrackcuechange): Ditto. (Controller.prototype.onfullscreenchange): Reconfigure the controls. Add listeners for UI element events: (Controller.prototype.onwrappermousemove): Show the controls and start the hide timer. (Controller.prototype.onwrappermouseout): Hide the controls and stop the hide timer. (Controller.prototype.onrewindbuttonclicked): Rewind. (Controller.prototype.onplaybuttonclicked): Toggle pause. (Controller.prototype.ontimelinechange): Update the currentTime. (Controller.prototype.ontimelinedown): (Controller.prototype.ontimelineup): (Controller.prototype.ontimelinemouseover): Show the thumbnail view if available. (Controller.prototype.ontimelinemouseout): Hide same. (Controller.prototype.ontimelinemousemove): Move the thumbnail view. (Controller.prototype.onmutebuttonclicked): Mute audio. (Controller.prototype.onminbuttonclicked): Increase volume to max. (Controller.prototype.onmaxbuttonclicked): Decrease volume to min. (Controller.prototype.onvolumesliderchange): Update the current volume. (Controller.prototype.oncaptionbuttonclicked): Show or hide the track menu. (Controller.prototype.onfullscreenbuttonclicked): Enter or exit fullscreen. (Controller.prototype.oncontrolschange): Show or hide the controls panel. (Controller.prototype.onseekbackmousedown): Start seeking and enable the seek timer. (Controller.prototype.onseekbackmouseup): Stop seeking and disable the seek timer. (Controller.prototype.onseekforwardmousedown): Start seekind and enable the seek timer. (Controller.prototype.onseekforwardmouseup): Stop seekind and disable the seek timer. Add action methods (which are mostly self explanatory): (Controller.prototype.updateDuration): (Controller.prototype.updatePlaying): (Controller.prototype.showControls): (Controller.prototype.hideControls): (Controller.prototype.removeControls): (Controller.prototype.addControls): (Controller.prototype.updateTime): (Controller.prototype.updateReadyState): (Controller.prototype.setStatusHidden): (Controller.prototype.updateThumbnailTrack): (Controller.prototype.updateCaptionButton): (Controller.prototype.updateCaptionContainer): (Controller.prototype.buildCaptionMenu): (Controller.prototype.captionItemSelected): (Controller.prototype.destroyCaptionMenu): (Controller.prototype.updateVolume): Add utility methods: (Controller.prototype.isFullScreen): (Controller.prototype.canPlay): (Controller.prototype.nextRate): (Controller.prototype.seekBackFaster): (Controller.prototype.seekForwardFaster): (Controller.prototype.formatTime): (Controller.prototype.trackHasThumbnails): Add the stylesheet for the javascript controls (which are mostly) copied from the (deleted) mediaControlsQuickTime.css and fullscreenQuickTime.css files: * Modules/mediacontrols/mediaControlsApple.css: Added. * css/fullscreenQuickTime.css: Removed. * css/mediaControlsQuickTime.css: Removed. Inject new stylesheets into UA sheets: * css/CSSDefaultStyleSheets.cpp: (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement): Use the new javascript controls rather than MediaControls: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::childShouldCreateRenderer): Use the javascript controls if available. (WebCore::HTMLMediaElement::updateTextTrackDisplay): Ditto. (WebCore::HTMLMediaElement::mediaControls): Ditto. (WebCore::HTMLMediaElement::hasMediaControls): Ditto. (WebCore::HTMLMediaElement::createMediaControls): Ditto. (WebCore::HTMLMediaElement::configureMediaControls): Ditto. (WebCore::HTMLMediaElement::configureTextTrackDisplay): Ditto. (WebCore::HTMLMediaElement::ensureIsolatedWorld): Create a new VM for the controls script. (WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript): Inject the media controls script into the VM. (WebCore::HTMLMediaElement::didAddUserAgentShadowRoot): Inject the MediaControlsHost into the VM and call the scripts global factory function. * html/HTMLMediaElement.h: Remove most of the drawing code from RenderThemeMac and RenderThemeWin and add accessors for the new .js and .css file data: * rendering/RenderTheme.h: (WebCore::RenderTheme::mediaControlsStyleSheet): Empty virtual method. (WebCore::RenderTheme::mediaControlsScript): Ditto. * rendering/RenderThemeMac.h: * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::mediaControlsStyleSheet): Add accessor for mediaControlsApple.css. (WebCore::RenderThemeMac::mediaControlsScript): Add accessor for mediaControlsApple.js. (WebCore::RenderThemeMac::adjustSliderThumbSize): Remove the call to adjustMediaSliderThumbSize. * rendering/RenderThemeWin.cpp: (WebCore::RenderThemeWin::mediaControlsStyleSheet): (WebCore::RenderThemeWin::mediaControlsScript): * rendering/RenderThemeWin.h: Source/WebKit/mac: Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT. * Configurations/FeatureDefines.xcconfig: Source/WebKit2: Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT. * Configurations/FeatureDefines.xcconfig: Source/WTF: Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT. * wtf/FeatureDefines.h: LayoutTests: Rebaseline changed tests and add new (failing) tests to TestExpectations. * media/audio-delete-while-slider-thumb-clicked.html: * platform/mac/TestExpectations: * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.png: * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.txt: * platform/mac/fast/layers/video-layer-expected.png: * platform/mac/fast/layers/video-layer-expected.txt: * platform/mac/fullscreen/video-controls-override-expected.txt: Added. * platform/mac/media/audio-controls-rendering-expected.png: * platform/mac/media/audio-controls-rendering-expected.txt: * platform/mac/media/controls-after-reload-expected.png: * platform/mac/media/controls-after-reload-expected.txt: * platform/mac/media/controls-strict-expected.png: * platform/mac/media/controls-strict-expected.txt: * platform/mac/media/controls-styling-strict-expected.png: * platform/mac/media/controls-styling-strict-expected.txt: * platform/mac/media/controls-without-preload-expected.png: * platform/mac/media/controls-without-preload-expected.txt: * platform/mac/media/media-controls-clone-expected.png: * platform/mac/media/media-controls-clone-expected.txt: * webarchive/loading/video-in-webarchive-expected.txt: Canonical link: https://commits.webkit.org/140045@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-09-27 16:05:05 +00:00
#if !defined(ENABLE_MEDIA_CONTROLS_SCRIPT)
#define ENABLE_MEDIA_CONTROLS_SCRIPT 0
#endif
#if !defined(ENABLE_MEDIA_SOURCE)
#define ENABLE_MEDIA_SOURCE 0
#endif
#if !defined(ENABLE_MEDIA_STATISTICS)
#define ENABLE_MEDIA_STATISTICS 0
#endif
#if !defined(ENABLE_MEDIA_STREAM)
#define ENABLE_MEDIA_STREAM 0
#endif
#if !defined(ENABLE_MHTML)
#define ENABLE_MHTML 0
#endif
Remove unused JS and CSS files of media controls https://bugs.webkit.org/show_bug.cgi?id=214955 <rdar://problem/66604040> Reviewed by Eric Carlson. Source/WebCore: Cocoa platforms are already using modern media controls so there's no reason to keep the old media controls resources/logic around any longer. It just wastes space. The non-iOS Apple controls must be kept though as they are still used on Windows. * Modules/mediacontrols/assets-apple-iOS.svg: Removed. * Modules/mediacontrols/mediaControlsiOS.css: Removed. * Modules/mediacontrols/mediaControlsiOS.js: Removed. * rendering/RenderTheme.h: (WebCore::RenderTheme::modernMediaControlsStyleSheet): Deleted. * rendering/RenderThemeCocoa.h: * rendering/RenderThemeCocoa.mm: (WebCore::RenderThemeCocoa::purgeCaches): Added. (WebCore::RenderThemeCocoa::mediaControlsStyleSheet): Added. (WebCore::RenderThemeCocoa::mediaControlsScripts): Added. (WebCore::RenderThemeCocoa::mediaControlsBase64StringForIconNameAndType): Added. * rendering/RenderThemeIOS.h: * rendering/RenderThemeIOS.mm: (WebCore::RenderThemeIOS::mediaControlsStyleSheet): Deleted. (WebCore::RenderThemeIOS::modernMediaControlsStyleSheet): Deleted. (WebCore::RenderThemeIOS::purgeCaches): Deleted. (WebCore::RenderThemeIOS::mediaControlsScripts): Deleted. (WebCore::RenderThemeIOS::mediaControlsBase64StringForIconNameAndType): Deleted. * rendering/RenderThemeMac.h: * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::mediaControlsStyleSheet): Deleted. (WebCore::RenderThemeMac::modernMediaControlsStyleSheet): Deleted. (WebCore::RenderThemeMac::purgeCaches): Deleted. (WebCore::RenderThemeMac::mediaControlsScripts): Deleted. (WebCore::RenderThemeMac::mediaControlsBase64StringForIconNameAndType): Deleted. Move media controls functions to `RenderThemeCocoa` since they are identical. * Modules/mediacontrols/MediaControlsHost.idl: * Modules/mediacontrols/MediaControlsHost.h: * Modules/mediacontrols/MediaControlsHost.cpp: (WebCore::MediaControlsHost::shadowRootCSSText): * css/mediaControls.css: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript): (WebCore::HTMLMediaElement::updateMediaControlsAfterPresentationModeChange): * html/MediaDocument.cpp: (WebCore::MediaDocumentParser::createDocumentStructure): (WebCore::MediaDocument::defaultEventHandler): * style/UserAgentStyle.cpp: (WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement): * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setModernMediaControlsEnabled): Deleted. (WebCore::RuntimeEnabledFeatures::modernMediaControlsEnabled const): Deleted. Replace `ModernMediaControlsEnabled` setting with `ENABLE_MODERN_MEDIA_CONTROLS` build flag. * html/track/TextTrackCueGeneric.cpp: Update the static `DEFAULTCAPTIONFONTSIZE` value for modern media controls. * Modules/modern-media-controls/controls/macos-fullscreen-media-controls.css: * Modules/modern-media-controls/controls/text-tracks.css: Update comments. * css/mediaControlsiOS.css: Removed. This file was never included anywhere. * platform/audio/PlatformMediaSessionManager.h: (WebCore::PlatformMediaSessionManager::resetHaveEverRegisteredAsNowPlayingApplicationForTesting): added. * platform/audio/cocoa/MediaSessionManagerCocoa.mm: (WebCore::MediaSessionManagerCocoa::resetHaveEverRegisteredAsNowPlayingApplicationForTesting): added. * testing/Internals.cpp: (WebCore::Internals::resetToConsistentState): Drive-by: Reset `haveEverRegisteredAsNowPlayingApplication` to a consistent state between tests. This is expected by `LayoutTests/media/now-playing-status-without-media.html`. * bindings/js/WebCoreBuiltinNames.h: * WebCore.xcodeproj/project.pbxproj: Source/WebKit: Cocoa platforms are already using modern media controls so there's no reason to keep the old media controls resources/logic around any longer. It just wastes space. The non-iOS Apple controls must be kept though as they are still used on Windows. * UIProcess/API/C/WKPreferencesRefPrivate.h: * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetModernMediaControlsEnabled): Deleted. (WKPreferencesGetModernMediaControlsEnabled): Deleted. Replace `ModernMediaControlsEnabled` setting with `ENABLE_MODERN_MEDIA_CONTROLS` build flag. * UIProcess/mac/WKFullScreenWindowController.mm: Update the static `minVideoWidth` value for modern media controls. Source/WebKitLegacy/mac: Cocoa platforms are already using modern media controls so there's no reason to keep the old media controls resources/logic around any longer. It just wastes space. The non-iOS Apple controls must be kept though as they are still used on Windows. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferencesPrivate.h: * WebView/WebPreferences.mm: (-[WebPreferences modernMediaControlsEnabled]): Deleted. (-[WebPreferences setModernMediaControlsEnabled:]): Deleted. Replace `ModernMediaControlsEnabled` setting with `ENABLE_MODERN_MEDIA_CONTROLS` build flag. Source/WebKitLegacy/win: Cocoa platforms are already using modern media controls so there's no reason to keep the old media controls resources/logic around any longer. It just wastes space. The non-iOS Apple controls must be kept though as they are still used on Windows. * Interfaces/IWebPreferencesPrivate.idl: * WebPreferenceKeysPrivate.h: * WebPreferences.h: * WebPreferences.cpp: (WebPreferences::setModernMediaControlsEnabled): Deleted. (WebPreferences::modernMediaControlsEnabled): Deleted. * WebView.cpp: (WebView::notifyPreferencesChanged): Replace `ModernMediaControlsEnabled` setting with `ENABLE_MODERN_MEDIA_CONTROLS` build flag. Source/WTF: Cocoa platforms are already using modern media controls so there's no reason to keep the old media controls resources/logic around any longer. It just wastes space. The non-iOS Apple controls must be kept though as they are still used on Windows. * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: * Scripts/Preferences/WebPreferences.yaml: Replace `ModernMediaControlsEnabled` setting with `ENABLE_MODERN_MEDIA_CONTROLS` build flag. Tools: Cocoa platforms are already using modern media controls so there's no reason to keep the old media controls resources/logic around any longer. It just wastes space. The non-iOS Apple controls must be kept though as they are still used on Windows. * WebKitTestRunner/gtk/TestControllerGtk.cpp: (WTR::TestController::platformSpecificFeatureDefaultsForTest const): * WebKitTestRunner/wpe/TestControllerWPE.cpp: (WTR::TestController::platformSpecificFeatureDefaultsForTest const): Replace `ModernMediaControlsEnabled` setting with `ENABLE_MODERN_MEDIA_CONTROLS` build flag. LayoutTests: Remove tests (and their expectations) that used `ModernMediaControlsEnabled=false`. * accessibility/ios-simulator/has-touch-event-listener-with-shadow.html: * accessibility/ios-simulator/media-with-aria-label.html: Removed. * accessibility/ios-simulator/media-with-aria-label-expected.txt: Removed. * accessibility/mac/media-emits-object-replacement.html: Removed. * accessibility/mac/media-emits-object-replacement-expected.txt: Removed. * accessibility/mac/video-tag-hit-test.html: Removed. * accessibility/mac/video-tag-hit-test-expected.txt: Removed. * accessibility/mac/video-volume-slider-accessibility.html: Removed. * accessibility/mac/video-volume-slider-accessibility-expected.txt: Removed. * accessibility/media-element.html: Removed. * platform/gtk/accessibility/media-element-expected.txt: Removed. * platform/mac/accessibility/media-element-expected.txt: Removed. * platform/wincairo/accessibility/media-element-expected.txt: Removed. * accessibility/media-emits-object-replacement.html: Removed. * accessibility/media-emits-object-replacement-expected.txt: Removed. * platform/glib/accessibility/media-emits-object-replacement-expected.txt: Removed. * accessibility/media-with-aria-label.html: Removed. * accessibility/media-with-aria-label-expected.txt: Removed. * compositing/video/poster.html: * compositing/video/poster-expected.html: * fast/hidpi/video-controls-in-hidpi.html: Removed. * platform/gtk/fast/hidpi/video-controls-in-hidpi-expected.txt: Removed. * platform/ios/fast/hidpi/video-controls-in-hidpi-expected.txt: Removed. * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.txt: Removed. * platform/win/fast/hidpi/video-controls-in-hidpi-expected.txt: Removed. * platform/wincairo/fast/hidpi/video-controls-in-hidpi-expected.txt: Removed. * platform/wpe/fast/hidpi/video-controls-in-hidpi-expected.txt: Removed. * fast/layers/video-layer.html: Removed. * platform/gtk/fast/layers/video-layer-expected.png: Removed. * platform/gtk/fast/layers/video-layer-expected.txt: Removed. * platform/ios/fast/layers/video-layer-expected.txt: Removed. * platform/mac/fast/layers/video-layer-expected.png: Removed. * platform/mac/fast/layers/video-layer-expected.txt: Removed. * platform/win/fast/layers/video-layer-expected.txt: Removed. * platform/wincairo/fast/layers/video-layer-expected.txt: Removed. * platform/wpe/fast/layers/video-layer-expected.txt: Removed. * fast/mediastream/MediaStream-video-element-video-tracks-disabled.html: * fullscreen/video-controls-drag.html: Removed. * fullscreen/video-controls-drag-expected.txt: Removed. * fullscreen/video-controls-override.html: Removed. * fullscreen/video-controls-override-expected.txt: Removed. * fullscreen/video-controls-rtl.html: Removed. * fullscreen/video-controls-rtl-expected.txt: Removed. * fullscreen/video-controls-timeline.html: Removed. * fullscreen/video-controls-timeline-expected.txt: Removed. * http/tests/media/hls/hls-accessiblity-describes-video-menu.html: Removed. * http/tests/media/hls/hls-accessiblity-describes-video-menu-expected.txt: Removed. * http/tests/media/hls/hls-audio-tracks-has-audio.html: * http/tests/media/hls/hls-audio-tracks-locale-selection.html: * http/tests/media/hls/hls-audio-tracks.html: * http/tests/media/hls/hls-progress.html: * http/tests/media/hls/hls-webvtt-tracks.html: * http/tests/media/hls/range-request.html: * http/tests/media/hls/video-controls-live-stream.html: Removed. * platform/gtk/http/tests/media/hls/video-controls-live-stream-expected.txt: Removed. * platform/mac/http/tests/media/hls/video-controls-live-stream-expected.txt: Removed. * http/tests/media/hls/video-cookie.html: * http/tests/media/hls/video-duration-accessibility.html: Removed. * http/tests/media/hls/video-duration-accessibility-expected.txt: Removed. * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/default-src-object-data-url-allowed.html: * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/default-src-object-data-url-blocked.html: * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/default-src-object-data-url-blocked2.html: * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/video-controls-allowed.html: * inspector/css/pseudo-element-matches.html: * inspector/css/pseudo-element-matches-expected.txt: * media/accessibility-closed-captions-has-aria-owns.html: Removed. * media/accessibility-closed-captions-has-aria-owns-expected.txt: Removed. * media/adopt-node-crash.html: * media/airplay-allows-buffering.html: * media/airplay-autoplay.html: * media/audio-as-video-fullscreen.html: Removed. * media/audio-as-video-fullscreen-expected.txt: Removed. * media/audio-controls-do-not-fade-out.html: Removed. * media/audio-controls-do-not-fade-out-expected.txt: Removed. * media/audio-controls-rendering.html: Removed. * platform/gtk/media/audio-controls-rendering-expected.txt: Removed. * platform/ios/media/audio-controls-rendering-expected.txt: Removed. * platform/mac/media/audio-controls-rendering-expected.txt: Removed. * platform/win/media/audio-controls-rendering-expected.txt: Removed. * platform/wincairo/media/audio-controls-rendering-expected.txt: Removed. * media/audio-controls-timeline-in-media-document.html: Removed. * media/audio-controls-timeline-in-media-document-expected.txt: Removed. * media/audio-delete-while-slider-thumb-clicked.html: Removed. * media/audio-delete-while-slider-thumb-clicked-expected.txt: Removed. * media/audio-delete-while-step-button-clicked.html: Removed. * media/audio-delete-while-step-button-clicked-expected.txt: Removed. * media/audio-repaint.html: Removed. * platform/gtk/media/audio-repaint-expected.txt: Removed. * platform/ios/media/audio-repaint-expected.txt: Removed. * platform/mac/media/audio-repaint-expected.txt: Removed. * platform/wincairo/media/audio-repaint-expected.txt: Removed. * media/click-placeholder-not-pausing.html: Removed. * media/click-placeholder-not-pausing-expected.txt: Removed. * media/click-volume-bar-not-pausing.html: Removed. * media/click-volume-bar-not-pausing-expected.txt: Removed. * media/controls-after-reload.html: Removed. * platform/gtk/media/controls-after-reload-expected.txt: Removed. * platform/mac-catalina/media/controls-after-reload-expected.txt: Removed. * platform/mac/media/controls-after-reload-expected.txt: Removed. * platform/win/media/controls-after-reload-expected.txt: Removed. * platform/wincairo/media/controls-after-reload-expected.txt: Removed. * media/controls-drag-timebar.html: Removed. * media/controls-drag-timebar-expected.txt: Removed. * media/controls-right-click-on-timebar.html: Removed. * media/controls-right-click-on-timebar-expected.txt: Removed. * media/controls-strict.html: Removed. * platform/gtk/media/controls-strict-expected.txt: Removed. * platform/ios/media/controls-strict-expected.txt: Removed. * platform/mac/media/controls-strict-expected.txt: Removed. * platform/mac/media/controls-strict-mode-expected.txt: Removed. * platform/win/media/controls-strict-expected.txt: Removed. * platform/wincairo/media/controls-strict-expected.txt: Removed. * media/controls-styling.html: Removed. * platform/gtk/media/controls-styling-expected.txt: Removed. * platform/mac/media/controls-styling-expected.txt: Removed. * platform/win/media/controls-styling-expected.txt: Removed. * platform/wincairo/media/controls-styling-expected.txt: Removed. * media/controls-styling-strict.html: Removed. * platform/gtk/media/controls-styling-strict-expected.txt: Removed. * platform/mac/media/controls-styling-strict-expected.txt: Removed. * platform/wincairo/media/controls-styling-strict-expected.txt: Removed. * media/controls-without-preload.html: Removed. * platform/gtk/media/controls-without-preload-expected.txt: Removed. * platform/ios/media/controls-without-preload-expected.txt: Removed. * platform/mac/media/controls-without-preload-expected.txt: Removed. * platform/win/media/controls-without-preload-expected.txt: Removed. * platform/wincairo/media/controls-without-preload-expected.txt: Removed. * media/controls/airplay-controls.html: Removed. * media/controls/airplay-controls-expected.txt: Removed. * media/controls/airplay-picker.html: Removed. * media/controls/airplay-picker-expected.txt: Removed. * media/controls/basic.html: Removed. * media/controls/basic-expected.txt: Removed. * media/controls/controls-test-helpers.js: Removed. * media/controls/default-size-should-show-scrubber.html: Removed. * media/controls/default-size-should-show-scrubber-expected.txt: Removed. * media/controls/elementOrder.html: Removed. * media/controls/elementOrder-expected.txt: Removed. * media/controls/forced-tracks-only.html: Removed. * media/controls/forced-tracks-only-expected.txt: Removed. * media/controls/fullscreen-button-inline-layout.html: Removed. * media/controls/fullscreen-button-inline-layout-expected.txt: Removed. * media/controls/inline-elements-dropoff-order.html: Removed. * media/controls/inline-elements-dropoff-order-expected.txt: Removed. * media/controls/picture-in-picture.html: Removed. * media/controls/picture-in-picture-expected.txt: Removed. * media/controls/pip-placeholder-without-video-controls.html: Removed. * media/controls/pip-placeholder-without-video-controls-expected.txt: Removed. * media/controls/showControlsButton.html: Removed. * media/controls/showControlsButton-expected.txt: Removed. * media/controls/statusDisplay.html: Removed. * media/controls/statusDisplay-expected.txt: Removed. * media/controls/statusDisplayBad.html: Removed. * media/controls/statusDisplayBad-expected.txt: Removed. * media/controls/track-menu.html: Removed. * media/controls/track-menu-expected.txt: Removed. * media/in-band-tracks.js: (seeked): Deleted. (testTextTrackMode): Deleted. (testCueStyle.seeked): Deleted. (testCueStyle.canplaythrough): Deleted. (testCueStyle): Deleted. * media/mac/controls-panel-not-clipped-out.html: Removed. * media/mac/controls-panel-not-clipped-out-expected.html: Removed. * media/media-captions-no-controls.html: * media/media-captions-no-controls-expected.txt: * media/media-controller-drag-crash.html: Removed. * media/media-controller-drag-crash-expected.txt: Removed. * media/media-controls-accessibility.html: Removed. * media/media-controls-accessibility-expected.txt: Removed. * media/media-controls-cancel-events.html: Removed. * media/media-controls-cancel-events-expected.txt: Removed. * media/media-controls-clone.html: Removed. * platform/gtk/media/media-controls-clone-expected.txt: Removed. * platform/ios/media/media-controls-clone-expected.txt: Removed. * platform/mac/media/media-controls-clone-expected.txt: Removed. * platform/wincairo/media/media-controls-clone-expected.txt: Removed. * media/media-controls-drag-timeline-set-controls-property.html: Removed. * media/media-controls-drag-timeline-set-controls-property-expected.txt: Removed. * media/media-controls-invalid-url.html: Removed. * media/media-controls-invalid-url-expected.txt: Removed. * platform/win/media/media-controls-invalid-url-expected.txt: Removed. * media/media-controls-play-button-updates.html: Removed. * platform/gtk/media/media-controls-play-button-updates-expected.png: Removed. * platform/gtk/media/media-controls-play-button-updates-expected.txt: Removed. * media/media-controls-play-button-updates-expected.txt: Removed. * media/media-controls-play-button-updates-expected.png: Removed. * media/media-controls-timeline-updates.html: Removed. * media/media-controls-timeline-updates-expected.txt: Removed. * media/media-controls-timeline-updates-after-playing.html: Removed. * media/media-controls-timeline-updates-after-playing-expected.txt: Removed. * media/media-controls-timeline-updates-when-hovered.html: Removed. * media/media-controls-timeline-updates-when-hovered-expected.txt: Removed. * media/media-controls.js: Removed. * media/media-document-audio-controls-visible.html: Removed. * media/media-document-audio-controls-visible-expected.txt: Removed. * media/media-document-audio-repaint.html: Removed. * platform/gtk/media/media-document-audio-repaint-expected.txt: Removed. * platform/mac/media/media-document-audio-repaint-expected.txt: Removed. * media/media-document-audio-repaint-expected.txt: Removed. * media/media-fullscreen-loop-inline.html: * media/media-fullscreen-pause-inline.html: * media/media-fullscreen-return-to-inline.html: * media/media-source/only-bcp47-language-tags-accepted-as-valid.html: * media/media-volume-slider-rendered-below.html: Removed. * media/media-volume-slider-rendered-below-expected.txt: Removed. * media/media-volume-slider-rendered-normal.html: Removed. * media/media-volume-slider-rendered-normal-expected.txt: Removed. * media/nodesFromRect-shadowContent.html: Removed. * media/nodesFromRect-shadowContent-expected.txt: Removed. * media/progress-events-generated-correctly.html: * media/require-user-gesture-to-load-video.html: Removed. * media/require-user-gesture-to-load-video-expected.txt: Removed. * media/tab-focus-inside-media-elements.html: Removed. * media/tab-focus-inside-media-elements-expected.txt: Removed. * media/track/in-band/track-in-band-kate-ogg-mode.html: Removed. * media/track/in-band/track-in-band-kate-ogg-mode-expected.txt: Removed. * media/track/in-band/track-in-band-kate-ogg-style.html: Removed. * media/track/in-band/track-in-band-kate-ogg-style-expected.txt: Removed. * media/track/in-band/track-in-band-srt-mkv-mode.html: Removed. * media/track/in-band/track-in-band-srt-mkv-mode-expected.txt: Removed. * media/track/in-band/track-in-band-srt-mkv-style.html: Removed. * media/track/in-band/track-in-band-srt-mkv-style-expected.txt: Removed. * media/track/regions-webvtt/vtt-region-display.html: Removed. * media/track/regions-webvtt/vtt-region-display-expected.txt: Removed. * media/track/regions-webvtt/vtt-region-dom-layout.html: Removed. * media/track/regions-webvtt/vtt-region-dom-layout-expected.txt: Removed. * media/track/texttrackcue/texttrackcue-addcue.html: * media/track/texttrackcue/texttrackcue-displaycue.html: Removed. * media/track/texttrackcue/texttrackcue-displaycue-expected.txt: Removed. * media/track/track-automatic-subtitles.html: * media/track/track-css-all-cues.html: Removed. * media/track/track-css-all-cues-expected.txt: Removed. * media/track/track-css-cue-lifetime.html: Removed. * media/track/track-css-cue-lifetime-expected.txt: Removed. * media/track/track-css-matching.html: Removed. * media/track/track-css-matching-expected.txt: Removed. * media/track/track-css-matching-default.html: Removed. * media/track/track-css-matching-default-expected.txt: Removed. * media/track/track-css-matching-lang.html: Removed. * media/track/track-css-matching-lang-expected.txt: Removed. * media/track/track-css-matching-timestamps.html: Removed. * media/track/track-css-matching-timestamps-expected.txt: Removed. * media/track/track-css-property-allowlist-expected.txt: Removed. * media/track/track-css-property-allowlist.html: Removed. * media/track/track-css-stroke-cues.html: Removed. * media/track/track-css-stroke-cues-expected.txt: Removed. * media/track/track-css-user-override.html: Removed. * media/track/track-css-user-override-expected.txt: Removed. * media/track/track-css-visible-stroke.html: * media/track/track-cue-container-rendering-position.html: Removed. * media/track/track-cue-container-rendering-position-expected.txt: Removed. * media/track/track-cue-css.html: * media/track/track-cue-css-expected.html: * media/track/track-cue-left-align.html: * media/track/track-cue-left-align-expected-mismatch.html: * media/track/track-cue-line-position.html: * media/track/track-cue-line-position-expected-mismatch.html: * media/track/track-cue-mutable-fragment.html: * media/track/track-cue-mutable-text.html: Removed. * media/track/track-cue-mutable-text-expected.txt: Removed. * media/track/track-cue-nothing-to-render.html: Removed. * media/track/track-cue-nothing-to-render-expected.txt: Removed. * media/track/track-cue-overlap-snap-to-lines-not-set.html: Removed. * media/track/track-cue-overlap-snap-to-lines-not-set-expected.txt: Removed. * media/track/track-cue-rendering.html: Removed. * media/track/track-cue-rendering-expected.txt: Removed. * media/track/track-cue-rendering-horizontal.html: Removed. * platform/gtk/media/track/track-cue-rendering-horizontal-expected.png: Removed. * platform/gtk/media/track/track-cue-rendering-horizontal-expected.txt: Removed. * platform/ios/media/track/track-cue-rendering-horizontal-expected.txt: Removed. * platform/mac/media/track/track-cue-rendering-horizontal-expected.png: Removed. * platform/mac/media/track/track-cue-rendering-horizontal-expected.txt: Removed. * platform/win/media/track/track-cue-rendering-horizontal-expected.txt: Removed. * platform/wincairo/media/track/track-cue-rendering-horizontal-expected.txt: Removed. * media/track/track-cue-rendering-mode-changed.html: Removed. * media/track/track-cue-rendering-mode-changed-expected.txt: Removed. * media/track/track-cue-rendering-on-resize.html: Removed. * media/track/track-cue-rendering-on-resize-expected.txt: Removed. * media/track/track-cue-rendering-rtl.html: Removed. * media/track/track-cue-rendering-rtl-expected.txt: Removed. * media/track/track-cue-rendering-snap-to-lines-not-set.html: Removed. * media/track/track-cue-rendering-snap-to-lines-not-set-expected.txt: Removed. * media/track/track-cue-rendering-tree-is-removed-properly.html: Removed. * media/track/track-cue-rendering-tree-is-removed-properly-expected.txt: Removed. * media/track/track-cue-rendering-vertical.html: Removed. * platform/gtk/media/track/track-cue-rendering-vertical-expected.png: Removed. * platform/gtk/media/track/track-cue-rendering-vertical-expected.txt: Removed. * platform/ios/media/track/track-cue-rendering-vertical-expected.txt: Removed. * platform/mac/media/track/track-cue-rendering-vertical-expected.txt: Removed. * platform/wincairo/media/track/track-cue-rendering-vertical-expected.txt: Removed. * media/track/track-cue-rendering-with-padding.html: Removed. * media/track/track-cue-rendering-with-padding-expected.txt: Removed. * media/track/track-cues-cuechange.html: * media/track/track-cues-enter-exit.html: * media/track/track-forced-subtitles-in-band.html: * media/track/track-forced-subtitles-in-band-expected.txt: * media/track/track-in-band-duplicate-tracks-when-source-changes.html: * media/track/track-in-band-legacy-api.html: * media/track/track-in-band-legacy-api-expected.txt: * media/track/track-in-band-metadata-display-order.html: Removed. * media/track/track-in-band-metadata-display-order-expected.txt: Removed. * media/track/track-in-band-mode.html: * media/track/track-in-band-mode-expected.txt: * media/track/track-in-band-style.html: Removed. * media/track/track-in-band-style-expected.txt: Removed. * media/track/track-in-band-subtitles-too-large.html: Removed. * media/track/track-in-band-subtitles-too-large-expected.txt: Removed. * media/track/track-kind.html: * media/track/track-kind-expected.txt: * media/track/track-legacyapi-with-automatic-mode.html: * media/track/track-legacyapi-with-automatic-mode-expected.txt: * media/track/track-long-word-container-sizing.html: Removed. * media/track/track-long-word-container-sizing-expected.txt: Removed. * media/track/track-manual-mode.html: * media/track/track-manual-mode-expected.txt: * media/track/track-user-preferences.html: Removed. * media/track/track-user-preferences-expected.txt: Removed. * media/track/track-user-stylesheet.html: * media/track/track-user-stylesheet-expected.txt: * media/trackmenu-test.js: Removed. * media/video-click-dblckick-standalone.html: Removed. * media/video-click-dblckick-standalone-expected.txt: Removed. * media/video-controls-audiotracks-trackmenu.html: Removed. * media/video-controls-audiotracks-trackmenu-expected.txt: Removed. * media/video-controls-captions.html: Removed. * media/video-controls-captions-expected.txt: Removed. * media/video-controls-captions-trackmenu.html: Removed. * platform/gtk/media/video-controls-captions-trackmenu-expected.txt: Removed. * platform/ios/media/video-controls-captions-trackmenu-expected.txt: Removed. * platform/mac/media/video-controls-captions-trackmenu-expected.txt: Removed. * platform/wincairo/media/video-controls-captions-trackmenu-expected.txt: Removed. * media/video-controls-captions-trackmenu-hide-on-click.html: Removed. * platform/gtk/media/video-controls-captions-trackmenu-hide-on-click-expected.txt: Removed. * platform/ios/media/video-controls-captions-trackmenu-hide-on-click-expected.txt: Removed. * platform/mac/media/video-controls-captions-trackmenu-hide-on-click-expected.txt: Removed. * platform/wincairo/media/video-controls-captions-trackmenu-hide-on-click-expected.txt: Removed. * media/video-controls-captions-trackmenu-hide-on-click-outside.html: Removed. * media/video-controls-captions-trackmenu-hide-on-click-outside-expected.txt: Removed. * media/video-controls-captions-trackmenu-includes-enabled-track.html: Removed. * media/video-controls-captions-trackmenu-includes-enabled-track-expected.txt: Removed. * media/video-controls-captions-trackmenu-localized.html: Removed. * platform/gtk/media/video-controls-captions-trackmenu-localized-expected.txt: Removed. * platform/ios/media/video-controls-captions-trackmenu-localized-expected.txt: Removed. * platform/mac/media/video-controls-captions-trackmenu-localized-expected.txt: Removed. * platform/wincairo/media/video-controls-captions-trackmenu-localized-expected.txt: Removed. * media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles.html: Removed. * media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles-expected.txt: Removed. * platform/gtk/media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles-expected.txt: Removed. * platform/mac/media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles-expected.txt: Removed. * media/video-controls-captions-trackmenu-sorted.html: Removed. * platform/gtk/media/video-controls-captions-trackmenu-sorted-expected.txt: Removed. * platform/ios/media/video-controls-captions-trackmenu-sorted-expected.txt: Removed. * platform/mac/media/video-controls-captions-trackmenu-sorted-expected.txt: Removed. * platform/win/media/video-controls-captions-trackmenu-sorted-expected.txt: Removed. * platform/wincairo/media/video-controls-captions-trackmenu-sorted-expected.txt: Removed. * media/video-controls-drop-and-restore-timeline.html: Removed. * media/video-controls-drop-and-restore-timeline-expected.txt: Removed. * media/video-controls-fullscreen-volume.html: Removed. * media/video-controls-fullscreen-volume-expected.txt: Removed. * media/video-controls-in-media-document.html: Removed. * media/video-controls-in-media-document-expected.txt: Removed. * media/video-controls-no-display-with-text-track.html: Removed. * media/video-controls-no-display-with-text-track-expected.txt: Removed. * media/video-controls-rendering.html: Removed. * platform/gtk/media/video-controls-rendering-expected.txt: Removed. * platform/ios/media/video-controls-rendering-expected.txt: Removed. * platform/mac/media/video-controls-rendering-expected.txt: Removed. * platform/win/media/video-controls-rendering-expected.txt: Removed. * platform/wincairo/media/video-controls-rendering-expected.txt: Removed. * media/video-controls-show-on-kb-or-ax-event.html: Removed. * media/video-controls-show-on-kb-or-ax-event-expected.txt: Removed. * media/video-controls-toggling.html: Removed. * media/video-controls-toggling-expected.txt: Removed. * media/video-controls-transformed.html: Removed. * media/video-controls-transformed-expected.txt: Removed. * media/video-controls-visible-audio-only.html: Removed. * media/video-controls-visible-audio-only-expected.txt: Removed. * media/video-controls-visible-exiting-fullscreen.html: Removed. * media/video-controls-visible-exiting-fullscreen-expected.txt: Removed. * media/video-controls-zoomed.html: Removed. * media/video-controls-zoomed-expected.txt: Removed. * media/video-display-toggle.html: Removed. * platform/gtk/media/video-display-toggle-expected.txt: Removed. * platform/ios/media/video-display-toggle-expected.txt: Removed. * platform/mac-catalina/media/video-display-toggle-expected.txt: Removed. * platform/mac-mojave/media/video-display-toggle-expected.txt: Removed. * platform/mac/media/video-display-toggle-expected.txt: Removed. * platform/win/media/video-display-toggle-expected.txt: Removed. * platform/wincairo/media/video-display-toggle-expected.txt: Removed. * media/video-empty-source.html: Removed. * platform/gtk/media/video-empty-source-expected.txt: Removed. * platform/ios/media/video-empty-source-expected.txt: Removed. * platform/mac/media/video-empty-source-expected.txt: Removed. * platform/win/media/video-empty-source-expected.txt: Removed. * platform/wincairo/media/video-empty-source-expected.txt: Removed. * media/video-fullscreen-only-controls.html: Removed. * media/video-fullscreen-only-controls-expected.txt: Removed. * media/video-fullscreen-only-playback.html: * media/video-initially-hidden-volume-slider-up.html: Removed. * media/video-initially-hidden-volume-slider-up-expected.txt: Removed. * media/video-no-audio.html: Removed. * platform/gtk/media/video-no-audio-expected.txt: Removed. * platform/ios/media/video-no-audio-expected.txt: Removed. * platform/mac-catalina/media/video-no-audio-expected.txt: Removed. * platform/mac/media/video-no-audio-expected.txt: Removed. * platform/win/media/video-no-audio-expected.txt: Removed. * platform/wincairo/media/video-no-audio-expected.txt: Removed. * media/video-play-audio-require-user-gesture.html: Removed. * media/video-play-audio-require-user-gesture-expected.txt: Removed. * media/video-play-require-user-gesture.html: Removed. * media/video-play-require-user-gesture-expected.txt: Removed. * media/video-trackmenu-selection.html: Removed. * media/video-trackmenu-selection-expected.txt: Removed. * media/video-volume-slider.html: Removed. * platform/gtk/media/video-volume-slider-expected.txt: Removed. * platform/ios/media/video-volume-slider-expected.txt: Removed. * platform/mac-catalina/media/video-volume-slider-expected.txt: Removed. * platform/mac-mojave/media/video-volume-slider-expected.txt: Removed. * platform/mac/media/video-volume-slider-expected.txt: Removed. * platform/win/media/video-volume-slider-expected.txt: Removed. * platform/wincairo/media/video-volume-slider-expected.txt: Removed. * media/video-volume-slider-drag.html: Removed. * media/video-volume-slider-drag-expected.txt: Removed. * media/video-zoom-controls.html: Removed. * platform/gtk/media/video-zoom-controls-expected.txt: Removed. * platform/ios/media/video-zoom-controls-expected.txt: Removed. * platform/mac/media/video-zoom-controls-expected.txt: Removed. * platform/win/media/video-zoom-controls-expected.txt: Removed. * platform/wincairo/media/video-zoom-controls-expected.txt: Removed. * media/volume-bar-empty-when-muted.html: Removed. * media/volume-bar-empty-when-muted-expected.txt: Removed. * platform/gtk/media/volume-bar-empty-when-muted-expected.txt: Removed. * platform/mac/media/volume-bar-empty-when-muted-expected.txt: Removed. * platform/ios/media/video-play-glyph-composited-outside-overflow-scrolling-touch-container.html: Removed. * platform/ios/media/video-play-glyph-composited-outside-overflow-scrolling-touch-container-expected.txt: Removed. * platform/mac/media/video-layer-crash-expected.txt: * TestExpectations: * platform/glib/TestExpectations: * platform/gtk/TestExpectations: * platform/gtk-wayland/TestExpectations: * platform/ios/TestExpectations: * platform/ios-device/TestExpectations: * platform/ios-simulator/TestExpectations: * platform/ios-wk2/TestExpectations: * platform/ipad/TestExpectations: * platform/mac/TestExpectations: * platform/mac-wk1/TestExpectations: * platform/mac-wk2/TestExpectations: * platform/win/TestExpectations: * platform/wincairo/TestExpectations: * platform/wincairo-wk1/TestExpectations: * platform/wpe/TestExpectations: Canonical link: https://commits.webkit.org/235609@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-22 22:17:49 +00:00
#if !defined(ENABLE_MODERN_MEDIA_CONTROLS)
#define ENABLE_MODERN_MEDIA_CONTROLS 0
#endif
#if !defined(ENABLE_MOUSE_CURSOR_SCALE)
#define ENABLE_MOUSE_CURSOR_SCALE 0
#endif
Add events related to force click gesture https://bugs.webkit.org/show_bug.cgi?id=142836 -and corresponding- rdar://problem/20210239 Reviewed by Dean Jackson. Source/WebCore: This patch adds six new events for the force click gesture: webkitmouseforcewillbegin -> Event is sent just before mousedown to indicate that force can be perceived if the user presses any harder. The author should prevent default on this event to both prevent the user agent’s default force click features and to receive the other 5 events. webkitmouseforcechanged -> This event fires whenever force changes between the mousedown and mouseup. It is a new type of mouse event that includes a force variable which is a normalized number between 0 (corresponds to click) and 1 (corresponds to force click). In this patch, I have only added code to send this event between mousedown and mouseforcedown, but as a followup patch, we plan to send it through mouseup. webkitmouseforcecancelled -> If the user releases their finger from the trackpad after pressing hard enough to send webkitmouseforcewillbegin events but not hard enough to force click, this event will be sent to indicate that the user bailed out on the gesture. webkitmouseforcedown -> The down part of the force click. webkitmouseforceup -> The up part of the force click. This event is added in this patch, but does not yet fire. That is work for a follow-up patch. webkitmouseforceclick -> The equivalent of the click event for the force click. Should fire just after webkitmouseforceup. This event is added in this patch, but does not yet fire. That is work for a follow-up patch. Add new files for WebKitMouseForceEvent to build systems. * DerivedSources.cpp: * DerivedSources.make: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.vcxproj/WebCore.vcxproj.filters: * WebCore.xcodeproj/project.pbxproj: * WebCore.xcodeproj/project.pbxproj: Plumbing for new events. * dom/Document.idl: Code to dispatch the new events. Currently the code that calls these functions is in WebKit2. * dom/Element.cpp: (WebCore::Element::dispatchMouseForceWillBegin): (WebCore::Element::dispatchMouseForceChanged): (WebCore::Element::dispatchMouseForceDown): (WebCore::Element::dispatchMouseForceUp): (WebCore::Element::dispatchMouseForceClick): (WebCore::Element::dispatchMouseForceCancelled): * dom/Element.h: More plumbing. * dom/Element.idl: * dom/EventNames.h: * dom/EventNames.in: Our new type of mouse event that includes force. * dom/WebKitMouseForceEvent.cpp: Added. (WebCore::WebKitMouseForceEventInit::WebKitMouseForceEventInit): (WebCore::WebKitMouseForceEvent::WebKitMouseForceEvent): (WebCore::WebKitMouseForceEvent::~WebKitMouseForceEvent): (WebCore::WebKitMouseForceEvent::eventInterface): * dom/WebKitMouseForceEvent.h: Added. * dom/WebKitMouseForceEvent.idl: Added. More plumbing. * html/HTMLAttributeNames.in: * html/HTMLBodyElement.cpp: (WebCore::HTMLBodyElement::createWindowEventHandlerNameMap): * html/HTMLBodyElement.idl: * html/HTMLElement.cpp: (WebCore::HTMLElement::createEventHandlerNameMap): * page/DOMWindow.idl: * page/EventHandler.h: (WebCore::EventHandler::lastMouseDownEvent): Source/WebKit2: ActionMenuHitTestResult has a new bool indicating whether to not the HitTestResult will prevent default. * Shared/mac/ActionMenuHitTestResult.h: * Shared/mac/ActionMenuHitTestResult.mm: (WebKit::ActionMenuHitTestResult::encode): (WebKit::ActionMenuHitTestResult::decode): Send immediateActionDidUpdate and the normalized force over the the WebProcess. * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::immediateActionDidUpdate): * UIProcess/WebPageProxy.h: We need a dummy animation controller when web content is overriding the default behavior. * UIProcess/mac/WKImmediateActionController.mm: Send along the update information. (-[WKImmediateActionController immediateActionRecognizerDidUpdateAnimation:]): Use the dummy animation controller if default has been prevented. (-[WKImmediateActionController _defaultAnimationController]): (-[WKImmediateActionController _updateImmediateActionItem]): Keep track of whether m_lastActionMenuHitTes prevented the default immediate action behavior. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: Call dispatchMouseForceMayBegin() at hit test time. * WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::performActionMenuHitTestAtLocation): Call dispatchMouseForceChanged() if appropriate. (WebKit::WebPage::immediateActionDidUpdate): Call dispatchMouseForceCancelled() if appropriate. (WebKit::WebPage::immediateActionDidCancel): Call dispatchMouseForceDown() if appropriate. (WebKit::WebPage::immediateActionDidComplete): Source/WTF: New enable flag for the events. * wtf/FeatureDefines.h: LayoutTests: * fast/dom/event-handler-attributes-expected.txt: * fast/dom/event-handler-attributes.html: * platform/mac/js/dom/global-constructors-attributes-expected.txt: Canonical link: https://commits.webkit.org/161035@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-03-24 21:31:28 +00:00
#if !defined(ENABLE_MOUSE_FORCE_EVENTS)
#define ENABLE_MOUSE_FORCE_EVENTS 1
#endif
#if !defined(ENABLE_NETSCAPE_PLUGIN_API)
#define ENABLE_NETSCAPE_PLUGIN_API 1
#endif
#if !defined(ENABLE_NETSCAPE_PLUGIN_METADATA_CACHE)
#define ENABLE_NETSCAPE_PLUGIN_METADATA_CACHE 0
#endif
#if !defined(ENABLE_NOTIFICATIONS)
#define ENABLE_NOTIFICATIONS 0
#endif
Put OffscreenCanvas behind a build flag https://bugs.webkit.org/show_bug.cgi?id=203146 Patch by Chris Lord <clord@igalia.com> on 2019-10-26 Reviewed by Ryosuke Niwa. .: Put OffscreenCanvas behind a build flag and enable building with experimental features on GTK and WPE. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: LayoutTests/imported/w3c: OffscreenCanvas is disabled by default, adjust expectations accordingly. * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt: * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt: * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt: * web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt: * web-platform-tests/html/dom/idlharness.https-expected.txt: * web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt: PerformanceTests: * StitchMarker/wtf/FeatureDefines.h: Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: No new tests. No behavior changes. * Configurations/FeatureDefines.xcconfig: * bindings/js/JSEventTargetCustom.cpp: * bindings/js/JSOffscreenCanvasRenderingContext2DCustom.cpp: * dom/EventTargetFactory.in: * html/ImageBitmap.idl: * html/OffscreenCanvas.cpp: * html/OffscreenCanvas.h: * html/OffscreenCanvas.idl: * html/canvas/CanvasRenderingContext.cpp: * html/canvas/ImageBitmapRenderingContext.idl: * html/canvas/OffscreenCanvasRenderingContext2D.cpp: * html/canvas/OffscreenCanvasRenderingContext2D.h: * html/canvas/OffscreenCanvasRenderingContext2D.idl: * html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::canvas): * html/canvas/WebGLRenderingContextBase.h: * html/canvas/WebGLRenderingContextBase.idl: * inspector/agents/InspectorCanvasAgent.cpp: * page/PageConsoleClient.cpp: (WebCore::canvasRenderingContext): * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setImageBitmapEnabled): (WebCore::RuntimeEnabledFeatures::imageBitmapEnabled const): (WebCore::RuntimeEnabledFeatures::setOffscreenCanvasEnabled): (WebCore::RuntimeEnabledFeatures::offscreenCanvasEnabled const): * page/WindowOrWorkerGlobalScope.idl: Source/WebCore/PAL: * Configurations/FeatureDefines.xcconfig: Source/WebKit: Split the ImageBitmapOffscreenCanvas setting into two separate settings so OffscreenCanvas can be disabled at build time. * Configurations/FeatureDefines.xcconfig: * Shared/WebPreferences.yaml: * Shared/WebPreferencesDefaultValues.h: * WebProcess/InjectedBundle/InjectedBundle.cpp: (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): * WebProcess/WebPage/WebInspectorUI.cpp: (WebKit::WebInspectorUI::WebInspectorUI): Source/WebKitLegacy/mac: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/FeatureDefines.h: Tools: Put OffscreenCanvas behind a build flag and enable the runtime setting when running tests on platforms where it's built (GTK and WPE). * Scripts/webkitperl/FeatureList.pm: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setOffscreenCanvasEnabled): * WebKitTestRunner/InjectedBundle/TestRunner.h: Websites/webkit.org: Update to reflect split ImageBitmapOffscreenCanvas settings. * experimental-features.html: LayoutTests: OffscreenCanvas is disabled by default except on GTK/WPE. Adjust test expectations accordingly. * TestExpectations: * platform/gtk/TestExpectations: * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt. * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt. * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt. * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt: Renamed from LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt. * platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt. * platform/gtk/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt. * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/ios/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt: * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: * platform/wpe/TestExpectations: * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-drawImage-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-serializable-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt: Renamed from LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-transfer-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window-expected.txt. Canonical link: https://commits.webkit.org/216857@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-26 07:12:47 +00:00
#if !defined(ENABLE_OFFSCREEN_CANVAS)
#define ENABLE_OFFSCREEN_CANVAS 0
#endif
Allow conditionally enabling OffscreenCanvas only for non-worker contexts https://bugs.webkit.org/show_bug.cgi?id=225845 Reviewed by Darin Adler. .: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: Match current behavior of ENABLE_OFFSCREEN_CANVAS for ENABLE_OFFSCREEN_CANVAS_IN_WORKERS. Source/WebCore: Enable both compile time and runtime conditional enablement of just the non-worker OffscreenCanvas code path. To make this work a new IDL extended attribute was needed, ConditionalForWorker=FOO, which allows specifying an additional macro to check for whether the constructor should be exposed on workers. Ideally this would be generic for any context type, but at the moment, the limited syntax of extended attributes makes that hard. If generalization is needed (or a similar syntax is needed for something else) this can be revisited. To support runtime conditional exposure, the existing EnabledForContext, which calls a static function on the implementation class passing the ScriptExecutationContext is used. If conditional per context type ever becomes a common thing, we should add another extended attribute (and add syntax to support like above) that allows specifying both the context type and the setting name. Other than that, uses of ENABLE_OFFSCREEN_CANVAS that guarded worker specific functionality were replaced by ENABLE_OFFSCREEN_CANVAS_IN_WORKERS. * bindings/js/SerializedScriptValue.cpp: (WebCore::CloneSerializer::serialize): (WebCore::CloneSerializer::CloneSerializer): (WebCore::CloneSerializer::dumpIfTerminal): (WebCore::CloneDeserializer::deserialize): (WebCore::CloneDeserializer::CloneDeserializer): (WebCore::CloneDeserializer::readTerminal): (WebCore::SerializedScriptValue::SerializedScriptValue): (WebCore::SerializedScriptValue::computeMemoryCost const): (WebCore::SerializedScriptValue::create): (WebCore::SerializedScriptValue::deserialize): * bindings/js/SerializedScriptValue.h: (WebCore::SerializedScriptValue::SerializedScriptValue): * bindings/scripts/IDLAttributes.json: * bindings/scripts/preprocess-idls.pl: (GenerateConstructorAttributes): * html/HTMLCanvasElement.idl: * html/OffscreenCanvas.cpp: (WebCore::OffscreenCanvas::enabledForContext): * html/OffscreenCanvas.h: * html/OffscreenCanvas.idl: * html/canvas/OffscreenCanvasRenderingContext2D.cpp: (WebCore::OffscreenCanvasRenderingContext2D::enabledForContext): * html/canvas/OffscreenCanvasRenderingContext2D.h: * html/canvas/OffscreenCanvasRenderingContext2D.idl: * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setOffscreenCanvasInWorkersEnabled): (WebCore::RuntimeEnabledFeatures::offscreenCanvasInWorkersEnabled const): * workers/DedicatedWorkerGlobalScope.h: * workers/DedicatedWorkerGlobalScope.idl: * workers/WorkerAnimationController.cpp: * workers/WorkerAnimationController.h: Source/WTF: * Scripts/Preferences/WebPreferencesInternal.yaml: Add new OffscreenCanvasInWorkersEnabled preference. * wtf/PlatformEnable.h: Add new ENABLE_OFFSCREEN_CANVAS_IN_WORKERS macro. Tools: * Scripts/webkitperl/FeatureList.pm: * WebKitTestRunner/TestOptions.cpp: (WTR::TestOptions::defaults): Match current behavior of ENABLE_OFFSCREEN_CANVAS and OffscreenCanvasEnabled for ENABLE_OFFSCREEN_CANVAS_IN_WORKERS and OffscreenCanvasInWorkersEnabled. Canonical link: https://commits.webkit.org/237788@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-16 03:14:57 +00:00
#if !defined(ENABLE_OFFSCREEN_CANVAS_IN_WORKERS)
#define ENABLE_OFFSCREEN_CANVAS_IN_WORKERS 0
#endif
[GStreamer][EME][OpenCDM] Implement OpenCDM support https://bugs.webkit.org/show_bug.cgi?id=213550 Reviewed by Philippe Normand. .: Added support to enable OpenCDM and find it it needed. * Source/cmake/FindOpenCDM.cmake: Added. * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: Source/WebCore: Implemented the OpenCDM support in the CDMOpenCDM and CDMProxyOpenCDM related classes. CDMOpenCDM classes check for Widevine support in OpenCDM and glues the JavaScript API to the OpenCDM/Thunder framework. Building this is optional and --opencdm parameter needs to be passed to build-webkit to get it. CDMProxy related needed changes because of several reasons. First is that Key was considering only a Vector<uint8_t> as a type and OpenCDM has session objects. Key is also renamed to KeyHandle as this name reflects in a better way the purpose of the class. This bleeds out to all CDMProxy related classes. CDMInstanceSessionProxy gets support to remove itself from the CDMSessionProxy. Regarding ClearKey, we adapt the changes to the CDMProxy classes and de-cable protection system from the decryptors as the OpenCDM decryptor could handle more than one system. No new tests. YouTube TV 2019 tests are green. * Headers.cmake: * WebCore.xcodeproj/project.pbxproj: * platform/GStreamer.cmake: * platform/SharedBuffer.cpp: (WebCore::SharedBuffer::dataAsUInt8Ptr const): * platform/SharedBuffer.h: * platform/encryptedmedia/CDMInstance.h: * platform/encryptedmedia/CDMOpenCDMTypes.h: Copied from Source/WebCore/platform/graphics/gstreamer/eme/CDMFactoryGStreamer.cpp. * platform/encryptedmedia/CDMProxy.cpp: (WebCore::KeyHandle::idAsString const): (WebCore::KeyHandle::takeValueIfDifferent): (WebCore::KeyStore::containsKeyID const): (WebCore::KeyStore::merge): (WebCore::KeyStore::allKeysAs const): (WebCore::KeyStore::addKeys): (WebCore::KeyStore::add): (WebCore::KeyStore::remove): (WebCore::KeyStore::keyHandle const): (WebCore::CDMProxy::keyHandle const): (WebCore::CDMProxy::tryWaitForKeyHandle const): (WebCore::CDMProxy::keyAvailableUnlocked const): (WebCore::CDMProxy::keyAvailable const): (WebCore::CDMProxy::getOrWaitForKeyHandle const): (WebCore::CDMProxy::getOrWaitForKeyValue const): (WebCore::CDMInstanceSessionProxy::CDMInstanceSessionProxy): (WebCore::CDMInstanceSessionProxy::removeFromInstanceProxy): * platform/encryptedmedia/CDMProxy.h: (WebCore::KeyHandle::create): (WebCore::KeyHandle::id const): (WebCore::KeyHandle::value const): (WebCore::KeyHandle::value): (WebCore::KeyHandle::isStatusCurrentlyValid): (WebCore::KeyHandle::operator==): (WebCore::KeyHandle::operator<): (WebCore::KeyHandle::KeyHandle): (WebCore::KeyStore::isEmpty const): (WebCore::CDMProxy::instance const): (WebCore::CDMInstanceSessionProxy::releaseDecryptionResources): (WebCore::CDMInstanceSessionProxy::cdmInstanceProxy const): (WebCore::CDMInstanceProxy::proxy const): (WebCore::CDMInstanceProxy::removeSession): * platform/encryptedmedia/CDMUtilities.cpp: Copied from Source/WebCore/platform/graphics/gstreamer/eme/CDMFactoryGStreamer.cpp. (WebCore::CDMUtilities::parseJSONObject): * platform/encryptedmedia/CDMUtilities.h: Copied from Source/WebCore/platform/graphics/gstreamer/eme/CDMFactoryGStreamer.cpp. * platform/encryptedmedia/clearkey/CDMClearKey.cpp: (WebCore::parseLicenseFormat): (WebCore::CDMPrivateClearKey::supportsInitData const): (WebCore::CDMPrivateClearKey::sanitizeResponse const): (WebCore::CDMInstanceSessionClearKey::updateLicense): (WebCore::CDMInstanceSessionClearKey::removeSessionData): (WebCore::CDMInstanceSessionClearKey::parentInstance const): * platform/encryptedmedia/clearkey/CDMClearKey.h: * platform/graphics/gstreamer/GStreamerCommon.cpp: (WebCore::isOpenCDMRanked): (WebCore::initializeGStreamerAndRegisterWebKitElements): (WebCore::GstMappedBuffer::createVector): * platform/graphics/gstreamer/GStreamerCommon.h: (WebCore::GstMappedBuffer::create): * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer): (WebCore::MediaPlayerPrivateGStreamer::waitForCDMAttachment): * platform/graphics/gstreamer/eme/CDMFactoryGStreamer.cpp: (WebCore::CDMFactory::platformRegisterFactories): * platform/graphics/gstreamer/eme/CDMOpenCDM.cpp: Added. (openCDMLicenseType): (WebCore::initDataMD5): (WebCore::sessionLoadFailureFromOpenCDM): (WebCore::OpenCDM::destructOpenCDMSession): (WebCore::OpenCDM::createSharedOpenCDMSession): (WebCore::CDMFactoryOpenCDM::singleton): (WebCore::CDMFactoryOpenCDM::createCDM): (WebCore::CDMFactoryOpenCDM::createCDMProxy): (WebCore::CDMFactoryOpenCDM::supportedKeySystems const): (WebCore::CDMFactoryOpenCDM::supportsKeySystem): (WebCore::CDMPrivateOpenCDM::supportedInitDataTypes const): (WebCore::CDMPrivateOpenCDM::supportsConfiguration const): (WebCore::CDMPrivateOpenCDM::supportedRobustnesses const): (WebCore::CDMPrivateOpenCDM::distinctiveIdentifiersRequirement const): (WebCore::CDMPrivateOpenCDM::persistentStateRequirement const): (WebCore::CDMPrivateOpenCDM::distinctiveIdentifiersAreUniquePerOriginAndClearable const): (WebCore::CDMPrivateOpenCDM::createInstance): (WebCore::CDMPrivateOpenCDM::loadAndInitialize): (WebCore::CDMPrivateOpenCDM::supportsServerCertificates const): (WebCore::CDMPrivateOpenCDM::supportsSessions const): (WebCore::CDMPrivateOpenCDM::supportsInitData const): (WebCore::CDMPrivateOpenCDM::sanitizeResponse const): (WebCore::CDMPrivateOpenCDM::sanitizeSessionId const): (WebCore::CDMInstanceOpenCDM::CDMInstanceOpenCDM): (WebCore::CDMInstanceOpenCDM::initializeWithConfiguration): (WebCore::CDMInstanceOpenCDM::setServerCertificate): (WebCore::CDMInstanceOpenCDM::setStorageDirectory): (WebCore::CDMInstanceSessionOpenCDM::CDMInstanceSessionOpenCDM): (WebCore::CDMInstanceOpenCDM::createSession): (WebCore::ParsedResponseMessage::ParsedResponseMessage): (WebCore::ParsedResponseMessage::hasPayload const): (WebCore::ParsedResponseMessage::payload const): (WebCore::ParsedResponseMessage::payload): (WebCore::ParsedResponseMessage::hasType const): (WebCore::ParsedResponseMessage::type const): (WebCore::ParsedResponseMessage::typeOr const): (WebCore::CDMInstanceSessionOpenCDM::challengeGeneratedCallback): (WebCore::toString): (WebCore::CDMInstanceSessionOpenCDM::status const): (WebCore::CDMInstanceSessionOpenCDM::keyUpdatedCallback): (WebCore::CDMInstanceSessionOpenCDM::keysUpdateDoneCallback): (WebCore::CDMInstanceSessionOpenCDM::errorCallback): (WebCore::CDMInstanceSessionOpenCDM::requestLicense): (WebCore::CDMInstanceSessionOpenCDM::sessionFailure): (WebCore::CDMInstanceSessionOpenCDM::updateLicense): (WebCore::CDMInstanceSessionOpenCDM::loadSession): (WebCore::CDMInstanceSessionOpenCDM::closeSession): (WebCore::CDMInstanceSessionOpenCDM::removeSessionData): (WebCore::CDMInstanceSessionOpenCDM::storeRecordOfKeyUsage): (WebCore:: const): * platform/graphics/gstreamer/eme/CDMOpenCDM.h: Added. (WebCore::OpenCDM::OpenCDMSystemDeleter::operator() const): (WebCore::OpenCDM::OpenCDMSessionDeleter::operator() const): * platform/graphics/gstreamer/eme/CDMProxyClearKey.cpp: (WebCore::CDMProxyClearKey::cencSetDecryptionKey): * platform/graphics/gstreamer/eme/CDMProxyOpenCDM.cpp: Added. (WebCore::CDMProxyOpenCDM::getDecryptionSession const): (WebCore::CDMProxyOpenCDM::decrypt): * platform/graphics/gstreamer/eme/CDMProxyOpenCDM.h: Copied from Source/WebCore/platform/graphics/gstreamer/eme/CDMFactoryGStreamer.cpp. * platform/graphics/gstreamer/eme/GStreamerEMEUtilities.h: (WebCore::InitData::InitData): (WebCore::InitData::payload const): (WebCore::GStreamerEMEUtilities::isWidevineKeySystem): (WebCore::GStreamerEMEUtilities::keySystemToUuid): * platform/graphics/gstreamer/eme/WebKitClearKeyDecryptorGStreamer.cpp: (webkit_media_clear_key_decrypt_class_init): (protectionSystemId): * platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.cpp: (transformCaps): (transformInPlace): * platform/graphics/gstreamer/eme/WebKitCommonEncryptionDecryptorGStreamer.h: * platform/graphics/gstreamer/eme/WebKitOpenCDMDecryptorGStreamer.cpp: Added. (webkit_media_opencdm_decrypt_class_init): (webkit_media_opencdm_decrypt_init): (finalize): (protectionSystemId): (cdmProxyAttached): (decrypt): * platform/graphics/gstreamer/eme/WebKitOpenCDMDecryptorGStreamer.h: Added. Source/WTF: * wtf/PlatformEnable.h: Disable OPENCDM by default. Tools: Added support to build OpenCDM and its dependencies. There is an opt in env var to get JHBuild building Thunder its Widevine dependencies. We also include a couple of GStreamer patches needed to get key IDs in the decryptors. Widevine is obviously proprietary and as you need to be licensed to access it, you need credentials to build it. * Scripts/webkitperl/FeatureList.pm: * gstreamer/jhbuild.modules: * gstreamer/patches/gst-plugins-bad-0006-mssdemux-parse-protection-data.patch: Added. * gstreamer/patches/gst-plugins-good-0002-Check-if-an-upstream-demuxer-provided-a-default-kid.patch: Added. * gtk/install-dependencies: * jhbuild/jhbuildrc_common.py: (init): * wpe/install-dependencies: Canonical link: https://commits.webkit.org/226987@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@264219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-07-10 14:57:57 +00:00
#if !defined(ENABLE_THUNDER)
#define ENABLE_THUNDER 0
#endif
#if !defined(ENABLE_ORIENTATION_EVENTS)
#define ENABLE_ORIENTATION_EVENTS 0
#endif
#if OS(WINDOWS)
#if !defined(ENABLE_PAN_SCROLLING)
#define ENABLE_PAN_SCROLLING 1
#endif
#endif
#if !defined(ENABLE_PAYMENT_REQUEST)
#define ENABLE_PAYMENT_REQUEST 0
#endif
#if !defined(ENABLE_PERIODIC_MEMORY_MONITOR)
#define ENABLE_PERIODIC_MEMORY_MONITOR 0
#endif
#if !defined(ENABLE_POINTER_LOCK)
Add runtime flag to enable pointer lock. Enable pointer lock feature for mac. https://bugs.webkit.org/show_bug.cgi?id=163801 Patch by Jeremy Jones <jeremyj@apple.com> on 2016-11-18 Reviewed by Simon Fraser. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: These tests now pass with DumpRenderTree. LayoutTests/pointer-lock/lock-already-locked.html LayoutTests/pointer-lock/lock-element-not-in-dom.html LayoutTests/pointer-lock/locked-element-iframe-removed-from-dom.html LayoutTests/pointer-lock/mouse-event-api.html PointerLockController::requestPointerLock now protects against synchronous callback to allowPointerLock(). Add pointerLockEnabled setting. * Configurations/FeatureDefines.xcconfig: * dom/Document.cpp: (WebCore::Document::exitPointerLock): Fix existing typo. (WebCore::Document::pointerLockElement): * features.json: * page/EventHandler.cpp: * page/PointerLockController.cpp: (WebCore::PointerLockController::requestPointerLock): (WebCore::PointerLockController::requestPointerUnlock): * page/Settings.in: Source/WebKit/mac: Plumb through PointerLockEnabled setting. * Configurations/FeatureDefines.xcconfig: * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::requestPointerUnlock): * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (-[WebPreferences pointerLockEnabled]): (-[WebPreferences setPointerLockEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Source/WebKit2: Add SPI to notify client of pointer lock and for client to allow or deny. Unlock pointer when view is not longer active. * Configurations/FeatureDefines.xcconfig: * Shared/WebPreferencesDefinitions.h: * UIProcess/API/APIUIClient.h: (API::UIClient::requestPointerLock): (API::UIClient::didLosePointerLock): * UIProcess/API/C/WKPage.cpp: (WKPageSetPageUIClient): (WKPageDidAllowPointerLock): (WKPageDidDenyPointerLock): * UIProcess/API/C/WKPagePrivate.h: * UIProcess/API/C/WKPageUIClient.h: * UIProcess/API/C/WKPreferences.cpp: * UIProcess/API/Cocoa/WKUIDelegatePrivate.h: * UIProcess/Cocoa/UIDelegate.h: * UIProcess/Cocoa/UIDelegate.mm: (WebKit::UIDelegate::setDelegate): (WebKit::UIDelegate::UIClient::requestPointerLock): (WebKit::UIDelegate::UIClient::didLosePointerLock): * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::dispatchActivityStateChange): (WebKit::WebPageProxy::resetStateAfterProcessExited): (WebKit::WebPageProxy::requestPointerLock): (WebKit::WebPageProxy::didAllowPointerLock): (WebKit::WebPageProxy::didDenyPointerLock): (WebKit::WebPageProxy::requestPointerUnlock): * UIProcess/WebPageProxy.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): Source/WTF: * wtf/FeatureDefines.h: ENABLE_POINTER_LOCK true for Mac. Canonical link: https://commits.webkit.org/182614@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-18 23:33:05 +00:00
#define ENABLE_POINTER_LOCK 1
#endif
Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac https://bugs.webkit.org/show_bug.cgi?id=123111 Reviewed by Timothy Hatcher. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: * Configurations/FeatureDefines.xcconfig: * WebCore.exp.in: Source/WebKit: * WebKit.xcodeproj/project.pbxproj: Source/WebKit/cf: * WebCoreSupport/WebInspectorClientCF.cpp: Source/WebKit/ios: iOS does not have a local inspector, only remote. So give it a custom implementation separate from the WebKit/mac WebInspectorClient implementation which handles an attaching/detaching local inspector. * WebKit.xcodeproj/project.pbxproj: * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added. (WebInspectorClient::WebInspectorClient): (WebInspectorClient::inspectorDestroyed): (WebInspectorClient::openInspectorFrontend): (WebInspectorClient::bringFrontendToFront): (WebInspectorClient::closeInspectorFrontend): (WebInspectorClient::didResizeMainFrame): (WebInspectorClient::highlight): (WebInspectorClient::hideHighlight): (WebInspectorClient::didSetSearchingForNode): (WebInspectorClient::sendMessageToFrontend): (WebInspectorClient::sendMessageToBackend): (WebInspectorClient::setupRemoteConnection): (WebInspectorClient::teardownRemoteConnection): (WebInspectorClient::hasLocalSession): (WebInspectorClient::canBeRemotelyInspected): (WebInspectorClient::inspectedWebView): (WebInspectorFrontendClient::WebInspectorFrontendClient): (WebInspectorFrontendClient::attachAvailabilityChanged): (WebInspectorFrontendClient::frontendLoaded): (WebInspectorFrontendClient::localizedStringsURL): (WebInspectorFrontendClient::bringToFront): (WebInspectorFrontendClient::closeWindow): (WebInspectorFrontendClient::disconnectFromBackend): (WebInspectorFrontendClient::attachWindow): (WebInspectorFrontendClient::detachWindow): (WebInspectorFrontendClient::setAttachedWindowHeight): (WebInspectorFrontendClient::setAttachedWindowWidth): (WebInspectorFrontendClient::setToolbarHeight): (WebInspectorFrontendClient::inspectedURLChanged): (WebInspectorFrontendClient::updateWindowTitle): (WebInspectorFrontendClient::save): (WebInspectorFrontendClient::append): Source/WebKit/mac: The actual implementation at the WebCoreSupport/WebInspectorClient level is the same as INSPECTOR_SERVER. Give debuggable pages a pageIdentifer. * Configurations/FeatureDefines.xcconfig: * Misc/WebKitLogging.h: Misc. * WebCoreSupport/WebInspectorClient.h: (WebInspectorClient::pageId): (WebInspectorClient::setPageId): Give WebInspectorClient's a page identifier. * WebCoreSupport/WebInspectorClient.mm: (WebInspectorClient::WebInspectorClient): (WebInspectorClient::inspectorDestroyed): (WebInspectorClient::sendMessageToFrontend): (WebInspectorClient::sendMessageToBackend): (WebInspectorClient::setupRemoteConnection): (WebInspectorClient::teardownRemoteConnection): (WebInspectorClient::hasLocalSession): (WebInspectorClient::canBeRemotelyInspected): (WebInspectorClient::inspectedWebView): A WebInspectorClient can be either local or remote. Add handling for remote connections. * WebInspector/remote/WebInspectorClientRegistry.h: Added. * WebInspector/remote/WebInspectorClientRegistry.mm: Added. (+[WebInspectorClientRegistry sharedRegistry]): (-[WebInspectorClientRegistry init]): (-[WebInspectorClientRegistry _getNextAvailablePageId]): (-[WebInspectorClientRegistry registerClient:]): (-[WebInspectorClientRegistry unregisterClient:]): (-[WebInspectorClientRegistry clientForPageId:]): (-[WebInspectorClientRegistry inspectableWebViews]): Registry for all potentially debuggable pages. All WebInspectorClient instances. * WebInspector/remote/WebInspectorRelayDefinitions.h: Added. Constants (message keys) shared between WebKit and the XPC process. * WebInspector/remote/WebInspectorServer.h: Added. * WebInspector/remote/WebInspectorServer.mm: Added. (-[WebInspectorServer init]): (-[WebInspectorServer dealloc]): (-[WebInspectorServer start]): (-[WebInspectorServer stop]): (-[WebInspectorServer isEnabled]): (-[WebInspectorServer xpcConnection]): (-[WebInspectorServer setupXPCConnectionIfNeeded]): (-[WebInspectorServer pushListing]): (-[WebInspectorServer hasActiveDebugSession]): (-[WebInspectorServer setHasActiveDebugSession:]): (-[WebInspectorServer xpcConnection:receivedMessage:userInfo:]): (-[WebInspectorServer xpcConnectionFailed:]): (-[WebInspectorServer didRegisterClient:]): (-[WebInspectorServer didUnregisterClient:]): Singleton to start/stop remote inspection. Handles the connection to the XPC and hands off connections to the connection controller. * WebInspector/remote/WebInspectorServerWebViewConnection.h: Added. * WebInspector/remote/WebInspectorServerWebViewConnection.mm: Added. (-[WebInspectorServerWebViewConnection initWithController:connectionIdentifier:destination:identifier:]): (-[WebInspectorServerWebViewConnection setupChannel]): (-[WebInspectorServerWebViewConnection dealloc]): (-[WebInspectorServerWebViewConnection connectionIdentifier]): (-[WebInspectorServerWebViewConnection identifier]): (-[WebInspectorServerWebViewConnection clearChannel]): (-[WebInspectorServerWebViewConnection sendMessageToFrontend:]): (-[WebInspectorServerWebViewConnection sendMessageToBackend:]): (-[WebInspectorServerWebViewConnection receivedData:]): (-[WebInspectorServerWebViewConnection receivedDidClose:]): An individual remote debug session connection. * WebInspector/remote/WebInspectorServerWebViewConnectionController.h: Added. * WebInspector/remote/WebInspectorServerWebViewConnectionController.mm: Added. (-[WebInspectorServerWebViewConnectionController initWithServer:]): (-[WebInspectorServerWebViewConnectionController dealloc]): (-[WebInspectorServerWebViewConnectionController closeAllConnections]): (-[WebInspectorServerWebViewConnectionController _listingForWebView:pageId:registry:]): (-[WebInspectorServerWebViewConnectionController _pushListing:]): (-[WebInspectorServerWebViewConnectionController pushListing:]): (-[WebInspectorServerWebViewConnectionController pushListing]): (-[WebInspectorServerWebViewConnectionController _receivedSetup:]): (-[WebInspectorServerWebViewConnectionController _receivedData:]): (-[WebInspectorServerWebViewConnectionController _receivedDidClose:]): (-[WebInspectorServerWebViewConnectionController _receivedGetListing:]): (-[WebInspectorServerWebViewConnectionController _receivedIndicate:]): (-[WebInspectorServerWebViewConnectionController _receivedConnectionDied:]): (-[WebInspectorServerWebViewConnectionController receivedMessage:userInfo:]): (-[WebInspectorServerWebViewConnectionController connectionClosing:]): (-[WebInspectorServerWebViewConnectionController sendMessageToFrontend:userInfo:]): ConnectionController: - Holds all the current ongoing remote debug connections. - Simplifies multi-threaded work on iOS. - Dispatches incoming messages from the remote connection. * WebInspector/remote/WebInspectorRemoteChannel.h: Added. * WebInspector/remote/WebInspectorRemoteChannel.mm: Added. (+[WebInspectorRemoteChannel createChannelForPageId:connection:]): (-[WebInspectorRemoteChannel initWithRemote:local:]): (-[WebInspectorRemoteChannel closeFromLocalSide]): (-[WebInspectorRemoteChannel closeFromRemoteSide]): (-[WebInspectorRemoteChannel sendMessageToFrontend:]): (-[WebInspectorRemoteChannel sendMessageToBackend:]): Thin interface between the remote connection and web inspector client. This simplifies breaking the connection from either side, e.g. the page closing, or the remote connection disconnecting. * WebInspector/remote/WebInspectorXPCWrapper.h: Added. * WebInspector/remote/WebInspectorXPCWrapper.m: Added. (-[WebInspectorXPCWrapper initWithConnection:]): (-[WebInspectorXPCWrapper close]): (-[WebInspectorXPCWrapper dealloc]): (-[WebInspectorXPCWrapper _deserializeMessage:]): (-[WebInspectorXPCWrapper _handleEvent:]): (-[WebInspectorXPCWrapper sendMessage:userInfo:]): (-[WebInspectorXPCWrapper available]): * WebKit.exp: XPC Connection wrapper handling a simple message format. * WebView/WebViewData.h: * WebView/WebViewData.mm: (-[WebViewPrivate init]): (-[WebViewPrivate dealloc]): * WebView/WebViewInternal.h: * WebView/WebViewPrivate.h: * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:]): (+[WebView sharedWebInspectorServer]): (+[WebView _enableRemoteInspector]): (+[WebView _disableRemoteInspector]): (+[WebView _disableAutoStartRemoteInspector]): (+[WebView _isRemoteInspectorEnabled]): (+[WebView _hasRemoteInspectorSession]): (-[WebView canBeRemotelyInspected]): (-[WebView allowsRemoteInspection]): (-[WebView setAllowsRemoteInspection:]): (-[WebView setIndicatingForRemoteInspector:]): (-[WebView setRemoteInspectorUserInfo:]): (-[WebView remoteInspectorUserInfo]): Remote inspector private API. - Enable / disable globally - Allow / disallow per webview - Optionally attach a userInfo dictionary on the WebView that is published with listing. - Indicate a WebView (implementation to land later) (-[WebView _didCommitLoadForFrame:]): * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::dispatchDidReceiveTitle): Pages changed, pushed page listing. Source/WebKit2: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/FeatureDefines.h: Canonical link: https://commits.webkit.org/141462@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-10-25 20:59:15 +00:00
#if !defined(ENABLE_REMOTE_INSPECTOR)
#define ENABLE_REMOTE_INSPECTOR 0
#endif
#if !defined(ENABLE_RUBBER_BANDING)
#define ENABLE_RUBBER_BANDING 0
#endif
#if !defined(ENABLE_SECURITY_ASSERTIONS)
/* Enable security assertions on all ASAN builds and debug builds. */
#if ASAN_ENABLED || !defined(NDEBUG)
#define ENABLE_SECURITY_ASSERTIONS 1
#endif
#endif
#if !defined(ENABLE_SEPARATED_WX_HEAP)
#define ENABLE_SEPARATED_WX_HEAP 0
#endif
#if !defined(ENABLE_SMOOTH_SCROLLING)
#define ENABLE_SMOOTH_SCROLLING 0
#endif
#if !defined(ENABLE_SPEECH_SYNTHESIS)
#define ENABLE_SPEECH_SYNTHESIS 0
#endif
#if !defined(ENABLE_SPELLCHECK)
#define ENABLE_SPELLCHECK 0
#endif
#if !defined(ENABLE_TEXT_CARET)
#define ENABLE_TEXT_CARET 1
#endif
#if !defined(ENABLE_TEXT_SELECTION)
#define ENABLE_TEXT_SELECTION 1
#endif
Change "threaded scrolling" terminology to "asynchronous scrolling" https://bugs.webkit.org/show_bug.cgi?id=126094 Source/WebCore: Reviewed by Tim Horton. Rename ENABLE_THREADED_SCROLLING to ENABLE_ASYNC_SCROLLING, and change references to "main thread scrolling" to "synchronous scrolling". In a few places, functions with names like shouldUpdateScrollLayerPositionOnMainThread() were actually returning SynchronousScrollingReasons, so rename them appropriately. * WebCore.exp.in: * page/FrameView.cpp: (WebCore::FrameView::shouldUpdateCompositingLayersAfterScrolling): (WebCore::FrameView::isRubberBandInProgress): (WebCore::FrameView::requestScrollPositionUpdate): (WebCore::FrameView::updatesScrollLayerPositionOnMainThread): (WebCore::FrameView::wheelEvent): * page/Page.cpp: (WebCore::Page::synchronousScrollingReasonsAsText): * page/Page.h: * page/scrolling/ScrollingCoordinator.cpp: (WebCore::ScrollingCoordinator::create): (WebCore::ScrollingCoordinator::ScrollingCoordinator): (WebCore::ScrollingCoordinator::frameViewHasSlowRepaintObjectsDidChange): (WebCore::ScrollingCoordinator::frameViewFixedObjectsDidChange): (WebCore::ScrollingCoordinator::frameViewRootLayerDidChange): (WebCore::ScrollingCoordinator::synchronousScrollingReasons): (WebCore::ScrollingCoordinator::updateSynchronousScrollingReasons): (WebCore::ScrollingCoordinator::setForceSynchronousScrollLayerPositionUpdates): (WebCore::ScrollingCoordinator::synchronousScrollingReasonsAsText): * page/scrolling/ScrollingCoordinator.h: (WebCore::ScrollingCoordinator::shouldUpdateScrollLayerPositionSynchronously): (WebCore::ScrollingCoordinator::setSynchronousScrollingReasons): * page/scrolling/ScrollingStateFixedNode.cpp: * page/scrolling/ScrollingStateFixedNode.h: * page/scrolling/ScrollingStateNode.cpp: * page/scrolling/ScrollingStateNode.h: * page/scrolling/ScrollingStateScrollingNode.cpp: (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode): (WebCore::ScrollingStateScrollingNode::setSynchronousScrollingReasons): (WebCore::ScrollingStateScrollingNode::dumpProperties): * page/scrolling/ScrollingStateScrollingNode.h: Awkward "ReasonsForSynchronousScrolling" to avoid conflict with the enum called SynchronousScrollingReasons. * page/scrolling/ScrollingStateStickyNode.cpp: * page/scrolling/ScrollingStateStickyNode.h: * page/scrolling/ScrollingStateTree.cpp: * page/scrolling/ScrollingStateTree.h: * page/scrolling/ScrollingThread.cpp: * page/scrolling/ScrollingThread.h: * page/scrolling/ScrollingTree.cpp: * page/scrolling/ScrollingTree.h: * page/scrolling/ScrollingTreeNode.cpp: * page/scrolling/ScrollingTreeNode.h: * page/scrolling/ScrollingTreeScrollingNode.cpp: (WebCore::ScrollingTreeScrollingNode::ScrollingTreeScrollingNode): (WebCore::ScrollingTreeScrollingNode::updateBeforeChildren): * page/scrolling/ScrollingTreeScrollingNode.h: (WebCore::ScrollingTreeScrollingNode::synchronousScrollingReasons): (WebCore::ScrollingTreeScrollingNode::shouldUpdateScrollLayerPositionSynchronously): * page/scrolling/mac/ScrollingCoordinatorMac.h: * page/scrolling/mac/ScrollingCoordinatorMac.mm: (WebCore::ScrollingCoordinatorMac::setSynchronousScrollingReasons): (WebCore::ScrollingCoordinatorMac::commitTreeState): * page/scrolling/mac/ScrollingStateNodeMac.mm: * page/scrolling/mac/ScrollingStateScrollingNodeMac.mm: * page/scrolling/mac/ScrollingThreadMac.mm: * page/scrolling/mac/ScrollingTreeFixedNode.h: * page/scrolling/mac/ScrollingTreeFixedNode.mm: * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h: * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm: (WebCore::ScrollingTreeScrollingNodeMac::updateBeforeChildren): (WebCore::ScrollingTreeScrollingNodeMac::scrollPosition): (WebCore::ScrollingTreeScrollingNodeMac::setScrollPositionWithoutContentEdgeConstraints): (WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition): (WebCore::logThreadedScrollingMode): * page/scrolling/mac/ScrollingTreeStickyNode.h: * page/scrolling/mac/ScrollingTreeStickyNode.mm: * platform/Scrollbar.cpp: (WebCore::Scrollbar::supportsUpdateOnSecondaryThread): * platform/graphics/TiledBacking.h: * platform/graphics/ca/mac/TileController.mm: (WebCore::TileController::TileController): (WebCore::TileController::updateTileCoverageMap): * platform/mac/MemoryPressureHandlerMac.mm: (WebCore::MemoryPressureHandler::releaseMemory): * rendering/RenderLayer.cpp: (WebCore::RenderLayer::setupFontSubpixelQuantization): * rendering/RenderLayerBacking.cpp: (WebCore::computeTileCoverage): * testing/Internals.cpp: (WebCore::Internals::mainThreadScrollingReasons): * testing/Internals.idl: Source/WebKit2: Reviewed by Tim Horton. Rename ENABLE_THREADED_SCROLLING to ENABLE_ASYNC_SCROLLING, and change references to "main thread scrolling" to "synchronous scrolling". * WebProcess/WebPage/EventDispatcher.cpp: (WebKit::EventDispatcher::wheelEvent): * WebProcess/WebPage/EventDispatcher.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage): (WebKit::WebPage::~WebPage): * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: (WebKit::TiledCoreAnimationDrawingArea::didInstallPageOverlay): (WebKit::TiledCoreAnimationDrawingArea::didUninstallPageOverlay): (WebKit::TiledCoreAnimationDrawingArea::updatePreferences): (WebKit::TiledCoreAnimationDrawingArea::dispatchAfterEnsuringUpdatedScrollPosition): Source/WTF: Reviewed by Tim Horton. Rename ENABLE_THREADED_SCROLLING to ENABLE_ASYNC_SCROLLING. * wtf/FeatureDefines.h: Canonical link: https://commits.webkit.org/144061@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-21 00:35:44 +00:00
#if !defined(ENABLE_ASYNC_SCROLLING)
#define ENABLE_ASYNC_SCROLLING 0
#endif
#if !defined(ENABLE_TOUCH_EVENTS)
#define ENABLE_TOUCH_EVENTS 0
#endif
#if !defined(ENABLE_TOUCH_ACTION_REGIONS)
#define ENABLE_TOUCH_ACTION_REGIONS 0
#endif
#if !defined(ENABLE_WHEEL_EVENT_REGIONS)
#define ENABLE_WHEEL_EVENT_REGIONS 0
#endif
#if !defined(ENABLE_VIDEO)
#define ENABLE_VIDEO 0
#endif
[Mac] implement WebKitDataCue https://bugs.webkit.org/show_bug.cgi?id=131799 Reviewed by Dean Jackson. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Define ENABLE_DATACUE_VALUE. Source/WebCore: Tests: http/tests/media/track-in-band-hls-metadata.html media/track/track-datacue-value.html * Configurations/FeatureDefines.xcconfig: Define ENABLE_DATACUE_VALUE. * DerivedSources.make: Add ENABLE_DATACUE_VALUE to HTML_FLAGS when appropriate. * CMakeLists.txt: Add JSDataCueCustom.cpp. * bindings/js/JSBindingsAllInOne.cpp: * WebCore.xcodeproj/project.pbxproj: Add new files. * bindings/js/JSDataCueCustom.cpp: Added. (WebCore::JSDataCue::value): (WebCore::JSDataCue::setValue): (WebCore::JSDataCueConstructor::constructJSDataCue): Custom constructor. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::updateActiveTextTrackCues): Drive-by fixes: don't schedule timeupdate events when paused, don't call sort on an Vector that can't be sorted. * html/track/DataCue.cpp: (WebCore::DataCue::DataCue): Initialize m_type. (WebCore::DataCue::~DataCue): Unprotect the JSValue if necessary. (WebCore::DataCue::data): Ask the platform value for data if non-null. (WebCore::DataCue::setData): Clear m_platformValue and m_value. (WebCore::DataCue::isEqual): New. (WebCore::DataCue::value): Return a JSValue from the platform value, or the value passed to the constructor/set by script. (WebCore::DataCue::setValue): Set m_value. * html/track/DataCue.h: * html/track/DataCue.idl: * html/track/InbandDataTextTrack.cpp: (WebCore::InbandDataTextTrack::addDataCue): Don't add the same cue more than once. (WebCore::InbandDataTextTrack::updateDataCue): Update a cue's duration. (WebCore::InbandDataTextTrack::removeDataCue): Remove an incomplete cue. (WebCore::InbandDataTextTrack::removeCue): Remove a cue from the incomplete cue map if necessary. * html/track/InbandDataTextTrack.h: * html/track/InbandGenericTextTrack.cpp: (WebCore::InbandGenericTextTrack::addGenericCue): CueMatchRules is now in TextTrackCue instead of VTTCue. * html/track/InbandTextTrack.h: * html/track/InbandWebVTTTextTrack.cpp: (WebCore::InbandWebVTTTextTrack::newCuesParsed): Ditto. * html/track/TextTrack.cpp: (WebCore::TextTrack::hasCue): Ditto. * html/track/TextTrack.h: * html/track/TextTrackCue.cpp: (WebCore::TextTrackCue::isEqual): New, test base class equality. * html/track/TextTrackCue.h: * html/track/TextTrackCueGeneric.cpp: (WebCore::TextTrackCueGeneric::isEqual): Call TextTrackCue::isEqual first. * html/track/TextTrackCueGeneric.h: * html/track/VTTCue.cpp: (WebCore::VTTCue::isEqual): Call TextTrackCue::isEqual first. * html/track/VTTCue.h: * platform/SerializedPlatformRepresentation.h: Added. (WebCore::SerializedPlatformRepresentation::~SerializedPlatformRepresentation): (WebCore::SerializedPlatformRepresentation::SerializedPlatformRepresentation): * platform/graphics/InbandTextTrackPrivateClient.h: Add methods for DataCue with SerializedPlatformRepresentation. * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp: Added. (WebCore::InbandMetadataTextTrackPrivateAVF::create): (WebCore::InbandMetadataTextTrackPrivateAVF::InbandMetadataTextTrackPrivateAVF): (WebCore::InbandMetadataTextTrackPrivateAVF::~InbandMetadataTextTrackPrivateAVF): (WebCore::InbandMetadataTextTrackPrivateAVF::addDataCue): (WebCore::InbandMetadataTextTrackPrivateAVF::updatePendingCueEndTimes): (WebCore::InbandMetadataTextTrackPrivateAVF::flushPartialCues): * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.h: Added. * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::seekWithTolerance): currentTrack -> currentTextTrack. (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted): Ditto. (WebCore::MediaPlayerPrivateAVFoundation::configureInbandTracks): Ditto. * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: (WebCore::MediaPlayerPrivateAVFoundation::setCurrentTextTrack): (WebCore::MediaPlayerPrivateAVFoundation::setCurrentTrack): Deleted. Renamed currentTrack and setCurrentTrack to currentTextTrack and setCurrentTextTrack. * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: (WebCore::AVFWrapper::currentTextTrack): (WebCore::MediaPlayerPrivateAVFoundationCF::setCurrentTextTrack): (WebCore::MediaPlayerPrivateAVFoundationCF::currentTextTrack): (WebCore::AVFWrapper::setCurrentTextTrack): (WebCore::AVFWrapper::AVFWrapper): (WebCore::AVFWrapper::processCue): (WebCore::AVFWrapper::currentTrack): Deleted. (WebCore::MediaPlayerPrivateAVFoundationCF::setCurrentTrack): Deleted. (WebCore::MediaPlayerPrivateAVFoundationCF::currentTrack): Deleted. (WebCore::AVFWrapper::setCurrentTrack): Deleted. * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC): (WebCore::MediaPlayerPrivateAVFoundationObjC::seekToTime): currentTrack -> currentTextTrack (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): currentTrack -> currentTextTrack. (WebCore::MediaPlayerPrivateAVFoundationObjC::processMetadataTrack): New. (WebCore::MediaPlayerPrivateAVFoundationObjC::processCue): m_currentTrack -> m_currentTextTrack. (WebCore::MediaPlayerPrivateAVFoundationObjC::flushCues): Ditto. (WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTextTrack): Renamed from setCurrentTextTrack. (WebCore::metadataType): Map an AVFoundation metadata key space to a metadata cue type. (WebCore::MediaPlayerPrivateAVFoundationObjC::metadataDidArrive): Process new metadata. (-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]): (WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTrack): Deleted. Create a JSValue representation from an AVMetadataItem. * platform/mac/SerializedPlatformRepresentationMac.h: Added. (WebCore::SerializedPlatformRepresentationMac::platformType): (WebCore::SerializedPlatformRepresentationMac::nativeValue): * platform/mac/SerializedPlatformRepresentationMac.mm: Added. (WebCore::SerializedPlatformRepresentationMac::SerializedPlatformRepresentationMac): (WebCore::SerializedPlatformRepresentationMac::~SerializedPlatformRepresentationMac): (WebCore::SerializedPlatformRepresentationMac::create): (WebCore::SerializedPlatformRepresentationMac::data): (WebCore::SerializedPlatformRepresentationMac::deserialize): (WebCore::SerializedPlatformRepresentationMac::isEqual): (WebCore::toSerializedPlatformRepresentationMac): (WebCore::jsValueWithValueInContext): (WebCore::jsValueWithDataInContext): (WebCore::jsValueWithArrayInContext): (WebCore::jsValueWithDictionaryInContext): (WebCore::jsValueWithAVMetadataItemInContext): Source/WebKit/mac: * Configurations/FeatureDefines.xcconfig: Define ENABLE_DATACUE_VALUE. Source/WebKit2: * Configurations/FeatureDefines.xcconfig: Define ENABLE_DATACUE_VALUE. Source/WTF: * wtf/FeatureDefines.h: Define ENABLE_DATACUE_VALUE. LayoutTests: * http/tests/media/resources/hls: Added. * http/tests/media/resources/hls/metadata: Added. * http/tests/media/resources/hls/metadata/fileSequence0.ts: Added. * http/tests/media/resources/hls/metadata/fileSequence1.ts: Added. * http/tests/media/resources/hls/metadata/fileSequence2.ts: Added. * http/tests/media/resources/hls/metadata/fileSequence3.ts: Added. * http/tests/media/resources/hls/metadata/prog_index.m3u8: Added. * http/tests/media/track-in-band-hls-metadata-expected.txt: Added. * http/tests/media/track-in-band-hls-metadata.html: Added. * media/track/track-datacue-value-expected.txt: Added. * media/track/track-datacue-value.html: Added. * platform/efl/TestExpectations: Skip the new tests. * platform/gtk/TestExpectations: Ditto. * platform/mac/js/dom/global-constructors-attributes-expected.txt: Update. * platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt: Update. * platform/mac/TestExpectations: Skip DataCue test on all Mac versions. Skip HLS test on Mountain Lion. * platform/win/TestExpectations: Skip the new tests. Canonical link: https://commits.webkit.org/150050@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@167632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-04-21 23:18:23 +00:00
#if !defined(ENABLE_DATACUE_VALUE)
#define ENABLE_DATACUE_VALUE 0
#endif
#if !defined(ENABLE_WEBGL)
#define ENABLE_WEBGL 0
#endif
#if !defined(ENABLE_WEB_ARCHIVE)
#define ENABLE_WEB_ARCHIVE 0
#endif
#if !defined(ENABLE_WEB_AUDIO)
#define ENABLE_WEB_AUDIO 0
#endif
#if !defined(ENABLE_XSLT)
#define ENABLE_XSLT 1
#endif
Add SW IDLs and stub out basic functionality. https://bugs.webkit.org/show_bug.cgi?id=175115 Reviewed by Chris Dumez. .: * Source/cmake/WebKitFeatures.cmake: * Source/cmake/tools/vsprops/FeatureDefines.props: * Source/cmake/tools/vsprops/FeatureDefinesCairo.props: Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: * runtime/CommonIdentifiers.h: Source/WebCore: No new tests (Currently no behavior change). Overall note: This feature is EnabledAtRuntime as opposed to EnabledBySetting because the Settings-based code generation is completely broken for non-Document contexts, whereas the RuntimeEnabledFeatures-based generation is not. * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * bindings/scripts/preprocess-idls.pl: Handle the new global scope c'tor file. * bindings/js/JSServiceWorkerContainerCustom.cpp: Added. (WebCore::JSServiceWorkerContainer::ready const): * bindings/js/JSWorkerGlobalScopeBase.cpp: (WebCore::toJSWorkerGlobalScope): Refactor to handle both types of derived workers. (WebCore::toJSServiceWorkerGlobalScope): * bindings/js/JSWorkerGlobalScopeBase.h: * dom/EventNames.h: * dom/EventTargetFactory.in: * features.json: Change status of feature. * page/Navigator.idl: * page/NavigatorBase.cpp: (WebCore::NavigatorBase::serviceWorker): * page/NavigatorBase.h: * page/NavigatorServiceWorker.idl: Added. * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::serviceWorkerEnabled const): (WebCore::RuntimeEnabledFeatures::setServiceWorkerEnabled): * workers/ServiceWorker.cpp: Added. (WebCore::ServiceWorker::postMessage): (WebCore::ServiceWorker::~ServiceWorker): (WebCore::ServiceWorker::scriptURL const): (WebCore::ServiceWorker::state const): (WebCore::ServiceWorker::eventTargetInterface const): (WebCore::ServiceWorker::scriptExecutionContext const): * workers/ServiceWorker.h: Added. * workers/ServiceWorker.idl: Added. * workers/ServiceWorkerContainer.cpp: Added. (WebCore::ServiceWorkerContainer::~ServiceWorkerContainer): (WebCore::ServiceWorkerContainer::controller const): (WebCore::ServiceWorkerContainer::ready): (WebCore::ServiceWorkerContainer::addRegistration): (WebCore::ServiceWorkerContainer::getRegistration): (WebCore::ServiceWorkerContainer::getRegistrations): (WebCore::ServiceWorkerContainer::startMessages): (WebCore::ServiceWorkerContainer::eventTargetInterface const): (WebCore::ServiceWorkerContainer::scriptExecutionContext const): * workers/ServiceWorkerContainer.h: Added. * workers/ServiceWorkerContainer.idl: Added. * workers/ServiceWorkerGlobalScope.cpp: Added. (WebCore::ServiceWorkerGlobalScope::registration): (WebCore::ServiceWorkerGlobalScope::skipWaiting): * workers/ServiceWorkerGlobalScope.h: Added. * workers/ServiceWorkerGlobalScope.idl: Added. * workers/ServiceWorkerRegistration.cpp: Added. (WebCore::ServiceWorkerRegistration::~ServiceWorkerRegistration): (WebCore::ServiceWorkerRegistration::installing): (WebCore::ServiceWorkerRegistration::waiting): (WebCore::ServiceWorkerRegistration::active): (WebCore::ServiceWorkerRegistration::scope const): (WebCore::ServiceWorkerRegistration::update): (WebCore::ServiceWorkerRegistration::unregister): (WebCore::ServiceWorkerRegistration::eventTargetInterface const): (WebCore::ServiceWorkerRegistration::scriptExecutionContext const): * workers/ServiceWorkerRegistration.h: Added. * workers/ServiceWorkerRegistration.idl: Added. Source/WebCore/PAL: * Configurations/FeatureDefines.xcconfig: Source/WebKit: * Configurations/FeatureDefines.xcconfig: * Shared/WebPreferencesDefinitions.h: * UIProcess/WebPreferences.cpp: (WebKit::WebPreferences::enableAllExperimentalFeatures): Explicitly skip SW for now. The ramifications to layouttests are complicated, and we'd like to follow up in a separate patch. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): Source/WebKitLegacy/mac: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/FeatureDefines.h: Tools: * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: * Scripts/webkitpy/bindings/main.py: Canonical link: https://commits.webkit.org/191896@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-08-03 19:21:43 +00:00
#if !defined(ENABLE_SERVICE_WORKER)
#define ENABLE_SERVICE_WORKER 1
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_MONOSPACE_FONT_EXCEPTION)
#define ENABLE_MONOSPACE_FONT_EXCEPTION 0
#endif
#if !defined(ENABLE_FULL_KEYBOARD_ACCESS)
#define ENABLE_FULL_KEYBOARD_ACCESS 0
#endif
#if !defined(ENABLE_PLATFORM_DRIVEN_TEXT_CHECKING)
#define ENABLE_PLATFORM_DRIVEN_TEXT_CHECKING 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
#if !defined(ENABLE_WEB_PLAYBACK_CONTROLS_MANAGER)
#define ENABLE_WEB_PLAYBACK_CONTROLS_MANAGER 0
#endif
#if !defined(ENABLE_RESOURCE_USAGE)
#define ENABLE_RESOURCE_USAGE 0
#endif
#if !defined(ENABLE_SEC_ITEM_SHIM)
#define ENABLE_SEC_ITEM_SHIM 0
#endif
#if !defined(ENABLE_DATA_DETECTION)
#define ENABLE_DATA_DETECTION 0
#endif
Implement web-share v2 for files https://bugs.webkit.org/show_bug.cgi?id=209265 Reviewed by Andy Estes. LayoutTests/imported/w3c: Updated test expectations for new behavior. * ios-wk2/imported/w3c/web-platform-tests/web-share/canShare-files.https-expected.txt : * mac-wk2/imported/w3c/web-platform-tests/web-share/canShare-files.https-expected.txt : Source/WebCore: Modified existing tests for new behavior. Added support for handling of files in share/canShare, and implemented asynchronous reading of data from blobs on disk into memory. * WebCore.xcodeproj/project.pbxproj: * page/Navigator.cpp: (WebCore::Navigator::canShare): (WebCore::Navigator::share): (WebCore::Navigator::finishedLoad): * page/Navigator.h: * page/ReadShareDataAsync.cpp: Added. (WebCore::ReadShareDataAsync::readInternal): (WebCore::ReadShareDataAsync::ReadShareDataAsync): (WebCore::ReadShareDataAsync::~ReadShareDataAsync): (WebCore::ReadShareDataAsync::start): (WebCore::ReadShareDataAsync::didFinishLoading): (WebCore::ReadShareDataAsync::didReceiveData): (WebCore::ReadShareDataAsync::didStartLoading): (WebCore::ReadShareDataAsync::didFail): * page/ReadShareDataAsync.hpp: Added. * page/ShareData.h: Source/WebKit: Added support for passing file objects over IPC and sharing of files to share sheet. * Shared/WebCoreArgumentCoders.cpp: (IPC::ArgumentCoder<Vector<RawFile>>::encode): (IPC::ArgumentCoder<Vector<RawFile>>::decode): (IPC::ArgumentCoder<ShareDataWithParsedURL>::encode): (IPC::ArgumentCoder<ShareDataWithParsedURL>::decode): * Shared/WebCoreArgumentCoders.h: * UIProcess/Cocoa/ShareableFileWrite.h: Added. * UIProcess/Cocoa/ShareableFileWrite.mm: Added. (+[WKShareableFileWrite getSharingDirectoryPath]): (+[WKShareableFileWrite getFileDirectoryForSharing]): (+[WKShareableFileWrite removeFileDirectoryForSharing]): (+[WKShareableFileWrite setQuarantineInformationForFilePath:]): (+[WKShareableFileWrite applyQuarantineSandboxAndDownloadFlagsToFileAtPath:]): (+[WKShareableFileWrite createFilename:]): (+[WKShareableFileWrite writeFileToShareableURL:data:]): * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet presentWithParameters:inRect:completionHandler:]): (-[WKShareSheet _didCompleteWithSuccess:]): * WebKit.xcodeproj/project.pbxproj: LayoutTests: Modified to no longer use url of image. * fast/web-share/share-with-files.html: Canonical link: https://commits.webkit.org/224560@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-05-08 20:46:10 +00:00
#if !defined(ENABLE_FILE_SHARE)
#define ENABLE_FILE_SHARE 1
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
/*
* Enable this to put each IsoHeap and other allocation categories into their own malloc heaps, so that tools like vmmap can show how big each heap is.
* Turn BENABLE_MALLOC_HEAP_BREAKDOWN on in bmalloc together when using this.
*/
#if !defined(ENABLE_MALLOC_HEAP_BREAKDOWN)
#define ENABLE_MALLOC_HEAP_BREAKDOWN 0
#endif
[Cocoa] Fix launch time regression with CF prefs direct mode enabled https://bugs.webkit.org/show_bug.cgi?id=209244 Source/WebKit: <rdar://problem/60542149> Reviewed by Darin Adler. When CF prefs direct mode was enabled in https://trac.webkit.org/changeset/258064/webkit, it introduced a significant launch time regression. This patch addresses this regression. The number of observed domains is reduced and domain observation is initiated later when Safari is first activated. Swizzling code is removed, since that has a performance cost in the Objective-C runtime. Normal priority instead of QOS_CLASS_BACKGROUND is used in the thread which starts the observing, since using a background priority class can lead to priority inversion. Finally, a dictionary comparison is removed when a notification about a preference change is received, since this check is redundant and doubles the cost of this method. * UIProcess/Cocoa/PreferenceObserver.mm: (-[WKPreferenceObserver init]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::platformInitialize): (WebKit::WebProcessPool::registerNotificationObservers): (WebKit::WebProcessPool::unregisterNotificationObservers): * UIProcess/WebProcessPool.h: Source/WTF: Reviewed by Darin Adler. Re-enable CF prefs direct mode. * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Tools: Reviewed by Darin Adler. * TestWebKitAPI/Tests/WebKit/PreferenceChanges.mm: (TEST): (sharedInstanceMethodOverride): Canonical link: https://commits.webkit.org/222436@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@258949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-03-24 22:41:13 +00:00
#if !defined(ENABLE_CFPREFS_DIRECT_MODE)
#define ENABLE_CFPREFS_DIRECT_MODE 0
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
/* FIXME: This section of the file has not been cleaned up yet and needs major work. */
/* FIXME: JSC_OBJC_API_ENABLED does not match the normal ENABLE naming convention. */
#if !PLATFORM(COCOA)
#if !defined(JSC_OBJC_API_ENABLED)
#define JSC_OBJC_API_ENABLED 0
#endif
#endif
/* The JIT is enabled by default on all x86-64 & ARM64 platforms. */
Platform.h is out of control Part 8: Macros are used inconsistently https://bugs.webkit.org/show_bug.cgi?id=206425 Reviewed by Darin Adler. Source/bmalloc: * bmalloc/BPlatform.h: Update OS_EFFECTIVE_ADDRESS_WIDTH to match WTF definition, add needed OS macros. Source/JavaScriptCore: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): (JSC::ARM64Assembler::xOrSp): (JSC::ARM64Assembler::xOrZr): * assembler/ARM64Registers.h: * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/ARMv7Registers.h: * assembler/AssemblerCommon.h: (JSC::isDarwin): * b3/air/AirCCallingConvention.cpp: * jit/ExecutableAllocator.h: * jit/ThunkGenerators.cpp: * jsc.cpp: * runtime/MathCommon.cpp: Use OS(DARWIN) more consistently for darwin level functionality. * bytecode/CodeOrigin.h: * runtime/JSString.h: Update to use OS_CONSTANT. * disassembler/ARM64/A64DOpcode.cpp: * disassembler/ARM64Disassembler.cpp: * disassembler/UDis86Disassembler.cpp: * disassembler/UDis86Disassembler.h: * disassembler/X86Disassembler.cpp: * disassembler/udis86/udis86.c: * disassembler/udis86/udis86_decode.c: * disassembler/udis86/udis86_itab_holder.c: * disassembler/udis86/udis86_syn-att.c: * disassembler/udis86/udis86_syn-intel.c: * disassembler/udis86/udis86_syn.c: * interpreter/Interpreter.cpp: * interpreter/Interpreter.h: * interpreter/InterpreterInlines.h: (JSC::Interpreter::getOpcodeID): * llint/LowLevelInterpreter.cpp: * tools/SigillCrashAnalyzer.cpp: Switch to using ENABLE rather than USE for features internal to WebKit Source/WTF: Start addressing FIXMEs added to Platform.h (and helper files) during previous cleanup work. - Renames WTF_CPU_EFFECTIVE_ADDRESS_WIDTH to WTF_OS_CONSTANT_EFFECTIVE_ADDRESS_WIDTH, making it available via new macro OS_CONSTANT(...), and syncs bmalloc redefinition. - Renames: USE_LLINT_EMBEDDED_OPCODE_ID to ENABLE_LLINT_EMBEDDED_OPCODE_ID USE_UDIS86 to ENABLE_UDIS86 USE_ARM64_DISASSEMBLER to ENABLE_ARM64_DISASSEMBLER Enable is more appropriate here as these enable functionality within webkit. - Removes undefs that are no longer needed due to only defining the macro once now. - Removes dead defined(__LP64__) check after PLATFORM(MAC) macOS is always 64-bit these days. * wtf/Packed.h: (WTF::alignof): * wtf/Platform.h: * wtf/PlatformEnable.h: * wtf/PlatformOS.h: * wtf/WTFAssertions.cpp: * wtf/text/StringCommon.h: Tools: * TestWebKitAPI/Tests/WTF/Packed.cpp: (TestWebKitAPI::TEST): Update to use OS_CONSTANT. Canonical link: https://commits.webkit.org/219580@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-21 04:01:50 +00:00
#if !defined(ENABLE_JIT) && (CPU(X86_64) || CPU(ARM64)) && !CPU(APPLE_ARMV7K)
#define ENABLE_JIT 1
#endif
#if USE(JSVALUE32_64)
[JSC] Allow to build WebAssembly without B3 https://bugs.webkit.org/show_bug.cgi?id=220365 Patch by Xan Lopez <xan@igalia.com> on 2021-01-23 Reviewed by Yusuke Suzuki. .: Make the WebAssembly feature depend on Baseline JIT, not B3 JIT. Also add a WEBASSEMBLY_B3JIT feature to enable or disable the B3 tier in WebAssembly. * Source/cmake/WebKitFeatures.cmake: disable on 32bit. Source/JavaScriptCore: Make all the B3 related code in WebAssembly a compile-time option. When disabled WebAssembly will only use its LLInt tier. * llint/LLIntOfflineAsmConfig.h: define WEBASSEMBLY_B3JIT for the offline assembler. * llint/WebAssembly.asm: guard B3 code inside WEBASSEMBLY_B3JTI ifdefs. * wasm/WasmAirIRGenerator.cpp: ditto. * wasm/WasmAirIRGenerator.h: ditto. * wasm/WasmB3IRGenerator.cpp: ditto. * wasm/WasmB3IRGenerator.h: ditto. * wasm/WasmBBQPlan.cpp: ditto. * wasm/WasmBBQPlan.h: ditto. * wasm/WasmCallee.h: ditto. * wasm/WasmCodeBlock.cpp: (JSC::Wasm::CodeBlock::CodeBlock): ditto. * wasm/WasmCodeBlock.h: (JSC::Wasm::CodeBlock::wasmEntrypointCalleeFromFunctionIndexSpace): ditto. * wasm/WasmLLIntGenerator.h: ditto. * wasm/WasmLLIntPlan.cpp: ditto. * wasm/WasmOMGForOSREntryPlan.cpp: ditto. * wasm/WasmOMGForOSREntryPlan.h: ditto. * wasm/WasmOMGPlan.cpp: ditto. * wasm/WasmOMGPlan.h: ditto. * wasm/WasmOSREntryData.h: ditto. * wasm/WasmOperations.cpp: ditto. * wasm/WasmOperations.h: ditto. * wasm/WasmPlan.cpp: ditto. * wasm/WasmPlan.h: ditto. * wasm/WasmSlowPaths.cpp: ditto. * wasm/WasmSlowPaths.h: ditto. * wasm/WasmThunks.cpp: ditto. * wasm/WasmThunks.h: ditto. * wasm/WasmTierUpCount.cpp: ditto. * wasm/WasmTierUpCount.h: ditto. * wasm/generateWasmOpsHeader.py: ditto. Source/WTF: * wtf/PlatformEnable.h: Disable WebAssembly on 32bit platforms, enable WebAssembly B3JIT on PLATFORM(COCOA). Tools: * Scripts/webkitperl/FeatureList.pm: add WebAssembly B3 JIT option. Canonical link: https://commits.webkit.org/233281@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-01-23 12:32:22 +00:00
/* Disable WebAssembly on all 32bit platforms. Its LLInt tier could
* work on them, but still needs some final touches. */
#undef ENABLE_WEBASSEMBLY
#define ENABLE_WEBASSEMBLY 0
#undef ENABLE_WEBASSEMBLY_B3JIT
#define ENABLE_WEBASSEMBLY_B3JIT 0
#if (CPU(ARM_THUMB2) || CPU(MIPS)) && OS(LINUX)
/* On ARMv7 and MIPS on Linux the JIT is enabled unless explicitly disabled. */
#if !defined(ENABLE_JIT)
#define ENABLE_JIT 1
#endif
#else
/* Disable JIT on all other 32bit architectures. */
#undef ENABLE_JIT
#define ENABLE_JIT 0
#endif
#endif
#if !defined(ENABLE_C_LOOP)
#if ENABLE(JIT) || CPU(X86_64) || (CPU(ARM64) && !defined(__ILP32__))
#define ENABLE_C_LOOP 0
#else
#define ENABLE_C_LOOP 1
#endif
#endif
aarch64 llint does not build with JIT disabled https://bugs.webkit.org/show_bug.cgi?id=219288 <rdar://problem/71855960> Source/JavaScriptCore: Patch by Michael Catanzaro <mcatanzaro@gnome.org> on 2020-12-02 Reviewed by Darin Adler. * assembler/ARM64Assembler.h: Rename USE(JUMP_ISLANDS) to ENABLE(JUMP_ISLANDS). (JSC::ARM64Assembler::replaceWithJump): (JSC::ARM64Assembler::linkJumpOrCall): * assembler/AbstractMacroAssembler.h: Rename USE(JUMP_ISLANDS) to ENABLE(JUMP_ISLANDS). (JSC::AbstractMacroAssembler::prepareForAtomicRepatchNearCallConcurrently): * assembler/LinkBuffer.cpp: (JSC::LinkBuffer::copyCompactAndLinkCode): Guard JIT-specific code with ENABLE(JIT). * jit/ExecutableAllocator.cpp: Rename USE(JUMP_ISLANDS) to ENABLE(JUMP_ISLANDS). (JSC::initializeJITPageReservation): * jit/ExecutableAllocator.h: Rename USE(JUMP_ISLANDS) to ENABLE(JUMP_ISLANDS). Source/WTF: Rename USE(JUMP_ISLANDS) to ENABLE(JUMP_ISLANDS), and make it depend on ENABLE(JIT). We need it to depend on ENABLE(JIT) to fix the build, but this is awkward to do otherwise, because USE macros are defined in PlatformUse.h before ENABLE macros in PlatformEnable.h. But it makes sense, since USE macros should be used for "a particular third-party library or optional OS service," and jump islands are neither, so ENABLE is more suitable anyway. Patch by Michael Catanzaro <mcatanzaro@gnome.org> on 2020-12-02 Reviewed by Darin Adler. * wtf/PlatformEnable.h: * wtf/PlatformUse.h: Canonical link: https://commits.webkit.org/232064@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-12-03 00:42:58 +00:00
#if !defined(ENABLE_JUMP_ISLANDS) && CPU(ARM64) && CPU(ADDRESS64) && ENABLE(JIT)
#define ENABLE_JUMP_ISLANDS 1
#endif
/* FIXME: This should be turned into an #error invariant */
/* The FTL *does not* work on 32-bit platforms. Disable it even if someone asked us to enable it. */
#if USE(JSVALUE32_64)
#undef ENABLE_FTL_JIT
#define ENABLE_FTL_JIT 0
#endif
/* If possible, try to enable a disassembler. This is optional. We proceed in two
steps: first we try to find some disassembler that we can use, and then we
decide if the high-level disassembler API can be enabled. */
Platform.h is out of control Part 8: Macros are used inconsistently https://bugs.webkit.org/show_bug.cgi?id=206425 Reviewed by Darin Adler. Source/bmalloc: * bmalloc/BPlatform.h: Update OS_EFFECTIVE_ADDRESS_WIDTH to match WTF definition, add needed OS macros. Source/JavaScriptCore: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): (JSC::ARM64Assembler::xOrSp): (JSC::ARM64Assembler::xOrZr): * assembler/ARM64Registers.h: * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/ARMv7Registers.h: * assembler/AssemblerCommon.h: (JSC::isDarwin): * b3/air/AirCCallingConvention.cpp: * jit/ExecutableAllocator.h: * jit/ThunkGenerators.cpp: * jsc.cpp: * runtime/MathCommon.cpp: Use OS(DARWIN) more consistently for darwin level functionality. * bytecode/CodeOrigin.h: * runtime/JSString.h: Update to use OS_CONSTANT. * disassembler/ARM64/A64DOpcode.cpp: * disassembler/ARM64Disassembler.cpp: * disassembler/UDis86Disassembler.cpp: * disassembler/UDis86Disassembler.h: * disassembler/X86Disassembler.cpp: * disassembler/udis86/udis86.c: * disassembler/udis86/udis86_decode.c: * disassembler/udis86/udis86_itab_holder.c: * disassembler/udis86/udis86_syn-att.c: * disassembler/udis86/udis86_syn-intel.c: * disassembler/udis86/udis86_syn.c: * interpreter/Interpreter.cpp: * interpreter/Interpreter.h: * interpreter/InterpreterInlines.h: (JSC::Interpreter::getOpcodeID): * llint/LowLevelInterpreter.cpp: * tools/SigillCrashAnalyzer.cpp: Switch to using ENABLE rather than USE for features internal to WebKit Source/WTF: Start addressing FIXMEs added to Platform.h (and helper files) during previous cleanup work. - Renames WTF_CPU_EFFECTIVE_ADDRESS_WIDTH to WTF_OS_CONSTANT_EFFECTIVE_ADDRESS_WIDTH, making it available via new macro OS_CONSTANT(...), and syncs bmalloc redefinition. - Renames: USE_LLINT_EMBEDDED_OPCODE_ID to ENABLE_LLINT_EMBEDDED_OPCODE_ID USE_UDIS86 to ENABLE_UDIS86 USE_ARM64_DISASSEMBLER to ENABLE_ARM64_DISASSEMBLER Enable is more appropriate here as these enable functionality within webkit. - Removes undefs that are no longer needed due to only defining the macro once now. - Removes dead defined(__LP64__) check after PLATFORM(MAC) macOS is always 64-bit these days. * wtf/Packed.h: (WTF::alignof): * wtf/Platform.h: * wtf/PlatformEnable.h: * wtf/PlatformOS.h: * wtf/WTFAssertions.cpp: * wtf/text/StringCommon.h: Tools: * TestWebKitAPI/Tests/WTF/Packed.cpp: (TestWebKitAPI::TEST): Update to use OS_CONSTANT. Canonical link: https://commits.webkit.org/219580@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-21 04:01:50 +00:00
#if !defined(ENABLE_UDIS86) && ENABLE(JIT) && CPU(X86_64) && !USE(CAPSTONE)
#define ENABLE_UDIS86 1
#endif
Platform.h is out of control Part 8: Macros are used inconsistently https://bugs.webkit.org/show_bug.cgi?id=206425 Reviewed by Darin Adler. Source/bmalloc: * bmalloc/BPlatform.h: Update OS_EFFECTIVE_ADDRESS_WIDTH to match WTF definition, add needed OS macros. Source/JavaScriptCore: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): (JSC::ARM64Assembler::xOrSp): (JSC::ARM64Assembler::xOrZr): * assembler/ARM64Registers.h: * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/ARMv7Registers.h: * assembler/AssemblerCommon.h: (JSC::isDarwin): * b3/air/AirCCallingConvention.cpp: * jit/ExecutableAllocator.h: * jit/ThunkGenerators.cpp: * jsc.cpp: * runtime/MathCommon.cpp: Use OS(DARWIN) more consistently for darwin level functionality. * bytecode/CodeOrigin.h: * runtime/JSString.h: Update to use OS_CONSTANT. * disassembler/ARM64/A64DOpcode.cpp: * disassembler/ARM64Disassembler.cpp: * disassembler/UDis86Disassembler.cpp: * disassembler/UDis86Disassembler.h: * disassembler/X86Disassembler.cpp: * disassembler/udis86/udis86.c: * disassembler/udis86/udis86_decode.c: * disassembler/udis86/udis86_itab_holder.c: * disassembler/udis86/udis86_syn-att.c: * disassembler/udis86/udis86_syn-intel.c: * disassembler/udis86/udis86_syn.c: * interpreter/Interpreter.cpp: * interpreter/Interpreter.h: * interpreter/InterpreterInlines.h: (JSC::Interpreter::getOpcodeID): * llint/LowLevelInterpreter.cpp: * tools/SigillCrashAnalyzer.cpp: Switch to using ENABLE rather than USE for features internal to WebKit Source/WTF: Start addressing FIXMEs added to Platform.h (and helper files) during previous cleanup work. - Renames WTF_CPU_EFFECTIVE_ADDRESS_WIDTH to WTF_OS_CONSTANT_EFFECTIVE_ADDRESS_WIDTH, making it available via new macro OS_CONSTANT(...), and syncs bmalloc redefinition. - Renames: USE_LLINT_EMBEDDED_OPCODE_ID to ENABLE_LLINT_EMBEDDED_OPCODE_ID USE_UDIS86 to ENABLE_UDIS86 USE_ARM64_DISASSEMBLER to ENABLE_ARM64_DISASSEMBLER Enable is more appropriate here as these enable functionality within webkit. - Removes undefs that are no longer needed due to only defining the macro once now. - Removes dead defined(__LP64__) check after PLATFORM(MAC) macOS is always 64-bit these days. * wtf/Packed.h: (WTF::alignof): * wtf/Platform.h: * wtf/PlatformEnable.h: * wtf/PlatformOS.h: * wtf/WTFAssertions.cpp: * wtf/text/StringCommon.h: Tools: * TestWebKitAPI/Tests/WTF/Packed.cpp: (TestWebKitAPI::TEST): Update to use OS_CONSTANT. Canonical link: https://commits.webkit.org/219580@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-21 04:01:50 +00:00
#if !defined(ENABLE_ARM64_DISASSEMBLER) && ENABLE(JIT) && CPU(ARM64) && !USE(CAPSTONE)
#define ENABLE_ARM64_DISASSEMBLER 1
#endif
Platform.h is out of control Part 8: Macros are used inconsistently https://bugs.webkit.org/show_bug.cgi?id=206425 Reviewed by Darin Adler. Source/bmalloc: * bmalloc/BPlatform.h: Update OS_EFFECTIVE_ADDRESS_WIDTH to match WTF definition, add needed OS macros. Source/JavaScriptCore: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): (JSC::ARM64Assembler::xOrSp): (JSC::ARM64Assembler::xOrZr): * assembler/ARM64Registers.h: * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/ARMv7Registers.h: * assembler/AssemblerCommon.h: (JSC::isDarwin): * b3/air/AirCCallingConvention.cpp: * jit/ExecutableAllocator.h: * jit/ThunkGenerators.cpp: * jsc.cpp: * runtime/MathCommon.cpp: Use OS(DARWIN) more consistently for darwin level functionality. * bytecode/CodeOrigin.h: * runtime/JSString.h: Update to use OS_CONSTANT. * disassembler/ARM64/A64DOpcode.cpp: * disassembler/ARM64Disassembler.cpp: * disassembler/UDis86Disassembler.cpp: * disassembler/UDis86Disassembler.h: * disassembler/X86Disassembler.cpp: * disassembler/udis86/udis86.c: * disassembler/udis86/udis86_decode.c: * disassembler/udis86/udis86_itab_holder.c: * disassembler/udis86/udis86_syn-att.c: * disassembler/udis86/udis86_syn-intel.c: * disassembler/udis86/udis86_syn.c: * interpreter/Interpreter.cpp: * interpreter/Interpreter.h: * interpreter/InterpreterInlines.h: (JSC::Interpreter::getOpcodeID): * llint/LowLevelInterpreter.cpp: * tools/SigillCrashAnalyzer.cpp: Switch to using ENABLE rather than USE for features internal to WebKit Source/WTF: Start addressing FIXMEs added to Platform.h (and helper files) during previous cleanup work. - Renames WTF_CPU_EFFECTIVE_ADDRESS_WIDTH to WTF_OS_CONSTANT_EFFECTIVE_ADDRESS_WIDTH, making it available via new macro OS_CONSTANT(...), and syncs bmalloc redefinition. - Renames: USE_LLINT_EMBEDDED_OPCODE_ID to ENABLE_LLINT_EMBEDDED_OPCODE_ID USE_UDIS86 to ENABLE_UDIS86 USE_ARM64_DISASSEMBLER to ENABLE_ARM64_DISASSEMBLER Enable is more appropriate here as these enable functionality within webkit. - Removes undefs that are no longer needed due to only defining the macro once now. - Removes dead defined(__LP64__) check after PLATFORM(MAC) macOS is always 64-bit these days. * wtf/Packed.h: (WTF::alignof): * wtf/Platform.h: * wtf/PlatformEnable.h: * wtf/PlatformOS.h: * wtf/WTFAssertions.cpp: * wtf/text/StringCommon.h: Tools: * TestWebKitAPI/Tests/WTF/Packed.cpp: (TestWebKitAPI::TEST): Update to use OS_CONSTANT. Canonical link: https://commits.webkit.org/219580@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-21 04:01:50 +00:00
#if !defined(ENABLE_DISASSEMBLER) && (ENABLE(UDIS86) || ENABLE(ARM64_DISASSEMBLER) || (ENABLE(JIT) && USE(CAPSTONE)))
#define ENABLE_DISASSEMBLER 1
#endif
#if !defined(ENABLE_DFG_JIT) && ENABLE(JIT)
/* Enable the DFG JIT on X86 and X86_64. */
#if CPU(X86_64) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(HAIKU) || OS(HURD) || OS(WINDOWS))
#define ENABLE_DFG_JIT 1
#endif
/* Enable the DFG JIT on ARMv7. Only tested on iOS, Linux, and FreeBSD. */
#if (CPU(ARM_THUMB2) || CPU(ARM64)) && (OS(DARWIN) || OS(LINUX) || OS(HAIKU) || OS(FREEBSD))
#define ENABLE_DFG_JIT 1
#endif
Platform.h is out of control Part 8: Macros are used inconsistently https://bugs.webkit.org/show_bug.cgi?id=206425 Reviewed by Darin Adler. Source/bmalloc: * bmalloc/BPlatform.h: Update OS_EFFECTIVE_ADDRESS_WIDTH to match WTF definition, add needed OS macros. Source/JavaScriptCore: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): (JSC::ARM64Assembler::xOrSp): (JSC::ARM64Assembler::xOrZr): * assembler/ARM64Registers.h: * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/ARMv7Registers.h: * assembler/AssemblerCommon.h: (JSC::isDarwin): * b3/air/AirCCallingConvention.cpp: * jit/ExecutableAllocator.h: * jit/ThunkGenerators.cpp: * jsc.cpp: * runtime/MathCommon.cpp: Use OS(DARWIN) more consistently for darwin level functionality. * bytecode/CodeOrigin.h: * runtime/JSString.h: Update to use OS_CONSTANT. * disassembler/ARM64/A64DOpcode.cpp: * disassembler/ARM64Disassembler.cpp: * disassembler/UDis86Disassembler.cpp: * disassembler/UDis86Disassembler.h: * disassembler/X86Disassembler.cpp: * disassembler/udis86/udis86.c: * disassembler/udis86/udis86_decode.c: * disassembler/udis86/udis86_itab_holder.c: * disassembler/udis86/udis86_syn-att.c: * disassembler/udis86/udis86_syn-intel.c: * disassembler/udis86/udis86_syn.c: * interpreter/Interpreter.cpp: * interpreter/Interpreter.h: * interpreter/InterpreterInlines.h: (JSC::Interpreter::getOpcodeID): * llint/LowLevelInterpreter.cpp: * tools/SigillCrashAnalyzer.cpp: Switch to using ENABLE rather than USE for features internal to WebKit Source/WTF: Start addressing FIXMEs added to Platform.h (and helper files) during previous cleanup work. - Renames WTF_CPU_EFFECTIVE_ADDRESS_WIDTH to WTF_OS_CONSTANT_EFFECTIVE_ADDRESS_WIDTH, making it available via new macro OS_CONSTANT(...), and syncs bmalloc redefinition. - Renames: USE_LLINT_EMBEDDED_OPCODE_ID to ENABLE_LLINT_EMBEDDED_OPCODE_ID USE_UDIS86 to ENABLE_UDIS86 USE_ARM64_DISASSEMBLER to ENABLE_ARM64_DISASSEMBLER Enable is more appropriate here as these enable functionality within webkit. - Removes undefs that are no longer needed due to only defining the macro once now. - Removes dead defined(__LP64__) check after PLATFORM(MAC) macOS is always 64-bit these days. * wtf/Packed.h: (WTF::alignof): * wtf/Platform.h: * wtf/PlatformEnable.h: * wtf/PlatformOS.h: * wtf/WTFAssertions.cpp: * wtf/text/StringCommon.h: Tools: * TestWebKitAPI/Tests/WTF/Packed.cpp: (TestWebKitAPI::TEST): Update to use OS_CONSTANT. Canonical link: https://commits.webkit.org/219580@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-21 04:01:50 +00:00
/* Enable the DFG JIT on MIPS. */
#if CPU(MIPS)
#define ENABLE_DFG_JIT 1
#endif
#endif /* !defined(ENABLE_DFG_JIT) && ENABLE(JIT) */
/* Concurrent JS only works on 64-bit platforms because it requires that
values get stored to atomically. This is trivially true on 64-bit platforms,
but not true at all on 32-bit platforms where values are composed of two
separate sub-values. */
#if ENABLE(JIT) && USE(JSVALUE64)
#define ENABLE_CONCURRENT_JS 1
#endif
#if (CPU(X86_64) || CPU(ARM64)) && HAVE(FAST_TLS)
#define ENABLE_FAST_TLS_JIT 1
#endif
/* FIXME: This should be turned into an #error invariant */
/* If the baseline jit is not available, then disable upper tiers as well. */
#if !ENABLE(JIT)
#undef ENABLE_DFG_JIT
#undef ENABLE_FTL_JIT
#define ENABLE_DFG_JIT 0
#define ENABLE_FTL_JIT 0
#endif
/* FIXME: This should be turned into an #error invariant */
/* If the DFG jit is not available, then disable upper tiers as well: */
#if !ENABLE(DFG_JIT)
#undef ENABLE_FTL_JIT
#define ENABLE_FTL_JIT 0
#endif
/* This controls whether B3 is built. B3 is needed for FTL JIT and WebAssembly */
#if ENABLE(FTL_JIT)
#define ENABLE_B3_JIT 1
#endif
#if !defined(ENABLE_WEBASSEMBLY) && (ENABLE(B3_JIT) && PLATFORM(COCOA) && CPU(ADDRESS64))
#define ENABLE_WEBASSEMBLY 1
[JSC] Allow to build WebAssembly without B3 https://bugs.webkit.org/show_bug.cgi?id=220365 Patch by Xan Lopez <xan@igalia.com> on 2021-01-23 Reviewed by Yusuke Suzuki. .: Make the WebAssembly feature depend on Baseline JIT, not B3 JIT. Also add a WEBASSEMBLY_B3JIT feature to enable or disable the B3 tier in WebAssembly. * Source/cmake/WebKitFeatures.cmake: disable on 32bit. Source/JavaScriptCore: Make all the B3 related code in WebAssembly a compile-time option. When disabled WebAssembly will only use its LLInt tier. * llint/LLIntOfflineAsmConfig.h: define WEBASSEMBLY_B3JIT for the offline assembler. * llint/WebAssembly.asm: guard B3 code inside WEBASSEMBLY_B3JTI ifdefs. * wasm/WasmAirIRGenerator.cpp: ditto. * wasm/WasmAirIRGenerator.h: ditto. * wasm/WasmB3IRGenerator.cpp: ditto. * wasm/WasmB3IRGenerator.h: ditto. * wasm/WasmBBQPlan.cpp: ditto. * wasm/WasmBBQPlan.h: ditto. * wasm/WasmCallee.h: ditto. * wasm/WasmCodeBlock.cpp: (JSC::Wasm::CodeBlock::CodeBlock): ditto. * wasm/WasmCodeBlock.h: (JSC::Wasm::CodeBlock::wasmEntrypointCalleeFromFunctionIndexSpace): ditto. * wasm/WasmLLIntGenerator.h: ditto. * wasm/WasmLLIntPlan.cpp: ditto. * wasm/WasmOMGForOSREntryPlan.cpp: ditto. * wasm/WasmOMGForOSREntryPlan.h: ditto. * wasm/WasmOMGPlan.cpp: ditto. * wasm/WasmOMGPlan.h: ditto. * wasm/WasmOSREntryData.h: ditto. * wasm/WasmOperations.cpp: ditto. * wasm/WasmOperations.h: ditto. * wasm/WasmPlan.cpp: ditto. * wasm/WasmPlan.h: ditto. * wasm/WasmSlowPaths.cpp: ditto. * wasm/WasmSlowPaths.h: ditto. * wasm/WasmThunks.cpp: ditto. * wasm/WasmThunks.h: ditto. * wasm/WasmTierUpCount.cpp: ditto. * wasm/WasmTierUpCount.h: ditto. * wasm/generateWasmOpsHeader.py: ditto. Source/WTF: * wtf/PlatformEnable.h: Disable WebAssembly on 32bit platforms, enable WebAssembly B3JIT on PLATFORM(COCOA). Tools: * Scripts/webkitperl/FeatureList.pm: add WebAssembly B3 JIT option. Canonical link: https://commits.webkit.org/233281@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-01-23 12:32:22 +00:00
#define ENABLE_WEBASSEMBLY_B3JIT 1
#endif
/* The SamplingProfiler is the probabilistic and low-overhead profiler used by
* JSC to measure where time is spent inside a JavaScript program.
* In configurations other than Windows and Darwin, because layout of mcontext_t depends on standard libraries (like glibc),
* sampling profiler is enabled if WebKit uses pthreads and glibc. */
#if !defined(ENABLE_SAMPLING_PROFILER) && (!ENABLE(C_LOOP) && (OS(WINDOWS) || HAVE(MACHINE_CONTEXT)))
#define ENABLE_SAMPLING_PROFILER 1
#endif
#if ENABLE(WEBASSEMBLY) && HAVE(MACHINE_CONTEXT)
Unreviewed, relanding r269940 https://bugs.webkit.org/show_bug.cgi?id=219076 JSTests: * wasm/function-tests/trap-load-shared.js: Added. (wasmFrameCountFromError): * wasm/function-tests/trap-store-shared.js: Added. * wasm/js-api/test_memory.js: (binaryShouldNotParse): * wasm/stress/shared-memory-errors.js: Added. (assert.throws): * wasm/stress/shared-wasm-memory-buffer.js: Added. LayoutTests/imported/w3c: * web-platform-tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-success.any.worker-expected.txt: * web-platform-tests/wasm/jsapi/memory/constructor-shared.tentative.any-expected.txt: * web-platform-tests/wasm/jsapi/memory/constructor-shared.tentative.any.worker-expected.txt: * web-platform-tests/wasm/jsapi/memory/constructor.any-expected.txt: * web-platform-tests/wasm/jsapi/memory/constructor.any.worker-expected.txt: * web-platform-tests/wasm/jsapi/memory/grow.any-expected.txt: * web-platform-tests/wasm/jsapi/memory/grow.any.worker-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-audiobuffer-interface/audiobuffer-copy-channel-expected.txt: Source/JavaScriptCore: ARM64E clang optimizer is broken and optimizing forever if Wasm::MemoryHandle::memory() is inlined. Putting NEVER_INLINE onto this function for now (unfortunate). * CMakeLists.txt: * JavaScriptCore.xcodeproj/project.pbxproj: * llint/LLIntPCRanges.h: (JSC::LLInt::isWasmLLIntPC): * llint/LowLevelInterpreter.asm: * llint/WebAssembly.asm: * runtime/JSArrayBuffer.h: (JSC::JSArrayBuffer::toWrappedAllowShared): * runtime/JSArrayBufferView.h: * runtime/JSArrayBufferViewInlines.h: (JSC::JSArrayBufferView::toWrappedAllowShared): * runtime/JSGenericTypedArrayView.h: (JSC::JSGenericTypedArrayView<Adaptor>::toWrappedAllowShared): * runtime/Options.cpp: (JSC::overrideDefaults): (JSC::Options::initialize): * wasm/WasmAirIRGenerator.cpp: (JSC::Wasm::AirIRGenerator::AirIRGenerator): (JSC::Wasm::AirIRGenerator::restoreWebAssemblyGlobalState): (JSC::Wasm::AirIRGenerator::addCurrentMemory): (JSC::Wasm::AirIRGenerator::emitCheckAndPreparePointer): (JSC::Wasm::AirIRGenerator::addCall): (JSC::Wasm::AirIRGenerator::addCallIndirect): * wasm/WasmB3IRGenerator.cpp: (JSC::Wasm::B3IRGenerator::B3IRGenerator): (JSC::Wasm::B3IRGenerator::restoreWebAssemblyGlobalState): (JSC::Wasm::B3IRGenerator::addCurrentMemory): (JSC::Wasm::B3IRGenerator::emitCheckAndPreparePointer): (JSC::Wasm::B3IRGenerator::addCall): (JSC::Wasm::B3IRGenerator::addCallIndirect): * wasm/WasmBinding.cpp: (JSC::Wasm::wasmToWasm): * wasm/WasmFaultSignalHandler.cpp: (JSC::Wasm::trapHandler): (JSC::Wasm::enableFastMemory): (JSC::Wasm::prepareFastMemory): * wasm/WasmInstance.h: (JSC::Wasm::Instance::cachedMemory const): (JSC::Wasm::Instance::cachedBoundsCheckingSize const): (JSC::Wasm::Instance::updateCachedMemory): (JSC::Wasm::Instance::offsetOfCachedBoundsCheckingSize): (JSC::Wasm::Instance::cachedMemorySize const): Deleted. (JSC::Wasm::Instance::offsetOfCachedMemorySize): Deleted. * wasm/WasmMemory.cpp: (JSC::Wasm::MemoryHandle::MemoryHandle): (JSC::Wasm::MemoryHandle::~MemoryHandle): (JSC::Wasm::MemoryHandle::memory const): (JSC::Wasm::Memory::Memory): (JSC::Wasm::Memory::create): (JSC::Wasm::Memory::tryCreate): (JSC::Wasm::Memory::addressIsInGrowableOrFastMemory): (JSC::Wasm::Memory::growShared): (JSC::Wasm::Memory::grow): (JSC::Wasm::Memory::dump const): (JSC::Wasm::Memory::~Memory): Deleted. (JSC::Wasm::Memory::addressIsInActiveFastMemory): Deleted. * wasm/WasmMemory.h: (JSC::Wasm::Memory::addressIsInGrowableOrFastMemory): (JSC::Wasm::Memory::operator bool const): Deleted. (JSC::Wasm::Memory::memory const): Deleted. (JSC::Wasm::Memory::size const): Deleted. (JSC::Wasm::Memory::sizeInPages const): Deleted. (JSC::Wasm::Memory::initial const): Deleted. (JSC::Wasm::Memory::maximum const): Deleted. (JSC::Wasm::Memory::mode const): Deleted. (JSC::Wasm::Memory::check): Deleted. (JSC::Wasm::Memory::offsetOfMemory): Deleted. (JSC::Wasm::Memory::offsetOfSize): Deleted. (JSC::Wasm::Memory::addressIsInActiveFastMemory): Deleted. * wasm/WasmMemoryInformation.cpp: (JSC::Wasm::PinnedRegisterInfo::get): (JSC::Wasm::PinnedRegisterInfo::PinnedRegisterInfo): * wasm/WasmMemoryInformation.h: (JSC::Wasm::PinnedRegisterInfo::toSave const): * wasm/WasmMemoryMode.cpp: (JSC::Wasm::makeString): * wasm/WasmMemoryMode.h: * wasm/js/JSToWasm.cpp: (JSC::Wasm::createJSToWasmWrapper): * wasm/js/JSWebAssemblyInstance.cpp: (JSC::JSWebAssemblyInstance::tryCreate): * wasm/js/JSWebAssemblyMemory.cpp: (JSC::JSWebAssemblyMemory::buffer): (JSC::JSWebAssemblyMemory::growSuccessCallback): * wasm/js/JSWebAssemblyMemory.h: * wasm/js/WebAssemblyFunction.cpp: (JSC::WebAssemblyFunction::jsCallEntrypointSlow): * wasm/js/WebAssemblyMemoryConstructor.cpp: (JSC::JSC_DEFINE_HOST_FUNCTION): * wasm/js/WebAssemblyMemoryPrototype.cpp: (JSC::JSC_DEFINE_HOST_FUNCTION): * wasm/js/WebAssemblyModuleRecord.cpp: (JSC::WebAssemblyModuleRecord::evaluate): Source/WebCore: Tests: js/dom/webassembly-memory-normal-fail.html js/dom/webassembly-memory-shared-basic.html js/dom/webassembly-memory-shared-fail.html storage/indexeddb/shared-memory-structured-clone.html * Headers.cmake: * Modules/indexeddb/server/IDBSerializationContext.cpp: (WebCore::IDBServer::IDBSerializationContext::initializeVM): * WebCore.xcodeproj/project.pbxproj: * bindings/IDLTypes.h: * bindings/js/CommonVM.cpp: (WebCore::commonVMSlow): * bindings/js/JSDOMConvertBufferSource.h: (WebCore::Detail::BufferSourceConverter::convert): (WebCore::Converter<IDLArrayBuffer>::convert): (WebCore::Converter<IDLDataView>::convert): (WebCore::Converter<IDLInt8Array>::convert): (WebCore::Converter<IDLInt16Array>::convert): (WebCore::Converter<IDLInt32Array>::convert): (WebCore::Converter<IDLUint8Array>::convert): (WebCore::Converter<IDLUint16Array>::convert): (WebCore::Converter<IDLUint32Array>::convert): (WebCore::Converter<IDLUint8ClampedArray>::convert): (WebCore::Converter<IDLFloat32Array>::convert): (WebCore::Converter<IDLFloat64Array>::convert): (WebCore::Converter<IDLArrayBufferView>::convert): (WebCore::Converter<IDLAllowSharedAdaptor<T>>::convert): * bindings/js/JSDOMConvertUnion.h: * bindings/js/SerializedScriptValue.cpp: (WebCore::CloneSerializer::serialize): (WebCore::CloneSerializer::CloneSerializer): (WebCore::CloneSerializer::dumpIfTerminal): (WebCore::CloneDeserializer::deserialize): (WebCore::CloneDeserializer::CloneDeserializer): (WebCore::CloneDeserializer::readTerminal): (WebCore::SerializedScriptValue::SerializedScriptValue): (WebCore::SerializedScriptValue::computeMemoryCost const): (WebCore::SerializedScriptValue::create): (WebCore::SerializedScriptValue::deserialize): * bindings/js/SerializedScriptValue.h: * bindings/js/WebCoreJSClientData.cpp: (WebCore::JSVMClientData::initNormalWorld): * bindings/js/WebCoreJSClientData.h: * bindings/js/WebCoreTypedArrayController.cpp: (WebCore::WebCoreTypedArrayController::WebCoreTypedArrayController): (WebCore::WebCoreTypedArrayController::isAtomicsWaitAllowedOnCurrentThread): * bindings/js/WebCoreTypedArrayController.h: * bindings/scripts/CodeGeneratorJS.pm: (IsAnnotatedType): (GetAnnotatedIDLType): * bindings/scripts/IDLAttributes.json: * bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::JSTestObjDOMConstructor::construct): (WebCore::jsTestObjPrototypeFunction_encodeIntoBody): (WebCore::JSC_DEFINE_HOST_FUNCTION): * bindings/scripts/test/TestObj.idl: * dom/TextDecoder.idl: * dom/TextDecoderStreamDecoder.idl: * dom/TextEncoder.idl: * workers/DedicatedWorkerGlobalScope.cpp: (WebCore::DedicatedWorkerGlobalScope::DedicatedWorkerGlobalScope): * workers/WorkerGlobalScope.cpp: (WebCore::WorkerGlobalScope::WorkerGlobalScope): * workers/WorkerGlobalScope.h: * workers/WorkerOrWorkletGlobalScope.cpp: (WebCore::WorkerOrWorkletGlobalScope::WorkerOrWorkletGlobalScope): * workers/WorkerOrWorkletGlobalScope.h: * workers/WorkerOrWorkletScriptController.cpp: (WebCore::WorkerOrWorkletScriptController::WorkerOrWorkletScriptController): * workers/WorkerOrWorkletScriptController.h: * workers/WorkerThreadType.h: Added. * workers/service/ServiceWorkerGlobalScope.cpp: (WebCore::ServiceWorkerGlobalScope::ServiceWorkerGlobalScope): * worklets/WorkletGlobalScope.cpp: (WebCore::WorkletGlobalScope::WorkletGlobalScope): Source/WTF: * wtf/PlatformEnable.h: LayoutTests: * js/dom/resources/webassembly-memory-normal-fail-worker.js: Added. * js/dom/resources/webassembly-memory-shared-worker.js: Added. (onmessage): * js/dom/webassembly-memory-normal-fail-expected.txt: Added. * js/dom/webassembly-memory-normal-fail.html: Added. * js/dom/webassembly-memory-shared-basic-expected.txt: Added. * js/dom/webassembly-memory-shared-basic.html: Added. * js/dom/webassembly-memory-shared-fail-expected.txt: Added. * js/dom/webassembly-memory-shared-fail.html: Added. * platform/win/TestExpectations: * storage/indexeddb/resources/shared-memory-structured-clone.js: Added. (prepareDatabase): (async startTests): (testSharedWebAssemblyMemory): * storage/indexeddb/shared-memory-structured-clone-expected.txt: Added. * storage/indexeddb/shared-memory-structured-clone.html: Added. Canonical link: https://commits.webkit.org/231721@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-11-18 20:22:16 +00:00
#define ENABLE_WEBASSEMBLY_SIGNALING_MEMORY 1
#endif
/* Counts uses of write barriers using sampling counters. Be sure to also
set ENABLE_SAMPLING_COUNTERS to 1. */
#if !defined(ENABLE_WRITE_BARRIER_PROFILING)
#define ENABLE_WRITE_BARRIER_PROFILING 0
#endif
/* Logs all allocation-related activity that goes through fastMalloc or the
JSC GC (both cells and butterflies). Also logs marking. Note that this
isn't a completely accurate view of the heap since it doesn't include all
butterfly resize operations, doesn't tell you what is going on with weak
references (other than to tell you when they're marked), and doesn't
track direct mmap() allocations or things like JIT allocation. */
#if !defined(ENABLE_ALLOCATION_LOGGING)
#define ENABLE_ALLOCATION_LOGGING 0
#endif
/* Enable verification that that register allocations are not made within generated control flow.
Turned on for debug builds. */
#if !defined(ENABLE_DFG_REGISTER_ALLOCATION_VALIDATION) && ENABLE(DFG_JIT) && !defined(NDEBUG)
#define ENABLE_DFG_REGISTER_ALLOCATION_VALIDATION 1
#endif
/* Determine if we need to enable Computed Goto Opcodes or not: */
#if HAVE(COMPUTED_GOTO) || !ENABLE(C_LOOP)
#define ENABLE_COMPUTED_GOTO_OPCODES 1
#endif
/* Regular Expression Tracing - Set to 1 to trace RegExp's in jsc. Results dumped at exit */
#if !defined(ENABLE_REGEXP_TRACING)
#define ENABLE_REGEXP_TRACING 0
#endif
/* Yet Another Regex Runtime - turned on by default for JIT enabled ports. */
#if !defined(ENABLE_YARR_JIT) && ENABLE(JIT)
#define ENABLE_YARR_JIT 1
#endif
/* Setting this flag compares JIT results with interpreter results. */
#if !defined(ENABLE_YARR_JIT) && ENABLE(JIT)
#define ENABLE_YARR_JIT_DEBUG 0
#endif
/* Enable JIT'ing Regular Expressions that have nested parenthesis . */
#if ENABLE(YARR_JIT) && (CPU(ARM64) || (CPU(X86_64) && !OS(WINDOWS)))
#define ENABLE_YARR_JIT_ALL_PARENS_EXPRESSIONS 1
#endif
/* Enable JIT'ing Regular Expressions that have nested back references. */
#if ENABLE(YARR_JIT) && (CPU(ARM64) || (CPU(X86_64) && !OS(WINDOWS)))
#define ENABLE_YARR_JIT_BACKREFERENCES 1
#endif
#if CPU(ARM64) || CPU(X86_64)
#define ENABLE_YARR_JIT_UNICODE_EXPRESSIONS 1
#endif
/* If either the JIT or the RegExp JIT is enabled, then the Assembler must be
enabled as well: */
#if ENABLE(JIT) || ENABLE(YARR_JIT) || !ENABLE(C_LOOP)
#if defined(ENABLE_ASSEMBLER) && !ENABLE_ASSEMBLER
#error "Cannot enable the JIT or RegExp JIT without enabling the Assembler"
#else
#undef ENABLE_ASSEMBLER
#define ENABLE_ASSEMBLER 1
#endif
#endif
/* If the Disassembler is enabled, then the Assembler must be enabled as well: */
#if ENABLE(DISASSEMBLER)
#if defined(ENABLE_ASSEMBLER) && !ENABLE_ASSEMBLER
#error "Cannot enable the Disassembler without enabling the Assembler"
#else
#undef ENABLE_ASSEMBLER
#define ENABLE_ASSEMBLER 1
#endif
#endif
#if !defined(ENABLE_EXCEPTION_SCOPE_VERIFICATION)
#define ENABLE_EXCEPTION_SCOPE_VERIFICATION ASSERT_ENABLED
#endif
#if ENABLE(DFG_JIT) && HAVE(MACHINE_CONTEXT) && (CPU(X86_64) || CPU(ARM64))
#define ENABLE_SIGNAL_BASED_VM_TRAPS 1
#endif
Move some LLInt globals into JSC::Config. https://bugs.webkit.org/show_bug.cgi?id=216685 rdar://68964544 Reviewed by Keith Miller. Source/bmalloc: Introduce ConfigAlignment to match WTFConfig.h. Added BENABLE(UNIFIED_AND_FREEZABLE_CONFIG_RECORD) support to match WTF. * bmalloc/BPlatform.h: * bmalloc/Gigacage.cpp: (Gigacage::ensureGigacage): * bmalloc/GigacageConfig.h: * bmalloc/mbmalloc.cpp: Source/JavaScriptCore: 1. Moved the following into g_jscConfig: Data::s_exceptionInstructions ==> g_jscConfig.llint.exceptionInstructions Data::s_wasmExceptionInstructions ==> g_jscConfig.llint.wasmExceptionInstructions g_opcodeMap ==> g_jscConfig.llint.opcodeMap g_opcodeMapWide16 ==> g_jscConfig.llint.opcodeMapWide16 g_opcodeMapWide32 ==> g_jscConfig.llint.opcodeMapWide32 2. Fixed cloop.rb so that it can take an offset for the leap offlineasm instruction. 3. Fixed x86.rb so that it can take an offset for the leap offlineasm instruction. 4. Fixed arm.rb so that it can take an offset for the leap offlineasm instruction. Note: arm64.rb already does this right. 5. Added JSC::Config::singleton() to return a reference to g_jscConfig. This is useful when debugging with lldb since g_jscConfig is not an actual label, but is a macro that computes the address of the Config record. This patch has been smoke tested on arm64e, x86_64, and cloop (on x86_64 and armv7k). * llint/LLIntData.cpp: (JSC::LLInt::LLIntInitializeAssertScope::LLIntInitializeAssertScope): (JSC::LLInt::LLIntInitializeAssertScope::~LLIntInitializeAssertScope): (JSC::LLInt::LLIntInitializeAssertScope::assertInitializationIsAllowed): (JSC::LLInt::initialize): * llint/LLIntData.h: (JSC::LLInt::exceptionInstructions): (JSC::LLInt::wasmExceptionInstructions): (JSC::LLInt::opcodeMap): (JSC::LLInt::opcodeMapWide16): (JSC::LLInt::opcodeMapWide32): (JSC::LLInt::getOpcode): (JSC::LLInt::getOpcodeWide16): (JSC::LLInt::getOpcodeWide32): * llint/LowLevelInterpreter.asm: * llint/LowLevelInterpreter.cpp: * llint/LowLevelInterpreter64.asm: * llint/WebAssembly.asm: * offlineasm/arm.rb: * offlineasm/cloop.rb: * offlineasm/x86.rb: * runtime/JSCConfig.cpp: (JSC::Config::singleton): * runtime/JSCConfig.h: Source/WTF: 1. Introduce ConfigAlignment as a distinct value from ConfigSizeToProtect. This is because ConfigSizeToProtect is now larger than 1 CeilingOnPageSize on some platforms, but ConfigAlignment only needs to match CeilingOnPageSize. 2. Introduced ENABLE(UNIFIED_AND_FREEZABLE_CONFIG_RECORD) to disable using the unified g_config record for Windows ports. This is needed because WTF is built as a DLL on Windows. offlineasm does not know how to resolve a DLL exported variable. Additionally, the Windows ports have never supported freezing of the Config record to begin with. So, we're working around this by disabling ENABLE(UNIFIED_AND_FREEZABLE_CONFIG_RECORD) for Windows. This allows JSC to have its own g_jscConfig record, which solves this issue for now. * wtf/PlatformEnable.h: * wtf/WTFConfig.cpp: (WTF::Config::permanentlyFreeze): * wtf/WTFConfig.h: Canonical link: https://commits.webkit.org/229588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-21 22:01:12 +00:00
/* The unified Config record feature is not available for Windows because the
Windows port puts WTF in a separate DLL, and the offlineasm code accessing
the config record expects the config record to be directly accessible like
a global variable (and not have to go thru DLL shenanigans). C++ code would
resolve these DLL bindings automatically, but offlineasm does not.
The permanently freezing feature also currently relies on the Config records
being unified, and the Windows port also does not currently have an
implementation for the freezing mechanism anyway. For simplicity, we just
disable both the use of unified Config record and config freezing for the
Windows port.
*/
#if OS(WINDOWS)
#define ENABLE_UNIFIED_AND_FREEZABLE_CONFIG_RECORD 0
#else
#define ENABLE_UNIFIED_AND_FREEZABLE_CONFIG_RECORD 1
#endif
/* CSS Selector JIT Compiler */
#if !defined(ENABLE_CSS_SELECTOR_JIT) && ((CPU(X86_64) || CPU(ARM64) || (CPU(ARM_THUMB2) && OS(DARWIN))) && ENABLE(JIT) && (OS(DARWIN) || OS(HAIKU) || PLATFORM(GTK) || PLATFORM(WPE)))
#define ENABLE_CSS_SELECTOR_JIT 1
#endif
#if CPU(ARM_THUMB2) || CPU(ARM64)
#define ENABLE_BRANCH_COMPACTION 1
#endif
#if !defined(ENABLE_THREADING_LIBDISPATCH) && HAVE(DISPATCH_H)
#define ENABLE_THREADING_LIBDISPATCH 1
#elif !defined(ENABLE_THREADING_OPENMP) && defined(_OPENMP)
#define ENABLE_THREADING_OPENMP 1
#elif !defined(THREADING_GENERIC)
#define ENABLE_THREADING_GENERIC 1
#endif
#if !defined(ENABLE_GC_VALIDATION) && !defined(NDEBUG)
#define ENABLE_GC_VALIDATION 1
#endif
#if OS(DARWIN) && ENABLE(JIT) && USE(APPLE_INTERNAL_SDK) && CPU(ARM64E) && HAVE(JIT_CAGE) && !PLATFORM(MAC)
Make destination color space enumeration match supported destination color spaces for the port https://bugs.webkit.org/show_bug.cgi?id=225237 Reviewed by Simon Fraser. Add ENABLE_DESTINATION_COLOR_SPACE_LINEAR_SRGB and enabled it for all ports except the Apple Windows port, which is the only one doesn't have any support for it. Source/WebCore: Removes existing behavior of returning SRGB when LinearSRGB was requested in the Apple Windows port. Now, the callers are responisble for dealing with a ports lack of support of LinearSRGB, making it very clear at those call sites that something is different and wrong. * platform/graphics/Color.cpp: * platform/graphics/Color.h: * platform/graphics/ColorConversion.cpp: * platform/graphics/ColorConversion.h: Add new functions to perform color conversion to and from an color space denoted by the ColorSpace or DestinationColorSpace enum. Previously, we only had convient ways to convert if the color was strongly typed (and this is implemented using that mechanism). This is useful when converting for final ouput, such in as the caller in FELighting::drawLighting. * platform/graphics/cg/ColorSpaceCG.h: * platform/graphics/ColorSpace.cpp: * platform/graphics/ColorSpace.h: * platform/graphics/filters/FELighting.cpp: * platform/graphics/filters/FilterEffect.h: * rendering/CSSFilter.cpp: * rendering/svg/RenderSVGResourceFilter.cpp: * rendering/svg/RenderSVGResourceMasker.cpp: Wrap uses of DestinationColorSpace::LinearSRGB in ENABLE(DESTINATION_COLOR_SPACE_LINEAR_SRGB). Source/WTF: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: * wtf/PlatformEnableWinApple.h: Canonical link: https://commits.webkit.org/237221@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-01 18:06:08 +00:00
#define ENABLE_JIT_CAGE 1
#endif
#if OS(DARWIN) && CPU(ADDRESS64) && ENABLE(JIT) && (ENABLE(JIT_CAGE) || ASSERT_ENABLED)
#define ENABLE_JIT_OPERATION_VALIDATION 1
#endif
Implement some common Baseline JIT slow paths using JIT thunks. https://bugs.webkit.org/show_bug.cgi?id=225682 Reviewed by Filip Pizlo. Source/JavaScriptCore: This patch implements the following changes: 1. Implement exception handling thunks: a. handleExceptionGenerator, which calls operationLookupExceptionHandler(). b. handleExceptionWithCallFrameRollbackGenerator, which calls operationLookupExceptionHandlerFromCallerFrame(). All the JIT tiers were emitting their own copy of these routines to call these operation, one per CodeBlock. We now emit 2 thunks for these and have all the tiers just jump to them. PolymorphicAccess also now uses the handleExceptionGenerator thunk. DFG::JITCompiler::compileExceptionHandlers() has one small behavior difference before it calls operationLookupExceptionHandlerFromCallerFrame(): it first re-sets the top of stack for the function where we are about to throw a StackOverflowError from. This re-setting of top of stack is useless because we're imminently unwinding out of at least this frame for the StackOverflowError. Hence, it is ok to use the handleExceptionWithCallFrameRollbackGenerator thunk here as well. Note that no other tiers does this re-setting of top of stack. FTLLowerDFGToB3 has one case using operationLookupExceptionHandlerFromCallerFrame() which cannot be refactored to use these thunks because it does additional work to throw a StackOverflowError. A different thunk will be needed. I left it alone for now. 2. Introduce JITThunks::existingCTIStub(ThunkGenerator, NoLockingNecessaryTag) so that a thunk can get a pointer to another thunk without locking the JITThunks lock. Otherwise, deadlock ensues. 3. Change SlowPathCall to emit and use thunks instead of emitting a blob of code to call a slow path function for every bytecode in a CodeBlock. 4. Introduce JITThunks::ctiSlowPathFunctionStub() to manage these SlowPathFunction thunks. 5. Introduce JITThunks::preinitializeAggressiveCTIThunks() to initialize these thunks at VM initialization time. Pre-initializing them has multiple benefits: a. the thunks are not scattered through out JIT memory, thereby reducing fragmentation. b. we don't spend time at runtime compiling them when the user is interacting with the VM. Conceptually, these thunks can be VM independent and can be shared by VMs process-wide. However, it will require some additional work. For now, the thunks remain bound to a specific VM instance. These changes are only enabled when ENABLE(EXTRA_CTI_THUNKS), which is currently only available for ARM64 and non-Windows x86_64. This patch has passed JSC tests on AS Mac. With this patch, --dumpLinkBufferStats shows the following changes in emitted JIT code size (using a single run of the CLI version of JetStream2 on AS Mac): Base New Diff BaselineJIT: 89089964 (84.962811 MB) 84624776 (80.704475 MB) 0.95x (reduction) DFG: 39117360 (37.305222 MB) 36415264 (34.728302 MB) 0.93x (reduction) Thunk: 23230968 (22.154778 MB) 23130336 (22.058807 MB) 1.00x InlineCache: 22027416 (21.006981 MB) 21969728 (20.951965 MB) 1.00x FTL: 6575772 (6.271145 MB) 6097336 (5.814873 MB) 0.93x (reduction) Wasm: 2302724 (2.196049 MB) 2301956 (2.195316 MB) 1.00x YarrJIT: 1538956 (1.467663 MB) 1522488 (1.451958 MB) 0.99x CSSJIT: 0 0 Uncategorized: 0 0 * CMakeLists.txt: * JavaScriptCore.xcodeproj/project.pbxproj: * Sources.txt: * bytecode/CodeBlock.h: (JSC::CodeBlock::offsetOfInstructionsRawPointer): * bytecode/PolymorphicAccess.cpp: (JSC::AccessGenerationState::emitExplicitExceptionHandler): * dfg/DFGJITCompiler.cpp: (JSC::DFG::JITCompiler::compileExceptionHandlers): (JSC::DFG::JITCompiler::link): * dfg/DFGJITCompiler.h: * ftl/FTLCompile.cpp: (JSC::FTL::compile): * ftl/FTLLink.cpp: (JSC::FTL::link): * jit/JIT.cpp: (JSC::JIT::link): (JSC::JIT::privateCompileExceptionHandlers): * jit/JIT.h: * jit/JITThunks.cpp: (JSC::JITThunks::existingCTIStub): (JSC::JITThunks::ctiSlowPathFunctionStub): (JSC::JITThunks::preinitializeExtraCTIThunks): * jit/JITThunks.h: * jit/SlowPathCall.cpp: Added. (JSC::JITSlowPathCall::call): (JSC::JITSlowPathCall::generateThunk): * jit/SlowPathCall.h: * jit/ThunkGenerators.cpp: (JSC::handleExceptionGenerator): (JSC::handleExceptionWithCallFrameRollbackGenerator): (JSC::popThunkStackPreservesAndHandleExceptionGenerator): * jit/ThunkGenerators.h: * runtime/CommonSlowPaths.h: * runtime/SlowPathFunction.h: Added. * runtime/VM.cpp: (JSC::VM::VM): Source/WTF: Introduce ENABLE(EXTRA_CTI_THUNKS) flag to guard the use of these new thunks. Currently, the thunks are 64-bit only, and only supported for ARM64 and non-Windows X86_64. The reason it is not supported for Windows as well is because Windows only has 4 argument registers. In this patch, the thunks do not use that many registers yet, but there will be more thunks coming that will require the use of up to 6 argument registers. * wtf/PlatformEnable.h: Canonical link: https://commits.webkit.org/237639@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-12 19:11:25 +00:00
#if CPU(ARM64) || (CPU(X86_64) && !OS(WINDOWS))
/* The implementation of these thunks can use up to 6 argument registers, and
make use of ARM64 like features. For now, we'll only support them on platforms
that have 6 or more argument registers to use.
*/
#define ENABLE_EXTRA_CTI_THUNKS 1
#endif
#if !defined(ENABLE_BINDING_INTEGRITY) && !OS(WINDOWS)
#define ENABLE_BINDING_INTEGRITY 1
#endif
#if !defined(ENABLE_TREE_DEBUGGING) && !defined(NDEBUG)
#define ENABLE_TREE_DEBUGGING 1
#endif
Platform.h is out of control Part 8: Macros are used inconsistently https://bugs.webkit.org/show_bug.cgi?id=206425 Reviewed by Darin Adler. Source/bmalloc: * bmalloc/BPlatform.h: Update OS_EFFECTIVE_ADDRESS_WIDTH to match WTF definition, add needed OS macros. Source/JavaScriptCore: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): (JSC::ARM64Assembler::xOrSp): (JSC::ARM64Assembler::xOrZr): * assembler/ARM64Registers.h: * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/ARMv7Registers.h: * assembler/AssemblerCommon.h: (JSC::isDarwin): * b3/air/AirCCallingConvention.cpp: * jit/ExecutableAllocator.h: * jit/ThunkGenerators.cpp: * jsc.cpp: * runtime/MathCommon.cpp: Use OS(DARWIN) more consistently for darwin level functionality. * bytecode/CodeOrigin.h: * runtime/JSString.h: Update to use OS_CONSTANT. * disassembler/ARM64/A64DOpcode.cpp: * disassembler/ARM64Disassembler.cpp: * disassembler/UDis86Disassembler.cpp: * disassembler/UDis86Disassembler.h: * disassembler/X86Disassembler.cpp: * disassembler/udis86/udis86.c: * disassembler/udis86/udis86_decode.c: * disassembler/udis86/udis86_itab_holder.c: * disassembler/udis86/udis86_syn-att.c: * disassembler/udis86/udis86_syn-intel.c: * disassembler/udis86/udis86_syn.c: * interpreter/Interpreter.cpp: * interpreter/Interpreter.h: * interpreter/InterpreterInlines.h: (JSC::Interpreter::getOpcodeID): * llint/LowLevelInterpreter.cpp: * tools/SigillCrashAnalyzer.cpp: Switch to using ENABLE rather than USE for features internal to WebKit Source/WTF: Start addressing FIXMEs added to Platform.h (and helper files) during previous cleanup work. - Renames WTF_CPU_EFFECTIVE_ADDRESS_WIDTH to WTF_OS_CONSTANT_EFFECTIVE_ADDRESS_WIDTH, making it available via new macro OS_CONSTANT(...), and syncs bmalloc redefinition. - Renames: USE_LLINT_EMBEDDED_OPCODE_ID to ENABLE_LLINT_EMBEDDED_OPCODE_ID USE_UDIS86 to ENABLE_UDIS86 USE_ARM64_DISASSEMBLER to ENABLE_ARM64_DISASSEMBLER Enable is more appropriate here as these enable functionality within webkit. - Removes undefs that are no longer needed due to only defining the macro once now. - Removes dead defined(__LP64__) check after PLATFORM(MAC) macOS is always 64-bit these days. * wtf/Packed.h: (WTF::alignof): * wtf/Platform.h: * wtf/PlatformEnable.h: * wtf/PlatformOS.h: * wtf/WTFAssertions.cpp: * wtf/text/StringCommon.h: Tools: * TestWebKitAPI/Tests/WTF/Packed.cpp: (TestWebKitAPI::TEST): Update to use OS_CONSTANT. Canonical link: https://commits.webkit.org/219580@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-21 04:01:50 +00:00
#if !defined(ENABLE_OPENTYPE_VERTICAL) && PLATFORM(GTK) || PLATFORM(WPE)
#define ENABLE_OPENTYPE_VERTICAL 1
#endif
Platform.h is out of control Part 8: Macros are used inconsistently https://bugs.webkit.org/show_bug.cgi?id=206425 Reviewed by Darin Adler. Source/bmalloc: * bmalloc/BPlatform.h: Update OS_EFFECTIVE_ADDRESS_WIDTH to match WTF definition, add needed OS macros. Source/JavaScriptCore: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): (JSC::ARM64Assembler::xOrSp): (JSC::ARM64Assembler::xOrZr): * assembler/ARM64Registers.h: * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/ARMv7Registers.h: * assembler/AssemblerCommon.h: (JSC::isDarwin): * b3/air/AirCCallingConvention.cpp: * jit/ExecutableAllocator.h: * jit/ThunkGenerators.cpp: * jsc.cpp: * runtime/MathCommon.cpp: Use OS(DARWIN) more consistently for darwin level functionality. * bytecode/CodeOrigin.h: * runtime/JSString.h: Update to use OS_CONSTANT. * disassembler/ARM64/A64DOpcode.cpp: * disassembler/ARM64Disassembler.cpp: * disassembler/UDis86Disassembler.cpp: * disassembler/UDis86Disassembler.h: * disassembler/X86Disassembler.cpp: * disassembler/udis86/udis86.c: * disassembler/udis86/udis86_decode.c: * disassembler/udis86/udis86_itab_holder.c: * disassembler/udis86/udis86_syn-att.c: * disassembler/udis86/udis86_syn-intel.c: * disassembler/udis86/udis86_syn.c: * interpreter/Interpreter.cpp: * interpreter/Interpreter.h: * interpreter/InterpreterInlines.h: (JSC::Interpreter::getOpcodeID): * llint/LowLevelInterpreter.cpp: * tools/SigillCrashAnalyzer.cpp: Switch to using ENABLE rather than USE for features internal to WebKit Source/WTF: Start addressing FIXMEs added to Platform.h (and helper files) during previous cleanup work. - Renames WTF_CPU_EFFECTIVE_ADDRESS_WIDTH to WTF_OS_CONSTANT_EFFECTIVE_ADDRESS_WIDTH, making it available via new macro OS_CONSTANT(...), and syncs bmalloc redefinition. - Renames: USE_LLINT_EMBEDDED_OPCODE_ID to ENABLE_LLINT_EMBEDDED_OPCODE_ID USE_UDIS86 to ENABLE_UDIS86 USE_ARM64_DISASSEMBLER to ENABLE_ARM64_DISASSEMBLER Enable is more appropriate here as these enable functionality within webkit. - Removes undefs that are no longer needed due to only defining the macro once now. - Removes dead defined(__LP64__) check after PLATFORM(MAC) macOS is always 64-bit these days. * wtf/Packed.h: (WTF::alignof): * wtf/Platform.h: * wtf/PlatformEnable.h: * wtf/PlatformOS.h: * wtf/WTFAssertions.cpp: * wtf/text/StringCommon.h: Tools: * TestWebKitAPI/Tests/WTF/Packed.cpp: (TestWebKitAPI::TEST): Update to use OS_CONSTANT. Canonical link: https://commits.webkit.org/219580@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-21 04:01:50 +00:00
#if !defined(ENABLE_OPENTYPE_MATH) && (OS(DARWIN) && USE(CG)) || (USE(FREETYPE) && !PLATFORM(GTK)) || (PLATFORM(WIN) && (USE(CG) || USE(CAIRO)))
#define ENABLE_OPENTYPE_MATH 1
#endif
Lazily generate CGPaths for some simple types of paths, such as arcs and lines https://bugs.webkit.org/show_bug.cgi?id=208464 <rdar://problem/59963226> Reviewed by Daniel Bates, Darin Adler and Tim Horton. Source/WebCore: When the GPU process is enabled and used to render the canvas element, some canvas-related subtests in MotionMark see significant performance regressions. One of the reasons for this is that in the process of decoding display list items that contain `WebCore::Path`s in the GPU process, we end up allocating a new CGPath for each WebCore::Path. This dramatically increases page demand and memory usage in the GPU process in contrast to shipping WebKit, due to the fact that all of these CGPaths allocated up-front, and must all exist somewhere in the heap upon decoding the display list. In contrast, in shipping WebKit, each call to stroke the current canvas path (i.e. invoking GraphicsContext::strokePath) is succeeded by clearing the path, which deallocates the CGPath backing the WebCore Path. The next time a CGPath needs to be created, CoreGraphics is free to then allocate the new CGPath at the address of the previous CGPath which was just destroyed, which prevents us from dirtying more pages than necessary. This phenomenon affects most of the canvas-related MotionMark subtests to some degree, though the impact is most noticeable with Canvas Lines. On top of all this, a significant portion of time is also spent calling CGPathApply and converting the resulting CGPathElements into serializable data when encoding each WebCore Path. To mitigate these two issues and restore the wins we get from memory locality when drawing paths in large quantities, we can: 1. In the case of simple paths, stuff some information about how each path was created as inline data on WebCore::Path itself, as a new data member. For now, this only encompasses lines, arcs, and moves (Paths where only `Path::moveTo` was invoked), but may be expanded in the future to include ellipses and rects. This allows us to achieve two things: (a) make encoding cheaper by not requiring a walk through all of CGPath's elements, and (b) make decoding cheaper by just initializing the Path using inline data, rather than having to create a new CGPath. 2. When painting the StrokePath display list item, just discard `m_path` after we're done painting with it. This, in conjunction with (1), means that the CGPath backing the WebCore::Path in the GPU process is only created when we're just about to paint (i.e. when calling into strokePath()), and destroyed right after we're done painting with it. See below for details. There should be no change in behavior. * Headers.cmake: * WebCore.xcodeproj/project.pbxproj: * platform/graphics/InlinePathData.h: Added. (WebCore::MoveData::encode const): (WebCore::MoveData::decode): (WebCore::LineData::encode const): (WebCore::LineData::decode): (WebCore::ArcData::encode const): (WebCore::ArcData::decode): Introduce InlinePathData, a Variant of several different inline data types, each of which represents one simple path type that is stored using only inline data. This includes line segments (a start point and an end point), as well as arcs (which, in addition to a center and start and end angles) also includes an optional offset, which represents the current position of the path at the time "addArc" was called. For instance, in the following scenario, the path would have an arc that is offset by (100, 0); if filled, it would result in a composite shape resembling a semicircle on top of a triangle: path.moveTo(100, 0); path.addArc(100, 100, 50, 0, PI, false); context.fill(path); When a Path is initialized (or after it is cleared), it starts off with neither a CGPath nor inline data. Moving the path causes it to store inline MoveData; calling calling `addLineTo` or `addArc` then replaces the inline data with either LineData or ArcData. If, at any point, the path changes in a different way (i.e. neither line, arc, nor move), we clear out the inline data and fall back to just representing the path data using the CGPath (m_path). * platform/graphics/Path.cpp: Refactor the following 10 methods: moveTo, addLineTo, addArc, isEmpty, currentPoint, apply, elementCount, hasCurrentPoint, fastBoundingRect, and boundingRect such that their implementations are now in platform-agnostic code in Path.cpp. Logic in this platform-agnostic code will generally attempt to use inline path data to compute an answer (or apply the requested mutations) without having to initialize the platform path representation. Failing this, we fall back to calling -SlowCase versions of these methods, which will exercise the appropriate APIs on each platform. (WebCore::Path::elementCountSlowCase const): (WebCore::Path::apply const): (WebCore::Path::isEmpty const): (WebCore::Path::hasCurrentPoint const): (WebCore::Path::currentPoint const): (WebCore::Path::elementCount const): (WebCore::Path::addArc): (WebCore::Path::addLineTo): (WebCore::Path::moveTo): In the case of these three methods for mutating a path, if we've either only moved the path or haven't touched it at all, we can get away with only updating our inline path data, and avoid creating a CGPath. (WebCore::Path::boundingRect const): (WebCore::Path::fastBoundingRect const): (WebCore::Path::boundingRectFromInlineData const): (WebCore::Path::polygonPathFromPoints): * platform/graphics/Path.h: (WebCore::Path::encode const): (WebCore::Path::decode): Teach Path::encode and Path::decode to respectively serialize and deserialize WebCore::Path by consulting only the inline data, if it is present. For simple types of paths, this decreases the cost of both IPC encoding and decoding, but adds a negligible amount of overhead in the case where the path is non-inline. (WebCore::Path::hasInlineData const): (WebCore::Path::hasAnyInlineData const): (WebCore::Path::isNull const): Deleted. * platform/graphics/cairo/PathCairo.cpp: (WebCore::Path::isEmptySlowCase const): (WebCore::Path::currentPointSlowCase const): (WebCore::Path::moveToSlowCase): (WebCore::Path::addLineToSlowCase): (WebCore::Path::addArcSlowCase): (WebCore::Path::boundingRectSlowCase const): (WebCore::Path::applySlowCase const): (WebCore::Path::fastBoundingRectSlowCase const): (WebCore::Path::isNull const): (WebCore::Path::isEmpty const): Deleted. (WebCore::Path::hasCurrentPoint const): Deleted. (WebCore::Path::currentPoint const): Deleted. (WebCore::Path::moveTo): Deleted. (WebCore::Path::addLineTo): Deleted. (WebCore::Path::addArc): Deleted. (WebCore::Path::boundingRect const): Deleted. (WebCore::Path::apply const): Deleted. * platform/graphics/cg/PathCG.cpp: (WebCore::Path::createCGPath const): Add a helper method that is invoked when the Path is asked for a CGPath. In this case, if there is inline data, we need to lazily create the path and apply any inline path data we've accumulated. Once we're done applying the inline data, set a flag (m_needsToApplyInlineData) to false to avoid re-applying inline data to the path. (WebCore::Path::platformPath const): (WebCore::Path::ensurePlatformPath): When ensurePlatformPath is invoked, we are about to mutate our CGPath in such a way that it can't be expressed in terms of inline data (at least, not with the changes in this patch). Clear out the inline path data in this case, and apply the CGPath mutations that were previously stashed away in inline path data. (WebCore::Path::isNull const): A path is now considered null if it is not only missing a CGPath, but also does not have any inline path data. This maintains the invariant that `isNull()` is true iff the `platformPath()` returns 0x0. (WebCore::Path::Path): (WebCore::Path::swap): Update the constructors and `swap` helper method (used by assignment operators) to account for the new members. (WebCore::Path::contains const): (WebCore::Path::transform): (WebCore::zeroRectIfNull): (WebCore::Path::boundingRectSlowCase const): (WebCore::Path::fastBoundingRectSlowCase const): (WebCore::Path::moveToSlowCase): (WebCore::Path::addLineToSlowCase): (WebCore::Path::addArcSlowCase): (WebCore::Path::clear): When clearing Path, instead of setting `m_path` to a newly allocated CGPath, simply reset it to null. This ensures that if we then apply some changes that can be expressed using only inline path data, we avoid having to update the CGPath, and instead just update the inline path data. (WebCore::Path::isEmptySlowCase const): (WebCore::Path::currentPointSlowCase const): (WebCore::Path::applySlowCase const): (WebCore::Path::elementCountSlowCase const): (WebCore::Path::boundingRect const): Deleted. (WebCore::Path::fastBoundingRect const): Deleted. (WebCore::Path::moveTo): Deleted. (WebCore::Path::addLineTo): Deleted. (WebCore::Path::addArc): Deleted. (WebCore::Path::isEmpty const): Deleted. (WebCore::Path::hasCurrentPoint const): Deleted. (WebCore::Path::currentPoint const): Deleted. (WebCore::Path::apply const): Deleted. (WebCore::Path::elementCount const): Deleted. * platform/graphics/displaylists/DisplayListItems.cpp: (WebCore::DisplayList::StrokePath::apply const): Throw out the current WebCore::Path after we're done painting with it (see (2) in the above ChangeLog entry). * platform/graphics/displaylists/DisplayListItems.h: * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::boundingRectSlowCase const): (WebCore::Path::fastBoundingRectSlowCase const): (WebCore::Path::moveToSlowCase): (WebCore::Path::addLineToSlowCase): (WebCore::Path::addArcSlowCase): (WebCore::Path::isEmptySlowCase const): (WebCore::Path::currentPointSlowCase const): (WebCore::Path::applySlowCase const): (WebCore::Path::isNull const): (WebCore::Path::boundingRect const): Deleted. (WebCore::Path::fastBoundingRect const): Deleted. (WebCore::Path::moveTo): Deleted. (WebCore::Path::addLineTo): Deleted. (WebCore::Path::addArc): Deleted. (WebCore::Path::isEmpty const): Deleted. (WebCore::Path::hasCurrentPoint const): Deleted. (WebCore::Path::currentPoint const): Deleted. (WebCore::Path::apply const): Deleted. Source/WebKit: Add argument coders for `WTF::Monostate`, so that Variants of the form: `Variant<Monostate, Foo, Bar>` can be encoded and decoded over IPC. * Platform/IPC/ArgumentCoders.cpp: (IPC::ArgumentCoder<Monostate>::encode): (IPC::ArgumentCoder<Monostate>::decode): * Platform/IPC/ArgumentCoders.h: Source/WTF: Add a feature flag for INLINE_PATH_DATA. This feature flag exists to ensure that we can avoid having m_inlineData on Path in ports that don't implement the necessary facilities for inline path data yet, since it would just end up being wasted memory. * wtf/PlatformEnable.h: Canonical link: https://commits.webkit.org/221725@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@258118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-03-08 23:13:45 +00:00
#if !defined(ENABLE_INLINE_PATH_DATA) && USE(CG)
#define ENABLE_INLINE_PATH_DATA 1
#endif
#if ((PLATFORM(COCOA) || PLATFORM(PLAYSTATION) || PLATFORM(WPE)) && ENABLE(ASYNC_SCROLLING)) || PLATFORM(GTK)
#define ENABLE_KINETIC_SCROLLING 1
#endif
#if PLATFORM(MAC)
// FIXME: Maybe this can be combined with ENABLE_KINETIC_SCROLLING.
#define ENABLE_WHEEL_EVENT_LATCHING 1
#endif
#if !defined(ENABLE_SCROLLING_THREAD)
#if USE(NICOSIA)
#define ENABLE_SCROLLING_THREAD 1
#else
#define ENABLE_SCROLLING_THREAD 0
#endif
#endif
Platform.h is out of control Part 8: Macros are used inconsistently https://bugs.webkit.org/show_bug.cgi?id=206425 Reviewed by Darin Adler. Source/bmalloc: * bmalloc/BPlatform.h: Update OS_EFFECTIVE_ADDRESS_WIDTH to match WTF definition, add needed OS macros. Source/JavaScriptCore: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): (JSC::ARM64Assembler::xOrSp): (JSC::ARM64Assembler::xOrZr): * assembler/ARM64Registers.h: * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/ARMv7Registers.h: * assembler/AssemblerCommon.h: (JSC::isDarwin): * b3/air/AirCCallingConvention.cpp: * jit/ExecutableAllocator.h: * jit/ThunkGenerators.cpp: * jsc.cpp: * runtime/MathCommon.cpp: Use OS(DARWIN) more consistently for darwin level functionality. * bytecode/CodeOrigin.h: * runtime/JSString.h: Update to use OS_CONSTANT. * disassembler/ARM64/A64DOpcode.cpp: * disassembler/ARM64Disassembler.cpp: * disassembler/UDis86Disassembler.cpp: * disassembler/UDis86Disassembler.h: * disassembler/X86Disassembler.cpp: * disassembler/udis86/udis86.c: * disassembler/udis86/udis86_decode.c: * disassembler/udis86/udis86_itab_holder.c: * disassembler/udis86/udis86_syn-att.c: * disassembler/udis86/udis86_syn-intel.c: * disassembler/udis86/udis86_syn.c: * interpreter/Interpreter.cpp: * interpreter/Interpreter.h: * interpreter/InterpreterInlines.h: (JSC::Interpreter::getOpcodeID): * llint/LowLevelInterpreter.cpp: * tools/SigillCrashAnalyzer.cpp: Switch to using ENABLE rather than USE for features internal to WebKit Source/WTF: Start addressing FIXMEs added to Platform.h (and helper files) during previous cleanup work. - Renames WTF_CPU_EFFECTIVE_ADDRESS_WIDTH to WTF_OS_CONSTANT_EFFECTIVE_ADDRESS_WIDTH, making it available via new macro OS_CONSTANT(...), and syncs bmalloc redefinition. - Renames: USE_LLINT_EMBEDDED_OPCODE_ID to ENABLE_LLINT_EMBEDDED_OPCODE_ID USE_UDIS86 to ENABLE_UDIS86 USE_ARM64_DISASSEMBLER to ENABLE_ARM64_DISASSEMBLER Enable is more appropriate here as these enable functionality within webkit. - Removes undefs that are no longer needed due to only defining the macro once now. - Removes dead defined(__LP64__) check after PLATFORM(MAC) macOS is always 64-bit these days. * wtf/Packed.h: (WTF::alignof): * wtf/Platform.h: * wtf/PlatformEnable.h: * wtf/PlatformOS.h: * wtf/WTFAssertions.cpp: * wtf/text/StringCommon.h: Tools: * TestWebKitAPI/Tests/WTF/Packed.cpp: (TestWebKitAPI::TEST): Update to use OS_CONSTANT. Canonical link: https://commits.webkit.org/219580@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-21 04:01:50 +00:00
/* This feature works by embedding the OpcodeID in the 32 bit just before the generated LLint code
that executes each opcode. It cannot be supported by the CLoop since there's no way to embed the
OpcodeID word in the CLoop's switch statement cases. It is also currently not implemented for MSVC.
*/
#if !defined(ENABLE_LLINT_EMBEDDED_OPCODE_ID) && !ENABLE(C_LOOP) && !COMPILER(MSVC) && (CPU(X86) || CPU(X86_64) || CPU(ARM64) || (CPU(ARM_THUMB2) && OS(DARWIN)))
#define ENABLE_LLINT_EMBEDDED_OPCODE_ID 1
#endif
Start splitting platform specific overrides of default enable behavior into their own files https://bugs.webkit.org/show_bug.cgi?id=207105 Patch by Sam Weinig <weinig@apple.com> on 2020-02-03 Reviewed by Dean Jackson. Source/WebKit: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Switch to using the ENABLE() helper macro to correctly guard against the case that ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC is defined and equal to 0. Source/WTF: Splits out platform specific overrides of default enable behavior into separate files, starting with one for all of the Cocoa related ports, one for Apple's Windows port, and one for the WinCario port. The rule is now that all ENABLE_* macros should have a default defined in PlatformEnable.h, but platforms are allowed to override it via their PlatformEnable*.h file. For now, I manually ensured that all the defines in PlatformEnableCocoa.h, PlatformEnableWinApple.h and PlatformEnableWinCairo.h also had defaults in PlatformEnable.h, but going forward this needs be validated either through some sort of macro-based validation, through the style checker or something else. * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinApple.h: Copied from Source/WTF/wtf/PlatformEnable.h. * wtf/PlatformEnableWinCairo.h: Copied from Source/WTF/wtf/PlatformEnable.h. Canonical link: https://commits.webkit.org/220130@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-03 19:29:22 +00:00
/* Asserts, invariants for macro definitions */
#if ENABLE(MEDIA_CONTROLS_SCRIPT) && !ENABLE(VIDEO)
#error "ENABLE(MEDIA_CONTROLS_SCRIPT) requires ENABLE(VIDEO)"
#endif
Web Inspector: Provide a way to have alternate inspector agents https://bugs.webkit.org/show_bug.cgi?id=137901 Reviewed by Brian Burg. Source/JavaScriptCore: Provide a way to use alternate inspector agents debugging a JSContext. Expose a very slim private API that a client could use to know when an inspector has connected/disconnected, and a way to register its augmentative agents. * Configurations/FeatureDefines.xcconfig: * JavaScriptCore.xcodeproj/project.pbxproj: New feature guard. New files. * API/JSContextRef.cpp: (JSGlobalContextGetAugmentableInspectorController): * API/JSContextRefInspectorSupport.h: Added. Access to the private interface from a JSContext. * inspector/JSGlobalObjectInspectorController.cpp: (Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController): (Inspector::JSGlobalObjectInspectorController::connectFrontend): (Inspector::JSGlobalObjectInspectorController::disconnectFrontend): * inspector/JSGlobalObjectInspectorController.h: * inspector/augmentable/AugmentableInspectorController.h: Added. (Inspector::AugmentableInspectorController::~AugmentableInspectorController): (Inspector::AugmentableInspectorController::connected): * inspector/augmentable/AugmentableInspectorControllerClient.h: Added. (Inspector::AugmentableInspectorControllerClient::~AugmentableInspectorControllerClient): * inspector/augmentable/AlternateDispatchableAgent.h: Added. (Inspector::AlternateDispatchableAgent::AlternateDispatchableAgent): Provide the private APIs a client could use to add alternate agents using alternate backend dispatchers. * inspector/scripts/codegen/__init__.py: * inspector/scripts/generate-inspector-protocol-bindings.py: (generate_from_specification): New includes, and use the new generator. * inspector/scripts/codegen/generate_alternate_backend_dispatcher_header.py: Added. (AlternateBackendDispatcherHeaderGenerator): (AlternateBackendDispatcherHeaderGenerator.__init__): (AlternateBackendDispatcherHeaderGenerator.output_filename): (AlternateBackendDispatcherHeaderGenerator.generate_output): (AlternateBackendDispatcherHeaderGenerator._generate_handler_declarations_for_domain): (AlternateBackendDispatcherHeaderGenerator._generate_handler_declaration_for_command): Generate the abstract AlternateInspectorBackendDispatcher interfaces. * inspector/scripts/codegen/generate_backend_dispatcher_header.py: (BackendDispatcherHeaderGenerator.generate_output): (BackendDispatcherHeaderGenerator._generate_alternate_handler_forward_declarations_for_domains): (BackendDispatcherHeaderGenerator._generate_alternate_handler_forward_declarations_for_domains.AlternateInspector): Forward declare alternate dispatchers, and allow setting an alternate dispatcher on a domain dispatcher. * inspector/scripts/codegen/generate_backend_dispatcher_implementation.py: (BackendDispatcherImplementationGenerator.generate_output): (BackendDispatcherImplementationGenerator._generate_dispatcher_implementation_for_command): Check for and dispatch on an AlternateInspectorBackendDispatcher if there is one for this domain. * inspector/scripts/codegen/generator_templates.py: (AlternateInspectorBackendDispatcher): (AlternateInspector): Template boilerplate for prelude and postlude. * inspector/scripts/tests/expected/commands-with-async-attribute.json-result: * inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result: * inspector/scripts/tests/expected/domains-with-varying-command-sizes.json-result: * inspector/scripts/tests/expected/events-with-optional-parameters.json-result: * inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result: * inspector/scripts/tests/expected/same-type-id-different-domain.json-result: * inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result: * inspector/scripts/tests/expected/type-declaration-aliased-primitive-type.json-result: * inspector/scripts/tests/expected/type-declaration-array-type.json-result: * inspector/scripts/tests/expected/type-declaration-enum-type.json-result: * inspector/scripts/tests/expected/type-declaration-object-type.json-result: * inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result: Rebaseline tests. Source/WebCore: * Configurations/FeatureDefines.xcconfig: Source/WebKit/mac: * Configurations/FeatureDefines.xcconfig: Source/WebKit2: * Configurations/FeatureDefines.xcconfig: Source/WTF: * wtf/FeatureDefines.h: Canonical link: https://commits.webkit.org/155888@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-10-23 23:43:14 +00:00
#if ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS) && !ENABLE(REMOTE_INSPECTOR)
#error "ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS) requires ENABLE(REMOTE_INSPECTOR)"
#endif
[iOS] Upstream WebCore/page changes https://bugs.webkit.org/show_bug.cgi?id=126180 Reviewed by Darin Adler. Source/WebCore: * WebCore.xcodeproj/project.pbxproj: * dom/EventNames.h: (WebCore::EventNames::isGestureEventType): Added. * page/AlternativeTextClient.h: Do not define WTF_USE_DICTATION_ALTERNATIVES when building for iOS. * page/Chrome.cpp: (WebCore::Chrome::Chrome): (WebCore::Chrome::dispatchViewportPropertiesDidChange): Added; guarded by PLATFORM(IOS). (WebCore::Chrome::setCursor): Make this an empty function when building for iOS. (WebCore::Chrome::setCursorHiddenUntilMouseMoves): Ditto. (WebCore::Chrome::didReceiveDocType): Added; iOS-specific. * page/Chrome.h: (WebCore::Chrome::setDispatchViewportDataDidChangeSuppressed): Added; guarded by PLATFORM(IOS). * page/ChromeClient.h: (WebCore::ChromeClient::didFlushCompositingLayers): Added; guarded by PLATFORM(IOS). (WebCore::ChromeClient::fetchCustomFixedPositionLayoutRect): Added; guarded by PLATFORM(IOS). (WebCore::ChromeClient::updateViewportConstrainedLayers): Added; guarded by PLATFORM(IOS). * page/DOMTimer.cpp: (WebCore::DOMTimer::install): Added iOS-specific code. (WebCore::DOMTimer::fired): Ditto. * page/DOMWindow.cpp: (WebCore::DOMWindow::DOMWindow): Ditto. (WebCore::DOMWindow::innerHeight): Ditto. (WebCore::DOMWindow::innerWidth): Ditto. (WebCore::DOMWindow::scrollX): Ditto. (WebCore::DOMWindow::scrollY): Ditto. (WebCore::DOMWindow::scrollBy): Ditto. (WebCore::DOMWindow::scrollTo): Ditto. (WebCore::DOMWindow::clearTimeout): Ditto. (WebCore::DOMWindow::addEventListener): Ditto. (WebCore::DOMWindow::incrementScrollEventListenersCount): Added; guarded by PLATFORM(IOS). (WebCore::DOMWindow::decrementScrollEventListenersCount): Added; guarded by PLATFORM(IOS). (WebCore::DOMWindow::resetAllGeolocationPermission): Added; Also added FIXME comment. (WebCore::DOMWindow::removeEventListener): Added iOS-specific code. (WebCore::DOMWindow::dispatchEvent): Modified to prevent dispatching duplicate pageshow and pagehide events per <http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-pageshow>. (WebCore::DOMWindow::removeAllEventListeners): Added iOS-specific code. * page/DOMWindow.h: * page/DOMWindow.idl: Added IOS_GESTURE_EVENTS-guarded attributes: ongesture{change, end, start}. Also added IOS_TOUCH_EVENTS-guarded attributes: {Touch, TouchList}Constructor. * page/EditorClient.h: * page/EventHandler.cpp: (WebCore::EventHandler::EventHandler): Added iOS-specific code. (WebCore::EventHandler::clear): Ditto. (WebCore::EventHandler::startPanScrolling): Make this an empty function when building for iOS. (WebCore::EventHandler::handleMousePressEvent): Modified to invalidate a click when the clicked node is null. Also, opt out of code for updating the scrollbars as UIKit manages scrollbars on iOS. (WebCore::EventHandler::handleMouseMoveEvent): Opt of code for updating the scrollbars and cursor when building on iOS. (WebCore::hitTestResultInFrame): Made this a file-local static function since it's only used in EventHandler.cpp. (WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled): Added iOS-specific code. * page/EventHandler.h: * page/FocusController.h: * page/Frame.cpp: (WebCore::Frame::Frame): Added iOS-specific code. (WebCore::Frame::scrollOverflowLayer): Added; iOS-specific. (WebCore::Frame::overflowAutoScrollTimerFired): Added; iOS-specific. (WebCore::Frame::startOverflowAutoScroll): Added; iOS-specific. (WebCore::Frame::checkOverflowScroll): Added; iOS-specific. (WebCore::Frame::willDetachPage): Added iOS-specific code. (WebCore::Frame::createView): Ditto. (WebCore::Frame::setSelectionChangeCallbacksDisabled): Added; iOS-specific. (WebCore::Frame::selectionChangeCallbacksDisabled): Added; iOS-specific. * page/Frame.h: (WebCore::Frame::timersPaused): Added; guarded by PLATFORM(IOS). * page/FrameView.cpp: (WebCore::FrameView::FrameView): Added iOS-specific code. (WebCore::FrameView::clear): Ditto. (WebCore::FrameView::flushCompositingStateForThisFrame): Ditto. (WebCore::FrameView::graphicsLayerForPlatformWidget): Added. (WebCore::FrameView::scheduleLayerFlushAllowingThrottling): Added. (WebCore::FrameView::layout): Added iOS-specific code. (WebCore::countRenderedCharactersInRenderObjectWithThreshold): Added; helper function used by FrameView::renderedCharactersExceed(). Also added FIXME comment. (WebCore::FrameView::renderedCharactersExceed): Added. (WebCore::FrameView::visibleContentsResized): Added iOS-specific code. (WebCore::FrameView::adjustTiledBackingCoverage): Ditto. (WebCore::FrameView::performPostLayoutTasks): Ditto. (WebCore::FrameView::sendResizeEventIfNeeded): Ditto. (WebCore::FrameView::paintContents): Added iOS-specific code. Also added FIXME comments. (WebCore::FrameView::setUseCustomFixedPositionLayoutRect): Added; iOS-specific. (WebCore::FrameView::setCustomFixedPositionLayoutRect): Added; iOS-specific. (WebCore::FrameView::updateFixedPositionLayoutRect): Added; iOS-specific. * page/FrameView.h: * page/Navigator.cpp: (WebCore::Navigator::standalone): Added; iOS-specific. * page/Navigator.h: * page/Navigator.idl: Added WTF_PLATFORM_IOS-guarded attribute: standalone. Also added FIXME comment. * page/NavigatorBase.cpp: (WebCore::NavigatorBase::platform): Added iOS-specific code. * page/Page.h: (WebCore::Page::hasCustomHTMLTokenizerTimeDelay): Added; guarded by PLATFORM(IOS). Also added FIXME comment to remove this method. (WebCore::Page::customHTMLTokenizerTimeDelay): Added; guarded by PLATFORM(IOS). Also added FIXME comment to remove this method. * page/PageGroup.cpp: (WebCore::PageGroup::removeVisitedLink): Added. * page/PageGroup.h: * page/Settings.cpp: (WebCore::Settings::Settings): (WebCore::Settings::setScriptEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setStandalone): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAudioSessionCategoryOverride): Added; guarded by PLATFORM(IOS). (WebCore::Settings::audioSessionCategoryOverride): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setNetworkDataUsageTrackingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::networkDataUsageTrackingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::sharedNetworkInterfaceNameGlobal): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setNetworkInterfaceName): Added; guarded by PLATFORM(IOS). (WebCore::Settings::networkInterfaceName): Added; guarded by PLATFORM(IOS). * page/Settings.h: (WebCore::Settings::setMaxParseDuration): Added; guarded by PLATFORM(IOS). Also added FIXME comment. (WebCore::Settings::maxParseDuration): Added; guarded by PLATFORM(IOS). Also added FIXME comment. (WebCore::Settings::standalone): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setTelephoneNumberParsingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::telephoneNumberParsingEnabled): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setMediaDataLoadsAutomatically): Added; guarded by PLATFORM(IOS). (WebCore::Settings::mediaDataLoadsAutomatically): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setShouldTransformsAffectOverflow): Added; guarded by PLATFORM(IOS). (WebCore::Settings::shouldTransformsAffectOverflow): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setShouldDispatchJavaScriptWindowOnErrorEvents): Added; guarded by PLATFORM(IOS). (WebCore::Settings::shouldDispatchJavaScriptWindowOnErrorEvents): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAlwaysUseBaselineOfPrimaryFont): Added; guarded by PLATFORM(IOS). (WebCore::Settings::alwaysUseBaselineOfPrimaryFont): Added; guarded by PLATFORM(IOS). (WebCore::Settings::setAlwaysUseAcceleratedOverflowScroll): Added; guarded by PLATFORM(IOS). (WebCore::Settings::alwaysUseAcceleratedOverflowScroll): Added; guarded by PLATFORM(IOS). * page/Settings.in: Added IOS_AIRPLAY-guarded setting: mediaPlaybackAllowsAirPlay. * page/animation/CSSPropertyAnimation.cpp: (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): Added iOS-specific code and FIXME comment. * page/ios/EventHandlerIOS.mm: Added. * page/ios/FrameIOS.mm: Added. * page/mac/ChromeMac.mm: * page/mac/PageMac.cpp: (WebCore::Page::addSchedulePair): Opt out of code when building for iOS. (WebCore::Page::removeSchedulePair): Ditto. * page/mac/SettingsMac.mm: (WebCore::Settings::shouldEnableScreenFontSubstitutionByDefault): Added iOS-specific code. * page/mac/WebCoreFrameView.h: Source/WebKit/ios: * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS). Source/WebKit2: * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebCoreSupport/ios/WebChromeClientIOS.mm: Added. * WebProcess/WebPage/WebPage.cpp: Include header <WebCore/HitTestResult.h>. Source/WTF: * wtf/FeatureDefines.h: Define ENABLE_IOS_TOUCH_EVENTS to be enabled by default when building iOS with ENABLE(TOUCH_EVENTS). Canonical link: https://commits.webkit.org/144196@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-27 20:40:28 +00:00
#if ENABLE(IOS_TOUCH_EVENTS) && !ENABLE(TOUCH_EVENTS)
#error "ENABLE(IOS_TOUCH_EVENTS) requires ENABLE(TOUCH_EVENTS)"
#endif
#if ENABLE(WEBGL2) && !ENABLE(WEBGL)
#error "ENABLE(WEBGL2) requires ENABLE(WEBGL)"
#endif
Implement 1GB of executable memory on arm64 https://bugs.webkit.org/show_bug.cgi?id=208490 <rdar://problem/60797127> Reviewed by Keith Miller. JSTests: Run JetStream2 wasm tests. * wasm.yaml: * wasm/lowExecutableMemory/executable-memory-oom.js: PerformanceTests: * JetStream2/JetStreamDriver.js: (Driver.prototype.dumpJSONResultsIfNeeded): (DefaultBenchmark.prototype.updateUIAfterRun): (DefaultBenchmark): (WSLBenchmark.prototype.updateUIAfterRun): (WSLBenchmark): (WasmBenchmark.prototype.updateUIAfterRun): (WasmBenchmark): (Driver.async fetchResources.statusElement.innerHTML.a.href.string_appeared_here): (Driver.prototype.async fetchResources): Source/JavaScriptCore: This patch implements the 1GB executable memory space on arm64. To make this work, we implement jumps larger than +/-128MB to use jump islands. Jump islands work by splitting up the ~1GB region into 9 112MB chunks (1008 MB total). Each chunk is split into two: 96MB of executable region, and 16MB of jump island region. With this split, any jump inside a jump island region can get to the adjacent island (forwards or backwards) in a single +/-128MB jump. When linking a jump from A to B, where |A - B| > 128MB, we instead point the jump to an island, where this island has a potential series of jumps that finally lands at B. To allocate executable memory, use a MetaAllocator for each 96MB chunk. To allocate islands, we have a bit vector we use to track used and freed islands. We only grow this bit vector as islands are allocated, so it frequently remains empty or very small. The goal of this patch is to have minimal perf impact when not using islands, so the data structures are designed to only incur overhead when actually using islands. We expect the use of islands to be minimal. We use a red black tree to track all island locations. This allows us to deallocate all islands when an executable memory handle is freed. Typically, this red black tree is empty, so freeing an executable memory handle incurs no extra overhead. To make islands work for Wasm, we now have to link tier up code in two phases. Previously, we would just patch jumps concurrently to Wasm threads running after resetting the icache, knowing that we would be able to atomically update the jump instruction to point to the new destination. However, now when repatching these jumps in a world with jump islands, we might need to allocate islands depending on the jump location and its target. So we now allocate and collect the set of islands, then reset the icache, then atomically update the branch to point to the destination (or an island that jumps to the destination). One important implementation detail here is that for normal island repatching, if we have a jump from A to B, and it allocates a set if islands X, we usually can deallocate X when repatching A to go to B'. This is because the typical repatch scenario in JS happens when that code is not being executed. For Wasm though, those islands X might be running while we want to repatch A to go to B'. So instead of deallocating X, we just append to X in this scenario, and we free the new set X' when the code itself is freed. (This patch also fixes a bug in the Wasm LLInt to BBQ tier up that I spotted, where we would publish a LLInt callee's BBQ replacement before we finished linking the outgoing calls of the BBQ replacement.) This patch also removes the old "CodeProfiling" code that has been unused for a long time. * JavaScriptCore.xcodeproj/project.pbxproj: * Sources.txt: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::b): (JSC::ARM64Assembler::bl): (JSC::ARM64Assembler::replaceWithJump): (JSC::ARM64Assembler::prepareForAtomicRelinkJumpConcurrently): (JSC::ARM64Assembler::prepareForAtomicRelinkCallConcurrently): (JSC::ARM64Assembler::computeJumpType): (JSC::ARM64Assembler::canEmitJump): (JSC::ARM64Assembler::linkJumpOrCall): (JSC::ARM64Assembler::linkCompareAndBranch): (JSC::ARM64Assembler::linkConditionalBranch): (JSC::ARM64Assembler::linkTestAndBranch): * assembler/AbstractMacroAssembler.h: (JSC::AbstractMacroAssembler::prepareForAtomicRepatchNearCallConcurrently): * assembler/LinkBuffer.cpp: (JSC::LinkBuffer::copyCompactAndLinkCode): (JSC::LinkBuffer::linkCode): (JSC::LinkBuffer::allocate): (JSC::LinkBuffer::performFinalization): * assembler/LinkBuffer.h: (JSC::LinkBuffer::LinkBuffer): (JSC::LinkBuffer::setIsJumpIsland): * assembler/MacroAssemblerCodeRef.h: (JSC::MacroAssemblerCodeRef::MacroAssemblerCodeRef): * jit/ExecutableAllocator.cpp: (JSC::initializeJITPageReservation): (JSC::ExecutableAllocator::initializeUnderlyingAllocator): (JSC::ExecutableAllocator::isValid const): (JSC::ExecutableAllocator::allocate): (JSC::ExecutableAllocator::getJumpIslandTo): (JSC::ExecutableAllocator::getJumpIslandToConcurrently): (JSC::FixedVMPoolExecutableAllocator::~FixedVMPoolExecutableAllocator): Deleted. * jit/ExecutableAllocator.h: (JSC::ExecutableAllocatorBase::allocate): * runtime/CommonSlowPaths.cpp: * runtime/Completion.cpp: (JSC::evaluate): * runtime/JSModuleLoader.cpp: (JSC::moduleLoaderParseModule): * runtime/OptionsList.h: * tools/CodeProfile.cpp: (JSC::truncateTrace): Deleted. (JSC::CodeProfile::sample): Deleted. (JSC::CodeProfile::report): Deleted. * tools/CodeProfile.h: (JSC::CodeProfile::CodeProfile): Deleted. (JSC::CodeProfile::parent): Deleted. (JSC::CodeProfile::addChild): Deleted. (): Deleted. (JSC::CodeProfile::CodeRecord::CodeRecord): Deleted. * tools/CodeProfiling.cpp: (JSC::setProfileTimer): Deleted. (JSC::profilingTimer): Deleted. (JSC::CodeProfiling::sample): Deleted. (JSC::CodeProfiling::notifyAllocator): Deleted. (JSC::CodeProfiling::getOwnerUIDForPC): Deleted. (JSC::CodeProfiling::begin): Deleted. (JSC::CodeProfiling::end): Deleted. * tools/CodeProfiling.h: (): Deleted. (JSC::CodeProfiling::CodeProfiling): Deleted. (JSC::CodeProfiling::~CodeProfiling): Deleted. (JSC::CodeProfiling::enabled): Deleted. (JSC::CodeProfiling::beVerbose): Deleted. (JSC::CodeProfiling::beVeryVerbose): Deleted. * wasm/WasmBBQPlan.cpp: (JSC::Wasm::BBQPlan::work): * wasm/WasmCodeBlock.h: * wasm/WasmOMGForOSREntryPlan.cpp: (JSC::Wasm::OMGForOSREntryPlan::work): * wasm/WasmOMGPlan.cpp: (JSC::Wasm::OMGPlan::work): * wasm/WasmPlan.cpp: (JSC::Wasm::Plan::updateCallSitesToCallUs): * wasm/WasmPlan.h: Source/WTF: * wtf/MetaAllocator.cpp: (WTF::MetaAllocatorTracker::notify): (WTF::MetaAllocatorTracker::release): (WTF::MetaAllocator::release): (WTF::MetaAllocatorHandle::MetaAllocatorHandle): (WTF::MetaAllocatorHandle::~MetaAllocatorHandle): (WTF::MetaAllocatorHandle::shrink): (WTF::MetaAllocator::MetaAllocator): (WTF::MetaAllocator::allocate): (WTF::MetaAllocator::currentStatistics): * wtf/MetaAllocator.h: (WTF::MetaAllocatorTracker::find): (WTF::MetaAllocator::allocate): (WTF::MetaAllocator::currentStatistics): (WTF::MetaAllocator::getLock): Deleted. * wtf/MetaAllocatorHandle.h: (WTF::MetaAllocatorHandle::allocator): (WTF::MetaAllocatorHandle::isManaged): Deleted. (WTF::MetaAllocatorHandle::ownerUID): Deleted. * wtf/PlatformEnable.h: * wtf/RedBlackTree.h: * wtf/StdLibExtras.h: (WTF::constructFixedSizeArrayWithArgumentsImpl): (WTF::constructFixedSizeArrayWithArguments): Tools: * Scripts/run-jsc-stress-tests: * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp: (TestWebKitAPI::TEST_F): * TestWebKitAPI/Tests/WTF/RedBlackTree.cpp: (TestWebKitAPI::TEST_F): Canonical link: https://commits.webkit.org/222973@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@259582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-06 18:19:52 +00:00
Allow conditionally enabling OffscreenCanvas only for non-worker contexts https://bugs.webkit.org/show_bug.cgi?id=225845 Reviewed by Darin Adler. .: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitFeatures.cmake: Match current behavior of ENABLE_OFFSCREEN_CANVAS for ENABLE_OFFSCREEN_CANVAS_IN_WORKERS. Source/WebCore: Enable both compile time and runtime conditional enablement of just the non-worker OffscreenCanvas code path. To make this work a new IDL extended attribute was needed, ConditionalForWorker=FOO, which allows specifying an additional macro to check for whether the constructor should be exposed on workers. Ideally this would be generic for any context type, but at the moment, the limited syntax of extended attributes makes that hard. If generalization is needed (or a similar syntax is needed for something else) this can be revisited. To support runtime conditional exposure, the existing EnabledForContext, which calls a static function on the implementation class passing the ScriptExecutationContext is used. If conditional per context type ever becomes a common thing, we should add another extended attribute (and add syntax to support like above) that allows specifying both the context type and the setting name. Other than that, uses of ENABLE_OFFSCREEN_CANVAS that guarded worker specific functionality were replaced by ENABLE_OFFSCREEN_CANVAS_IN_WORKERS. * bindings/js/SerializedScriptValue.cpp: (WebCore::CloneSerializer::serialize): (WebCore::CloneSerializer::CloneSerializer): (WebCore::CloneSerializer::dumpIfTerminal): (WebCore::CloneDeserializer::deserialize): (WebCore::CloneDeserializer::CloneDeserializer): (WebCore::CloneDeserializer::readTerminal): (WebCore::SerializedScriptValue::SerializedScriptValue): (WebCore::SerializedScriptValue::computeMemoryCost const): (WebCore::SerializedScriptValue::create): (WebCore::SerializedScriptValue::deserialize): * bindings/js/SerializedScriptValue.h: (WebCore::SerializedScriptValue::SerializedScriptValue): * bindings/scripts/IDLAttributes.json: * bindings/scripts/preprocess-idls.pl: (GenerateConstructorAttributes): * html/HTMLCanvasElement.idl: * html/OffscreenCanvas.cpp: (WebCore::OffscreenCanvas::enabledForContext): * html/OffscreenCanvas.h: * html/OffscreenCanvas.idl: * html/canvas/OffscreenCanvasRenderingContext2D.cpp: (WebCore::OffscreenCanvasRenderingContext2D::enabledForContext): * html/canvas/OffscreenCanvasRenderingContext2D.h: * html/canvas/OffscreenCanvasRenderingContext2D.idl: * page/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setOffscreenCanvasInWorkersEnabled): (WebCore::RuntimeEnabledFeatures::offscreenCanvasInWorkersEnabled const): * workers/DedicatedWorkerGlobalScope.h: * workers/DedicatedWorkerGlobalScope.idl: * workers/WorkerAnimationController.cpp: * workers/WorkerAnimationController.h: Source/WTF: * Scripts/Preferences/WebPreferencesInternal.yaml: Add new OffscreenCanvasInWorkersEnabled preference. * wtf/PlatformEnable.h: Add new ENABLE_OFFSCREEN_CANVAS_IN_WORKERS macro. Tools: * Scripts/webkitperl/FeatureList.pm: * WebKitTestRunner/TestOptions.cpp: (WTR::TestOptions::defaults): Match current behavior of ENABLE_OFFSCREEN_CANVAS and OffscreenCanvasEnabled for ENABLE_OFFSCREEN_CANVAS_IN_WORKERS and OffscreenCanvasInWorkersEnabled. Canonical link: https://commits.webkit.org/237788@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-16 03:14:57 +00:00
#if ENABLE(OFFSCREEN_CANVAS_IN_WORKERS) && !ENABLE(OFFSCREEN_CANVAS)
#error "ENABLE(OFFSCREEN_CANVAS_IN_WORKERS) requires ENABLE(OFFSCREEN_CANVAS)"
#endif
Make destination color space enumeration match supported destination color spaces for the port https://bugs.webkit.org/show_bug.cgi?id=225237 Reviewed by Simon Fraser. Add ENABLE_DESTINATION_COLOR_SPACE_LINEAR_SRGB and enabled it for all ports except the Apple Windows port, which is the only one doesn't have any support for it. Source/WebCore: Removes existing behavior of returning SRGB when LinearSRGB was requested in the Apple Windows port. Now, the callers are responisble for dealing with a ports lack of support of LinearSRGB, making it very clear at those call sites that something is different and wrong. * platform/graphics/Color.cpp: * platform/graphics/Color.h: * platform/graphics/ColorConversion.cpp: * platform/graphics/ColorConversion.h: Add new functions to perform color conversion to and from an color space denoted by the ColorSpace or DestinationColorSpace enum. Previously, we only had convient ways to convert if the color was strongly typed (and this is implemented using that mechanism). This is useful when converting for final ouput, such in as the caller in FELighting::drawLighting. * platform/graphics/cg/ColorSpaceCG.h: * platform/graphics/ColorSpace.cpp: * platform/graphics/ColorSpace.h: * platform/graphics/filters/FELighting.cpp: * platform/graphics/filters/FilterEffect.h: * rendering/CSSFilter.cpp: * rendering/svg/RenderSVGResourceFilter.cpp: * rendering/svg/RenderSVGResourceMasker.cpp: Wrap uses of DestinationColorSpace::LinearSRGB in ENABLE(DESTINATION_COLOR_SPACE_LINEAR_SRGB). Source/WTF: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: * wtf/PlatformEnableWinApple.h: Canonical link: https://commits.webkit.org/237221@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-01 18:06:08 +00:00
#if USE(CG)
#if ENABLE(DESTINATION_COLOR_SPACE_DISPLAY_P3) && !HAVE(CORE_GRAPHICS_DISPLAY_P3_COLOR_SPACE)
#error "ENABLE(DESTINATION_COLOR_SPACE_DISPLAY_P3) requires HAVE(CORE_GRAPHICS_DISPLAY_P3_COLOR_SPACE) on platforms using CoreGraphics"
#endif
Make destination color space enumeration match supported destination color spaces for the port https://bugs.webkit.org/show_bug.cgi?id=225237 Reviewed by Simon Fraser. Add ENABLE_DESTINATION_COLOR_SPACE_LINEAR_SRGB and enabled it for all ports except the Apple Windows port, which is the only one doesn't have any support for it. Source/WebCore: Removes existing behavior of returning SRGB when LinearSRGB was requested in the Apple Windows port. Now, the callers are responisble for dealing with a ports lack of support of LinearSRGB, making it very clear at those call sites that something is different and wrong. * platform/graphics/Color.cpp: * platform/graphics/Color.h: * platform/graphics/ColorConversion.cpp: * platform/graphics/ColorConversion.h: Add new functions to perform color conversion to and from an color space denoted by the ColorSpace or DestinationColorSpace enum. Previously, we only had convient ways to convert if the color was strongly typed (and this is implemented using that mechanism). This is useful when converting for final ouput, such in as the caller in FELighting::drawLighting. * platform/graphics/cg/ColorSpaceCG.h: * platform/graphics/ColorSpace.cpp: * platform/graphics/ColorSpace.h: * platform/graphics/filters/FELighting.cpp: * platform/graphics/filters/FilterEffect.h: * rendering/CSSFilter.cpp: * rendering/svg/RenderSVGResourceFilter.cpp: * rendering/svg/RenderSVGResourceMasker.cpp: Wrap uses of DestinationColorSpace::LinearSRGB in ENABLE(DESTINATION_COLOR_SPACE_LINEAR_SRGB). Source/WTF: * wtf/PlatformEnable.h: * wtf/PlatformEnableCocoa.h: * wtf/PlatformEnableWinApple.h: Canonical link: https://commits.webkit.org/237221@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-01 18:06:08 +00:00
#if ENABLE(DESTINATION_COLOR_SPACE_LINEAR_SRGB) && !HAVE(CORE_GRAPHICS_LINEAR_SRGB_COLOR_SPACE)
#error "ENABLE(DESTINATION_COLOR_SPACE_LINEAR_SRGB) requires HAVE(CORE_GRAPHICS_LINEAR_SRGB_COLOR_SPACE) on platforms using CoreGraphics"
Implement 1GB of executable memory on arm64 https://bugs.webkit.org/show_bug.cgi?id=208490 <rdar://problem/60797127> Reviewed by Keith Miller. JSTests: Run JetStream2 wasm tests. * wasm.yaml: * wasm/lowExecutableMemory/executable-memory-oom.js: PerformanceTests: * JetStream2/JetStreamDriver.js: (Driver.prototype.dumpJSONResultsIfNeeded): (DefaultBenchmark.prototype.updateUIAfterRun): (DefaultBenchmark): (WSLBenchmark.prototype.updateUIAfterRun): (WSLBenchmark): (WasmBenchmark.prototype.updateUIAfterRun): (WasmBenchmark): (Driver.async fetchResources.statusElement.innerHTML.a.href.string_appeared_here): (Driver.prototype.async fetchResources): Source/JavaScriptCore: This patch implements the 1GB executable memory space on arm64. To make this work, we implement jumps larger than +/-128MB to use jump islands. Jump islands work by splitting up the ~1GB region into 9 112MB chunks (1008 MB total). Each chunk is split into two: 96MB of executable region, and 16MB of jump island region. With this split, any jump inside a jump island region can get to the adjacent island (forwards or backwards) in a single +/-128MB jump. When linking a jump from A to B, where |A - B| > 128MB, we instead point the jump to an island, where this island has a potential series of jumps that finally lands at B. To allocate executable memory, use a MetaAllocator for each 96MB chunk. To allocate islands, we have a bit vector we use to track used and freed islands. We only grow this bit vector as islands are allocated, so it frequently remains empty or very small. The goal of this patch is to have minimal perf impact when not using islands, so the data structures are designed to only incur overhead when actually using islands. We expect the use of islands to be minimal. We use a red black tree to track all island locations. This allows us to deallocate all islands when an executable memory handle is freed. Typically, this red black tree is empty, so freeing an executable memory handle incurs no extra overhead. To make islands work for Wasm, we now have to link tier up code in two phases. Previously, we would just patch jumps concurrently to Wasm threads running after resetting the icache, knowing that we would be able to atomically update the jump instruction to point to the new destination. However, now when repatching these jumps in a world with jump islands, we might need to allocate islands depending on the jump location and its target. So we now allocate and collect the set of islands, then reset the icache, then atomically update the branch to point to the destination (or an island that jumps to the destination). One important implementation detail here is that for normal island repatching, if we have a jump from A to B, and it allocates a set if islands X, we usually can deallocate X when repatching A to go to B'. This is because the typical repatch scenario in JS happens when that code is not being executed. For Wasm though, those islands X might be running while we want to repatch A to go to B'. So instead of deallocating X, we just append to X in this scenario, and we free the new set X' when the code itself is freed. (This patch also fixes a bug in the Wasm LLInt to BBQ tier up that I spotted, where we would publish a LLInt callee's BBQ replacement before we finished linking the outgoing calls of the BBQ replacement.) This patch also removes the old "CodeProfiling" code that has been unused for a long time. * JavaScriptCore.xcodeproj/project.pbxproj: * Sources.txt: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::b): (JSC::ARM64Assembler::bl): (JSC::ARM64Assembler::replaceWithJump): (JSC::ARM64Assembler::prepareForAtomicRelinkJumpConcurrently): (JSC::ARM64Assembler::prepareForAtomicRelinkCallConcurrently): (JSC::ARM64Assembler::computeJumpType): (JSC::ARM64Assembler::canEmitJump): (JSC::ARM64Assembler::linkJumpOrCall): (JSC::ARM64Assembler::linkCompareAndBranch): (JSC::ARM64Assembler::linkConditionalBranch): (JSC::ARM64Assembler::linkTestAndBranch): * assembler/AbstractMacroAssembler.h: (JSC::AbstractMacroAssembler::prepareForAtomicRepatchNearCallConcurrently): * assembler/LinkBuffer.cpp: (JSC::LinkBuffer::copyCompactAndLinkCode): (JSC::LinkBuffer::linkCode): (JSC::LinkBuffer::allocate): (JSC::LinkBuffer::performFinalization): * assembler/LinkBuffer.h: (JSC::LinkBuffer::LinkBuffer): (JSC::LinkBuffer::setIsJumpIsland): * assembler/MacroAssemblerCodeRef.h: (JSC::MacroAssemblerCodeRef::MacroAssemblerCodeRef): * jit/ExecutableAllocator.cpp: (JSC::initializeJITPageReservation): (JSC::ExecutableAllocator::initializeUnderlyingAllocator): (JSC::ExecutableAllocator::isValid const): (JSC::ExecutableAllocator::allocate): (JSC::ExecutableAllocator::getJumpIslandTo): (JSC::ExecutableAllocator::getJumpIslandToConcurrently): (JSC::FixedVMPoolExecutableAllocator::~FixedVMPoolExecutableAllocator): Deleted. * jit/ExecutableAllocator.h: (JSC::ExecutableAllocatorBase::allocate): * runtime/CommonSlowPaths.cpp: * runtime/Completion.cpp: (JSC::evaluate): * runtime/JSModuleLoader.cpp: (JSC::moduleLoaderParseModule): * runtime/OptionsList.h: * tools/CodeProfile.cpp: (JSC::truncateTrace): Deleted. (JSC::CodeProfile::sample): Deleted. (JSC::CodeProfile::report): Deleted. * tools/CodeProfile.h: (JSC::CodeProfile::CodeProfile): Deleted. (JSC::CodeProfile::parent): Deleted. (JSC::CodeProfile::addChild): Deleted. (): Deleted. (JSC::CodeProfile::CodeRecord::CodeRecord): Deleted. * tools/CodeProfiling.cpp: (JSC::setProfileTimer): Deleted. (JSC::profilingTimer): Deleted. (JSC::CodeProfiling::sample): Deleted. (JSC::CodeProfiling::notifyAllocator): Deleted. (JSC::CodeProfiling::getOwnerUIDForPC): Deleted. (JSC::CodeProfiling::begin): Deleted. (JSC::CodeProfiling::end): Deleted. * tools/CodeProfiling.h: (): Deleted. (JSC::CodeProfiling::CodeProfiling): Deleted. (JSC::CodeProfiling::~CodeProfiling): Deleted. (JSC::CodeProfiling::enabled): Deleted. (JSC::CodeProfiling::beVerbose): Deleted. (JSC::CodeProfiling::beVeryVerbose): Deleted. * wasm/WasmBBQPlan.cpp: (JSC::Wasm::BBQPlan::work): * wasm/WasmCodeBlock.h: * wasm/WasmOMGForOSREntryPlan.cpp: (JSC::Wasm::OMGForOSREntryPlan::work): * wasm/WasmOMGPlan.cpp: (JSC::Wasm::OMGPlan::work): * wasm/WasmPlan.cpp: (JSC::Wasm::Plan::updateCallSitesToCallUs): * wasm/WasmPlan.h: Source/WTF: * wtf/MetaAllocator.cpp: (WTF::MetaAllocatorTracker::notify): (WTF::MetaAllocatorTracker::release): (WTF::MetaAllocator::release): (WTF::MetaAllocatorHandle::MetaAllocatorHandle): (WTF::MetaAllocatorHandle::~MetaAllocatorHandle): (WTF::MetaAllocatorHandle::shrink): (WTF::MetaAllocator::MetaAllocator): (WTF::MetaAllocator::allocate): (WTF::MetaAllocator::currentStatistics): * wtf/MetaAllocator.h: (WTF::MetaAllocatorTracker::find): (WTF::MetaAllocator::allocate): (WTF::MetaAllocator::currentStatistics): (WTF::MetaAllocator::getLock): Deleted. * wtf/MetaAllocatorHandle.h: (WTF::MetaAllocatorHandle::allocator): (WTF::MetaAllocatorHandle::isManaged): Deleted. (WTF::MetaAllocatorHandle::ownerUID): Deleted. * wtf/PlatformEnable.h: * wtf/RedBlackTree.h: * wtf/StdLibExtras.h: (WTF::constructFixedSizeArrayWithArgumentsImpl): (WTF::constructFixedSizeArrayWithArguments): Tools: * Scripts/run-jsc-stress-tests: * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp: (TestWebKitAPI::TEST_F): * TestWebKitAPI/Tests/WTF/RedBlackTree.cpp: (TestWebKitAPI::TEST_F): Canonical link: https://commits.webkit.org/222973@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@259582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-06 18:19:52 +00:00
#endif
[JSC] Introduce JITOperationList to validate JIT-caged pointers https://bugs.webkit.org/show_bug.cgi?id=217261 Reviewed by Saam Barati. Source/JavaScriptCore: This patch adds JITOperationList, which manages all the host-function & jit-operation pointers. And we can now query whether the given pointer is registered in this table. Currently, as a test, we are verifying that host-function is registered in this table when creating NativeExecutable in debug build. * CMakeLists.txt: * JavaScriptCore.xcodeproj/project.pbxproj: * Sources.txt: * assembler/JITOperationList.cpp: Added. (JSC::JITOperationList::initialize): (JSC::addPointers): (JSC::JITOperationList::populatePointersInJavaScriptCore): (JSC::JITOperationList::populatePointersInEmbedder): * assembler/JITOperationList.h: Added. (JSC::JITOperationList::contains const): (JSC::JITOperationList::assertIsHostFunction): (JSC::JITOperationList::assertIsJITOperation): (JSC::JITOperationList::instance): * assembler/MacroAssemblerARM64.cpp: * assembler/MacroAssemblerARMv7.cpp: * assembler/MacroAssemblerMIPS.cpp: * assembler/MacroAssemblerX86Common.cpp: * jsc.cpp: (jscmain): * runtime/InitializeThreading.cpp: (JSC::initialize): * runtime/JSGenericTypedArrayViewPrototypeFunctions.h: (JSC::genericTypedArrayViewProtoFuncSet): (JSC::genericTypedArrayViewProtoFuncCopyWithin): (JSC::genericTypedArrayViewProtoFuncIncludes): (JSC::genericTypedArrayViewProtoFuncIndexOf): (JSC::genericTypedArrayViewProtoFuncJoin): (JSC::genericTypedArrayViewProtoFuncLastIndexOf): (JSC::genericTypedArrayViewProtoGetterFuncBuffer): (JSC::genericTypedArrayViewProtoGetterFuncLength): (JSC::genericTypedArrayViewProtoGetterFuncByteLength): (JSC::genericTypedArrayViewProtoGetterFuncByteOffset): (JSC::genericTypedArrayViewProtoFuncReverse): (JSC::genericTypedArrayViewPrivateFuncSort): (JSC::genericTypedArrayViewProtoFuncSlice): (JSC::genericTypedArrayViewPrivateFuncSubarrayCreate): (JSC::JSC_DEFINE_HOST_FUNCTION): Deleted. * runtime/VM.cpp: (JSC::VM::getHostFunction): Source/WebCore: We should have WebCore::initialize(). It is filed in https://bugs.webkit.org/show_bug.cgi?id=217270. * Headers.cmake: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMBuiltinConstructor.h: * bindings/js/JSDOMConstructor.h: * bindings/js/JSDOMLegacyFactoryFunction.h: * bindings/js/ScriptController.cpp: (WebCore::ScriptController::initializeMainThread): * bindings/js/WebCoreJITOperations.cpp: Copied from Source/WebKit/Shared/WebKit2Initialize.cpp. (WebCore::populateJITOperations): * bindings/js/WebCoreJITOperations.h: Copied from Source/WebKit/Shared/WebKit2Initialize.cpp. * bindings/scripts/CodeGeneratorJS.pm: (GenerateConstructorDefinitions): * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp: * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp: * bridge/objc/WebScriptObject.mm: (+[WebScriptObject initialize]): * domjit/JSDocumentDOMJIT.cpp: * platform/cocoa/SharedBufferCocoa.mm: (+[WebCoreSharedBufferData initialize]): * platform/ios/wak/WebCoreThread.mm: (RunWebThread): Source/WebKit: * Shared/API/c/WKString.cpp: (WKStringCopyJSString): * Shared/Cocoa/WebKit2InitializeCocoa.mm: (WebKit::runInitializationCode): * Shared/WebKit2Initialize.cpp: (WebKit::InitializeWebKit2): * Shared/WebKitJITOperations.cpp: Copied from Source/WebKit/Shared/WebKit2Initialize.cpp. (WebKit::populateJITOperations): * Shared/WebKitJITOperations.h: Copied from Source/WebKit/Shared/WebKit2Initialize.cpp. * Sources.txt: * WebKit.xcodeproj/project.pbxproj: Source/WebKitLegacy/mac: * History/WebBackForwardList.mm: (+[WebBackForwardList initialize]): * History/WebHistoryItem.mm: (+[WebHistoryItem initialize]): * Misc/WebCache.mm: (+[WebCache initialize]): * Misc/WebElementDictionary.mm: (+[WebElementDictionary initialize]): * Misc/WebIconDatabase.mm: * Misc/WebStringTruncator.mm: (+[WebStringTruncator initialize]): * Plugins/Hosted/WebHostedNetscapePluginView.mm: (+[WebHostedNetscapePluginView initialize]): * Plugins/WebBaseNetscapePluginView.mm: * Plugins/WebBasePluginPackage.mm: (+[WebBasePluginPackage initialize]): * Plugins/WebNetscapePluginView.mm: (+[WebNetscapePluginView initialize]): * WebCoreSupport/WebEditorClient.mm: (+[WebUndoStep initialize]): * WebCoreSupport/WebFrameLoaderClient.mm: (+[WebFramePolicyListener initialize]): * WebView/WebArchive.mm: (+[WebArchivePrivate initialize]): * WebView/WebDataSource.mm: (+[WebDataSource initialize]): * WebView/WebHTMLView.mm: (+[WebHTMLViewPrivate initialize]): (+[WebHTMLView initialize]): * WebView/WebPreferences.mm: (+[WebPreferences initialize]): * WebView/WebResource.mm: (+[WebResourcePrivate initialize]): * WebView/WebTextIterator.mm: (+[WebTextIteratorPrivate initialize]): * WebView/WebView.mm: (+[WebView initialize]): * WebView/WebViewData.mm: (+[WebViewPrivate initialize]): Source/WebKitLegacy/win: * WebKitClassFactory.cpp: (WebKitClassFactory::WebKitClassFactory): * WebView.cpp: (WebView::WebView): Source/WTF: * wtf/PlatformCallingConventions.h: * wtf/PlatformEnable.h: Canonical link: https://commits.webkit.org/230049@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 23:51:12 +00:00
#endif