WebKit-https.git
5 years agoDraw all underline segments in a particular run in the same call
mmaxfield@apple.com [Thu, 16 Jan 2014 21:56:26 +0000 (21:56 +0000)]
Draw all underline segments in a particular run in the same call
https://bugs.webkit.org/show_bug.cgi?id=127082

Reviewed by Simon Fraser.

Instead of running CGContextFillRect() in a loop, we can instead call CGContextFillRects()

In my tests, this seems to have about 0.5% speedup.

This patch creates some redundant code, but I think that refactoring would make the code
much less readable. I also am hesitant to make drawLineForText call drawLinesForText because
of the overhead of the vector that would be needed.

As there is no behavior change, no new tests are necessary

* platform/graphics/GraphicsContext.h:
* platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::drawLinesForText):
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::platformInit):
* platform/graphics/wince/GraphicsContextWinCE.cpp:
(WebCore::GraphicsContext::drawLinesForText):
* rendering/InlineTextBox.cpp:
(WebCore::drawSkipInkUnderline):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162150 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoWeb Inspector: add more context to Object.addEventListener assertions
bburg@apple.com [Thu, 16 Jan 2014 21:52:44 +0000 (21:52 +0000)]
Web Inspector: add more context to Object.addEventListener assertions
https://bugs.webkit.org/show_bug.cgi?id=127125

Reviewed by Joseph Pecoraro.

Log invalid event type and listener parameters, and log the other
parameters so the callsite is easier to figure out.

* UserInterface/Object.js:
(WebInspector.Object.addEventListener):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162149 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUse KeyedCoding as a persistent storage mechanism for blobs
beidson@apple.com [Thu, 16 Jan 2014 21:45:34 +0000 (21:45 +0000)]
Use KeyedCoding as a persistent storage mechanism for blobs
https://bugs.webkit.org/show_bug.cgi?id=127012

Reviewed by Anders Carlsson.

Source/WebCore:

Add basic KeyedDecoder interface that is the inverse of KeyedEncoder:
* platform/KeyedCoding.h:
(WebCore::KeyedDecoder::decodeVerifiedEnum):
(WebCore::KeyedDecoder::decodeObject):
(WebCore::KeyedDecoder::decodeObjects):

Use KeyedEncoder/Decoder to encode/decode IDBKeyPath:
* Modules/indexeddb/IDBKeyPath.cpp:
(WebCore::IDBKeyPath::encode):
(WebCore::IDBKeyPath::decode):
* Modules/indexeddb/IDBKeyPath.h:

* WebCore.exp.in:

Source/WebKit2:

Add a way to get the encoded buffer to save:
* Shared/cf/KeyedEncoder.cpp:
(WebKit::KeyedEncoder::finishEncoding):
* Shared/cf/KeyedEncoder.h:

Add a WebKit KeyedDecoder for CF platforms that can decode the previously encoded buffer:
* Shared/cf/KeyedDecoder.cpp: Added.
(WebKit::KeyedDecoder::KeyedDecoder):
(WebKit::KeyedDecoder::~KeyedDecoder):
(WebKit::KeyedDecoder::decodeInt64):
(WebKit::KeyedDecoder::decodeUInt32):
(WebKit::KeyedDecoder::decodeString):
(WebKit::KeyedDecoder::beginObject):
(WebKit::KeyedDecoder::endObject):
(WebKit::KeyedDecoder::beginArray):
(WebKit::KeyedDecoder::beginArrayElement):
(WebKit::KeyedDecoder::endArrayElement):
(WebKit::KeyedDecoder::endArray):
* Shared/cf/KeyedDecoder.h:

Create a WebKit KeyedEncoder/Decoder and use to encode/decode IDBKeyPaths:
* DatabaseProcess/IndexedDB/IDBSerialization.cpp:
(WebKit::serializeIDBKeyPath):
(WebKit::deserializeIDBKeyPath):
* DatabaseProcess/IndexedDB/IDBSerialization.h:

* DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::createObjectStore):

* WebKit2.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162148 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoStop copying WKOriginDataManager.cpp into WebKit2.framework
aestes@apple.com [Thu, 16 Jan 2014 21:30:55 +0000 (21:30 +0000)]
Stop copying WKOriginDataManager.cpp into WebKit2.framework
https://bugs.webkit.org/show_bug.cgi?id=127100

Reviewed by Sam Weinig.

The file was mistakenly added to the 'All' target. Remove it.

* WebKit2.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162147 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[iOS] Install WebKit2 XPC services correctly
aestes@apple.com [Thu, 16 Jan 2014 21:30:53 +0000 (21:30 +0000)]
[iOS] Install WebKit2 XPC services correctly
https://bugs.webkit.org/show_bug.cgi?id=127097

Reviewed by Anders Carlsson.

* Configurations/PluginService.32.xcconfig: Set SKIP_INSTALL to YES on iOS.
* Configurations/PluginService.64.xcconfig: Ditto.
* Configurations/PluginService.Development.xcconfig: Ditto.
* WebKit2.xcodeproj/project.pbxproj: Modified the "Add XPCServices symlink"
build phase to only execute on OS X. Modified the
"Copy XPC services for engineering builds" build phase to copy files
directly to WebKit2.framework/XPCServices/ on iOS, and modified its
output file paths to omit "Versions/A/" (since OS X will have a
XPCServices symlink at the root of the framework bundle).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162146 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoAllow MediaSessionManager to restrict inline <video> playback
eric.carlson@apple.com [Thu, 16 Jan 2014 21:26:53 +0000 (21:26 +0000)]
Allow MediaSessionManager to restrict inline <video> playback
https://bugs.webkit.org/show_bug.cgi?id=127113

Reviewed by Jer Noble.

Source/WebCore:

Test: media/video-fullscreeen-only-playback.html

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::updatePlayState): Drive-by change to not tell the media session that
    playback is starting if the media player is already playing. Enter fullscreen if the media
    session says it is required.

* html/HTMLMediaSession.cpp:
(WebCore::HTMLMediaSession::clientWillBeginPlayback): Make it const.
(WebCore::HTMLMediaSession::requiresFullscreenForVideoPlayback): New, see if the specified
    media element must be played in fullscreen based on the media session settings, document
    settings, and attributes.
* html/HTMLMediaSession.h:

* platform/audio/MediaSession.h: pauseSession shouldn't be virtual.

* platform/audio/MediaSessionManager.cpp:
(WebCore::MediaSessionManager::sessionWillBeginPlayback): Return immediately if ConcurrentPlaybackNotPermitted
    is not set.
(WebCore::MediaSessionManager::sessionRestrictsInlineVideoPlayback): New.
* platform/audio/MediaSessionManager.h:

* platform/audio/ios/MediaSessionManagerIOS.mm:
(WebCore::MediaSessionManageriOS::MediaSessionManageriOS): Set InlineVideoPlaybackRestricted if
    running on an iPhone or iPod class device.

* testing/Internals.cpp:
(WebCore::Internals::setMediaSessionRestrictions): Support InlineVideoPlaybackRestricted.

LayoutTests:

* media/video-fullscreeen-only-playback-expected.txt: Added.
* media/video-fullscreeen-only-playback.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162145 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoWeb Inspector: CallFrame is missing saveIdentityToCookie, or should be excluded
bburg@apple.com [Thu, 16 Jan 2014 21:23:23 +0000 (21:23 +0000)]
Web Inspector: CallFrame is missing saveIdentityToCookie, or should be excluded
https://bugs.webkit.org/show_bug.cgi?id=126791

Reviewed by Timothy Hatcher.

* UserInterface/CallFrame.js: Add a dummy saveIdentityToCookie() implementation.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162144 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoBuild fix for mac following r162141.
roger_fong@apple.com [Thu, 16 Jan 2014 21:07:01 +0000 (21:07 +0000)]
Build fix for mac following r162141.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.h: Switch OVERRIDE to override.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162143 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoAdd support for handling WebGL load policies.
roger_fong@apple.com [Thu, 16 Jan 2014 20:48:17 +0000 (20:48 +0000)]
Add support for handling WebGL load policies.
https://bugs.webkit.org/show_bug.cgi?id=126935
<rdar://problem/15790448>.

Reviewed by Timothy Horton.

Boiler plate code for getting the load policy logic from WebProcess to the UIProcess.

* UIProcess/API/C/WKAPICast.h:
(WebKit::toWebGLLoadPolicy):
* UIProcess/API/C/WKPageLoaderClient.h: Define a new WKPageLoaderClientV4 struct.
* UIProcess/API/Cocoa/WKBrowsingContextController.mm:
(setUpPageLoaderClient):
* UIProcess/WebLoaderClient.cpp:
(WebKit::WebLoaderClient::webGLLoadPolicy):
* UIProcess/WebLoaderClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::webGLPolicyForURL):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::webGLPolicyForURL):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::webGLPolicyForURL): We use a sendSync to get the load policy value from the UIProcess.
* WebProcess/WebPage/WebPage.h:
* WebKitTestRunner/TestController.cpp: Update WKPageLoaderClient to V4.
(WTR::TestController::createWebViewWithOptions):

Rename webGLPolicyForSite to webGLPolicyForURL.

* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::getContext):
* loader/FrameLoaderClient.h:
(WebCore::FrameLoaderClient::webGLPolicyForURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162141 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoGuarding HTMLMediaSession with ENABLE(VIDEO)
thiago.lacerda@openbossa.org [Thu, 16 Jan 2014 20:11:54 +0000 (20:11 +0000)]
Guarding HTMLMediaSession with ENABLE(VIDEO)
https://bugs.webkit.org/show_bug.cgi?id=127126

Reviewed by Eric Carlson.

No new tests needed.

* html/HTMLMediaSession.cpp:
* html/HTMLMediaSession.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162140 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoRemove workaround for compilers not supporting explicit override control
commit-queue@webkit.org [Thu, 16 Jan 2014 19:42:50 +0000 (19:42 +0000)]
Remove workaround for compilers not supporting explicit override control
https://bugs.webkit.org/show_bug.cgi?id=127111

Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-16
Reviewed by Anders Carlsson.

Now all compilers support explicit override control, this workaround can be removed.

Source/JavaScriptCore:

* API/JSAPIWrapperObject.mm:
* API/JSCallbackObject.h:
* API/JSManagedValue.mm:
* API/JSScriptRef.cpp:
* bytecode/CodeBlock.h:
* bytecode/CodeBlockJettisoningWatchpoint.h:
* bytecode/ProfiledCodeBlockJettisoningWatchpoint.h:
* bytecode/StructureStubClearingWatchpoint.h:
* dfg/DFGArrayifySlowPathGenerator.h:
* dfg/DFGCallArrayAllocatorSlowPathGenerator.h:
* dfg/DFGFailedFinalizer.h:
* dfg/DFGJITCode.h:
* dfg/DFGJITFinalizer.h:
* dfg/DFGSaneStringGetByValSlowPathGenerator.h:
* dfg/DFGSlowPathGenerator.h:
* dfg/DFGSpeculativeJIT64.cpp:
* heap/Heap.h:
* heap/IncrementalSweeper.h:
* heap/SuperRegion.h:
* inspector/InspectorValues.h:
* inspector/JSGlobalObjectInspectorController.h:
* inspector/agents/InspectorAgent.h:
* inspector/remote/RemoteInspector.h:
* inspector/remote/RemoteInspectorDebuggableConnection.h:
* inspector/scripts/CodeGeneratorInspector.py:
(Generator.go):
* jit/ClosureCallStubRoutine.h:
* jit/ExecutableAllocatorFixedVMPool.cpp:
* jit/GCAwareJITStubRoutine.h:
* jit/JITCode.h:
* jit/JITToDFGDeferredCompilationCallback.h:
* parser/Nodes.h:
* parser/SourceProvider.h:
* runtime/DataView.h:
* runtime/GCActivityCallback.h:
* runtime/GenericTypedArrayView.h:
* runtime/JSGlobalObjectDebuggable.h:
* runtime/JSPromiseReaction.cpp:
* runtime/RegExpCache.h:
* runtime/SimpleTypedArrayController.h:
* runtime/SymbolTable.h:
* runtime/WeakMapData.h:

Source/WebCore:

* Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
* Modules/encryptedmedia/CDMPrivateAVFoundation.h:
* Modules/encryptedmedia/CDMPrivateAVFoundation.mm:
* Modules/encryptedmedia/MediaKeyMessageEvent.h:
* Modules/encryptedmedia/MediaKeyNeededEvent.h:
* Modules/encryptedmedia/MediaKeySession.h:
* Modules/encryptedmedia/MediaKeys.h:
* Modules/geolocation/Geolocation.h:
* Modules/indexeddb/DOMWindowIndexedDatabase.h:
* Modules/indexeddb/IDBCursorBackendOperations.h:
* Modules/indexeddb/IDBCursorWithValue.h:
* Modules/indexeddb/IDBDatabase.h:
* Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
* Modules/indexeddb/IDBOpenDBRequest.h:
* Modules/indexeddb/IDBRequest.h:
* Modules/indexeddb/IDBTransaction.h:
* Modules/indexeddb/IDBTransactionBackendOperations.h:
* Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
* Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
* Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
* Modules/indieui/UIRequestEvent.h:
* Modules/mediasource/MediaSource.h:
* Modules/mediasource/MediaSourceRegistry.h:
* Modules/mediasource/SourceBuffer.h:
* Modules/mediasource/SourceBufferList.h:
* Modules/mediastream/AudioStreamTrack.h:
* Modules/mediastream/MediaConstraintsImpl.h:
* Modules/mediastream/MediaStream.h:
* Modules/mediastream/MediaStreamRegistry.h:
* Modules/mediastream/MediaStreamTrack.h:
* Modules/mediastream/MediaStreamTrackEvent.h:
* Modules/mediastream/MediaStreamTrackSourcesRequest.h:
* Modules/mediastream/RTCDTMFSender.h:
* Modules/mediastream/RTCDataChannel.h:
* Modules/mediastream/RTCPeerConnection.h:
* Modules/mediastream/RTCSessionDescriptionRequestImpl.h:
* Modules/mediastream/RTCStatsRequestImpl.h:
* Modules/mediastream/RTCStatsResponse.h:
* Modules/mediastream/RTCVoidRequestImpl.h:
* Modules/mediastream/UserMediaRequest.h:
* Modules/mediastream/VideoStreamTrack.h:
* Modules/networkinfo/NetworkInfoConnection.h:
* Modules/notifications/DOMWindowNotifications.h:
* Modules/notifications/Notification.h:
* Modules/notifications/NotificationCenter.h:
* Modules/plugins/QuickTimePluginReplacement.h:
* Modules/speech/SpeechRecognition.h:
* Modules/speech/SpeechRecognitionError.h:
* Modules/speech/SpeechRecognitionEvent.h:
* Modules/speech/SpeechSynthesis.h:
* Modules/speech/SpeechSynthesisUtterance.h:
* Modules/webaudio/AnalyserNode.h:
* Modules/webaudio/AudioBasicInspectorNode.h:
* Modules/webaudio/AudioBasicProcessorNode.h:
* Modules/webaudio/AudioBufferSourceNode.h:
* Modules/webaudio/AudioContext.h:
* Modules/webaudio/AudioDestinationNode.h:
* Modules/webaudio/AudioNode.h:
* Modules/webaudio/AudioNodeInput.h:
* Modules/webaudio/AudioParam.h:
* Modules/webaudio/AudioProcessingEvent.h:
* Modules/webaudio/BiquadDSPKernel.h:
* Modules/webaudio/BiquadProcessor.h:
* Modules/webaudio/ChannelMergerNode.h:
* Modules/webaudio/ChannelSplitterNode.h:
* Modules/webaudio/ConvolverNode.h:
* Modules/webaudio/DefaultAudioDestinationNode.h:
* Modules/webaudio/DelayDSPKernel.h:
* Modules/webaudio/DelayProcessor.h:
* Modules/webaudio/DynamicsCompressorNode.h:
* Modules/webaudio/GainNode.h:
* Modules/webaudio/MediaElementAudioSourceNode.h:
* Modules/webaudio/MediaStreamAudioDestinationNode.h:
* Modules/webaudio/MediaStreamAudioSourceNode.h:
* Modules/webaudio/OfflineAudioCompletionEvent.h:
* Modules/webaudio/OfflineAudioDestinationNode.h:
* Modules/webaudio/OscillatorNode.h:
* Modules/webaudio/PannerNode.h:
* Modules/webaudio/ScriptProcessorNode.h:
* Modules/webaudio/WaveShaperDSPKernel.h:
* Modules/webaudio/WaveShaperProcessor.h:
* Modules/webdatabase/DatabaseTask.h:
* Modules/webdatabase/SQLTransaction.h:
* Modules/webdatabase/SQLTransactionBackend.h:
* Modules/websockets/CloseEvent.h:
* Modules/websockets/WebSocket.h:
* Modules/websockets/WebSocketChannel.h:
* Modules/websockets/WebSocketDeflateFramer.cpp:
* Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
* Modules/websockets/WorkerThreadableWebSocketChannel.h:
* accessibility/AccessibilityARIAGrid.h:
* accessibility/AccessibilityARIAGridCell.h:
* accessibility/AccessibilityARIAGridRow.h:
* accessibility/AccessibilityImageMapLink.h:
* accessibility/AccessibilityList.h:
* accessibility/AccessibilityListBox.h:
* accessibility/AccessibilityListBoxOption.h:
* accessibility/AccessibilityMediaControls.h:
* accessibility/AccessibilityMenuList.h:
* accessibility/AccessibilityMenuListOption.h:
* accessibility/AccessibilityMenuListPopup.h:
* accessibility/AccessibilityMockObject.h:
* accessibility/AccessibilityNodeObject.h:
* accessibility/AccessibilityProgressIndicator.h:
* accessibility/AccessibilityRenderObject.h:
* accessibility/AccessibilitySVGRoot.h:
* accessibility/AccessibilityScrollView.h:
* accessibility/AccessibilityScrollbar.h:
* accessibility/AccessibilitySearchFieldButtons.h:
* accessibility/AccessibilitySlider.h:
* accessibility/AccessibilitySpinButton.h:
* accessibility/AccessibilityTable.h:
* accessibility/AccessibilityTableCell.h:
* accessibility/AccessibilityTableColumn.h:
* accessibility/AccessibilityTableHeaderContainer.h:
* accessibility/AccessibilityTableRow.h:
* bindings/js/JSCryptoAlgorithmBuilder.h:
* bindings/js/JSCryptoKeySerializationJWK.h:
* bindings/js/JSDOMGlobalObjectTask.h:
* bindings/js/JSEventListener.h:
* bindings/js/JSLazyEventListener.h:
* bindings/js/JSMutationCallback.h:
* bindings/js/PageScriptDebugServer.h:
* bindings/js/ScriptDebugServer.h:
* bindings/js/WebCoreTypedArrayController.h:
* bindings/js/WorkerScriptDebugServer.h:
* bridge/c/c_class.h:
* bridge/c/c_instance.h:
* bridge/c/c_runtime.h:
* bridge/runtime_root.h:
* crypto/algorithms/CryptoAlgorithmAES_CBC.h:
* crypto/algorithms/CryptoAlgorithmAES_KW.h:
* crypto/algorithms/CryptoAlgorithmHMAC.h:
* crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h:
* crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
* crypto/algorithms/CryptoAlgorithmRSA_OAEP.h:
* crypto/algorithms/CryptoAlgorithmSHA1.h:
* crypto/algorithms/CryptoAlgorithmSHA224.h:
* crypto/algorithms/CryptoAlgorithmSHA256.h:
* crypto/algorithms/CryptoAlgorithmSHA384.h:
* crypto/algorithms/CryptoAlgorithmSHA512.h:
* crypto/keys/CryptoKeyAES.h:
* crypto/keys/CryptoKeyHMAC.h:
* crypto/keys/CryptoKeyRSA.h:
* crypto/keys/CryptoKeySerializationRaw.h:
* crypto/parameters/CryptoAlgorithmAesCbcParams.h:
* crypto/parameters/CryptoAlgorithmAesKeyGenParams.h:
* crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
* crypto/parameters/CryptoAlgorithmHmacParams.h:
* crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h:
* crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
* crypto/parameters/CryptoAlgorithmRsaOaepParams.h:
* crypto/parameters/CryptoAlgorithmRsaSsaParams.h:
* css/CSSBasicShapes.h:
* css/CSSCanvasValue.h:
* css/CSSCharsetRule.h:
* css/CSSComputedStyleDeclaration.h:
* css/CSSCrossfadeValue.h:
* css/CSSFilterImageValue.h:
* css/CSSFontFaceRule.h:
* css/CSSFontSelector.h:
* css/CSSGroupingRule.h:
* css/CSSHostRule.h:
* css/CSSImportRule.h:
* css/CSSMediaRule.h:
* css/CSSPageRule.h:
* css/CSSStyleRule.h:
* css/CSSStyleSheet.h:
* css/CSSSupportsRule.h:
* css/CSSUnknownRule.h:
* css/FontLoader.cpp:
* css/FontLoader.h:
* css/PropertySetCSSStyleDeclaration.h:
* css/WebKitCSSFilterRule.h:
* css/WebKitCSSKeyframeRule.h:
* css/WebKitCSSKeyframesRule.h:
* css/WebKitCSSRegionRule.h:
* css/WebKitCSSViewportRule.h:
* dom/Attr.h:
* dom/BeforeTextInsertedEvent.h:
* dom/BeforeUnloadEvent.h:
* dom/CDATASection.h:
* dom/CharacterData.h:
* dom/ChildNodeList.h:
* dom/Clipboard.cpp:
* dom/ClipboardEvent.h:
* dom/ContainerNode.h:
* dom/DOMImplementation.cpp:
* dom/DatasetDOMStringMap.h:
* dom/DeviceMotionController.h:
* dom/DeviceOrientationController.h:
* dom/Document.h:
* dom/DocumentEventQueue.cpp:
* dom/DocumentEventQueue.h:
* dom/DocumentFragment.h:
* dom/Element.h:
* dom/ErrorEvent.h:
* dom/EventContext.h:
* dom/EventTarget.h:
* dom/FocusEvent.h:
* dom/KeyboardEvent.h:
* dom/LiveNodeList.h:
* dom/MessagePort.h:
* dom/MouseEvent.h:
* dom/MutationRecord.cpp:
* dom/Node.h:
* dom/PageTransitionEvent.h:
* dom/ProcessingInstruction.h:
* dom/ProgressEvent.h:
* dom/PseudoElement.h:
* dom/ScriptExecutionContext.h:
* dom/ShadowRoot.h:
* dom/StaticNodeList.h:
* dom/StyledElement.h:
* dom/TagNodeList.h:
* dom/TemplateContentDocumentFragment.h:
* dom/Text.h:
* dom/TextEvent.h:
* dom/TouchEvent.h:
* dom/TransitionEvent.h:
* dom/UIEvent.h:
* dom/WebKitAnimationEvent.h:
* dom/WebKitNamedFlow.h:
* dom/WebKitTransitionEvent.h:
* editing/AppendNodeCommand.h:
* editing/ApplyBlockElementCommand.h:
* editing/ApplyStyleCommand.h:
* editing/BreakBlockquoteCommand.h:
* editing/CompositeEditCommand.h:
* editing/DeleteButton.h:
* editing/DeleteFromTextNodeCommand.h:
* editing/EditCommand.h:
* editing/InsertIntoTextNodeCommand.h:
* editing/InsertNodeBeforeCommand.h:
* editing/InsertTextCommand.h:
* editing/MergeIdenticalElementsCommand.h:
* editing/RemoveCSSPropertyCommand.h:
* editing/RemoveNodeCommand.h:
* editing/ReplaceNodeWithSpanCommand.h:
* editing/SetNodeAttributeCommand.h:
* editing/SetSelectionCommand.h:
* editing/SpellChecker.h:
* editing/SpellingCorrectionCommand.cpp:
* editing/SpellingCorrectionCommand.h:
* editing/SplitElementCommand.h:
* editing/SplitTextNodeCommand.h:
* editing/WrapContentsInDummySpanCommand.h:
* editing/ios/EditorIOS.mm:
* editing/markup.cpp:
* fileapi/Blob.cpp:
* fileapi/Blob.h:
* fileapi/File.h:
* fileapi/FileReader.h:
* fileapi/FileThreadTask.h:
* history/BackForwardList.h:
* html/BaseButtonInputType.h:
* html/BaseCheckableInputType.h:
* html/BaseChooserOnlyDateAndTimeInputType.h:
* html/BaseClickableWithKeyInputType.h:
* html/BaseDateAndTimeInputType.h:
* html/BaseTextInputType.h:
* html/ButtonInputType.h:
* html/CheckboxInputType.h:
* html/ClassList.h:
* html/ColorInputType.h:
* html/DOMSettableTokenList.h:
* html/DateInputType.h:
* html/DateTimeInputType.h:
* html/DateTimeLocalInputType.h:
* html/EmailInputType.h:
* html/FTPDirectoryDocument.cpp:
* html/FileInputType.h:
* html/FormAssociatedElement.cpp:
* html/FormAssociatedElement.h:
* html/HTMLAnchorElement.h:
* html/HTMLAppletElement.h:
* html/HTMLAreaElement.h:
* html/HTMLBRElement.h:
* html/HTMLBaseElement.h:
* html/HTMLBodyElement.h:
* html/HTMLButtonElement.h:
* html/HTMLCanvasElement.h:
* html/HTMLDetailsElement.cpp:
* html/HTMLDetailsElement.h:
* html/HTMLDivElement.h:
* html/HTMLDocument.h:
* html/HTMLElement.h:
* html/HTMLEmbedElement.h:
* html/HTMLFieldSetElement.h:
* html/HTMLFontElement.h:
* html/HTMLFormControlElement.h:
* html/HTMLFormControlElementWithState.h:
* html/HTMLFormControlsCollection.h:
* html/HTMLFormElement.h:
* html/HTMLFrameElement.h:
* html/HTMLFrameElementBase.h:
* html/HTMLFrameOwnerElement.h:
* html/HTMLFrameSetElement.h:
* html/HTMLHRElement.h:
* html/HTMLHtmlElement.h:
* html/HTMLIFrameElement.h:
* html/HTMLImageElement.h:
* html/HTMLImageLoader.h:
* html/HTMLInputElement.cpp:
* html/HTMLInputElement.h:
* html/HTMLKeygenElement.h:
* html/HTMLLIElement.h:
* html/HTMLLabelElement.h:
* html/HTMLLegendElement.h:
* html/HTMLLinkElement.h:
* html/HTMLMapElement.h:
* html/HTMLMarqueeElement.h:
* html/HTMLMediaElement.h:
* html/HTMLMediaSession.h:
* html/HTMLMediaSource.h:
* html/HTMLMetaElement.h:
* html/HTMLMeterElement.h:
* html/HTMLModElement.h:
* html/HTMLOListElement.h:
* html/HTMLObjectElement.h:
* html/HTMLOptGroupElement.h:
* html/HTMLOptionElement.h:
* html/HTMLOutputElement.h:
* html/HTMLParagraphElement.h:
* html/HTMLParamElement.h:
* html/HTMLPlugInElement.h:
* html/HTMLPlugInImageElement.h:
* html/HTMLPreElement.h:
* html/HTMLProgressElement.h:
* html/HTMLQuoteElement.h:
* html/HTMLScriptElement.h:
* html/HTMLSelectElement.h:
* html/HTMLSourceElement.h:
* html/HTMLStyleElement.h:
* html/HTMLSummaryElement.h:
* html/HTMLTableCaptionElement.h:
* html/HTMLTableCellElement.h:
* html/HTMLTableColElement.h:
* html/HTMLTableElement.h:
* html/HTMLTablePartElement.h:
* html/HTMLTableRowsCollection.h:
* html/HTMLTableSectionElement.h:
* html/HTMLTemplateElement.h:
* html/HTMLTextAreaElement.h:
* html/HTMLTextFormControlElement.h:
* html/HTMLTitleElement.h:
* html/HTMLTrackElement.h:
* html/HTMLUListElement.h:
* html/HTMLUnknownElement.h:
* html/HTMLVideoElement.h:
* html/HiddenInputType.h:
* html/ImageDocument.cpp:
* html/ImageInputType.h:
* html/LabelableElement.h:
* html/LabelsNodeList.h:
* html/MediaController.h:
* html/MonthInputType.h:
* html/NumberInputType.h:
* html/PasswordInputType.h:
* html/PluginDocument.h:
* html/RadioInputType.h:
* html/RangeInputType.h:
* html/ResetInputType.h:
* html/SearchInputType.h:
* html/SubmitInputType.h:
* html/TelephoneInputType.h:
* html/TextFieldInputType.h:
* html/TextInputType.h:
* html/TimeInputType.h:
* html/URLInputType.h:
* html/WeekInputType.h:
* html/canvas/CanvasRenderingContext2D.cpp:
* html/canvas/CanvasRenderingContext2D.h:
* html/canvas/WebGLRenderingContext.h:
* html/parser/HTMLDocumentParser.h:
* html/parser/TextDocumentParser.h:
* html/shadow/DetailsMarkerControl.h:
* html/shadow/InsertionPoint.h:
* html/shadow/MediaControlElementTypes.h:
* html/shadow/MediaControlElements.h:
* html/shadow/MediaControls.h:
* html/shadow/MediaControlsApple.h:
* html/shadow/MediaControlsGtk.h:
* html/shadow/MeterShadowElement.h:
* html/shadow/ProgressShadowElement.h:
* html/shadow/SliderThumbElement.cpp:
* html/shadow/SliderThumbElement.h:
* html/shadow/SpinButtonElement.h:
* html/shadow/TextControlInnerElements.h:
* html/shadow/YouTubeEmbedShadowElement.h:
* html/track/AudioTrack.h:
* html/track/AudioTrackList.h:
* html/track/InbandGenericTextTrack.h:
* html/track/InbandTextTrack.h:
* html/track/InbandWebVTTTextTrack.h:
* html/track/LoadableTextTrack.h:
* html/track/TextTrack.h:
* html/track/TextTrackCue.h:
* html/track/TextTrackCueGeneric.cpp:
* html/track/TextTrackCueGeneric.h:
* html/track/TextTrackList.h:
* html/track/TrackListBase.h:
* html/track/VideoTrack.h:
* html/track/VideoTrackList.h:
* html/track/WebVTTElement.h:
* inspector/CommandLineAPIModule.h:
* inspector/InjectedScriptCanvasModule.h:
* inspector/InspectorApplicationCacheAgent.h:
* inspector/InspectorCSSAgent.h:
* inspector/InspectorCanvasAgent.h:
* inspector/InspectorConsoleAgent.cpp:
* inspector/InspectorConsoleAgent.h:
* inspector/InspectorController.h:
* inspector/InspectorDOMAgent.h:
* inspector/InspectorDOMDebuggerAgent.h:
* inspector/InspectorDOMStorageAgent.h:
* inspector/InspectorDatabaseAgent.h:
* inspector/InspectorDebuggerAgent.h:
* inspector/InspectorHeapProfilerAgent.h:
* inspector/InspectorIndexedDBAgent.cpp:
* inspector/InspectorIndexedDBAgent.h:
* inspector/InspectorInputAgent.h:
* inspector/InspectorLayerTreeAgent.h:
* inspector/InspectorMemoryAgent.h:
* inspector/InspectorPageAgent.h:
* inspector/InspectorProfilerAgent.h:
* inspector/InspectorResourceAgent.h:
* inspector/InspectorTimelineAgent.h:
* inspector/InspectorWorkerAgent.h:
* inspector/PageConsoleAgent.cpp:
* inspector/PageConsoleAgent.h:
* inspector/PageInjectedScriptHost.h:
* inspector/PageInjectedScriptManager.h:
* inspector/PageRuntimeAgent.h:
* inspector/WorkerConsoleAgent.h:
* inspector/WorkerDebuggerAgent.h:
* inspector/WorkerInspectorController.h:
* inspector/WorkerRuntimeAgent.h:
* loader/DocumentLoader.h:
* loader/EmptyClients.h:
* loader/FrameNetworkingContext.h:
* loader/ImageLoader.h:
* loader/NavigationScheduler.cpp:
* loader/NetscapePlugInStreamLoader.h:
* loader/PingLoader.h:
* loader/ResourceLoader.h:
* loader/SubresourceLoader.h:
* loader/WorkerThreadableLoader.h:
* loader/appcache/ApplicationCacheGroup.cpp:
* loader/appcache/ApplicationCacheGroup.h:
* loader/appcache/DOMApplicationCache.h:
* loader/archive/cf/LegacyWebArchive.h:
* loader/cache/CachedCSSStyleSheet.h:
* loader/cache/CachedFont.h:
* loader/cache/CachedFontClient.h:
* loader/cache/CachedImage.h:
* loader/cache/CachedImageClient.h:
* loader/cache/CachedRawResource.h:
* loader/cache/CachedRawResourceClient.h:
* loader/cache/CachedSVGDocument.h:
* loader/cache/CachedSVGDocumentClient.h:
* loader/cache/CachedScript.h:
* loader/cache/CachedShader.h:
* loader/cache/CachedStyleSheetClient.h:
* loader/cache/CachedTextTrack.h:
* loader/cache/CachedXSLStyleSheet.h:
* loader/icon/IconLoader.h:
* mathml/MathMLElement.h:
* mathml/MathMLInlineContainerElement.h:
* mathml/MathMLMathElement.h:
* mathml/MathMLSelectElement.h:
* mathml/MathMLTextElement.h:
* page/CaptionUserPreferencesMediaAF.h:
* page/Chrome.h:
* page/DOMTimer.h:
* page/DOMWindow.h:
* page/DOMWindowExtension.h:
* page/EventSource.h:
* page/Frame.h:
* page/FrameView.h:
* page/PageDebuggable.h:
* page/PageSerializer.cpp:
* page/Performance.h:
* page/SuspendableTimer.h:
* page/animation/ImplicitAnimation.h:
* page/animation/KeyframeAnimation.h:
* page/scrolling/AsyncScrollingCoordinator.h:
* page/scrolling/ScrollingConstraints.h:
* page/scrolling/ScrollingStateFixedNode.h:
* page/scrolling/ScrollingStateScrollingNode.h:
* page/scrolling/ScrollingStateStickyNode.h:
* page/scrolling/ScrollingTreeScrollingNode.h:
* page/scrolling/ThreadedScrollingTree.h:
* page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.h:
* page/scrolling/ios/ScrollingCoordinatorIOS.h:
* page/scrolling/ios/ScrollingTreeIOS.h:
* page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h:
* page/scrolling/mac/ScrollingCoordinatorMac.h:
* page/scrolling/mac/ScrollingTreeFixedNode.h:
* page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
* page/scrolling/mac/ScrollingTreeStickyNode.h:
* pdf/ios/PDFDocument.cpp:
* pdf/ios/PDFDocument.h:
* platform/CalculationValue.h:
* platform/ClockGeneric.h:
* platform/MainThreadTask.h:
* platform/PODIntervalTree.h:
* platform/PODRedBlackTree.h:
* platform/RefCountedSupplement.h:
* platform/ScrollView.h:
* platform/Scrollbar.h:
* platform/Timer.h:
* platform/animation/TimingFunction.h:
* platform/audio/AudioDSPKernelProcessor.h:
* platform/audio/EqualPowerPanner.h:
* platform/audio/HRTFPanner.h:
* platform/audio/ios/AudioDestinationIOS.h:
* platform/audio/mac/AudioDestinationMac.h:
* platform/audio/nix/AudioDestinationNix.h:
* platform/efl/RenderThemeEfl.h:
* platform/efl/ScrollbarEfl.h:
* platform/efl/ScrollbarThemeEfl.h:
* platform/graphics/AudioTrackPrivate.h:
* platform/graphics/BitmapImage.h:
* platform/graphics/CrossfadeGeneratedImage.h:
* platform/graphics/FloatPolygon.h:
* platform/graphics/GeneratedImage.h:
* platform/graphics/GradientImage.h:
* platform/graphics/GraphicsLayer.h:
* platform/graphics/InbandTextTrackPrivate.h:
* platform/graphics/MediaPlayer.cpp:
* platform/graphics/SimpleFontData.h:
* platform/graphics/VideoTrackPrivate.h:
* platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
* platform/graphics/avfoundation/VideoTrackPrivateAVF.h:
* platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h:
* platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h:
* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
* platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
* platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h:
* platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
* platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
* platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
* platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
* platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
* platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h:
* platform/graphics/ca/GraphicsLayerCA.h:
* platform/graphics/ca/mac/PlatformCALayerMac.h:
* platform/graphics/ca/mac/TileController.h:
* platform/graphics/ca/win/LegacyCACFLayerTreeHost.h:
* platform/graphics/ca/win/PlatformCALayerWin.h:
* platform/graphics/ca/win/WKCACFViewLayerTreeHost.h:
* platform/graphics/cg/PDFDocumentImage.h:
* platform/graphics/efl/GraphicsContext3DPrivate.h:
* platform/graphics/egl/GLContextFromCurrentEGL.h:
* platform/graphics/filters/DistantLightSource.h:
* platform/graphics/filters/FEComposite.h:
* platform/graphics/filters/FEDisplacementMap.h:
* platform/graphics/filters/FEFlood.h:
* platform/graphics/filters/FilterOperation.h:
* platform/graphics/filters/PointLightSource.h:
* platform/graphics/filters/SpotLightSource.h:
* platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h:
* platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h:
* platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.h:
* platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h:
* platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h:
* platform/graphics/ios/MediaPlayerPrivateIOS.h:
* platform/graphics/ios/TextTrackRepresentationIOS.h:
* platform/graphics/surfaces/GLTransportSurface.h:
* platform/graphics/surfaces/egl/EGLContext.h:
* platform/graphics/surfaces/egl/EGLSurface.h:
* platform/graphics/surfaces/egl/EGLXSurface.h:
* platform/graphics/surfaces/glx/GLXContext.h:
* platform/graphics/surfaces/glx/GLXSurface.h:
* platform/graphics/texmap/GraphicsLayerTextureMapper.h:
* platform/graphics/texmap/TextureMapperGL.h:
* platform/graphics/texmap/TextureMapperImageBuffer.h:
* platform/graphics/texmap/TextureMapperLayer.h:
* platform/graphics/texmap/TextureMapperTiledBackingStore.h:
* platform/graphics/texmap/coordinated/CompositingCoordinator.h:
* platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:
* platform/graphics/texmap/coordinated/CoordinatedCustomFilterProgram.h:
* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
* platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:
* platform/graphics/texmap/coordinated/CoordinatedTile.h:
* platform/graphics/texmap/coordinated/UpdateAtlas.cpp:
* platform/gtk/RenderThemeGtk.h:
* platform/ios/DeviceMotionClientIOS.h:
* platform/ios/DeviceOrientationClientIOS.h:
* platform/ios/ScrollAnimatorIOS.h:
* platform/ios/ScrollbarThemeIOS.h:
* platform/ios/WebSafeGCActivityCallbackIOS.h:
* platform/ios/WebSafeIncrementalSweeperIOS.h:
* platform/mac/PlatformClockCA.h:
* platform/mac/PlatformClockCM.h:
* platform/mac/ScrollAnimatorMac.h:
* platform/mac/ScrollbarThemeMac.h:
* platform/mediastream/MediaStreamTrackPrivate.h:
* platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h:
* platform/mediastream/mac/AVAudioCaptureSource.h:
* platform/mediastream/mac/AVMediaCaptureSource.h:
* platform/mediastream/mac/AVVideoCaptureSource.h:
* platform/mediastream/mac/MediaStreamCenterMac.h:
* platform/mock/DeviceMotionClientMock.h:
* platform/mock/DeviceOrientationClientMock.h:
* platform/mock/MockMediaStreamCenter.h:
* platform/mock/RTCDataChannelHandlerMock.h:
* platform/mock/RTCNotifiersMock.h:
* platform/mock/RTCPeerConnectionHandlerMock.h:
* platform/mock/mediasource/MockMediaPlayerMediaSource.h:
* platform/mock/mediasource/MockMediaSourcePrivate.h:
* platform/mock/mediasource/MockSourceBufferPrivate.cpp:
* platform/mock/mediasource/MockSourceBufferPrivate.h:
* platform/network/BlobRegistryImpl.h:
* platform/network/BlobResourceHandle.cpp:
* platform/network/BlobResourceHandle.h:
* platform/network/ResourceHandle.h:
* platform/network/SynchronousLoaderClient.h:
* platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
* platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
* platform/nix/RenderThemeNix.h:
* platform/nix/ScrollbarThemeNix.h:
* platform/text/LocaleICU.h:
* platform/text/LocaleNone.cpp:
* platform/text/PlatformLocale.cpp:
* platform/text/mac/LocaleMac.h:
* platform/text/win/LocaleWin.h:
* platform/win/PopupMenuWin.h:
* plugins/PluginView.h:
* rendering/AutoTableLayout.h:
* rendering/ClipPathOperation.h:
* rendering/EllipsisBox.h:
* rendering/FilterEffectRenderer.h:
* rendering/FixedTableLayout.h:
* rendering/InlineElementBox.h:
* rendering/InlineFlowBox.h:
* rendering/InlineTextBox.h:
* rendering/RenderBlock.h:
* rendering/RenderBlockFlow.h:
* rendering/RenderBox.h:
* rendering/RenderBoxModelObject.h:
* rendering/RenderButton.h:
* rendering/RenderCombineText.h:
* rendering/RenderCounter.h:
* rendering/RenderDeprecatedFlexibleBox.h:
* rendering/RenderDetailsMarker.h:
* rendering/RenderElement.h:
* rendering/RenderEmbeddedObject.h:
* rendering/RenderFieldset.h:
* rendering/RenderFileUploadControl.h:
* rendering/RenderFlexibleBox.h:
* rendering/RenderFlowThread.h:
* rendering/RenderFrame.h:
* rendering/RenderFrameSet.h:
* rendering/RenderFullScreen.h:
* rendering/RenderGrid.h:
* rendering/RenderHTMLCanvas.h:
* rendering/RenderIFrame.h:
* rendering/RenderImage.h:
* rendering/RenderImageResourceStyleImage.h:
* rendering/RenderInline.h:
* rendering/RenderLayer.h:
* rendering/RenderLayerBacking.h:
* rendering/RenderLayerCompositor.h:
* rendering/RenderLayerFilterInfo.h:
* rendering/RenderLayerModelObject.h:
* rendering/RenderLineBreak.h:
* rendering/RenderListBox.h:
* rendering/RenderListItem.h:
* rendering/RenderListMarker.h:
* rendering/RenderMedia.h:
* rendering/RenderMenuList.h:
* rendering/RenderMeter.h:
* rendering/RenderMultiColumnBlock.h:
* rendering/RenderMultiColumnFlowThread.h:
* rendering/RenderMultiColumnSet.h:
* rendering/RenderNamedFlowFragment.h:
* rendering/RenderNamedFlowThread.h:
* rendering/RenderObject.h:
* rendering/RenderProgress.h:
* rendering/RenderQuote.h:
* rendering/RenderRegion.h:
* rendering/RenderRegionSet.h:
* rendering/RenderReplaced.h:
* rendering/RenderReplica.h:
* rendering/RenderRuby.h:
* rendering/RenderRubyRun.h:
* rendering/RenderRubyText.h:
* rendering/RenderScrollbar.h:
* rendering/RenderScrollbarPart.h:
* rendering/RenderScrollbarTheme.h:
* rendering/RenderSearchField.h:
* rendering/RenderSlider.h:
* rendering/RenderSnapshottedPlugIn.h:
* rendering/RenderTable.h:
* rendering/RenderTableCaption.h:
* rendering/RenderTableCell.h:
* rendering/RenderTableCol.h:
* rendering/RenderTableRow.h:
* rendering/RenderTableSection.h:
* rendering/RenderText.h:
* rendering/RenderTextControl.h:
* rendering/RenderTextControlMultiLine.h:
* rendering/RenderTextControlSingleLine.h:
* rendering/RenderTextFragment.h:
* rendering/RenderTextTrackCue.h:
* rendering/RenderThemeIOS.h:
* rendering/RenderThemeMac.h:
* rendering/RenderThemeSafari.h:
* rendering/RenderThemeWin.h:
* rendering/RenderVideo.h:
* rendering/RenderView.h:
* rendering/RenderWidget.h:
* rendering/RootInlineBox.h:
* rendering/mathml/RenderMathMLBlock.h:
* rendering/mathml/RenderMathMLFenced.h:
* rendering/mathml/RenderMathMLFraction.h:
* rendering/mathml/RenderMathMLMath.h:
* rendering/mathml/RenderMathMLOperator.h:
* rendering/mathml/RenderMathMLRoot.h:
* rendering/mathml/RenderMathMLRow.h:
* rendering/mathml/RenderMathMLScripts.h:
* rendering/mathml/RenderMathMLSpace.h:
* rendering/mathml/RenderMathMLSquareRoot.h:
* rendering/mathml/RenderMathMLUnderOver.h:
* rendering/shapes/BoxShape.h:
* rendering/shapes/PolygonShape.h:
* rendering/shapes/RasterShape.h:
* rendering/shapes/RectangleShape.h:
* rendering/shapes/ShapeInsideInfo.h:
* rendering/shapes/ShapeOutsideInfo.h:
* rendering/style/BasicShapes.h:
* rendering/style/ContentData.h:
* rendering/style/StyleCachedImage.h:
* rendering/style/StyleCachedImageSet.h:
* rendering/style/StyleGeneratedImage.h:
* rendering/style/StylePendingImage.h:
* rendering/svg/RenderSVGBlock.h:
* rendering/svg/RenderSVGContainer.h:
* rendering/svg/RenderSVGForeignObject.h:
* rendering/svg/RenderSVGGradientStop.h:
* rendering/svg/RenderSVGHiddenContainer.h:
* rendering/svg/RenderSVGImage.h:
* rendering/svg/RenderSVGInline.h:
* rendering/svg/RenderSVGInlineText.h:
* rendering/svg/RenderSVGModelObject.h:
* rendering/svg/RenderSVGPath.h:
* rendering/svg/RenderSVGResourceClipper.h:
* rendering/svg/RenderSVGResourceContainer.h:
* rendering/svg/RenderSVGResourceFilter.h:
* rendering/svg/RenderSVGResourceGradient.h:
* rendering/svg/RenderSVGResourceLinearGradient.h:
* rendering/svg/RenderSVGResourceMarker.h:
* rendering/svg/RenderSVGResourceMasker.h:
* rendering/svg/RenderSVGResourcePattern.h:
* rendering/svg/RenderSVGResourceRadialGradient.h:
* rendering/svg/RenderSVGResourceSolidColor.h:
* rendering/svg/RenderSVGRoot.h:
* rendering/svg/RenderSVGShape.cpp:
* rendering/svg/RenderSVGShape.h:
* rendering/svg/RenderSVGText.h:
* rendering/svg/RenderSVGTextPath.h:
* rendering/svg/RenderSVGViewportContainer.h:
* rendering/svg/SVGInlineFlowBox.h:
* rendering/svg/SVGInlineTextBox.h:
* rendering/svg/SVGRootInlineBox.h:
* rendering/svg/SVGTextRunRenderingContext.h:
* storage/StorageAreaImpl.h:
* storage/StorageNamespaceImpl.h:
* svg/SVGAElement.h:
* svg/SVGAltGlyphDefElement.h:
* svg/SVGAltGlyphElement.h:
* svg/SVGAltGlyphItemElement.h:
* svg/SVGAnimateElement.h:
* svg/SVGAnimateMotionElement.h:
* svg/SVGAnimateTransformElement.h:
* svg/SVGAnimatedAngle.h:
* svg/SVGAnimatedBoolean.h:
* svg/SVGAnimatedColor.h:
* svg/SVGAnimatedEnumeration.h:
* svg/SVGAnimatedInteger.h:
* svg/SVGAnimatedIntegerOptionalInteger.h:
* svg/SVGAnimatedLength.h:
* svg/SVGAnimatedLengthList.h:
* svg/SVGAnimatedNumber.h:
* svg/SVGAnimatedNumberList.h:
* svg/SVGAnimatedNumberOptionalNumber.h:
* svg/SVGAnimatedPath.h:
* svg/SVGAnimatedPointList.h:
* svg/SVGAnimatedPreserveAspectRatio.h:
* svg/SVGAnimatedRect.h:
* svg/SVGAnimatedString.h:
* svg/SVGAnimatedTransformList.h:
* svg/SVGAnimationElement.h:
* svg/SVGCircleElement.h:
* svg/SVGClipPathElement.h:
* svg/SVGComponentTransferFunctionElement.h:
* svg/SVGCursorElement.h:
* svg/SVGDefsElement.h:
* svg/SVGDocument.h:
* svg/SVGElement.h:
* svg/SVGElementInstance.h:
* svg/SVGEllipseElement.h:
* svg/SVGFEBlendElement.h:
* svg/SVGFEColorMatrixElement.h:
* svg/SVGFEComponentTransferElement.h:
* svg/SVGFECompositeElement.h:
* svg/SVGFEConvolveMatrixElement.h:
* svg/SVGFEDiffuseLightingElement.h:
* svg/SVGFEDisplacementMapElement.h:
* svg/SVGFEDropShadowElement.h:
* svg/SVGFEGaussianBlurElement.h:
* svg/SVGFEImageElement.h:
* svg/SVGFELightElement.h:
* svg/SVGFEMergeNodeElement.h:
* svg/SVGFEMorphologyElement.h:
* svg/SVGFEOffsetElement.h:
* svg/SVGFESpecularLightingElement.h:
* svg/SVGFETileElement.h:
* svg/SVGFETurbulenceElement.h:
* svg/SVGFilterElement.h:
* svg/SVGFilterPrimitiveStandardAttributes.h:
* svg/SVGFontElement.h:
* svg/SVGFontFaceElement.h:
* svg/SVGFontFaceFormatElement.h:
* svg/SVGFontFaceNameElement.h:
* svg/SVGFontFaceSrcElement.h:
* svg/SVGFontFaceUriElement.h:
* svg/SVGForeignObjectElement.h:
* svg/SVGGElement.h:
* svg/SVGGlyphElement.h:
* svg/SVGGlyphRefElement.h:
* svg/SVGGradientElement.h:
* svg/SVGGraphicsElement.h:
* svg/SVGHKernElement.h:
* svg/SVGImageElement.h:
* svg/SVGLineElement.h:
* svg/SVGLinearGradientElement.h:
* svg/SVGMPathElement.h:
* svg/SVGMarkerElement.h:
* svg/SVGMaskElement.h:
* svg/SVGMetadataElement.h:
* svg/SVGPathElement.h:
* svg/SVGPathStringBuilder.h:
* svg/SVGPatternElement.h:
* svg/SVGPolyElement.h:
* svg/SVGRadialGradientElement.h:
* svg/SVGRectElement.h:
* svg/SVGSVGElement.h:
* svg/SVGScriptElement.h:
* svg/SVGSetElement.h:
* svg/SVGStopElement.h:
* svg/SVGStyleElement.h:
* svg/SVGSwitchElement.h:
* svg/SVGSymbolElement.h:
* svg/SVGTRefElement.cpp:
* svg/SVGTRefElement.h:
* svg/SVGTSpanElement.h:
* svg/SVGTextContentElement.h:
* svg/SVGTextElement.h:
* svg/SVGTextPathElement.h:
* svg/SVGTextPositioningElement.h:
* svg/SVGTitleElement.h:
* svg/SVGTransformable.h:
* svg/SVGUnknownElement.h:
* svg/SVGUseElement.h:
* svg/SVGVKernElement.h:
* svg/SVGViewElement.h:
* svg/animation/SVGSMILElement.h:
* svg/graphics/SVGImage.h:
* svg/graphics/SVGImageForContainer.h:
* svg/graphics/filters/SVGFilter.h:
* svg/properties/SVGAnimatedListPropertyTearOff.h:
* svg/properties/SVGAnimatedTransformListPropertyTearOff.h:
* svg/properties/SVGListPropertyTearOff.h:
* svg/properties/SVGPathSegListPropertyTearOff.h:
* svg/properties/SVGPropertyTearOff.h:
* testing/InternalSettings.cpp:
* testing/Internals.cpp:
* testing/MockCDM.cpp:
* testing/MockCDM.h:
* workers/AbstractWorker.h:
* workers/DedicatedWorkerGlobalScope.h:
* workers/DedicatedWorkerThread.h:
* workers/SharedWorker.h:
* workers/SharedWorkerGlobalScope.h:
* workers/SharedWorkerThread.h:
* workers/Worker.h:
* workers/WorkerEventQueue.cpp:
* workers/WorkerEventQueue.h:
* workers/WorkerGlobalScope.h:
* workers/WorkerMessagingProxy.h:
* workers/WorkerObjectProxy.h:
* workers/WorkerScriptLoader.h:
* workers/WorkerThread.cpp:
* xml/XMLHttpRequest.h:
* xml/XMLHttpRequestUpload.h:
* xml/XPathFunctions.cpp:
* xml/XPathPath.h:
* xml/XPathPredicate.h:
* xml/XSLStyleSheet.h:

Source/WebKit/efl:

* WebCoreSupport/InspectorClientEfl.h:
* WebCoreSupport/ProgressTrackerClientEfl.h:

Source/WebKit/gtk:

* WebCoreSupport/EditorClientGtk.h:
* WebCoreSupport/InspectorClientGtk.h:
* WebCoreSupport/ProgressTrackerClientGtk.h:

Source/WebKit/ios:

* Misc/EmojiFallbackFontSelector.h:
* Storage/WebSQLiteDatabaseTrackerClient.h:
* WebCoreSupport/PopupMenuIOS.h:
* WebCoreSupport/SearchPopupMenuIOS.h:
* WebCoreSupport/WebChromeClientIOS.h:
* WebCoreSupport/WebDiskImageCacheClientIOS.h:

Source/WebKit/mac:

* Storage/WebDatabaseManagerClient.h:
* Storage/WebStorageTrackerClient.h:
* WebCoreSupport/WebAlternativeTextClient.h:
* WebCoreSupport/WebChromeClient.h:
* WebCoreSupport/WebContextMenuClient.h:
* WebCoreSupport/WebDeviceOrientationClient.h:
* WebCoreSupport/WebDragClient.h:
* WebCoreSupport/WebEditorClient.h:
* WebCoreSupport/WebFrameLoaderClient.h:
* WebCoreSupport/WebFrameNetworkingContext.h:
* WebCoreSupport/WebGeolocationClient.h:
* WebCoreSupport/WebIconDatabaseClient.h:
* WebCoreSupport/WebInspectorClient.h:
* WebCoreSupport/WebNotificationClient.h:
* WebCoreSupport/WebPlatformStrategies.h:
* WebCoreSupport/WebProgressTrackerClient.h:
* WebCoreSupport/WebUserMediaClient.h:
* WebView/WebScriptDebugger.h:
* WebView/WebViewData.h:

Source/WebKit/win:

* AccessibleDocument.h:
* FullscreenVideoController.cpp:
* WebCoreSupport/WebChromeClient.h:
* WebCoreSupport/WebFrameLoaderClient.h:
* WebCoreSupport/WebFrameNetworkingContext.h:
* WebCoreSupport/WebInspectorClient.h:
* WebHistory.h:

Source/WebKit/wince:

* WebCoreSupport/ChromeClientWinCE.h:
* WebCoreSupport/ContextMenuClientWinCE.h:
* WebCoreSupport/DragClientWinCE.h:
* WebCoreSupport/EditorClientWinCE.h:
* WebCoreSupport/FrameLoaderClientWinCE.h:
* WebCoreSupport/FrameNetworkingContextWinCE.h:
* WebCoreSupport/InspectorClientWinCE.h:
* WebCoreSupport/PlatformStrategiesWinCE.h:

Source/WebKit2:

* DatabaseProcess/DatabaseProcess.h:
* DatabaseProcess/DatabaseToWebProcessConnection.h:
* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
* DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h:
* NetworkProcess/AsynchronousNetworkLoaderClient.h:
* NetworkProcess/NetworkProcess.h:
* NetworkProcess/NetworkProcessPlatformStrategies.h:
* NetworkProcess/NetworkResourceLoader.h:
* NetworkProcess/RemoteNetworkingContext.h:
* NetworkProcess/SynchronousNetworkLoaderClient.h:
* NetworkProcess/mac/DiskCacheMonitor.h:
* PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm:
* PluginProcess/PluginControllerProxy.h:
* PluginProcess/PluginProcess.h:
* PluginProcess/WebProcessConnection.h:
* Shared/API/Cocoa/RemoteObjectRegistry.h:
* Shared/APIObject.h:
* Shared/AsyncRequest.h:
* Shared/AsyncTask.h:
* Shared/Authentication/AuthenticationManager.h:
* Shared/ChildProcess.h:
* Shared/ChildProcessProxy.h:
* Shared/CoordinatedGraphics/WebCoordinatedSurface.h:
* Shared/Downloads/Download.h:
* Shared/Network/CustomProtocols/CustomProtocolManager.h:
* Shared/WebConnection.h:
* Shared/WebResourceBuffer.h:
* Shared/cf/KeyedEncoder.h:
* Shared/mac/SecItemShim.h:
* UIProcess/API/Cocoa/WKBrowsingContextController.mm:
* UIProcess/API/gtk/PageClientImpl.h:
* UIProcess/API/ios/PageClientImplIOS.h:
* UIProcess/API/mac/PageClientImpl.h:
* UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
* UIProcess/CoordinatedGraphics/WebView.h:
* UIProcess/Databases/DatabaseProcessProxy.h:
* UIProcess/Downloads/DownloadProxy.h:
* UIProcess/DrawingAreaProxy.h:
* UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
* UIProcess/Network/NetworkProcessProxy.h:
* UIProcess/Notifications/WebNotificationManagerProxy.h:
* UIProcess/Plugins/PluginProcessProxy.h:
* UIProcess/Scrolling/RemoteScrollingTree.h:
* UIProcess/Storage/StorageManager.h:
* UIProcess/WebApplicationCacheManagerProxy.h:
* UIProcess/WebBatteryManagerProxy.h:
* UIProcess/WebConnectionToWebProcess.h:
* UIProcess/WebContext.h:
* UIProcess/WebCookieManagerProxy.h:
* UIProcess/WebDatabaseManagerProxy.h:
* UIProcess/WebFullScreenManagerProxy.h:
* UIProcess/WebGeolocationManagerProxy.h:
* UIProcess/WebIconDatabase.h:
* UIProcess/WebInspectorProxy.h:
* UIProcess/WebKeyValueStorageManager.h:
* UIProcess/WebMediaCacheManagerProxy.h:
* UIProcess/WebNetworkInfoManagerProxy.h:
* UIProcess/WebOriginDataManagerProxy.h:
* UIProcess/WebPageProxy.h:
* UIProcess/WebProcessProxy.h:
* UIProcess/WebResourceCacheManagerProxy.h:
* UIProcess/WebVibrationProxy.h:
* UIProcess/efl/PageViewportControllerClientEfl.h:
* UIProcess/efl/WebViewEfl.h:
* UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.h:
* UIProcess/mac/SecItemShimProxy.h:
* UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h:
* UIProcess/mac/ViewGestureController.h:
* UIProcess/mac/WebColorPickerMac.h:
* UIProcess/soup/WebSoupRequestManagerProxy.h:
* WebProcess/ApplicationCache/WebApplicationCacheManager.h:
* WebProcess/Battery/WebBatteryManager.h:
* WebProcess/Cookies/WebCookieManager.h:
* WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h:
* WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
* WebProcess/Databases/WebToDatabaseProcessConnection.h:
* WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm:
* WebProcess/FileAPI/BlobRegistryProxy.h:
* WebProcess/Geolocation/WebGeolocationManager.h:
* WebProcess/IconDatabase/WebIconDatabaseProxy.h:
* WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm:
* WebProcess/MediaCache/WebMediaCacheManager.h:
* WebProcess/Network/NetworkProcessConnection.h:
* WebProcess/Network/WebResourceLoadScheduler.h:
* WebProcess/Network/WebResourceLoader.h:
* WebProcess/NetworkInfo/WebNetworkInfoManager.h:
* WebProcess/Notifications/WebNotificationManager.h:
* WebProcess/OriginData/WebOriginDataManager.h:
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/Plugins/PDF/PDFPlugin.h:
* WebProcess/Plugins/PDF/PDFPluginAnnotation.h:
* WebProcess/Plugins/PDF/PDFPluginChoiceAnnotation.h:
* WebProcess/Plugins/PDF/PDFPluginPasswordField.h:
* WebProcess/Plugins/PDF/PDFPluginTextAnnotation.h:
* WebProcess/Plugins/PluginProcessConnection.h:
* WebProcess/Plugins/PluginProcessConnectionManager.h:
* WebProcess/Plugins/PluginProxy.h:
* WebProcess/Plugins/PluginView.h:
* WebProcess/ResourceCache/WebResourceCacheManager.h:
* WebProcess/Scrolling/RemoteScrollingCoordinator.h:
* WebProcess/Storage/StorageAreaImpl.h:
* WebProcess/Storage/StorageAreaMap.h:
* WebProcess/Storage/StorageNamespaceImpl.h:
* WebProcess/WebConnectionToUIProcess.h:
* WebProcess/WebCoreSupport/WebAlternativeTextClient.h:
* WebProcess/WebCoreSupport/WebBatteryClient.h:
* WebProcess/WebCoreSupport/WebChromeClient.h:
* WebProcess/WebCoreSupport/WebColorChooser.h:
* WebProcess/WebCoreSupport/WebContextMenuClient.h:
* WebProcess/WebCoreSupport/WebDatabaseManager.h:
* WebProcess/WebCoreSupport/WebDeviceProximityClient.h:
* WebProcess/WebCoreSupport/WebDragClient.h:
* WebProcess/WebCoreSupport/WebEditorClient.h:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
* WebProcess/WebCoreSupport/WebGeolocationClient.h:
* WebProcess/WebCoreSupport/WebInspectorClient.h:
* WebProcess/WebCoreSupport/WebInspectorFrontendClient.h:
* WebProcess/WebCoreSupport/WebNavigatorContentUtilsClient.h:
* WebProcess/WebCoreSupport/WebNetworkInfoClient.h:
* WebProcess/WebCoreSupport/WebNotificationClient.h:
* WebProcess/WebCoreSupport/WebPlatformStrategies.h:
* WebProcess/WebCoreSupport/WebPopupMenu.h:
* WebProcess/WebCoreSupport/WebProgressTrackerClient.h:
* WebProcess/WebCoreSupport/WebSearchPopupMenu.h:
* WebProcess/WebCoreSupport/WebVibrationClient.h:
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.h:
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h:
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
* WebProcess/WebPage/DrawingAreaImpl.h:
* WebProcess/WebPage/EventDispatcher.h:
* WebProcess/WebPage/ViewGestureGeometryCollector.h:
* WebProcess/WebPage/WebBackForwardListProxy.h:
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
* WebProcess/WebPage/mac/GraphicsLayerCARemote.h:
* WebProcess/WebPage/mac/PlatformCALayerRemote.h:
* WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.h:
* WebProcess/WebPage/mac/PlatformCALayerRemoteTiledBacking.h:
* WebProcess/WebPage/mac/RemoteLayerTreeContext.h:
* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
* WebProcess/WebProcess.h:
* WebProcess/soup/WebSoupRequestManager.h:

Source/WTF:

* wtf/Compiler.h:
* wtf/FilePrintStream.h:
* wtf/RunLoop.h:
* wtf/StringPrintStream.h:

Tools:

* DumpRenderTree/gtk/fonts/fonts.conf:
* Scripts/do-webcore-rename:
Removed this rename operation from the list of contemplated future renames.
* TestWebKitAPI/Tests/WebKit2/DidAssociateFormControls_Bundle.cpp:
* TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp:
* TestWebKitAPI/Tests/WebKit2/WillLoad_Bundle.cpp:
* TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme_Bundle.cpp:
* TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162139 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoSpeculative Win Cairo build fix.
bdakin@apple.com [Thu, 16 Jan 2014 19:34:08 +0000 (19:34 +0000)]
Speculative Win Cairo build fix.

These need to be inside an ifdef.
* page/FrameView.cpp:
(WebCore::FrameView::hasExtendedBackground):
(WebCore::FrameView::extendedBackgroundRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162138 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoSource/WTF/wtf/Atomics.h:300: Error: bad register name `%bpl'
berto@igalia.com [Thu, 16 Jan 2014 19:23:48 +0000 (19:23 +0000)]
Source/WTF/wtf/Atomics.h:300: Error: bad register name `%bpl'
https://bugs.webkit.org/show_bug.cgi?id=126985

Reviewed by Csaba Osztrogonác.

Use the 'q' constraint to force using a register that allows
access to its lower byte.

* wtf/Atomics.h:
(WTF::weakCompareAndSwap):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162137 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoWeb Inspector: add probe breakpoint action to popup breakpoint editor
bburg@apple.com [Thu, 16 Jan 2014 19:06:41 +0000 (19:06 +0000)]
Web Inspector: add probe breakpoint action to popup breakpoint editor
https://bugs.webkit.org/show_bug.cgi?id=126931

Reviewed by Timothy Hatcher.

Add probes to the breakpoint action dropdown.
Reuse the "evaluate JavaScript" input UI.

* Localizations/en.lproj/localizedStrings.js:
* UserInterface/BreakpointAction.js:
* UserInterface/BreakpointActionView.js:
(WebInspector.BreakpointActionView.displayStringForType):
(WebInspector.BreakpointActionView.prototype._updateBody.switch.break):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162136 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agotext-emphasis-position CSS property doesn't recognize 'left' and 'right'
mmaxfield@apple.com [Thu, 16 Jan 2014 18:47:04 +0000 (18:47 +0000)]
text-emphasis-position CSS property doesn't recognize 'left' and 'right'
https://bugs.webkit.org/show_bug.cgi?id=126611

Reviewed by Simon Fraser.

Source/WebCore:

This patch allows the text-emphasis-position to accept the "left" and
"right" CSS values. In horizontal writing modes, these values no not
change behavior. In vertical writing modes, however, these values specify
which side to place the emphasis mark. Similarly, in vertical writing
modes, the "above" and "below" values should not change behavior.

However, in order to keep existing behavior, if neither "left" nor "right"
is specified, we should draw as if the appropriate value were
specified ("over" -> "right" and "under" -> "left"). Note that this
will have to be updated when we implement the
"text-orientation: sideways-left" CSS property.

Tests: fast/text/emphasis-horizontal-left-right.html
       fast/text/emphasis-vertical-over-right.html
       fast/text/emphasis-vertical-over-under.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::renderEmphasisPositionFlagsToCSSValue):
(WebCore::ComputedStyleExtractor::propertyValue):
* css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue):
(WebCore::isKeywordPropertyID):
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseTextEmphasisPosition):
* css/CSSParser.h:
* css/CSSPrimitiveValueMappings.h:
* css/DeprecatedStyleBuilder.cpp:
(WebCore::valueToEmphasisPosition):
(WebCore::ApplyPropertyTextEmphasisPosition::applyValue):
(WebCore::ApplyPropertyTextEmphasisPosition::createHandler):
(WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::placeBoxesInBlockDirection):
(WebCore::InlineFlowBox::addTextBoxVisualOverflow):
(WebCore::InlineFlowBox::computeOverAnnotationAdjustment):
(WebCore::InlineFlowBox::computeUnderAnnotationAdjustment):
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::emphasisMarkExistsAndIsAbove):
(WebCore::InlineTextBox::paint):
* rendering/InlineTextBox.h:
* rendering/style/RenderStyle.h:
* rendering/style/RenderStyleConstants.h:
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
* rendering/style/StyleRareInheritedData.h:

LayoutTests:

With regards to text-emphasis-position, "left" and "right" are only valid in
vertical writing modes, and "over" and "under" are only valid in horizontal
writing modes.

In order to keep in line with existing pages, specifying "under" without
"left" or "right" should draw text as if "under left" was specified (and
vice-versa).

The default value for text-emphasis-position should be "over right".

* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* fast/css/parsing-text-emphasis-expected.txt:
* fast/css/parsing-text-emphasis.html:
* fast/text/emphasis-horizontal-left-right-expected.html: Added.
* fast/text/emphasis-horizontal-left-right.html: Added.
* fast/text/emphasis-vertical-over-right-expected.html: Added.
* fast/text/emphasis-vertical-over-right.html: Added.
* fast/text/emphasis-vertical-over-under-expected.html: Added.
* fast/text/emphasis-vertical-over-under.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162135 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed EFL gardening
m.pakula@samsung.com [Thu, 16 Jan 2014 18:21:57 +0000 (18:21 +0000)]
Unreviewed EFL gardening

Add failure test expectations for tests introduced in r162117.

* platform/efl-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162134 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoStop run-jsc from consuming stderr output
oliver@apple.com [Thu, 16 Jan 2014 17:43:49 +0000 (17:43 +0000)]
Stop run-jsc from consuming stderr output
https://bugs.webkit.org/show_bug.cgi?id=127115

Reviewed by Mark Lam.

Simple patch to make run-jsc easier to deal with

* Scripts/run-jsc:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162133 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoAX: WebKit is not firing AXMenuOpenedNotification
cfleizach@apple.com [Thu, 16 Jan 2014 17:33:06 +0000 (17:33 +0000)]
AX: WebKit is not firing AXMenuOpenedNotification
https://bugs.webkit.org/show_bug.cgi?id=126993

Reviewed by Mario Sanchez Prada.

Source/WebCore:

To monitor for menu open notifications, we need to know which children are added to
the render tree, so the childrenChanged() method has been updated to allow for that.
Once we know the new child, we can then check what kind of role it has.

I also found a flakiness issue with DRT where posting a notification back to DRT
would sometimes cause a new notification to be queued, which would then be lost when the
queue was cleared. This was fixed by copying the notifications to post before iterating them.

Test: platform/mac/accessibility/aria-menu-open-notification.html

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::checkForOpenMenu):
(WebCore::AXObjectCache::childrenChanged):
(WebCore::AXObjectCache::notificationPostTimerFired):
* accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::childrenChanged):
* accessibility/AccessibilityNodeObject.h:
* accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::postPlatformNotification):
* rendering/RenderElement.cpp:
(WebCore::RenderElement::insertChildInternal):
(WebCore::RenderElement::styleWillChange):

LayoutTests:

* platform/mac/accessibility/aria-menu-open-notification-expected.txt: Added.
* platform/mac/accessibility/aria-menu-open-notification.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162132 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoMerged some more subpixel skipped tests. Unreviewed.
zalan@apple.com [Thu, 16 Jan 2014 17:07:16 +0000 (17:07 +0000)]
Merged some more subpixel skipped tests. Unreviewed.

webkit.org/b/126891 is a duplicate of webkit.org/b/126892

* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162131 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoAX: WebKit is not firing AXMenuItemSelectedNotification
cfleizach@apple.com [Thu, 16 Jan 2014 17:03:15 +0000 (17:03 +0000)]
AX: WebKit is not firing AXMenuItemSelectedNotification
https://bugs.webkit.org/show_bug.cgi?id=127081

Reviewed by Mario Sanchez Prada.

Source/WebCore:

Monitor for when a menu item either gains focus() or has aria-selected set,
in which case, we need to fire a specific notification.

Test: platform/mac/accessibility/aria-menu-item-selected-notification.html

* accessibility/AXObjectCache.cpp:
(WebCore::nodeHasRole):
    This method was declared in the header, but never implemented, leading to compilation issues.
(WebCore::AXObjectCache::handleMenuItemSelected):
(WebCore::AXObjectCache::handleFocusedUIElementChanged):
    Allow the core class to handle focus changes first, then pass off to platform
(WebCore::AXObjectCache::selectedChildrenChanged):
* accessibility/AXObjectCache.h:
* accessibility/ios/AXObjectCacheIOS.mm:
(WebCore::AXObjectCache::platformHandleFocusedUIElementChanged):
* accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::postPlatformNotification):
(WebCore::AXObjectCache::platformHandleFocusedUIElementChanged):
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper accessibilityAttributeNames]):
    Allow menu items to expose a description attribute.

LayoutTests:

* platform/mac/accessibility/aria-menu-item-selected-notification-expected.txt: Added.
* platform/mac/accessibility/aria-menu-item-selected-notification.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162130 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoSubpixel layout: Enable subpixel layout for Apple Windows.
zalan@apple.com [Thu, 16 Jan 2014 16:14:06 +0000 (16:14 +0000)]
Subpixel layout: Enable subpixel layout for Apple Windows.
https://bugs.webkit.org/show_bug.cgi?id=127074

Reviewed by Antti Koivisto.

This should make the Apple Windows bots happier. It probably still needs rebaselining.

* win/tools/vsprops/FeatureDefines.props:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162129 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed EFL gardening
m.pakula@samsung.com [Thu, 16 Jan 2014 15:25:53 +0000 (15:25 +0000)]
Unreviewed EFL gardening

Add failure test expectations for media tests.

* platform/efl-wk2/TestExpectations:
* platform/efl/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162128 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoFix unnecessary checks for Clang compiler if the compiler is MSVC.
commit-queue@webkit.org [Thu, 16 Jan 2014 15:07:17 +0000 (15:07 +0000)]
Fix unnecessary checks for Clang compiler if the compiler is MSVC.
https://bugs.webkit.org/show_bug.cgi?id=127037

Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-16
Reviewed by Csaba Osztrogonác.

Inside the #if defined(_MSC_VER) there's no need for checking whether the compiler is not Clang.

* wtf/Compiler.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162127 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoRequire at least GCC version 4.7
commit-queue@webkit.org [Thu, 16 Jan 2014 15:06:45 +0000 (15:06 +0000)]
Require at least GCC version 4.7
https://bugs.webkit.org/show_bug.cgi?id=127049

Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-16
Reviewed by Csaba Osztrogonác.

r161770 added a template alias, so the minimum GCC version is 4.7 now.

Also fixed a typo in the error message about old MSVC version.

* wtf/Compiler.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162126 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoTools/gtk/generate-feature-defines-files doesn't work with older versions of python
commit-queue@webkit.org [Thu, 16 Jan 2014 15:01:05 +0000 (15:01 +0000)]
Tools/gtk/generate-feature-defines-files doesn't work with older versions of python
https://bugs.webkit.org/show_bug.cgi?id=126323

Patch by Eva Balazsfalvi <balazsfalvi.eva@stud.u-szeged.hu> on 2014-01-16
Reviewed by Csaba Osztrogonác.

* gtk/generate-feature-defines-files:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162125 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[EFL] Rebaselining after r161404
commit-queue@webkit.org [Thu, 16 Jan 2014 14:59:05 +0000 (14:59 +0000)]
[EFL] Rebaselining after r161404
https://bugs.webkit.org/show_bug.cgi?id=127105

Unreviewed gardening.

Patch by Krzysztof Wolanski <k.wolanski@samsung.com> on 2014-01-16

* platform/efl/editing/selection/after-line-wrap-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162124 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[EFL][WK2] Implement TestController::setHidden
m.pakula@samsung.com [Thu, 16 Jan 2014 14:14:04 +0000 (14:14 +0000)]
[EFL][WK2] Implement TestController::setHidden
https://bugs.webkit.org/show_bug.cgi?id=127036

Reviewed by Gyuyoung Kim.

WebKitTestRunner needs TestController::setHidden implementation to
properly handle page visibility API layout tests after r161105.

* WebKitTestRunner/efl/TestControllerEfl.cpp:
(WTR::TestController::setHidden):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162123 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[GTK][MiniBrowser] The progress entry reset callback can be fired after the BrowserWi...
zandobersek@gmail.com [Thu, 16 Jan 2014 11:12:36 +0000 (11:12 +0000)]
[GTK][MiniBrowser] The progress entry reset callback can be fired after the BrowserWindow is destroyed
https://bugs.webkit.org/show_bug.cgi?id=127083

Reviewed by Carlos Garcia Campos.

When the load progress reaches 1.0 (i.e. 100%), a timeout callback is set up in webViewLoadProgressChanged.
The progress entry is then reset back to 0 in that callback and the timeout source is removed.

The callback can be fired after the relevant BrowserWindow and its progress entry are destroyed, causing
assertion failures in gtk_entry_set_progress_fraction due to an invalid GtkEntry object. To avoid that,
To avoid that, the ID of the timeout source is stored on the BrowserWindow and is destroyed when the
BrowserWindow object is being finalized, preventing the callback from firing.

* MiniBrowser/gtk/BrowserWindow.c:
(resetEntryProgress):
(webViewLoadProgressChanged):
(browserWindowFinalize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162122 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoExpose scrollView on WKView
commit-queue@webkit.org [Thu, 16 Jan 2014 10:53:18 +0000 (10:53 +0000)]
Expose scrollView on WKView
https://bugs.webkit.org/show_bug.cgi?id=127085

Patch by Ian Henderson <ianh@apple.com> on 2014-01-16
Reviewed by Antti Koivisto.

Expose WKView's scroll view as a property.  In order to support
clients calling setDelegate:, we create a forwarder object that sends
delegate methods to both WKView (the "internal delegate") and the
publicly-exposed delegate (the "external delegate").

* UIProcess/API/Cocoa/WKView.h:
* UIProcess/API/ios/WKScrollView.h:
* UIProcess/API/ios/WKScrollView.mm:
(-[WKScrollViewDelegateForwarder initWithInternalDelegate:externalDelegate:]):
(-[WKScrollViewDelegateForwarder methodSignatureForSelector:]):
(-[WKScrollViewDelegateForwarder respondsToSelector:]):
(-[WKScrollViewDelegateForwarder forwardInvocation:]):
(-[WKScrollView setInternalDelegate:]):
(-[WKScrollView setDelegate:]):
(-[WKScrollView delegate]):
Pretend like _externalDelegate is the real delegate to avoid exposing
our internal delegate or forwarder object.
(-[WKScrollView _updateDelegate]):
(-[WKScrollView dealloc]):
* UIProcess/API/ios/WKViewIOS.mm:
(-[WKView scrollView]):
(-[WKView _commonInitializationWithContextRef:pageGroupRef:relatedToPage:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162121 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[iOS] Fix build issues with exported headers
aestes@apple.com [Thu, 16 Jan 2014 10:22:48 +0000 (10:22 +0000)]
[iOS] Fix build issues with exported headers

Source/WebCore:

* Configurations/WebCore.xcconfig: Allowed UIKit to link against
WebCore.
* page/ios/WebEventRegion.h: Removed ENABLE(TOUCH_EVENTS), which are
always enabled on iOS.

Source/WebKit:

* WebKit.xcodeproj/project.pbxproj: Removed WebPluginPrivate.h from
the project.

Source/WebKit/ios:

* Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
TARGET_OS_IPHONE.

Source/WebKit/mac:

* DOM/WebDOMOperationsPrivate.h: Changed PLATFORM(IOS) to
TARGET_OS_IPHONE.
* MigrateHeaders.make: Excluded WAKScrollView.h from normal replacement
rules so that WebCoreFrameScrollView won't inadvertently get changed to
WebKitFrameScrollView.
* Plugins/WebPlugin.h: Moved contents of WebPluginPrivate.h to here in
order to maintain source compatibility.
* Plugins/WebPluginController.mm: Removed an import of WebPluginPrivate.h.
* Plugins/WebPluginPrivate.h: Removed.
* Storage/WebDatabaseManagerPrivate.h: Replaced ENABLE(SQL_DATABASE)
with ENABLE_SQL_DATABASE.
* WebView/WebViewPrivate.h: Added declaration of
-[WebView _touchEventRegions] for source compatibility.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162120 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoRename functions in SVGDocumentExtension
krit@webkit.org [Thu, 16 Jan 2014 09:09:08 +0000 (09:09 +0000)]
Rename functions in SVGDocumentExtension
https://bugs.webkit.org/show_bug.cgi?id=127046

Reviewed by Sam Weinig.

Change some function names in SVGDocumentExtension
to make them more descriptive.

Simple refactoring. No new tests.

* rendering/svg/RenderSVGResourceContainer.cpp:
(WebCore::RenderSVGResourceContainer::registerResource):
* svg/SVGDocumentExtensions.cpp:
(WebCore::SVGDocumentExtensions::addPendingResource):
(WebCore::SVGDocumentExtensions::isIdOfPendingResource):
(WebCore::SVGDocumentExtensions::isElementWithPendingResources):
(WebCore::SVGDocumentExtensions::isPendingResource):
(WebCore::SVGDocumentExtensions::clearHasPendingResourcesIfPossible):
(WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
(WebCore::SVGDocumentExtensions::removePendingResource):
(WebCore::SVGDocumentExtensions::removePendingResourceForRemoval):
(WebCore::SVGDocumentExtensions::markPendingResourcesForRemoval):
(WebCore::SVGDocumentExtensions::removeElementFromPendingResourcesForRemovalMap): The name is not great but a bit more descriptive.
* svg/SVGDocumentExtensions.h:
* svg/SVGElement.cpp:
(WebCore::SVGElement::buildPendingResourcesIfNeeded):
* svg/SVGMPathElement.cpp:
(WebCore::SVGMPathElement::buildPendingResource):
* svg/SVGTextPathElement.cpp:
(WebCore::SVGTextPathElement::buildPendingResource):
* svg/animation/SVGSMILElement.cpp:
(WebCore::SVGSMILElement::buildPendingResource):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162119 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[GTK][EFL][NIX] Do not use PrintContext, Frame and DocumentLoader in Errors
carlosgc@webkit.org [Thu, 16 Jan 2014 07:37:46 +0000 (07:37 +0000)]
[GTK][EFL][NIX] Do not use PrintContext, Frame and DocumentLoader in Errors
https://bugs.webkit.org/show_bug.cgi?id=127047

Reviewed by Martin Robinson.

Source/WebCore:

Using PrintContext, Frame and DocumentLoader in platform is a
layering violation.
Change printing error methods to receive a failing URL instead of
receiving a PrintContext that was used only to get the failing
URL.

* platform/efl/ErrorsEfl.cpp:
(WebCore::printError):
(WebCore::printerNotFoundError):
(WebCore::invalidPageRangeToPrint):
* platform/efl/ErrorsEfl.h:
* platform/gtk/ErrorsGtk.cpp:
(WebCore::printError):
(WebCore::printerNotFoundError):
(WebCore::invalidPageRangeToPrint):
* platform/gtk/ErrorsGtk.h:
* platform/nix/ErrorsNix.cpp:
(WebCore::printError):
(WebCore::printerNotFoundError):
(WebCore::invalidPageRangeToPrint):
* platform/nix/ErrorsNix.h:

Source/WebKit2:

* WebProcess/WebPage/gtk/WebPrintOperationGtk.cpp:
(WebKit::WebPrintOperationGtk::frameURL): Helper function to get
the URL of the frame being printed.
(WebKit::WebPrintOperationGtk::print): Use frameURL() as failing
URL for printing errors.
* WebProcess/WebPage/gtk/WebPrintOperationGtk.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162118 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[CSS Regions] Enable accelerated compositing for fixed elements in named flows
mihnea@adobe.com [Thu, 16 Jan 2014 07:33:49 +0000 (07:33 +0000)]
[CSS Regions] Enable accelerated compositing for fixed elements in named flows
https://bugs.webkit.org/show_bug.cgi?id=125144

Reviewed by David Hyatt.

Source/WebCore:

Add support for compositing for fixed positioned element that are collected
inside a named flow. Prior to this patch, the fixed positioned elements were
positioned and sized properly but only in the non-compositing scenario.

Tests: compositing/regions/abs-in-named-flow-from-fixed-in-named-flow.html
       compositing/regions/fixed-in-diff-named-flows-zIndex.html
       compositing/regions/fixed-in-named-flow-clip-descendant.html
       compositing/regions/fixed-in-named-flow-from-abs-in-named-flow.html
       compositing/regions/fixed-in-named-flow-from-outflow.html
       compositing/regions/fixed-in-named-flow-got-transformed-parent.html
       compositing/regions/fixed-in-named-flow-lost-transformed-parent.html
       compositing/regions/fixed-in-named-flow-overlap-composited.html
       compositing/regions/fixed-in-named-flow-position-changed.html
       compositing/regions/fixed-in-named-flow-transformed-parent.html
       compositing/regions/fixed-in-named-flow-zIndex.html
       compositing/regions/fixed-in-named-flow.html
       compositing/regions/fixed-transformed-in-named-flow.html

* rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::regionForCompositedLayer):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::computeCompositingRequirementsForNamedFlowFixed):
(WebCore::RenderLayerCompositor::computeCompositingRequirements):
(WebCore::RenderLayerCompositor::rebuildCompositingLayerTreeForNamedFlowFixed):
(WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
(WebCore::RenderLayerCompositor::updateLayerTreeGeometry):
(WebCore::RenderLayerCompositor::requiresCompositingForPosition):
* rendering/RenderLayerCompositor.h:
* rendering/RenderNamedFlowFragment.h:
* rendering/RenderNamedFlowThread.h:

LayoutTests:

Added new tests and made the existing tests for fixed positioned elements use the
non-compositing mode.

* compositing/regions/abs-in-named-flow-from-fixed-in-named-flow-expected.txt: Added.
* compositing/regions/abs-in-named-flow-from-fixed-in-named-flow.html: Added.
* compositing/regions/fixed-in-diff-named-flows-zIndex-expected.html: Added.
* compositing/regions/fixed-in-diff-named-flows-zIndex.html: Added.
* compositing/regions/fixed-in-named-flow-clip-descendant-expected.txt: Added.
* compositing/regions/fixed-in-named-flow-clip-descendant.html: Added.
* compositing/regions/fixed-in-named-flow-expected.txt: Added.
* compositing/regions/fixed-in-named-flow-from-abs-in-named-flow-expected.txt: Added.
* compositing/regions/fixed-in-named-flow-from-abs-in-named-flow.html: Added.
* compositing/regions/fixed-in-named-flow-from-outflow-expected.txt: Added.
* compositing/regions/fixed-in-named-flow-from-outflow.html: Added.
* compositing/regions/fixed-in-named-flow-got-transformed-parent-expected.txt: Added.
* compositing/regions/fixed-in-named-flow-got-transformed-parent.html: Added.
* compositing/regions/fixed-in-named-flow-lost-transformed-parent-expected.txt: Added.
* compositing/regions/fixed-in-named-flow-lost-transformed-parent.html: Added.
* compositing/regions/fixed-in-named-flow-overlap-composited-expected.txt: Added.
* compositing/regions/fixed-in-named-flow-overlap-composited.html: Added.
* compositing/regions/fixed-in-named-flow-position-changed-expected.html: Added.
* compositing/regions/fixed-in-named-flow-position-changed.html: Added.
* compositing/regions/fixed-in-named-flow-transformed-parent-expected.txt: Added.
* compositing/regions/fixed-in-named-flow-transformed-parent.html: Added.
* compositing/regions/fixed-in-named-flow-zIndex-expected.html: Added.
* compositing/regions/fixed-in-named-flow-zIndex.html: Added.
* compositing/regions/fixed-in-named-flow.html: Added.
* compositing/regions/fixed-transformed-in-named-flow-expected.txt: Added.
* compositing/regions/fixed-transformed-in-named-flow.html: Added.
* fast/regions/repaint/element-in-named-flow-absolute-from-fixed.html:
* fast/regions/repaint/element-in-named-flow-fixed-from-absolute.html:
* fast/regions/repaint/element-inflow-fixed-from-outflow-static.html:
* fast/regions/repaint/element-outflow-static-from-inflow-fixed.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162117 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoFix the iOS build after r162114
benjamin@webkit.org [Thu, 16 Jan 2014 07:19:57 +0000 (07:19 +0000)]
Fix the iOS build after r162114

Unreviewed.

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-15

Source/WebCore:

* WebCore.exp.in: Move the symbol to the right section and add the missing symbols for iOS.

Source/WebKit/mac:

* WebView/WebViewPrivate.h: I forgot to remove the declaration, fix that.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162116 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[CSS Regions] Fix painting when the composited region has overflow:hidden
commit-queue@webkit.org [Thu, 16 Jan 2014 07:00:05 +0000 (07:00 +0000)]
[CSS Regions] Fix painting when the composited region has overflow:hidden
https://bugs.webkit.org/show_bug.cgi?id=124887

Patch by Mihai Maerean <mmaerean@adobe.com> on 2014-01-15
Reviewed by Alexandru Chiculita.

Source/WebCore:

When the layer of the region is composited, the region receives a GraphicsLayer of its own
so the clipping coordinates (caused by overflow:hidden) must be relative to the
GraphicsLayer coordinates in which the region gets painted.

Also, while the painting is done relative to the location of the region's content box, the
clipping is bound to the padding box of the region.

Tests: compositing/regions/paint-inside-composited-region-overflow-hidden-versus-div.html
       compositing/regions/paint-inside-composited-region-overflow-hidden-versus-region.html

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintFlowThreadIfRegion):

LayoutTests:

* compositing/regions/paint-inside-composited-region-overflow-hidden-versus-div.html: Added.
* compositing/regions/paint-inside-composited-region-overflow-hidden-versus-div-expected.html: Added.
* compositing/regions/paint-inside-composited-region-overflow-hidden-versus-region.html: Added.
* compositing/regions/paint-inside-composited-region-overflow-hidden-versus-region-expected.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162115 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoMove user agent code to WebCore and unify some code between OS X and iOS
benjamin@webkit.org [Thu, 16 Jan 2014 06:42:39 +0000 (06:42 +0000)]
Move user agent code to WebCore and unify some code between OS X and iOS
https://bugs.webkit.org/show_bug.cgi?id=127080

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-15
Reviewed by Sam Weinig.

Source/WebCore:

Move the duplicated code from WebView and WebPageProxy to two files
in WebCore: UserAgentMac and UserAgentIOS.

* Configurations/WebCore.xcconfig:
* WebCore.exp.in:
* WebCore.xcodeproj/project.pbxproj:
* page/ios/UserAgentIOS.mm: Added.
(WebCore::platformSystemRootDirectory):
(WebCore::osMarketingVersion):
(WebCore::standardUserAgentWithApplicationName):
* page/mac/UserAgent.h: Added.
* page/mac/UserAgentMac.mm: Added.
(WebCore::systemMarketingVersionForUserAgentString):
(WebCore::standardUserAgentWithApplicationName):
* platform/ios/WebCoreSystemInterfaceIOS.h:
* platform/ios/WebCoreSystemInterfaceIOS.mm:

Source/WebKit/mac:

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):
* WebView/WebView.mm:
(userVisibleWebKitVersionString):
(+[WebView _standardUserAgentWithApplicationName:]):
(-[WebView _setUIWebViewUserAgentWithBuildVersion:]):

Source/WebKit2:

* UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::userVisibleWebKitVersionString):
(WebKit::WebPageProxy::standardUserAgent):
* UIProcess/mac/WebPageProxyMac.mm:
(WebKit::WebPageProxy::standardUserAgent):
* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162114 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoFix windows build.
weinig@apple.com [Thu, 16 Jan 2014 05:27:16 +0000 (05:27 +0000)]
Fix windows build.

* platform/text/TextAllInOne.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162113 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[iOS] Clean up REMOTE_INSPECTOR code in OpenSource after the iOS merge
commit-queue@webkit.org [Thu, 16 Jan 2014 05:05:55 +0000 (05:05 +0000)]
[iOS] Clean up REMOTE_INSPECTOR code in OpenSource after the iOS merge
https://bugs.webkit.org/show_bug.cgi?id=127069

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-01-15
Reviewed by Timothy Hatcher.

Source/JavaScriptCore:

* JavaScriptCore.xcodeproj/project.pbxproj:
Export XPCConnection because it is needed by RemoteInspector.h.

* inspector/remote/RemoteInspectorXPCConnection.h:
* inspector/remote/RemoteInspector.h:
* inspector/remote/RemoteInspector.mm:
(Inspector::RemoteInspector::startDisabled):
(Inspector::RemoteInspector::shared):
Allow RemoteInspector singleton to start disabled.

Source/WebCore:

* WebCore.exp.in:

Source/WebKit/mac:

* WebView/WebView.mm:
(-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
(+[WebView _enableRemoteInspector]):
(+[WebView _disableRemoteInspector]):
(+[WebView _disableAutoStartRemoteInspector]):
(+[WebView _isRemoteInspectorEnabled]):
(+[WebView _hasRemoteInspectorSession]):
(-[WebView allowsRemoteInspection]):
Implement with RemoteInspector.h SPIs.

(-[WebView setAllowsRemoteInspection:]):
(-[WebView setHostApplicationBundleId:name:]):
Still unimplemented, update comment.

(-[WebView _didCommitLoadForFrame:]):
Remove dead path, WebCore now pushes updates on navigations.

* WebView/WebViewData.h:
* WebView/WebViewData.mm:
(-[WebViewPrivate init]):
Remove now unused ivar.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162112 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[EFL][WK2] Use timestamp when event occurs for touch events.
eunmi15.lee@samsung.com [Thu, 16 Jan 2014 04:29:04 +0000 (04:29 +0000)]
[EFL][WK2] Use timestamp when event occurs for touch events.
https://bugs.webkit.org/show_bug.cgi?id=126424

Reviewed by Gyuyoung Kim.

Current time is used for touch event's timestamp instead of timestamp
when event occurs. Timestamp of touch event is used to implement flick
gesture, so it should be real value for accurate gesture processing.

* UIProcess/API/efl/EwkView.cpp:
Function names for handling touch events are changed to distinguish
mouse events and multi events.
(EwkView::setTouchEventsEnabled):
(EwkView::feedTouchEvents):
(EwkView::handleMouseDownForTouch):
(EwkView::handleMouseUpForTouch):
(EwkView::handleMouseMoveForTouch):
(EwkView::handleMultiDownForTouch):
(EwkView::handleMultiUpForTouch):
(EwkView::handleMultiMoveForTouch):
* UIProcess/API/efl/EwkView.h:
* UIProcess/API/efl/GestureRecognizer.cpp:
(WebKit::GestureHandler::handlePan):
(WebKit::GestureRecognizer::processTouchEvent):
(WebKit::GestureRecognizer::noGesture):
(WebKit::GestureRecognizer::singleTapGesture):
(WebKit::GestureRecognizer::doubleTapGesture):
(WebKit::GestureRecognizer::panGesture):
(WebKit::GestureRecognizer::pinchGesture):
* UIProcess/API/efl/GestureRecognizer.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162111 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed. EFL Gardening.
ryuan.choi@samsung.com [Thu, 16 Jan 2014 04:06:59 +0000 (04:06 +0000)]
Unreviewed. EFL Gardening.

* platform/efl-wk1/TestExpectations:
Unskipped some tests in svg/dynamic-updates which are passing now.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162110 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoTextBreakIterator's should support Latin-1 for all iterator types (Part 2)
weinig@apple.com [Thu, 16 Jan 2014 03:59:42 +0000 (03:59 +0000)]
TextBreakIterator's should support Latin-1 for all iterator types (Part 2)
https://bugs.webkit.org/show_bug.cgi?id=126856

Reviewed by Ryosuke Niwa.

Move the contents of TextBreakIteratorICU.cpp to TextBreakIterator.cpp and remove TextBreakIteratorICU.cpp.

* CMakeLists.txt:
* GNUmakefile.list.am:
* PlatformGTK.cmake:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* platform/text/TextBreakIterator.cpp:
* platform/text/TextBreakIteratorICU.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162109 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoMediaSessionManager shouldn't use std::map
eric.carlson@apple.com [Thu, 16 Jan 2014 03:40:28 +0000 (03:40 +0000)]
MediaSessionManager shouldn't use std::map
https://bugs.webkit.org/show_bug.cgi?id=127003

Reviewed by Sam Weinig.

No new tests, no functional change.

Use an array instead of std::map.
* platform/audio/MediaSessionManager.cpp:
(WebCore::MediaSessionManager::MediaSessionManager):
(WebCore::MediaSessionManager::addRestriction):
(WebCore::MediaSessionManager::removeRestriction):
(WebCore::MediaSessionManager::restrictions):
(WebCore::MediaSessionManager::sessionWillBeginPlayback):
* platform/audio/MediaSessionManager.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162108 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoChange Page, FocusController to use ViewState
barraclough@apple.com [Thu, 16 Jan 2014 02:18:43 +0000 (02:18 +0000)]
Change Page, FocusController to use ViewState
https://bugs.webkit.org/show_bug.cgi?id=126533

Unreviewed rollout, this caused a regression.

Source/WebCore:

* WebCore.exp.in:
* page/FocusController.cpp:
(WebCore::FocusController::FocusController):
(WebCore::FocusController::setFocused):
(WebCore::FocusController::setActive):
(WebCore::FocusController::setContentIsVisible):
* page/FocusController.h:
(WebCore::FocusController::isActive):
(WebCore::FocusController::isFocused):
* page/Page.cpp:
(WebCore::Page::Page):
(WebCore::Page::setIsInWindow):
(WebCore::Page::setIsVisuallyIdle):
(WebCore::Page::setIsVisible):
(WebCore::Page::visibilityState):
(WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged):
* page/Page.h:
(WebCore::Page::isVisible):
(WebCore::Page::isInWindow):

Source/WebKit2:

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::setActive):
(WebKit::WebPage::setViewIsVisible):
(WebKit::WebPage::setFocused):
(WebKit::WebPage::setIsInWindow):
(WebKit::WebPage::setViewStateInternal):
(WebKit::WebPage::setIsVisuallyIdle):
* WebProcess/WebPage/WebPage.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162107 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agohttps://bugs.webkit.org/show_bug.cgi?id=127072
commit-queue@webkit.org [Thu, 16 Jan 2014 02:04:25 +0000 (02:04 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=127072
Don't autorelease wrapper object (WebProcessPlugInScriptWorld) for InjectedBundleScriptWorld::normalWorld().

Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2014-01-15
Reviewed by Geoffrey Garen.

In [WKWebProcessPlugInScriptWorld normalWorld], InjectedBundleScriptWorld::normalWorld() returns a static
instance,  autoreleasing its wrapper object could cause a dangling pointer and crash later.

* WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInScriptWorld.mm:
(+[WKWebProcessPlugInScriptWorld normalWorld]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162106 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[WebGL] Resizing and entering/exiting full screen draws garbage
bfulgham@apple.com [Thu, 16 Jan 2014 01:51:38 +0000 (01:51 +0000)]
[WebGL] Resizing and entering/exiting full screen draws garbage
https://bugs.webkit.org/show_bug.cgi?id=127077

Reviewed by Dean Jackson.

* platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
(WebCore::GraphicsContext3D::reshapeFBOs): Simplified logic regarding FBO switching.
(WebCore::GraphicsContext3D::resolveMultisamplingIfNecessary): Make sure a few things
are turned off that might affect blitting data from one FBO to another.
* platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
(WebCore::GraphicsContext3D::prepareTexture): Actually turn dithering off!
(WebCore::GraphicsContext3D::reshape): Mark the context as dirty when resizing so that
the GL view is redrawn during resizing events.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162105 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[iOS] Properly exclude the shim dylibs this time
aestes@apple.com [Thu, 16 Jan 2014 01:06:40 +0000 (01:06 +0000)]
[iOS] Properly exclude the shim dylibs this time
https://bugs.webkit.org/show_bug.cgi?id=127075

Reviewed by Anders Carlsson.

BaseLegacyProcess.xcconfig was setting EXCLUDED_SOURCE_FILE_NAMES in
conflict with what I added in r161918, and I misspelled the setting
name in two instances. Fix these two bugs.

Also remove a vestigial OTHER_LDFLAGS from WebContentProcess.xcconfig
while we're here.

* Configurations/BaseLegacyProcess.xcconfig:
* Configurations/NetworkProcess.xcconfig:
* Configurations/PluginProcess.xcconfig:
* Configurations/WebContentProcess.xcconfig:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162104 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoSupport WebSelections in WK2 on iOS.
enrica@apple.com [Thu, 16 Jan 2014 00:52:47 +0000 (00:52 +0000)]
Support WebSelections in WK2 on iOS.
https://bugs.webkit.org/show_bug.cgi?id=127015

Reviewed by Benjamin Poulain.

This is the first step towards adding support for selections in
non editable content on iOS for WK2.
In particular, this patch adds the basic plumbing to decide which
gesture recognizers are enabled and adds empty stubs for the gestures
that we'll need to support.
There are two separate assistants for selections, one to be used
in editable text (UIWKTextInteractionAssistant) and one for non editable
text (UIWKSelectionAssistant) and they are mutually exclusive.
UIWKSelectionAssistant is created at the time the view is created,
and swapped with UIWKTextInteraction assistant
only when an editable element is focused and the keyboard appears on screen.

gestureRecognizerShouldBegin is the delegate call used to decide which gestures
should begin based on the position the gesture occurred at.
We want to avoid as much as possible synchronous calls to the WebProcess to
retrieve information about the content and in order to do so, we take advantage
of the order in which the gesture recognizers will trigger, based on the delay
configured at initialization.
The first gesture to trigger is highlightLongPress, followed by longpress in the
active assistant and longpress in the WKInteractionView.
There are two different scenarios for highlighlongpress based on which assistant is
currently active.

UIWKSelectionAssistant is active:
    We send a request to the WebProcess to get information on the position
    and we return YES, allowing the gesture to start.
    We delegate to the WebProcess the proper handling of highlight based on the element.
    When longPress gesture fires for the assistant, we assume we have received the reply to our
    previous request, if not we fetch the information synchronously.
    We are then able to make an informed decision about whether
    or not to start the gesture. If the reply is NO, the third and last long press
    gesture can be evaluated to decide whether to show the action sheet or simply generate
    a click event.

UIWKTextInteractionAssistant is active:
    In this case we must have information about the position immediately and we issue
    a synchronous request to the WebProcess.
    If we are not interacting with the same node, we return NO.
    Then the longpress gesture fires for the assistant which performs the same check.
    If the node is the same, the loupe gesture will start, otherwise the last longpress
    gesture will be evaluated to decide about showing the action sheet or generating a
    click event.

* Scripts/webkit2/messages.py:
* Shared/InteractionInformationAtPosition.cpp: Added.
(WebKit::InteractionInformationAtPosition::encode):
(WebKit::InteractionInformationAtPosition::decode):
* Shared/InteractionInformationAtPosition.h: Added.
(WebKit::InteractionInformationAtPosition::InteractionInformationAtPosition):
* UIProcess/API/ios/PageClientImplIOS.h:
* UIProcess/API/ios/PageClientImplIOS.mm:
(WebKit::PageClientImpl::positionInformationDidChange):
* UIProcess/API/ios/WKContentView.mm:
(-[WKContentView _positionInformationDidChange:]):
* UIProcess/API/ios/WKContentViewInternal.h:
* UIProcess/API/ios/WKInteractionView.h:
* UIProcess/API/ios/WKInteractionView.mm:
(-[WKInteractionView initWithFrame:]):
(-[WKInteractionView dealloc]):
(-[WKInteractionView gestureRecognizer:canPreventGestureRecognizer:]):
(-[WKInteractionView gestureRecognizer:canBePreventedByGestureRecognizer:]):
(isSamePair):
(-[WKInteractionView gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:]):
(-[WKInteractionView _showImageSheet]):
(-[WKInteractionView _showLinkSheet]):
(-[WKInteractionView _actionForLongPress]):
(-[WKInteractionView ensurePositionInformationIsUpToDate:]):
(-[WKInteractionView gestureRecognizerShouldBegin:]):
(-[WKInteractionView hasSelectablePositionAtPoint:]):
(-[WKInteractionView pointIsInAssistedNode:]):
(-[WKInteractionView _longPressRecognized:]):
(-[WKInteractionView _doubleTapRecognized:]):
(-[WKInteractionView _twoFingerDoubleTapRecognized:]):
(-[WKInteractionView _twoFingerPanRecognized:]):
(-[WKInteractionView useSelectionAssistantWithMode:]):
(-[WKInteractionView _positionInformationDidChange:]):
(-[WKInteractionView interactionAssistant]):
(-[WKInteractionView _startAssistingKeyboard]):
(-[WKInteractionView _stopAssistingKeyboard]):
* UIProcess/PageClient.h:
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::didReceivePositionInformation):
(WebKit::WebPageProxy::getPositionInformation):
(WebKit::WebPageProxy::requestPositionInformation):
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::selectWithGesture):
(WebKit::WebPage::getPositionInformation):
(WebKit::WebPage::requestPositionInformation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162103 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agohttps://bugs.webkit.org/show_bug.cgi?id=127066
commit-queue@webkit.org [Thu, 16 Jan 2014 00:08:47 +0000 (00:08 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=127066
Add WKBrowsingContextHandle.h to WebKit2 private headers.

Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2014-01-15
Reviewed by Dan Bernstein.

Add WKBrowsingContextHandle.h to WebKit2 private headers so that WebKit2 client
can use WKBrowsingContextHandle class.

* WebKit2.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162100 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoRemove unnecessary call to webGLContextCreated
roger_fong@apple.com [Thu, 16 Jan 2014 00:07:03 +0000 (00:07 +0000)]
Remove unnecessary call to webGLContextCreated
https://bugs.webkit.org/show_bug.cgi?id=127000

Reviewed by Brent Fulgham.

Source/WebCore:

Note that the functionality of webGLContextCreated will be handled by webGLPolicyForSite now.

Tests: Unskipping tests skipped in r162002.

* html/HTMLCanvasElement.cpp: Remove webGLContextCreated call.
(WebCore::HTMLCanvasElement::getContext):
* loader/FrameLoaderClient.h:
Have the returned load policy default to WebGLAllow so as to not break clients that don't implement the method.
(WebCore::FrameLoaderClient::webGLPolicyForSite):
webGLPolicyForSite is now assuming the role of webGLContextCreated as well, pass in the whole site URL instead of just the host.
* page/ChromeClient.h: Remove webGLContextCreated method.
(WebCore::ChromeClient::decrementActivePageCount):

LayoutTests:

* platform/mac/TestExpectations: Unskipping tests skipped in r162002.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162099 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoRepeating background images should continue into margin tiles
bdakin@apple.com [Wed, 15 Jan 2014 23:51:25 +0000 (23:51 +0000)]
Repeating background images should continue into margin tiles
https://bugs.webkit.org/show_bug.cgi?id=127021
-and corresponding-
<rdar://problem/15571300>

Reviewed by Simon Fraser.

This patch makes repeating background images continue into margin tiles.

RenderObject::repaintRectangle() now takes an addition bool parameter which
indicates whether or not the repaint rect should be clipped to the layer size.
* WebCore.exp.in:

These new functions on FrameView provide a way for code in the render tree to know
if the TiledBacking has a margin. tiledBacking() is now const. It should have
always been const, and it needs to be const to make these new functions const.
* page/FrameView.cpp:
(WebCore::FrameView::tiledBacking):
(WebCore::FrameView::hasExtendedBackground):
(WebCore::FrameView::extendedBackgroundRect):
* page/FrameView.h:
* platform/ScrollableArea.h:
(WebCore::ScrollableArea::tiledBacking):

If we’re painting the root background and it is an extended background, we need to
inflate the repaint rect to span the extended background.
* rendering/RenderBox.cpp:
(WebCore::RenderBox::repaintLayerRectsForImage):

To get the phase right on repeated background images on a page with margin tiles,
we need to make sure we factor the size of the margin tiles into the left and top
values that we use when calculating background image geometry.
* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):

setBackingNeedsRepaintInRect() now takes GraphicsLayer::ShouldClipToLayer as a
parameter, just like setBackingNeedsRepaint().
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::calculateClipRects):

setContentsNeedDisplayInRect() also takes a GraphicsLayer::ShouldClipToLayer now,
and it passes that information down to the GraphicsLayer.
* rendering/RenderLayer.h:
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::setContentsNeedDisplayInRect):
* rendering/RenderLayerBacking.h:

These two RenderObject functions now take an optional bool parameter which
indicates whether or not the rect should be clipped to the layer size. They use a
bool instead of the GraphicsLayer enum in order to avoid including GraphicsLayer.h
from within RenderObject.h. This seems like a simpler solution than adding a new
stand-alone file for this very simple enum.
* rendering/RenderObject.cpp:
(WebCore::RenderObject::repaintUsingContainer):
(WebCore::RenderObject::repaintRectangle):
* rendering/RenderObject.h:

RenderView::backgroundRect needs to return the extendedBackgroundRect when it had
one.
* rendering/RenderView.cpp:
(WebCore::RenderView::backgroundRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162098 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agotoStringVector static function definition should not be redundant.
commit-queue@webkit.org [Wed, 15 Jan 2014 23:26:19 +0000 (23:26 +0000)]
toStringVector static function definition should not be redundant.
https://bugs.webkit.org/show_bug.cgi?id=126872.

Patch by Piotr Grad <p.grad@samsung.com> on 2014-01-15
Reviewed by Anders Carlsson.

toStringVector function was declared twice in InjectedBundle.cpp and WebPageGroup.cpp as static.
In order to remove redundant definition this function was moved into API::Array.

* Shared/APIArray.cpp:
(API::Array::toStringVector):
* Shared/APIArray.h:
* UIProcess/WebPageGroup.cpp:
(WebKit::WebPageGroup::addUserStyleSheet):
(WebKit::WebPageGroup::addUserScript):
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::addUserScript):
(WebKit::InjectedBundle::addUserStyleSheet):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162097 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoWeb Inspector: capture probe samples on the backend
bburg@apple.com [Wed, 15 Jan 2014 23:22:39 +0000 (23:22 +0000)]
Web Inspector: capture probe samples on the backend
https://bugs.webkit.org/show_bug.cgi?id=126668

Reviewed by Joseph Pecoraro.

Source/JavaScriptCore:

Add the 'probe' breakpoint action to the protocol. Change the setBreakpoint
commands to return a list of assigned breakpoint action identifiers
Add a type for breakpoint action identifiers. Add an event for sending
captured probe samples to the inspector frontend.

* inspector/protocol/Debugger.json:

Source/WebCore:

Test: inspector-protocol/debugger/setProbe-multiple-actions.html

Add the probe breakpoint action type. A probe action
evaluates an expression on the script call frame, and
the result is aggregated on a per-probe basis. Each
evaluated expression result is called a probe sample.

* bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::evaluateBreakpointAction): Teach
the debug server to evaluate a probe.

(WebCore::ScriptDebugServer::dispatchDidSampleProbe): Added.
(WebCore::ScriptDebugServer::handleBreakpointHit): Increment a hit count.
(WebCore::ScriptDebugServer::getActionsForBreakpoint):
* bindings/js/ScriptDebugServer.h:
* inspector/InspectorDebuggerAgent.cpp:
(WebCore::objectGroupForBreakpointAction): Added. Create an object
group for each breakpoint action. Currently only probes make objects.
(WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
(WebCore::InspectorDebuggerAgent::disable):
(WebCore::InspectorDebuggerAgent::enable): Remove stale comment.
(WebCore::breakpointActionTypeForString): Add new case.
(WebCore::InspectorDebuggerAgent::breakpointActionsFromProtocol): Make
this a member function instead of a static function, so it can increment
the breakpoint action identifier counter.
(WebCore::InspectorDebuggerAgent::setBreakpointByUrl): Propagate the
assigned breakpoint action identifiers.
(WebCore::InspectorDebuggerAgent::setBreakpoint): Propagate the
assigned breakpoint action identifiers.
(WebCore::InspectorDebuggerAgent::removeBreakpoint): Release object
groups for any actions that were associated with the removed breakpoint.
(WebCore::InspectorDebuggerAgent::didSampleProbe): Added.
(WebCore::InspectorDebuggerAgent::clearResolvedBreakpointState): Renamed from clear().
(WebCore::InspectorDebuggerAgent::didClearGlobalObject): Renamed from reset().
* inspector/InspectorDebuggerAgent.h:
* inspector/PageDebuggerAgent.cpp:
(WebCore::PageDebuggerAgent::didClearMainFrameWindowObject):
* inspector/ScriptBreakpoint.h:
(WebCore::ScriptBreakpointAction::ScriptBreakpointAction): Add identifier member.
* inspector/ScriptDebugListener.h:

Source/WebInspectorUI:

* UserInterface/InspectorJSBackendCommands.js: Add probe enumeration value.

LayoutTests:

Add protocol tests for setting and hitting the probe breakpoint action type.

* inspector-protocol/debugger/setBreakpoint-actions-expected.txt:
* inspector-protocol/debugger/setBreakpoint-actions.html:
* inspector-protocol/debugger/setProbe-multiple-actions-expected.txt: Added.
* inspector-protocol/debugger/setProbe-multiple-actions.html: Added.
* inspector-protocol/resources/probe-helper.js: Added.
(ProbeHelper.simplifiedProbeSample):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162096 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoMore iOS build fixing.
ap@apple.com [Wed, 15 Jan 2014 22:58:24 +0000 (22:58 +0000)]
More iOS build fixing.

* WebView/WebPreferences.mm: (-[WebPreferences _invalidateCachedPreferences]):
Removed a now unused local variable.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162094 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoBuild fix for iOS.
ap@apple.com [Wed, 15 Jan 2014 22:53:20 +0000 (22:53 +0000)]
Build fix for iOS.

* WebView/WebPreferences.mm: (-[WebPreferences _invalidateCachedPreferences]):
Update a remaining call site of _updatePrivateBrowsingStateFram:to:.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162093 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoDumpRenderTree doesn't disable web preferences autosave
ap@apple.com [Wed, 15 Jan 2014 22:43:26 +0000 (22:43 +0000)]
DumpRenderTree doesn't disable web preferences autosave
https://bugs.webkit.org/show_bug.cgi?id=127062

Reviewed by Dan Bernstein.

* DumpRenderTree/mac/DumpRenderTree.mm: (prepareConsistentTestingEnvironment):
Do it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162092 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoCrash when multiple WebView instances have different PrivateBrowsing settings
ap@apple.com [Wed, 15 Jan 2014 22:35:19 +0000 (22:35 +0000)]
Crash when multiple WebView instances have different PrivateBrowsing settings
https://bugs.webkit.org/show_bug.cgi?id=127019

* WebView/WebPreferences.mm: (-[WebPreferences _updatePrivateBrowsingStateTo:]):
Added a null check to fix Safari crash on startup when extensions are enabled.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162091 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoImprove filter-build-webkit, especially for iOS builds
dino@apple.com [Wed, 15 Jan 2014 22:25:07 +0000 (22:25 +0000)]
Improve filter-build-webkit, especially for iOS builds
https://bugs.webkit.org/show_bug.cgi?id=81046

Reviewed by Joseph Pecoraro.

Lots of updates to the filtering rules, mostly from the
iOS build output. Other highlights include:
- ignoring escape sequences for color ouput
- detecting escaped spaces in file name regexps

* Scripts/filter-build-webkit:
(shouldIgnoreLine):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162090 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoREGRESSION (r158369): Some pop-up windows open at incorrect size (affects GMail,...
barraclough@apple.com [Wed, 15 Jan 2014 21:39:14 +0000 (21:39 +0000)]
REGRESSION (r158369): Some pop-up windows open at incorrect size (affects GMail, theblaze.com)
https://bugs.webkit.org/show_bug.cgi?id=126289

Reviewed by Anders Carlson.

Partial revert of https://bugs.webkit.org/show_bug.cgi?id=123557.
On window.open, update page when the UIProcess sends the create message

Source/WebKit2:

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::initializeWebPage):
(WebKit::WebPageProxy::creationParameters):
* UIProcess/WebPageProxy.h:
    - creation paraments are not preserved at window.open.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::reinitializeWebPage):
(WebKit::WebPage::setViewState):
(WebKit::WebPage::setViewStateInternal):
* WebProcess/WebPage/WebPage.h:
    - add interface to update page.
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::createWebPage):
    - if we try to create a page that already exists, update the current page's view state.

LayoutTests:

* platform/mac-wk2/TestExpectations:
    - test is bad (results in DRT don't reflect in browser behaviour).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162088 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoCrash when multiple WebView instances have different PrivateBrowsing settings
ap@apple.com [Wed, 15 Jan 2014 21:30:26 +0000 (21:30 +0000)]
Crash when multiple WebView instances have different PrivateBrowsing settings
https://bugs.webkit.org/show_bug.cgi?id=127019

Reviewed by Sam Weinig.

* WebView/WebView.mm: (-[WebView _preferencesChanged:]): Don't delete a private
browsing session simply because one preferences object doesn't use private browsing.
There could be others that do.

* WebView/WebPreferences.mm: Track how many WebPreferences objects use private
browsing, and only delete the private session when there are none any more.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162087 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[GTK] v2.3.3 fails to build in Debian / FreeBSD
berto@igalia.com [Wed, 15 Jan 2014 21:21:17 +0000 (21:21 +0000)]
[GTK] v2.3.3 fails to build in Debian / FreeBSD
https://bugs.webkit.org/show_bug.cgi?id=126502

Reviewed by Mark Lam.

* wtf/Platform.h: Add LLINT support to FreeBSD.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162086 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[WebGL] Validation function for compressed formats incorrect
bfulgham@apple.com [Wed, 15 Jan 2014 20:13:01 +0000 (20:13 +0000)]
[WebGL] Validation function for compressed formats incorrect
https://bugs.webkit.org/show_bug.cgi?id=127023

Reviewed by Dean Jackson.

No new tests. Covered by existing WebGL compressed texture tests.

* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::validateCompressedTexFuncData): Revise to match specifications.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162085 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoRemove the CSS selector profiler.
akling@apple.com [Wed, 15 Jan 2014 20:09:09 +0000 (20:09 +0000)]
Remove the CSS selector profiler.
<https://webkit.org/b/127039>

Source/WebCore:

The selector profiler was painting a mostly fictional picture of what
selectors we were spending time on. It never really grokked the fast
path selectors, nor did it understand recent additions like the extra
cascading pass or the selector JIT.

Somewhat ironically, this may end up making some selectors run faster
since it removes a number of brances in hot code.

Reviewed by Sam Weinig.

* css/ElementRuleCollector.cpp:
(WebCore::ElementRuleCollector::collectMatchingRulesForList):
* css/ElementRuleCollector.h:
* inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::willDestroyFrontendAndBackend):
* inspector/InspectorCSSAgent.h:
* inspector/InspectorInstrumentation.cpp:
* inspector/InspectorInstrumentation.h:
* inspector/protocol/CSS.json:

Source/WebInspectorUI:

Purge selector profiler code from the new Web Inspector UI.

Reviewed by Sam Weinig.

* Localizations/en.lproj/localizedStrings.js:
* UserInterface/CSSSelectorProfileObject.js: Removed.
* UserInterface/CSSSelectorProfileType.js: Removed.
* UserInterface/CSSSelectorProfileView.js: Removed.
* UserInterface/ContentView.js:
(WebInspector.ContentView):
(WebInspector.ContentView.isViewable):
* UserInterface/InspectorWebBackendCommands.js:
* UserInterface/InstrumentSidebarPanel.js:
(WebInspector.InstrumentSidebarPanel):
(WebInspector.InstrumentSidebarPanel.prototype._recordProfileGlyphMousedOver):
(WebInspector.InstrumentSidebarPanel.prototype._recordProfileGlyphMousedDown):
(WebInspector.InstrumentSidebarPanel.prototype._recordProfileGlyphClicked):
(WebInspector.InstrumentSidebarPanel.prototype._profileTypeWasSelected):
(WebInspector.InstrumentSidebarPanel.prototype._profilesCleared):
* UserInterface/Main.html:
* UserInterface/ProfileManager.js:
(WebInspector.ProfileManager):
(WebInspector.ProfileManager.prototype.initialize):
(WebInspector.ProfileManager.prototype._checkForInterruptions):
(WebInspector.ProfileManager.prototype._attemptToResumeProfiling):
* WebInspectorUI.vcxproj/WebInspectorUI.vcxproj:
* WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162084 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[SVG] Accept HTML and MathML namespaces as valid requiredExtensions
commit-queue@webkit.org [Wed, 15 Jan 2014 19:01:44 +0000 (19:01 +0000)]
[SVG] Accept HTML and MathML namespaces as valid requiredExtensions
https://bugs.webkit.org/show_bug.cgi?id=88188

Patch by Frédéric Wang <fred.wang@free.fr> on 2014-01-15
Reviewed by Chris Fleizach.

Source/WebCore:

When HTML and MathML are used as foreign objects of an SVG image, it is
important for Web authors to be able to specify a fallback content for
SVG-only readers or browsers without MathML support. We rely on the
requiredExtensions for that purpose and we use the XHTML/MathML
namespaces as suggested in SVG Tiny 1.2 and implemented in Gecko.

Tests: svg/custom/conditional-processing-1.svg
       svg/custom/conditional-processing-2.html
       svg/dom/SVGTests.html

* svg/SVGSwitchElement.cpp: Remove an incorrect FIXME comment and replace it with a reference to bug 74749.
(WebCore::SVGSwitchElement::childShouldCreateRenderer):
* svg/SVGTests.cpp: Check if the list of required extensions contains only the XHTML/MathML namespaces.
(WebCore::SVGTests::hasExtension):
(WebCore::SVGTests::isValid):

LayoutTests:

conditional-processing-1 verifies that indeed a renderer object is only
created for the first "valid" SVG element of a <switch>, contrary to
what an incorrect FIXME comment said. conditional-processing-2 verifies
that the <switch> takes into account XHTML and MathML namespaces in the
requiredExtensions attribute to decide which SVG element is "valid".
SVGTests.html verifies the SVGTests interface of SVG DOM: three
SVGStringList attributes (already tested in svg/dom/SVGStringList.html)
and the hasExtension() function.

* svg/custom/conditional-processing-1-expected.svg: Added.
* svg/custom/conditional-processing-1.svg: Added.
* svg/custom/conditional-processing-2-expected.html: Added.
* svg/custom/conditional-processing-2.html: Added.
* svg/dom/SVGTests-expected.txt: Added.
* svg/dom/SVGTests.html: Added.
* svg/dom/script-tests/SVGTests.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162083 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoAX: Merge layout test from Mac and GTK checking accessibility roles
ap@apple.com [Wed, 15 Jan 2014 19:00:47 +0000 (19:00 +0000)]
AX: Merge layout test from Mac and GTK checking accessibility roles
https://bugs.webkit.org/show_bug.cgi?id=126685

Fix Mac test results.

* platform/mac-mountainlion/platform/mac/accessibility/role-subrole-roledescription-expected.txt: Removed.
This test was merged into another, but its Mountain Lion results were not moved accordingly.

* platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Copied from LayoutTests/platform/mac/accessibility/roles-exposed-expected.txt.
Custom results with a different role for "dl".

* platform/mac/accessibility/roles-exposed-expected.txt: Changed to have results that
are correct forward looking.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162082 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[iOS] Missing RenderObject::style() symbol in WebDOMOperations.mm
ddkilzer@apple.com [Wed, 15 Jan 2014 18:37:02 +0000 (18:37 +0000)]
[iOS] Missing RenderObject::style() symbol in WebDOMOperations.mm

Fixes the following linker error:

    Undefined symbols for architecture x86_64:
      "__ZNK7WebCore12RenderObject5styleEv", referenced from:
          -[DOMNode(WebDOMNodeOperations) isHorizontalWritingMode] in WebDOMOperations.o

* DOM/WebDOMOperations.mm: Include RenderElement.h instead of
RenderObject.h since the inline RenderObject::style() method
moved to the former header.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162081 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed, rolling out r162066.
commit-queue@webkit.org [Wed, 15 Jan 2014 18:29:23 +0000 (18:29 +0000)]
Unreviewed, rolling out r162066.
http://trac.webkit.org/changeset/162066
https://bugs.webkit.org/show_bug.cgi?id=127056

The added test still fails on some bots (Requested by ap on
#webkit).

Source/WebCore:

* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::drawPatternForContainer):
* svg/graphics/SVGImage.h:
* svg/graphics/SVGImageForContainer.cpp:
(WebCore::SVGImageForContainer::drawPattern):

LayoutTests:

* css3/compositing/background-blend-mode-data-uri-svg-image-expected.html: Removed.
* css3/compositing/background-blend-mode-data-uri-svg-image.html: Removed.
* platform/efl/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162080 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[iOS] Fix intialization order of ResourceResponse constructor
ddkilzer@apple.com [Wed, 15 Jan 2014 18:23:43 +0000 (18:23 +0000)]
[iOS] Fix intialization order of ResourceResponse constructor

Fixes the following build failure:

    WebCore/platform/network/mac/ResourceResponseMac.mm:83:7: error: field 'm_nsResponse' will be initialized after field 'm_initLevel' [-Werror,-Wreorder]
        , m_nsResponse(nsResponse)
          ^

* platform/network/mac/ResourceResponseMac.mm:
(WebCore::ResourceResponse::ResourceResponse): Reorder member
initializers to match the order that they are defined in the
header.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162079 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed. Comment out part of r162036 which broke WebGL on many ports.
roger_fong@apple.com [Wed, 15 Jan 2014 18:11:15 +0000 (18:11 +0000)]
Unreviewed. Comment out part of r162036 which broke WebGL on many ports.

* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::getContext):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162078 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed test correctino for webgl compressed textures.
bfulgham@apple.com [Wed, 15 Jan 2014 18:03:28 +0000 (18:03 +0000)]
Unreviewed test correctino for webgl compressed textures.

* fast/canvas/webgl/webgl-compressed-texture-size-limit-expected.txt:
* platform/mac-mountainlion/fast/canvas: Removed.
* platform/mac-mountainlion/fast/canvas/webgl: Removed.
* platform/mac-mountainlion/fast/canvas/webgl/webgl-compressed-texture-size-limit-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162077 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed EFL gardening
m.pakula@samsung.com [Wed, 15 Jan 2014 17:53:28 +0000 (17:53 +0000)]
Unreviewed EFL gardening

Add failure test expectations for reftests added in r161626.

* platform/efl/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162076 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed, rolling out r162054.
commit-queue@webkit.org [Wed, 15 Jan 2014 17:46:58 +0000 (17:46 +0000)]
Unreviewed, rolling out r162054.
http://trac.webkit.org/changeset/162054
https://bugs.webkit.org/show_bug.cgi?id=127053

Causes assertion failures in DumpRenderTree (Requested by ap
on #webkit).

* WebView/WebPreferences.mm:
(-[WebPreferences initWithIdentifier:sendChangeNotification:initWithIdentifier:]):
(-[WebPreferences initWithCoder:]):
(+[WebPreferences standardPreferences]):
(-[WebPreferences dealloc]):
(-[WebPreferences setPrivateBrowsingEnabled:]):
(-[WebPreferences _invalidateCachedPreferences]):
* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162075 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoGet rid of RefCountedCustomAllocated
andersca@apple.com [Wed, 15 Jan 2014 17:45:43 +0000 (17:45 +0000)]
Get rid of RefCountedCustomAllocated
https://bugs.webkit.org/show_bug.cgi?id=127051

Reviewed by Antti Koivisto.

It's not used anywhere anymore, get rid of it.

* wtf/RefCounted.h:
* wtf/SizeLimits.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162074 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[GTK] Web process sometimes crashes when printing in synchronous mode
carlosgc@webkit.org [Wed, 15 Jan 2014 17:37:36 +0000 (17:37 +0000)]
[GTK] Web process sometimes crashes when printing in synchronous mode
https://bugs.webkit.org/show_bug.cgi?id=126979

Reviewed by Gustavo Noronha Silva.

Source/WebKit2:

When printing synchronously in GTK+ we need to make sure that we
have a list of Printers before starting the print operation. Getting
the list of printers is done synchronously by GTK+, but using a
nested main loop that might process IPC messages comming from the
UI process like EndPrinting. When the EndPrinting message is
received while the printer list is being populated, the print
operation is finished unexpectely and the web process crashes. The
PrinterListGtk class gets the list of printers in the constructor
so we just need to ensure there's an instance alive during the
synchronous print operation. In case of asynchronous printing the
printer list will be created during the print operation without
any risk, because the EndPrinting message is not sent until the
printing callback has been received in the UI process.

* GNUmakefile.list.am: Add new files to compilation.
* PlatformGTK.cmake: Ditto.
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::print): Ensure PrinterListGtk is created
before the synchronous printing and destroyed afterwards.
* WebProcess/WebPage/gtk/PrinterListGtk.cpp: Added.
(WebKit::PrinterListGtk::shared): Return the singleton.
(WebKit::PrinterListGtk::enumeratePrintersFunction): Callback
called by gtk_enumerate_printers() when a new printer is found.
(WebKit::PrinterListGtk::PrinterListGtk): Call
gtk_enumerate_printers() in syhchronous mode.
(WebKit::PrinterListGtk::~PrinterListGtk):
(WebKit::PrinterListGtk::addPrinter): Add the printer to the list
and set the default printer if needed.
(WebKit::PrinterListGtk::findPrinter): Find the printer for the
given name.
* WebProcess/WebPage/gtk/PrinterListGtk.h: Added.
* WebProcess/WebPage/gtk/WebPrintOperationGtk.cpp: Use
PrinterListGtk class to find the printer instead of calling
gtk_enumerate_printers().

Tools:

* Scripts/run-gtk-tests:
(TestRunner): Unskip
/webkit2/WebKitPrintOperation/close-after-print.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162073 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoMerged some subpixel skipped tests. Unreviewed.
zalan@apple.com [Wed, 15 Jan 2014 17:22:32 +0000 (17:22 +0000)]
Merged some subpixel skipped tests. Unreviewed.

webkit.org/b/126894 is a duplicate of webkit.org/b/126892

* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162072 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoWordMeasurement is a struct, not a class
zoltan@webkit.org [Wed, 15 Jan 2014 17:19:08 +0000 (17:19 +0000)]
WordMeasurement is a struct, not a class
https://bugs.webkit.org/show_bug.cgi?id=125373

Reviewed by Anders Carlsson.

Change class to struct, because there is no reason for WordMeasurement to be a class.

No new tests, no behavior change.

* rendering/RenderBlockFlow.h:
* rendering/line/BreakingContextInlineHeaders.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162071 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed test fix for Mountain Lion WebGL behavior.
bfulgham@apple.com [Wed, 15 Jan 2014 17:10:07 +0000 (17:10 +0000)]
Unreviewed test fix for Mountain Lion WebGL behavior.

Add Mountain Lion expected output matching ML's output of INVALID_OPERATION for improperly-sized textures.

* platform/mac-mountainlion/fast/canvas: Added.
* platform/mac-mountainlion/fast/canvas/webgl: Added.
* platform/mac-mountainlion/fast/canvas/webgl/webgl-compressed-texture-size-limit-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162070 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[GTK][WK1] Add ProgressTrackerClient implementation
zandobersek@gmail.com [Wed, 15 Jan 2014 17:03:52 +0000 (17:03 +0000)]
[GTK][WK1] Add ProgressTrackerClient implementation
https://bugs.webkit.org/show_bug.cgi?id=127048

Reviewed by Anders Carlsson.

In r162034, the progress tracker client was separated from FrameLoaderClient into the
ProgressTrackerClient class. This patch adds the WebKit layer implementation of that
class for GTK-WK1 that's practically identical to the client implementation that was
in use under WebKit::FrameLoaderClient.

* GNUmakefile.am:
* WebCoreSupport/FrameLoaderClientGtk.cpp:
* WebCoreSupport/FrameLoaderClientGtk.h:
* WebCoreSupport/ProgressTrackerClientGtk.cpp: Added.
(WebKit::ProgressTrackerClient::ProgressTrackerClient):
(WebKit::ProgressTrackerClient::progressTrackerDestroyed):
(WebKit::ProgressTrackerClient::progressStarted):
(WebKit::ProgressTrackerClient::progressEstimateChanged):
(WebKit::ProgressTrackerClient::progressFinished):
* WebCoreSupport/ProgressTrackerClientGtk.h: Added.
* webkit/webkitwebview.cpp:
(webkit_web_view_init):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162069 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed GTK gardening. Removing an unneeded GTK-specific baseline
zandobersek@gmail.com [Wed, 15 Jan 2014 17:01:07 +0000 (17:01 +0000)]
Unreviewed GTK gardening. Removing an unneeded GTK-specific baseline
for a layout test that was fixed proper in r161549.

* platform/gtk/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162068 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoAX: Merge layout test from Mac and GTK checking accessibility roles
mario.prada@samsung.com [Wed, 15 Jan 2014 13:15:49 +0000 (13:15 +0000)]
AX: Merge layout test from Mac and GTK checking accessibility roles
https://bugs.webkit.org/show_bug.cgi?id=126685

Reviewed by Chris Fleizach.

Merged GTK and Mac tests into one cross-platform test that is
aware of the platform-specific differences by declaring which
elements are supported in which platforms and which platform
specific roles (if it's the case) should be expected.

* accessibility/roles-exposed-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/roles-exposed-expected.txt.
* accessibility/roles-exposed.html: Added.
* platform/gtk/accessibility/roles-exposed.html: Removed.
* platform/mac/accessibility/role-subrole-roledescription.html: Removed.
* platform/mac/accessibility/roles-exposed-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/role-subrole-roledescription-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162067 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoSource/WebCore: Reapplying:
commit-queue@webkit.org [Wed, 15 Jan 2014 12:32:03 +0000 (12:32 +0000)]
Source/WebCore: Reapplying:
Background-blend-mode doesn't work for an element with an
SVG image as background and border-style or padding set.
The problem consisted in the drawing path using the default
blending parameter at all times.
https://bugs.webkit.org/show_bug.cgi?id=118894

Patch by Mihai Tica <mitica@adobe.com> on 2014-01-15
Reviewed by Dirk Schulze.

Test: css3/compositing/background-blend-mode-data-uri-svg-image.html

* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::drawPatternForContainer): Pass blendMode to Image::drawPattern.
* svg/graphics/SVGImage.h: Add a blendMode parameter to drawPatternForContainer.
* svg/graphics/SVGImageForContainer.cpp:
(WebCore::SVGImageForContainer::drawPattern): Pass blendMode to drawPatternForContainer call.

LayoutTests: Reapplying:
Background-blend-mode doesn't work for an element with an
SVG image as background and border-style or padding set.
Tests now use rectangles instead of circles for SVGs.
https://bugs.webkit.org/show_bug.cgi?id=118894

Patch by Mihai Tica <mitica@adobe.com> on 2014-01-15
Reviewed by Dirk Schulze.

* css3/compositing/background-blend-mode-data-uri-svg-image-expected.html:
* css3/compositing/background-blend-mode-data-uri-svg-image.html:
* platform/efl/TestExpectations: pass tests for efl, blendMode is not implemented.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162066 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[CSS Regions] Add performance tests for selection with mixed content
rego@igalia.com [Wed, 15 Jan 2014 11:26:33 +0000 (11:26 +0000)]
[CSS Regions] Add performance tests for selection with mixed content
https://bugs.webkit.org/show_bug.cgi?id=126427

Reviewed by Ryosuke Niwa.

Add new performance tests for selection in CSS Regions mixing regular
content with regions. 2 new tests are added, one checking select all
command and another simulating a user selection passing through all the
paragraphs (similar to Layout/RegionsSelection.html).

Test are skipped for now while implementation of selection in CSS
Regions is still evolving.

* Layout/RegionsExtendingSelectionMixedContent.html: Added.
* Layout/RegionsSelectAllMixedContent.html: Added.
* Layout/resources/regions.css:
(.regular):
* Layout/resources/regions.js:
* Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162065 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[CSS Regions] Hit-testing goes through clipped layer in fast/regions/overflow-first...
abucur@adobe.com [Wed, 15 Jan 2014 10:30:17 +0000 (10:30 +0000)]
[CSS Regions] Hit-testing goes through clipped layer in fast/regions/overflow-first-and-last-regions-in-container-hidden.html
https://bugs.webkit.org/show_bug.cgi?id=126886

Reviewed by Mihnea Ovidenie.

Source/WebCore:

Currently, when hit testing a location inside a flow thread we ignore the clipping rectangle of
the region. This leads to false positives when the location is over the clipped out content of a
flow thread. The patch verifies that the location is inside the clipping rectangle of the region before
forwarding the hit test verification to the flow thread layer.

Test: fast/regions/hover-and-js-in-visual-overflow-hidden.html

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::hitTestFlowThreadIfRegion):

LayoutTests:

Add a test that verifies you can't hover an element flowed inside a region but found inside
the hidden overflow of the region.

* fast/regions/hover-and-js-in-visual-overflow-hidden-expected.html: Added.
* fast/regions/hover-and-js-in-visual-overflow-hidden.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162064 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoSuspend resource requests during computedStyle
antti@apple.com [Wed, 15 Jan 2014 10:28:52 +0000 (10:28 +0000)]
Suspend resource requests during computedStyle
https://bugs.webkit.org/show_bug.cgi?id=127034

Reviewed by Andreas Kling.

We have some cases where getting computed style leads to crashes in loadPendingImages.
This is probably caused by load callbacks resulting in re-entering WebKit and killing the StyleResolver.

As a speculative fix suspend resource loads (and so callbacks) when getting the computed style.
We do similar suspension during style recalc for the same reason.

* dom/Document.cpp:
(WebCore::Document::styleForElementIgnoringPendingStylesheets):
* loader/ResourceLoadScheduler.h:
(WebCore::ResourceLoadScheduler::Suspender::Suspender):
(WebCore::ResourceLoadScheduler::Suspender::~Suspender):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162063 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoDocumentFragment should be constructable.
commit-queue@webkit.org [Wed, 15 Jan 2014 10:14:09 +0000 (10:14 +0000)]
DocumentFragment should be constructable.
https://bugs.webkit.org/show_bug.cgi?id=115641

Patch by László Langó <llango.u-szeged@partner.samsung.com> on 2014-01-15
Reviewed by Ryosuke Niwa.

Source/WebCore:

http://www.w3.org/TR/2013/WD-dom-20131107/#interface-documentfragment
This allows us to do `new DocumentFragment` instead of
`document.createDocumentFragment()`.

Blink: https://chromium.googlesource.com/chromium/blink/+/86855c44a5a127716840fb377281b1c428e5eb2d%5E%21
Test: fast/dom/DocumentFragment/document-fragment-constructor.html

* dom/DocumentFragment.cpp:
(WebCore::DocumentFragment::create):
* dom/DocumentFragment.h:
* dom/DocumentFragment.idl:

LayoutTests:

* fast/dom/DocumentFragment/document-fragment-constructor-expected.txt: Added.
* fast/dom/DocumentFragment/document-fragment-constructor.html: Added.
* fast/dom/dom-constructors-expected.txt:
* fast/dom/dom-constructors.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162062 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[EFL][WK1] Implement ProgressTrackerClientEfl to fix the crash
ryuan.choi@samsung.com [Wed, 15 Jan 2014 10:01:43 +0000 (10:01 +0000)]
[EFL][WK1] Implement ProgressTrackerClientEfl to fix the crash
https://bugs.webkit.org/show_bug.cgi?id=127031

Reviewed by Gyuyoung Kim.

Source/WebKit:

* PlatformEfl.cmake: Added ProgressTrackerClientEfl.cpp into source lists.

Source/WebKit/efl:

Implmemented and moved ProgressTrackerClient logic from FrameLoaderClientEfl.
ProgressTrackerClient should be indenpendent instance since r162034

* WebCoreSupport/FrameLoaderClientEfl.cpp:
* WebCoreSupport/FrameLoaderClientEfl.h:
* WebCoreSupport/ProgressTrackerClientEfl.cpp:
(WebCore::ProgressTrackerClientEfl::ProgressTrackerClientEfl):
(WebCore::ProgressTrackerClientEfl::progressTrackerDestroyed):
(WebCore::ProgressTrackerClientEfl::progressStarted):
(WebCore::ProgressTrackerClientEfl::progressEstimateChanged):
(WebCore::ProgressTrackerClientEfl::progressFinished):
* WebCoreSupport/ProgressTrackerClientEfl.h: Added.
* ewk/ewk_view.cpp:
(_ewk_view_priv_new):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162061 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[EFL] Change test font installed path to webkitgtk-font-tests
changseok.oh@collabora.com [Wed, 15 Jan 2014 09:55:05 +0000 (09:55 +0000)]
[EFL] Change test font installed path to webkitgtk-font-tests
https://bugs.webkit.org/show_bug.cgi?id=126723

Reviewed by Gyuyoung Kim.

I'd like to change the test fonts installed directory from 'webkitgtk-test-fonts-0.0.3'
to 'webkitgtk-test-fonts'. webkitgtk-test-fonts-0.0.3 doesn't match the path
hard-coded in FontManagement.cpp#105

* DumpRenderTree/PlatformEfl.cmake:
* WebKitTestRunner/PlatformEfl.cmake:
* efl/jhbuild.modules:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162060 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[SOUP] [WK2] - Disable MemoryCache when the DOCUMENT_VIEWER cache model is set
commit-queue@webkit.org [Wed, 15 Jan 2014 09:45:26 +0000 (09:45 +0000)]
[SOUP] [WK2] - Disable MemoryCache when the DOCUMENT_VIEWER cache model is set
https://bugs.webkit.org/show_bug.cgi?id=126577

Patch by Tomas Popela <tpopela@redhat.com> on 2014-01-15
Reviewed by Carlos Garcia Campos.

As in http://trac.webkit.org/changeset/152483, but this time for
WebKit2. When WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER is set we need to
disable the MemoryCache completely to prevent caching of the resources.

* WebProcess/soup/WebProcessSoup.cpp:
(WebKit::WebProcess::platformSetCacheModel):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162059 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoMake DoYouEvenBench runnable by run-perf-tests
rniwa@webkit.org [Wed, 15 Jan 2014 08:01:52 +0000 (08:01 +0000)]
Make DoYouEvenBench runnable by run-perf-tests
https://bugs.webkit.org/show_bug.cgi?id=127030

Reviewed by Andreas Kling.

PerformanceTests:

Added Full.html that runs 5 iterations of DoYouEvenBench. This is the canonical DoYouEvenBench,
which is also runnable by run-perf-tests.

* DoYouEvenBench/Full.html: Added.

* DoYouEvenBench/benchmark.html:
(startTest): Updated the code to account for the fact old measuredValues is pushed down to tests
property and we now have total property so that we don't have to manually compute the total.

* DoYouEvenBench/resources/benchmark-report.js: Added. When we're inside a DRT/WTR, use
PerfTestRunner to output that can be parsed by run-perf-tests. Do the same when the query part
or the fragment part of the current URL is "webkit" for debugging purposes.

* DoYouEvenBench/resources/benchmark-runner.js:
(BenchmarkRunner):
(BenchmarkRunner.prototype._appendFrame): Position the frame at (0, 0) inside DRT and WTR since
we have exactly 800px by 600px inside those two test runners. Also always insert the iframe as
the first child of body to avoid inserting it after the pre inserted by the test runner.
(BenchmarkRunner.prototype.step): Initializes _measuredValues.
(BenchmarkRunner.prototype.runAllSteps): Merged callNextStep in benchmark.html.
(BenchmarkRunner.prototype.runMultipleIterations): Added.
(BenchmarkRunner.prototype._runTestAndRecordResults): Compute the grand total among suites.
Also push down the sync and async time into tests property for consistency.
(BenchmarkRunner.prototype._finalize):

* Dromaeo/resources/dromaeorunner.js:
(DRT.testObject): Renamed dromaeoIterationCount to customIterationCount as this option is also
used by DoYouEvenBench.

* resources/runner.js: Ditto.
(.finish): Spit out the aggregator name.

Tools:

Ignore console messages spit out by DoYouEvenBench and support aggregator names such as
":Total" to appear at the end of a test name. We don't do anything with it for now.

* Scripts/webkitpy/performance_tests/perftest.py:
(PerfTest._metrics_regex): Handle aggregator names such as ":Total". We'll pass it down
to the JSON in a follow up patch for the perf dashboard.
(PerfTest._lines_to_ignore_in_parser_result): Added lines to ignore for DoYouEvenBench.

LayoutTests:

Use customIterationCount as it has been renamed from dromaeoIterationCount.

* fast/harness/perftests/runs-per-second-iterations.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162058 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[GTK] UI process crashes when closing the window right after printing with javascript
carlosgc@webkit.org [Wed, 15 Jan 2014 07:56:42 +0000 (07:56 +0000)]
[GTK] UI process crashes when closing the window right after printing with javascript
https://bugs.webkit.org/show_bug.cgi?id=126981

Reviewed by Gustavo Noronha Silva.

The UI process crashes because when the page is closed, the web
view is destroyed before the print operation has actually
finished. Use a weak pointer to make sure the web view pointer is
set to NULL when the it's destroyed and emit the finished callback
always so that the user can clean up the operation even when the
web view has been closed.

* UIProcess/API/gtk/WebKitPrintOperation.cpp:
(drawPagesForPrintingCompleted):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162057 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[GTK] UI process crashes when the web process crashes while printing
carlosgc@webkit.org [Wed, 15 Jan 2014 07:47:47 +0000 (07:47 +0000)]
[GTK] UI process crashes when the web process crashes while printing
https://bugs.webkit.org/show_bug.cgi?id=126977

Reviewed by Gustavo Noronha Silva.

Source/WebKit2:

When the web process crashes, the printing callback is
invalidated, so the function is called with a NULL error.

* UIProcess/API/gtk/WebKitPrintOperation.cpp:
(drawPagesForPrintingCompleted): Check wkError is not NULL before
trying to use it.
* UIProcess/API/gtk/WebKitWebView.cpp:
(webkitWebViewPrintFrame): Set the print mode of the operation
before emitting the print signal.

Tools:

Add new test case to check that closing the window right after
printing works. It's skipped for now, because this patch only
fixes the UI process crash, but not the web process one.

* Scripts/run-gtk-tests:
(TestRunner): Skip
/webkit2/WebKitPrintOperation/close-after-print.
* TestWebKitAPI/Tests/WebKit2Gtk/TestPrinting.cpp:
(testPrintOperationPrintPrinter):
(findPrintToFilePrinter):
(testPrintOperationPrint):
(testPrintOperationErrors):
(testPrintOperationCloseAfterPrint):
(beforeAll):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162056 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed build fix after r161980.
changseok.oh@collabora.com [Wed, 15 Jan 2014 07:41:41 +0000 (07:41 +0000)]
Unreviewed build fix after r161980.

CachedResourcesLoader.h should not belong to the CSS_SHADERS flag since it is used
out of the flag so it causes a compile failure when svg and css shaders are concurrently disabled.

* css/StyleResolver.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162055 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoCrash when multiple WebView instances have different PrivateBrowsing settings
ap@apple.com [Wed, 15 Jan 2014 07:18:40 +0000 (07:18 +0000)]
Crash when multiple WebView instances have different PrivateBrowsing settings
https://bugs.webkit.org/show_bug.cgi?id=127019

Reviewed by Sam Weinig.

* WebView/WebView.mm: (-[WebView _preferencesChanged:]): Don't delete a private
browsing session simply because one preferences object doesn't use private browsing.
There could be others that do.

* WebView/WebPreferences.mm: Track how many WebPreferences objects use private
browsing, and only delete the private session when there are none any more.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162054 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoFix the iOS build after r162034.
simon.fraser@apple.com [Wed, 15 Jan 2014 07:00:29 +0000 (07:00 +0000)]
Fix the iOS build after r162034.

* WebCoreSupport/WebProgressTrackerClient.mm:
* WebView/WebView.mm:
(-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162053 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoPack ResourceResponse harder.
akling@apple.com [Wed, 15 Jan 2014 06:51:34 +0000 (06:51 +0000)]
Pack ResourceResponse harder.
<https://webkit.org/b/127005>

Re-arrange the members of ResourceResponse to reduce padding,
shrinking it by 8 bytes.

This nudges CachedResource and CachedImage into smaller size
classes, yielding a ~700 kB progression on Membuster3.

Reviewed by Anders Carlsson.

* platform/network/ResourceResponseBase.cpp:
(WebCore::ResourceResponseBase::ResourceResponseBase):
* platform/network/ResourceResponseBase.h:
* platform/network/cf/ResourceResponse.h:
(WebCore::ResourceResponse::ResourceResponse):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162052 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoRemove unnecessary WebkitCSSSVGDocumentValue
krit@webkit.org [Wed, 15 Jan 2014 06:50:13 +0000 (06:50 +0000)]
Remove unnecessary WebkitCSSSVGDocumentValue
https://bugs.webkit.org/show_bug.cgi?id=126997

Reviewed by Andreas Kling.

Source/WebCore:

Removing redundant code path. WebkitCSSSVGDocumentValue
can be expressed by a CSSPrimitiveValue.

No new tests.

* CMakeLists.txt:
* GNUmakefile.list.am:
* WebCore.order:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* css/CSSParser.cpp:
(WebCore::CSSParser::parseFilter):
* css/CSSValue.cpp:
(WebCore::CSSValue::equals):
(WebCore::CSSValue::cssText):
(WebCore::CSSValue::destroy):
* css/CSSValue.h:
* css/StyleResolver.cpp:
(WebCore::StyleResolver::createFilterOperations):
* css/StyleResolver.h:
* css/WebKitCSSSVGDocumentValue.cpp: Removed.
* css/WebKitCSSSVGDocumentValue.h: Removed.
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::valueForFilter):
* css/WebKitCSSFilterValue.cpp:
(WebCore::WebKitCSSFilterValue::customCSSText):

LayoutTests:

Update results after use of CSSPrimitiveValue.

* css3/filters/filter-property-computed-style-expected.txt:
* css3/filters/filter-property-expected.txt:
* css3/filters/filter-property-parsing-expected.txt:
* css3/filters/script-tests/filter-property-computed-style.js:
* css3/filters/script-tests/filter-property-parsing.js:
* css3/filters/script-tests/filter-property.js:
* fast/filter-image/parse-filter-image-expected.txt:
* fast/filter-image/parse-filter-image.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162051 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years ago[CSSRegions] Incorrect repaint of fixed element with transformed parent
mihnea@adobe.com [Wed, 15 Jan 2014 06:43:39 +0000 (06:43 +0000)]
[CSSRegions] Incorrect repaint of fixed element with transformed parent
https://bugs.webkit.org/show_bug.cgi?id=125756

Reviewed by Simon Fraser.

Source/WebCore:

When collecting the layers for fixed positioned elements with named flow
as a containing block, use layers collection at named flow layer level
instead of relying on the positioned elements collection.

With this approach, there are situations with nested named flows laid out in
auto-height regions and thus assuming 2 step layouts, in which is enough to lay
out the inner named flow once instead of twice with a performance gain.
In such situations, the layers lists for the inner named flow are not yet updated
when collectFixedPositionedLayers is called to paint the fixed positioned layers.
Therefore I called updateLayerListsIfNeeded for all named flows layers, via the flow thread controller, before inspecting the named flow layers to avoid hitting the assertions when
accessing the named flows layers lists.

Tests: fast/regions/repaint/fixed-in-named-flow-cb-changed.html
       fast/regions/repaint/fixed-in-named-flow-cb-changed2.html

* rendering/FlowThreadController.cpp:
(WebCore::FlowThreadController::updateNamedFlowsLayerListsIfNeeded):
(WebCore::FlowThreadController::collectFixedPositionedLayers):
* rendering/FlowThreadController.h:
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintFixedLayersInNamedFlows):

LayoutTests:

Add tests for a fixed positioned element with a parent that:
1. dynamically gets a transform, in which case the fixed positioned element should be positioned
relative to its parent
2. dynamically loses its transform, in which case the fixed positioned element should be positioned
relative to the view.

* fast/regions/repaint/fixed-in-named-flow-cb-changed-expected.html: Added.
* fast/regions/repaint/fixed-in-named-flow-cb-changed.html: Added.
* fast/regions/repaint/fixed-in-named-flow-cb-changed2-expected.html: Added.
* fast/regions/repaint/fixed-in-named-flow-cb-changed2.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162050 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoUnreviewed test fix.
bfulgham@apple.com [Wed, 15 Jan 2014 06:36:26 +0000 (06:36 +0000)]
Unreviewed test fix.

Source/WebCore:

* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::validateCompressedTexDimensions): Emit
error state expected by Khronos test suite.

LayoutTests:

* fast/canvas/webgl/webgl-compressed-texture-size-limit.html: Use same
failure mode as the khronos test suite.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162049 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoStop cmp from spewing useless info during postprocess-headers.sh.
mrowe@apple.com [Wed, 15 Jan 2014 06:34:14 +0000 (06:34 +0000)]
Stop cmp from spewing useless info during postprocess-headers.sh.

* postprocess-headers.sh: Pass -s to silence cmp since we only care about the
exit status.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162048 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoIDB: create object store support
beidson@apple.com [Wed, 15 Jan 2014 06:31:16 +0000 (06:31 +0000)]
IDB: create object store support
<rdar://problem/15779639> and https://bugs.webkit.org/show_bug.cgi?id=127011

Reviewed by Anders Carlsson.

Source/WebCore:

Split the 3 objects declared in IDBDatabaseMetadata into their own header files:
* Modules/indexeddb/IDBDatabaseMetadata.h:
* Modules/indexeddb/IDBIndexMetadata.h:
(WebCore::IDBIndexMetadata::IDBIndexMetadata):
* Modules/indexeddb/IDBObjectStoreMetadata.h:
(WebCore::IDBObjectStoreMetadata::IDBObjectStoreMetadata):

Add cross thread copying for IDBDatabaseMetadata:
* platform/CrossThreadCopier.cpp:
(WebCore::IDBIndexMetadata>::copy):
(WebCore::IDBObjectStoreMetadata>::copy):
* platform/CrossThreadCopier.h:

* WebCore.exp.in:
* WebCore.xcodeproj/project.pbxproj:

Source/WebKit2:

Add messaging/callback infrastructure for creating object stores:
* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
(WebKit::DatabaseProcessIDBConnection::createObjectStore):
* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:

* WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
(WebKit::WebIDBServerConnection::createObjectStore):
(WebKit::WebIDBServerConnection::didCreateObjectStore):
* WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
* WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in:

* DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
(WebKit::UniqueIDBDatabase::didChangeDatabaseVersion):
(WebKit::UniqueIDBDatabase::didCreateObjectStore):
(WebKit::UniqueIDBDatabase::didCompleteBoolRequest):
(WebKit::UniqueIDBDatabase::createObjectStore):
(WebKit::UniqueIDBDatabase::createObjectStoreInBackingStore):
* DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:

* DatabaseProcess/IndexedDB/UniqueIDBDatabaseBackingStore.h:

Add serialization helpers to save/restore an IDBKeyPath to/from disk:
* DatabaseProcess/IndexedDB/IDBSerialization.cpp:
(WebKit::serializeIDBKeyPath):
(WebKit::deserializeIDBKeyPath):
* DatabaseProcess/IndexedDB/IDBSerialization.h:

Add object store metadata to the schema, and save/restore the metadata:
* DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::createAndPopulateInitialMetadata):
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::extractExistingMetadata):
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::createObjectStore):
* DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h:

* Scripts/webkit2/messages.py:
(struct_or_class):
* WebKit2.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162047 268f45cc-cd09-0410-ab3c-d52691b4dbfc

5 years agoOnly use color in make output when it’s going to a terminal.
mitz@apple.com [Wed, 15 Jan 2014 06:10:54 +0000 (06:10 +0000)]
Only use color in make output when it’s going to a terminal.

Reviewed by Mark Rowe.

* Makefile.shared:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162045 268f45cc-cd09-0410-ab3c-d52691b4dbfc