Timeline
Oct 11, 2012:
- 11:34 PM WebInspector edited by
- (diff)
- 11:34 PM Changeset in webkit [131148] by
-
- 14 edits2 copies in trunk/Source
Add some basic methods and properties to the injected bundle Objective-C DOM API
https://bugs.webkit.org/show_bug.cgi?id=99137
Reviewed by Sam Weinig.
Source/WebCore:
Export needed symbols.
- WebCore.exp.in:
Source/WebKit2:
Add methods and properties that allow for tree traversal, node creation/insertion,
attribute modification, text node retrieval, and range creation.
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.h:
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.mm:
(toDocument):
(-[WKDOMDocument createElement:]):
(-[WKDOMDocument createTextNode:]):
(-[WKDOMDocument body]):
- WebProcess/InjectedBundle/API/mac/WKDOMElement.h:
- WebProcess/InjectedBundle/API/mac/WKDOMElement.mm:
(-[WKDOMElement hasAttribute:]):
(-[WKDOMElement getAttribute:]):
(-[WKDOMElement setAttribute:value:]):
(-[WKDOMElement tagName]):
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.h:
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
(WebKit::WKDOMNodeClass):
(WebKit::toWebCoreText):
(WebKit::toWKDOMText):
(WebKit::toWebCoreRange):
- WebProcess/InjectedBundle/API/mac/WKDOMNode.h:
- WebProcess/InjectedBundle/API/mac/WKDOMNode.mm:
(-[WKDOMNode insertNode:before:]):
(-[WKDOMNode appendChild:]):
(-[WKDOMNode parentNode]):
(-[WKDOMNode firstChild]):
(-[WKDOMNode nextSibling]):
- WebProcess/InjectedBundle/API/mac/WKDOMRange.h:
- WebProcess/InjectedBundle/API/mac/WKDOMRange.mm:
(-[WKDOMRange setStart:offset:]):
(-[WKDOMRange setEnd:offset:]):
(-[WKDOMRange collapse:]):
(-[WKDOMRange selectNode:]):
(-[WKDOMRange selectNodeContents:]):
(-[WKDOMRange isCollapsed]):
- WebProcess/InjectedBundle/API/mac/WKDOMText.h: Added.
- WebProcess/InjectedBundle/API/mac/WKDOMText.mm: Added.
(-[WKDOMText data]):
- 11:33 PM Changeset in webkit [131147] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed gardening, TestExpectation updated.
- platform/chromium/TestExpectations:
- 11:25 PM Changeset in webkit [131146] by
-
- 6 edits2 adds in trunk
Bad copy constructor in StyleRareNonInheritedData
https://bugs.webkit.org/show_bug.cgi?id=98950
Patch by Rik Cabanier <cabanier@adobe.com> on 2012-10-11
Reviewed by Eric Seidel.
Typo in copy constructor caused blendmode to always be the default.
Source/WebCore:
- rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
LayoutTests:
- platform/chromium/TestExpectations:
- transitions/blendmode-transitions-expected.txt: Added.
- transitions/blendmode-transitions.html: Added.
- transitions/resources/transition-test-helpers.js:
- transitions/svg-transitions-expected.txt:
- 11:10 PM Changeset in webkit [131145] by
-
- 643 edits in trunk
[WebKit IDL] remove all module from idl files.
https://bugs.webkit.org/show_bug.cgi?id=99007
Patch by Takashi Sakamoto <tasak@google.com> on 2012-10-11
Reviewed by Kentaro Hara.
Since current WebIDL spec doesn't support "module", remove
module from all idl files.
No new tests. I ran run-bindings-tests and no error was reported.
Source/WebCore:
- Modules/battery/BatteryManager.idl:
- Modules/battery/NavigatorBattery.idl:
- Modules/filesystem/DOMFileSystem.idl:
- Modules/filesystem/DOMFileSystemSync.idl:
- Modules/filesystem/DOMWindowFileSystem.idl:
- Modules/filesystem/DataTransferItemFileSystem.idl:
- Modules/filesystem/DirectoryEntry.idl:
- Modules/filesystem/DirectoryEntrySync.idl:
- Modules/filesystem/DirectoryReader.idl:
- Modules/filesystem/DirectoryReaderSync.idl:
- Modules/filesystem/EntriesCallback.idl:
- Modules/filesystem/Entry.idl:
- Modules/filesystem/EntryArray.idl:
- Modules/filesystem/EntryArraySync.idl:
- Modules/filesystem/EntryCallback.idl:
- Modules/filesystem/EntrySync.idl:
- Modules/filesystem/ErrorCallback.idl:
- Modules/filesystem/FileCallback.idl:
- Modules/filesystem/FileEntry.idl:
- Modules/filesystem/FileEntrySync.idl:
- Modules/filesystem/FileSystemCallback.idl:
- Modules/filesystem/FileWriter.idl:
- Modules/filesystem/FileWriterCallback.idl:
- Modules/filesystem/FileWriterSync.idl:
- Modules/filesystem/HTMLInputElementFileSystem.idl:
- Modules/filesystem/Metadata.idl:
- Modules/filesystem/MetadataCallback.idl:
- Modules/filesystem/WorkerContextFileSystem.idl:
- Modules/gamepad/Gamepad.idl:
- Modules/gamepad/GamepadList.idl:
- Modules/gamepad/NavigatorGamepad.idl:
- Modules/geolocation/Geolocation.idl:
- Modules/geolocation/Geoposition.idl:
- Modules/geolocation/NavigatorGeolocation.idl:
- Modules/geolocation/PositionCallback.idl:
- Modules/geolocation/PositionError.idl:
- Modules/geolocation/PositionErrorCallback.idl:
- Modules/indexeddb/DOMWindowIndexedDatabase.idl:
- Modules/indexeddb/IDBAny.idl:
- Modules/indexeddb/IDBCursor.idl:
- Modules/indexeddb/IDBCursorWithValue.idl:
- Modules/indexeddb/IDBDatabase.idl:
- Modules/indexeddb/IDBDatabaseException.idl:
- Modules/indexeddb/IDBFactory.idl:
- Modules/indexeddb/IDBIndex.idl:
- Modules/indexeddb/IDBKey.idl:
- Modules/indexeddb/IDBKeyRange.idl:
- Modules/indexeddb/IDBObjectStore.idl:
- Modules/indexeddb/IDBOpenDBRequest.idl:
- Modules/indexeddb/IDBRequest.idl:
- Modules/indexeddb/IDBTransaction.idl:
- Modules/indexeddb/IDBUpgradeNeededEvent.idl:
- Modules/indexeddb/IDBVersionChangeEvent.idl:
- Modules/indexeddb/IDBVersionChangeRequest.idl:
- Modules/indexeddb/WorkerContextIndexedDatabase.idl:
- Modules/intents/DOMWindowIntents.idl:
- Modules/intents/DeliveredIntent.idl:
- Modules/intents/Intent.idl:
- Modules/intents/IntentResultCallback.idl:
- Modules/intents/NavigatorIntents.idl:
- Modules/mediasource/MediaSource.idl:
- Modules/mediasource/SourceBuffer.idl:
- Modules/mediasource/SourceBufferList.idl:
- Modules/mediastream/DOMWindowMediaStream.idl:
- Modules/mediastream/IceCallback.idl:
- Modules/mediastream/IceCandidate.idl:
- Modules/mediastream/LocalMediaStream.idl:
- Modules/mediastream/MediaStream.idl:
- Modules/mediastream/MediaStreamEvent.idl:
- Modules/mediastream/MediaStreamList.idl:
- Modules/mediastream/MediaStreamTrack.idl:
- Modules/mediastream/MediaStreamTrackEvent.idl:
- Modules/mediastream/MediaStreamTrackList.idl:
- Modules/mediastream/NavigatorMediaStream.idl:
- Modules/mediastream/NavigatorUserMediaError.idl:
- Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
- Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
- Modules/mediastream/PeerConnection00.idl:
- Modules/mediastream/RTCErrorCallback.idl:
- Modules/mediastream/RTCIceCandidate.idl:
- Modules/mediastream/RTCIceCandidateEvent.idl:
- Modules/mediastream/RTCPeerConnection.idl:
- Modules/mediastream/RTCSessionDescription.idl:
- Modules/mediastream/RTCSessionDescriptionCallback.idl:
- Modules/mediastream/RTCStatsCallback.idl:
- Modules/mediastream/RTCStatsElement.idl:
- Modules/mediastream/RTCStatsReport.idl:
- Modules/mediastream/RTCStatsResponse.idl:
- Modules/mediastream/SessionDescription.idl:
- Modules/navigatorcontentutils/NavigatorContentUtils.idl:
- Modules/networkinfo/NavigatorNetworkInfoConnection.idl:
- Modules/networkinfo/NetworkInfoConnection.idl:
- Modules/notifications/DOMWindowNotifications.idl:
- Modules/notifications/Notification.idl:
- Modules/notifications/NotificationCenter.idl:
- Modules/notifications/NotificationPermissionCallback.idl:
- Modules/notifications/WorkerContextNotifications.idl:
- Modules/proximity/DeviceProximityEvent.idl:
- Modules/quota/DOMWindowQuota.idl:
- Modules/quota/StorageInfo.idl:
- Modules/quota/StorageInfoErrorCallback.idl:
- Modules/quota/StorageInfoQuotaCallback.idl:
- Modules/quota/StorageInfoUsageCallback.idl:
- Modules/speech/DOMWindowSpeech.idl:
- Modules/speech/SpeechGrammar.idl:
- Modules/speech/SpeechGrammarList.idl:
- Modules/speech/SpeechRecognition.idl:
- Modules/speech/SpeechRecognitionAlternative.idl:
- Modules/speech/SpeechRecognitionError.idl:
- Modules/speech/SpeechRecognitionEvent.idl:
- Modules/speech/SpeechRecognitionResult.idl:
- Modules/speech/SpeechRecognitionResultList.idl:
- Modules/vibration/NavigatorVibration.idl:
- Modules/webaudio/AudioBuffer.idl:
- Modules/webaudio/AudioBufferCallback.idl:
- Modules/webaudio/AudioBufferSourceNode.idl:
- Modules/webaudio/AudioChannelMerger.idl:
- Modules/webaudio/AudioChannelSplitter.idl:
- Modules/webaudio/AudioContext.idl:
- Modules/webaudio/AudioDestinationNode.idl:
- Modules/webaudio/AudioGain.idl:
- Modules/webaudio/AudioGainNode.idl:
- Modules/webaudio/AudioListener.idl:
- Modules/webaudio/AudioNode.idl:
- Modules/webaudio/AudioPannerNode.idl:
- Modules/webaudio/AudioParam.idl:
- Modules/webaudio/AudioProcessingEvent.idl:
- Modules/webaudio/AudioSourceNode.idl:
- Modules/webaudio/BiquadFilterNode.idl:
- Modules/webaudio/ConvolverNode.idl:
- Modules/webaudio/DOMWindowWebAudio.idl:
- Modules/webaudio/DelayNode.idl:
- Modules/webaudio/DynamicsCompressorNode.idl:
- Modules/webaudio/JavaScriptAudioNode.idl:
- Modules/webaudio/MediaElementAudioSourceNode.idl:
- Modules/webaudio/MediaStreamAudioSourceNode.idl:
- Modules/webaudio/OfflineAudioCompletionEvent.idl:
- Modules/webaudio/Oscillator.idl:
- Modules/webaudio/RealtimeAnalyserNode.idl:
- Modules/webaudio/WaveShaperNode.idl:
- Modules/webaudio/WaveTable.idl:
- Modules/webdatabase/DOMWindowWebDatabase.idl:
- Modules/webdatabase/Database.idl:
- Modules/webdatabase/DatabaseCallback.idl:
- Modules/webdatabase/DatabaseSync.idl:
- Modules/webdatabase/SQLError.idl:
- Modules/webdatabase/SQLException.idl:
- Modules/webdatabase/SQLResultSet.idl:
- Modules/webdatabase/SQLResultSetRowList.idl:
- Modules/webdatabase/SQLStatementCallback.idl:
- Modules/webdatabase/SQLStatementErrorCallback.idl:
- Modules/webdatabase/SQLTransaction.idl:
- Modules/webdatabase/SQLTransactionCallback.idl:
- Modules/webdatabase/SQLTransactionErrorCallback.idl:
- Modules/webdatabase/SQLTransactionSync.idl:
- Modules/webdatabase/SQLTransactionSyncCallback.idl:
- Modules/webdatabase/WorkerContextWebDatabase.idl:
- Modules/websockets/CloseEvent.idl:
- Modules/websockets/DOMWindowWebSocket.idl:
- Modules/websockets/WebSocket.idl:
- Modules/websockets/WorkerContextWebSocket.idl:
- bindings/scripts/test/TestCallback.idl:
- bindings/scripts/test/TestCustomNamedGetter.idl:
- bindings/scripts/test/TestDomainSecurity.idl:
- bindings/scripts/test/TestEventConstructor.idl:
- bindings/scripts/test/TestEventTarget.idl:
- bindings/scripts/test/TestException.idl:
- bindings/scripts/test/TestInterface.idl:
- bindings/scripts/test/TestMediaQueryListListener.idl:
- bindings/scripts/test/TestNamedConstructor.idl:
- bindings/scripts/test/TestNode.idl:
- bindings/scripts/test/TestObj.idl:
- bindings/scripts/test/TestSerializedScriptValueInterface.idl:
- bindings/scripts/test/TestSupplemental.idl:
- bindings/scripts/test/TestTypedArray.idl:
- css/CSSCharsetRule.idl:
- css/CSSFontFaceRule.idl:
- css/CSSImportRule.idl:
- css/CSSMediaRule.idl:
- css/CSSPageRule.idl:
- css/CSSPrimitiveValue.idl:
- css/CSSRule.idl:
- css/CSSRuleList.idl:
- css/CSSStyleDeclaration.idl:
- css/CSSStyleRule.idl:
- css/CSSStyleSheet.idl:
- css/CSSUnknownRule.idl:
- css/CSSValue.idl:
- css/CSSValueList.idl:
- css/Counter.idl:
- css/MediaList.idl:
- css/MediaQueryList.idl:
- css/MediaQueryListListener.idl:
- css/RGBColor.idl:
- css/Rect.idl:
- css/StyleMedia.idl:
- css/StyleSheet.idl:
- css/StyleSheetList.idl:
- css/WebKitCSSFilterValue.idl:
- css/WebKitCSSKeyframeRule.idl:
- css/WebKitCSSKeyframesRule.idl:
- css/WebKitCSSMatrix.idl:
- css/WebKitCSSRegionRule.idl:
- css/WebKitCSSTransformValue.idl:
- dom/Attr.idl:
- dom/BeforeLoadEvent.idl:
- dom/CDATASection.idl:
- dom/CharacterData.idl:
- dom/ClientRect.idl:
- dom/ClientRectList.idl:
- dom/Clipboard.idl:
- dom/Comment.idl:
- dom/CompositionEvent.idl:
- dom/CustomEvent.idl:
- dom/DOMCoreException.idl:
- dom/DOMError.idl:
- dom/DOMImplementation.idl:
- dom/DOMNamedFlowCollection.idl:
- dom/DOMStringList.idl:
- dom/DOMStringMap.idl:
- dom/DataTransferItem.idl:
- dom/DataTransferItemList.idl:
- dom/DeviceMotionEvent.idl:
- dom/DeviceOrientationEvent.idl:
- dom/Document.idl:
- dom/DocumentFragment.idl:
- dom/DocumentType.idl:
- dom/Element.idl:
- dom/Entity.idl:
- dom/EntityReference.idl:
- dom/ErrorEvent.idl:
- dom/Event.idl:
- dom/EventException.idl:
- dom/EventListener.idl:
- dom/EventTarget.idl:
- dom/HashChangeEvent.idl:
- dom/KeyboardEvent.idl:
- dom/MessageChannel.idl:
- dom/MessageEvent.idl:
- dom/MessagePort.idl:
- dom/MouseEvent.idl:
- dom/MutationCallback.idl:
- dom/MutationEvent.idl:
- dom/MutationObserver.idl:
- dom/MutationRecord.idl:
- dom/NamedNodeMap.idl:
- dom/Node.idl:
- dom/NodeFilter.idl:
- dom/NodeIterator.idl:
- dom/NodeList.idl:
- dom/Notation.idl:
- dom/OverflowEvent.idl:
- dom/PageTransitionEvent.idl:
- dom/PopStateEvent.idl:
- dom/ProcessingInstruction.idl:
- dom/ProgressEvent.idl:
- dom/PropertyNodeList.idl:
- dom/Range.idl:
- dom/RangeException.idl:
- dom/RequestAnimationFrameCallback.idl:
- dom/ShadowRoot.idl:
- dom/StringCallback.idl:
- dom/Text.idl:
- dom/TextEvent.idl:
- dom/Touch.idl:
- dom/TouchEvent.idl:
- dom/TouchList.idl:
- dom/TreeWalker.idl:
- dom/UIEvent.idl:
- dom/WebKitAnimationEvent.idl:
- dom/WebKitNamedFlow.idl:
- dom/WebKitTransitionEvent.idl:
- dom/WheelEvent.idl:
- editing/DOMTransaction.idl:
- editing/UndoManager.idl:
- fileapi/Blob.idl:
- fileapi/File.idl:
- fileapi/FileError.idl:
- fileapi/FileException.idl:
- fileapi/FileList.idl:
- fileapi/FileReader.idl:
- fileapi/FileReaderSync.idl:
- html/DOMFormData.idl:
- html/DOMSettableTokenList.idl:
- html/DOMTokenList.idl:
- html/DOMURL.idl:
- html/HTMLAllCollection.idl:
- html/HTMLAnchorElement.idl:
- html/HTMLAppletElement.idl:
- html/HTMLAreaElement.idl:
- html/HTMLAudioElement.idl:
- html/HTMLBRElement.idl:
- html/HTMLBaseElement.idl:
- html/HTMLBaseFontElement.idl:
- html/HTMLBodyElement.idl:
- html/HTMLButtonElement.idl:
- html/HTMLCanvasElement.idl:
- html/HTMLCollection.idl:
- html/HTMLDListElement.idl:
- html/HTMLDataListElement.idl:
- html/HTMLDetailsElement.idl:
- html/HTMLDialogElement.idl:
- html/HTMLDirectoryElement.idl:
- html/HTMLDivElement.idl:
- html/HTMLDocument.idl:
- html/HTMLElement.idl:
- html/HTMLEmbedElement.idl:
- html/HTMLFieldSetElement.idl:
- html/HTMLFontElement.idl:
- html/HTMLFormElement.idl:
- html/HTMLFrameElement.idl:
- html/HTMLFrameSetElement.idl:
- html/HTMLHRElement.idl:
- html/HTMLHeadElement.idl:
- html/HTMLHeadingElement.idl:
- html/HTMLHtmlElement.idl:
- html/HTMLIFrameElement.idl:
- html/HTMLImageElement.idl:
- html/HTMLInputElement.idl:
- html/HTMLIntentElement.idl:
- html/HTMLKeygenElement.idl:
- html/HTMLLIElement.idl:
- html/HTMLLabelElement.idl:
- html/HTMLLegendElement.idl:
- html/HTMLLinkElement.idl:
- html/HTMLMapElement.idl:
- html/HTMLMarqueeElement.idl:
- html/HTMLMediaElement.idl:
- html/HTMLMenuElement.idl:
- html/HTMLMetaElement.idl:
- html/HTMLMeterElement.idl:
- html/HTMLModElement.idl:
- html/HTMLOListElement.idl:
- html/HTMLObjectElement.idl:
- html/HTMLOptGroupElement.idl:
- html/HTMLOptionElement.idl:
- html/HTMLOptionsCollection.idl:
- html/HTMLOutputElement.idl:
- html/HTMLParagraphElement.idl:
- html/HTMLParamElement.idl:
- html/HTMLPreElement.idl:
- html/HTMLProgressElement.idl:
- html/HTMLPropertiesCollection.idl:
- html/HTMLQuoteElement.idl:
- html/HTMLScriptElement.idl:
- html/HTMLSelectElement.idl:
- html/HTMLSourceElement.idl:
- html/HTMLSpanElement.idl:
- html/HTMLStyleElement.idl:
- html/HTMLTableCaptionElement.idl:
- html/HTMLTableCellElement.idl:
- html/HTMLTableColElement.idl:
- html/HTMLTableElement.idl:
- html/HTMLTableRowElement.idl:
- html/HTMLTableSectionElement.idl:
- html/HTMLTextAreaElement.idl:
- html/HTMLTitleElement.idl:
- html/HTMLTrackElement.idl:
- html/HTMLUListElement.idl:
- html/HTMLUnknownElement.idl:
- html/HTMLVideoElement.idl:
- html/ImageData.idl:
- html/MediaController.idl:
- html/MediaError.idl:
- html/MediaKeyError.idl:
- html/MediaKeyEvent.idl:
- html/MicroDataItemValue.idl:
- html/RadioNodeList.idl:
- html/TextMetrics.idl:
- html/TimeRanges.idl:
- html/ValidityState.idl:
- html/VoidCallback.idl:
- html/canvas/ArrayBuffer.idl:
- html/canvas/ArrayBufferView.idl:
- html/canvas/CanvasGradient.idl:
- html/canvas/CanvasPattern.idl:
- html/canvas/CanvasRenderingContext.idl:
- html/canvas/CanvasRenderingContext2D.idl:
- html/canvas/DataView.idl:
- html/canvas/EXTTextureFilterAnisotropic.idl:
- html/canvas/Float32Array.idl:
- html/canvas/Float64Array.idl:
- html/canvas/Int16Array.idl:
- html/canvas/Int32Array.idl:
- html/canvas/Int8Array.idl:
- html/canvas/OESStandardDerivatives.idl:
- html/canvas/OESTextureFloat.idl:
- html/canvas/OESVertexArrayObject.idl:
- html/canvas/Uint16Array.idl:
- html/canvas/Uint32Array.idl:
- html/canvas/Uint8Array.idl:
- html/canvas/Uint8ClampedArray.idl:
- html/canvas/WebGLActiveInfo.idl:
- html/canvas/WebGLBuffer.idl:
- html/canvas/WebGLCompressedTextureS3TC.idl:
- html/canvas/WebGLContextAttributes.idl:
- html/canvas/WebGLContextEvent.idl:
- html/canvas/WebGLDebugRendererInfo.idl:
- html/canvas/WebGLDebugShaders.idl:
- html/canvas/WebGLDepthTexture.idl:
- html/canvas/WebGLFramebuffer.idl:
- html/canvas/WebGLLoseContext.idl:
- html/canvas/WebGLProgram.idl:
- html/canvas/WebGLRenderbuffer.idl:
- html/canvas/WebGLRenderingContext.idl:
- html/canvas/WebGLShader.idl:
- html/canvas/WebGLShaderPrecisionFormat.idl:
- html/canvas/WebGLTexture.idl:
- html/canvas/WebGLUniformLocation.idl:
- html/canvas/WebGLVertexArrayObjectOES.idl:
- html/shadow/HTMLContentElement.idl:
- html/shadow/HTMLShadowElement.idl:
- html/track/TextTrack.idl:
- html/track/TextTrackCue.idl:
- html/track/TextTrackCueList.idl:
- html/track/TextTrackList.idl:
- html/track/TrackEvent.idl:
- inspector/InjectedScriptHost.idl:
- inspector/InspectorFrontendHost.idl:
- inspector/JavaScriptCallFrame.idl:
- inspector/ScriptProfile.idl:
- inspector/ScriptProfileNode.idl:
- loader/appcache/DOMApplicationCache.idl:
- page/AbstractView.idl:
- page/BarInfo.idl:
- page/Console.idl:
- page/Coordinates.idl:
- page/Crypto.idl:
- page/DOMSecurityPolicy.idl:
- page/DOMSelection.idl:
- page/DOMWindow.idl:
- page/DOMWindowPagePopup.idl:
- page/EventSource.idl:
- page/History.idl:
- page/Location.idl:
- page/MemoryInfo.idl:
- page/Navigator.idl:
- page/PagePopupController.idl:
- page/Performance.idl:
- page/PerformanceEntry.idl:
- page/PerformanceEntryList.idl:
- page/PerformanceNavigation.idl:
- page/PerformanceResourceTiming.idl:
- page/PerformanceTiming.idl:
- page/Screen.idl:
- page/SpeechInputEvent.idl:
- page/SpeechInputResult.idl:
- page/SpeechInputResultList.idl:
- page/WebKitAnimation.idl:
- page/WebKitAnimationList.idl:
- page/WebKitPoint.idl:
- page/WorkerNavigator.idl:
- plugins/DOMMimeType.idl:
- plugins/DOMMimeTypeArray.idl:
- plugins/DOMPlugin.idl:
- plugins/DOMPluginArray.idl:
- storage/Storage.idl:
- storage/StorageEvent.idl:
- svg/ElementTimeControl.idl:
- svg/SVGAElement.idl:
- svg/SVGAltGlyphDefElement.idl:
- svg/SVGAltGlyphElement.idl:
- svg/SVGAltGlyphItemElement.idl:
- svg/SVGAngle.idl:
- svg/SVGAnimateColorElement.idl:
- svg/SVGAnimateElement.idl:
- svg/SVGAnimateMotionElement.idl:
- svg/SVGAnimateTransformElement.idl:
- svg/SVGAnimatedAngle.idl:
- svg/SVGAnimatedBoolean.idl:
- svg/SVGAnimatedEnumeration.idl:
- svg/SVGAnimatedInteger.idl:
- svg/SVGAnimatedLength.idl:
- svg/SVGAnimatedLengthList.idl:
- svg/SVGAnimatedNumber.idl:
- svg/SVGAnimatedNumberList.idl:
- svg/SVGAnimatedPreserveAspectRatio.idl:
- svg/SVGAnimatedRect.idl:
- svg/SVGAnimatedString.idl:
- svg/SVGAnimatedTransformList.idl:
- svg/SVGAnimationElement.idl:
- svg/SVGCircleElement.idl:
- svg/SVGClipPathElement.idl:
- svg/SVGColor.idl:
- svg/SVGComponentTransferFunctionElement.idl:
- svg/SVGCursorElement.idl:
- svg/SVGDefsElement.idl:
- svg/SVGDescElement.idl:
- svg/SVGDocument.idl:
- svg/SVGElement.idl:
- svg/SVGElementInstance.idl:
- svg/SVGElementInstanceList.idl:
- svg/SVGEllipseElement.idl:
- svg/SVGException.idl:
- svg/SVGExternalResourcesRequired.idl:
- svg/SVGFEBlendElement.idl:
- svg/SVGFEColorMatrixElement.idl:
- svg/SVGFEComponentTransferElement.idl:
- svg/SVGFECompositeElement.idl:
- svg/SVGFEConvolveMatrixElement.idl:
- svg/SVGFEDiffuseLightingElement.idl:
- svg/SVGFEDisplacementMapElement.idl:
- svg/SVGFEDistantLightElement.idl:
- svg/SVGFEDropShadowElement.idl:
- svg/SVGFEFloodElement.idl:
- svg/SVGFEFuncAElement.idl:
- svg/SVGFEFuncBElement.idl:
- svg/SVGFEFuncGElement.idl:
- svg/SVGFEFuncRElement.idl:
- svg/SVGFEGaussianBlurElement.idl:
- svg/SVGFEImageElement.idl:
- svg/SVGFEMergeElement.idl:
- svg/SVGFEMergeNodeElement.idl:
- svg/SVGFEMorphologyElement.idl:
- svg/SVGFEOffsetElement.idl:
- svg/SVGFEPointLightElement.idl:
- svg/SVGFESpecularLightingElement.idl:
- svg/SVGFESpotLightElement.idl:
- svg/SVGFETileElement.idl:
- svg/SVGFETurbulenceElement.idl:
- svg/SVGFilterElement.idl:
- svg/SVGFilterPrimitiveStandardAttributes.idl:
- svg/SVGFitToViewBox.idl:
- svg/SVGFontElement.idl:
- svg/SVGFontFaceElement.idl:
- svg/SVGFontFaceFormatElement.idl:
- svg/SVGFontFaceNameElement.idl:
- svg/SVGFontFaceSrcElement.idl:
- svg/SVGFontFaceUriElement.idl:
- svg/SVGForeignObjectElement.idl:
- svg/SVGGElement.idl:
- svg/SVGGlyphElement.idl:
- svg/SVGGlyphRefElement.idl:
- svg/SVGGradientElement.idl:
- svg/SVGHKernElement.idl:
- svg/SVGImageElement.idl:
- svg/SVGLangSpace.idl:
- svg/SVGLength.idl:
- svg/SVGLengthList.idl:
- svg/SVGLineElement.idl:
- svg/SVGLinearGradientElement.idl:
- svg/SVGLocatable.idl:
- svg/SVGMPathElement.idl:
- svg/SVGMarkerElement.idl:
- svg/SVGMaskElement.idl:
- svg/SVGMatrix.idl:
- svg/SVGMetadataElement.idl:
- svg/SVGMissingGlyphElement.idl:
- svg/SVGNumber.idl:
- svg/SVGNumberList.idl:
- svg/SVGPaint.idl:
- svg/SVGPathElement.idl:
- svg/SVGPathSeg.idl:
- svg/SVGPathSegArcAbs.idl:
- svg/SVGPathSegArcRel.idl:
- svg/SVGPathSegClosePath.idl:
- svg/SVGPathSegCurvetoCubicAbs.idl:
- svg/SVGPathSegCurvetoCubicRel.idl:
- svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
- svg/SVGPathSegCurvetoCubicSmoothRel.idl:
- svg/SVGPathSegCurvetoQuadraticAbs.idl:
- svg/SVGPathSegCurvetoQuadraticRel.idl:
- svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
- svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
- svg/SVGPathSegLinetoAbs.idl:
- svg/SVGPathSegLinetoHorizontalAbs.idl:
- svg/SVGPathSegLinetoHorizontalRel.idl:
- svg/SVGPathSegLinetoRel.idl:
- svg/SVGPathSegLinetoVerticalAbs.idl:
- svg/SVGPathSegLinetoVerticalRel.idl:
- svg/SVGPathSegList.idl:
- svg/SVGPathSegMovetoAbs.idl:
- svg/SVGPathSegMovetoRel.idl:
- svg/SVGPatternElement.idl:
- svg/SVGPoint.idl:
- svg/SVGPointList.idl:
- svg/SVGPolygonElement.idl:
- svg/SVGPolylineElement.idl:
- svg/SVGPreserveAspectRatio.idl:
- svg/SVGRadialGradientElement.idl:
- svg/SVGRect.idl:
- svg/SVGRectElement.idl:
- svg/SVGRenderingIntent.idl:
- svg/SVGSVGElement.idl:
- svg/SVGScriptElement.idl:
- svg/SVGSetElement.idl:
- svg/SVGStopElement.idl:
- svg/SVGStringList.idl:
- svg/SVGStylable.idl:
- svg/SVGStyleElement.idl:
- svg/SVGSwitchElement.idl:
- svg/SVGSymbolElement.idl:
- svg/SVGTRefElement.idl:
- svg/SVGTSpanElement.idl:
- svg/SVGTests.idl:
- svg/SVGTextContentElement.idl:
- svg/SVGTextElement.idl:
- svg/SVGTextPathElement.idl:
- svg/SVGTextPositioningElement.idl:
- svg/SVGTitleElement.idl:
- svg/SVGTransform.idl:
- svg/SVGTransformList.idl:
- svg/SVGTransformable.idl:
- svg/SVGURIReference.idl:
- svg/SVGUnitTypes.idl:
- svg/SVGUseElement.idl:
- svg/SVGVKernElement.idl:
- svg/SVGViewElement.idl:
- svg/SVGViewSpec.idl:
- svg/SVGZoomAndPan.idl:
- svg/SVGZoomEvent.idl:
- testing/InternalSettings.idl:
- testing/Internals.idl:
- testing/MallocStatistics.idl:
- workers/AbstractWorker.idl:
- workers/DedicatedWorkerContext.idl:
- workers/SharedWorker.idl:
- workers/SharedWorkerContext.idl:
- workers/Worker.idl:
- workers/WorkerContext.idl:
- workers/WorkerLocation.idl:
- xml/DOMParser.idl:
- xml/XMLHttpRequest.idl:
- xml/XMLHttpRequestException.idl:
- xml/XMLHttpRequestProgressEvent.idl:
- xml/XMLHttpRequestUpload.idl:
- xml/XMLSerializer.idl:
- xml/XPathEvaluator.idl:
- xml/XPathException.idl:
- xml/XPathExpression.idl:
- xml/XPathNSResolver.idl:
- xml/XPathResult.idl:
- xml/XSLTProcessor.idl:
Removed "module".
Tools:
- WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
- WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarker.idl:
- WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarkerRange.idl:
- WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
- WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
- WebKitTestRunner/InjectedBundle/Bindings/GCController.idl:
- WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
- WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl:
Removed "module".
- 10:58 PM Changeset in webkit [131144] by
-
- 5 edits in trunk/Source/WebKit2
Add a WKContext call to enable the NetworkProcess.
https://bugs.webkit.org/show_bug.cgi?id=99140
Reviewed by Sam Weinig.
Add the SPI:
- UIProcess/API/C/WKContext.cpp:
(WKContextSetUsesNetworkProcess):
- UIProcess/API/C/WKContextPrivate.h:
Add a member for the flag and the first call site that will be interested in the flag's value:
- UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::setUsesNetworkProcess):
(WebKit):
(WebKit::WebContext::createNewWebProcess):
(WebKit::WebContext::ensureNetworkProcess):
- UIProcess/WebContext.h:
(WebContext):
- 10:40 PM Changeset in webkit [131143] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Paused in Inspector, Browser doesn't exit cleanly
https://bugs.webkit.org/show_bug.cgi?id=97962
Patch by Peter Wang <peter.wang@torchmobile.com.cn> on 2012-10-11
Reviewed by George Staikos.
Before destroying webpage, close the inspector, so if the JSC is paused it will be resumed.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::destroy):
- 10:09 PM Changeset in webkit [131142] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed gardening, TestExpectation updated.
- platform/chromium/TestExpectations:
- 9:52 PM Changeset in webkit [131141] by
-
- 2 edits in trunk/Source/WebKit2
Fix the 32-bit Mac build after r131138.
- WebProcess/InjectedBundle/mac/InjectedBundleMac.mm:
(WebKit::InjectedBundle::load):
- 9:46 PM Changeset in webkit [131140] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed gardening, TestExpectations updated.
- platform/chromium/TestExpectations:
- 9:41 PM Changeset in webkit [131139] by
-
- 15 edits1 add in trunk/Source/WebKit2
Stop using Connection::deprecatedSend in WebConnection
https://bugs.webkit.org/show_bug.cgi?id=99130
Reviewed by Sam Weinig.
Instead of using deprecatedSend, just encode the data using a separate ArgumentEncoder and pass it along as a DataReference.
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
Add new files.
- Platform/CoreIPC/MessageID.h:
Add WebConnectionMessageClass.
- Shared/WebConnection.cpp:
(WebKit::WebConnection::WebConnection):
Make WebConnection hold on to the CoreIPC::Connection.
(WebKit::WebConnection::postMessage):
Ask the subclasses to encode the body data, then send it.
(WebKit::WebConnection::handleMessage):
Ask the subclasses to decode the body data, then call didReceiveClient.
(WebKit::WebConnection::invalidate):
Null out m_connection.
- Shared/WebConnection.h:
(WebKit::WebConnection::connection):
- Shared/WebConnection.messages.in: Added.
- UIProcess/WebConnectionToWebProcess.cpp:
(WebKit::WebConnectionToWebProcess::WebConnectionToWebProcess):
Pass the connection to the WebConnection initializer.
(WebKit::WebConnectionToWebProcess::encodeMessageBody):
(WebKit::WebConnectionToWebProcess::decodeMessageBody):
Encode and decode the message body.
(WebKit::WebConnectionToWebProcess::didReceiveMessage):
Handle WebConnection messages.
- WebKit2.xcodeproj/project.pbxproj:
Add new files.
- WebProcess/WebConnectionToUIProcess.cpp:
(WebKit::WebConnectionToUIProcess::WebConnectionToUIProcess):
Pass the connection to the WebConnection initializer.
(WebKit::WebConnectionToUIProcess::encodeMessageBody):
(WebKit::WebConnectionToUIProcess::decodeMessageBody):
Encode and decode the message body.
(WebKit::WebConnectionToUIProcess::didReceiveMessage):
Handle WebConnection messages.
- win/WebKit2.vcproj:
Add new files.
- 9:37 PM Changeset in webkit [131138] by
-
- 6 edits3 copies in trunk/Source/WebKit2
Expose the main frame's document to injected bundles via the Objective-C API
https://bugs.webkit.org/show_bug.cgi?id=99133
Patch by Sam Weinig.
Reviewed by Anders Carlsson.
Allow a bundle to declare a principle class which will be instantiated
by WebKit2 and passed an object to which WKBundleClient calls are
forwarded and which can access the main frame's WKDOMDocument.
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.h:
- WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm: Instantiate
the bundle's principle class forward WKBundleClient calls to it.
- WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.h:
- WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:
Add a property called mainFrameDocument which returns a WKDOMDocument.
- WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerInternal.h:
- WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInInternal.h:
- WebProcess/InjectedBundle/mac/InjectedBundleMac.mm:
(WebKit::InjectedBundle::load): Initialize the shared
WKWebProcessPlugInController with the bundle's principle class.
- 9:23 PM Changeset in webkit [131137] by
-
- 13 edits2 adds1 delete in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=98700
ScrollingCoordinator is a hot mess of if-defs
Reviewed by Anders Carlsson.
This patch moves all of the threaded scrolling code in
ScrollingCoordinator into a new class called ScrollingCoordinatorMac
which inherits from ScrollingCoordinator.
It also adds ScrollingCoordinatorChromium to do Chromium-specific work.
ScrollingCoordinator itself does work that is cross-platform.
Finally, this patch also eliminates ScrollingCoordinatorNone.
ScrollingCoordinator is now sufficient for platforms that relied on
ScrollingCoordinatorNone to build.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.exp.in:
- WebCore.xcodeproj/project.pbxproj:
- page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::create):
(WebCore):
(WebCore::ScrollingCoordinator::ScrollingCoordinator):
(WebCore::ScrollingCoordinator::~ScrollingCoordinator):
(WebCore::ScrollingCoordinator::pageDestroyed):
(WebCore::ScrollingCoordinator::computeNonFastScrollableRegion):
(WebCore::ScrollingCoordinator::computeCurrentWheelEventHandlerCount):
(WebCore::ScrollingCoordinator::scrollLayerForFrameView):
(WebCore::ScrollingCoordinator::frameViewRootLayerDidChange):
- page/scrolling/ScrollingCoordinator.h:
(WebCore):
(ScrollingCoordinator):
(WebCore::ScrollingCoordinator::scrollingTree):
(WebCore::ScrollingCoordinator::commitTreeStateIfNeeded):
(WebCore::ScrollingCoordinator::frameViewLayoutUpdated):
(WebCore::ScrollingCoordinator::supportsFixedPositionLayers):
(WebCore::ScrollingCoordinator::requestScrollPositionUpdate):
(WebCore::ScrollingCoordinator::handleWheelEvent):
(WebCore::ScrollingCoordinator::updateMainFrameScrollPositionAndScrollLayerPosition):
(WebCore::ScrollingCoordinator::attachToStateTree):
(WebCore::ScrollingCoordinator::detachFromStateTree):
(WebCore::ScrollingCoordinator::clearStateTree):
(WebCore::ScrollingCoordinator::frameViewHorizontalScrollbarLayerDidChange):
(WebCore::ScrollingCoordinator::frameViewVerticalScrollbarLayerDidChange):
(WebCore::ScrollingCoordinator::scrollableAreaScrollLayerDidChange):
(WebCore::ScrollingCoordinator::setLayerIsContainerForFixedPositionLayers):
(WebCore::ScrollingCoordinator::setLayerIsFixedToContainerLayer):
(WebCore::ScrollingCoordinator::recomputeWheelEventHandlerCountForFrameView):
(WebCore::ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread):
- page/scrolling/ScrollingCoordinatorNone.cpp: Removed.
- page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:
(WebCore::ScrollingCoordinatorChromium::ScrollingCoordinatorChromium):
(WebCore::ScrollingCoordinatorChromium::~ScrollingCoordinatorChromium):
(WebCore::ScrollingCoordinatorChromium::frameViewLayoutUpdated):
(WebCore):
(WebCore::ScrollingCoordinatorChromium::frameViewRootLayerDidChange):
(WebCore::ScrollingCoordinatorChromium::frameViewHorizontalScrollbarLayerDidChange):
(WebCore::ScrollingCoordinatorChromium::frameViewVerticalScrollbarLayerDidChange):
(WebCore::ScrollingCoordinatorChromium::setScrollLayer):
(WebCore::ScrollingCoordinatorChromium::setNonFastScrollableRegion):
(WebCore::ScrollingCoordinatorChromium::setWheelEventHandlerCount):
(WebCore::ScrollingCoordinatorChromium::setShouldUpdateScrollLayerPositionOnMainThread):
(WebCore::ScrollingCoordinatorChromium::setLayerIsContainerForFixedPositionLayers):
(WebCore::ScrollingCoordinatorChromium::setLayerIsFixedToContainerLayer):
(WebCore::ScrollingCoordinatorChromium::scrollableAreaScrollLayerDidChange):
(WebCore::ScrollingCoordinatorChromium::recomputeWheelEventHandlerCountForFrameView):
- page/scrolling/chromium/ScrollingCoordinatorChromium.h: Added.
(WebCore):
(ScrollingCoordinatorChromium):
(WebCore::ScrollingCoordinatorChromium::supportsFixedPositionLayers):
- page/scrolling/mac/ScrollingCoordinatorMac.h: Added.
(WebCore):
(ScrollingCoordinatorMac):
(ScrollParameters):
- page/scrolling/mac/ScrollingCoordinatorMac.mm:
(WebCore::ScrollingCoordinatorMac::ScrollingCoordinatorMac):
(WebCore::ScrollingCoordinatorMac::~ScrollingCoordinatorMac):
(WebCore::ScrollingCoordinatorMac::pageDestroyed):
(WebCore):
(WebCore::ScrollingCoordinatorMac::scrollingTree):
(WebCore::ScrollingCoordinatorMac::commitTreeStateIfNeeded):
(WebCore::ScrollingCoordinatorMac::frameViewLayoutUpdated):
(WebCore::ScrollingCoordinatorMac::recomputeWheelEventHandlerCountForFrameView):
(WebCore::ScrollingCoordinatorMac::frameViewRootLayerDidChange):
(WebCore::ScrollingCoordinatorMac::frameViewHorizontalScrollbarLayerDidChange):
(WebCore::ScrollingCoordinatorMac::frameViewVerticalScrollbarLayerDidChange):
(WebCore::ScrollingCoordinatorMac::requestScrollPositionUpdate):
(WebCore::ScrollingCoordinatorMac::handleWheelEvent):
(WebCore::ScrollingCoordinatorMac::updateMainFrameScrollPositionAndScrollLayerPosition):
(WebCore::ScrollingCoordinatorMac::attachToStateTree):
(WebCore::ScrollingCoordinatorMac::detachFromStateTree):
(WebCore::ScrollingCoordinatorMac::clearStateTree):
(WebCore::ScrollingCoordinatorMac::stateNodeForID):
(WebCore::ScrollingCoordinatorMac::ensureRootStateNodeForFrameView):
(WebCore::ScrollingCoordinatorMac::setScrollLayerForNode):
(WebCore::ScrollingCoordinatorMac::setNonFastScrollableRegionForNode):
(WebCore::ScrollingCoordinatorMac::setScrollParametersForNode):
(WebCore::ScrollingCoordinatorMac::setWheelEventHandlerCountForNode):
(WebCore::ScrollingCoordinatorMac::setShouldUpdateScrollLayerPositionOnMainThread):
(WebCore::ScrollingCoordinatorMac::updateMainFrameScrollLayerPosition):
(WebCore::ScrollingCoordinatorMac::scheduleTreeStateCommit):
(WebCore::ScrollingCoordinatorMac::scrollingStateTreeCommitterTimerFired):
(WebCore::ScrollingCoordinatorMac::commitTreeState):
- 8:51 PM Changeset in webkit [131136] by
-
- 7 edits2 adds in trunk
[Shadow DOM] Insertion points need resetStyleInheritance
https://bugs.webkit.org/show_bug.cgi?id=93922
Patch by Takashi Sakamoto <tasak@google.com> on 2012-10-11
Reviewed by Dimitri Glazkov.
Source/WebCore:
Implemented resetStyleInheritance of insertion points.
Its spec link is http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#api-html-content-element-reset-style-inheritance
Test: fast/dom/shadow/insertion-point-resetStyleInheritance.html
- css/StyleResolver.cpp:
(WebCore::isResetStyleInheritance):
Added a new function to check whether there exists any insertion
point which has reset-style-inhertiance flag set to be true.
(WebCore::StyleResolver::initForStyleResolve):
Modified to use the above function to check reset-style-inheritance.
- html/shadow/HTMLContentElement.idl:
- html/shadow/HTMLShadowElement.idl:
Added a new attribute for reset-style-inheritance.
- html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::InsertionPoint):
Initialized a new member variable for reset-style-inheritance.
(WebCore::InsertionPoint::resetStyleInheritance):
(WebCore::InsertionPoint::setResetStyleInheritance):
Implemented setter/getter for reset-style-inheritance.
- html/shadow/InsertionPoint.h:
(InsertionPoint):
Added a new member variable for reset-style-inheritance.
LayoutTests:
- fast/dom/shadow/insertion-point-resetStyleInheritance-expected.txt: Added.
- fast/dom/shadow/insertion-point-resetStyleInheritance.html: Added.
- 8:49 PM Changeset in webkit [131135] by
-
- 2 edits in trunk/Source/WebCore
Attempt to fix build broken by r131125.
- page/PageSerializer.cpp:
(WebCore::PageSerializer::addImageToResources):
KURL::utf8String() is apparently a USE(GOOGLEURL) feature. Call url.string().utf8() instead.
- 8:36 PM Changeset in webkit [131134] by
-
- 6 edits in trunk
[Chromium] Use harfbuzz-ng by default on Linux
https://bugs.webkit.org/show_bug.cgi?id=97281
Reviewed by Tony Chang.
Source/WebCore:
Switch old harfbuzz to harfbuzz-ng on chromium linux port.
No new tests. Existing tests should cover this switch.
Test expectations will be updated.
- WebCore.gyp/WebCore.gyp:
Source/WebKit/chromium:
- features.gypi: Enable WTF_USE_HARFBUZZ_NG when use_x11 == 1.
LayoutTests:
- platform/chromium/TestExpectations: Added temporary expectations.
- 8:30 PM Changeset in webkit [131133] by
-
- 4 edits in trunk/LayoutTests
[Chromium] Unreviewed gardening, rebaselined.
- platform/chromium-linux/platform/chromium/compositing/tiny-layer-rotated-expected.png:
- platform/chromium-mac/platform/chromium/compositing/tiny-layer-rotated-expected.png:
- platform/chromium-win/platform/chromium/compositing/tiny-layer-rotated-expected.png:
- 8:10 PM Changeset in webkit [131132] by
-
- 11 edits in trunk/Source/JavaScriptCore
BlockAllocator should use regions as its VM allocation abstraction
https://bugs.webkit.org/show_bug.cgi?id=99107
Reviewed by Geoffrey Garen.
Currently the BlockAllocator allocates a single block at a time directly from the OS. Our block
allocations are on the large-ish side (64 KB) to amortize across many allocations the expense of
mapping new virtual memory from the OS. These large blocks are then shared between the MarkedSpace
and the CopiedSpace. This design makes it difficult to vary the size of the blocks in different
parts of the Heap while still allowing us to amortize the VM allocation costs.
We should redesign the BlockAllocator so that it has a layer of indirection between blocks that are
used by the allocator/collector and our primary unit of VM allocation from the OS. In particular,
the BlockAllocator should allocate Regions of virtual memory from the OS, which are then subdivided
into one or more Blocks to be used in our custom allocators. This design has the following nice properties:
1) We can remove the knowledge of PageAllocationAligned from HeapBlocks. Each HeapBlock will now
only know what Region it belongs to. The Region maintains all the metadata for how to allocate
and deallocate virtual memory from the OS.
2) We can easily allocate in larger chunks than we need to satisfy a particular request for a Block.
We can then continue to amortize our VM allocation costs while allowing for smaller block sizes,
which should increase locality in the mutator when allocating, lazy sweeping, etc.
3) By encapsulating the logic of where our memory comes from inside of the Region class, we can more
easily transition over to allocating VM from a specific range of pre-reserved address space. This
will be a necessary step along the way to 32-bit pointers.
This particular patch will not change the size of MarkedBlocks or CopiedBlocks, nor will it change how
much VM we allocate per failed Block request. It only sets up the data structures that we need to make
these changes in future patches.
Most of the changes in this patch relate to the addition of the Region class to be used by the
BlockAllocator and the threading of changes made to BlockAllocator's interface through to the call sites.
- heap/BlockAllocator.cpp: The BlockAllocator now has three lists that track the three disjoint sets of
Regions that it cares about: empty regions, partially full regions, and completely full regions.
Empty regions have no blocks currently in use and can be freed immediately if the freeing thread
determines they should be. Partial regions have some blocks used, but aren't completely in use yet.
These regions are preferred for recycling before empty regions to mitigate fragmentation within regions.
Completely full regions are no longer able to be used for allocations. Regions move between these
three lists as they are created and their constituent blocks are allocated and deallocated.
(JSC::BlockAllocator::BlockAllocator):
(JSC::BlockAllocator::~BlockAllocator):
(JSC::BlockAllocator::releaseFreeRegions):
(JSC::BlockAllocator::waitForRelativeTimeWhileHoldingLock):
(JSC::BlockAllocator::waitForRelativeTime):
(JSC::BlockAllocator::blockFreeingThreadMain):
- heap/BlockAllocator.h:
(JSC):
(DeadBlock):
(JSC::DeadBlock::DeadBlock):
(Region):
(JSC::Region::blockSize):
(JSC::Region::isFull):
(JSC::Region::isEmpty):
(JSC::Region::create): This function is responsible for doing the actual VM allocation. This should be the
only function in the entire JSC object runtime that calls out the OS for virtual memory allocation.
(JSC::Region::Region):
(JSC::Region::~Region):
(JSC::Region::allocate):
(JSC::Region::deallocate):
(BlockAllocator):
(JSC::BlockAllocator::tryAllocateFromRegion): Helper function that encapsulates checking a particular list
of regions for a free block.
(JSC::BlockAllocator::allocate):
(JSC::BlockAllocator::allocateCustomSize): This function is responsible for allocating one-off custom size
regions for use in oversize allocations in both the MarkedSpace and the CopiedSpace. These regions are not
tracked by the BlockAllocator. The only pointer to them is in the HeapBlock that is returned. These regions
contain exactly one block.
(JSC::BlockAllocator::deallocate):
(JSC::BlockAllocator::deallocateCustomSize): This function is responsible for deallocating one-off custom size
regions. The regions are deallocated back to the OS eagerly.
- heap/CopiedBlock.h: Re-worked CopiedBlocks to use Regions instead of PageAllocationAligned.
(CopiedBlock):
(JSC::CopiedBlock::createNoZeroFill):
(JSC::CopiedBlock::create):
(JSC::CopiedBlock::CopiedBlock):
(JSC::CopiedBlock::payloadEnd):
(JSC::CopiedBlock::capacity):
- heap/CopiedSpace.cpp:
(JSC::CopiedSpace::~CopiedSpace):
(JSC::CopiedSpace::tryAllocateOversize):
(JSC::CopiedSpace::tryReallocateOversize):
(JSC::CopiedSpace::doneCopying):
- heap/CopiedSpaceInlineMethods.h:
(JSC::CopiedSpace::allocateBlockForCopyingPhase):
(JSC::CopiedSpace::allocateBlock):
- heap/HeapBlock.h:
(JSC::HeapBlock::destroy):
(JSC::HeapBlock::HeapBlock):
(JSC::HeapBlock::region):
(HeapBlock):
- heap/MarkedAllocator.cpp:
(JSC::MarkedAllocator::allocateBlock):
- heap/MarkedBlock.cpp:
(JSC::MarkedBlock::create):
(JSC::MarkedBlock::MarkedBlock):
- heap/MarkedBlock.h:
(JSC::MarkedBlock::capacity):
- heap/MarkedSpace.cpp:
(JSC::MarkedSpace::freeBlock):
- 7:45 PM Changeset in webkit [131131] by
-
- 18 edits in trunk/Source
Expose high-resolution on requestAnimationFrame callback
https://bugs.webkit.org/show_bug.cgi?id=66683
This changes requestAnimationFrame's animationStartTime argument
to be a high resolution DOM timestamp, per disucssion here:
http://lists.w3.org/Archives/Public/public-web-perf/2012Apr/0004.html
Reviewed by James Robinson.
Source/WebCore:
Covered by existing requestAnimationFrame tests.
- dom/Document.cpp:
(WebCore::Document::serviceScriptedAnimations):
- dom/Document.h:
(Document):
- dom/ScriptedAnimationController.cpp:
(WebCore::ScriptedAnimationController::ScriptedAnimationController):
(WebCore::ScriptedAnimationController::serviceScriptedAnimations):
(WebCore):
(WebCore::ScriptedAnimationController::windowScreenDidChange):
(WebCore::ScriptedAnimationController::scheduleAnimation):
(WebCore::ScriptedAnimationController::animationTimerFired):
(WebCore::ScriptedAnimationController::displayRefreshFired):
- dom/ScriptedAnimationController.h:
(ScriptedAnimationController):
- page/FrameView.cpp:
(WebCore::FrameView::serviceScriptedAnimations):
- page/FrameView.h:
(FrameView):
- platform/graphics/DisplayRefreshMonitor.cpp:
(WebCore::DisplayRefreshMonitor::DisplayRefreshMonitor):
(WebCore::DisplayRefreshMonitor::notifyClients):
- platform/graphics/DisplayRefreshMonitor.h:
(DisplayRefreshMonitor):
- platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp:
(WebCore::DisplayRefreshMonitor::displayLinkFired):
- platform/graphics/mac/DisplayRefreshMonitorMac.cpp:
(WebCore):
(WebCore::DisplayRefreshMonitor::requestRefreshCallback):
(WebCore::DisplayRefreshMonitor::displayLinkFired):
Source/WebKit/chromium:
- src/PageWidgetDelegate.cpp:
(WebKit::PageWidgetDelegate::animate):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::updateAnimations):
- 7:40 PM Changeset in webkit [131130] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed gardening, rebaselined.
- platform/chromium-mac-snowleopard/svg/custom/foreign-object-skew-expected.png:
- 7:38 PM Changeset in webkit [131129] by
-
- 2 edits in trunk/Source/WebKit2
Add a helper function for initializing WebKit2 DOM objects
https://bugs.webkit.org/show_bug.cgi?id=99128
Reviewed by Anders Carlsson.
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
(WebKit::WKDOMNodeClass):
(WebKit::initWithImpl):
(WebKit::toWKDOMNode):
(WebKit::toWKDOMRange):
(WebKit::toWKDOMType):
Add toWKDOMType which implements the core object initialization and caching.
- 7:29 PM Changeset in webkit [131128] by
-
- 3 edits3 deletes in trunk
Unreviewed, rolling out r131100.
http://trac.webkit.org/changeset/131100
https://bugs.webkit.org/show_bug.cgi?id=99127
Caused an ASSERT (Requested by abarth|gardening on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-11
Source/WebCore:
- platform/graphics/filters/CustomFilterValidatedProgram.cpp:
(WebCore::CustomFilterValidatedProgram::compositeFunctionString):
LayoutTests:
- css3/filters/custom/custom-filter-composite-operators-expected.png: Removed.
- css3/filters/custom/custom-filter-composite-operators-expected.txt: Removed.
- css3/filters/custom/custom-filter-composite-operators.html: Removed.
- 7:22 PM Changeset in webkit [131127] by
-
- 1 edit5 adds1 delete in trunk/LayoutTests
Add baselines for the rest of the platforms after
http://trac.webkit.org/changeset/131111
- platform/chromium-linux/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.txt: Removed.
- platform/chromium-mac-snowleopard/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.png: Added.
- platform/chromium-mac/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.png: Added.
- platform/chromium-mac/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.txt: Added.
- platform/chromium-win/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.png: Added.
- platform/chromium-win/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.txt: Added.
- 7:16 PM Changeset in webkit [131126] by
-
- 4 edits in trunk/Source/WebCore
[Chromium] Improve vertical text rendering of HarfBuzzShaper (Re-land)
https://bugs.webkit.org/show_bug.cgi?id=98979
Reviewed by Tony Chang.
- Specify 'vert' and 'vrt2' features when we render vertical text.
- Set appropriate script so that harfbuzz-ng can use the features.
No new tests. fast/text/international/text-spliced-font.html should cover this change.
This change will affect after switching to harfbuzz-ng.
- platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
(WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
(WebCore::findScriptForVerticalGlyphSubstitution): Added.
(WebCore):
(WebCore::HarfBuzzNGFace::setScriptForVerticalGlyphSubstitution): Added.
- platform/graphics/harfbuzz/ng/HarfBuzzNGFace.h:
(HarfBuzzNGFace): Added m_scriptForVerticalText.
- platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::setFontFeatures):
Set 'vert' and 'vrt2' features when orientation() == Vertical.
(WebCore::HarfBuzzShaper::shapeHarfBuzzRuns):
Call setScriptForVerticalGlyphSubstitution() when orientation() == Vertical.
- 7:14 PM Changeset in webkit [131125] by
-
- 4 edits2 adds in trunk/Source
Source/WebCore: Fix for a crasher when generating MHTML for a page containing SVG images.
https://bugs.webkit.org/show_bug.cgi?id=99105
Reviewed by Adam Barth.
- page/PageSerializer.cpp:
(WebCore::PageSerializer::serializeCSSStyleSheet):
(WebCore::PageSerializer::addImageToResources):
Source/WebKit/chromium: Test for a fix for a crasher when generating MHTML for a page containing SVG images.
https://bugs.webkit.org/show_bug.cgi?id=99105
Reviewed by Adam Barth.
- page/PageSerializer.cpp:
(WebCore::PageSerializer::serializeCSSStyleSheet):
(WebCore::PageSerializer::addImageToResources):
- 7:12 PM Changeset in webkit [131124] by
-
- 14 edits4 deletes in trunk
Unreviewed, rolling out r131107.
http://trac.webkit.org/changeset/131107
https://bugs.webkit.org/show_bug.cgi?id=99126
Causes an ASSERT (Requested by abarth|gardening on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-11
Source/WebCore:
- accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::labelForElement):
- dom/DocumentOrderedMap.cpp:
- dom/DocumentOrderedMap.h:
(DocumentOrderedMap):
- dom/Element.cpp:
(WebCore::Element::insertedInto):
(WebCore::Element::removedFrom):
(WebCore):
(WebCore::Element::willModifyAttribute):
- dom/Element.h:
(Element):
- dom/TreeScope.cpp:
(WebCore::TreeScope::TreeScope):
- dom/TreeScope.h:
(WebCore):
(TreeScope):
Tools:
- DumpRenderTree/chromium/TestRunner/AccessibilityControllerChromium.cpp:
(AccessibilityController::getAccessibleElementById):
- DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp:
(AccessibilityUIElement::titleUIElementCallback):
LayoutTests:
- accessibility/secure-textfield-title-ui.html:
- accessibility/title-ui-element-correctness-expected.txt: Removed.
- accessibility/title-ui-element-correctness.html: Removed.
- perf/accessibility-title-ui-element-expected.txt: Removed.
- perf/accessibility-title-ui-element.html: Removed.
- platform/chromium/TestExpectations:
- 7:09 PM Changeset in webkit [131123] by
-
- 8 edits in trunk
[EFL][WK2] Add support for Inspector
https://bugs.webkit.org/show_bug.cgi?id=98639
Patch by Seokju Kwon <seokju.kwon@samsung.com> on 2012-10-11
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
Support inspector on WebKit2/Efl and add APIs to show and close the inspector.
- UIProcess/API/efl/ewk_view.cpp:
(ewk_view_inspector_show):
(ewk_view_inspector_close):
- UIProcess/API/efl/ewk_view.h:
- UIProcess/API/efl/tests/test_ewk2_view.cpp:
(TEST_F):
- UIProcess/WebInspectorProxy.h:
(WebInspectorProxy):
- UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::resizeInspectorWindow):
(WebKit):
(WebKit::destroyInspectorWindow):
(WebKit::closeInspectorWindow):
(WebKit::WebInspectorProxy::createInspectorWindow):
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
(WebKit::WebInspectorProxy::platformOpen):
Tools:
Enable developer extensions when browser is created.
And Inspector can be opened by pressing Ctrl+i on browser.
- MiniBrowser/efl/main.c:
(on_key_down):
(window_create):
- 7:06 PM Changeset in webkit [131122] by
-
- 3 edits in trunk
[CMAKE] Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature
https://bugs.webkit.org/show_bug.cgi?id=99030
Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-10-11
Reviewed by Laszlo Gombos.
Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature which throttles DOM timers
on hidden pages to WebKitFeatures.cmake and cmakeconfig.h.cmake.
- Source/cmake/WebKitFeatures.cmake:
- Source/cmakeconfig.h.cmake:
- 6:55 PM Changeset in webkit [131121] by
-
- 5 edits in trunk/Source/WebKit2
Stop using deprecatedSend and deprecatedSendSync for sending messages to the UI process
https://bugs.webkit.org/show_bug.cgi?id=99125
Reviewed by Andreas Kling.
Instead of using deprecatedSend, just encode the data using a separate ArgumentEncoder and pass it along as a DataReference.
- UIProcess/WebContext.h:
- UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::postMessage):
(WebKit):
(WebKit::WebProcessProxy::postSynchronousMessage):
- UIProcess/WebProcessProxy.h:
(WebProcessProxy):
- UIProcess/WebProcessProxy.messages.in:
- WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::postMessage):
(WebKit::InjectedBundle::postSynchronousMessage):
- 6:29 PM Changeset in webkit [131120] by
-
- 3 edits in trunk/Source/WebCore
LocalCurrentGraphicsContext will never restore the current context to null
https://bugs.webkit.org/show_bug.cgi?id=99122
Reviewed by Simon Fraser.
LocalCurrentGraphicsContext is meant to cause temporary changes to
NSGraphicsContext's currentContext. However, if it is entered when
currentContext is null, it will not restore to null, as a null
m_savedNSGraphicsContext was being used to indicate that the current and
passed-in graphics contexts were equal (and thus no save/restore was required).
Add a separate flag for whether or not we need to restore the context.
Also flip the order of calls to restore graphics context state so that
exiting LocalCurrentGraphicsContext does things in exactly the opposite
of entry.
- platform/mac/LocalCurrentGraphicsContext.h:
(LocalCurrentGraphicsContext):
- platform/mac/LocalCurrentGraphicsContext.mm:
(WebCore::LocalCurrentGraphicsContext::LocalCurrentGraphicsContext):
(WebCore::LocalCurrentGraphicsContext::~LocalCurrentGraphicsContext):
- 6:19 PM Changeset in webkit [131119] by
-
- 9 edits in trunk
[EFL] Remove "web" word in web inspector
https://bugs.webkit.org/show_bug.cgi?id=98724
Reviewed by Laszlo Gombos.
*web* word is redundant in web inspector. Beside r130494 and r130479 removed *web* from EFL WK2.
Source/WebKit/efl:
- WebCoreSupport/InspectorClientEfl.cpp:
(WebCore::notifyInspectorDestroy):
(WebCore::InspectorClientEfl::openInspectorFrontend):
(WebCore::InspectorFrontendClientEfl::InspectorFrontendClientEfl):
(WebCore::InspectorFrontendClientEfl::~InspectorFrontendClientEfl):
- ewk/ewk_view.cpp:
(ewk_view_inspector_show):
(ewk_view_inspector_close):
(ewk_view_inspector_view_get):
(ewk_view_inspector_view_set):
- ewk/ewk_view.h:
Tools:
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::createInspectorView):
(DumpRenderTreeChrome::removeInspectorView):
(DumpRenderTreeChrome::waitInspectorLoadFinished):
(DumpRenderTreeChrome::onInspectorViewCreate):
(DumpRenderTreeChrome::onInspectorViewClose):
(DumpRenderTreeChrome::onInspectorFrameLoadFinished):
- DumpRenderTree/efl/DumpRenderTreeChrome.h:
(DumpRenderTreeChrome):
- DumpRenderTree/efl/TestRunnerEfl.cpp:
(TestRunner::showWebInspector):
(TestRunner::closeWebInspector):
- EWebLauncher/main.c:
(on_inspector_ecore_evas_resize):
(on_key_down):
(on_inspector_view_create):
(on_inspector_view_close):
(on_inspector_view_destroyed):
(browserCreate):
(webInspectorCreate):
(closeWindow):
(main_signal_exit):
- 6:17 PM Changeset in webkit [131118] by
-
- 4 edits in trunk/Source/WebCore
Unreviewed, rolling out r131109.
http://trac.webkit.org/changeset/131109
https://bugs.webkit.org/show_bug.cgi?id=99124
Does not compile on chromium-mac (Requested by
abarth|gardening on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-11
- platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
(WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
- platform/graphics/harfbuzz/ng/HarfBuzzNGFace.h:
(HarfBuzzNGFace):
- platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::setFontFeatures):
(WebCore::HarfBuzzShaper::shapeHarfBuzzRuns):
- 5:56 PM Changeset in webkit [131117] by
-
- 10 edits1 delete in trunk/Source/WebKit2
Stop using deprecatedSend for WebContext::postMessageToInjectedBundle
https://bugs.webkit.org/show_bug.cgi?id=99123
Reviewed by Andreas Kling.
Instead of using deprecatedSend, just encode the data using a separate ArgumentEncoder and pass it along as a DataReference.
- Platform/CoreIPC/MessageID.h:
Remove MessageClassInjectedBundle.
- Shared/CoreIPCSupport/InjectedBundleMessageKinds.h: Removed.
- UIProcess/WebContext.cpp:
(WebKit::WebContext::createNewWebProcess):
Stop using deprecatedSend.
(WebKit::WebContext::postMessageToInjectedBundle):
Stop using deprecatedSend. Remove now invalid FIXMEs.
- UIProcess/WebPageProxy.cpp:
Remove include.
- WebKit2.xcodeproj/project.pbxproj:
Remove InjectedBundleMessageKinds.h.
- WebProcess/InjectedBundle/InjectedBundle.cpp:
- WebProcess/InjectedBundle/InjectedBundle.h:
The injected bundle is no longer in charge of receiving IPC messages.
- WebProcess/WebProcess.cpp:
(WebKit::WebProcess::didReceiveMessage):
Stop passing messages to the injected bundle.
(WebKit::WebProcess::postInjectedBundleMessage):
Decode the message and pass it to the injected bundle.
- WebProcess/WebProcess.messages.in:
Add PostInjectedBundleMessage.
- 5:53 PM Changeset in webkit [131116] by
-
- 2 edits in trunk/LayoutTests
[Mac] Temporarily mark fast/canvas/webgl/arraybuffer-transfer-of-control.html as failing
https://bugs.webkit.org/show_bug.cgi?id=99096
- platform/mac/TestExpectations:
- 5:53 PM Changeset in webkit [131115] by
-
- 4 edits in trunk/Source
Versioning.
- 5:50 PM Changeset in webkit [131114] by
-
- 1 copy in tags/Safari-537.14
New Tag.
- 5:34 PM Changeset in webkit [131113] by
-
- 7 edits in trunk/Source/WebKit2
Stop using deprecatedSend for WebPageProxy::postMessageToInjectedBundle
https://bugs.webkit.org/show_bug.cgi?id=99120
Reviewed by Andreas Kling.
Instead of using deprecatedSend, just encode the data using a separate ArgumentEncoder and pass it along as a DataReference.
- Shared/CoreIPCSupport/InjectedBundleMessageKinds.h:
Remove PostMessageToPage.
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::postMessageToInjectedBundle):
Stop using deprecatedSend.
- WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::didReceiveMessage):
Remove code to handle PostMessageToPage.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::postInjectedBundleMessage):
Decode the APIObject and send it along to the injected bundle.
- WebProcess/WebPage/WebPage.messages.in:
Add PostInjectedBundleMessage message.
- 4:48 PM Changeset in webkit [131112] by
-
- 3 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=99111
ScrollingStateNode should keep its Vector of children in an OwnPtr
Reviewed by Ada Chan.
Vector<OwnPtr<ScrollingStateNode> >* m_children; is now:
OwnPtr<Vector<OwnPtr<ScrollingStateNode> > > m_children;
- page/scrolling/ScrollingStateNode.cpp:
(WebCore::ScrollingStateNode::ScrollingStateNode):
(WebCore::ScrollingStateNode::~ScrollingStateNode):
(WebCore::ScrollingStateNode::appendChild):
- page/scrolling/ScrollingStateNode.h:
(ScrollingStateNode):
- 4:47 PM Changeset in webkit [131111] by
-
- 68 edits3 adds in trunk
[Sub pixel layout] Fast-path iframe scrolling can picks up an extra pixel
https://bugs.webkit.org/show_bug.cgi?id=98571
Reviewed by Emil A Eklund.
Source/WebCore:
Refactoring all coordinate-switching functionality to use a single "mode" flag
as opposed to having a bunch of boolean values. This enables the same set of
options across the board, and a consistent interface. This was previously
done for mapLocalToContainer.
The imptetus for this for this stems from the one logical change in this patch
which only effects sub-pixel layout. FrameView::convertToRenderer and
convertFromRenderer return IntPoint coordinates, and need to also snap transform
offsets to determine proper rects for scrolling.
Unlabeled functions below are simply being updated to these new interfaces.
Test: fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html
- WebCore.exp.in:
- dom/ContainerNode.cpp:
(WebCore::ContainerNode::getUpperLeftCorner):
(WebCore::ContainerNode::getLowerRightCorner):
- dom/Element.cpp:
(WebCore::Element::boundsInRootViewSpace):
- dom/MouseRelatedEvent.cpp:
(WebCore::MouseRelatedEvent::computeRelativePosition):
- dom/Node.cpp:
(WebCore::Node::convertToPage):
(WebCore::Node::convertFromPage):
- html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::listBoxDefaultEventHandler):
- html/shadow/SliderThumbElement.cpp:
(WebCore::SliderThumbElement::setPositionFromPoint):
- html/shadow/SpinButtonElement.cpp:
(WebCore::SpinButtonElement::defaultEventHandler):
- page/FrameView.cpp:
(WebCore::FrameView::convertToRenderer): Now pixel-snaps offsets before passing
them to TransformState, which transforms the coordinates.
(WebCore::FrameView::convertFromRenderer): Ditto.
- rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState):
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::absoluteQuads):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::absoluteQuads):
(WebCore::RenderBox::mapLocalToContainer):
(WebCore::RenderBox::mapAbsoluteToLocalPoint):
- rendering/RenderBox.h:
(RenderBox):
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
- rendering/RenderBoxModelObject.h:
(RenderBoxModelObject):
- rendering/RenderEmbeddedObject.cpp:
(WebCore::RenderEmbeddedObject::isInUnavailablePluginIndicator):
- rendering/RenderFrameSet.cpp:
(WebCore::RenderFrameSet::userResize):
- rendering/RenderGeometryMap.cpp:
(WebCore::RenderGeometryMap::absolutePoint):
- rendering/RenderInline.cpp:
(WebCore::RenderInline::mapLocalToContainer):
- rendering/RenderInline.h:
(RenderInline):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::absoluteToContents):
(WebCore::RenderLayer::calculateClipRects):
- rendering/RenderMediaControls.cpp:
(WebCore::RenderMediaControls::volumeSliderOffsetFromMuteButton):
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::showPopup):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::localToAbsolute):
(WebCore::RenderObject::absoluteToLocal):
(WebCore::RenderObject::mapLocalToContainer):
(WebCore::RenderObject::mapAbsoluteToLocalPoint):
(WebCore::RenderObject::localToContainerQuad):
(WebCore::RenderObject::localToContainerPoint):
- rendering/RenderObject.h:
(RenderObject): MapLocalToContainerFlags is now MapCoordinatesFlags since it's
now used for other conversion methods.
(WebCore::RenderObject::localToAbsoluteQuad):
- rendering/RenderTheme.cpp:
(WebCore::RenderTheme::volumeSliderOffsetFromMuteButton):
- rendering/RenderView.cpp:
(WebCore::RenderView::mapLocalToContainer):
(WebCore::RenderView::mapAbsoluteToLocalPoint):
- rendering/RenderView.h:
(RenderView):
- rendering/svg/RenderSVGForeignObject.cpp:
(WebCore::RenderSVGForeignObject::mapLocalToContainer):
- rendering/svg/RenderSVGForeignObject.h:
(RenderSVGForeignObject):
- rendering/svg/RenderSVGInline.cpp:
(WebCore::RenderSVGInline::mapLocalToContainer):
- rendering/svg/RenderSVGInline.h:
(RenderSVGInline):
- rendering/svg/RenderSVGModelObject.cpp:
(WebCore::RenderSVGModelObject::mapLocalToContainer):
- rendering/svg/RenderSVGModelObject.h:
(RenderSVGModelObject):
- rendering/svg/RenderSVGRoot.cpp:
(WebCore::RenderSVGRoot::mapLocalToContainer):
- rendering/svg/RenderSVGRoot.h:
(RenderSVGRoot):
- rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::mapLocalToContainer):
- rendering/svg/RenderSVGText.h:
(RenderSVGText):
- rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::mapLocalToContainer):
- svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::localCoordinateSpaceTransform):
LayoutTests:
Tests scrolling of sub-pixel layers on sub-pixel platforms (Chromium).
- fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html: Added.
- platform/chromium-linux/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.png: Added.
- platform/chromium-linux/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.txt: Added.
- platform/chromium-linux/fast/repaint/repaint-across-writing-mode-boundary-expected.png:
The repaint rect shrinks safely by one pixel.
- platform/chromium/TestExpectations:
- platform/mac-lion/TestExpectations:
- platform/mac-snowleopard/TestExpectations:
- platform/mac-wk2/TestExpectations:
- platform/mac/TestExpectations:
- platform/qt-4.8/TestExpectations:
- platform/qt/TestExpectations:
- platform/win-wk2/TestExpectations:
- platform/win-xp/TestExpectations:
- platform/win/TestExpectations:
- platform/wincairo/TestExpectations:
- platform/wk2/TestExpectations:
- 4:44 PM Changeset in webkit [131110] by
-
- 2 edits in trunk/Source/WebCore
Incorrect/Illegal static cast in FrameView.cpp
https://bugs.webkit.org/show_bug.cgi?id=98943
Reviewed by Eric Seidel.
HTMLFrameElementBase is the common base class for <frame> and <iframe>.
- page/FrameView.cpp:
(WebCore::FrameView::init):
- 4:23 PM Changeset in webkit [131109] by
-
- 4 edits in trunk/Source/WebCore
[Chromium] Improve vertical text rendering of HarfBuzzShaper
https://bugs.webkit.org/show_bug.cgi?id=98979
Reviewed by Tony Chang.
- Specify 'vert' and 'vrt2' features when we render vertical text.
- Set appropriate script so that harfbuzz-ng can use the features.
No new tests. fast/text/international/text-spliced-font.html should cover this change.
This change will affect after switching to harfbuzz-ng.
- platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
(WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
(WebCore::findScriptForVerticalGlyphSubstitution): Added.
(WebCore):
(WebCore::HarfBuzzNGFace::setScriptForVerticalGlyphSubstitution): Added.
- platform/graphics/harfbuzz/ng/HarfBuzzNGFace.h:
(HarfBuzzNGFace): Added m_scriptForVerticalText.
- platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::setFontFeatures):
Set 'vert' and 'vrt2' features when orientation() == Vertical.
(WebCore::HarfBuzzShaper::shapeHarfBuzzRuns):
Call setScriptForVerticalGlyphSubstitution() when orientation() == Vertical.
- 4:21 PM Changeset in webkit [131108] by
-
- 2 edits in trunk/Tools
Unreviewed watch list addition for Inspector.json.
- Scripts/webkitpy/common/config/watchlist:
- 4:13 PM Changeset in webkit [131107] by
-
- 14 edits4 adds in trunk
AX: labelForElement is slow when there are a lot of DOM elements
https://bugs.webkit.org/show_bug.cgi?id=97825
Reviewed by Ryosuke Niwa.
Source/WebCore:
Adds a DocumentOrderedMap to TreeScope that allows accessibility to
quickly map from an id to the label for that id. This speeds up
AccessibilityNode::labelForElement, which was a bottleneck in Chromium
when accessibility was on.
Tests: accessibility/title-ui-element-correctness.html
perf/accessibility-title-ui-element.html
- accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::labelForElement):
- dom/DocumentOrderedMap.cpp:
(WebCore::keyMatchesLabelForAttribute):
(WebCore):
(WebCore::DocumentOrderedMap::getElementByLabelForAttribute):
- dom/DocumentOrderedMap.h:
(DocumentOrderedMap):
- dom/Element.cpp:
(WebCore::Element::insertedInto):
(WebCore::Element::removedFrom):
(WebCore::Element::updateLabel):
(WebCore):
(WebCore::Element::willModifyAttribute):
- dom/Element.h:
(Element):
- dom/TreeScope.cpp:
(WebCore::TreeScope::TreeScope):
(WebCore::TreeScope::addLabel):
(WebCore):
(WebCore::TreeScope::removeLabel):
(WebCore::TreeScope::labelElementForId):
- dom/TreeScope.h:
(WebCore):
(TreeScope):
(WebCore::TreeScope::shouldCacheLabelsByForAttribute):
Tools:
Implement titleUIElement in the chromium port of DRT, and
fix getAccessibleElementById so that it ensures the backing store
is up-to-date.
- DumpRenderTree/chromium/TestRunner/AccessibilityControllerChromium.cpp:
(AccessibilityController::getAccessibleElementById):
- DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp:
(AccessibilityUIElement::titleUIElementCallback):
LayoutTests:
Adds two new tests for titleUIElement that run on both Mac and
Chromium. One tests correctness, the other tests speed.
Fixes one test so that it passes on Chromium.
Enables other tests that now pass on Chromium.
- accessibility/secure-textfield-title-ui.html:
- accessibility/title-ui-element-correctness-expected.txt: Added.
- accessibility/title-ui-element-correctness.html: Added.
- perf/accessibility-title-ui-element-expected.txt: Added.
- perf/accessibility-title-ui-element.html: Added.
- platform/chromium/TestExpectations:
- 4:08 PM Changeset in webkit [131106] by
-
- 17 edits in trunk
unprefix window.performance.webkitNow()
https://bugs.webkit.org/show_bug.cgi?id=88278
Reviewed by Tony Gentilcore.
PerformanceTests:
- resources/runner.js: Bind to proper object to avoid invalid invocation errors.
Source/WebCore:
Test: fast/dom/Window/window-properties-performance.html
fast/performance/performance-now-timestamps.html
- page/Performance.cpp:
(WebCore::Performance::now):
- page/Performance.h:
(Performance):
- page/Performance.idl:
LayoutTests:
- fast/dom/Window/window-properties-performance-expected.txt:
- fast/performance/performance-now-timestamps-expected.txt:
- fast/performance/script-tests/performance-now-timestamps.js:
- platform/chromium/TestExpectations: Remove skipped expectation.
- platform/efl/TestExpectations:
- platform/efl/fast/dom/Window/window-properties-performance-expected.txt:
- platform/gtk/TestExpectations:
- platform/qt/TestExpectations:
- platform/qt/fast/dom/Window/window-properties-performance-expected.txt:
- resources/magnitude-perf.js:
(Magnitude._runIteration):
- 4:06 PM Changeset in webkit [131105] by
-
- 2 edits in trunk/Source/WebCore
[WebGL] [Mac] only the mapped symbol for the first element of a uniform/attribute array is stored.
https://bugs.webkit.org/show_bug.cgi?id=98966
Reviewed by Dean Jackson.
We currently do not add name/mappedName symbol pairs for each element of a uniform/attribute array.
This is because we only add a number of symbols equal to how many symbols the shader compiler tells us there are.
The shader compiler treats an array as a single uniform. We need to be adding in symbols to the map for each element of the array ourselves.
The mappedName of each array element is the same between elements except for the "[index]" at the end so this is easy to do.
Tested using Khronos WebGL conformance suite:
conformance/glsl/misc/glsl-long-variable-names.html
- platform/graphics/ANGLEWebKitBridge.cpp:
(WebCore::getSymbolInfo):
- 3:51 PM Changeset in webkit [131104] by
-
- 5 edits in trunk/Source/WebCore
ElementAttributeData shouldn't be managing Element's callbacks.
<http://webkit.org/b/98987>
Reviewed by Anders Carlsson.
Dispatch the following attribute-related Element callbacks from within Element
instead of ElementAttributeData. Also made them private.
- willModifyAttribute
- didModifyAttribute
- didAddAttribute
- didRemoveAttribute
No behavior change, just making ElementAttributeData a bit dumber (a good thing.)
- dom/Element.cpp:
(WebCore::Element::detachAttribute):
(WebCore::Element::removeAttribute):
(WebCore::Element::setAttributeInternal):
(WebCore::Element::removeAttributeInternal):
(WebCore::Element::addAttributeInternal):
- dom/Element.h:
- dom/ElementAttributeData.cpp:
(WebCore::ElementAttributeData::addAttribute):
(WebCore::ElementAttributeData::removeAttribute):
- dom/ElementAttributeData.h:
- 3:42 PM Changeset in webkit [131103] by
-
- 3 edits2 adds in trunk
[CSS Shaders] Make custom filters use a premultiplied buffer.
https://bugs.webkit.org/show_bug.cgi?id=98396
Patch by Huang Dongsung <luxtella@company100.net> on 2012-10-11
Reviewed by Dean Jackson.
Source/WebCore:
Currently, a GLSL css_Composite function returns a premultiplied color, so
FECustomFilter must make a premultiplied buffer in the case when an author is
using the CSS mix function.
In addition, there are two performance benefits when FECustomFilter uses a premultiplied buffer.
- FilterEffect::asImageBuffer is faster.
- In the future when Accelerated Compositing implementations use
FECustomFilter, they do not need to convert an unmultiplied buffer to a
premultiplied buffer.
Test: css3/filters/custom/custom-filter-composite-fractional-source-alpha.html
- platform/graphics/filters/FECustomFilter.cpp:
(WebCore::FECustomFilter::applyShader):
LayoutTests:
Add test to check that the DOM element texture composites correctly
when source alpha is a fractional value.
- css3/filters/custom/custom-filter-composite-fractional-source-alpha-expected.html: Added.
- css3/filters/custom/custom-filter-composite-fractional-source-alpha.html: Added.
- 3:39 PM Changeset in webkit [131102] by
-
- 2 edits in trunk/Source/WebCore
[CMAKE] Do not add include dirs twice
https://bugs.webkit.org/show_bug.cgi?id=99099
Reviewed by Yong Li.
Do not add WebCore_INCLUDE_DIRECTORIES to WebCoreTestSupport_INCLUDE_DIRECTORIES, the includes_directory
call does this for us.
- CMakeLists.txt:
- 3:38 PM Changeset in webkit [131101] by
-
- 3 edits in trunk/Tools
test-webkitpy runs individual tests twice
https://bugs.webkit.org/show_bug.cgi?id=99098
Reviewed by Adam Barth.
If you were to run 'test-webkitpy webkitpy.test.main_unittests.TesterTests.test_no_tests_found',
it would actually run the test twice. This fixes that.
- Scripts/webkitpy/test/main.py:
(Tester._parse_args):
(Tester._test_names):
- Scripts/webkitpy/test/main_unittest.py:
(TesterTest.test_no_tests_found):
(TesterTest):
(TesterTest.test_individual_names_are_not_run_twice):
- 3:34 PM Changeset in webkit [131100] by
-
- 3 edits3 adds in trunk
[CSS Shaders] Implement all composite operators except destination and lighter.
https://bugs.webkit.org/show_bug.cgi?id=97859
Patch by Huang Dongsung <luxtella@company100.net> on 2012-10-11
Reviewed by Dean Jackson.
Source/WebCore:
Add expressions for all composite operators except destination and
lighter. The expressions are lifted directly from the CSS Compositing
and Blending spec [1]. WebKit adds these compositing expressions to the
author's shader.
[1]: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#advancedcompositing
Test: css3/filters/custom/custom-filter-composite-operators.html
- platform/graphics/filters/CustomFilterValidatedProgram.cpp:
(WebCore::CustomFilterValidatedProgram::compositeFunctionString):
LayoutTests:
Add test to check that the DOM element texture composites correctly with the css_MixColor
variable from the author's shader for each composite operator.
- css3/filters/custom/custom-filter-composite-operators-expected.png: Added.
- css3/filters/custom/custom-filter-composite-operators-expected.txt: Added.
- css3/filters/custom/custom-filter-composite-operators.html: Added.
- 3:25 PM Changeset in webkit [131099] by
-
- 2 edits in trunk/Tools
[Chromium-Android] Exception when the layout test driver is stopped
https://bugs.webkit.org/show_bug.cgi?id=99084
Reviewed by Dirk Pranke.
On chromium-android, the process is killed directly in ServerProcess.stop() as the pipes are closed first.
Should not try to read data from the pipes after the process is killed.
- Scripts/webkitpy/layout_tests/port/server_process.py:
(ServerProcess.stop): Don't read data after the process is killed.
- 3:21 PM Changeset in webkit [131098] by
-
- 1 edit1 add in trunk/LayoutTests
One more baseline tweak after v8-i18n roll.
- platform/chromium/fast/js/date-proto-generic-invocation-expected.txt: Replaced.
- 2:53 PM Changeset in webkit [131097] by
-
- 4 edits3 adds in trunk
UInt32ToNumber and OSR exit should be aware of copy propagation and correctly recover both versions of a variable that was subject to a UInt32ToNumber cast
https://bugs.webkit.org/show_bug.cgi?id=99100
<rdar://problem/12480955>
Reviewed by Michael Saboff and Mark Hahnenberg.
Source/JavaScriptCore:
Fixed by forcing UInt32ToNumber to use a different register. This "undoes" the copy propagation that we
would have been doing, since it has no performance effect in this case and has the benefit of making the
OSR exit compiler a lot simpler.
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileUInt32ToNumber):
LayoutTests:
- fast/js/dfg-uint32-to-number-in-middle-of-copy-propagation-expected.txt: Added.
- fast/js/dfg-uint32-to-number-in-middle-of-copy-propagation.html: Added.
- fast/js/jsc-test-list:
- fast/js/script-tests/dfg-uint32-to-number-in-middle-of-copy-propagation.js: Added.
(foo):
- 2:37 PM Changeset in webkit [131096] by
-
- 5 edits3 adds in trunk
IndexedDB: IDL types defined in spec should be visible to scripts
https://bugs.webkit.org/show_bug.cgi?id=99093
Reviewed by Adam Barth.
Source/WebCore:
Interfaces defined in the spec WebIDL, such as IDBCursorWithValue, should be exposed
to scripts as properties of the global object. A few types were missing - add them.
Test: storage/indexeddb/interfaces.html
- Modules/indexeddb/DOMWindowIndexedDatabase.idl:
- Modules/indexeddb/WorkerContextIndexedDatabase.idl:
LayoutTests:
Verify that interfaces defined in the IDB spec's WebIDL are present on the
global object.
- storage/indexeddb/interfaces-expected.txt: Added.
- storage/indexeddb/interfaces.html: Added.
- storage/indexeddb/resources/interfaces.js: Added.
- storage/indexeddb/resources/shared.js: Remove assertion redundant with this test.
(test):
- 2:13 PM Changeset in webkit [131095] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] Improve the comment describing mainWorldScriptContext
https://bugs.webkit.org/show_bug.cgi?id=99092
Reviewed by James Robinson.
- public/WebFrame.h:
(WebFrame):
- Add some more text about what this API does so that folks who call it know what they need to worry about.
- 2:03 PM Changeset in webkit [131094] by
-
- 4 edits2 adds in trunk/LayoutTests
Rebaseline these tests after v8-i18n roll.
- platform/chromium/fast/js/kde/StringObject-expected.txt:
- platform/chromium/fast/js/kde/function_length-expected.txt: Added.
- platform/chromium/fast/js/kde/inbuilt_function_tostring-expected.txt: Added.
- platform/chromium/fast/js/string-prototype-properties-expected.txt:
- platform/chromium/inspector-protocol/runtime-getProperties-expected.txt:
- 1:56 PM Changeset in webkit [131093] by
-
- 7 edits in trunk/Source/JavaScriptCore
Removed some more static assumptions about inline object capacity
https://bugs.webkit.org/show_bug.cgi?id=98603
Reviewed by Filip Pizlo.
- dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::emitAllocateBasicJSObject): Use JSObject::allocationSize()
for a little more flexibility. We still pass it a constant inline capacity
because the JIT doesn't have a strategy for selecting a size class based
on non-constant capacity yet. "INLINE_STORAGE_CAPACITY" is a marker for
code that makes static assumptions about object size.
- jit/JITInlineMethods.h:
(JSC::JIT::emitAllocateBasicJSObject):
- llint/LLIntData.cpp:
(JSC::LLInt::Data::performAssertions):
- llint/LowLevelInterpreter32_64.asm:
- llint/LowLevelInterpreter64.asm: Ditto for the rest of our many execution engines.
- runtime/JSObject.h:
(JSC::JSObject::allocationSize):
(JSC::JSFinalObject::finishCreation):
(JSC::JSFinalObject::create): New helper function for computing object
size dynamically, since we plan to have objects of different sizes.
(JSC::JSFinalObject::JSFinalObject): Note that our m_inlineStorage used
to auto-generate an implicit C++ constructor with default null initialization.
This memory is not observed in its uninitialized state, and our LLInt and
JIT allocators do not initialize it, so I did not add any explicit code
to do so, now that the implicit code is gone.
(JSC::JSObject::offsetOfInlineStorage): Changed the math here to match
inlineStorageUnsafe(), since we can rely on an explicit data member anymore.
- 1:47 PM Changeset in webkit [131092] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-11
- DEPS:
- 1:41 PM Changeset in webkit [131091] by
-
- 4 edits in trunk/Source/WebKit2
[EFL][WK2] WebProcess keeps on waiting for UIProcess
https://bugs.webkit.org/show_bug.cgi?id=97646
Patch by Regina Chung <heejin.r.chung@samsung.com> on 2012-10-11
Reviewed by Kenneth Rohde Christiansen.
Set LayerTreeRenderer to active so UIProcess can send RenderNextFrame message to WebProcess
after accelerated compositing(AC) mode is entered, so WebProcess can start flushing changes to UIProcess.
- UIProcess/API/efl/EflViewportHandler.cpp: Added API for setting LayerTreeRenderer's active state.
(WebKit::EflViewportHandler::setActive):
(WebKit):
- UIProcess/API/efl/EflViewportHandler.h:
(EflViewportHandler):
- UIProcess/API/efl/ewk_view.cpp: Sets LayerTreeRenderer's active status to true after entering AC mode.
(ewk_view_accelerated_compositing_mode_enter):
- 1:34 PM Writing Layout Tests for DumpRenderTree edited by
- (diff)
- 1:12 PM Changeset in webkit [131090] by
-
- 2 edits in trunk/LayoutTests
[WK2] WTR needs an implementation of setAsynchronousSpellCheckingEnabled
https://bugs.webkit.org/show_bug.cgi?id=81042
Unreviewed, skipped a test that requires setAsynchronousSpellCheckingEnabled
- platform/wk2/TestExpectations:
- 12:58 PM Changeset in webkit [131089] by
-
- 3 edits in trunk/Source/JavaScriptCore
Enable RUNTIME_HEURISTICS all the time, for easier testing
https://bugs.webkit.org/show_bug.cgi?id=99090
Reviewed by Filip Pizlo.
I find myself using this a lot, and there doesn't seem to be an obvious
reason to compile it out, since it only runs once at startup.
- runtime/Options.cpp:
(JSC::overrideOptionWithHeuristic):
(JSC::Options::initialize):
- runtime/Options.h: Removed the #ifdef.
- 12:54 PM Changeset in webkit [131088] by
-
- 70 edits in trunk/Source
Removed ASSERT_CLASS_FITS_IN_CELL
https://bugs.webkit.org/show_bug.cgi?id=97634
Reviewed by Mark Hahnenberg.
Source/JavaScriptCore:
Our collector now supports arbitrarily sized objects, so the ASSERT is not needed.
- API/JSCallbackFunction.cpp:
- API/JSCallbackObject.cpp:
- heap/MarkedSpace.h:
- jsc.cpp:
- runtime/Arguments.cpp:
- runtime/ArrayConstructor.cpp:
- runtime/ArrayPrototype.cpp:
- runtime/BooleanConstructor.cpp:
- runtime/BooleanObject.cpp:
- runtime/BooleanPrototype.cpp:
- runtime/DateConstructor.cpp:
- runtime/DatePrototype.cpp:
- runtime/Error.cpp:
- runtime/ErrorConstructor.cpp:
- runtime/ErrorPrototype.cpp:
- runtime/FunctionConstructor.cpp:
- runtime/FunctionPrototype.cpp:
- runtime/InternalFunction.cpp:
- runtime/JSActivation.cpp:
- runtime/JSArray.cpp:
- runtime/JSBoundFunction.cpp:
- runtime/JSFunction.cpp:
- runtime/JSGlobalObject.cpp:
- runtime/JSGlobalThis.cpp:
- runtime/JSNameScope.cpp:
- runtime/JSNotAnObject.cpp:
- runtime/JSONObject.cpp:
- runtime/JSObject.cpp:
- runtime/JSPropertyNameIterator.cpp:
- runtime/JSScope.cpp:
- runtime/JSWithScope.cpp:
- runtime/JSWrapperObject.cpp:
- runtime/MathObject.cpp:
- runtime/NameConstructor.cpp:
- runtime/NamePrototype.cpp:
- runtime/NativeErrorConstructor.cpp:
- runtime/NativeErrorPrototype.cpp:
- runtime/NumberConstructor.cpp:
- runtime/NumberObject.cpp:
- runtime/NumberPrototype.cpp:
- runtime/ObjectConstructor.cpp:
- runtime/ObjectPrototype.cpp:
- runtime/RegExpConstructor.cpp:
- runtime/RegExpMatchesArray.cpp:
- runtime/RegExpObject.cpp:
- runtime/RegExpPrototype.cpp:
- runtime/StringConstructor.cpp:
- runtime/StringObject.cpp:
- runtime/StringPrototype.cpp:
- testRegExp.cpp: Removed the ASSERT.
Source/WebCore:
- bindings/js/JSDOMWindowShell.cpp:
(WebCore):
- bindings/js/JSImageConstructor.cpp:
(WebCore):
- bindings/js/JSNodeFilterCondition.cpp:
(WebCore):
- bindings/js/JSWorkerContextBase.cpp:
(WebCore):
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
- bindings/scripts/test/JS/JSFloat64Array.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestEventConstructor.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestException.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestNode.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore):
- bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
(WebCore):
- bridge/runtime_method.cpp:
(JSC):
- 12:36 PM Changeset in webkit [131087] by
-
- 10 edits in trunk/Source/JavaScriptCore
DFG should inline code blocks that use new_array_buffer
https://bugs.webkit.org/show_bug.cgi?id=98996
Reviewed by Geoffrey Garen.
This adds plumbing to drop in constant buffers from the inlinees to the inliner.
It's smart about not duplicating buffers needlessly but doesn't try to completely
hash-cons them, either.
- bytecode/CodeBlock.h:
(JSC::CodeBlock::numberOfConstantBuffers):
(JSC::CodeBlock::addConstantBuffer):
(JSC::CodeBlock::constantBufferAsVector):
(JSC::CodeBlock::constantBuffer):
- dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
- dfg/DFGByteCodeParser.cpp:
(ConstantBufferKey):
(JSC::DFG::ConstantBufferKey::ConstantBufferKey):
(JSC::DFG::ConstantBufferKey::operator==):
(JSC::DFG::ConstantBufferKey::hash):
(JSC::DFG::ConstantBufferKey::isHashTableDeletedValue):
(JSC::DFG::ConstantBufferKey::codeBlock):
(JSC::DFG::ConstantBufferKey::index):
(DFG):
(JSC::DFG::ConstantBufferKeyHash::hash):
(JSC::DFG::ConstantBufferKeyHash::equal):
(ConstantBufferKeyHash):
(WTF):
(ByteCodeParser):
(InlineStackEntry):
(JSC::DFG::ByteCodeParser::parseBlock):
(JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
- dfg/DFGCapabilities.h:
(JSC::DFG::canInlineOpcode):
- dfg/DFGOperations.cpp:
- dfg/DFGOperations.h:
- dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):
- dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- 12:09 PM Changeset in webkit [131086] by
-
- 1 edit3 adds in trunk/LayoutTests
I'm not 100% sure what caused this test to change behavior, but fewer
unexpected exceptions seems like a good thing.
- platform/chromium/http/tests/media: Added.
- platform/chromium/http/tests/media/media-source: Added.
- platform/chromium/http/tests/media/media-source/video-media-source-add-and-remove-buffers-expected.txt: Added.
- 11:29 AM Changeset in webkit [131085] by
-
- 24 edits in trunk/Source
Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
https://bugs.webkit.org/show_bug.cgi?id=98976
Reviewed by Anders Carlsson.
Source/WebCore:
No new tests (No change in behavior).
- WebCore.exp.in:
- html/ImageDocument.cpp:
(WebCore::ImageDocumentParser::appendBytes):
(WebCore::ImageDocumentParser::finish):
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::mainResourceContent):
(WebCore::InspectorPageAgent::sharedBufferContent):
(WebCore):
(WebCore::InspectorPageAgent::dataContent):
- inspector/InspectorPageAgent.h:
- inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::didFinishLoading):
(WebCore::InspectorResourceAgent::didFailLoading):
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::mainResourceData):
(WebCore::DocumentLoader::setupForReplaceByMIMEType):
(WebCore::DocumentLoader::maybeCreateArchive):
(WebCore::DocumentLoader::mainResource):
(WebCore::DocumentLoader::maybeFinishLoadingMultipartContent):
- loader/DocumentLoader.h:
(WebCore):
(DocumentLoader):
- loader/ResourceBuffer.cpp:
(WebCore::ResourceBuffer::append):
(WebCore):
(WebCore::ResourceBuffer::clear):
- loader/ResourceBuffer.h:
(ResourceBuffer):
- loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::resourceData):
(WebCore::ResourceLoader::addData):
(WebCore::ResourceLoader::willStopBufferingData):
- loader/ResourceLoader.h:
(WebCore):
(ResourceLoader):
- loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::didReceiveResponse):
(WebCore::SubresourceLoader::sendDataToResource):
(WebCore::SubresourceLoader::didFinishLoading):
- loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::finishedLoadingMainResource):
Source/WebKit/gtk:
- webkit/webkitwebdatasource.cpp:
(webkit_web_data_source_get_data):
Source/WebKit/mac:
- WebView/WebDataSource.mm:
(-[WebDataSource data]):
Source/WebKit/win:
- WebDataSource.cpp:
(WebDataSource::data):
Source/WebKit2:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::finishedLoading):
- WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::source):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::getMainResourceDataOfFrame):
- 11:28 AM Changeset in webkit [131084] by
-
- 2 edits in trunk/LayoutTests
Note that this test is flaky.
- platform/chromium/TestExpectations:
- 11:04 AM Changeset in webkit [131083] by
-
- 8 edits in trunk/Source
Web Inspector: node search does not work with elements on touch start listener
https://bugs.webkit.org/show_bug.cgi?id=95252
Reviewed by Pavel Feldman.
Source/WebCore:
Added new InspectorInstrumentation::handleTouchEvent() method which
will prevent a touch handler from firing and inspect and element if we
are already searching for a node to highlight.
Now when a user has chosen to inspect element (magnifying glass icon)
and touches on a page the event will be directed to inspector and
handled appropriately.
Not testable.
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::handleTouchEvent):
(WebCore):
- inspector/InspectorDOMAgent.h:
(InspectorDOMAgent):
- inspector/InspectorInstrumentation.cpp:
(WebCore):
(WebCore::InspectorInstrumentation::handleTouchEventImpl):
- inspector/InspectorInstrumentation.h:
(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::handleTouchEvent):
(WebCore):
- page/EventHandler.cpp:
(WebCore::EventHandler::handleTouchEvent):
Source/WebKit/blackberry:
Removed calls to InspectorInstrumentation that no didn't work anyway.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::touchEvent):
- 10:53 AM Changeset in webkit [131082] by
-
- 3 edits in trunk/Source/WebCore
[BlackBerry] Credentials for HTTPS urls are saved in the HTTP protection space
https://bugs.webkit.org/show_bug.cgi?id=99082
Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-10-11
Reviewed by Rob Buis.
Adding support for secure ProtectionSpaces in Credentials
to prevent credentials from being overwritten/used when the user
accesses both versions of the same url.
PR 199457
The issue was the secure/non-secure version of the same protocol
were using the same ProtectionSpace enum in the network stack. When
the credentials are saved, it will overwrite each other since the
protection object is identical.
The fix is to use the WebKit provided secure enums when the protcol is secure.
To test this, access a restricted site that is running on http. Save the
password and access the same restricted site (same domain
and path) but on https. The browser should prompt for credentials.
- platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::notifyAuthReceived):
(WebCore::NetworkJob::handleFTPHeader):
(WebCore::NetworkJob::sendRequestWithCredentials):
(WebCore::NetworkJob::storeCredentials):
- platform/network/blackberry/NetworkManager.cpp:
(WebCore::NetworkManager::startJob):
- 10:47 AM Changeset in webkit [131081] by
-
- 4 edits in trunk
Perf-o-matic build fixes.
Get the password from the first item of the array now that each JSON contains an array as
the top-level structure instead of a dictionary, which is the first item in the array.
Remove spaces after comma to save space in Runs objects to work-around the AppEngine's
object size limit. This should buy us a couple of days. We'll implement a proper fix later.
- Websites/webkit-perf.appspot.com/models.py:
(Runs.update_incrementally):
- Websites/webkit-perf.appspot.com/models_unittest.py:
(RunsTest.test_update_or_insert):
- Websites/webkit-perf.appspot.com/report_handler.py:
(ReportHandler.post):
- 10:36 AM Changeset in webkit [131080] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening, skip new failing tests.
- platform/qt/TestExpectations:
- 10:31 AM Changeset in webkit [131079] by
-
- 54 edits12 copies154 adds in trunk/LayoutTests
[Qt] Unreviewed gardening, unskip and rebase now passing tests.
- platform/qt/TestExpectations:
- platform/qt/css2.1/20110323/inline-table-001-expected.png: Added.
- platform/qt/css2.1/20110323/inline-table-001-expected.txt: Added.
- platform/qt/css2.1/20110323/inline-table-002a-expected.png: Copied from LayoutTests/platform/qt/svg/custom/visibility-override-filter-expected.png.
- platform/qt/css2.1/20110323/inline-table-002a-expected.txt: Added.
- platform/qt/css2.1/20110323/inline-table-003-expected.png: Added.
- platform/qt/css2.1/20110323/inline-table-003-expected.txt: Added.
- platform/qt/css2.1/20110323/table-height-algorithm-023-expected.png: Added.
- platform/qt/css2.1/20110323/table-height-algorithm-023-expected.txt: Added.
- platform/qt/css2.1/20110323/table-height-algorithm-024-expected.png: Added.
- platform/qt/css2.1/20110323/table-height-algorithm-024-expected.txt: Added.
- platform/qt/css2.1/t051201-c23-first-line-00-b-expected.png: Added.
- platform/qt/css2.1/t051201-c23-first-line-00-b-expected.txt:
- platform/qt/css3/filters/blur-filter-page-scroll-expected.png:
- platform/qt/css3/filters/blur-filter-page-scroll-parents-expected.png:
- platform/qt/css3/filters/blur-filter-page-scroll-self-expected.png: Copied from LayoutTests/platform/qt/css3/filters/blur-filter-page-scroll-expected.png.
- platform/qt/css3/filters/blur-filter-page-scroll-self-expected.txt: Added.
- platform/qt/css3/filters/composited-during-animation-expected.txt: Added.
- platform/qt/css3/filters/composited-during-animation-layertree-expected.txt: Added.
- platform/qt/css3/filters/composited-during-transition-layertree-expected.txt: Added.
- platform/qt/css3/filters/effect-reference-ordering-expected.png:
- platform/qt/css3/images/cross-fade-background-size-expected.png: Added.
- platform/qt/css3/images/cross-fade-background-size-expected.txt: Added.
- platform/qt/css3/unicode-bidi-isolate-basic-expected.png: Added.
- platform/qt/css3/unicode-bidi-isolate-basic-expected.txt: Added.
- platform/qt/editing/inserting/multiple-lines-selected-expected.png: Added.
- platform/qt/editing/inserting/multiple-lines-selected-expected.txt: Added.
- platform/qt/fast/borders/rtl-border-04-expected.png: Added.
- platform/qt/fast/borders/rtl-border-04-expected.txt: Added.
- platform/qt/fast/borders/rtl-border-05-expected.png: Added.
- platform/qt/fast/borders/rtl-border-05-expected.txt: Added.
- platform/qt/fast/box-shadow/single-pixel-shadow-expected.png: Added.
- platform/qt/fast/box-shadow/single-pixel-shadow-expected.txt: Added.
- platform/qt/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png: Added.
- platform/qt/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt: Added.
- platform/qt/fast/css/text-overflow-ellipsis-text-align-center-expected.png: Added.
- platform/qt/fast/css/text-overflow-ellipsis-text-align-center-expected.txt: Added.
- platform/qt/fast/css/text-overflow-ellipsis-text-align-justify-expected.png: Added.
- platform/qt/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt: Added.
- platform/qt/fast/css/text-overflow-ellipsis-text-align-left-expected.png: Added.
- platform/qt/fast/css/text-overflow-ellipsis-text-align-left-expected.txt: Added.
- platform/qt/fast/css/text-overflow-ellipsis-text-align-right-expected.png: Added.
- platform/qt/fast/css/text-overflow-ellipsis-text-align-right-expected.txt: Added.
- platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.png: Added.
- platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt: Added.
- platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.png: Added.
- platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt: Added.
- platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.png: Added.
- platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt: Added.
- platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.png: Added.
- platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt: Added.
- platform/qt/fast/dom/34176-expected.png: Added.
- platform/qt/fast/dom/34176-expected.txt: Added.
- platform/qt/fast/forms/input-placeholder-paint-order-expected.png: Added.
- platform/qt/fast/forms/input-placeholder-paint-order-expected.txt: Added.
- platform/qt/fast/forms/select/optgroup-rendering-expected.png: Added.
- platform/qt/fast/forms/select/optgroup-rendering-expected.txt: Added.
- platform/qt/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
- platform/qt/fast/forms/textarea/textarea-placeholder-paint-order-expected.txt: Added.
- platform/qt/fast/inline/inline-box-background-expected.png: Added.
- platform/qt/fast/inline/inline-box-background-expected.txt: Added.
- platform/qt/fast/inline/inline-box-background-long-image-expected.png: Added.
- platform/qt/fast/inline/inline-box-background-long-image-expected.txt: Added.
- platform/qt/fast/inline/inline-box-background-repeat-x-expected.png: Added.
- platform/qt/fast/inline/inline-box-background-repeat-x-expected.txt: Added.
- platform/qt/fast/inline/inline-box-background-repeat-y-expected.png: Added.
- platform/qt/fast/inline/inline-box-background-repeat-y-expected.txt: Added.
- platform/qt/fast/multicol/shrink-to-column-height-for-pagination-expected.png: Copied from LayoutTests/platform/qt/svg/custom/visibility-override-filter-expected.png.
- platform/qt/fast/multicol/shrink-to-column-height-for-pagination-expected.txt: Added.
- platform/qt/fast/reflections/reflection-with-zoom-expected.png: Added.
- platform/qt/fast/reflections/reflection-with-zoom-expected.txt: Added.
- platform/qt/fast/repaint/repaint-during-scroll-with-zoom-expected.png: Copied from LayoutTests/platform/qt/css3/filters/blur-filter-page-scroll-expected.png.
- platform/qt/fast/repaint/repaint-during-scroll-with-zoom-expected.txt: Added.
- platform/qt/fast/speech/input-appearance-searchandspeech-expected.png:
- platform/qt/fast/speech/input-appearance-searchandspeech-expected.txt:
- platform/qt/fast/speech/input-appearance-speechbutton-expected.png:
- platform/qt/fast/speech/input-appearance-speechbutton-expected.txt:
- platform/qt/fast/table/mozilla-bug10296-vertical-align-1-expected.png: Added.
- platform/qt/fast/table/mozilla-bug10296-vertical-align-1-expected.txt: Added.
- platform/qt/fast/table/mozilla-bug10296-vertical-align-2-expected.png: Added.
- platform/qt/fast/table/mozilla-bug10296-vertical-align-2-expected.txt: Added.
- platform/qt/fast/table/table-row-outline-paint-expected.png: Added.
- platform/qt/fast/table/table-row-outline-paint-expected.txt: Added.
- platform/qt/http/tests/misc/willCacheResponse-delegate-callback-expected.txt: Added.
- platform/qt/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png: Added.
- platform/qt/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt: Added.
- platform/qt/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png:
- platform/qt/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt: Added.
- platform/qt/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt:
- platform/qt/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png: Added.
- platform/qt/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt: Added.
- platform/qt/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png: Added.
- platform/qt/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt: Added.
- platform/qt/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.png: Added.
- platform/qt/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt: Added.
- platform/qt/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.png: Added.
- platform/qt/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt: Added.
- platform/qt/svg/W3C-SVG-1.1/metadata-example-01-b-expected.png: Added.
- platform/qt/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt: Added.
- platform/qt/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt:
- platform/qt/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.txt:
- platform/qt/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.txt:
- platform/qt/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
- platform/qt/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt:
- platform/qt/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt:
- platform/qt/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png:
- platform/qt/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.txt:
- platform/qt/svg/W3C-SVG-1.1/pservers-grad-15-b-expected.txt:
- platform/qt/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.png: Added.
- platform/qt/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt: Added.
- platform/qt/svg/W3C-SVG-1.1/struct-use-05-b-expected.txt:
- platform/qt/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt:
- platform/qt/svg/batik/filters/feTile-expected.png: Added.
- platform/qt/svg/batik/filters/feTile-expected.txt:
- platform/qt/svg/batik/paints/patternRegions-expected.png:
- platform/qt/svg/batik/paints/patternRegions-expected.txt:
- platform/qt/svg/batik/paints/patternRegions-positioned-objects-expected.png:
- platform/qt/svg/batik/paints/patternRegions-positioned-objects-expected.txt:
- platform/qt/svg/batik/text/textEffect-expected.png:
- platform/qt/svg/batik/text/textEffect-expected.txt:
- platform/qt/svg/batik/text/textEffect3-expected.png:
- platform/qt/svg/batik/text/textEffect3-expected.txt:
- platform/qt/svg/batik/text/textLayout-expected.png: Added.
- platform/qt/svg/batik/text/textLayout-expected.txt: Added.
- platform/qt/svg/batik/text/textOnPathSpaces-expected.png: Added.
- platform/qt/svg/batik/text/textOnPathSpaces-expected.txt: Added.
- platform/qt/svg/batik/text/textStyles-expected.png: Added.
- platform/qt/svg/batik/text/textStyles-expected.txt: Added.
- platform/qt/svg/batik/text/verticalText-expected.png: Added.
- platform/qt/svg/batik/text/verticalText-expected.txt: Added.
- platform/qt/svg/batik/text/xmlSpace-expected.png: Added.
- platform/qt/svg/batik/text/xmlSpace-expected.txt: Added.
- platform/qt/svg/clip-path/clip-in-clip-expected.png: Copied from LayoutTests/platform/qt/svg/custom/visibility-override-filter-expected.png.
- platform/qt/svg/clip-path/clip-in-clip-expected.txt: Added.
- platform/qt/svg/clip-path/clipper-placement-issue-expected.png: Copied from LayoutTests/platform/qt/svg/custom/visibility-override-filter-expected.png.
- platform/qt/svg/clip-path/clipper-placement-issue-expected.txt: Added.
- platform/qt/svg/css/group-with-shadow-expected.png: Added.
- platform/qt/svg/css/group-with-shadow-expected.txt: Added.
- platform/qt/svg/custom/clip-path-with-css-transform-1-expected.png: Copied from LayoutTests/platform/qt/css3/filters/blur-filter-page-scroll-expected.png.
- platform/qt/svg/custom/clip-path-with-css-transform-1-expected.txt: Added.
- platform/qt/svg/custom/clip-path-with-css-transform-2-expected.png: Copied from LayoutTests/platform/qt/css3/filters/blur-filter-page-scroll-expected.png.
- platform/qt/svg/custom/clip-path-with-css-transform-2-expected.txt: Added.
- platform/qt/svg/custom/feComponentTransfer-Discrete-expected.png: Added.
- platform/qt/svg/custom/feComponentTransfer-Discrete-expected.txt: Added.
- platform/qt/svg/custom/feComponentTransfer-Gamma-expected.png: Added.
- platform/qt/svg/custom/feComponentTransfer-Gamma-expected.txt: Added.
- platform/qt/svg/custom/feComponentTransfer-Linear-expected.png: Added.
- platform/qt/svg/custom/feComponentTransfer-Linear-expected.txt: Added.
- platform/qt/svg/custom/feComponentTransfer-Table-expected.png: Added.
- platform/qt/svg/custom/feComponentTransfer-Table-expected.txt: Added.
- platform/qt/svg/custom/gradient-deep-referencing-expected.txt:
- platform/qt/svg/custom/gradient-with-1d-boundingbox-expected.txt:
- platform/qt/svg/custom/hit-test-with-br-expected.png: Added.
- platform/qt/svg/custom/hit-test-with-br-expected.txt: Added.
- platform/qt/svg/custom/js-late-pattern-and-object-creation-expected.png: Added.
- platform/qt/svg/custom/js-late-pattern-and-object-creation-expected.txt: Added.
- platform/qt/svg/custom/js-late-pattern-creation-expected.png: Added.
- platform/qt/svg/custom/js-late-pattern-creation-expected.txt: Added.
- platform/qt/svg/custom/junk-data-expected.png: Added.
- platform/qt/svg/custom/junk-data-expected.txt: Added.
- platform/qt/svg/custom/missing-xlink-expected.png:
- platform/qt/svg/custom/missing-xlink-expected.txt:
- platform/qt/svg/custom/non-scaling-stroke-expected.png:
- platform/qt/svg/custom/non-scaling-stroke-expected.txt:
- platform/qt/svg/custom/painting-marker-07-f-inherit-expected.png: Copied from LayoutTests/platform/qt/css3/filters/blur-filter-page-scroll-expected.png.
- platform/qt/svg/custom/painting-marker-07-f-inherit-expected.txt: Added.
- platform/qt/svg/custom/path-bad-data-expected.png:
- platform/qt/svg/custom/path-bad-data-expected.txt:
- platform/qt/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png:
- platform/qt/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.txt: Added.
- platform/qt/svg/custom/recursive-gradient-expected.txt:
- platform/qt/svg/custom/relative-sized-content-with-resources-expected.png:
- platform/qt/svg/custom/relative-sized-content-with-resources-expected.txt:
- platform/qt/svg/custom/small-rect-scale-expected.png: Copied from LayoutTests/platform/qt/svg/custom/visibility-override-filter-expected.png.
- platform/qt/svg/custom/small-rect-scale-expected.txt: Added.
- platform/qt/svg/custom/stroked-pattern-expected.txt:
- platform/qt/svg/custom/use-font-face-crash-expected.png:
- platform/qt/svg/custom/use-font-face-crash-expected.txt:
- platform/qt/svg/custom/use-invalid-pattern-expected.txt: Added.
- platform/qt/svg/custom/visibility-override-filter-expected.png:
- platform/qt/svg/dom/length-list-parser-expected.txt:
- platform/qt/svg/filters/big-sized-filter-2-expected.png: Added.
- platform/qt/svg/filters/big-sized-filter-2-expected.txt: Added.
- platform/qt/svg/filters/big-sized-filter-expected.png: Added.
- platform/qt/svg/filters/big-sized-filter-expected.txt: Added.
- platform/qt/svg/foreignObject/fO-display-none-expected.png: Copied from LayoutTests/platform/qt/css3/filters/blur-filter-page-scroll-expected.png.
- platform/qt/svg/foreignObject/fO-display-none-expected.txt: Added.
- platform/qt/svg/foreignObject/fO-display-none-with-relative-pos-content-expected.png: Copied from LayoutTests/platform/qt/css3/filters/blur-filter-page-scroll-expected.png.
- platform/qt/svg/foreignObject/fO-display-none-with-relative-pos-content-expected.txt: Added.
- platform/qt/svg/hixie/data-types/002-expected.png: Added.
- platform/qt/svg/hixie/data-types/002-expected.txt: Added.
- platform/qt/svg/hixie/error/012-expected.png: Added.
- platform/qt/svg/hixie/error/012-expected.txt: Added.
- platform/qt/svg/hixie/perf/006-expected.png:
- platform/qt/svg/hixie/perf/006-expected.txt:
- platform/qt/svg/text/bidi-embedded-direction-expected.png: Added.
- platform/qt/svg/text/bidi-embedded-direction-expected.txt: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.png: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.png: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.png: Added.
- platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt: Added.
- platform/qt/svg/text/text-rescale-expected.png: Added.
- platform/qt/svg/text/text-rescale-expected.txt: Added.
- platform/qt/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png:
- platform/qt/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
- platform/qt/svg/zoom/text/zoom-coords-viewattr-01-b-expected.png: Added.
- platform/qt/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt:
- 10:28 AM Changeset in webkit [131078] by
-
- 2 edits in trunk/Source/WebCore
[texmap] logic error in BitmapTextureGL::updateContents
https://bugs.webkit.org/show_bug.cgi?id=98969
Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2012-10-11
Reviewed by Noam Rosenthal.
Incorrect test (bytesPerLine == targetRect.width() / 4) never
evaluates to true. Change it to correct test
(bytesPerLine == targetRect.width() * 4)
No new tests because no functional change.
- platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::BitmapTextureGL::updateContents):
- 10:18 AM Changeset in webkit [131077] by
-
- 3 edits2 adds in trunk
<rdar://problem/12477191> Combined text reverts to full-width font after a style change
https://bugs.webkit.org/show_bug.cgi?id=99009
Reviewed by John Sullivan.
Source/WebCore:
Test: fast/text/text-combine-width-after-style-change.html
- rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::styleDidChange): Changed to reset m_isCombined to false, to
ensure that combineText() is called on the next layout.
LayoutTests:
- fast/text/text-combine-width-after-style-change-expected.html: Added.
- fast/text/text-combine-width-after-style-change.html: Added.
- 10:15 AM Changeset in webkit [131076] by
-
- 2 edits in trunk/Source/WebCore
accelerated compositing does not work with ati driver
https://bugs.webkit.org/show_bug.cgi?id=97472
Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2012-10-11
Reviewed by Martin Robinson.
Create m_parentWindow at positive position. Otherwise, parts of it are
not displayed on ati drivers.
Covered by existing tests.
- platform/gtk/RedirectedXCompositeWindow.cpp:
(WebCore::RedirectedXCompositeWindow::RedirectedXCompositeWindow):
- 9:45 AM Changeset in webkit [131075] by
-
- 2 edits in trunk/Source/WebCore
Fix JPEG decoding faiure when IMAGE_DECODER_DOWN_SAMPLING is enabled
https://bugs.webkit.org/show_bug.cgi?id=98878
Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2012-10-11
Reviewed by Kenneth Russell.
When using libjpeg-turbo and enabling IMAGE_DECODER_DOWN_SAMPLING,
JPEG decoding failed because of no support for JCS_EXT_RGBA, JCS_EXT_BGRA.
Set RGBA values when color space is JCS_EXT_RGBA or JCS_EXT_BGRA.
No new tests.
- platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
(WebCore::JPEGImageDecoder::outputScanlines):
- 9:43 AM Changeset in webkit [131074] by
-
- 6 edits in trunk/Source/WebCore
Web Inspector: Preview HTML in ajax responses in network panel
https://bugs.webkit.org/show_bug.cgi?id=99066
Reviewed by Yury Semikhatsky.
HTML preview is now shown for XHR responses with text/html mime types.
Also RequestHTMLView is refactored to use sandbox iframe correctly.
Also extracted a method to generate dataURL from resource/request content.
- inspector/front-end/NetworkRequest.js:
(WebInspector.NetworkRequest):
(WebInspector.NetworkRequest.prototype.populateImageSource):
(WebInspector.NetworkRequest.prototype.asDataURL):
- inspector/front-end/RequestHTMLView.js:
(WebInspector.RequestHTMLView):
(WebInspector.RequestHTMLView.prototype._createIFrame):
- inspector/front-end/RequestPreviewView.js:
(WebInspector.RequestPreviewView.prototype._createPreviewView):
- inspector/front-end/Resource.js:
(WebInspector.Resource.prototype.populateImageSource):
- inspector/front-end/ResourceUtils.js:
(WebInspector.contentAsDataURL):
- 9:37 AM Changeset in webkit [131073] by
-
- 2 edits in trunk/Source/WebCore
Regression(r131058): Broke EFL build
https://bugs.webkit.org/show_bug.cgi?id=99079
Unreviewed build fix.
Use iterator::value instead of iterator::second to fix
build break after r131058.
Patch by Christophe Dumez <Christophe Dumez> on 2012-10-11
- platform/graphics/freetype/SimpleFontDataFreeType.cpp:
(WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
- 9:37 AM Changeset in webkit [131072] by
-
- 2 edits in trunk/Tools
[GTK] REGRESSION(r131033): Favicons don't work in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=99019
Patch by Mario Sanchez Prada <msanchez@igalia.com> on 2012-10-11
Reviewed by Carlos Garcia Campos.
Enable the favicons database by specifying the default path for
the directory where the actual data will be stored.
- MiniBrowser/gtk/main.c:
(main): Set the default directory for the favicon database calling
webkit_web_context_set_favicon_database_directory().
- 9:29 AM Changeset in webkit [131071] by
-
- 4 edits in trunk/Source
Always enable the experiments tab for WebKit nightly
Web Inspector: Enabling experiments tab in WebKit nightly.
https://bugs.webkit.org/show_bug.cgi?id=98923
Patch by Mihai Balan <mibalan@adobe.com> on 2012-10-11
Reviewed by Pavel Feldman.
Enabling Web Inspector experiments tab in WebKit nightly. This is done by adding a new
Preference key, Preferences.experimentsEnabled. Default values are true for WebKit and false
for Chromium. They can also be overridden as before (in Chromium)
Source/WebCore:
- inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings.prototype.get experimentsEnabled):
Source/WebKit/chromium:
- src/js/DevTools.js:
- 9:24 AM Changeset in webkit [131070] by
-
- 13 edits4 adds in trunk
Source/WebCore: Support re-projection for Shadow DOM.
https://bugs.webkit.org/show_bug.cgi?id=97151
Reviewed by Dimitri Glazkov.
Update node distribution algorithm so that nodes can be re-projected to insertion points
in nested shadow subtree.
See the latest Shadow DOM spec for what 're-projected' means:
Also see the related W3C bug:
Since this change breaks existing behavior, we have to update several code at once, which includes:
- ContentDistributer: ContentDistributor now re-projects distributed nodes.
- ComposedShadowTreeWalker: ComposedShadowTreeWalker is now aware of re-projection. That can resolve re-projection transparently.
- AncestorChainWalker (formerly named ComposedShadowTreeParentWallker): AncestorChainWalker is now aware of re-projection. I've also added a crossingInsertionPoint() member function so that clients of the walker can know whether the walker is just crossing insertion points for a re-projected node.
- EventDispatcher: EventDispatcher now uses the updated AncestorChainWalker and its crossingInsertionPoint() so that EventDispatcher can compute relative target for each ancestor correctly.
I've also updated existing layout tests and added some layout tests for re-projection.
Re-projection for multiple shadow root is not supported yet. I'll address that in another bug.
Tests: fast/dom/shadow/composed-shadow-tree-walker.html
fast/dom/shadow/shadow-dom-event-dispatching.html
fast/dom/shadow/shadowdom-reprojection-1.html
fast/dom/shadow/shadowdom-reprojection-2.html
- dom/ComposedShadowTreeWalker.cpp:
(WebCore::resolveReprojection):
(WebCore):
(WebCore::ComposedShadowTreeWalker::traverseSiblingOrBackToInsertionPoint):
(WebCore::ComposedShadowTreeWalker::traverseParent):
(WebCore::AncestorChainWalker::AncestorChainWalker):
(WebCore::AncestorChainWalker::parent):
- dom/ComposedShadowTreeWalker.h:
(AncestorChainWalker):
(WebCore::AncestorChainWalker::crossingInsertionPoint):
- dom/EventDispatcher.cpp:
(WebCore::EventRelatedTargetAdjuster::adjust):
(WebCore::EventDispatcher::ensureEventAncestors):
- dom/TreeScope.cpp:
(WebCore::TreeScope::focusedNode):
- html/HTMLLIElement.cpp:
(WebCore::HTMLLIElement::attach):
- html/shadow/ContentDistributor.cpp:
(WebCore::ContentDistributor::distribute):
- page/EventHandler.cpp:
(WebCore::EventHandler::updateMouseEventTargetNode):
LayoutTests: Update ComposedShadowTreeWalker for Shadow DOM re-projection.
https://bugs.webkit.org/show_bug.cgi?id=97151
Reviewed by Dimitri Glazkov.
- fast/dom/shadow/composed-shadow-tree-walker-expected.txt:
- fast/dom/shadow/composed-shadow-tree-walker.html:
- fast/dom/shadow/resources/shadow-dom.js:
(createShadowRootWithAttributes):
(createDOM):
- fast/dom/shadow/shadow-dom-event-dispatching.html:
- fast/dom/shadow/shadowdom-reprojection-1-expected.html: Added.
- fast/dom/shadow/shadowdom-reprojection-1.html: Added.
- fast/dom/shadow/shadowdom-reprojection-2-expected.html: Added.
- fast/dom/shadow/shadowdom-reprojection-2.html: Added.
- 9:20 AM Changeset in webkit [131069] by
-
- 2 edits in trunk/Source/WebKit2
Add missing WK_EXPORT for WKDOMTextIterator.
Rubber-stamped by Brady Eidson.
- WebProcess/InjectedBundle/API/mac/WKDOMTextIterator.h:
- 9:10 AM Changeset in webkit [131068] by
-
- 12 edits1 add in trunk/Source/WebCore
Make ContentSelectorQuery work when siblings are passed explicitly.
https://bugs.webkit.org/show_bug.cgi?id=96990
Reviewed by Dimitri Glazkov.
When we implement content reprojection in ShadowDOM, we have to pass a node pool to SelectorChecker.
We introdue ShadowDOMSiblingTraversalStrategy, which traverses a node pool instead of real node siblings.
Since ContentSelector is a very hot place, we don't want to regress performance. In the previous patch,
we've make ContentSelector::checkOneSelector template to take SiblingTraversalStrategy as an argument.
We also move DOMSiblingTraversalStrategy to SiblingTraversalStrategies.h.
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- css/SelectorChecker.cpp:
(WebCore):
- css/SelectorChecker.h:
- css/SiblingTraversalStrategies.h: Added.
(WebCore):
(DOMSiblingTraversalStrategy): Moved from SelectorChecker.
(WebCore::DOMSiblingTraversalStrategy::isFirstChild):
(WebCore::DOMSiblingTraversalStrategy::isLastChild):
(WebCore::DOMSiblingTraversalStrategy::isFirstOfType):
(WebCore::DOMSiblingTraversalStrategy::isLastOfType):
(WebCore::DOMSiblingTraversalStrategy::countElementsBefore):
(WebCore::DOMSiblingTraversalStrategy::countElementsOfTypeBefore):
(WebCore::DOMSiblingTraversalStrategy::countElementsAfter):
(WebCore::DOMSiblingTraversalStrategy::countElementsOfTypeAfter):
(WebCore::ShadowDOMSiblingTraversalStrategy::ShadowDOMSiblingTraversalStrategy):
(ShadowDOMSiblingTraversalStrategy): SiblingTraversalStrategy which uses a node pool instead of a real element
siblings. This strategy takes a vector of node which we traverse.
(WebCore::ShadowDOMSiblingTraversalStrategy::isFirstChild):
(WebCore::ShadowDOMSiblingTraversalStrategy::isLastChild):
(WebCore::ShadowDOMSiblingTraversalStrategy::isFirstOfType):
(WebCore::ShadowDOMSiblingTraversalStrategy::isLastOfType):
(WebCore::ShadowDOMSiblingTraversalStrategy::countElementsBefore):
(WebCore::ShadowDOMSiblingTraversalStrategy::countElementsAfter):
(WebCore::ShadowDOMSiblingTraversalStrategy::countElementsOfTypeBefore):
(WebCore::ShadowDOMSiblingTraversalStrategy::countElementsOfTypeAfter):
- css/StyleResolver.cpp:
- html/shadow/ContentDistributor.cpp:
(WebCore::ContentDistributor::distributeSelectionsTo):
- html/shadow/ContentSelectorQuery.cpp: Uses ShadowDOMSiblingTraversalStrategy instead of DOMSiblingTraversalStrategy.
(WebCore::ContentSelectorChecker::ContentSelectorChecker):
(WebCore):
(WebCore::ContentSelectorChecker::checkContentSelector):
(WebCore::ContentSelectorDataList::initialize):
(WebCore::ContentSelectorDataList::matches):
(WebCore::ContentSelectorQuery::ContentSelectorQuery):
(WebCore::ContentSelectorQuery::matches):
- html/shadow/ContentSelectorQuery.h:
(ContentSelectorChecker):
(WebCore):
(ContentSelectorDataList):
(ContentSelectorQuery):
- 9:01 AM Changeset in webkit [131067] by
-
- 2 edits in trunk/Tools
[EFL][WK2] NWTR should launch MiniBrowser instead of EWebLauncher after test run
https://bugs.webkit.org/show_bug.cgi?id=99075
Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-10-11
Reviewed by Kenneth Rohde Christiansen.
Pass the '-2' flag when executing run-launcher script after
testing with WebKitTestRunner.
- Scripts/webkitpy/layout_tests/port/efl.py:
(EflPort.show_results_html_file):
- 8:54 AM Changeset in webkit [131066] by
-
- 2 edits in trunk/Source/WTF
Removed incorrect pthread_mutex_trylock code in an ASSERT in TCMalloc_PageHeap::signalScavenger. This
branch is used by the Webkit GTK code.
https://bugs.webkit.org/show_bug.cgi?id=97539
Patch by Mark Toller <mark.toller@samsung.com> on 2012-10-11
Reviewed by Geoffrey Garen.
The code was never compiled in, and was functionally broken. There is no need for locking around the
m_scavengeThreadActive flag, however, we should lock pageheap_lock before calling 'shouldScavenge()', as we
only want to scavenge when really required, so it's better to wait for any current memory operation to
complete before checking.
- wtf/FastMalloc.cpp:
(WTF::TCMalloc_PageHeap::signalScavenger):
- 8:33 AM Changeset in webkit [131065] by
-
- 2 edits in trunk/Source/WebCore
[Qt] GraphicsContextPlatformPrivate is leaking it's ShadowBlur
https://bugs.webkit.org/show_bug.cgi?id=99073
Reviewed by Noam Rosenthal.
Stop leaking GraphicsContextPlatformPrivate::shadow.
No change in behavior so no new tests.
- platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate):
Always destroy shadow. It is obviously owned by the context so it has
nothing to do with the erly return.
- 8:25 AM Changeset in webkit [131064] by
-
- 2 edits in trunk/Tools
[EFL][WK2] Add support for Javascript popup boxes to MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=99021
Patch by Christophe Dumez <Christophe Dumez> on 2012-10-11
Reviewed by Kenneth Rohde Christiansen.
Add support for JavaScript popups (alert, confirm, prompt)
to MiniBrowser.
- MiniBrowser/efl/main.c:
(miniBrowserViewSmartClass):
(browser_view_find):
(quit_event_loop):
(on_ok_clicked):
(on_javascript_alert):
(on_javascript_confirm):
(on_javascript_prompt):
(window_create):
(elm_main):
- 8:03 AM Changeset in webkit [131063] by
-
- 24 edits in trunk
WebIDL: overloaded methods prevent number -> string conversion
https://bugs.webkit.org/show_bug.cgi?id=85326
Reviewed by Kentaro Hara.
Source/WebCore:
Make the default behavior for overloaded methods matching DOMString arguments match the
default behavior for non-overloaded methods, which more closely matches the WebIDL spec.
Enable legacy behavior of only matching undefined/null/string/object(and not number,
boolean, etc) via the StrictTypeChecking attribute.
Tests: storage/indexeddb/cursor-overloads.html
storage/indexeddb/legacy-constants.html
... and run-bindings-tests
- Modules/indexeddb/IDBCursor.cpp:
(WebCore::IDBCursor::stringToDirection): Handle "0"..."4" as stringified legacy constants.
- Modules/indexeddb/IDBCursor.h:
- Modules/indexeddb/IDBDatabase.cpp: Remove redundant overloads.
(WebCore::IDBDatabase::transaction): Remove redundant overloads.
- Modules/indexeddb/IDBDatabase.h:
(IDBDatabase):
- Modules/indexeddb/IDBDatabase.idl: Remove redundant overloads.
- Modules/indexeddb/IDBIndex.cpp: Remove redundant overloads.
(WebCore::IDBIndex::openCursor):
(WebCore::IDBIndex::openKeyCursor):
- Modules/indexeddb/IDBIndex.h: Remove redundant overloads.
(IDBIndex):
- Modules/indexeddb/IDBIndex.idl: Remove redundant overloads.
- Modules/indexeddb/IDBObjectStore.cpp: Remove redundant overloads.
(WebCore::IDBObjectStore::openCursor):
- Modules/indexeddb/IDBObjectStore.h: Remove redundant overloads.
(IDBObjectStore):
- Modules/indexeddb/IDBObjectStore.idl: Remove redundant overloads.
- Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::stringToMode): Handle "0"..."4" as stringified legacy constants.
- Modules/indexeddb/IDBTransaction.h:
- bindings/scripts/CodeGeneratorJS.pm: Check for StrictTypeChecking attribute.
(GenerateParametersCheckExpression):
- bindings/scripts/CodeGeneratorV8.pm: Ditto.
(GenerateParametersCheckExpression):
- bindings/scripts/test/JS/JSTestObj.cpp: Rebaselined.
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod11):
(WebCore):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
- bindings/scripts/test/TestObj.idl: Added [StrictTypeChecking] to DOMString overloads,
plus a new DOMString overload w/o it.
- bindings/scripts/test/V8/V8TestObj.cpp: Rebaselined.
(WebCore::TestObjV8Internal::overloadedMethod11Callback):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::overloadedMethodCallback):
- html/canvas/CanvasRenderingContext2D.idl: Tag legacy overloads with [StrictTypeChecking].
- xml/XMLHttpRequest.idl: Ditto.
LayoutTests:
Updated expectations - new (more generic) console warnings.
- storage/indexeddb/cursor-overloads-expected.txt:
- storage/indexeddb/legacy-constants-expected.txt:
- 8:01 AM Changeset in webkit [131062] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Cleaning up the expected failures section. Any test that is marked as a WontFix
should now have a small comment about the reasoning for such expectation, but no
bug modifier. Any other expectation should now have a dedicated bug entry in the
bugzilla that has the Gtk and LayoutTestFailure keywords. Also removed some
outdated expectations or moved them into the failing tests section.
- platform/gtk/TestExpectations:
- 7:52 AM Changeset in webkit [131061] by
-
- 2 edits in trunk/Tools
[EFL][jhbuild] Disable elm-web in elementary
https://bugs.webkit.org/show_bug.cgi?id=99005
Reviewed by Laszlo Gombos.
- efl/jhbuild.modules: Added --disable-web to elementary.
- 7:51 AM Changeset in webkit [131060] by
-
- 3 edits in trunk/LayoutTests
[Qt] Unreviewed gardening after 131050, 131051.
- platform/qt-5.0-wk2/TestExpectations:
- platform/qt/TestExpectations:
- 7:49 AM Changeset in webkit [131059] by
-
- 2 edits in trunk/Source/WebCore
[Chromium][Mac] r130994 seems to break chromium gpu test
https://bugs.webkit.org/show_bug.cgi?id=98995
Patch by Justin Novosad <junov@chromium.org> on 2012-10-11
Reviewed by Stephen White.
Removing unnecessary assertion that was based on an invalid assumption
that 2d canvas draw operations were always called from within WebThread
tasks.
Test: Canvas2DAllowed chromium gpu_test
- platform/graphics/chromium/Canvas2DLayerManager.cpp:
(WebCore::Canvas2DLayerManager::willProcessTask):
- 7:38 AM Changeset in webkit [131058] by
-
- 4 edits in trunk
REGRESSION(130231): Causes 3 complex font test failures on EFL / Harfbuzz+Freetype
https://bugs.webkit.org/show_bug.cgi?id=98247
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Implement canRenderCombiningCharacterSequence() for the Freetype case.
No new tests, covered by existing tests. Actually the lack of the implementation made
fast/text/atsui-multiple-renderers.html, fast/text/atsui-spacing-features.html and
fast/text/wide-zero-width-space.html fail on EFL.
- platform/graphics/freetype/SimpleFontDataFreeType.cpp: Implement canRenderCombiningCharacterSequence().
(WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
LayoutTests:
Removing temporary failures of complex font cases.
- platform/efl/TestExpectations:
- 7:24 AM Changeset in webkit [131057] by
-
- 7 edits4 adds in trunk
REGRESSION (r129478-r129480): http/tests/loading/text-content-type-with-binary-extension.html failing on Apple MountainLion Debug WK2 (Tests)
https://bugs.webkit.org/show_bug.cgi?id=98527
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-10-11
Reviewed by Kenneth Rohde Christiansen.
Tools:
Added decidePolicyForResponse callback for WTR PagePolicyClient.
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):
(WTR::TestController::decidePolicyForResponse):
(WTR):
- WebKitTestRunner/TestController.h:
(TestController):
LayoutTests:
Rebased http/tests/loading/text-content-type-with-binary-extension.html for WK2 EFL, as dumping order is affected.
Other WK2 ports will have to do the same.
- platform/efl-wk2/http/tests/loading/text-content-type-with-binary-extension-expected.txt: Added.
- platform/gtk-wk2/TestExpectations:
- platform/mac-wk2/TestExpectations:
- platform/qt-5.0-wk2/TestExpectations:
- 7:16 AM Changeset in webkit [131056] by
-
- 4 edits2 adds in trunk/Source/WebKit
[Blackberry] makes NavigatorContentUtils work
https://bugs.webkit.org/show_bug.cgi?id=99022
Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-10-11
Reviewed by Rob Buis.
Source/WebKit:
Because r126735 renamed RegisterProtocolHandler API to NavigatorContentUtils, So we
need add Modules/navigatorcontentutils into WebKit_INCLUDE_DIRECTORIES.
- PlatformBlackBerry.cmake:
Source/WebKit/blackberry:
Because r126735 renamed RegisterProtocolHandler API to NavigatorContentUtils and
r122810 added RegisterProtocolHandlerClient to the Modules/protocolhandler,
we need sync up code:
- Add NavigatorContentUtilsClientBlackBerry class.
- use new API provideNavigatorContentUtilsTo.
No new tests. Covered by existing tests.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):
- WebCoreSupport/NavigatorContentUtilsClientBlackBerry.cpp: Added.
(WebCore):
(WebCore::NavigatorContentUtilsClientBlackBerry::NavigatorContentUtilsClientBlackBerry):
(WebCore::NavigatorContentUtilsClientBlackBerry::registerProtocolHandler):
(WebCore::NavigatorContentUtilsClientBlackBerry::isProtocolHandlerRegistered):
(WebCore::NavigatorContentUtilsClientBlackBerry::unregisterProtocolHandler):
- WebCoreSupport/NavigatorContentUtilsClientBlackBerry.h: Added.
(WebKit):
(NavigatorContentUtilsClientBlackBerry):
(WebCore::NavigatorContentUtilsClientBlackBerry::~NavigatorContentUtilsClientBlackBerry):
- 7:10 AM Changeset in webkit [131055] by
-
- 2 edits2 adds in trunk/LayoutTests
Unreviewed GTK gardening.
Adding platform-specific baseline for svg/custom/clip-mask-negative-scale.html
that's required after r130090.
- platform/gtk/TestExpectations:
- platform/gtk/svg/custom/clip-mask-negative-scale-expected.png: Added.
- platform/gtk/svg/custom/clip-mask-negative-scale-expected.txt: Added.
- 7:04 AM Changeset in webkit [131054] by
-
- 14 edits2 copies1 add in trunk
F4 key should open the picker popup on Windows and Linux
https://bugs.webkit.org/show_bug.cgi?id=98754
Reviewed by Kent Tamura.
Source/WebCore:
On Windows, F4 key is used to open the combo box popup. We will introduce the same keybinding for picker popups.
Added test to calendar-picker-key-operations.html, date-suggestion-picker-key-operations.html, time-suggestion-picker-key-operations.html.
- html/BaseMultipleFieldsDateAndTimeInputType.cpp:
(WebCore::BaseMultipleFieldsDateAndTimeInputType::handleKeydownEvent): Open picker on F4 key if it is enabled.
- rendering/RenderTheme.cpp:
(WebCore::RenderTheme::shouldOpenPickerWithF4Key): Returns true if we want to enable the F4 key binding on this platform. Return false for default.
(WebCore):
- rendering/RenderTheme.h:
(RenderTheme):
- rendering/RenderThemeChromiumLinux.cpp:
(WebCore::RenderThemeChromiumLinux::shouldOpenPickerWithF4Key): Returns true.
(WebCore):
- rendering/RenderThemeChromiumLinux.h:
- rendering/RenderThemeChromiumWin.cpp:
(WebCore):
(WebCore::RenderThemeChromiumWin::shouldOpenPickerWithF4Key): Returns true.
- rendering/RenderThemeChromiumWin.h:
(RenderThemeChromiumWin):
LayoutTests:
- fast/forms/date/calendar-picker-key-operations.html:
- platform/chromium-win/fast/forms/date/calendar-picker-key-operations-expected.txt: Added.
- platform/chromium-win/platform/chromium/fast/forms/date/date-suggestion-picker-key-operations-expected.txt:
- platform/chromium-win/platform/chromium/fast/forms/time/time-suggestion-picker-key-operations-expected.txt:
- platform/chromium/fast/forms/date/date-suggestion-picker-key-operations-expected.txt:
- platform/chromium/fast/forms/date/date-suggestion-picker-key-operations.html:
- platform/chromium/fast/forms/time/time-suggestion-picker-key-operations-expected.txt:
- platform/chromium/fast/forms/time/time-suggestion-picker-key-operations.html:
- 6:56 AM Changeset in webkit [131053] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Zebra stripe the console
https://bugs.webkit.org/show_bug.cgi?id=98701
Patch by John J. Barton <johnjbarton@chromium.org> on 2012-10-11
Reviewed by Pavel Feldman.
Add .console-message:hover rule to lightly highlight the message line.
- inspector/front-end/inspector.css:
(.console-message:hover):
- 6:32 AM Changeset in webkit [131052] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Filter out embedder injected content scripts
https://bugs.webkit.org/show_bug.cgi?id=99039
Reviewed by Yury Semikhatsky.
- inspector/front-end/NetworkUISourceCodeProvider.js:
(WebInspector.NetworkUISourceCodeProvider.prototype._parsedScriptSource):
- 6:25 AM Changeset in webkit [131051] by
-
- 4 edits in trunk/LayoutTests
[Qt] Reviewing Qt TestExpectations. Unskip now passing tests.
- platform/qt-5.0-wk1/TestExpectations:
- platform/qt-5.0-wk2/TestExpectations:
- platform/qt/TestExpectations:
- 6:17 AM Changeset in webkit [131050] by
-
- 49 edits1 add2 deletes in trunk
Not reviewed: revert 131004, 131012, 131016, 131042, 131043 for breaking inspector console
https://bugs.webkit.org/show_bug.cgi?id=99042
Source/WebCore:
One can't type in the inspector console after 131004.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- dom/DOMAllInOne.cpp:
- dom/Element.cpp:
(WebCore::Element::attach):
(WebCore::Element::detach):
(WebCore::Element::recalcStyle):
- dom/Element.h:
(WebCore):
(Element):
- dom/ElementRareData.h:
(ElementRareData):
- dom/Node.cpp:
(WebCore::checkAcceptChild):
- dom/Node.h:
(Node):
- dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::nextRenderer):
- dom/PseudoElement.cpp: Removed.
- dom/PseudoElement.h: Removed.
- rendering/HitTestResult.cpp:
(WebCore::HitTestResult::setInnerNode):
(WebCore::HitTestResult::setInnerNonSharedNode):
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::styleDidChange):
(WebCore::RenderBlock::updateBeforeAfterContent):
(WebCore):
(WebCore::RenderBlock::splitBlocks):
(WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
(WebCore::RenderBlock::createReplacementRunIn):
(WebCore::RenderBlock::renderName):
- rendering/RenderBlock.h:
(RenderBlock):
- rendering/RenderButton.cpp:
(WebCore::RenderButton::updateBeforeAfterContent):
(WebCore):
- rendering/RenderButton.h:
(RenderButton):
- rendering/RenderCounter.cpp:
(WebCore::RenderCounter::originalText):
- rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::RenderDeprecatedFlexibleBox::renderName):
- rendering/RenderGrid.cpp:
(WebCore::RenderGrid::renderName):
- rendering/RenderInline.cpp:
(WebCore::RenderInline::styleDidChange):
(WebCore::RenderInline::addChildIgnoringContinuation):
(WebCore::RenderInline::splitInlines):
(WebCore::RenderInline::renderName):
- rendering/RenderListItem.cpp:
(WebCore::RenderListItem::updateMarkerLocation):
- rendering/RenderMultiColumnBlock.cpp:
(WebCore::RenderMultiColumnBlock::renderName):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::createObject):
- rendering/RenderObject.h:
(WebCore::RenderObject::generatingNode):
- rendering/RenderObjectChildList.cpp:
(WebCore):
(WebCore::findBeforeAfterParent):
(WebCore::RenderObjectChildList::updateBeforeAfterStyle):
(WebCore::createRendererForBeforeAfterContent):
(WebCore::ensureBeforeAfterContainer):
(WebCore::RenderObjectChildList::updateBeforeAfterContent):
- rendering/RenderObjectChildList.h:
(RenderObjectChildList):
- rendering/RenderRubyText.cpp:
(WebCore::RenderRubyText::updateBeforeAfterContent):
(WebCore):
- rendering/RenderRubyText.h:
(RenderRubyText):
- rendering/RenderTableCell.h:
(WebCore::RenderTableCell::renderName):
- rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::updateBeforeAndAfterContent):
(WebCore):
(WebCore::RenderTableRow::styleDidChange):
- rendering/RenderTableRow.h:
(RenderTableRow):
(WebCore::RenderTableRow::renderName):
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::addChild):
- rendering/RenderTableSection.h:
(WebCore::RenderTableSection::renderName):
- rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):
LayoutTests:
- fast/css-generated-content/before-content-continuation-chain-expected.txt:
- platform/chromium-mac-snowleopard/fast/css-generated-content/table-row-group-to-inline-expected.png:
- platform/chromium-mac/fast/css-generated-content/table-row-group-to-inline-expected.png: Added.
- platform/chromium/TestExpectations:
- platform/efl/fast/css-generated-content/table-row-group-to-inline-expected.txt:
- platform/gtk/TestExpectations:
- platform/gtk/fast/css-generated-content/table-row-group-to-inline-expected.txt:
- platform/mac/fast/css-generated-content/table-row-group-to-inline-expected.png:
- platform/mac/fast/css-generated-content/table-row-group-to-inline-expected.txt:
- 6:03 AM Changeset in webkit [131049] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening after r131044.
Skip the failing tests.
- platform/qt-5.0-wk2/TestExpectations:
- 5:58 AM Changeset in webkit [131048] by
-
- 3 edits in trunk/LayoutTests
Unreviewed Qt gardening.
Unskip more tests that now passes in DRT after the implementation of beginDragWithFiles.
- platform/qt-5.0-wk2/TestExpectations:
- platform/qt/TestExpectations:
- 5:52 AM Changeset in webkit [131047] by
-
- 6 edits2 adds in trunk
REGRESSION (r96393): In some cases, generated content is never shown
https://bugs.webkit.org/show_bug.cgi?id=88196
Patch by Arpita Bahuguna <arpitabahuguna@gmail.com> on 2012-10-11
Reviewed by Antti Koivisto.
Source/WebCore:
Elements with style specified from an attribute selector in conjunction
with a pseudo-element should not take on the shared style of their
previous matching sibling (if any).
The problem here is that an attribute selector appended by a pseudo-element
does not return any matched rules for the call (matchesRuleSet(m_uncommonAttributeRuleSet.get()))
in StyleResolver::locateSharedStyle().
This is because of the way pseudo-elements are handled in
SelectorChecker::checkSelector(). For a pseudo-element selector we check
for the condition (!context.elementStyle && m_mode == ResolvingStyle) and
since for this particular flow the SelectorChecker mode is set to ResolvingStyle
and since the current element's style is still not available we fail this
initial check and return SelectorFailsLocally from checkSelector(). This is
incorrect behavior since the element does have an attribute selector specified
for it.
Have thus introduced another enum value: SharingRules for SelectorChecker's Mode.
SelectorChecker's mode should be set to SharingRules before making the
call to collectMatchingRules() and then reset (back to ResolvingStyle) thereafter.
Existing Mode value: CollectingRules although appropriate cannot be used in this
scenario because we also don't want to set any value to dynamicPseudo for this flow.
Test: fast/selectors/style-sharing-attribute-selector-with-pseudo-element.html
- css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkSelector):
Added additional check for SelectorChecker's mode: SharingRules when
trying to match for the pseudo-element selector.
- css/SelectorChecker.h:
Added SharingRules to Mode enum.
- css/StyleResolver.cpp:
(WebCore::StyleResolver::styleSharingCandidateMatchesRuleSet):
(WebCore::StyleResolver::locateSharedStyle):
- css/StyleResolver.h:
(StyleResolver):
Renamed matchesRuleSet() to a more descriptive styleSharingCandidateMatchesRuleSet().
Also, setting the SelectorChecker's mode to SharingRules before calling
on collectMatchingRules() from styleSharingCandidateMatchesRuleSet().
LayoutTests:
- fast/selectors/style-sharing-attribute-selector-with-pseudo-element-expected.html: Added.
- fast/selectors/style-sharing-attribute-selector-with-pseudo-element.html: Added.
Ref test added for verifying that the attribute selector style, when specified
in conjucntion with pseudo-elements, is applied to the corresponding element.
- 5:49 AM Changeset in webkit [131046] by
-
- 4 edits2 adds in trunk
Some shadow roots are not showing up in Inspector.
https://bugs.webkit.org/show_bug.cgi?id=88251
Reviewed by Pavel Feldman.
Source/WebCore:
When an element has only text node, its shadow root is not showing up in Inspector, since
child text is shown in oneline. We had to prevent from inlining child text when a shadow root is
added.
Test: inspector/elements/shadow-root.html
- inspector/front-end/DOMAgent.js:
(WebInspector.DOMNode):
(WebInspector.DOMNode.prototype.hasShadowRoots):
- inspector/front-end/ElementsTreeOutline.js:
LayoutTests:
- inspector/elements/shadow-root-expected.txt: Added.
- inspector/elements/shadow-root.html: Added.
- 5:42 AM Changeset in webkit [131045] by
-
- 2 edits in trunk/Tools
[Qt] Make sure that -Wno-c++0x-compat is set even with production_build
Reviewed by Simon Hausmann.
This makes sure that QtWebKit can be built inside Qt without nullptr
and narrowing warnings producing noise during compilation.
- qmake/mkspecs/features/unix/default_post.prf:
- 4:54 AM Changeset in webkit [131044] by
-
- 2 edits in trunk/LayoutTests
[WK2] Enable tests that use setAlwaysAcceptCookies()
https://bugs.webkit.org/show_bug.cgi?id=98891
Unreviewed gardening. Enable WebKit2 tests that use
setAlwaysAcceptCookies(): this feature was added several months ago.
Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-10-11
- platform/wk2/TestExpectations:
- 4:36 AM Changeset in webkit [131043] by
-
- 2 edits in trunk/LayoutTests
[EFL] Rebaseline fast/css-generated-content/table-row-group-to-inline.html after r131004.
- platform/efl/fast/css-generated-content/table-row-group-to-inline-expected.txt:
- 4:25 AM Changeset in webkit [131042] by
-
- 3 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Rebaselining fast/css-generated-content/table-row-group-to-inline.html after r131004.
Adding a flaky crashing expectation for fast/css/style-scoped/style-scoped-apply-authot-styles.html.
- platform/gtk/TestExpectations:
- platform/gtk/fast/css-generated-content/table-row-group-to-inline-expected.txt:
- 4:20 AM Changeset in webkit [131041] by
-
- 3 edits in trunk/Source/WebCore
[Qt] More responsive scroll animations
https://bugs.webkit.org/show_bug.cgi?id=99016
Reviewed by Jocelyn Turcotte.
Changes the scrolling animations so they accelerate faster than they deccelerate,
making the animation respond faster to user input.
- platform/ScrollAnimatorNone.cpp:
(WebCore::ScrollAnimatorNone::parametersForScrollGranularity):
- platform/ScrollAnimatorNone.h:
(ScrollAnimatorNone):
- 4:10 AM Changeset in webkit [131040] by
-
- 2 edits in trunk/LayoutTests
[EFL] Unskip fast/dom/shadow/shadowdom-dynamic-styling.html
Seems to be passing consistently now.
- platform/efl/TestExpectations:
- 4:05 AM Changeset in webkit [131039] by
-
- 1 edit26 adds in trunk/LayoutTests
[EFL] Add baselines for editing/pasteboard.
https://bugs.webkit.org/show_bug.cgi?id=99018
Unreviewed EFL gardening.
Patch by Michał Pakuła vel Rutka <Michał Pakuła vel Rutka> on 2012-10-11
- platform/efl/editing/pasteboard/: 26 new baselines.
- 4:01 AM Changeset in webkit [131038] by
-
- 2 edits1 delete in trunk/LayoutTests
[EFL] More unreviewed gardening.
Revert my r130959, it turns out the tests being reported as
failing were ones which were not listed in TestExpectations at
all, so no cookie for me.
Also add `Missing' as a valid expectation for
fast/css/text-rendering.html. While at it remove the text
expectations for it, since the test is failing for us anyway.
- platform/efl/TestExpectations:
- platform/efl/fast/css/text-rendering-expected.txt: Removed.
- 3:12 AM Changeset in webkit [131037] by
-
- 3 edits in trunk/Source/WebCore
[CSS3 Media Queries] Aspect ratio value re-parsed when media query expression is evaluated
https://bugs.webkit.org/show_bug.cgi?id=99003
Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-10-11
Reviewed by Kenneth Rohde Christiansen.
Use CSSAspectRatioValue instead of CSSValueList to store aspect ratio value
in order to avoid re-parsing of aspect ratio data during media expression evaluation.
test: fast/media/w3c/test_media_queries.html
- css/MediaQueryEvaluator.cpp:
(WebCore::compareAspectRatioValue):
(WebCore):
(WebCore::aspect_ratioMediaFeatureEval):
(WebCore::device_aspect_ratioMediaFeatureEval):
- css/MediaQueryExp.cpp:
(WebCore::MediaQueryExp::MediaQueryExp):
- 2:53 AM Changeset in webkit [131036] by
-
- 24 edits1 add in trunk/Source
[Qt] Implement GraphicsSurfaceToken to replace uint64_t as token type.
https://bugs.webkit.org/show_bug.cgi?id=98501
Replace the token type for GraphicsSurface with a new class GraphicsSurfaceToken.
This is necessary in order to implement GraphicsSurface for Windows.
Depending on the platform a GraphicsSurfaceToken might contain a
WindowID (Linux/GLX), two IOSurfaceIDs (Mac) or in the future two HANDLEs (Windows).
The simple uint64_t is not sufficient anymore, since a single HANDLE in windows
can be 64bit already.
Reviewed by Noam Rosenthal.
Source/WebCore:
- Target.pri:
- platform/graphics/qt/GraphicsContext3DQt.cpp:
(GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::graphicsSurfaceToken):
- platform/graphics/surfaces/GraphicsSurface.cpp:
(WebCore::GraphicsSurface::create):
(WebCore::GraphicsSurface::exportToken):
- platform/graphics/surfaces/GraphicsSurface.h:
(GraphicsSurface):
- platform/graphics/surfaces/GraphicsSurfaceToken.h: Added.
(WebCore):
(GraphicsSurfaceToken):
(WebCore::GraphicsSurfaceToken::GraphicsSurfaceToken):
(WebCore::GraphicsSurfaceToken::operator!=):
(WebCore::GraphicsSurfaceToken::isValid):
- platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp:
(WebCore::GraphicsSurfacePrivate::GraphicsSurfacePrivate):
(WebCore::GraphicsSurfacePrivate::token):
(GraphicsSurfacePrivate):
(WebCore::GraphicsSurface::platformExport):
(WebCore::GraphicsSurface::platformImport):
- platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp:
(WebCore::GraphicsSurface::platformExport):
(WebCore::GraphicsSurface::platformImport):
- platform/graphics/texmap/TextureMapperBackingStore.cpp:
(WebCore::TextureMapperSurfaceBackingStore::setGraphicsSurface):
(WebCore::TextureMapperSurfaceBackingStore::setSurface):
- platform/graphics/texmap/TextureMapperBackingStore.h:
(TextureMapperSurfaceBackingStore):
(WebCore::TextureMapperSurfaceBackingStore::TextureMapperSurfaceBackingStore):
- platform/graphics/texmap/TextureMapperPlatformLayer.h:
(WebCore::TextureMapperPlatformLayer::graphicsSurfaceToken):
Source/WebKit2:
- Shared/ShareableSurface.cpp:
(WebKit::ShareableSurface::Handle::encode):
(WebKit::ShareableSurface::Handle::decode):
(WebKit::ShareableSurface::create):
(WebKit::ShareableSurface::createHandle):
- Shared/ShareableSurface.h:
(WebKit::ShareableSurface::Handle::graphicsSurfaceToken):
(Handle):
- Shared/WebCoreArgumentCoders.cpp:
(CoreIPC):
(CoreIPC::::encode):
(CoreIPC::::decode):
- Shared/WebCoreArgumentCoders.h:
(WebCore):
- UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
(WebKit::LayerTreeCoordinatorProxy::updateTileForLayer):
(WebKit::LayerTreeCoordinatorProxy::syncCanvas):
- UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h:
(LayerTreeCoordinatorProxy):
- UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in:
- UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
(WebKit::LayerTreeRenderer::syncCanvas):
- UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
(LayerTreeRenderer):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::syncCanvas):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
(CoordinatedGraphicsLayerClient):
- WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
(WebKit::LayerTreeCoordinator::syncCanvas):
- WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h:
(LayerTreeCoordinator):
- 2:50 AM Changeset in webkit [131035] by
-
- 3 edits2 adds in trunk
Web Inspector: [Elements] Breadcrumbs are not updated upon involved elements' className changes
https://bugs.webkit.org/show_bug.cgi?id=98887
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Breadcrumbs should be updated upon the "class" and "id" attribute changes of elements participating in the breadcrumb path.
Test: inspector/elements/breadcrumb-updates.html
- inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel):
(WebInspector.ElementsPanel.prototype._updateBreadcrumbIfNeeded):
LayoutTests:
- inspector/elements/breadcrumb-updates-expected.txt: Added.
- inspector/elements/breadcrumb-updates.html: Added.
- 2:43 AM Changeset in webkit [131034] by
-
- 5 edits in trunk/Source/WebKit2
[Qt][WK2] Avoid unnecessary calls in PageViewportController
https://bugs.webkit.org/show_bug.cgi?id=98886
Reviewed by Jocelyn Turcotte.
Remove leftover and unneeded update guards and visibility update
notifications to avoid unnecessary update cycles between the
controller an the client.
Previously didRenderFrame triggered updates for no reason since
animations on the page cause a lot of DidRenderFrame messages
for which the viewport state does not change.
- UIProcess/PageViewportController.cpp:
(WebKit::ViewportUpdateDeferrer::~ViewportUpdateDeferrer):
(WebKit::PageViewportController::didRenderFrame):
- UIProcess/PageViewportController.h:
(PageViewportController):
- UIProcess/qt/PageViewportControllerClientQt.cpp:
(WebKit::PageViewportControllerClientQt::setContentsScale):
(WebKit::PageViewportControllerClientQt::didChangeViewportAttributes):
(WebKit::PageViewportControllerClientQt::updateViewportController):
- UIProcess/qt/PageViewportControllerClientQt.h:
(PageViewportControllerClientQt):
- 2:32 AM Changeset in webkit [131033] by
-
- 3 edits in trunk/Source/WebKit2
[GTK] It should be possible to disable favicons in WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=98885
Reviewed by Carlos Garcia Campos.
Make support for favicons in WebKit2GTK+ disabled by default, and
allow enabling it even after calling webkit_web_context_get_favicon_database(),
by decoupling opening the IconDatabase, which will happen when
setting the path for the database directory, from creating the
instance of WebKitFaviconDatabase from WebKitWebContext.
- UIProcess/API/gtk/WebKitWebContext.cpp:
(_WebKitWebContextPrivate): Renamed faviconDatabasePath to
faviconDatabaseDirectory;
(ensureFaviconDatabase): Makes sure there's an instance of
WebKitFaviconDatabase created and associated to the context.
(webkit_web_context_set_favicon_database_directory): Use the
default path if NULL is passed, or the specified one, creating the
database if needed and opening it by setting it's path. If the
database is already open this method does nothing.
(webkit_web_context_get_favicon_database_directory): Return the
path or NULL if webkit_web_context_set_favicon_database_directory
has not been called yet.
(webkit_web_context_get_favicon_database): Return the instance of
WebKitFaviconDatabase, or create it if it doesn't exist yet, but
never set the path (would cause the icon database to be opened).
- UIProcess/API/gtk/tests/TestWebKitFaviconDatabase.cpp:
(testNotInitialized): New test to check that a NOT_INITIALIZED
error is got when using the database before setting its path.
(testSetDirectory): Call set_favicon_database_directory() here
instead of doing it in the constructor of FaviconDatabaseTest.
(beforeAll): Add testNotInitialized() to the test suite.
- 2:23 AM Changeset in webkit [131032] by
-
- 6 edits in trunk
Final newline (LF or CRLF) in paste buffer is converted to space
https://bugs.webkit.org/show_bug.cgi?id=80838
Patch by Kunihiko Sakamoto <ksakamoto@chromium.org> on 2012-10-11
Reviewed by Ryosuke Niwa.
Source/WebCore:
Currently newline characters are replaced with spaces when pasted
to text input. This behavior was introduced in r37539, with the
intention to follow the FireFox's behavior (see
https://bugs.webkit.org/show_bug.cgi?id=20461). However, FireFox
truncates newlines at the end of pasted text, instead of replacing
them with spaces. So this patch changes TextFieldInputType to cut
trailing newlines of inserted text.
Test: fast/forms/paste-multiline-text-input.html
- html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::handleBeforeTextInsertedEvent):
Truncates trailing newlines.
LayoutTests:
Verify that trailing newlines are stripped when pasted into text inputs.
- editing/input/paste-text-ending-with-interchange-newline-expected.txt:
Updated the expectation.
- fast/forms/paste-multiline-text-input.html:
Changed to use document.execCommand to mimic pasting, because setting
input.value attribute does not trigger beforeTextInserted event.
Added a test case to test trailing newlines.
- 2:13 AM Changeset in webkit [131031] by
-
- 6 edits in trunk
[EFL][WK2] Revisit setting API names and documentation
https://bugs.webkit.org/show_bug.cgi?id=98793
Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-10-11
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
Make setting API names to be consistent and revisit the documentation.
- UIProcess/API/efl/ewk_settings.cpp:
(ewk_settings_frame_flattening_enabled_set):
(ewk_settings_frame_flattening_enabled_get):
(ewk_settings_dns_prefetching_enabled_set):
(ewk_settings_dns_prefetching_enabled_get):
- UIProcess/API/efl/ewk_settings.h:
- UIProcess/API/efl/tests/test_ewk2_settings.cpp:
(TEST_F):
Tools:
Make frame flattening setting APIs to be consistent with others.
- MiniBrowser/efl/main.c:
(window_create):
- 1:59 AM Changeset in webkit [131030] by
-
- 4 edits in trunk/Source
Introduce Localizer::isRTL, and use it in DateTimeChooserImpl
https://bugs.webkit.org/show_bug.cgi?id=98992
Source/WebCore:
- platform/text/LocaleICU.cpp:
(WebCore::LocaleICU::isRTL): Need to initialize 'status'.
Source/WebKit/chromium:
- tests/LocalizedDateICUTest.cpp:
(TEST_F): Re-enabled isRTL test.
- 1:52 AM Changeset in webkit [131029] by
-
- 2 edits in trunk/Tools
Fix committers.py for the names of contributors to appear on webkit.org/team.html
https://bugs.webkit.org/show_bug.cgi?id=99004
Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-10-11
Reviewed by Yuta Kitamura
Some of the nicknames in the committers.py file are using the single quotes (')
but while parsing these, JSON throws an error: Single quotes (') are not allowed in JSON
Hence coverting these single quotes to (") so as the contributor names appear properly
on http://www.webkit.org/team.html
- Scripts/webkitpy/common/config/committers.py:
- 1:41 AM Changeset in webkit [131028] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: The 'X' of the close button of Settings view is not centered
https://bugs.webkit.org/show_bug.cgi?id=99008
Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-10-11
Reviewed by Alexander Pavlov.
Fixed text positioning in CSS.
- inspector/front-end/helpScreen.css:
(.help-close-button):
- 1:35 AM Changeset in webkit [131027] by
-
- 1 edit in branches/chromium/1229/Source/WebCore/inspector/front-end/inspector.css
Merge 125255 - Web Inspector: Search matches count view is flaky.
https://bugs.webkit.org/show_bug.cgi?id=93451
Patch by Sam D <dsam2912@gmail.com> on 2012-08-10
Reviewed by Pavel Feldman.
Modified css properties for aligning search panel.
No new tests.UI change.
- inspector/front-end/inspector.css:
(.search-results-matches):
TBR=commit-queue@webkit.org
BUG=153753
Review URL: https://codereview.chromium.org/11085069
- 1:31 AM Changeset in webkit [131026] by
-
- 3 edits in branches/chromium/1229/Source/WebCore/inspector/front-end
Merge 124886 - Web Inspector: Do not disable network tracking while profiling cpu.
https://bugs.webkit.org/show_bug.cgi?id=93359
Reviewed by Yury Semikhatsky.
Removed network tracking enabling/disabling machinery.
- inspector/front-end/CPUProfileView.js:
(WebInspector.CPUProfileType.prototype.buttonClicked):
- inspector/front-end/NetworkManager.js:
(WebInspector.NetworkManager.get this):
(WebInspector.NetworkManager.get NetworkAgent):
(WebInspector.NetworkManager):
- inspector/front-end/ResourceTreeModel.js:
(WebInspector.ResourceTreeModel):
TBR=vsevik@chromium.org
BUG=153748
Review URL: https://codereview.chromium.org/11087074
- 1:24 AM Changeset in webkit [131025] by
-
- 5 edits in trunk/LayoutTests
Unreviewed. Skip inspector/profiler/memory-instrumentation-canvas.html on JSC platforms until proper fix in platform specific canvas code.
https://bugs.webkit.org/show_bug.cgi?id=99001
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- platform/mac/TestExpectations:
- platform/win/TestExpectations:
- 1:23 AM Changeset in webkit [131024] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] Disable LocalizedDateICUTest.isRTL
https://bugs.webkit.org/show_bug.cgi?id=98992
- tests/LocalizedDateICUTest.cpp:
(TEST_F): Disabled.
- 1:22 AM Changeset in webkit [131023] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed gardening, test expectation update.
- platform/chromium/TestExpectations:
- 1:02 AM Changeset in webkit [131022] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] Attempt to fix LocalizedDateICUTest.isRTL
https://bugs.webkit.org/show_bug.cgi?id=98992
- tests/LocalizedDateICUTest.cpp:
(TEST_F):
- 12:45 AM Changeset in webkit [131021] by
-
- 14 edits in trunk/Source
Introduce Localizer::isRTL, and use it in DateTimeChooserImpl
https://bugs.webkit.org/show_bug.cgi?id=98992
Reviewed by Kentaro Hara.
Source/WebCore:
- Move the RTL detection code in WebKit/chromium/src/DateTimeChooserImpl.cpp to LocaleWin::isRTL()
- Introduce Localizer::isRTL as a pure virtual function
- Implement LocaleMac::isRTL with native API
- Implement LocaleICU::isRTL with ICU API
- Add dummy implementation: LocaleNone::isRTL
Add some tests to WebKit/chromium/tests/.
- platform/text/Localizer.h:
(Localizer): Declare pure virtual isRTL.
- platform/text/LocaleICU.h:
(LocaleICU): Declare isRTL.
- platform/text/LocaleICU.cpp:
(WebCore::LocaleICU::isRTL): Implemented with uloc_getCharacterOrientation.
- platform/text/LocaleNone.cpp:
(LocaleNone): Declare isRTL.
(WebCore::LocaleNone::isRTL): Added.
- platform/text/LocaleWin.h:
(LocaleWin): Declare isRTL.
- platform/text/LocaleWin.cpp:
(WebCore::LocaleWin::isRTL): Implemented.
- platform/text/mac/LocaleMac.h:
(LocaleMac): Declare isRTL.
- platform/text/mac/LocaleMac.mm:
(WebCore::LocaleMac::isRTL): Implemented.
Source/WebKit/chromium:
- src/DateTimeChooserImpl.cpp:
(WebKit::DateTimeChooserImpl::writeDocument): Use Localizer::isRTL.
- tests/LocaleMacTest.cpp:
(LocaleMacTest::isRTL): Added a helper function.
(TEST_F): Added tests.
- tests/LocaleWinTest.cpp:
(LocaleWinTest::isRTL): Added a helper function.
(TEST_F): Added tests.
- tests/LocalizedDateICUTest.cpp:
(LocalizedDateICUTest::isRTL): Added a helper function.
(TEST_F): Added tests.
- 12:31 AM Changeset in webkit [131020] by
-
- 3 edits in trunk/LayoutTests
[Qt] Unreviewed morning gardening, skip new failing tests.
- platform/qt-5.0-wk2/TestExpectations:
- platform/qt/TestExpectations:
- 12:24 AM Changeset in webkit [131019] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: TypeError in ConsoleMessage.js
https://bugs.webkit.org/show_bug.cgi?id=98999
Reviewed by Alexander Pavlov.
This patch is based on patch by John J. Barton.
Added a check that stack length is equal.
- inspector/front-end/ConsoleMessage.js:
(WebInspector.ConsoleMessageImpl.prototype.isEqual):
Oct 10, 2012:
- 11:40 PM Changeset in webkit [131018] by
-
- 6 edits in trunk/Source
Disallow full screen mode keyboard access by default.
https://bugs.webkit.org/show_bug.cgi?id=98971
<rdar://problem/12474226>
Reviewed by Sam Weinig.
Source/WebCore:
Fall back to requesting non-keyboard access if the client refuses to allow keyboard access.
- dom/Document.cpp:
(WebCore::Document::requestFullScreenForElement):
Source/WebKit/mac:
Only support full screen if keyboard access is not requested.
- WebView/WebView.mm:
(-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
Source/WebKit2:
Only support full screen if keyboard access is not requested.
- UIProcess/WebFullScreenManagerProxy.cpp:
(WebKit::WebFullScreenManagerProxy::supportsFullScreen):
- 11:05 PM Changeset in webkit [131017] by
-
- 12 edits2 copies3 adds in trunk
Web Inspector: NMI instrument HTMLCanvas element.
https://bugs.webkit.org/show_bug.cgi?id=98917
Reviewed by Yury Semikhatsky.
It also includes non intrusive instrumentation for skia classes.
Source/WebCore:
Test: inspector/profiler/memory-instrumentation-canvas.html
- WebCore.gypi:
- html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::reportMemoryUsage):
(WebCore):
- html/HTMLCanvasElement.h:
(HTMLCanvasElement):
- platform/graphics/ImageBuffer.cpp:
(WebCore::ImageBuffer::reportMemoryUsage):
(WebCore):
- platform/graphics/ImageBuffer.h:
(ImageBuffer):
- platform/graphics/chromium/ImageBufferDataSkia.h:
(ImageBufferData):
- platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::ImageBufferData::reportMemoryUsage):
(WebCore):
- platform/graphics/skia/MemoryInstrumentationSkia.cpp: Copied from Source/WebCore/platform/graphics/chromium/ImageBufferDataSkia.h.
(reportMemoryUsage):
- platform/graphics/skia/MemoryInstrumentationSkia.h: Copied from Source/WebCore/platform/graphics/chromium/ImageBufferDataSkia.h.
- platform/graphics/skia/NativeImageSkia.cpp:
LayoutTests:
- inspector/profiler/memory-instrumentation-cached-images-expected.txt:
- inspector/profiler/memory-instrumentation-cached-images.html:
- inspector/profiler/memory-instrumentation-canvas.html: Added.
- inspector/profiler/memory-instrumentation-test.js: Added.
(initialize_MemoryInstrumentationTest.InspectorTest._memoryBlockSize):
(initialize_MemoryInstrumentationTest.InspectorTest.validateMemoryBlockSize):
(initialize_MemoryInstrumentationTest):
- 10:24 PM Changeset in webkit [131016] by
-
- 4 edits in trunk/LayoutTests
[Qt] Unreviewed morning gardening.
- 9:56 PM Changeset in webkit [131015] by
-
- 2 edits in trunk/Source/WebCore
Document calls createElement with the wrong parameters.
https://bugs.webkit.org/show_bug.cgi?id=98907
Patch by Mike West <mkwst@google.com> on 2012-10-10
Reviewed by Kent Tamura.
Document::importNode calls Document::createElement with a QualifiedName
and ExceptionCode. The Document::createElement that takes a
QualifiedName doesn't generate an exception; the second argument is a
bool, which the ExceptionCode autocasts into.
Changing the argument to an explicit bool shouldn't have any visible
effect; no new tests are required.
- dom/Document.cpp:
(WebCore::Document::importNode):
- 9:55 PM Changeset in webkit [131014] by
-
- 12 edits1 add in trunk/Source
[BlackBerry] Fix assertion in NetworkJob::notifyChallengeResult.
https://bugs.webkit.org/show_bug.cgi?id=97397
Internal PR: 186597.
Internally reviewed by Yong Li, Joe Mason.
Patch by Lianghui Chen <liachen@rim.com> on 2012-10-10
Reviewed by George Staikos.
Source/WebCore:
Add a singleton AuthenticationChallengeManager to manage authentication
challenge dialog. It does following things:
Record page creation/deletion, so it knows what page is present or not.
Record page visibility change so it knows when to display a dialog or not.
Accept authentication challenge, and decide whether to postpone the
challenge dialog based on whether there is active authentication challenge
dialog already and whether its page is visible or not.
When a challenge result comes back, notify the result to all clients
authenticating for the same protection space, and then start the next
authentication challenge from the same page, if there is one.
When a page becomes visible, start the first authentication challenge
dialog that has been blocked before.
When an authentication challenge is requested, the NetworkJob will be
deferred so its initial response will be saved while waiting for
user decision on the challenge.
No new tests for platform specific internal change.
- PlatformBlackBerry.cmake:
- platform/blackberry/AuthenticationChallengeManager.cpp: Added.
(WebCore):
(ChallengeInfo):
(WebCore::ChallengeInfo::ChallengeInfo):
(AuthenticationChallengeManagerPrivate):
(WebCore::AuthenticationChallengeManagerPrivate::AuthenticationChallengeManagerPrivate):
(WebCore::AuthenticationChallengeManagerPrivate::resumeAuthenticationChallenge):
(WebCore::AuthenticationChallengeManagerPrivate::startAuthenticationChallenge):
(WebCore::AuthenticationChallengeManagerPrivate::pageExists):
(WebCore::AuthenticationChallengeManager::AuthenticationChallengeManager):
(WebCore::AuthenticationChallengeManager::pageCreated):
(WebCore::AuthenticationChallengeManager::pageDeleted):
(WebCore::AuthenticationChallengeManager::pageVisibilityChanged):
(WebCore::AuthenticationChallengeManager::authenticationChallenge):
(WebCore::AuthenticationChallengeManager::cancelAuthenticationChallenge):
(WebCore::AuthenticationChallengeManager::notifyChallengeResult):
(WebCore::AuthenticationChallengeManager::instance):
(WebCore::AuthenticationChallengeManager::init):
- platform/blackberry/AuthenticationChallengeManager.h:
(WebCore):
(AuthenticationChallengeManager):
- platform/blackberry/PageClientBlackBerry.h:
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
(WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
(WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
(WebCore::MediaPlayerPrivate::onAuthenticationNeeded):
(WebCore::MediaPlayerPrivate::notifyChallengeResult):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
(MediaPlayerPrivate):
- platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::NetworkJob):
(WebCore::NetworkJob::~NetworkJob):
(WebCore):
(WebCore::NetworkJob::handleNotifyStatusReceived):
(WebCore::NetworkJob::handleNotifyClose):
(WebCore::NetworkJob::shouldReleaseClientResource):
(WebCore::NetworkJob::sendRequestWithCredentials):
(WebCore::NetworkJob::notifyChallengeResult):
- platform/network/blackberry/NetworkJob.h:
(NetworkJob):
Source/WebKit/blackberry:
Update WebPage to use new AuthenticationChallengeManager.
Register page creation/deletion and visibility change to the new
AuthenticationChallengeManager.
Initialize AuthenticationChallengeManager in GlobalInitialize() function.
- Api/BlackBerryGlobal.cpp:
(BlackBerry::WebKit::globalInitialize):
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
(BlackBerry::WebKit::WebPagePrivate::~WebPagePrivate):
(BlackBerry::WebKit::WebPagePrivate::authenticationChallenge):
(BlackBerry::WebKit::WebPage::setVisible):
- Api/WebPage_p.h:
(WebPagePrivate):
- 9:49 PM Changeset in webkit [131013] by
-
- 2 edits in trunk/Source/Platform
Expose background color in WebLayer https://bugs.webkit.org/show_bug.cgi?id=98707
Patch by Scott Violet <sky@google.com> on 2012-10-10
Reviewed by James Robinson.
- chromium/public/WebLayer.h:
(WebLayer): Adds backgroundColor.
- 9:47 PM Changeset in webkit [131012] by
-
- 2 edits1 delete in trunk/LayoutTests
[Chromium] Unreviewed gardening, rebaselined.
- platform/chromium-mac-snowleopard/fast/css-generated-content/table-row-group-to-inline-expected.png:
- platform/chromium-mac/fast/css-generated-content/table-row-group-to-inline-expected.png: Removed.
- 9:44 PM Changeset in webkit [131011] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] Calendar picker: should use consistent Localizer object
https://bugs.webkit.org/show_bug.cgi?id=98983
Reviewed by Kentaro Hara.
In Source/WebKit/chromium/src/DateTimeChooserImpl.cpp, we used two
Localizer objects, one was m_localizer and another was 'localizer' local
object in writeDocument. We should use single Localizer object.
Also, Localizer::create(nullAtom) had unexpected behaviors in ICU
environment; e.g. Month labels in a calendar picker were numeric. This
patch fixes it, and this is covered by
fast/forms/date/calendar-picker-appearance.html.
- src/DateTimeChooserImpl.cpp:
(WebKit::DateTimeChooserImpl::writeDocument):
Use m_localizer.
- 9:26 PM Changeset in webkit [131010] by
-
- 2 edits in trunk/LayoutTests
compositing/images/truncated-direct-png-image.html has been failing on Mac since it was
added. Mark it as an expected image failure.
- platform/mac/TestExpectations:
- 9:07 PM Changeset in webkit [131009] by
-
- 4 edits in trunk
compositing/tiling/crash-reparent-tiled-layer.html is flakey
https://bugs.webkit.org/show_bug.cgi?id=82546
Reviewed by Beth Dakin.
Source/WebCore:
When calling layerTreeAsText() inside the document load event,
GraphicsLayerCA may have not flushed layers yet, so layer tree
properties that are affected by flushing (tiled layer, visible
rects) appeared flakey in tests.
Fix by forcing a flush before dumping the layer tree.
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::layerTreeAsText):
LayoutTests:
Unskip a previously-flakey tiled layer test that should not be flakey after this change.
- platform/mac/TestExpectations:
- 8:57 PM Changeset in webkit [131008] by
-
- 9 edits in trunk/Source/WebKit2
Unreviewed, rolling out r130972 and r130984.
http://trac.webkit.org/changeset/130972
http://trac.webkit.org/changeset/130984
https://bugs.webkit.org/show_bug.cgi?id=98986
Huge numbers of WK2 crashes (Requested by smfr on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-10
- Platform/CoreIPC/Connection.h:
(Connection):
- Platform/CoreIPC/MessageReceiverMap.cpp:
(CoreIPC::MessageReceiverMap::addMessageReceiver):
(CoreIPC::MessageReceiverMap::clearAllMessageReceivers):
(CoreIPC::MessageReceiverMap::knowsHowToHandleMessage):
(CoreIPC::MessageReceiverMap::dispatchMessage):
(CoreIPC::MessageReceiverMap::dispatchSyncMessage):
- Platform/CoreIPC/MessageReceiverMap.h:
(MessageReceiverMap):
- UIProcess/WebConnectionToWebProcess.h:
(WebConnectionToWebProcess):
- UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::knowsHowToHandleMessage):
(WebKit::WebContext::didReceiveMessage):
(WebKit::WebContext::didReceiveSyncMessage):
- UIProcess/WebContext.h:
(WebContext):
- UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didReceiveMessage):
(WebKit::WebProcessProxy::didReceiveSyncMessage):
- UIProcess/WebProcessProxy.h:
(WebProcessProxy):
- 8:41 PM Changeset in webkit [131007] by
-
- 2 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=98984
REGRESSION: Crash happens after we add non-top-level frame to the
ScrollingStateTree
Reviewed by Simon Fraser.
isRootLayer() can return true for layers that do not correspond to
the main frame. But we only want the ones that DO correspond to the
main frame!
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateBacking):
- 8:39 PM Changeset in webkit [131006] by
-
- 5 edits9 adds in trunk/LayoutTests
Import W3C test suite for performance.now()
https://bugs.webkit.org/show_bug.cgi?id=98953
Reviewed by Tony Gentilcore.
- http/tests/w3c/webperf/approved/HighResolutionTime/basic-expected.txt: Added.
- http/tests/w3c/webperf/approved/HighResolutionTime/basic.html: Added.
- http/tests/w3c/webperf/approved/HighResolutionTime/monotonic-clock-expected.txt: Added.
- http/tests/w3c/webperf/approved/HighResolutionTime/monotonic-clock.html: Added.
- http/tests/w3c/webperf/approved/HighResolutionTime/resources/now_frame.html: Added.
- http/tests/w3c/webperf/approved/HighResolutionTime/test_cross_frame_start-expected.txt: Added.
- http/tests/w3c/webperf/approved/HighResolutionTime/test_cross_frame_start.html: Added.
- platform/chromium/TestExpectations: Skipped everywhere until we remove the prefix.
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- platform/qt/TestExpectations:
- 8:20 PM Changeset in webkit [131005] by
-
- 5 edits2 adds in trunk
<rdar://problem/12472460> text-combine doesn’t use third- and quarter-width variants when used with @font-face
https://bugs.webkit.org/show_bug.cgi?id=98961
Reviewed by Tim Horton.
Source/WebCore:
Test: fast/text/text-combine-with-font-face.html
- css/CSSSegmentedFontFace.cpp:
(WebCore::CSSSegmentedFontFace::getFontData): Added the width variant to the
key used for entries in the font data table, so that we can return different
font data for different width variants.
- platform/graphics/FontWidthVariant.h: Defined FontWidthVariantWidth for
use in the computation of the above key.
- rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::combineText): Added a local variable to store
the font selector before changing the font description. Previously, by the time
we tried to get the font selector from the font, it had already been cleared,
so we called Font::update() with a 0 font selector, meaning @font-face fonts
could not be selected.
LayoutTests:
- fast/text/text-combine-with-font-face-expected.html: Added.
- fast/text/text-combine-with-font-face.html: Added.
- 8:17 PM Changeset in webkit [131004] by
-
- 43 edits2 adds in trunk
Move :before and :after into the DOM
https://bugs.webkit.org/show_bug.cgi?id=95117
Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-10-10
Reviewed by Eric Seidel.
Source/WebCore:
Reimplement generated content :before and :after as DOM Elements. Now ElementRareData has
two RefPtrs to PseudoElements for the generated content and Node has methods for traversing
the tree including generated content.
This allows the generated content to be treated as real nodes instead of anonymous and take
part in the usual recalcStyle and attach flow which fixes many bugs and vastly simplifies the
lifecycle of generated content.
No new tests needed for now.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- dom/DOMAllInOne.cpp:
- dom/Element.cpp:
(WebCore::Element::attach): Add generated content if needed.
(WebCore::Element::detach): Remove all child generated content.
(WebCore::Element::recalcStyle): Add or remove generated content based on the new style.
(WebCore::Element::updatePseudoElement): Updates pseudo content based on a pseudoId.
(WebCore):
(WebCore::Element::createPseudoElementIfNeeded):
(WebCore::Element::beforePseudoElement):
(WebCore::Element::afterPseudoElement):
- dom/Element.h:
(WebCore):
(Element):
- dom/ElementRareData.h:
(ElementRareData):
(WebCore::ElementRareData::setPseudoElement):
(WebCore):
(WebCore::ElementRareData::pseudoElement):
- dom/Node.cpp:
(WebCore::Node::pseudoAwarePreviousSibling):
(WebCore):
(WebCore::Node::pseudoAwareNextSibling):
(WebCore::checkAcceptChild): Forbid moving PseudoElements for sanity. The code never does this.
- dom/Node.h:
(Node):
(WebCore::Node::isPseudoElement):
(WebCore::Node::pseudoId): Fast path that only calls virtualPseudoId if the node has custom callbacks so isPseudoElement is fast.
(WebCore::Node::virtualPseudoId):
(WebCore::Node::isBeforePseudoElement):
(WebCore::Node::isAfterPseudoElement):
- dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::nextRenderer): Changed to find the next sibling of pseudos for insertion.
- dom/PseudoElement.cpp: Added.
(WebCore):
(WebCore::pseudoElementName):
(WebCore::PseudoElement::PseudoElement):
(WebCore::PseudoElement::pseudoRendererIsNeeded):
(WebCore::PseudoElement::customStyleForRenderer):
(WebCore::PseudoElement::attach):
(WebCore::PseudoElement::rendererIsNeeded):
(WebCore::PseudoElement::updateChildStyle): Propagates the style downward into the anonymous renderers for the content.
(WebCore::PseudoElement::didRecalcStyle):
(WebCore::PseudoElement::createRendererForContent): Refactored from RenderObjectChildList.
- dom/PseudoElement.h: Added.
(WebCore):
(PseudoElement):
(WebCore::PseudoElement::create):
(WebCore::toPseudoElement):
- rendering/HitTestResult.cpp:
(WebCore::HitTestResult::setInnerNode): Hit testing a PseudoElement should really hit the parent.
(WebCore::HitTestResult::setInnerNonSharedNode): Same as above.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::styleDidChange): Remove old generated content code, same for below.
(WebCore::RenderBlock::splitBlocks):
(WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
(WebCore::RenderBlock::createReplacementRunIn):
(WebCore::RenderBlock::renderName):
- rendering/RenderBlock.h:
(RenderBlock):
- rendering/RenderButton.cpp:
- rendering/RenderButton.h:
(RenderButton):
- rendering/RenderCounter.cpp:
(WebCore::RenderCounter::originalText):
- rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::RenderDeprecatedFlexibleBox::renderName):
- rendering/RenderGrid.cpp:
(WebCore::RenderGrid::renderName):
- rendering/RenderInline.cpp:
(WebCore::RenderInline::styleDidChange):
(WebCore::RenderInline::addChildIgnoringContinuation):
(WebCore::RenderInline::splitInlines):
(WebCore::RenderInline::renderName):
- rendering/RenderListItem.cpp:
(WebCore::RenderListItem::updateMarkerLocation):
- rendering/RenderMultiColumnBlock.cpp:
(WebCore::RenderMultiColumnBlock::renderName):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::createObject):
- rendering/RenderObject.h:
(WebCore::RenderObject::isPseudoElement):
(RenderObject):
(WebCore::RenderObject::generatingNode):
- rendering/RenderObjectChildList.cpp:
- rendering/RenderObjectChildList.h:
(RenderObjectChildList):
- rendering/RenderRubyText.cpp:
- rendering/RenderRubyText.h:
(RenderRubyText):
- rendering/RenderTableCell.h:
(WebCore::RenderTableCell::renderName):
- rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::styleDidChange):
- rendering/RenderTableRow.h:
(WebCore::RenderTableRow::renderName):
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::addChild):
- rendering/RenderTableSection.h:
(WebCore::RenderTableSection::renderName):
- rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):
LayoutTests:
Regenerated some baselines for tests given the new generated content architecture and disabled
tests that are testing generated content on inputs which were wrong.
- fast/css-generated-content/before-content-continuation-chain-expected.txt:
- platform/chromium-mac/fast/css-generated-content/table-row-group-to-inline-expected.png:
- platform/chromium/TestExpectations: Disable the tests for generated content on inputs. A follow up CL with remove these tests.
- platform/mac/fast/css-generated-content/table-row-group-to-inline-expected.png:
- platform/mac/fast/css-generated-content/table-row-group-to-inline-expected.txt:
This test always produced wrong output because we leave an anonymous RenderTable in the tree,
and now that generated content is handled like DOM nodes this test renders differently since the
content ends up after the left over RenderTable. Both outputs are wrong until Bug 86261 is fixed.
- 8:13 PM Changeset in webkit [131003] by
-
- 12 edits4 copies in trunk/Source
Add more Objective-C WebKit2 DOM API skeletons.
https://bugs.webkit.org/show_bug.cgi?id=98981
Reviewed by Anders Carlsson.
Source/WebCore:
- WebCore.exp.in:
Add necessary export.
Source/WebKit2:
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.h:
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.mm:
- WebProcess/InjectedBundle/API/mac/WKDOMElement.h:
- WebProcess/InjectedBundle/API/mac/WKDOMElement.mm:
Update guards to actually do something. CLANG is never defined, but clang is.
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.h:
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
- Abstracts DOM object caching into the DOMCache class which can only be used as a singleton.
- Adds WKDOMRange class extension to allow manipulating its internal pointer for caching purposes.
- Add WKDOMRange conversion functions.
- WebProcess/InjectedBundle/API/mac/WKDOMNode.h:
- WebProcess/InjectedBundle/API/mac/WKDOMNode.mm:
Rename _node to _impl for consistency.
- WebProcess/InjectedBundle/API/mac/WKDOMRange.h:
- WebProcess/InjectedBundle/API/mac/WKDOMRange.mm:
(-[WKDOMRange _initWithImpl:WebCore::]):
(-[WKDOMRange initWithDocument:]):
(-[WKDOMRange dealloc]):
(-[WKDOMRange startContainer]):
(-[WKDOMRange startOffset]):
(-[WKDOMRange endContainer]):
(-[WKDOMRange endOffset]):
(-[WKDOMRange text]):
Added. Only offers base range functionality.
- WebProcess/InjectedBundle/API/mac/WKDOMTextIterator.h:
- WebProcess/InjectedBundle/API/mac/WKDOMTextIterator.mm:
(-[WKDOMTextIterator initWithRange:]):
(-[WKDOMTextIterator advance]):
(-[WKDOMTextIterator atEnd]):
(-[WKDOMTextIterator currentRange]):
(-[WKDOMTextIterator currentTextPointer]):
(-[WKDOMTextIterator currentTextLength]):
Added. Almost identical to WebTextIterator API in WebKit.
- 8:07 PM Changeset in webkit [131002] by
-
- 3 edits in trunk/Source/WebCore
Minimize the recent template explosion in SelectorChecker.
https://bugs.webkit.org/show_bug.cgi?id=98829
Reviewed by Antti Koivisto.
We've recently added the capability to switch sibling traversal strategy to SelectorChecker, at some readability/clarity expense.
This patch tries to minimize the surface of this expense to SelectorChecker::checkOneSelector.
No new tests, no change in behavior.
- css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkSelector): Turned back into a function.
(WebCore::SelectorChecker::checkOneSelector): Changed to specialize on traversal strategy, rather than the context, which was less clear.
(WebCore::SelectorChecker::DOMTraversalStrategy::isFirstChild): Turned into a function.
(WebCore::SelectorChecker::DOMTraversalStrategy::isLastChild): Ditto.
(WebCore::SelectorChecker::DOMTraversalStrategy::isFirstOfType): Ditto.
(WebCore::SelectorChecker::DOMTraversalStrategy::isLastOfType): Ditto.
(WebCore::SelectorChecker::DOMTraversalStrategy::countElementsBefore): Ditto.
(WebCore::SelectorChecker::DOMTraversalStrategy::countElementsOfTypeBefore): Ditto.
(WebCore::SelectorChecker::DOMTraversalStrategy::countElementsAfter): Ditto.
(WebCore::SelectorChecker::DOMTraversalStrategy::countElementsOfTypeAfter): Ditto.
- css/SelectorChecker.h:
(DOMTraversalStrategy): Changed into a class, rather than a template.
(SelectorChecker): Turned back into a function.
- 8:06 PM Changeset in webkit [131001] by
-
- 11 edits in trunk/Source/WebCore
High res times should start at 0
https://bugs.webkit.org/show_bug.cgi?id=84912
Reviewed by Tony Gentilcore.
Test: Existing Navigation Timing tests.
- inspector/InspectorInstrumentation.cpp: Use legacy document time, pending 98223.
(WebCore):
(WebCore::InspectorInstrumentation::didFinishLoadingImpl):
- inspector/InspectorResourceAgent.cpp:
(WebCore::buildObjectForTiming):
- loader/DocumentLoadTiming.cpp:
(WebCore::DocumentLoadTiming::convertMonotonicTimeToLegacyDocumentTime):
(WebCore):
(WebCore::DocumentLoadTiming::convertMonotonicTimeToZeroBasedDocumentTime):
(WebCore::DocumentLoadTiming::markNavigationStart):
- loader/DocumentLoadTiming.h:
(DocumentLoadTiming):
(WebCore::DocumentLoadTiming::navigationStart): These just report raw monotonic times now.
(WebCore::DocumentLoadTiming::unloadEventStart):
(WebCore::DocumentLoadTiming::unloadEventEnd):
(WebCore::DocumentLoadTiming::redirectStart):
(WebCore::DocumentLoadTiming::redirectEnd):
(WebCore::DocumentLoadTiming::fetchStart):
(WebCore::DocumentLoadTiming::responseEnd):
(WebCore::DocumentLoadTiming::loadEventStart):
(WebCore::DocumentLoadTiming::loadEventEnd):
- page/PerformanceTiming.cpp:
(WebCore::PerformanceTiming::navigationStart): Convert these back to legacy document times.
(WebCore::PerformanceTiming::unloadEventStart):
(WebCore::PerformanceTiming::unloadEventEnd):
(WebCore::PerformanceTiming::redirectStart):
(WebCore::PerformanceTiming::redirectEnd):
(WebCore::PerformanceTiming::fetchStart):
(WebCore::PerformanceTiming::responseEnd):
(WebCore::PerformanceTiming::loadEventStart):
(WebCore::PerformanceTiming::loadEventEnd):
(WebCore::PerformanceTiming::resourceLoadTimeRelativeToAbsolute):
(WebCore::PerformanceTiming::monotonicTimeToIntegerMilliseconds):
- platform/network/ResourceLoadTiming.cpp:
(WebCore::ResourceLoadTiming::convertResourceLoadTimeToMonotonicTime):
- platform/network/ResourceLoadTiming.h:
(ResourceLoadTiming):
- 7:47 PM Changeset in webkit [131000] by
-
- 4 edits in trunk
Tests failure on Chromium Mac after r130821
https://bugs.webkit.org/show_bug.cgi?id=98865
Reviewed by Adam Barth.
Source/WebCore:
Updating the check for USE(HARFBUZZ_NG) to check for Mac Chromium, as the HARFBUZZ_NG flag isn't
actually set, despite us using Harfbuzz. This unbreaks Chromium Mac as we diagnose the root
cause of this issue.
- rendering/RenderBlockLineLayout.cpp:
(WebCore::setLogicalWidthForTextRun):
LayoutTests:
Removing failing test entries.
- platform/chromium/TestExpectations:
- 7:40 PM Changeset in webkit [130999] by
-
- 3 edits2 adds in trunk
SVGTextRunRenderingContext changes font data in the glyph page, but it shouldn't
https://bugs.webkit.org/show_bug.cgi?id=98755
Reviewed by Eric Seidel.
Source/WebCore:
The code in SVGTextRunRenderingContext::glyphDataForCharacter, when it
encounters an <altglyph> tag, immediately replaces the font data for a
glyph with font data for the primary font, presumably to meet the SVG
spec requirement: "If the references to alternate glyphs do not result
in successful identification of alternate glyphs to use, then the
character(s) that are inside of the ‘altGlyph’ element are rendered as
if the ‘altGlyph’ element were a ‘tspan’ element instead."
If the alt glyph is not then found we are in the case from the spec
and indeed we should use the primary font. However, we end up replacing the GlyphPage
entry for the character with primary font data, which we should not do
because the glyph page might be used in some place that does not have
the alt glyph tag.
Furthermore, this causes object lifetime problems for font data, because
in cases where the font data that is replaced is for the system fallback
font the GlyphPage will live forever with no knowldege that it contains
font data pointers into font data other that the system fallback. The
replaced font data may be deleted while the pointer lives on in the
system fallback page.
The fix is simply not to replace the font data in the page.
Test: svg/text/alt-glpyh-on-fallback-font-crash.html
- rendering/svg/SVGTextRunRenderingContext.cpp:
(WebCore::SVGTextRunRenderingContext::glyphDataForCharacter): Keep track of the original font data and put it back
in the glyph page when the method has finished.
LayoutTests:
New test case that includes an alt-glyph that comes from the system
fallback font (because the alt-glyph doesn't reference anything). This
test crashes on Chromium linux without the patch, and may crash on
other platforms too.
- svg/text/alt-glpyh-on-fallback-font-crash.html: Added.
- 7:33 PM Changeset in webkit [130998] by
-
- 2 edits1 copy in trunk/Source/Platform
[chromium] Add entrypoints to set frame contents and recycle resources in WebDelegatedRendererLayer
https://bugs.webkit.org/show_bug.cgi?id=98833
Reviewed by James Robinson.
This is needed for https://codereview.chromium.org/10915298
- chromium/public/WebDelegatedRendererLayer.h:
(cc):
(WebKit):
(WebDelegatedRendererLayer):
- 7:26 PM Changeset in webkit [130997] by
-
- 6 edits in trunk
column-count: 0 should not prevent margin-collapse through
https://bugs.webkit.org/show_bug.cgi?id=65159
Patch by Tab Atkins <jackalmage@gmail.com> on 2012-10-10
Reviewed by Tony Chang.
Source/WebCore:
This patch makes "column-count:0" be properly recognized as invalid syntax,
as it violates the property grammar in the spec.
Tests: fast/multicol/zeroColumnCount.html
- css/CSSParser.cpp:
(WebCore::CSSParser::validUnit):
(WebCore::CSSParser::parseValue):
- css/CSSParser.h:
LayoutTests:
Fixed the zeroColumnCount.html test to properly test that "0" is an invalid CSS value,
rather than just ensuring that it doesn't crash.
- fast/multicol/zeroColumnCount-expected.txt:
- fast/multicol/zeroColumnCount.html:
- 7:24 PM Changeset in webkit [130996] by
-
- 2 edits in trunk/Source/WebCore
[WK2] Safari crashes on error when using CFNetwork
https://bugs.webkit.org/show_bug.cgi?id=98965
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-10-10
Reviewed by Sam Weinig.
The code of ResourceErrorMac when using CFNetwork was assuming
there is always either a CFError or an NSError associated with
any ResourceError.
This is not true on WebKit2 where error can be generic errors
in the WebProcess (for example a cannotShowURLError).
The code was crashing when trying to invoke function on the
non-existing CFError.
This patch fixes the issue by handling that third case separately.
If the ResourceError is a generic error, a new NSError is created,
similarily to what is done in the non-CFNetwork case.
- platform/network/mac/ResourceErrorMac.mm:
(WebCore::ResourceError::nsError):
- 7:07 PM Changeset in webkit [130995] by
-
- 8 edits6 adds in trunk
Invalid values for media query features are not handled
https://bugs.webkit.org/show_bug.cgi?id=97006
Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
This patch improves pass rate of CSS3 Media Queries test suite
by making media expressions compliant with W3C specification. Few
performance issues are fixed by removal of string comparison during
media expression evaluation.
Tests: fast/media/w3c/test_media_queries.html
- css/CSSGrammar.y: Handle media query expression with specified media restrictor as invalid.
- css/MediaQuery.cpp:
(WebCore::MediaQuery::serialize): Serialize invalid query according to specification.
- css/MediaQueryEvaluator.cpp:
(WebCore::orientationMediaFeatureEval): Compare CSSValueID instead of strings.
(WebCore::view_modeMediaFeatureEval): Compare CSSValueID instead of strings.
(WebCore::pointerMediaFeatureEval): Compare CSSValueID instead of strings.
- css/MediaQueryExp.cpp:
(WebCore::MediaQueryExp::MediaQueryExp): Check that media features initialized with correct values.
LayoutTests:
Imported CSS3 Media Queries test suite from http://www.w3.org/Style/CSS/Test/MediaQueries/20120229/
- fast/media/media-query-invalid-value.html: Fixed invalid media query.
- fast/media/media-query-serialization.html: Fixed invalid media query.
- fast/media/w3c/README: Added.
- fast/media/w3c/resources/media_queries_iframe.html: Added. (Imported from w3c test suite)
- fast/media/w3c/test_media_queries-expected.txt: Added.
- fast/media/w3c/test_media_queries.html: Added. (Imported from w3c test suite)
- 7:05 PM Changeset in webkit [130994] by
-
- 7 edits in trunk/Source
[Chromium] Smoother animation for non-RAF 2D canvas animations
https://bugs.webkit.org/show_bug.cgi?id=97918
Patch by Justin Novosad <junov@chromium.org> on 2012-10-10
Reviewed by Stephen White.
Source/WebCore:
Reduces animation jank by preventing the accumulation of multiple
frames of backlog in the deferred canvas rendering queue. When the
animation is more than one full frame ahead of the compositor, an
immediate flush is triggered. This takes into account overdraw
elimination by the skip-on-clear optimization that is built-in to
SkDeferredCanvas, to allow non-RAF animations that clear the canvas at
each frame to run without any rate limiting. This change also
incidentally improves frame rate in many cases by providing more
granular batching of GPU API calls, resulting in better pipelining
through the command buffer.
Test: webkit_unit_test Canvas2DLayerManagerTest.testDeferredFrame
- platform/graphics/chromium/Canvas2DLayerBridge.cpp:
(WebCore::Canvas2DLayerBridge::Canvas2DLayerBridge):
(WebCore::Canvas2DLayerBridge::limitPendingFrames):
Called at the end of a task (usually a scheduled script action) that
invoked 2d canvas rendering context methods. The end of the task
marks the completion of a displayable frame. This method will trigger
a flush if it detects that the layer has pending draw commands that
are more that one frame old.
(WebCore):
(WebCore::Canvas2DLayerBridge::flushedDrawCommands):
(WebCore::Canvas2DLayerBridge::didFlushPendingCommands):
(WebCore::Canvas2DLayerBridge::skippedPendingDrawCommands):
(WebCore::Canvas2DLayerBridge::flush):
(WebCore::Canvas2DLayerBridge::contextAcquired):
- platform/graphics/chromium/Canvas2DLayerBridge.h:
(Canvas2DLayerBridge):
- platform/graphics/chromium/Canvas2DLayerManager.cpp:
(WebCore::Canvas2DLayerManager::~Canvas2DLayerManager):
(WebCore::Canvas2DLayerManager::willProcessTask):
(WebCore):
(WebCore::Canvas2DLayerManager::didProcessTask):
(WebCore::Canvas2DLayerManager::layerDidDraw):
- platform/graphics/chromium/Canvas2DLayerManager.h:
(Canvas2DLayerManager):
Source/WebKit/chromium:
New unit test to verify the automatic flushing of deferred 2d canvas
layers when scripted animations are more than one full frame ahead
of the compositor. Also verifies that automatic flushing does not
kick-in when the skip on clear optimization fires
- DEPS:
- tests/Canvas2DLayerManagerTest.cpp:
(FakeCanvas2DLayerBridge::fakeSkipPendingDrawCommands):
To fake the skip on clear optimization
(FakeCanvas2DLayerBridge):
(Canvas2DLayerManagerTest):
(Canvas2DLayerManagerTest::doDeferredFrameTestTask):
Method that simulates a javascript scheduled action that draws to
a 2D canvas layer
(DeferredFrameTestTask):
Task object to simulate a scheduled action. This is so the unit
test can cover the TaskObserver behavior of Canvas2DLayerManager.
(Canvas2DLayerManagerTest::DeferredFrameTestTask::DeferredFrameTestTask):
(Canvas2DLayerManagerTest::deferredFrameTest):
The unit test implementation, which uses the WebThread run loop to
post tasks that touch the canvas layer.
- 6:52 PM Changeset in webkit [130993] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Do not perform backing store blit for animations during one-shot drawing synchronization
https://bugs.webkit.org/show_bug.cgi?id=98944
Patch by Andrew Lo <anlo@rim.com> on 2012-10-10
Reviewed by Rob Buis.
Internally reviewed by: Arvid Nilsson.
Internal PR 220014
Prevent animations from causing a backing store blit during a
one-shot drawing synchronization.
- Api/WebPageCompositor.cpp:
(BlackBerry::WebKit::WebPageCompositorPrivate::animationFrameChanged):
- 6:45 PM Changeset in webkit [130992] by
-
- 4 edits in trunk/Source/WebKit/chromium
[Chromium] Update selection on long press to match normal delimiters.
https://bugs.webkit.org/show_bug.cgi?id=98947
Reviewed by Adam Barth.
Make the long press selection behaviour consistent.
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleGestureEvent):
(WebKit::WebViewImpl::detectContentOnTouch):
- src/WebViewImpl.h:
(WebViewImpl):
- tests/WebViewTest.cpp:
- 6:40 PM Changeset in webkit [130991] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Fix crash for detached node when validating selection change.
https://bugs.webkit.org/show_bug.cgi?id=98926
Reviewed by Rob Buis.
PR 220628.
Guard against detached nodes when generating selection rect.
- WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::visibleTextQuads):
- 6:37 PM Writing Layout Tests for DumpRenderTree edited by
- (diff)
- 6:26 PM TestExpectations edited by
- (diff)
- 6:25 PM Changeset in webkit [130990] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Adjust spell checking location to update after the cursor position is set.
https://bugs.webkit.org/show_bug.cgi?id=98904
Reviewed by Rob Buis.
PR 215172.
Delay calculation of caret position until it is updated on mouse release
handling.
Reviewed Internally by Nima Ghanavatian.
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::shouldRequestSpellCheckingOptionsForPoint):
(BlackBerry::WebKit::InputHandler::requestSpellingCheckingOptions):
- 6:24 PM Changeset in webkit [130989] by
-
- 7 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=98968
REGRESSION: Unable to scroll with trackpad on some websites after
r130783
Reviewed by Simon Fraser.
This bug seems to reproduce mostly on web pages that require login.
The re-routing causes extra churn of the RenderLayerBacking, and we
end up destroying and re-creating the backing and therefore the
ScrollingStateNodes, and when the timing is just wrong we get into a
state where the ScrollingTree has a set of incorrect information.
This patch fixes the bug by making sure the ScrollingStateNodes keep
the ScrollingTree in synch with their re-set data.
Tell the ScrollingStateTree that the root layer has changed.
- page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::frameViewRootLayerDidChange):
New virtual function will set every property as having changed.
- page/scrolling/ScrollingStateNode.h:
(WebCore::ScrollingStateNode::setHasChangedProperties):
- page/scrolling/ScrollingStateScrollingNode.cpp:
(WebCore::ScrollingStateScrollingNode::setHasChangedProperties):
(WebCore):
- page/scrolling/ScrollingStateScrollingNode.h:
When the root layer changes, make sure we update the ScrollingTree
appropriately by indicating that every property could have changed.
- page/scrolling/ScrollingStateTree.cpp:
(WebCore::ScrollingStateTree::rootLayerDidChange):
(WebCore):
- page/scrolling/ScrollingStateTree.h:
(ScrollingStateTree):
- 6:18 PM Changeset in webkit [130988] by
-
- 2 edits in trunk/Source/WebCore
[Chromium] Crash on SpellChecker::didCheck()
https://bugs.webkit.org/show_bug.cgi?id=98476
Reviewed by Kent Tamura.
SpellChecker::didCheck() assumed m_processingRequest is non-NULL. However, SpellChecker::invokeRequest()
calls SpellCheckRequest::didCancel(), which results didCheck() with NULL m_processingRequest.
This chagne eliminates the problematic didCheck().
No new tests. The case depends on specific timing and is hard to hit by automated testing.
- editing/SpellChecker.cpp:
(WebCore::SpellChecker::didCheck):
- 6:00 PM Changeset in webkit [130987] by
-
- 10 edits2 adds in trunk
https://bugs.webkit.org/show_bug.cgi?id=95664
[Shadow DOM] should be able to be available without <style scoped>
Reviewed by Dimitri Glazkov.
Source/WebCore:
This change relaxes ENABLE(STYLE_SCOPED) compilation guard
and styleScopedEnabled() runtime guard. The flags now masks
user visible bits of the code, rather than all of it.
This change also eliminates some redundant guards for simplicity.
Test: fast/dom/shadow/style-scoped-not-enabled.html
- css/StyleResolver.cpp:
(WebCore::StyleResolver::matchScopedAuthorRules):
(WebCore::StyleResolver::locateCousinList):
(WebCore::StyleResolver::canShareStyleWithElement):
(WebCore::StyleResolver::locateSharedStyle):
- css/StyleScopeResolver.cpp:
(WebCore::StyleScopeResolver::scopeFor):
- css/StyleScopeResolver.h:
(WebCore):
- html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::HTMLStyleElement):
(WebCore::HTMLStyleElement::parseAttribute):
(WebCore::HTMLStyleElement::scopedAttributeChanged):
(WebCore::HTMLStyleElement::isRegisteredAsScoped):
(WebCore::HTMLStyleElement::registerWithScopingNode):
(WebCore::HTMLStyleElement::unregisterWithScopingNode):
(WebCore::HTMLStyleElement::insertedInto):
(WebCore::HTMLStyleElement::removedFrom):
(WebCore::HTMLStyleElement::scoped):
(WebCore::HTMLStyleElement::scopingElement):
- html/HTMLStyleElement.h:
(HTMLStyleElement):
- testing/InternalSettings.cpp: Exporsing a flag for testing.
(WebCore::InternalSettings::Backup::Backup):
(WebCore::InternalSettings::Backup::restoreTo):
(WebCore::InternalSettings::setStyleScopedEnabled):
(WebCore):
- testing/InternalSettings.h: Exporsing a flag for testing.
(Backup):
(InternalSettings):
- testing/InternalSettings.idl: Exporsing a flag for testing.
LayoutTests:
- fast/dom/shadow/style-scoped-not-enabled-expected.txt: Added.
- fast/dom/shadow/style-scoped-not-enabled.html: Added.
- 6:00 PM Changeset in webkit [130986] by
-
- 2 edits in trunk/Source/WebKit
[BlackBerry] Install inspector files into staging directory.
https://bugs.webkit.org/show_bug.cgi?id=98930
Reviewed by Rob Buis.
Internally reviewed by Ming Xie.
Install the web inspector resources into the staging directory to make it easier to flash to device.
- PlatformBlackBerry.cmake:
- 5:45 PM Changeset in webkit [130985] by
-
- 3 edits in trunk/Source/WebCore
[WebGL] [On Mac] queried attributes and uniforms need to return the original variable name, not the mapped name.
https://bugs.webkit.org/show_bug.cgi?id=98470
Reviewed by Timothy Horton.
When a variable name is too long we translate to a shorter version and keep a mapping between the long and short names.
However, when querying for a variable client side using getActiveAttrib or getActiveUniform, we accidentally return the
translated names. This fix makes these methods return the original variable names.
Tested using Khronos WebGL conformance suite:
conformance/glsl/misc/glsl-long-variable-names.html
- platform/graphics/GraphicsContext3D.h:
(GraphicsContext3D):
- platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: getActiveAttrib and getActiveUniform
now use GraphicsContext3D::originalSymbolName to find the original variable name.
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore):
(WebCore::GraphicsContext3D::originalSymbolName): This method returns the original variable name given
the mapped name.
- 5:30 PM Changeset in webkit [130984] by
-
- 3 edits in trunk/Source/WebKit2
Stop crashing left and right.
- UIProcess/WebConnectionToWebProcess.h:
(WebKit::WebConnectionToWebProcess::webProcessProxy):
Add a getter.
- UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::fromConnection):
The WebProcessProxy is not the Connection::Client, the WebConnectionToWebProcess is.
- 5:26 PM Changeset in webkit [130983] by
-
- 23 edits in trunk/Source/WebCore
Switch over CachedResource::data() from taking a SharedBuffer to taking a ResourceBuffer.
https://bugs.webkit.org/show_bug.cgi?id=98952
Reviewed by Anders Carlsson.
No new tests (No behavior change).
- html/ImageDocument.cpp:
(WebCore::ImageDocumentParser::appendBytes):
(WebCore::ImageDocumentParser::finish):
- loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::sendDataToResource):
(WebCore::SubresourceLoader::didFinishLoading):
- loader/cache/CachedCSSStyleSheet.cpp:
(WebCore::CachedCSSStyleSheet::data):
- loader/cache/CachedCSSStyleSheet.h:
(WebCore):
(CachedCSSStyleSheet):
- loader/cache/CachedFont.cpp:
(WebCore::CachedFont::data):
- loader/cache/CachedFont.h:
(WebCore):
(CachedFont):
- loader/cache/CachedImage.cpp:
(WebCore::CachedImage::data):
- loader/cache/CachedImage.h:
(CachedImage):
- loader/cache/CachedRawResource.cpp:
(WebCore::CachedRawResource::data):
- loader/cache/CachedRawResource.h:
(CachedRawResource):
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::data):
- loader/cache/CachedResource.h:
(CachedResource):
- loader/cache/CachedSVGDocument.cpp:
(WebCore::CachedSVGDocument::data):
- loader/cache/CachedSVGDocument.h:
(CachedSVGDocument):
- loader/cache/CachedScript.cpp:
(WebCore::CachedScript::data):
- loader/cache/CachedScript.h:
(CachedScript):
- loader/cache/CachedShader.cpp:
(WebCore::CachedShader::data):
- loader/cache/CachedShader.h:
(CachedShader):
- loader/cache/CachedTextTrack.cpp:
(WebCore::CachedTextTrack::data):
- loader/cache/CachedTextTrack.h:
(CachedTextTrack):
- loader/cache/CachedXSLStyleSheet.cpp:
(WebCore::CachedXSLStyleSheet::data):
- loader/cache/CachedXSLStyleSheet.h:
(CachedXSLStyleSheet):
- 5:25 PM Changeset in webkit [130982] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-10
- DEPS:
- 4:54 PM Changeset in webkit [130981] by
-
- 2 edits in trunk/Tools
Remove Apple Mac Snow Leopard bots.
- BuildSlaveSupport/build.webkit.org-config/config.json:
- 4:53 PM Changeset in webkit [130980] by
-
- 9 edits in trunk/Source/WebKit2
Fix the GCC Mac build. Why are we still building with GCC again?
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.h:
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.mm:
- WebProcess/InjectedBundle/API/mac/WKDOMElement.h:
- WebProcess/InjectedBundle/API/mac/WKDOMElement.mm:
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.h:
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
- WebProcess/InjectedBundle/API/mac/WKDOMNode.h:
- WebProcess/InjectedBundle/API/mac/WKDOMNode.mm:
- 4:42 PM Changeset in webkit [130979] by
-
- 69 edits1 add1 delete in trunk/LayoutTests
check-layout.js should always dumpAsText
https://bugs.webkit.org/show_bug.cgi?id=98959
Reviewed by Tony Chang.
Every checkLayout test was already dumpAsText except for
css3/flexbox/flex-item-child-overflow.html, which is a reftest
and really doesn't need to be a checkLayout test.
- css3/flexbox/auto-height-dynamic.html:
- css3/flexbox/box-sizing-min-max-sizes.html:
- css3/flexbox/box-sizing.html:
- css3/flexbox/columns-auto-size.html:
- css3/flexbox/columns-height-set-via-top-bottom.html:
- css3/flexbox/flex-algorithm-min-max.html:
- css3/flexbox/flex-algorithm-with-margins.html:
- css3/flexbox/flex-algorithm.html:
- css3/flexbox/flex-align-column.html:
- css3/flexbox/flex-align-end.html:
- css3/flexbox/flex-align-max.html:
- css3/flexbox/flex-align-percent-height.html:
- css3/flexbox/flex-align-stretch.html:
- css3/flexbox/flex-align-vertical-writing-mode.html:
- css3/flexbox/flex-align.html:
- css3/flexbox/flex-flow-auto-margins.html:
- css3/flexbox/flex-flow-border.html:
- css3/flexbox/flex-flow-margins-auto-size.html:
- css3/flexbox/flex-flow-margins.html:
- css3/flexbox/flex-flow-orientations.html:
- css3/flexbox/flex-flow-overflow.html:
- css3/flexbox/flex-flow-padding.html:
- css3/flexbox/flex-flow.html:
- css3/flexbox/flex-item-child-overflow-expected.html:
- css3/flexbox/flex-item-child-overflow.html:
- css3/flexbox/flex-item-min-size.html:
- css3/flexbox/flex-justify-content.html:
- css3/flexbox/flex-no-flex.html:
- css3/flexbox/flex-rounding.html:
- css3/flexbox/flexitem-stretch-image.html:
- css3/flexbox/flexitem.html:
- css3/flexbox/floated-flexbox.html:
- css3/flexbox/inline-flex.html:
- css3/flexbox/line-wrapping.html:
- css3/flexbox/multiline-align-content-horizontal-column.html:
- css3/flexbox/multiline-align-content.html:
- css3/flexbox/multiline-align-self.html:
- css3/flexbox/multiline-column-auto.html:
- css3/flexbox/multiline-justify-content.html:
- css3/flexbox/multiline-reverse-wrap-overflow.html:
- css3/flexbox/multiline.html:
- css3/flexbox/nested-stretch.html:
- css3/flexbox/orthogonal-flex-directions.html:
- css3/flexbox/percent-margins.html:
- css3/flexbox/percentage-heights.html:
- css3/flexbox/percentage-sizes-quirks.html:
- css3/flexbox/percentage-sizes.html:
- css3/flexbox/perpendicular-writing-modes-inside-flex-item.html:
- css3/flexbox/position-absolute-child.html:
- css3/flexbox/position-absolute-children.html:
- css3/flexbox/preferred-widths-orthogonal.html:
- css3/flexbox/preferred-widths.html:
- css3/flexbox/relayout-image-load.html:
- css3/flexbox/style-change.html:
- css3/flexbox/true-centering.html:
- css3/flexbox/writing-modes.html:
- fast/block/margins-perpendicular-containing-block.html:
- fast/css-grid-layout/place-cell-by-index.html:
- fast/css/deprecated-flexbox-auto-min-size.html:
- fast/css/nested-percent-height-on-replaced.html:
- fast/css/percentage-height-auto-sized-body-quirks.html:
- fast/flexbox/flexing-overflow-scroll-item.html:
- fast/replaced/vertical-writing-mode-max-logical-width-replaced.html:
- fast/table/bad-replaced-sizing-preferred-logical-widths.html:
- fast/table/margins-flipped-text-direction.html:
- fast/table/margins-perpendicular-containing-block.html:
- fast/writing-mode/percentage-height-orthogonal-writing-modes-quirks.html:
- fast/writing-mode/percentage-height-orthogonal-writing-modes.html:
- resources/check-layout.js:
- 4:36 PM Changeset in webkit [130978] by
-
- 7 edits in trunk
[EFL][WK2] Add toolbar buttons to MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=98883
Patch by Christophe Dumez <Christophe Dumez> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
Add "back,forward,list,changed" signal on the Ewk_View
to notify the client when the view's back / forward
list has changed. This is useful for the UI to update
its back / forward buttons disabled state.
- UIProcess/API/efl/ewk_view.cpp:
(ewk_view_back_forward_list_changed):
- UIProcess/API/efl/ewk_view.h:
- UIProcess/API/efl/ewk_view_loader_client.cpp:
(didChangeBackForwardList):
- UIProcess/API/efl/ewk_view_private.h:
Tools:
Add toolbar buttons to MiniBrowser to support
navigation back / forward, refresh and go
to home page.
- MiniBrowser/efl/main.c:
(_Browser_Window):
(on_back_forward_list_changed):
(on_back_button_clicked):
(on_forward_button_clicked):
(on_refresh_button_clicked):
(on_home_button_clicked):
(create_toolbar_button):
(window_create):
- 4:23 PM Changeset in webkit [130977] by
-
- 28 edits in trunk/Source
[WK2] Activate plugins when user clicks on snapshot
https://bugs.webkit.org/show_bug.cgi?id=98328
<rdar://problem/12426681>
Reviewed by Brady Eidson.
Source/WebCore:
Extend the default event handler to deal with plugins with snapshots.
When the user clicks on the placeholder, the plugin is recreated and displayed.
- loader/FrameLoaderClient.h: Add new client function recreatePlugin(), which is
expected to re-create the plugin with the same parameters as when it was run to
obtain the plugin's snapshot placeholder.
- loader/EmptyClients.cpp: Stub implementation of recreatePlugin().
- loader/EmptyClients.h:
- WebCore.exp.in: Expose HTMLPlugInElement::pluginWidget().
- html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::defaultEventHandler): Update to look for
RenderSnapshottedPlugIn. If the plugin is not playing, have the renderer handle the
event.
- rendering/RenderSnapshottedPlugIn.cpp:
(WebCore::RenderSnapshottedPlugin::getCursor): Set to hand cursor when the plugin is not
playing.
(WebCore::RenderSnapshottedPlugIn::handleEvent): If the user clicked on the plugin using the
left button, update the state of the element to playing. Recreate the plugin if the widget exists
to begin with. The cached snapshot image will be saved for possible reuse on back/forward navigation.
- rendering/RenderSnapshottedPlugIn.h:
(RenderSnapshottedPlugIn):
Source/WebKit/chromium:
- src/FrameLoaderClientImpl.h:
(WebKit::FrameLoaderClientImpl::recreatePlugin): Stub implementation of recreatePlugin().
Source/WebKit/efl:
- WebCoreSupport/FrameLoaderClientEfl.h:
(WebCore::FrameLoaderClientEfl::recreatePlugin): Stub implementation of recreatePlugin().
Source/WebKit/gtk:
- WebCoreSupport/FrameLoaderClientGtk.h:
(WebKit::FrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
Source/WebKit/mac:
- WebCoreSupport/WebFrameLoaderClient.h:
- WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
Source/WebKit/qt:
- WebCoreSupport/FrameLoaderClientQt.h:
(WebCore::FrameLoaderClientQt::recreatePlugin): Stub implementation of recreatePlugin().
Source/WebKit/win:
- WebCoreSupport/WebFrameLoaderClient.h:
(WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
Source/WebKit/wince:
- WebCoreSupport/FrameLoaderClientWinCE.h:
(WebKit::FrameLoaderClientWinCE::recreatePlugin): Stub implementation of recreatePlugin().
Source/WebKit2:
Implement the recreation of the plugin.
- WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::recreateAndInitialize): We can run into a situation where the user
decided to run the plugin before the snapshot was ready to be taken. In this case, the
plugin member variable is non-null, and the timer is still active. Turn off the timer, and
destroy that instance of the plugin. We set the plugin to the instance provided in the
first parameter to this function, and reset the member variables so that the PluginView is
in a state similar to when it was first created. We also immediately initialize the plugin,
which may happen synchronously or asynchronously.
- WebProcess/Plugins/PluginView.h:
(WebKit::PluginView::initialParameters): Expose the initial parameters. Used to recreate
the plugin.
(WebKit::PluginView::pluginElement): Expose the element associated with the widget. Used to
recreate the plugin.
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::recreatePlugin): Create a new Plugin instance using the same
parameters used to create the plugin for snapshotting. Forward that instance to the widget.
- WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
(WebFrameLoaderClient): Implement recreatePlugin().
- 4:09 PM Changeset in webkit [130976] by
-
- 2 edits in trunk/LayoutTests
[Mac][WK2] Unreviewed, skipping fast/parser/document-open-in-unload.html
- platform/mac-wk2/TestExpectations:
- 3:58 PM Changeset in webkit [130975] by
-
- 2 edits in trunk/LayoutTests
Remove perf tests that haven't failed in the past 500 runs.
- platform/chromium/TestExpectations:
- 3:50 PM Changeset in webkit [130974] by
-
- 2 edits in trunk/Tools
Fix the Lion build after r130948.
- TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
- 3:41 PM Changeset in webkit [130973] by
-
- 9 edits in trunk/Source/WebKit2
Fix 32-bit build.
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.h:
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.mm:
- WebProcess/InjectedBundle/API/mac/WKDOMElement.h:
- WebProcess/InjectedBundle/API/mac/WKDOMElement.mm:
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.h:
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
- WebProcess/InjectedBundle/API/mac/WKDOMNode.h:
- WebProcess/InjectedBundle/API/mac/WKDOMNode.mm:
- 3:34 PM Changeset in webkit [130972] by
-
- 8 edits in trunk/Source/WebKit2
WebContext should be a MessageReceiver
https://bugs.webkit.org/show_bug.cgi?id=98958
Reviewed by Sam Weinig.
Make WebContext be a MessageReceiver that lives in its own map. This allows us to get rid of the
knowsHowToHandleMessage functions on MessageReceiverMap and WebContext.
- Platform/CoreIPC/Connection.h:
(CoreIPC::Connection::client):
(Connection):
- Platform/CoreIPC/MessageReceiverMap.cpp:
(CoreIPC::MessageReceiverMap::addMessageReceiver):
(CoreIPC::MessageReceiverMap::invalidate):
(CoreIPC::MessageReceiverMap::knowsHowToHandleMessage):
(CoreIPC::MessageReceiverMap::dispatchMessage):
(CoreIPC::MessageReceiverMap::dispatchSyncMessage):
- Platform/CoreIPC/MessageReceiverMap.h:
(MessageReceiverMap):
- UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::dispatchMessage):
(WebKit::WebContext::dispatchSyncMessage):
(WebKit::WebContext::didReceiveMessage):
(WebKit::WebContext::didReceiveSyncMessage):
- UIProcess/WebContext.h:
(WebContext):
- UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::fromConnection):
(WebKit):
(WebKit::WebProcessProxy::didReceiveMessage):
(WebKit::WebProcessProxy::didReceiveSyncMessage):
- UIProcess/WebProcessProxy.h:
(WebProcessProxy):
- 3:31 PM Changeset in webkit [130971] by
-
- 2 edits8 adds in trunk/Source/WebKit2
Add skeleton of a WebKit2 ObjC DOM SPI (not intended to be the full DOM)
https://bugs.webkit.org/show_bug.cgi?id=98955
Reviewed by Anders Carlsson.
Add a skeleton DOM implementation only exposing Node, Element and Document
for now. It is currently only available in 64-bit as it relies on the non-fragile
ABI for now.
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.h: Added.
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.mm: Added.
- WebProcess/InjectedBundle/API/mac/WKDOMElement.h: Added.
- WebProcess/InjectedBundle/API/mac/WKDOMElement.mm: Added.
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.h: Added.
- WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm: Added.
- WebProcess/InjectedBundle/API/mac/WKDOMNode.h: Added.
- WebProcess/InjectedBundle/API/mac/WKDOMNode.mm: Added.
- 3:30 PM Changeset in webkit [130970] by
-
- 2 edits in trunk/Tools
Speculative build fix for Snow Leopard after r130948.
- TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm: Pull the
declaration of backgroundColorQuery out of a block to appease GCC.
- 3:27 PM Changeset in webkit [130969] by
-
- 2 edits in trunk/LayoutTests
More unreviewed Chromium gardening.
- platform/chromium/TestExpectations:
Removed 11 more entries that have not failed in last 100 runs according to the flakiness dashboard.
- 3:17 PM Changeset in webkit [130968] by
-
- 3 edits in trunk/Source/WebCore
FontVerticalDataCache should allow zero as a key value
https://bugs.webkit.org/show_bug.cgi?id=98877
Reviewed by Tony Chang.
Use WTF::UnsignedWithZeroKeyHashTraits for type definition of
FontVerticalDataCache.
No new tests because there is no certain way to make
FontPlatformDataHarfBuzz::uniqueID() be zero.
- platform/graphics/FontCache.cpp:
(WebCore):
- platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp:
(WebCore::FontPlatformData::verticalData): Removed zero check of uniqueID().
(WebCore::FontPlatformData::openTypeTable): Ditto.
- 3:11 PM Changeset in webkit [130967] by
-
- 9 edits in trunk
[WK2][WTR] WebKitTestRunner UI process should be aware of Custom Policy Delegate
https://bugs.webkit.org/show_bug.cgi?id=95974
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.
Tools:
Added TestController::decidePolicyForNavigationAction() function as a 'decidePolicyForNavigationAction' WKPagePolicyClient callback
for WTR UI process. WTR bundle client notifies UI process about Custom Policy Delegate via newly added message,
so that TestController is aware of whether Custom Policy Delegate as enabled and
permissive. This data is used then in TestController::decidePolicyForNavigationAction for making policy decision.
- WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::setCustomPolicyDelegate):
(WTR):
- WebKitTestRunner/InjectedBundle/InjectedBundle.h:
(InjectedBundle):
- WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::setCustomPolicyDelegate):
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::TestController):
(WTR::TestController::initialize):
(WTR::TestController::resetStateToConsistentValues):
(WTR::TestController::setCustomPolicyDelegate):
(WTR):
(WTR::TestController::decidePolicyForNavigationAction):
- WebKitTestRunner/TestController.h:
(TestController):
- WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
LayoutTests:
Unskipped fast/loader/onload-policy-ignore-for-frame.html for WK2.
- platform/wk2/TestExpectations:
- 3:07 PM Changeset in webkit [130966] by
-
- 5 edits in trunk/Source/WebCore
[EFL] Use the shareable GraphicsContext3DOpenGL* implementation.
https://bugs.webkit.org/show_bug.cgi?id=96627
Patch by Regina Chung <heejin.r.chung@samsung.com> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.
Changed EFL implementation of GraphicsContext3D(GC3D) to use GraphicsContext3DOpenGL*.
It was initially implemented in a different way, due to characteristics of Evas,
but it would be better to use the common implementation and find another way
to deal with Evas, especially because all the duplicated code.
No new tests. No functional changes.
- PlatformEfl.cmake: Removed cairo implementation of GC3D and added efl files to WebCore_SOURCES.
- platform/graphics/efl/GraphicsContext3DEfl.cpp: Modified code so GC3DOpenGL* can be used.
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::platformLayer):
(WebCore::GraphicsContext3D::makeContextCurrent):
(WebCore::GraphicsContext3D::setContextLostCallback):
(WebCore::GraphicsContext3D::setErrorMessageCallback):
(WebCore::GraphicsContext3D::paintToCanvas):
(WebCore):
(WebCore::GraphicsContext3D::createGraphicsSurfaces):
(WebCore::GraphicsContext3D::releaseShaderCompiler):
(WebCore::GraphicsContext3D::getImageData):
- platform/graphics/efl/GraphicsContext3DPrivate.cpp: Removed functions implemented in GC3DOpenGL*
(WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
(WebCore):
(WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::createSurface):
(WebCore::GraphicsContext3DPrivate::platformGraphicsContext3D):
(WebCore::GraphicsContext3DPrivate::makeContextCurrent):
(WebCore::GraphicsContext3DPrivate::isGLES2Compliant):
(WebCore::GraphicsContext3DPrivate::paintToTextureMapper):
- platform/graphics/efl/GraphicsContext3DPrivate.h: Removed functions implemented in GC3DOpenGL*
(GraphicsContext3DPrivate):
- 2:40 PM Changeset in webkit [130965] by
-
- 2 edits in trunk/LayoutTests
This test can also fail with TEXT.
- platform/chromium/TestExpectations:
- 2:37 PM Changeset in webkit [130964] by
-
- 6 edits2 adds in trunk/LayoutTests
Unreviewed Chromium gardening.
- platform/chromium-linux/fast/repaint/reflection-repaint-test-expected.png:
- platform/chromium-linux/fast/repaint/transform-layout-repaint-expected.png:
- platform/chromium-mac/fast/repaint/reflection-repaint-test-expected.png: Added.
- platform/chromium-mac/fast/repaint/transform-layout-repaint-expected.png: Added.
- platform/chromium-win/fast/repaint/reflection-repaint-test-expected.png:
- platform/chromium-win/fast/repaint/transform-layout-repaint-expected.png:
The flakiness dashboard was lying on this entry. After talking with Emil, the baselines are correct so
rebaselined these tests.
- platform/chromium/TestExpectations:
Marked fast/dom/gc-dom-tree-lifetime.html as timeout as marking it slow didn't remove the flakiness.
- 2:36 PM Changeset in webkit [130963] by
-
- 1 edit in branches/chromium/1271/Source/WebCore/platform/TouchFlingPlatformGestureCurve.cpp
Merge 130846 - [chromium] revert fling deacceleration parameter change
https://bugs.webkit.org/show_bug.cgi?id=98820
Reviewed by Adrienne Walker.
After an extended discussion, it has been decided that a previous
adjustment to fling deacceleration parameters should be reverted.
Tested by existing unit tests.
- platform/TouchFlingPlatformGestureCurve.cpp:
(WebCore::TouchFlingPlatformGestureCurve::createForTouchPad):
(WebCore::TouchFlingPlatformGestureCurve::createForTouchScreen):
TBR=rjkroege@chromium.org
Review URL: https://codereview.chromium.org/11085056
- 2:33 PM Changeset in webkit [130962] by
-
- 11 edits1 move2 deletes in trunk
Unreviewed, rolling out r130937, r130949, r130955, and
r130957.
http://trac.webkit.org/changeset/130937
http://trac.webkit.org/changeset/130949
http://trac.webkit.org/changeset/130955
http://trac.webkit.org/changeset/130957
https://bugs.webkit.org/show_bug.cgi?id=94290
Breaks Qt build
.:
- Source/cmake/WebKitMacros.cmake:
Source/WebCore:
- CMakeLists.txt:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.am:
- WebCore.gyp/WebCore.gyp:
- WebCore.gyp/scripts/action_preprocessgrammar.py: Removed.
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- css/CSSGrammar.y: Renamed from Source/WebCore/css/CSSGrammar.y.in.
- css/CSSGrammar.y.includes: Removed.
- css/makegrammar.pl:
- 2:28 PM Changeset in webkit [130961] by
-
- 1 edit1 move in trunk/LayoutTests
When we check in image baselines, we use the -expected.png suffix
rather than the -actual.png suffix. (This is likely a typo in
http://trac.webkit.org/changeset/130940.)
- platform/chromium-win/editing/spelling/inline-spelling-markers-hidpi-actual.png: Removed.
- platform/chromium-win/editing/spelling/inline-spelling-markers-hidpi-expected.png: Copied from LayoutTests/platform/chromium-win/editing/spelling/inline-spelling-markers-hidpi-actual.png.
- 2:20 PM Changeset in webkit [130960] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] Adapt to new image for search-cancel
https://bugs.webkit.org/show_bug.cgi?id=98954
Reviewed by Antonio Gomes.
The new image for search-cancel is bigger than the old one, so invert the scaling.
- platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore::RenderThemeBlackBerry::adjustSearchFieldCancelButtonStyle):
- 2:18 PM Changeset in webkit [130959] by
-
- 2 edits in trunk/LayoutTests
[EFL] Skip the color-correction tests.
Just specifying `Missing' makes the build bots sometimes report
these tests as failing.
- platform/efl/TestExpectations:
- 2:17 PM Changeset in webkit [130958] by
-
- 1 edit in trunk/Tools/Scripts/webkitpy/common/config/committers.py
Unreviewed. Adding myself as Committer.
- 2:15 PM Changeset in webkit [130957] by
-
- 3 edits in trunk/Source/WebCore
Unreviewed, another speculative fix for Qt Win.
- DerivedSources.pri: Pass --preprocessor to the perl script.
- css/makegrammar.pl: Use --preprocessor instead of /usr/bin/gcc.
- 2:01 PM Changeset in webkit [130956] by
-
- 9 edits in trunk
Pageload tests should measure memory usage
https://bugs.webkit.org/show_bug.cgi?id=93958
Reviewed by Ryosuke Niwa.
Add JS Heap and Heap memory measurement to PageLoad tests.
Source/JavaScriptCore:
- heap/HeapStatistics.cpp:
(JSC::HeapStatistics::usedJSHeap): Add new private function to expose the used JS Heap size.
(JSC):
- heap/HeapStatistics.h:
(HeapStatistics): Add new private function to expose the used JS Heap size.
Tools:
- DumpRenderTree/mac/DumpRenderTree.mm:
(dump): Print memory results with DRT.
- Scripts/old-run-webkit-tests:
(readFromDumpToolWithTimer): Hadle memory results.
- Scripts/webkitpy/layout_tests/port/driver.py:
(DriverOutput.init): Add new parameter for the results.
(Driver.init): Initialize the new parameter.
(Driver.run_test):
(Driver._read_first_block): Add support for the new headers.
(Driver._process_stdout_line):
(ContentBlock.init):
- Scripts/webkitpy/performance_tests/perftest.py:
(PageLoadingPerfTest.calculate_statistics): Move statistics calculation into a function.
(PageLoadingPerfTest.run): Handle the new memory results.
(PageLoadingPerfTest.run.in):
(PageLoadingPerfTest):
- Scripts/webkitpy/performance_tests/perftest_unittest.py: Add test for memory results of pageloadtests.
(TestPageLoadingPerfTest.MockDriver.init):
(TestPageLoadingPerfTest.MockDriver.run_test):
(TestPageLoadingPerfTest.test_run_with_memory_output):
- 1:55 PM Changeset in webkit [130955] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, another speculative fix for Qt Win.
- DerivedSources.pri: Make the path slash marks be forward slashes to the .in file.
- 1:52 PM Changeset in webkit [130954] by
-
- 2 edits in trunk/LayoutTests
Add a note that this test is flaky and can trigger an ASSERT.
- platform/chromium/TestExpectations:
- 1:51 PM Changeset in webkit [130953] by
-
- 4 edits in branches/safari-536.28-branch/Source
Versioning.
- 1:46 PM Changeset in webkit [130952] by
-
- 1 copy in branches/safari-536.28-branch
New Branch.
- 1:38 PM Changeset in webkit [130951] by
-
- 3 edits2 copies in branches/chromium/1271
Merge 130549 - Deprecated flexboxes subtract scrollbar width/height twice
https://bugs.webkit.org/show_bug.cgi?id=98552
Reviewed by Tony Chang.
Source/WebCore:
This is a regression from http://trac.webkit.org/changeset/119507.
The problem is that contentHeight subtracts the scrollbar and
RenderDeprecatedFlexbox subtracts the scrollbar.
-Make it so that we only access override sizes if one has been set.
I think this makes the calling code more clear.
-If we don't have one set, grab the height/width - borderAndPadding.
-Add a FIXME to change this all back to being borderbox sizes.
There's something trick with making table padding/border work right for that
though (noted in the original patch).
Test: fast/flexbox/flexing-overflow-scroll-item.html
- rendering/RenderBox.cpp:
(WebCore::RenderBox::overrideLogicalContentWidth):
(WebCore::RenderBox::overrideLogicalContentHeight):
(WebCore::RenderBox::availableLogicalHeightUsing):
- rendering/RenderBox.h:
(RenderBox):
- rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::contentWidthForChild):
(WebCore):
(WebCore::contentHeightForChild):
(WebCore::RenderDeprecatedFlexibleBox::layoutHorizontalBox):
(WebCore::RenderDeprecatedFlexibleBox::layoutVerticalBox):
(WebCore::RenderDeprecatedFlexibleBox::allowedChildFlex):
LayoutTests:
- fast/flexbox/flexing-overflow-scroll-item-expected.txt: Added.
- fast/flexbox/flexing-overflow-scroll-item.html: Added.
TBR=ojan@chromium.org
Review URL: https://codereview.chromium.org/11017062
- 1:33 PM Changeset in webkit [130950] by
-
- 6 edits in trunk
Turn on ENABLE_MATHML for Chromium
https://bugs.webkit.org/show_bug.cgi?id=96960
Reviewed by Adam Barth.
Source/WebCore:
Add the rendering/mathml directory to search.
- WebCore.gyp/WebCore.gyp:
Source/WebKit/chromium:
- features.gypi:
LayoutTests:
We're enabling MathML now partly to let the automated fuzzers go to work. Some layout tuning will also be done in the
next few days, so we expect MathML pixel tests to be changing during that time.
- platform/chromium/TestExpectations:
- 1:31 PM Changeset in webkit [130949] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, speculative build fix for Qt Win.
- css/makegrammar.pl: Rather than making a temp file, use a pipe to
pass data from gcc to the final output file.
- 1:28 PM Changeset in webkit [130948] by
-
- 26 edits3 adds in trunk
[WebKit2] Create an API for adding and removing user stylesheets from a page group
https://bugs.webkit.org/show_bug.cgi?id=98432
Reviewed by Sam Weinig.
Source/WebKit2:
This patch adds the following API to WKBrowsingContextGroup:
- (void)addUserStyleSheet:(NSString *)source baseURL:(NSURL *)baseURL whitelist:(NSArray *)whitelist blacklist:(NSArray *)blacklist mainFrameOnly:(BOOL)mainFrameOnly;
- (void)removeAllUserStyleSheets;
Sheets added via this API are sent to all processes that contain a page
in the given page group. Sheets are also cached in the UI process in a
new object called UserContentContainer, which is a property of each
group's WebPageGroupData and is sent to new web processes during page
initialization.
This is less than ideal, since new pages added to a pre-existing
process / page group combination will send redundant user stylesheet
strings over the wire. To avoid this we'd have to keep track track of
the groups that currently exist in each process and only send user
content during page creation if it is the first time a process has seen
the page's group. I decided to not add this complexity for the time
being, but we might need to consider it if we find that the current
approach impacts performance for clients that heavily utilize user
content.
- Shared/API/c/WKArray.cpp:
(WKArrayCreateAdoptingValues): Add a WKArray creation function that
adopts the incoming WKTypeRefs rather than refing them.
- Shared/API/c/WKArray.h:
- Shared/API/c/WKBase.h: Move WKUserContentInjectedFrames out of
WKBundlePrivate.h so it can be used in WKPageGroup, too.
- Shared/API/c/cf/WKURLCF.cpp:
(WKURLCreateWithCFURL): Return 0 for null CFURLRefs instead of crashing
inside CFURLGetString().
- Shared/ImmutableArray.cpp:
(WebKit::ImmutableArray::ImmutableArray): Add a tag to differentiate
between the adopting and refing ctors.
- Shared/ImmutableArray.h:
(WebKit::ImmutableArray::create): Call the refing ctor.
(WebKit::ImmutableArray::adopt): Call the adopting ctor.
- Shared/UserContentContainer.cpp: Added.
(UserContentItemMessageEncoder): Create a UserMessageEncoder for
serializing UserContentContainer::Item's APIObjects.
(WebKit::UserContentItemMessageEncoder::UserContentItemMessageEncoder):
(WebKit::UserContentItemMessageEncoder::encode):
(UserContentItemMessageDecoder): Create a UserMessageEncoder for
deserializing UserContentContainer::Item's APIObjects.
(WebKit::UserContentItemMessageDecoder::UserContentItemMessageDecoder):
(WebKit::UserContentItemMessageDecoder::decode):
(WebKit::UserContentContainer::Item::Item):
(WebKit::encodeStringArray): Add a helper function for encoding
ImmutableArrays of WebStrings.
(WebKit::UserContentContainer::Item::encode): Encode the item's
properties using UserContentItemMessageEncoder.
(WebKit::decodeStringArray): Add a helper function for decoding
ImmutableArrays of WebStrings.
(WebKit::UserContentContainer::Item::decode): Decode the item's
properties using UserContentItemMessageDecoder.
(WebKit::toStringVector): Add a helper function for converting an
ImmutableArray of WebStrings to a Vector of Strings.
(WebKit::UserContentContainer::Item::whitelist): Use toStringVector().
(WebKit::UserContentContainer::Item::blacklist): Ditto.
(WebKit::UserContentContainer::encode): Encode the Vector of UserContentContainer::Items.
(WebKit::UserContentContainer::decode): Decode the Vector of UserContentContainer::Items.
- Shared/UserContentContainer.h: Added.
- Shared/WebPageGroupData.cpp:
(WebKit::WebPageGroupData::encode): Include userStyleSheets when encoding.
(WebKit::WebPageGroupData::decode): Include userStyleSheets when decoding.
- Shared/WebPageGroupData.h:
(WebPageGroupData): Add a UserContentContainer called userStyleSheets
to WebPageGroupData.
- UIProcess/API/C/WKPageGroup.cpp: Add the C SPI version of the Objective-C API.
(WKPageGroupAddUserStyleSheet):
(WKPageGroupRemoveAllUserStyleSheets):
- UIProcess/API/C/WKPageGroup.h:
- UIProcess/API/mac/WKBrowsingContextGroup.h: Add the Objective-C API.
- UIProcess/API/mac/WKBrowsingContextGroup.mm:
(createWKArray): Add a helper function that converts an NSArray of NSStrings to a WKArray of WKStrings.
(-[WKBrowsingContextGroup addUserStyleSheet:baseURL:whitelist:blacklist:mainFrameOnly:]):
Implement the Objective-C API in terms of the C SPI.
(-[WKBrowsingContextGroup removeAllUserStyleSheets]): Ditto.
- UIProcess/WebPageGroup.cpp:
(WebKit::WebPageGroup::addUserStyleSheet): Add the new sheet to the
group's WebPageGroupData, which ensures that the group's sheets are
sent to new web processes.
(WebKit::WebPageGroup::removeAllUserStyleSheets): Ditto for removal.
- UIProcess/WebPageGroup.h:
(WebKit::WebPageGroup::sendToAllProcessesInGroup): Add a helper message
that sends a message to all processes that have a page in the current
group. This is used to add new user sheets to already-initialized page
groups in the UI processes.
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: Moved
WKUserContentInjectedFrames from here to WKBase.h.
- WebProcess/WebPage/WebPageGroupProxy.cpp:
(WebKit::WebPageGroupProxy::WebPageGroupProxy): Add each sheet in the
WebPageGroupData to WebCore's page group.
(WebKit::WebPageGroupProxy::addUserStyleSheet): Add the sheet received
from the UI process to WebCore's page group.
(WebKit::WebPageGroupProxy::removeAllUserStyleSheets): Remove all
sheets from WebCore's page group.
- WebProcess/WebPage/WebPageGroupProxy.h:
- WebProcess/WebPage/WebPageGroupProxy.messages.in: Define
AddUserStyleSheet and RemoveAllUserStyleSheets, two messages sent from
the UI process to a web process's WebPageGroupProxy.
Tools:
Add three new API tests:
- Test adding a user stylesheet before a page is created. This tests
the code path where the sheet is sent to the web process as part of
the new page's WebPageCreationParameters.
- Test adding a user stylesheet after a page is created. This tests the
code patch where the sheet is sent as a separate message to all
processes containing the given page group.
- Test removing all user stylesheets.
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm: Added.
(-[UserContentTestLoadDelegate initWithBlockToRunOnLoad:]):
(-[UserContentTestLoadDelegate browsingContextControllerDidFinishLoad:]):
(expectScriptValue):
- TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextGroupTest.mm:
- 1:23 PM Changeset in webkit [130947] by
-
- 28 edits3 adds in trunk/Source
Switch CachedResource over from SharedBuffer to a new ResourceBuffer
https://bugs.webkit.org/show_bug.cgi?id=98541
Reviewed by Anders Carlsson.
Source/WebCore:
As part of preparation for a WebKit2 NetworkProcess, we need to change the data handle shared
between CachedResources and ResourceLoaders to be one that can be backed by something other
than a SharedBuffer.
ResourceBuffer is this new object. Right now it is directly backed by a SharedBuffer and there
should be no change in behavior.
No new tests (No behavior change).
- WebCore.exp.in:
- WebCore.xcodeproj/project.pbxproj:
- WebCore.vcproj/WebCore.vcproj:
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
Implementation of the new ResourceBuffer, backed directly by a SharedBuffer:
- loader/ResourceBuffer.cpp: Added.
(WebCore):
(WebCore::ResourceBuffer::ResourceBuffer):
(WebCore::ResourceBuffer::~ResourceBuffer):
(WebCore::ResourceBuffer::data):
(WebCore::ResourceBuffer::size):
(WebCore::ResourceBuffer::isEmpty):
(WebCore::ResourceBuffer::getSomeData):
(WebCore::ResourceBuffer::sharedBuffer):
(WebCore::ResourceBuffer::copy):
(WebCore::ResourceBuffer::hasPurgeableBuffer):
(WebCore::ResourceBuffer::releasePurgeableBuffer):
(WebCore::ResourceBuffer::createCFData):
- loader/ResourceBuffer.h: Added.
(WebCore):
(ResourceBuffer):
(WebCore::ResourceBuffer::create):
(WebCore::ResourceBuffer::adoptSharedBuffer):
- loader/mac/ResourceBuffer.mm: Added.
(WebCore):
(WebCore::ResourceBuffer::createNSData):
Switch CachedResource over to using it:
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::makePurgeable):
- loader/cache/CachedResource.h:
(WebCore):
(WebCore::CachedResource::resourceBuffer):
(CachedResource):
Switch all the other CachedResource subclasses over to using it:
- loader/cache/CachedCSSStyleSheet.cpp:
(WebCore::CachedCSSStyleSheet::data):
- loader/cache/CachedFont.cpp:
(WebCore::CachedFont::data):
(WebCore::CachedFont::ensureCustomFontData):
- loader/cache/CachedImage.cpp:
(WebCore::CachedImage::didAddClient):
(WebCore::CachedImage::data):
- loader/cache/CachedRawResource.cpp:
(WebCore::CachedRawResource::data):
- loader/cache/CachedScript.cpp:
(WebCore::CachedScript::data):
- loader/cache/CachedShader.cpp:
(WebCore::CachedShader::data):
- loader/cache/CachedTextTrack.cpp:
(WebCore::CachedTextTrack::data):
- loader/cache/CachedXSLStyleSheet.cpp:
(WebCore::CachedXSLStyleSheet::data):
Switch other affect parties over to using it:
- inspector/InspectorPageAgent.cpp:
(WebCore::decodeBuffer):
(WebCore::InspectorPageAgent::cachedResourceContent):
(WebCore::InspectorPageAgent::sharedBufferContent):
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::subresource):
- loader/TextTrackLoader.cpp:
(WebCore::TextTrackLoader::processNewCueData):
(WebCore::TextTrackLoader::didReceiveData):
- loader/archive/cf/LegacyWebArchive.cpp:
(WebCore::LegacyWebArchive::create):
- loader/icon/IconLoader.cpp:
(WebCore::IconLoader::notifyFinished):
- platform/mac/PasteboardMac.mm:
(WebCore::fileWrapperForImage):
Source/WebKit/mac:
- WebView/WebHTMLView.mm:
(-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
Source/WebKit/win:
- WebDataSource.cpp:
(WebDataSource::subresourceForURL):
- 1:22 PM Changeset in webkit [130946] by
-
- 3 edits1 copy in branches/chromium/1271/Source/WebKit/chromium
Merge 130691 - Mac Chromium: Ignore system numpad modifier
https://bugs.webkit.org/show_bug.cgi?id=97161
Patch by Sailesh Agrawal <sail@chromium.org> on 2012-10-08
Reviewed by Tony Chang.
On Mac, arrow key events have numpad modifier set. This is inconsistent with other platforms.
My fix is to only rely on keycode to decide when to set the numpad modifier.
This code is not exersided by layout tests so I added a new unit test for this.
- WebKit.gypi:
- WebKitUnitTests.gyp:
- src/mac/WebInputEventFactory.mm:
(WebKit::isKeypadEvent): Removed check for numpad modifier.
- tests/WebInputEventFactoryTestMac.mm: Added.
(TEST): Added new test for WebInputEventFactory::keyboardEvent().
TBR=commit-queue@webkit.org
Review URL: https://codereview.chromium.org/11088058
- 1:18 PM Changeset in webkit [130945] by
-
- 1 edit2 adds in trunk/Source/Platform
[chromium] Add empty WebCompositorFrame/WebCompositorFrameAck
https://bugs.webkit.org/show_bug.cgi?id=98841
Reviewed by James Robinson.
These were used in the WebKit API but never defined.
- chromium/public/WebCompositorFrame.h: Added.
(WebKit):
- chromium/public/WebCompositorFrameAck.h: Added.
(WebKit):
- 12:59 PM Changeset in webkit [130944] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed build fix after r130940.
- platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::drawLineForDocumentMarker):
Avoid redefining the same variable twice.
- 12:49 PM Changeset in webkit [130943] by
-
- 2 edits in trunk/Source/WebCore
[Mac] Deprecate getPropertyShorthand from objective c bindings for future removal
https://bugs.webkit.org/show_bug.cgi?id=98916
Reviewed by Timothy Hatcher.
Mark getPropertyShorthand as deprecated so we can remove it later. It will allow us
to remove getPropertyShorthand from the web exposed API (this function is not part of
any specification, it was there for historical reason).
No new tests : just mark a function as deprecated.
- bindings/objc/PublicDOMInterfaces.h:
- 12:29 PM Changeset in webkit [130942] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Chromium gardening.
- platform/chromium/TestExpectations:
Removed 10 entries that have not failed in last 100 runs according to the flakiness dashboard.
- 12:23 PM Changeset in webkit [130941] by
-
- 4 edits2 adds in trunk
Web Inspector: add support for %c (style) in console API
https://bugs.webkit.org/show_bug.cgi?id=69401
Reviewed by Pavel Feldman.
Source/WebCore:
This patch mimics Firebug's '%c' option when calling 'console.log'
messages. 'console.log("%cBlue!", "color: blue;");' will write blue
text to the console, and so on.
To match Firebug's behavior, multiple '%c' entries will overwrite each
other: only one style will be applied. Sorry, folks.
Test: inspector/console/console-format-style.html
- inspector/front-end/ConsoleMessage.js:
(WebInspector.ConsoleMessageImpl.prototype._formatWithSubstitutionString.styleFormatter):
(WebInspector.ConsoleMessageImpl.prototype._formatWithSubstitutionString.append):
(WebInspector.ConsoleMessageImpl.prototype._formatWithSubstitutionString):
LayoutTests:
- http/tests/inspector/console-test.js:
(initialize_ConsoleTest.InspectorTest.dumpConsoleMessagesWithStyles):
Helper to dump the style associated with a console message.
- inspector/console/console-format-style-expected.txt: Added.
- inspector/console/console-format-style.html: Added.
- 12:15 PM Changeset in webkit [130940] by
-
- 8 edits10 adds in trunk
[chromium] Spelling and grammar markers are pixelated in hidpi.
https://bugs.webkit.org/show_bug.cgi?id=98339
Patch by Varun Jain <varunjain@chromium.org> on 2012-10-10
Reviewed by Stephen White.
We create separate bitmaps for markers in normal and hidpi mode as per
specification from UX and choose the right bitmap based on the current
device scale factor.
Source/WebCore:
Tests: editing/spelling/grammar-markers-hidpi.html
editing/spelling/inline-spelling-markers-hidpi.html
- platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::draw2xMarker):
(WebCore):
(WebCore::draw1xMarker):
(WebCore::GraphicsContext::drawLineForDocumentMarker):
- platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::PlatformContextSkia):
- platform/graphics/skia/PlatformContextSkia.h:
(WebCore::PlatformContextSkia::deviceScaleFactor):
(WebCore::PlatformContextSkia::setDeviceScaleFactor):
(PlatformContextSkia):
Source/WebKit/chromium:
- src/PageWidgetDelegate.cpp:
(WebKit::PageWidgetDelegate::paint):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::paintRootLayer):
LayoutTests:
- editing/spelling/grammar-markers-hidpi-expected.txt: Added.
- editing/spelling/grammar-markers-hidpi.html: Added.
- editing/spelling/inline-spelling-markers-hidpi-expected.txt: Added.
- editing/spelling/inline-spelling-markers-hidpi.html: Added.
- platform/chromium-linux/editing/spelling/grammar-markers-hidpi-expected.png: Added.
- platform/chromium-linux/editing/spelling/inline-spelling-markers-hidpi-expected.png: Added.
- platform/chromium-mac/editing/spelling/grammar-markers-hidpi-expected.png: Added.
- platform/chromium-mac/editing/spelling/inline-spelling-markers-hidpi-expected.png: Added.
- platform/chromium-win/editing/spelling/grammar-markers-hidpi-expected.png: Added.
- platform/chromium-win/editing/spelling/inline-spelling-markers-hidpi-actual.png: Added.
- 12:06 PM Changeset in webkit [130939] by
-
- 34 edits in trunk/Source/WebKit2
Make all of the WebContext sub objects MessageReceivers
https://bugs.webkit.org/show_bug.cgi?id=98661
Patch by Sam Weinig <sam@webkit.org> on 2012-10-10
Reviewed by Anders Carlsson.
Start work towards simplified message dispatch.
- Platform/CoreIPC/MessageReceiverMap.cpp:
(CoreIPC::MessageReceiverMap::clearAllMessageReceivers):
(CoreIPC::MessageReceiverMap::knowsHowToHandleMessage):
(CoreIPC::MessageReceiverMap::dispatchSyncMessage):
- Platform/CoreIPC/MessageReceiverMap.h:
Add additional helper methods.
- UIProcess/WebContext.cpp:
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::addMessageReceiver):
(WebKit::WebContext::knowsHowToHandleMessage):
(WebKit::WebContext::didReceiveMessage):
(WebKit::WebContext::didReceiveSyncMessage):
- UIProcess/WebContext.h:
Add a MessageReceiverMap that chains to the main on in WebProcessProxy. Simplifies
didReceiveMessage and didReceiveSyncMessage.
- UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didReceiveMessage):
(WebKit::WebProcessProxy::didReceiveSyncMessage):
Use the new WebContext methods to simplify dispatch.
- UIProcess/Notifications/WebNotificationManagerProxy.cpp:
(WebKit::WebNotificationManagerProxy::WebNotificationManagerProxy):
- UIProcess/Notifications/WebNotificationManagerProxy.h:
(WebNotificationManagerProxy):
- UIProcess/WebApplicationCacheManagerProxy.cpp:
(WebKit::WebApplicationCacheManagerProxy::WebApplicationCacheManagerProxy):
- UIProcess/WebApplicationCacheManagerProxy.h:
(WebApplicationCacheManagerProxy):
- UIProcess/WebBatteryManagerProxy.cpp:
(WebKit::WebBatteryManagerProxy::WebBatteryManagerProxy):
- UIProcess/WebBatteryManagerProxy.h:
(WebBatteryManagerProxy):
- UIProcess/WebCookieManagerProxy.cpp:
(WebKit::WebCookieManagerProxy::WebCookieManagerProxy):
- UIProcess/WebCookieManagerProxy.h:
(WebCookieManagerProxy):
- UIProcess/WebDatabaseManagerProxy.cpp:
(WebKit::WebDatabaseManagerProxy::WebDatabaseManagerProxy):
(WebKit::WebDatabaseManagerProxy::didReceiveMessage):
(WebKit):
- UIProcess/WebDatabaseManagerProxy.h:
(WebDatabaseManagerProxy):
- UIProcess/WebGeolocationManagerProxy.cpp:
(WebKit::WebGeolocationManagerProxy::WebGeolocationManagerProxy):
- UIProcess/WebGeolocationManagerProxy.h:
(WebGeolocationManagerProxy):
- UIProcess/WebIconDatabase.cpp:
(WebKit::WebIconDatabase::WebIconDatabase):
- UIProcess/WebIconDatabase.h:
(WebIconDatabase):
(WebKit::WebIconDatabase::type):
- UIProcess/WebKeyValueStorageManagerProxy.cpp:
(WebKit::WebKeyValueStorageManagerProxy::WebKeyValueStorageManagerProxy):
- UIProcess/WebKeyValueStorageManagerProxy.h:
(WebKeyValueStorageManagerProxy):
- UIProcess/WebMediaCacheManagerProxy.cpp:
(WebKit::WebMediaCacheManagerProxy::WebMediaCacheManagerProxy):
- UIProcess/WebMediaCacheManagerProxy.h:
(WebMediaCacheManagerProxy):
- UIProcess/WebNetworkInfoManagerProxy.cpp:
(WebKit::WebNetworkInfoManagerProxy::WebNetworkInfoManagerProxy):
(WebKit::WebNetworkInfoManagerProxy::didReceiveSyncMessage):
- UIProcess/WebNetworkInfoManagerProxy.h:
(WebNetworkInfoManagerProxy):
- UIProcess/WebResourceCacheManagerProxy.cpp:
(WebKit::WebResourceCacheManagerProxy::WebResourceCacheManagerProxy):
(WebKit::WebResourceCacheManagerProxy::didReceiveMessage):
(WebKit):
- UIProcess/WebResourceCacheManagerProxy.h:
(WebResourceCacheManagerProxy):
- UIProcess/WebVibrationProxy.cpp:
(WebKit::WebVibrationProxy::WebVibrationProxy):
- UIProcess/WebVibrationProxy.h:
(WebVibrationProxy):
- UIProcess/soup/WebSoupRequestManagerProxy.cpp:
(WebKit::WebSoupRequestManagerProxy::WebSoupRequestManagerProxy):
(WebKit::WebSoupRequestManagerProxy::didReceiveMessage):
(WebKit):
- UIProcess/soup/WebSoupRequestManagerProxy.h:
(WebSoupRequestManagerProxy):
- WebProcess/Authentication/AuthenticationManager.h:
(AuthenticationManager):
- WebProcess/Geolocation/WebGeolocationManager.h:
(WebGeolocationManager):
Make all the WebContext sub-objects MessageReceivers to simplify dispatch.
- 11:36 AM Changeset in webkit [130938] by
-
- 3 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Suppress keyboard requests while processing spell checking suggestions unless focus change is occurring..
https://bugs.webkit.org/show_bug.cgi?id=98903
Reviewed by Rob Buis.
PR 221143.
Suppress keyboard state changes when they are not triggered by
focus changes.
Reviewed Internally by Nima Ghanavatian.
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::setElementUnfocused):
(BlackBerry::WebKit::InputHandler::setElementFocused):
(BlackBerry::WebKit::InputHandler::notifyClientOfKeyboardVisibilityChange):
- WebKitSupport/InputHandler.h:
- 11:34 AM Changeset in webkit [130937] by
-
- 11 edits1 move2 adds in trunk
Pre-process CSSGrammar.y before running through bison.
https://bugs.webkit.org/show_bug.cgi?id=94290
Patch by Pablo Flouret <pablof@motorola.com> on 2012-10-10
Reviewed by Tony Chang.
.:
- Source/cmake/WebKitMacros.cmake:
Use WebCore/css/makegrammar.pl to generate bison grammar files.
Source/WebCore:
Running CSSGrammar.y through a preprocessor allows the use of feature
defines in all places of the yacc file (i.e. not just in C blocks).
Mostly useful to be able to keep every part of a feature under feature
flags for self-documenting purposes.
No new tests, CSSGrammar.y should be generated correctly and everything
should keep working as before.
- CMakeLists.txt:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.am:
Modify build systems to use makegrammar.pl to generate the .y files
and run those through bison.
- WebCore.gyp/WebCore.gyp:
- WebCore.gyp/scripts/action_preprocessgrammar.py: Added.
Add a new action to preprocess the CSSGrammar.y.in file before the
bison rule is run.
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
Add the new .y.in / .y.includes files.
- css/CSSGrammar.y.in: Renamed from Source/WebCore/css/CSSGrammar.y.
Also moved the top declarations section that has includes, defines,
etc. to its own file. These shouldn't be touched by the first
pass of the preprocessor. And changed the existing ENABLE(FEATURE)
ifdefs to ENABLE_FEATURE since the ENABLE() macro is not available
yet.
- css/CSSGrammar.y.includes: Added.
The aforementioned declarations header section. After the .y.in file
is processed it will be concatenated with this one to make the
CSSGrammar.y file.
- css/makegrammar.pl:
Modify the script to handle .y.in files.
- 11:31 AM Changeset in webkit [130936] by
-
- 2 edits in trunk/LayoutTests
These tests appear to pass now.
- platform/chromium/TestExpectations:
- 11:23 AM Changeset in webkit [130935] by
-
- 2 edits in trunk/Source/JavaScriptCore
RegisterFile to JSStack rename fix for a struct member.
Compilation problem in debug build on MIPS
https://bugs.webkit.org/show_bug.cgi?id=98808
Patch by Balazs Kilvady <kilvadyb@homejinni.com> on 2012-10-10
Reviewed by Alexey Proskuryakov.
In ASSERT conditions structure field name "registerFile" was replaced
with type name "JSStack" and it should be "stack".
- jit/JITStubs.cpp:
(JSC::JITThunks::JITThunks): structure member name fix.
- 11:17 AM Changeset in webkit [130934] by
-
- 2 edits in trunk/Source/Platform
[chromium] Add attribute for disabling automatic flushes
https://bugs.webkit.org/show_bug.cgi?id=98834
Patch by John Bauman <jbauman@chromium.org> on 2012-10-10
Reviewed by Kenneth Russell.
This attribute allows the compositor context to specify that it wants
to handle flushing itself.
- chromium/public/WebGraphicsContext3D.h:
(WebKit::WebGraphicsContext3D::Attributes::Attributes):
(Attributes):
- 11:15 AM Changeset in webkit [130933] by
-
- 2 edits in trunk/LayoutTests
These tests appear to pass.
- platform/chromium/TestExpectations:
- 11:15 AM Changeset in webkit [130932] by
-
- 2 edits in trunk/Source/WebKit2
Add the mangled symbol name for Frame::layerTreeAsText() to the confusingly named
Windows export file.
- win/WebKit2.def:
- 11:08 AM Changeset in webkit [130931] by
-
- 3 edits in trunk/Source/JavaScriptCore
After r130344, OpaqueJSString::string() shouldn't directly return the wrapped String
https://bugs.webkit.org/show_bug.cgi?id=98801
Reviewed by Geoffrey Garen.
Return a copy of the wrapped String so that the wrapped string cannot be turned into
an Identifier.
- API/OpaqueJSString.cpp:
(OpaqueJSString::string):
- API/OpaqueJSString.h:
(OpaqueJSString):
- 11:07 AM Changeset in webkit [130930] by
-
- 2 edits in trunk/Source/WebCore
EventHandler::handleGestureLongPress breaks compilation if CONTEXT_MENUS isn't set
https://bugs.webkit.org/show_bug.cgi?id=98890
Patch by Luciano Wolf <Luciano Miguel Wolf> on 2012-10-10
Reviewed by Caio Marcelo de Oliveira Filho.
- page/EventHandler.cpp:
(WebCore::EventHandler::handleGestureLongPress):
- 11:01 AM Changeset in webkit [130929] by
-
- 2 edits in trunk
Attempt to fix gtk build which controls exports via this mysteriously-named
file.
- Source/autotools/symbols.filter:
- 10:57 AM Changeset in webkit [130928] by
-
- 8 edits in trunk
Inspector: display IndexedDB integer versions
https://bugs.webkit.org/show_bug.cgi?id=95816
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Added basic test to database-structure.html
- inspector/Inspector.json:
- inspector/InspectorIndexedDBAgent.cpp:
(WebCore):
- inspector/front-end/IndexedDBModel.js:
(WebInspector.IndexedDBModel.prototype._loadDatabase.callback):
(WebInspector.IndexedDBModel.prototype._loadDatabase):
(WebInspector.IndexedDBModel.Database):
- inspector/front-end/IndexedDBViews.js:
(WebInspector.IDBDatabaseView):
(WebInspector.IDBDatabaseView.prototype._refreshDatabase):
LayoutTests:
- http/tests/inspector/indexeddb/database-structure-expected.txt:
- http/tests/inspector/indexeddb/database-structure.html:
- 10:49 AM Changeset in webkit [130927] by
-
- 19 edits in trunk/Source
Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
https://bugs.webkit.org/show_bug.cgi?id=98839
Reviewed by Sam Weinig.
Source/WebCore:
To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
but store the computed rect in m_visibleRect.
Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
- WebCore.exp.in: Signature of Frame::layerTreeAsText() changed.
- page/Frame.cpp:
(WebCore::Frame::layerTreeAsText): Change to take some enum flags rather than just a bool.
- page/Frame.h:
- platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::writeIndent): Make into a static class method so subclasses can use it.
(WebCore::GraphicsLayer::dumpProperties): Call a virtual dumpAdditionalProperties() for subclasses.
(showGraphicsLayerTree):
- platform/graphics/GraphicsLayer.h:
(GraphicsLayer): New LayerTreeAsTextIncludeVisibleRects flag.
(WebCore::GraphicsLayer::dumpAdditionalProperties): New virtual method.
- platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::recursiveCommitChanges): clipRectForChildren and clipRectForSelf
were previously unused and buggy. Fix to correctly compute clipRectForSelf, to assign
to m_visibleRect.
(WebCore::GraphicsLayerCA::dumpAdditionalProperties): Dump m_visibleRect.
- platform/graphics/ca/GraphicsLayerCA.h:
(GraphicsLayerCA):
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::layerTreeAsText): Convert the flags from Frame flags
to GraphicsLayerFlags and pass them along.
- rendering/RenderLayerCompositor.h:
(RenderLayerCompositor):
- testing/Internals.cpp:
(WebCore::Internals::layerTreeAsText): Overloaded method to handle the optional IDL arguments.
- testing/Internals.h: Add enum.
- testing/Internals.idl: Add optional flags, and a const short to describe the flags.
Source/WebKit/chromium:
Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
- src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::layerTreeAsText):
Source/WebKit/mac:
To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
but store the computed rect in m_visibleRect.
Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
- WebView/WebFrame.mm:
(-[WebFrame _layerTreeAsText]):
Source/WebKit2:
Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
- WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::layerTreeAsText):
- 10:47 AM Changeset in webkit [130926] by
-
- 13 edits2 adds in trunk
Needs internal API to return distributed nodes for InsertionPoint
https://bugs.webkit.org/show_bug.cgi?id=98868
Reviewed by Hajime Morita.
.:
- Source/autotools/symbols.filter:
Source/WebCore:
When testing insertion points, we would like to have an internal API which returns a node list
distributed to an insertion point.
We've added the API in Internals.
Test: fast/dom/shadow/distributed-nodes.html
- WebCore.exp.in:
- html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::distributedNodes): Returns the distributed nodes. When InsertionPoint is not
attached, the result will be null, since the distribution is not calculated correctly.
(WebCore):
- html/shadow/InsertionPoint.h:
(InsertionPoint):
- testing/Internals.cpp:
(WebCore::Internals::distributedNodes):
(WebCore):
- testing/Internals.h:
(Internals):
- testing/Internals.idl:
Source/WebKit2:
- win/WebKit2.def:
- win/WebKit2CFLite.def:
LayoutTests:
- fast/dom/shadow/distributed-nodes-expected.txt: Added.
- fast/dom/shadow/distributed-nodes.html: Added.
- 10:42 AM Changeset in webkit [130925] by
-
- 2 edits in trunk/Source/WebCore
[Chromium]Android x86 content shell debug build warning for uninitialized value used as error with gcc 4.6
https://bugs.webkit.org/show_bug.cgi?id=98629
Patch by Wei James <james.wei@intel.com> on 2012-10-10
Reviewed by Adam Barth.
Warning was taken as error for uninitialized value being used when
building content shell for Android x86 with gcc 4.6.
- WebCore.gyp/WebCore.gyp:
- 10:42 AM Changeset in webkit [130924] by
-
- 2 edits in trunk/Tools
Changed debug-safari, debug-minibrowser and debug-test-runner to use LLDB by default when
using Xcode 4.5 or later.
Reviewed by Anders Carlsson.
- Scripts/webkitdirs.pm:
(determineDebugger): Changed the default debugger from GDB to LLDB when the Xcode version
is 4.5 or later. Added a --use-gdb switch for overriding this.
(printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Updated to mention --use-gdb and the
how the default debugger choice depends on the Xcode version. Also changed the description
of --no-saved-state to use the same terminology Xcode’s scheme editor uses to describe this
option, and clarified to which OS X versions it applies.
- 10:32 AM Changeset in webkit [130923] by
-
- 2 edits in trunk/Tools
Unreviewed watch list addition.
Patch by Antonio Gomes <agomes@rim.com> on 2012-10-10
- Scripts/webkitpy/common/config/watchlist:
- 10:30 AM Changeset in webkit [130922] by
-
- 3 edits in trunk/Tools
NRWT crashes on too many timeouts
https://bugs.webkit.org/show_bug.cgi?id=97047
Reviewed by Tony Chang.
Apparently if you kill a subprocess directly python doesn't
auto-close the file descriptors.
- Scripts/webkitpy/layout_tests/port/server_process.py:
(ServerProcess._reset):
- Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
- 10:26 AM Changeset in webkit [130921] by
-
- 2 edits in trunk/Tools
[TestResultServer] Enable CORS for test files
https://bugs.webkit.org/show_bug.cgi?id=98918
Reviewed by Dirk Pranke.
Serve the JSON test files with the Access-Control-Allow-Origin
response header to enable cross-origin sharing of these files.
This eases up hacking on TestResultServer.
- TestResultServer/handlers/testfilehandler.py:
(GetFile._serve_json):
- 10:25 AM Changeset in webkit [130920] by
-
- 12 edits325 adds in trunk/LayoutTests
Update more baselines and some entries in TestExpectations for Android.
Unreviewed rebaselining.
- platform/chromium-android/compositing/: 5 new baselines.
- platform/chromium-android/css2.1/: 5 new baselines.
- platform/chromium-android/css3/: 2 new baselines.
- platform/chromium-android/editing/: 5 new baselines.
- platform/chromium-android/fast/: 67 new baselines.
- platform/chromium-android/http/: 3 new baselines.
- platform/chromium-android/ietestcenter/: 4 new baselines.
- platform/chromium-android/platform/: 51 new baselines.
- platform/chromium-android/svg/: 111 new baselines.
- platform/chromium-android/tables/: 57 new baselines.
- platform/chromium-android/transitions/: 1 new baseline.
- platform/chromium/TestExpectations:
- 10:15 AM WebKitGtkLayoutTests edited by
- Move GTK+ API test dependencies to the main list, add more prominent … (diff)
- 10:14 AM Changeset in webkit [130919] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Chromium gardening.
- platform/chromium/TestExpectations:
Amend bad change from r130904, the test *IS* timing out on all Debug platforms,
not just on Android Debug.
- 10:11 AM Changeset in webkit [130918] by
-
- 8 edits1 move1 add7 deletes in trunk
[CSS Regions] Create a separate list for the invalid regions
https://bugs.webkit.org/show_bug.cgi?id=98752
Patch by Andrei Bucur <abucur@adobe.com> on 2012-10-10
Reviewed by Andreas Kling.
Source/WebCore:
This patch moves the invalid regions in a low traffic data structure, outside the main region list. This should add a small performance boost (there's no test for it) and simplifies the code in the following ways:
- iterations through the region list don't need to worry about invalid regions
- accessing the first/last region is straightforward
- list manipulations are easier to implement (e.g. binary search for a region)
Tests: Adapted fast/regions/flows-dependency-same-flow.html to use the new dump format for the region chain.
- dom/WebKitNamedFlow.cpp:
(WebCore::WebKitNamedFlow::getRegionsByContent): Now returns only the valid regions.
(WebCore::WebKitNamedFlow::getRegions): Now returns only the valid regions.
- rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::RenderFlowThread):
(WebCore::RenderFlowThread::layout):
(WebCore::RenderFlowThread::updateLogicalWidth):
(WebCore::RenderFlowThread::computeLogicalHeight):
(WebCore::RenderFlowThread::repaintRectangleInRegions):
(WebCore::RenderFlowThread::regionAtBlockOffset):
(WebCore::RenderFlowThread::removeRenderBoxRegionInfo):
(WebCore::RenderFlowThread::logicalWidthChangedInRegions):
(WebCore::RenderFlowThread::firstRegion):
(WebCore::RenderFlowThread::lastRegion):
(WebCore::RenderFlowThread::computeOverflowStateForRegions):
(WebCore::RenderFlowThread::regionInRange):
(WebCore::RenderFlowThread::checkRegionsWithStyling):
(WebCore::RenderFlowThread::objectInFlowRegion):
(WebCore::RenderFlowThread::autoLogicalHeightRegionsCount):
- rendering/RenderFlowThread.h:
- rendering/RenderNamedFlowThread.cpp:
(WebCore):
(WebCore::addRegionToList):
(WebCore::RenderNamedFlowThread::addRegionToThread):
(WebCore::RenderNamedFlowThread::removeRegionFromThread):
(WebCore::RenderNamedFlowThread::checkInvalidRegions):
- rendering/RenderNamedFlowThread.h:
(WebCore::RenderNamedFlowThread::invalidRenderRegionList):
(RenderNamedFlowThread):
(WebCore::RenderNamedFlowThread::canBeDestroyed):
- rendering/RenderTreeAsText.cpp:
(WebCore::writeRenderRegionList):
(WebCore):
(WebCore::writeRenderNamedFlowThreads): The valid regions are listed first followed by the invalid regions.
LayoutTests:
The result for fast/regions/flows-dependency-same-flow.html was adapted to the new dump format.
Also, the platform expected results files were removed and a generic baseline was added.
- fast/regions/flows-dependency-same-flow-expected.png: Added.
- fast/regions/flows-dependency-same-flow-expected.txt: Renamed from LayoutTests/platform/qt/fast/regions/flows-dependency-same-flow-expected.txt.
- platform/efl/fast/regions/flows-dependency-same-flow-expected.png: Removed.
- platform/efl/fast/regions/flows-dependency-same-flow-expected.txt: Removed.
- platform/gtk/fast/regions/flows-dependency-same-flow-expected.png: Removed.
- platform/gtk/fast/regions/flows-dependency-same-flow-expected.txt: Removed.
- platform/mac/fast/regions/flows-dependency-same-flow-expected.png: Removed.
- platform/mac/fast/regions/flows-dependency-same-flow-expected.txt: Removed.
- platform/qt/fast/regions/flows-dependency-same-flow-expected.png: Removed.
- 9:51 AM Changeset in webkit [130917] by
-
- 2 edits9 deletes in trunk/LayoutTests
[EFL] Remove a few wrong expectations from the tree and properly skip the tests.
- platform/efl/TestExpectations:
- platform/efl/fast/css/color-correction-backgrounds-and-text-expected.png: Removed.
- platform/efl/fast/css/color-correction-backgrounds-and-text-expected.txt: Removed.
- platform/efl/fast/css/color-correction-expected.png: Removed.
- platform/efl/fast/css/color-correction-expected.txt: Removed.
- platform/efl/fast/css/color-correction-on-background-image-expected.txt: Removed.
- platform/efl/fast/css/color-correction-on-backgrounds-expected.txt: Removed.
- platform/efl/fast/css/color-correction-on-box-shadow-expected.txt: Removed.
- platform/efl/fast/css/color-correction-on-text-shadow-expected.txt: Removed.
- platform/efl/fast/css/color-correction-untagged-images-expected.txt: Removed.
- 9:45 AM Changeset in webkit [130916] by
-
- 2 edits1 add in trunk/LayoutTests
[EFL] More gardening.
- platform/efl/TestExpectations: Unskip a few tests which have had
their pixel expectations committed.
- platform/efl/svg/css/text-gradient-shadow-expected.png: Added.
- 9:44 AM Changeset in webkit [130915] by
-
- 2 edits5 adds in trunk/LayoutTests
Unreviewed GTK gardening.
Rebaselining tests after r130851.
- platform/gtk/fast/text/justify-ideograph-complex-expected.txt:
- platform/gtk/platform: Added.
- platform/gtk/platform/gtk: Added.
- platform/gtk/platform/gtk/fonts: Added.
- platform/gtk/platform/gtk/fonts/complex-text-shadows-expected.txt: Added.
- platform/gtk/platform/gtk/fonts/font-face-with-complex-text-expected.txt: Added.
- 9:22 AM Changeset in webkit [130914] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [Regression] Stale revisions are not cleared when inspector is opened for the already loaded page.
https://bugs.webkit.org/show_bug.cgi?id=98915
Reviewed by Alexander Pavlov.
WorkspaceController now clears stale revisions on navigation as well.
- inspector/front-end/Workspace.js:
(WebInspector.WorkspaceController):
(WebInspector.WorkspaceController.prototype._mainFrameNavigated):
- 9:20 AM Changeset in webkit [130913] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Exception when committing java script editing with revision history view open.
https://bugs.webkit.org/show_bug.cgi?id=98908
Reviewed by Alexander Pavlov.
Added null check.
- inspector/front-end/RevisionHistoryView.js:
- 9:11 AM Changeset in webkit [130912] by
-
- 3 edits in branches/chromium/1271/Source/WebCore/platform/chromium
Merge 130513 - [chromium] Only inflate the height of rows in a popup menu when a touch device is detected.
https://bugs.webkit.org/show_bug.cgi?id=98515
Patch by Kevin Ellis <kevers@chromium.org> on 2012-10-05
Reviewed by Adam Barth.
Enforces a minimum row height for popup menus when a touch device is
detected. In a previous patch (r127597), the sizing of popup was
consolidated for touch and non-touch. Based on user feedback, reverting
to the old behavior for non-touch and only adding padding for touch
devices seems like a much safer strategy. This patch is not a direct
revert of r127567 since the padding previously used for touch is a bit
excessive.
Covered by existing tests.
- platform/chromium/PopupListBox.cpp:
(WebCore::PopupListBox::getRowHeight):
- platform/chromium/PopupMenuChromium.cpp:
(WebCore):
- platform/chromium/PopupMenuChromium.h:
(WebCore::PopupMenuChromium::optionRowHeightForTouch):
(WebCore::PopupMenuChromium::setOptionRowHeightForTouch):
(PopupMenuChromium):
TBR=commit-queue@webkit.org
Review URL: https://codereview.chromium.org/11099038
- 8:59 AM Changeset in webkit [130911] by
-
- 1 edit83 adds in trunk/LayoutTests
[EFL] Add more missing pixel expectations to lots of different directories.
- platform/efl/compositing/geometry/fixed-position-composited-page-scale-down-expected.png: Added.
- platform/efl/compositing/geometry/fixed-position-composited-page-scale-expected.png: Added.
- platform/efl/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
- platform/efl/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png: Added.
- platform/efl/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
- platform/efl/compositing/geometry/fixed-position-transform-composited-page-scale-expected.png: Added.
- platform/efl/compositing/geometry/foreground-layer-expected.png: Added.
- platform/efl/compositing/layer-creation/spanOverlapsCanvas-expected.png: Added.
- platform/efl/compositing/overflow/overflow-scaled-descendant-overlapping-expected.png: Added.
- platform/efl/compositing/video/video-controls-layer-creation-expected.png: Added.
- platform/efl/editing/pasteboard/drag-drop-dead-frame-expected.png: Added.
- platform/efl/editing/selection/5354455-2-expected.png: Added.
- platform/efl/editing/undo/4063751-expected.png: Added.
- platform/efl/editing/undo/5378473-expected.png: Added.
- platform/efl/editing/undo/redo-typing-001-expected.png: Added.
- platform/efl/editing/undo/undo-combined-delete-boundary-expected.png: Added.
- platform/efl/editing/undo/undo-combined-delete-expected.png: Added.
- platform/efl/editing/undo/undo-delete-boundary-expected.png: Added.
- platform/efl/editing/undo/undo-delete-expected.png: Added.
- platform/efl/editing/undo/undo-forward-delete-boundary-expected.png: Added.
- platform/efl/editing/undo/undo-forward-delete-expected.png: Added.
- platform/efl/editing/undo/undo-misspellings-expected.png: Added.
- platform/efl/editing/undo/undo-typing-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/background-color-border-box-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/background-size-002-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-001-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-004-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/color-behind-images-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.png: Added.
- platform/efl/ietestcenter/css3/bordersbackgrounds/order-of-images-expected.png: Added.
- platform/efl/ietestcenter/css3/text/textshadow-001-expected.png: Added.
- platform/efl/ietestcenter/css3/text/textshadow-002-expected.png: Added.
- platform/efl/ietestcenter/css3/text/textshadow-003-expected.png: Added.
- platform/efl/ietestcenter/css3/text/textshadow-004-expected.png: Added.
- platform/efl/ietestcenter/css3/text/textshadow-005-expected.png: Added.
- platform/efl/ietestcenter/css3/text/textshadow-006-expected.png: Added.
- platform/efl/ietestcenter/css3/text/textshadow-007-expected.png: Added.
- platform/efl/ietestcenter/css3/text/textshadow-009-expected.png: Added.
- platform/efl/ietestcenter/css3/text/textshadow-010-expected.png: Added.
- platform/efl/printing/iframe-print-expected.png: Added.
- 8:58 AM Changeset in webkit [130910] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: protect node in the InspectorDOMNode::inspect
https://bugs.webkit.org/show_bug.cgi?id=98914
Reviewed by Yury Semikhatsky.
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::inspect):
- 8:48 AM Changeset in webkit [130909] by
-
- 4 edits in trunk
[BlackBerry] Define WTF_USE_EXTRA_MACROS in cmake rather than Platform.h
https://bugs.webkit.org/show_bug.cgi?id=98819
Reviewed by Rob Buis.
And make it depend on SHARED_CORE
RIM PR# 221339.
.:
- Source/cmake/OptionsBlackBerry.cmake:
Source/WTF:
- wtf/Platform.h:
- 8:45 AM Changeset in webkit [130908] by
-
- 3 edits in trunk/LayoutTests
[GTK] svg/W3C-SVG-1.1/animate-elem-08-t.svg needs rebaselining after r130840
https://bugs.webkit.org/show_bug.cgi?id=98910
Unreviewed, rebaseline GTK+ test results.
Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-10-10
- platform/gtk/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png:
- platform/gtk/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt:
- 8:42 AM WebInspector edited by
- (diff)
- 8:38 AM Changeset in webkit [130907] by
-
- 1 edit4 copies5 moves3 adds in trunk/LayoutTests
[Qt] REGRESSION: 5 tests started to fail with newer Qt5
https://bugs.webkit.org/show_bug.cgi?id=90687
Unreviewed gardening after r129234.
Moves the Qt 5 specific results to qt-5.0 directory, while moving the old results to qt-4.8.
- platform/qt-4.8/http/tests/xmlhttprequest/methods-expected.txt: Copied from LayoutTests/platform/qt/http/tests/xmlhttprequest/methods-expected.txt.
- platform/qt-4.8/http/tests/xmlhttprequest/workers/methods-async-expected.txt: Copied from LayoutTests/platform/qt/http/tests/xmlhttprequest/workers/methods-async-expected.txt.
- platform/qt-4.8/http/tests/xmlhttprequest/workers/methods-expected.txt: Copied from LayoutTests/platform/qt/http/tests/xmlhttprequest/workers/methods-expected.txt.
- platform/qt-4.8/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt: Copied from LayoutTests/platform/qt/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt.
- platform/qt-5.0/http/tests/cookies/double-quoted-value-with-semi-colon-expected.txt: Renamed from LayoutTests/platform/qt/http/tests/cookies/double-quoted-value-with-semi-colon-expected.txt.
- platform/qt-5.0/http/tests/xmlhttprequest/methods-expected.txt: Renamed from LayoutTests/platform/qt/http/tests/xmlhttprequest/methods-expected.txt.
- platform/qt-5.0/http/tests/xmlhttprequest/workers/methods-async-expected.txt: Renamed from LayoutTests/platform/qt/http/tests/xmlhttprequest/workers/methods-async-expected.txt.
- platform/qt-5.0/http/tests/xmlhttprequest/workers/methods-expected.txt: Renamed from LayoutTests/platform/qt/http/tests/xmlhttprequest/workers/methods-expected.txt.
- platform/qt-5.0/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt: Renamed from LayoutTests/platform/qt/http/tests/xmlhttprequest/workers/shared-worker-methods-async-expected.txt.
- 8:34 AM Changeset in webkit [130906] by
-
- 2 edits in trunk/LayoutTests
Record that these tests have additional failure modes.
- platform/chromium/TestExpectations:
- 8:33 AM WebKitGtkLayoutTests edited by
- (diff)
- 8:27 AM Changeset in webkit [130905] by
-
- 2 edits in trunk/Tools
Future-proof the WTF.DoubleHashCollisions test.
<http://webkit.org/b/98853>
Reviewed by Anders Carlsson.
Add a check that the two keys that are supposed to clobber each other actually end up
in the same bucket with the DefaultHash<double> hash function.
- TestWebKitAPI/Tests/WTF/HashMap.cpp:
(TestWebKitAPI::bucketForKey):
(TestWebKitAPI):
(TestWebKitAPI::TEST):
- 8:18 AM Changeset in webkit [130904] by
-
- 3 edits in trunk/LayoutTests
[Chromium-Android] Another batch of TestExpectation updates for Android
https://bugs.webkit.org/show_bug.cgi?id=98909
Unreviewed test expectation update.
Many of the failures were actually ImageOnlyFailure, which isn't part
of the Failure state. This also includes a number of new expected
results, mostly focusing on crashing and timing out tests.
- platform/chromium-android/TestExpectations:
- platform/chromium/TestExpectations:
- 8:04 AM Changeset in webkit [130903] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Layout Test platform/chromium/fast/forms/*/*-suggestion-picker-*-operations.html are flaky
https://bugs.webkit.org/show_bug.cgi?id=98906
- platform/chromium/TestExpectations:
- 7:49 AM Changeset in webkit [130902] by
-
- 2 edits3 adds in trunk/LayoutTests
[EFL] Add some css3 expectations, rebaseline a css2.1 PNG.
- platform/efl/css2.1/20110323/abspos-containing-block-initial-001-expected.png:
- platform/efl/css3/flexbox/flexbox-baseline-expected.png: Added.
- platform/efl/css3/flexbox/flexbox-baseline-expected.txt: Added.
- platform/efl/css3/images/cross-fade-background-size-expected.png: Added.
- 7:32 AM Changeset in webkit [130901] by
-
- 1 edit124 adds in trunk/LayoutTests
[EFL] Hopefully finish adding SVG pixel expectations.
- platform/efl/svg/W3C-I18N/g-dirLTR-ubNone-expected.png: Added.
- platform/efl/svg/W3C-I18N/g-dirLTR-ubOverride-expected.png: Added.
- platform/efl/svg/W3C-I18N/text-dirLTR-ubNone-expected.png: Added.
- platform/efl/svg/W3C-I18N/text-dirLTR-ubOverride-expected.png: Added.
- platform/efl/svg/W3C-I18N/text-dirRTL-ubNone-expected.png: Added.
- platform/efl/svg/W3C-I18N/text-dirRTL-ubOverride-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-direction-ltr-expected.png: Added.
- platform/efl/svg/W3C-I18N/tspan-direction-rtl-expected.png: Added.
- platform/efl/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-01-t-expected.png: Added.
- platform/efl/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.png: Added.
- platform/efl/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.png: Added.
- platform/efl/svg/as-background-image/animated-svg-as-background-expected.png: Added.
- platform/efl/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png: Added.
- platform/efl/svg/as-background-image/background-image-tiled-expected.png: Added.
- platform/efl/svg/as-background-image/same-image-two-instances-background-image-expected.png: Added.
- platform/efl/svg/as-background-image/svg-as-background-2-expected.png: Added.
- platform/efl/svg/as-background-image/svg-as-background-5-expected.png: Added.
- platform/efl/svg/as-background-image/svg-as-background-6-expected.png: Added.
- platform/efl/svg/as-background-image/svg-as-background-expected.png: Added.
- platform/efl/svg/as-background-image/svg-as-background-with-relative-size-expected.png: Added.
- platform/efl/svg/as-background-image/svg-as-background-with-viewBox-expected.png: Added.
- platform/efl/svg/as-background-image/svg-as-tiled-background-expected.png: Added.
- platform/efl/svg/as-background-image/svg-background-partial-redraw-expected.png: Added.
- platform/efl/svg/as-background-image/svg-width-100p-as-background-expected.png: Added.
- platform/efl/svg/as-image/image-respects-pageScaleFactor-change-expected.png: Added.
- platform/efl/svg/as-image/image-respects-pageScaleFactor-expected.png: Added.
- platform/efl/svg/as-image/svg-as-image-expected.png: Added.
- platform/efl/svg/as-image/svg-as-relative-image-expected.png: Added.
- platform/efl/svg/as-image/svg-as-relative-image-with-explicit-size-expected.png: Added.
- platform/efl/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-1-expected.png: Added.
- platform/efl/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-2-expected.png: Added.
- platform/efl/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png: Added.
- platform/efl/svg/as-object/embedded-svg-size-changes-expected.png: Added.
- platform/efl/svg/as-object/embedded-svg-size-changes-no-layout-triggers-expected.png: Added.
- platform/efl/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
- platform/efl/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1-expected.png: Added.
- platform/efl/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-2-expected.png: Added.
- platform/efl/svg/carto.net/combobox-expected.png: Added.
- platform/efl/svg/carto.net/scrollbar-expected.png: Added.
- platform/efl/svg/carto.net/selectionlist-expected.png: Added.
- platform/efl/svg/carto.net/textbox-expected.png: Added.
- platform/efl/svg/clip-path/clip-in-clip-expected.png: Added.
- platform/efl/svg/clip-path/clip-in-mask-objectBoundingBox-expected.png: Added.
- platform/efl/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-childs-clipped-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-clipped-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-clipped-nonzero-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-objectBoundingBox-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-on-clipped-use-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-on-g-and-child-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-on-g-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-on-svg-and-child-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-on-svg-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-recursive-call-by-child-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-recursive-call-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-text-and-stroke-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-text-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-transform-2-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-tspan-and-stroke-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-use-as-child-expected.png: Added.
- platform/efl/svg/clip-path/clip-path-userSpaceOnUse-expected.png: Added.
- platform/efl/svg/css/arrow-with-shadow-expected.png: Added.
- platform/efl/svg/css/background-image-svg-expected.png: Added.
- platform/efl/svg/css/circle-in-mask-with-shadow-expected.png: Added.
- platform/efl/svg/css/composite-shadow-text-expected.png: Added.
- platform/efl/svg/css/css-box-min-width-expected.png: Added.
- platform/efl/svg/css/path-with-shadow-expected.png: Added.
- platform/efl/svg/css/rect-gradient-stroke-shadow-expected.png: Added.
- platform/efl/svg/css/shadow-and-opacity-expected.png: Added.
- platform/efl/svg/css/shadow-with-large-radius-expected.png: Added.
- platform/efl/svg/css/shadow-with-negative-offset-expected.png: Added.
- platform/efl/svg/css/text-shadow-multiple-expected.png: Added.
- platform/efl/svg/dom/SVGLengthList-appendItem-expected.png: Added.
- platform/efl/svg/dom/SVGLengthList-basics-expected.png: Added.
- platform/efl/svg/dom/SVGLengthList-getItem-expected.png: Added.
- platform/efl/svg/dom/SVGLengthList-initialize-expected.png: Added.
- platform/efl/svg/dom/SVGLengthList-insertItemBefore-expected.png: Added.
- platform/efl/svg/dom/SVGLengthList-removeItem-expected.png: Added.
- platform/efl/svg/dom/SVGLengthList-replaceItem-expected.png: Added.
- platform/efl/svg/dom/SVGLengthList-xml-dom-modifications-expected.png: Added.
- platform/efl/svg/dom/SVGLocatable-getCTM-svg-root-expected.png: Added.
- platform/efl/svg/dom/SVGNumberList-basics-expected.png: Added.
- platform/efl/svg/dom/SVGPathSegList-appendItem-expected.png: Added.
- platform/efl/svg/dom/SVGPathSegList-clear-and-initialize-expected.png: Added.
- platform/efl/svg/dom/SVGPathSegList-insertItemBefore-expected.png: Added.
- platform/efl/svg/dom/SVGPathSegList-removeItem-expected.png: Added.
- platform/efl/svg/dom/SVGPathSegList-replaceItem-expected.png: Added.
- platform/efl/svg/dom/SVGPathSegList-segment-modification-expected.png: Added.
- platform/efl/svg/dom/SVGPathSegList-xml-dom-synchronization-expected.png: Added.
- platform/efl/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.png: Added.
- platform/efl/svg/dom/SVGPointList-basics-expected.png: Added.
- platform/efl/svg/dom/SVGRectElement: Added.
- platform/efl/svg/dom/SVGRectElement/rect-modify-rx-expected.png: Added.
- platform/efl/svg/dom/SVGStringList-basics-expected.png: Added.
- platform/efl/svg/dom/SVGTransformList-basics-expected.png: Added.
- platform/efl/svg/filters/color-interpolation-filters-expected.png: Added.
- platform/efl/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.png: Added.
- platform/efl/svg/foreignObject/fO-display-none-expected.png: Added.
- platform/efl/svg/foreignObject/fO-display-none-with-relative-pos-content-expected.png: Added.
- platform/efl/svg/foreignObject/fO-parent-display-changes-expected.png: Added.
- platform/efl/svg/foreignObject/fO-parent-display-none-expected.png: Added.
- platform/efl/svg/foreignObject/fO-parent-display-none-with-relative-pos-content-expected.png: Added.
- platform/efl/svg/foreignObject/fO-parent-of-parent-display-none-expected.png: Added.
- platform/efl/svg/foreignObject/fO-parent-of-parent-display-none-with-relative-pos-content-expected.png: Added.
- platform/efl/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.png: Added.
- platform/efl/svg/foreignObject/svg-document-as-direct-child-expected.png: Added.
- platform/efl/svg/foreignObject/svg-document-in-html-document-expected.png: Added.
- platform/efl/svg/foreignObject/text-tref-02-b-expected.png: Added.
- 7:29 AM Changeset in webkit [130900] by
-
- 2 edits in trunk/Source/WebCore
EditorCommand calls setProperty with the wrong parameters.
https://bugs.webkit.org/show_bug.cgi?id=98896
Patch by Mike West <mkwst@google.com> on 2012-10-10
Reviewed by Jochen Eisinger.
EditorCommand::executeToggleStyleInList calls
StylePropertySet::setProperty with an ExceptionCode as the final
argument. This only succeeds because it's automagically cast to a bool,
which is what the method actually expects.
Implicitly passing in 'false' by dropping the parameter shouldn't change
any visible functionality; no new tests are required.
- editing/EditorCommand.cpp:
(WebCore::executeToggleStyleInList):
- 7:22 AM Changeset in webkit [130899] by
-
- 1 edit2 adds in trunk/LayoutTests
SVG root element's inspector highlight has different dimensions than the element when zooming the page
https://bugs.webkit.org/show_bug.cgi?id=78031
Patch by Max Vujovic <mvujovic@adobe.com> on 2012-10-10
Reviewed by Pavel Feldman.
Add test that verifies the position and size of the highlight rectangles overlayed on an SVG
root element when the page is zoomed.
- inspector/elements/highlight-svg-root-zoomed-expected.txt: Added.
- inspector/elements/highlight-svg-root-zoomed.html: Added.
- 7:14 AM Changeset in webkit [130898] by
-
- 264 edits24 copies19 adds in trunk
[Qt] Test drivers should handle repaint rects
https://bugs.webkit.org/show_bug.cgi?id=68870
Reviewed by Zoltan Herczeg.
Source/WebKit/qt:
Added helpers to enable and get the repaint rects.
- WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::setTrackRepaintRects):
(DumpRenderTreeSupportQt::trackRepaintRects):
(DumpRenderTreeSupportQt::getTrackedRepaintRects):
- WebCoreSupport/DumpRenderTreeSupportQt.h:
Tools:
Implemented masking the area not covered by repaint rects.
This is equivalent with the implementation for Mac.
- DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::dump):
- DumpRenderTree/qt/TestRunnerQt.cpp:
(TestRunner::display):
- WebKitTestRunner/qt/PlatformWebViewQt.cpp:
- WebKitTestRunner/qt/TestInvocationQt.cpp:
(WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
LayoutTests:
Rebasline results. Added new expectations where the results were good.
I evaulated the results based on the mac and chromium-mac ports. In some
cases I accepted our diverging result if it seemed to be ok by looking
into the test. Marked bad results as image failure.
- platform/qt-5.0-wk2/TestExpectations:
- platform/qt-5.0-wk2/compositing/iframes/fixed-position-iframe-expected.png: Added.
- platform/qt-5.0-wk2/compositing/iframes/scroll-fixed-transformed-element-expected.png: Copied from LayoutTests/platform/qt/fast/layers/add-layer-with-nested-stacking-expected.png.
- platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-scroll-expected.png:
- platform/qt-5.0-wk2/compositing/repaint/newly-composited-on-scroll-expected.png:
- platform/qt-5.0-wk2/compositing/repaint/shrink-layer-expected.png: Copied from LayoutTests/platform/qt/svg/custom/clip-path-href-changes-expected.png.
- platform/qt-5.0-wk2/compositing/rtl/rtl-overflow-invalidation-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/clip-with-layout-delta-expected.png.
- platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png:
- platform/qt-5.0-wk2/compositing/transitions/singular-scale-transition-expected.png: Added.
- platform/qt-5.0-wk2/css3/filters/filter-change-repaint-expected.png: Added.
- platform/qt-5.0-wk2/fast/backgrounds/solid-color-context-restore-expected.png: Added.
- platform/qt-5.0-wk2/fast/canvas/canvas-incremental-repaint-2-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/subtree-root-clip-3-expected.png.
- platform/qt-5.0-wk2/fast/canvas/setWidthResetAfterForcedRender-expected.png: Added.
- platform/qt-5.0-wk2/fast/forms/listbox-clip-expected.png: Copied from LayoutTests/platform/qt/svg/repaint/repainting-after-animation-element-removal-expected.png.
- platform/qt-5.0-wk2/fast/reflections/inline-crash-expected.png: Added.
- platform/qt-5.0-wk2/fast/repaint/body-background-image-expected.png: Added.
- platform/qt-5.0-wk2/fast/repaint/delete-into-nested-block-expected.png: Added.
- platform/qt-5.0-wk2/fast/repaint/fixed-after-scroll-expected.png: Copied from LayoutTests/platform/qt/svg/custom/use-disappears-after-style-update-expected.png.
- platform/qt-5.0-wk2/fast/repaint/fixed-scale-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/iframe-scroll-repaint-expected.png.
- platform/qt-5.0-wk2/fast/repaint/fixed-scroll-simple-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/overflow-clip-subtree-layout-expected.png.
- platform/qt-5.0-wk2/fast/repaint/fixed-table-cell-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/button-spurious-layout-hint-expected.png.
- platform/qt-5.0-wk2/fast/repaint/fixed-table-overflow-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/subtree-root-clip-2-expected.png.
- platform/qt-5.0-wk2/fast/repaint/fixed-table-overflow-zindex-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/subtree-root-clip-2-expected.png.
- platform/qt-5.0-wk2/fast/repaint/iframe-scroll-repaint-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/clip-with-layout-delta-expected.png.
- platform/qt-5.0-wk2/fast/repaint/reflection-repaint-test-expected.png: Added.
- platform/qt-5.0-wk2/fast/repaint/region-painting-invalidation-expected.png: Copied from LayoutTests/platform/qt/fast/layers/add-layer-with-nested-stacking-expected.png.
- platform/qt-5.0-wk2/fast/repaint/region-painting-via-layout-expected.png: Copied from LayoutTests/platform/qt/svg/as-object/embedded-svg-size-changes-no-layout-triggers-expected.png.
- platform/qt-5.0-wk2/fast/repaint/scale-page-shrink-expected.png: Added.
- platform/qt-5.0-wk2/fast/repaint/selection-after-delete-expected.png: Added.
- platform/qt-5.0-wk2/fast/repaint/selection-after-remove-expected.png: Added.
- platform/qt-5.0-wk2/fast/repaint/selection-clear-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/table-hover-on-link-expected.png.
- platform/qt-5.0-wk2/fast/repaint/selection-gap-overflow-scroll-2-expected.png: Added.
- platform/qt-5.0-wk2/fast/table/border-collapsing/cached-69296-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/table-two-pass-layout-overpaint-expected.png.
- platform/qt-5.0-wk2/fast/text/font-initial-expected.png: Added.
- platform/qt-5.0-wk2/svg/text/remove-text-node-from-tspan-expected.png: Added.
- platform/qt-5.0-wk2/svg/text/remove-tspan-from-text-expected.png: Added.
- platform/qt/fast/canvas/canvas-as-image-incremental-repaint-expected.png:
- platform/qt/fast/canvas/canvas-incremental-repaint-expected.png: Added.
- platform/qt/fast/dynamic/containing-block-change-expected.png:
- platform/qt/fast/frames/transparent-scrollbar-expected.png: Copied from LayoutTests/platform/qt/svg/custom/repaint-on-constant-size-change-expected.png.
- platform/qt/fast/layers/add-layer-with-nested-stacking-expected.png:
- platform/qt/fast/layers/inline-dirty-z-order-lists-expected.png:
- platform/qt/fast/layers/layer-content-visibility-change-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/layout-state-only-positioned-expected.png.
- platform/qt/fast/layers/remove-layer-with-nested-stacking-expected.png:
- platform/qt/fast/repaint/4774354-expected.png:
- platform/qt/fast/repaint/4776765-expected.png:
- platform/qt/fast/repaint/backgroundSizeRepaint-expected.png:
- platform/qt/fast/repaint/block-layout-inline-children-float-positioned-expected.png:
- platform/qt/fast/repaint/block-layout-inline-children-replaced-expected.png:
- platform/qt/fast/repaint/block-no-inflow-children-expected.png:
- platform/qt/fast/repaint/border-fit-lines-expected.png:
- platform/qt/fast/repaint/border-radius-repaint-expected.png:
- platform/qt/fast/repaint/border-repaint-glitch-expected.png:
- platform/qt/fast/repaint/box-shadow-dynamic-expected.png:
- platform/qt/fast/repaint/bugzilla-3509-expected.png:
- platform/qt/fast/repaint/bugzilla-5699-expected.png:
- platform/qt/fast/repaint/bugzilla-6278-expected.png:
- platform/qt/fast/repaint/bugzilla-6388-expected.png:
- platform/qt/fast/repaint/bugzilla-6473-expected.png:
- platform/qt/fast/repaint/bugzilla-7235-expected.png:
- platform/qt/fast/repaint/button-spurious-layout-hint-expected.png:
- platform/qt/fast/repaint/caret-outside-block-expected.png:
- platform/qt/fast/repaint/change-transform-expected.png:
- platform/qt/fast/repaint/clip-with-layout-delta-expected.png:
- platform/qt/fast/repaint/clipped-relative-expected.png:
- platform/qt/fast/repaint/containing-block-position-change-expected.png:
- platform/qt/fast/repaint/content-into-overflow-expected.png:
- platform/qt/fast/repaint/continuation-after-outline-expected.png:
- platform/qt/fast/repaint/control-clip-expected.png:
- platform/qt/fast/repaint/create-layer-repaint-expected.png:
- platform/qt/fast/repaint/delete-into-nested-block-expected.png:
- platform/qt/fast/repaint/dynamic-table-vertical-alignment-change-expected.png:
- platform/qt/fast/repaint/fixed-child-move-after-scroll-expected.png:
- platform/qt/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.png:
- platform/qt/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.png:
- platform/qt/fast/repaint/fixed-move-after-keyboard-scroll-expected.png:
- platform/qt/fast/repaint/fixed-move-after-scroll-expected.png:
- platform/qt/fast/repaint/fixed-tranformed-expected.png:
- platform/qt/fast/repaint/float-move-during-layout-expected.png:
- platform/qt/fast/repaint/float-overflow-expected.png:
- platform/qt/fast/repaint/float-overflow-right-expected.png:
- platform/qt/fast/repaint/gradients-em-stops-repaint-expected.png:
- platform/qt/fast/repaint/iframe-scroll-repaint-expected.png:
- platform/qt/fast/repaint/inline-color-change-expected.png:
- platform/qt/fast/repaint/inline-outline-repaint-expected.png:
- platform/qt/fast/repaint/invisible-objects-expected.png:
- platform/qt/fast/repaint/layer-visibility-expected.png: Copied from LayoutTests/platform/qt/fast/layers/add-layer-with-nested-stacking-expected.png.
- platform/qt/fast/repaint/layout-state-only-positioned-expected.png:
- platform/qt/fast/repaint/layout-state-relative-expected.png:
- platform/qt/fast/repaint/layout-state-scrolloffset-expected.png:
- platform/qt/fast/repaint/layout-state-scrolloffset2-expected.png:
- platform/qt/fast/repaint/layout-state-scrolloffset3-expected.png:
- platform/qt/fast/repaint/line-flow-with-floats-1-expected.png:
- platform/qt/fast/repaint/line-flow-with-floats-10-expected.png:
- platform/qt/fast/repaint/line-flow-with-floats-2-expected.png:
- platform/qt/fast/repaint/line-flow-with-floats-3-expected.png:
- platform/qt/fast/repaint/line-flow-with-floats-4-expected.png:
- platform/qt/fast/repaint/line-flow-with-floats-5-expected.png:
- platform/qt/fast/repaint/line-flow-with-floats-6-expected.png:
- platform/qt/fast/repaint/line-flow-with-floats-7-expected.png:
- platform/qt/fast/repaint/line-flow-with-floats-8-expected.png:
- platform/qt/fast/repaint/line-flow-with-floats-9-expected.png:
- platform/qt/fast/repaint/line-in-scrolled-clipped-block-expected.png:
- platform/qt/fast/repaint/line-overflow-expected.png:
- platform/qt/fast/repaint/lines-with-layout-delta-expected.png:
- platform/qt/fast/repaint/list-marker-2-expected.png:
- platform/qt/fast/repaint/make-children-non-inline-expected.png:
- platform/qt/fast/repaint/multicol-repaint-expected.png:
- platform/qt/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.png:
- platform/qt/fast/repaint/opacity-change-on-overflow-float-expected.png:
- platform/qt/fast/repaint/outline-child-repaint-expected.png:
- platform/qt/fast/repaint/outline-inset-expected.png:
- platform/qt/fast/repaint/outline-repaint-glitch-expected.png:
- platform/qt/fast/repaint/outline-shrinking-expected.png:
- platform/qt/fast/repaint/overflow-clip-subtree-layout-expected.png:
- platform/qt/fast/repaint/overflow-delete-line-expected.png:
- platform/qt/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.png:
- platform/qt/fast/repaint/overflow-into-content-expected.png:
- platform/qt/fast/repaint/overflow-scroll-delete-expected.png:
- platform/qt/fast/repaint/reflection-redraw-expected.png:
- platform/qt/fast/repaint/reflection-repaint-test-expected.png:
- platform/qt/fast/repaint/region-painting-invalidation-expected.png:
- platform/qt/fast/repaint/region-painting-via-layout-expected.png:
- platform/qt/fast/repaint/rel-positioned-inline-with-overflow-expected.png:
- platform/qt/fast/repaint/repaint-during-scroll-expected.png:
- platform/qt/fast/repaint/repaint-resized-overflow-expected.png:
- platform/qt/fast/repaint/search-field-cancel-expected.png:
- platform/qt/fast/repaint/select-option-background-color-expected.png:
- platform/qt/fast/repaint/selected-replaced-expected.png:
- platform/qt/fast/repaint/selection-after-delete-expected.png:
- platform/qt/fast/repaint/selection-after-remove-expected.png:
- platform/qt/fast/repaint/selection-clear-expected.png:
- platform/qt/fast/repaint/selection-gap-overflow-scroll-2-expected.png:
- platform/qt/fast/repaint/selection-rl-expected.png:
- platform/qt/fast/repaint/stacked-diacritics-expected.png:
- platform/qt/fast/repaint/subtree-layoutstate-transform-expected.png:
- platform/qt/fast/repaint/subtree-root-clip-2-expected.png:
- platform/qt/fast/repaint/subtree-root-clip-3-expected.png:
- platform/qt/fast/repaint/subtree-root-clip-expected.png:
- platform/qt/fast/repaint/subtree-root-skipped-expected.png:
- platform/qt/fast/repaint/table-cell-collapsed-border-expected.png:
- platform/qt/fast/repaint/table-cell-move-expected.png:
- platform/qt/fast/repaint/table-collapsed-border-expected.png:
- platform/qt/fast/repaint/table-extra-bottom-grow-expected.png:
- platform/qt/fast/repaint/table-hover-on-link-expected.png:
- platform/qt/fast/repaint/table-section-repaint-expected.png:
- platform/qt/fast/repaint/table-two-pass-layout-overpaint-expected.png:
- platform/qt/fast/repaint/text-append-dirty-lines-expected.png:
- platform/qt/fast/repaint/transform-absolute-child-expected.png:
- platform/qt/fast/repaint/transform-absolute-in-positioned-container-expected.png:
- platform/qt/fast/repaint/transform-disable-layoutstate-expected.png:
- platform/qt/fast/repaint/transform-layout-repaint-expected.png:
- platform/qt/fast/repaint/transform-relative-position-expected.png:
- platform/qt/fast/repaint/transform-repaint-descendants-expected.png:
- platform/qt/fast/repaint/transform-replaced-shadows-expected.png:
- platform/qt/fast/repaint/transform-rotate-and-remove-expected.png:
- platform/qt/fast/repaint/transform-translate-expected.png:
- platform/qt/fast/table/border-collapsing/cached-69296-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/layout-state-only-positioned-expected.png.
- platform/qt/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.png: Copied from LayoutTests/platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.png.
- platform/qt/fast/table/border-collapsing/cached-change-row-border-width-expected.png: Copied from LayoutTests/platform/qt/svg/repaint/repainting-after-animation-element-removal-expected.png.
- platform/qt/fast/table/border-collapsing/cached-change-tbody-border-width-expected.png: Copied from LayoutTests/platform/qt/fast/repaint/table-two-pass-layout-overpaint-expected.png.
- platform/qt/http/tests/misc/slow-loading-image-in-pattern-expected.png:
- platform/qt/svg/as-background-image/svg-background-partial-redraw-expected.png:
- platform/qt/svg/as-image/animated-svg-as-image-expected.png:
- platform/qt/svg/as-image/animated-svg-as-image-no-fixed-intrinsic-size-expected.png:
- platform/qt/svg/as-image/animated-svg-as-image-same-image-expected.png:
- platform/qt/svg/as-image/svg-image-change-content-size-expected.png:
- platform/qt/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-1-expected.png:
- platform/qt/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-2-expected.png:
- platform/qt/svg/as-object/embedded-svg-size-changes-no-layout-triggers-expected.png:
- platform/qt/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1-expected.png:
- platform/qt/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-2-expected.png:
- platform/qt/svg/carto.net/window-expected.png:
- platform/qt/svg/custom/absolute-sized-content-with-resources-expected.png:
- platform/qt/svg/custom/animate-path-discrete-expected.png:
- platform/qt/svg/custom/animate-path-morphing-expected.png:
- platform/qt/svg/custom/animate-target-id-changed-expected.png:
- platform/qt/svg/custom/animate-target-removed-from-document-expected.png:
- platform/qt/svg/custom/circle-move-invalidation-expected.png:
- platform/qt/svg/custom/clip-path-child-changes-expected.png:
- platform/qt/svg/custom/clip-path-href-changes-expected.png:
- platform/qt/svg/custom/clip-path-units-changes-expected.png:
- platform/qt/svg/custom/deep-dynamic-updates-expected.png:
- platform/qt/svg/custom/fill-opacity-update-expected.png:
- platform/qt/svg/custom/foreignObject-crash-on-hover-expected.png:
- platform/qt/svg/custom/gradient-add-stops-expected.png:
- platform/qt/svg/custom/gradient-stop-style-change-expected.png:
- platform/qt/svg/custom/hit-test-unclosed-subpaths-expected.png:
- platform/qt/svg/custom/js-late-clipPath-and-object-creation-expected.png:
- platform/qt/svg/custom/js-late-clipPath-creation-expected.png:
- platform/qt/svg/custom/js-late-gradient-and-object-creation-expected.png:
- platform/qt/svg/custom/js-late-gradient-creation-expected.png:
- platform/qt/svg/custom/js-late-marker-and-object-creation-expected.png:
- platform/qt/svg/custom/js-late-marker-creation-expected.png:
- platform/qt/svg/custom/js-late-mask-and-object-creation-expected.png:
- platform/qt/svg/custom/js-late-mask-creation-expected.png:
- platform/qt/svg/custom/js-update-bounce-expected.png:
- platform/qt/svg/custom/js-update-container-expected.png:
- platform/qt/svg/custom/js-update-container2-expected.png:
- platform/qt/svg/custom/js-update-gradient-expected.png:
- platform/qt/svg/custom/js-update-image-expected.png:
- platform/qt/svg/custom/js-update-path-changes-expected.png:
- platform/qt/svg/custom/js-update-path-removal-expected.png:
- platform/qt/svg/custom/js-update-pattern-child-expected.png:
- platform/qt/svg/custom/js-update-pattern-expected.png:
- platform/qt/svg/custom/js-update-polygon-changes-expected.png:
- platform/qt/svg/custom/js-update-polygon-removal-expected.png:
- platform/qt/svg/custom/js-update-stop-expected.png:
- platform/qt/svg/custom/js-update-stop-linked-gradient-expected.png:
- platform/qt/svg/custom/js-update-style-expected.png:
- platform/qt/svg/custom/js-update-transform-addition-expected.png:
- platform/qt/svg/custom/js-update-transform-changes-expected.png:
- platform/qt/svg/custom/marker-child-changes-css-expected.png:
- platform/qt/svg/custom/marker-child-changes-expected.png:
- platform/qt/svg/custom/marker-viewBox-changes-expected.png:
- platform/qt/svg/custom/mask-child-changes-expected.png:
- platform/qt/svg/custom/mask-invalidation-expected.png:
- platform/qt/svg/custom/object-sizing-no-width-height-change-content-box-size-expected.png:
- platform/qt/svg/custom/prevent-default-expected.png:
- platform/qt/svg/custom/relative-sized-content-expected.png:
- platform/qt/svg/custom/relative-sized-deep-shadow-tree-content-expected.png:
- platform/qt/svg/custom/relative-sized-image-expected.png:
- platform/qt/svg/custom/relative-sized-inner-svg-expected.png:
- platform/qt/svg/custom/relative-sized-shadow-tree-content-expected.png:
- platform/qt/svg/custom/relative-sized-shadow-tree-content-with-symbol-expected.png:
- platform/qt/svg/custom/relative-sized-use-on-symbol-expected.png:
- platform/qt/svg/custom/relative-sized-use-without-attributes-on-symbol-expected.png:
- platform/qt/svg/custom/repaint-moving-svg-and-div-expected.png:
- platform/qt/svg/custom/repaint-on-constant-size-change-expected.png:
- platform/qt/svg/custom/repaint-on-image-bounds-change-expected.png:
- platform/qt/svg/custom/repaint-stroke-width-changes-expected.png:
- platform/qt/svg/custom/resource-client-removal-expected.png:
- platform/qt/svg/custom/resource-invalidate-on-target-update-expected.png:
- platform/qt/svg/custom/scroll-hit-test-expected.png:
- platform/qt/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
- platform/qt/svg/custom/stroke-opacity-update-expected.png:
- platform/qt/svg/custom/svg-absolute-children-expected.png:
- platform/qt/svg/custom/text-dom-removal-expected.png:
- platform/qt/svg/custom/text-repaint-including-stroke-expected.png:
- platform/qt/svg/custom/text-xy-updates-SVGList-expected.png:
- platform/qt/svg/custom/use-clipped-hit-expected.png:
- platform/qt/svg/custom/use-detach-expected.png:
- platform/qt/svg/custom/use-disappears-after-style-update-expected.png:
- platform/qt/svg/custom/use-elementInstance-event-target-expected.png:
- platform/qt/svg/custom/use-elementInstance-methods-expected.png:
- platform/qt/svg/custom/use-event-handler-on-referenced-element-expected.png:
- platform/qt/svg/custom/use-event-handler-on-use-element-expected.png:
- platform/qt/svg/custom/use-setAttribute-crash-expected.png:
- platform/qt/svg/dom/SVGPathSegList-segment-modification-expected.png:
- platform/qt/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.png:
- platform/qt/svg/dom/SVGRectElement/rect-modify-rx-expected.png:
- platform/qt/svg/filters/feImage-change-target-id-expected.png:
- platform/qt/svg/filters/feImage-multiple-targets-id-change-expected.png:
- platform/qt/svg/filters/feImage-reference-invalidation-expected.png: Copied from LayoutTests/platform/qt/svg/custom/animate-target-removed-from-document-expected.png.
- platform/qt/svg/filters/feImage-remove-target-expected.png:
- platform/qt/svg/filters/feImage-target-add-to-document-expected.png:
- platform/qt/svg/filters/feImage-target-attribute-change-expected.png:
- platform/qt/svg/filters/feImage-target-attribute-change-with-use-indirection-2-expected.png:
- platform/qt/svg/filters/feImage-target-attribute-change-with-use-indirection-expected.png:
- platform/qt/svg/filters/feImage-target-changes-id-expected.png:
- platform/qt/svg/filters/feImage-target-id-change-expected.png:
- platform/qt/svg/filters/feImage-target-inline-style-change-expected.png:
- platform/qt/svg/filters/feImage-target-property-change-expected.png:
- platform/qt/svg/filters/feImage-target-reappend-to-document-expected.png:
- platform/qt/svg/filters/feImage-target-remove-from-document-expected.png:
- platform/qt/svg/filters/feImage-target-style-change-expected.png:
- platform/qt/svg/filters/filter-refresh-expected.png:
- platform/qt/svg/filters/filter-width-update-expected.png:
- platform/qt/svg/filters/invalidate-on-child-layout-expected.png:
- platform/qt/svg/hixie/perf/001-expected.png:
- platform/qt/svg/hixie/perf/002-expected.png:
- platform/qt/svg/hixie/perf/003-expected.png:
- platform/qt/svg/hixie/perf/004-expected.png:
- platform/qt/svg/hixie/perf/005-expected.png:
- platform/qt/svg/hixie/perf/007-expected.png:
- platform/qt/svg/repaint/filter-child-repaint-expected.png:
- platform/qt/svg/repaint/inner-svg-change-viewBox-contract-expected.png:
- platform/qt/svg/repaint/inner-svg-change-viewBox-expected.png:
- platform/qt/svg/repaint/inner-svg-change-viewPort-relative-expected.png:
- platform/qt/svg/repaint/mask-clip-target-transform-expected.png:
- platform/qt/svg/repaint/repainting-after-animation-element-removal-expected.png:
- platform/qt/svg/repaint/text-mask-update-expected.png:
- platform/qt/svg/text/append-text-node-to-tspan-expected.png:
- platform/qt/svg/text/ems-display-none-expected.png:
- platform/qt/svg/text/exs-display-none-expected.png:
- platform/qt/svg/text/modify-text-node-in-tspan-expected.png:
- platform/qt/svg/text/text-text-05-t-expected.png:
- platform/qt/svg/text/text-viewbox-rescale-expected.png:
- platform/qt/svg/text/tspan-dynamic-positioning-expected.png:
- platform/qt/svg/transforms/animated-path-inside-transformed-html-expected.png:
- platform/qt/svg/zoom/page/absolute-sized-document-no-scrollbars-expected.png:
- platform/qt/svg/zoom/page/relative-sized-document-scrollbars-expected.png:
- platform/qt/svg/zoom/text/absolute-sized-document-no-scrollbars-expected.png:
- platform/qt/svg/zoom/text/absolute-sized-document-scrollbars-expected.png:
- platform/qt/svg/zoom/text/relative-sized-document-scrollbars-expected.png:
- platform/qt/svg/zoom/text/zoom-foreignObject-expected.png:
- 6:56 AM Changeset in webkit [130897] by
-
- 2 edits in trunk/Source/WebCore
HTMLTextFormControlElement calls setInlineStyleProperty with the wrong parameters.
https://bugs.webkit.org/show_bug.cgi?id=98892
Patch by Mike West <mkwst@google.com> on 2012-10-10
Reviewed by Jochen Eisinger.
HTMLTextFormControlElement::updatePlaceholderVisibility calls
HTMLElement::setInlineStyleProperty with an ExceptionCode as the last
parameter. This only succeeds because it's automagically cast to a bool,
which is what the method actually expects.
Implicitly passing in 'false' by dropping the parameter shouldn't change
any functionality; so no new tests are required.
- html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::updatePlaceholderVisibility):
- 6:55 AM Changeset in webkit [130896] by
-
- 2 edits in trunk/LayoutTests
[EFL] Skip fast/css/color-correction-on-text.html.
- platform/efl/TestExpectations:
- 6:52 AM Changeset in webkit [130895] by
-
- 5 edits64 adds in trunk/LayoutTests
[EFL] Gardening for the some SVG pixel expectations.
- platform/efl/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png:
- platform/efl/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png:
- platform/efl/svg/W3C-SVG-1.1/render-groups-03-t-expected.png:
- platform/efl/svg/W3C-SVG-1.1/text-text-01-b-expected.png:
- platform/efl/svg/filters/animate-fill-expected.png: Added.
- platform/efl/svg/filters/feImage-reference-invalidation-expected.png: Added.
- platform/efl/svg/hixie/data-types/001-expected.png: Added.
- platform/efl/svg/hixie/dynamic/002-expected.png: Added.
- platform/efl/svg/hixie/dynamic/003-expected.png: Added.
- platform/efl/svg/hixie/dynamic/004-expected.png: Added.
- platform/efl/svg/hixie/dynamic/005-expected.png: Added.
- platform/efl/svg/hixie/dynamic/006-expected.png: Added.
- platform/efl/svg/hixie/error/002-expected.png: Added.
- platform/efl/svg/hixie/error/006-expected.png: Added.
- platform/efl/svg/hixie/error/007-expected.png: Added.
- platform/efl/svg/hixie/error/008-expected.png: Added.
- platform/efl/svg/hixie/error/009-expected.png: Added.
- platform/efl/svg/hixie/error/010-expected.png: Added.
- platform/efl/svg/hixie/error/011-expected.png: Added.
- platform/efl/svg/hixie/error/014-test-expected.png: Added.
- platform/efl/svg/hixie/error/015-expected.png: Added.
- platform/efl/svg/hixie/error/016-expected.png: Added.
- platform/efl/svg/hixie/intrinsic/001-expected.png: Added.
- platform/efl/svg/hixie/intrinsic/002-expected.png: Added.
- platform/efl/svg/hixie/intrinsic/003-expected.png: Added.
- platform/efl/svg/hixie/links/001-expected.png: Added.
- platform/efl/svg/hixie/links/002-expected.png: Added.
- platform/efl/svg/hixie/painting/001-expected.png: Added.
- platform/efl/svg/hixie/processing-model/005-expected.png: Added.
- platform/efl/svg/hixie/rendering-model/003a-expected.png: Added.
- platform/efl/svg/hixie/text/001-expected.png: Added.
- platform/efl/svg/hixie/text/002-expected.png: Added.
- platform/efl/svg/hixie/text/003a-expected.png: Added.
- platform/efl/svg/hixie/text/003b-expected.png: Added.
- platform/efl/svg/hixie/use/002-test-expected.png: Added.
- platform/efl/svg/hixie/viewbox/001-expected.png: Added.
- platform/efl/svg/hixie/viewbox/002-expected.png: Added.
- platform/efl/svg/hixie/viewbox/003-expected.png: Added.
- platform/efl/svg/hixie/viewbox/004-expected.png: Added.
- platform/efl/svg/hixie/viewbox/preserveAspectRatio/001-expected.png: Added.
- platform/efl/svg/hixie/viewbox/preserveAspectRatio/002-expected.png: Added.
- platform/efl/svg/overflow/overflow-on-foreignObject-expected.png: Added.
- platform/efl/svg/overflow/overflow-on-inner-svg-element-defaults-expected.png: Added.
- platform/efl/svg/repaint/image-href-change-expected.png: Added.
- platform/efl/svg/repaint/image-with-clip-path-expected.png: Added.
- platform/efl/svg/repaint/inner-svg-change-viewBox-expected.png: Added.
- platform/efl/svg/repaint/mask-clip-target-transform-expected.png: Added.
- platform/efl/svg/repaint/repainting-after-animation-element-removal-expected.png: Added.
- platform/efl/svg/stroke/zero-length-arc-linecaps-rendering-expected.png: Added.
- platform/efl/svg/wicd/sizing-flakiness-expected.png: Added.
- platform/efl/svg/zoom/page/absolute-sized-document-no-scrollbars-expected.png: Added.
- platform/efl/svg/zoom/page/absolute-sized-document-scrollbars-expected.png: Added.
- platform/efl/svg/zoom/page/relative-sized-document-scrollbars-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-background-images-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-hixie-mixed-009-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-svg-as-image-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-svg-as-object-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-svg-as-relative-image-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-svg-float-border-padding-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
- platform/efl/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.
- platform/efl/svg/zoom/text/absolute-sized-document-no-scrollbars-expected.png: Added.
- platform/efl/svg/zoom/text/absolute-sized-document-scrollbars-expected.png: Added.
- platform/efl/svg/zoom/text/relative-sized-document-scrollbars-expected.png: Added.
- 6:44 AM Changeset in webkit [130894] by
-
- 3 edits in trunk/Source/WebKit2
[Qt][WK2] REGRESSION(r130879): It made fast/events/touch/* tests crash
https://bugs.webkit.org/show_bug.cgi?id=98888
Reviewed by Kenneth Rohde Christiansen.
Add null-checks in the gesture recognizers to allow them working without a PageViewportController.
The pinch and pan gesture recognizers aren't used in that case yet, but they could eventually
be used to send pinch and pan gesture events to the web process. They are currently kept active
because we need the tap gesture recognizer and its logic is bound to those other recognizers.
- UIProcess/qt/QtPanGestureRecognizer.cpp:
(WebKit::QtPanGestureRecognizer::update):
(WebKit::QtPanGestureRecognizer::finish):
(WebKit::QtPanGestureRecognizer::cancel):
- UIProcess/qt/QtPinchGestureRecognizer.cpp:
(WebKit::QtPinchGestureRecognizer::update):
(WebKit::QtPinchGestureRecognizer::finish):
(WebKit::QtPinchGestureRecognizer::cancel):
- 6:35 AM Changeset in webkit [130893] by
-
- 2 edits in trunk/LayoutTests
Unreviewed inspector test fix.
- http/tests/inspector/search/resources-search-match-index.html:
- 6:21 AM Changeset in webkit [130892] by
-
- 3 edits50 adds2 deletes in trunk/LayoutTests
[EFL] Update some pixel expectations for the new Cairo, and add more baselines for other tests.
- platform/efl/fast/block/positioning/vertical-rl/fixed-positioning-expected.png:
- platform/efl/fast/borders/border-radius-valid-border-clipping-expected.png: Added.
- platform/efl/fast/borders/border-shadow-large-radius-expected.png: Added.
- platform/efl/fast/borders/fieldsetBorderRadius-expected.png:
- platform/efl/fast/canvas/canvas-composite-fill-repaint-expected.png: Added.
- platform/efl/fast/canvas/canvas-imageSmoothingEnabled-patterns-expected.png: Added.
- platform/efl/fast/canvas/canvas-resize-after-paint-without-layout-expected.png: Added.
- platform/efl/fast/css/color-correction-on-text-expected.png: Removed.
- platform/efl/fast/css/color-correction-on-text-expected.txt: Removed.
- platform/efl/fast/css/square-button-appearance-expected.png: Added.
- platform/efl/fast/css/text-overflow-ellipsis-text-align-center-expected.png: Added.
- platform/efl/fast/css/text-overflow-ellipsis-text-align-justify-expected.png: Added.
- platform/efl/fast/css/text-overflow-ellipsis-text-align-left-expected.png: Added.
- platform/efl/fast/css/text-overflow-ellipsis-text-align-right-expected.png: Added.
- platform/efl/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.png: Added.
- platform/efl/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.png: Added.
- platform/efl/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.png: Added.
- platform/efl/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.png: Added.
- platform/efl/fast/events/context-no-deselect-expected.png: Added.
- platform/efl/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png: Added.
- platform/efl/fast/forms/datalist/input-appearance-range-with-transform-expected.png: Added.
- platform/efl/fast/forms/input-placeholder-paint-order-expected.png: Added.
- platform/efl/fast/forms/textarea: Added.
- platform/efl/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
- platform/efl/fast/gradients/border-image-gradient-sides-and-corners-expected.png: Added.
- platform/efl/fast/html/details-marker-style-expected.png: Added.
- platform/efl/fast/images/image-css3-content-data-expected.png: Added.
- platform/efl/fast/images/imagemap-focus-ring-zoom-expected.png: Added.
- platform/efl/fast/images/paint-subrect-expected.png: Added.
- platform/efl/fast/images/paint-subrect-grid-expected.png: Added.
- platform/efl/fast/images/repaint-subrect-grid-expected.png: Added.
- platform/efl/fast/images/rgb-jpeg-with-adobe-marker-only-expected.png: Added.
- platform/efl/fast/images/rgb-png-with-cmyk-color-profile-expected.png: Added.
- platform/efl/fast/images/ycbcr-with-cmyk-color-profile-expected.png: Added.
- platform/efl/fast/js: Added.
- platform/efl/fast/js/exception-linenums-in-html-3-expected.png: Added.
- platform/efl/fast/js/missing-style-end-tag-js-expected.png: Added.
- platform/efl/fast/js/missing-title-end-tag-js-expected.png: Added.
- platform/efl/fast/layers/scroll-with-transform-composited-layer-expected.png: Added.
- platform/efl/fast/layers/scroll-with-transform-layer-expected.png: Added.
- platform/efl/fast/multicol/shrink-to-column-height-for-pagination-expected.png: Added.
- platform/efl/fast/multicol/shrink-to-column-height-for-pagination-expected.txt: Added.
- platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-rl-expected.png: Added.
- platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-rl-expected.txt: Added.
- platform/efl/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png: Added.
- platform/efl/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png: Added.
- platform/efl/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png: Added.
- platform/efl/fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png: Added.
- platform/efl/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png: Added.
- platform/efl/fast/scrolling: Added.
- platform/efl/fast/scrolling/scrollbar-tickmarks-styled-expected.png: Added.
- platform/efl/fast/table/colspanMinWidth-vertical-expected.png: Added.
- platform/efl/fast/table/table-row-focus-ring-paint-expected.png: Added.
- platform/efl/fast/text/text-shadow-no-default-color-expected.png: Added.
- 5:37 AM Changeset in webkit [130891] by
-
- 5 edits2 adds in trunk
SQLResultSet.rowsAffected not cleared
https://bugs.webkit.org/show_bug.cgi?id=46070
Patch by Christophe Dumez <Christophe Dumez> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
SQLResultSet.rowsAffected is supposed to return the number
of rows that were changed by the statement. For "SELECT"
statements, it should return 0.
However, our implementation currently relies on sqlite3_changes()
to compute this value. sqlite3_changes() returns the number of
direct row changes in the most recent INSERT, UPDATE, or DELETE
statement within the same trigger context. Unfortunately, the
most recent INSERT, UPDATE, or DELETE statement may not be the
last statement. As a consequence, if you INSERT 1 row, then
do a SELECT, SQLResultSet.rowsAffected will be 1 for both the
INSERT and the SELECT statements.
The proposed solution is to use sqlite3_total_changes() instead
of sqlite3_changes(). sqlite3_total_changes() returns the number
of row changes caused by INSERT, UPDATE or DELETE statements since
the database connection was opened. We now store the value
returned by sqlite3_total_changes() before each statement in
order to return the count difference in
SQLiteDatabase::lastChanges().
Test: storage/websql/execute-sql-rowsAffected.html
- platform/sql/SQLiteDatabase.cpp:
(WebCore::SQLiteDatabase::SQLiteDatabase):
(WebCore::SQLiteDatabase::updateLastChangesCount):
(WebCore):
(WebCore::SQLiteDatabase::lastChanges):
- platform/sql/SQLiteDatabase.h:
(SQLiteDatabase):
- platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::step):
LayoutTests:
Add layout test to check that SQLResultSet.rowsAffected is
correct in executeSql() success callback.
- storage/websql/execute-sql-rowsAffected-expected.txt: Added.
- storage/websql/execute-sql-rowsAffected.html: Added.
- 5:33 AM Changeset in webkit [130890] by
-
- 2 edits in trunk/Tools
[Qt]QtTestBrowser should have default url(google.com) when no command line args
https://bugs.webkit.org/show_bug.cgi?id=98880
Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-10-10
Reviewed by Simon Hausmann.
Making QtTestBrowser use www.google.com as default url when no arguments are passed
- QtTestBrowser/qttestbrowser.cpp:
(main):
- 4:42 AM Changeset in webkit [130889] by
-
- 4 edits6 adds in trunk/LayoutTests
[EFL] Rebaseline after r129972 which enabled plugin feature
https://bugs.webkit.org/show_bug.cgi?id=98750
Unreviewed. Plugin feature is enabled on EFL port after r129972.
Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-10-10
- platform/efl-wk1/TestExpectations: EFL WK1 does not support plugins yet.
- platform/efl-wk2/TestExpectations:
- platform/efl/TestExpectations:
- platform/efl/plugins/iframe-plugin-bgcolor-expected.txt: Added.
- platform/efl/plugins/mouse-click-plugin-clears-selection-expected.txt: Added.
- platform/efl/plugins/netscape-dom-access-expected.txt: Added.
- platform/efl/plugins/plugin-javascript-access-expected.txt: Added.
- platform/efl/plugins/resize-from-plugin-expected.txt: Added.
- 4:29 AM Changeset in webkit [130888] by
-
- 4 edits in trunk
REGRESSION (r129738): Calendar picker is too wide when the input is rtl
https://bugs.webkit.org/show_bug.cgi?id=98881
.:
Reviewed by kent Tamura.
- ManualTests/forms/calendar-picker.html: Added isCalendarRTL parameters.
Source/WebCore:
Reviewed by Kent Tamura.
Calendar picker should use param.isCalendarRTL instead of param.isRTL but some were left.
No new tests. Covered by ManualTests/forms/calendar-picker.html.
- Resources/pagepopups/calendarPicker.js:
(CalendarPicker.prototype.fixWindowSize): Calendar picker should use param.isCalendarRTL instead of param.isRTL.
(DaysTable.prototype._handleKey): Ditto.
- 4:22 AM Changeset in webkit [130887] by
-
- 8 edits2 adds in trunk
[EFL][WK2] Port MiniBrowser to Elementary
https://bugs.webkit.org/show_bug.cgi?id=98748
Patch by Christophe Dumez <Christophe Dumez> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.
.:
Bump EFL librairies dependencies to v1.7
and add Elementary as optional dependency now
that it is needed to build MiniBrowser.
- Source/cmake/FindEet.cmake: Added.
- Source/cmake/FindElementary.cmake: Added.
- Source/cmake/OptionsEfl.cmake:
Tools:
Port MiniBrowser to Elementary to simplify the
code and make future improvements easier. The
URL bar is now an Elementary Entry widget and
supports additional functionality like copy /
paste.
- CMakeLists.txt:
- EWebLauncher/url_bar.c:
(on_urlbar_key_down): Remove WK2-specific code
now that this file is no longer used by MiniBrowser.
- MiniBrowser/efl/CMakeLists.txt:
- MiniBrowser/efl/main.c:
(_Browser_Window):
(window_free):
(window_close):
(view_focus_set):
(on_mouse_down):
(title_set):
(on_title_changed):
(on_url_changed):
(on_close_window):
(on_progress):
(quit):
(on_url_bar_activated):
(on_url_bar_clicked):
(on_window_deletion):
(window_create):
(elm_main):
- efl/jhbuild.modules: Add Elementary to jhbuild and bump
EFL dependencies to 1.7.
- 4:16 AM Changeset in webkit [130886] by
-
- 2 edits in trunk/Source/WebKit2
[GTK] Test /webkit2/WebKitWebView/history-cache asserts in debug bot
https://bugs.webkit.org/show_bug.cgi?id=98731
Reviewed by Martin Robinson.
The problem is in the test itself that is using
SingleResourceLoadTest class to load a multiresource document.
- UIProcess/API/gtk/tests/TestResources.cpp:
(testWebViewResourcesHistoryCache): Load only single resource
documents and check also that the main resource given is the
expected one.
(serverCallback): Add another single resource document.
- 4:14 AM Changeset in webkit [130885] by
-
- 4 edits in trunk
[WK2][SOUP] ResourceError.isCancellation() is not carried over IPC
https://bugs.webkit.org/show_bug.cgi?id=98882
Patch by Christophe Dumez <Christophe Dumez> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
Properly serialize / deserialize ResourceError.isCancellation
boolean so that it can be used in UIProcess.
- Shared/soup/WebCoreArgumentCodersSoup.cpp:
(CoreIPC::::encode):
(CoreIPC::::decode):
Tools:
Do not display the error page in MiniBrowser if the loading
error corresponds to a cancellation.
- MiniBrowser/efl/main.c:
(on_error):
- 3:52 AM Changeset in webkit [130884] by
-
- 10 edits2 copies17 adds in trunk/LayoutTests
Add behavior tests for input[type=date] with multiple fields
https://bugs.webkit.org/show_bug.cgi?id=98480
Reviewed by Kentaro Hara.
- fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes-expected.txt: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification-expected.txt: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification.html: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-blur-and-focus-events-expected.txt: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-blur-and-focus-events.html: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events-expected.txt:
- fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events.html:
- fast/forms/date-multiple-fields/date-multiple-fields-mouse-events-expected.txt: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-mouse-events.html: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back-expected.txt: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-reset-value-after-reloads-expected.txt: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-reset-value-after-reloads.html: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-spinbutton-change-and-input-events-expected.txt: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-spinbutton-change-and-input-events.html: Copied from LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html.
- fast/forms/date-multiple-fields/date-multiple-fields-wheel-event-expected.txt: Added.
- fast/forms/date-multiple-fields/date-multiple-fields-wheel-event.html: Copied from LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html.
- fast/forms/date/date-reset-value-expected.html: Added.
- fast/forms/date/date-reset-value.html: Added.
- fast/forms/resources/common-spinbutton-change-and-input-events.js:
(testSpinButtonChangeAndInputEvents):
Uses getElementByPseudoId() to obtain spin button position. The date
type and the time type have their spin button at different positions
because of a picker indicator triangle.
- fast/forms/number/number-spinbutton-change-and-input-events.html:
Need to import comon.js because common-spinbutton-change-and-input-events.js depends on it.
- fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html:
Ditto.
- fast/forms/resources/common-wheel-event.js:
(testWheelEvent): Fix a wrong message.
- fast/forms/time-multiple-fields/time-multiple-fields-wheel-event-expected.txt: Ditto.
- fast/forms/resources/multiple-fields-blur-and-focus-events.js:
Added. Move the code from time-multiple-fields-blur-and-focus-events.html.
- fast/forms/time-multiple-fields/time-multiple-fields-blur-and-focus-events.html:
Moved the code to multiple-fields-blur-and-focus-events.js.
- platform/chromium/TestExpectations:
- 3:50 AM Changeset in webkit [130883] by
-
- 5 edits in trunk
Web Inspector: Semantically incorrect CSS rules result in broken source code data
https://bugs.webkit.org/show_bug.cgi?id=98520
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Pop and throw away rule data from the stack when data have been collected for a semantically invalid CSS rule
(which is not going to be created).
- css/CSSParser.cpp:
(WebCore::CSSParser::createImportRule):
(WebCore::CSSParser::createFontFaceRule):
(WebCore::CSSParser::createPageRule):
(WebCore::CSSParser::createRegionRule):
LayoutTests:
- inspector/styles/parse-stylesheet-errors-expected.txt:
- inspector/styles/parse-stylesheet-errors.html:
- 3:41 AM Changeset in webkit [130882] by
-
- 4 edits in trunk/Source/WebKit2
[EFL][WK2] Add APIs to get/set the DNS prefetching
https://bugs.webkit.org/show_bug.cgi?id=98790
Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-10-10
Reviewed by Laszlo Gombos.
Add setting APIs for DNS prefetching and a unit test.
- UIProcess/API/efl/ewk_settings.cpp:
(ewk_settings_DNS_prefetching_enabled_set):
(ewk_settings_DNS_prefetching_enabled_get):
- UIProcess/API/efl/ewk_settings.h:
- UIProcess/API/efl/tests/test_ewk2_settings.cpp:
(TEST_F):
- 3:40 AM Changeset in webkit [130881] by
-
- 3 edits in trunk/Source/WebKit/efl
[EFL] Use ewk_view_paint instead of ewk_view_paint_contents in ewk_view_single.
https://bugs.webkit.org/show_bug.cgi?id=98716
Reviewed by Kenneth Rohde Christiansen.
ewk_view_paint is the wrapper of ScrollView::paint and
ewk_view_paint_contents is the wrapper of FrameView::paintContents.
Because FrameView::paintContents just draw contents,
ewk_view_single should use ewk_view_paint instead of ewk_view_paint_contents
like other ports.
- ewk/ewk_view.cpp:
(ewk_view_paint):
Moved updateLayoutAndStyleIfNeededRecursive to share ewk_view_paint.
- ewk/ewk_view_single.cpp:
(_ewk_view_single_smart_repaints_process):
Modified to call ewk_view_paint.
- 3:38 AM Changeset in webkit [130880] by
-
- 2 edits in trunk/Source/WebCore
[Qt][Mac] GL_ARB_texture_rectangle must be activated when using ANGLE.
https://bugs.webkit.org/show_bug.cgi?id=98387
Check for the availability of GL_ARB_texture_rectangle extension.
In case it is available, we activate the extension for ANGLE.
This is necessary for WebGL on mac, because the GraphicsSurface
on this platform is based on an IOSurface, which requires this extension.
Reviewed by Noam Rosenthal.
- platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3DPrivate::initializeANGLE):
- 3:24 AM Changeset in webkit [130879] by
-
- 4 edits in trunk
[Qt][WK2] REGRESSION(r130629): It made touchadjustment/focusout-on-touch.html fai1
https://bugs.webkit.org/show_bug.cgi?id=98642
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
There was an early return that would prevent gesture recognition if no PageViewportController
has been set on QtWebPageEventHandler. The gesture recognizer are also used to send
GestureEvents to WebCore which this layout test is using.
Make sure that the gesture recognition is done even when no PageViewportController is present.
- UIProcess/qt/QtWebPageEventHandler.cpp:
(WebKit::QtWebPageEventHandler::handleInputEvent):
(WebKit::QtWebPageEventHandler::doneWithTouchEvent):
LayoutTests:
- platform/qt-5.0-wk2/TestExpectations: Unskip focusout-on-touch.html
- 3:23 AM Changeset in webkit [130878] by
-
- 2 edits in trunk/Tools
[Qt] WTR: Fix an assert triggered by EventSenderProxy::touchEnd
https://bugs.webkit.org/show_bug.cgi?id=98735
Reviewed by Kenneth Rohde Christiansen.
ASSERT: "itemForTouchPointId.isEmpty()" in file qt5/qtdeclarative/src/quick/items/qquickwindow.cpp, line 1563
This assert is caused by QQuickWindow not registering our TouchPointReleased
since it expects QTouchEvent::touchPointStates() to be filled by the event's sender.
This patch calculates the touchPointStates like QQuickWindowPrivate::touchEventWithPoints does.
- WebKitTestRunner/qt/EventSenderProxyQt.cpp:
(WTR::EventSenderProxy::sendTouchEvent):
- 2:53 AM Changeset in webkit [130877] by
-
- 6 edits in trunk
[Qt] DumpRenderTree needs a beginDragWithFiles implementation
https://bugs.webkit.org/show_bug.cgi?id=50902
Reviewed by Simon Hausmann.
Tools:
Implement support for beginDragWithFiles. This function similates dragging without going
though regular event handling. Which allows us to test effects of dropping files on
different elements.
- DumpRenderTree/qt/EventSenderQt.cpp:
(EventSender::EventSender):
(EventSender::mouseUp):
(EventSender::mouseMoveTo):
(EventSender::beginDragWithFiles):
- DumpRenderTree/qt/EventSenderQt.h:
(EventSender):
LayoutTests:
Move some skipped tests that now passing in DRT to only being skipped in WTR.
- platform/qt-5.0-wk2/TestExpectations:
- platform/qt/TestExpectations:
- 2:48 AM Changeset in webkit [130876] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] ProcessLauncherQt should use QStringLiteral for serviceName.
https://bugs.webkit.org/show_bug.cgi?id=98398
QString(const char*) is deprecated, we should use QStringLiteral instead.
Reviewed by Kenneth Rohde Christiansen.
- UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
(WebKit::ProcessLauncher::launchProcess):
- 2:20 AM Changeset in webkit [130875] by
-
- 2 edits in trunk/Source/WebKit/efl
[EFL] Use Evas function instead of memcpy
https://bugs.webkit.org/show_bug.cgi?id=98483
Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2012-10-10
Reviewed by Gyuyoung Kim.
Evas supports evas_object_image_data_copy_set() to copy raw image data.
Change memcpy() with evas_object_image_data_copy_set().
Spell out variable names and refactor variable declaration statements.
No new tests, no functionality was changed.
- ewk/ewk_util.cpp:
(ewk_util_image_from_cairo_surface_add):
- 1:46 AM Changeset in webkit [130874] by
-
- 2 edits in trunk/Tools
[EFL][WTR][CMake] Add a missing TestNetscapePlugin file
https://bugs.webkit.org/show_bug.cgi?id=98637
Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.
PluginScriptableObjectOverridesAllProperties.cpp is used during
plugins/npruntime/overrides-all-properties.html test introduced by r123936.
- DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
- 1:31 AM Changeset in webkit [130873] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening. Skip failing test.
https://bugs.webkit.org/show_bug.cgi?id=98876
Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-10-10
- platform/qt/TestExpectations: skip fast/text/word-space-with-kerning.html.
- 1:31 AM Changeset in webkit [130872] by
-
- 2 edits in trunk/Source/JavaScriptCore
Add moveDoubleToInts and moveIntsToDouble to MacroAssemblerARM
https://bugs.webkit.org/show_bug.cgi?id=98855
Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2012-10-10
Reviewed by Filip Pizlo.
Implement the missing moveDoubleToInts and moveIntsToDouble
methods in the MacroAssemblerARM after r130839.
- assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::moveDoubleToInts):
(MacroAssemblerARM):
(JSC::MacroAssemblerARM::moveIntsToDouble):
- 1:24 AM WebInspector edited by
- (diff)
- 1:14 AM Changeset in webkit [130871] by
-
- 8 edits6 adds in trunk/Source/WebKit2
[EFL][WK2] Add History callbacks API
https://bugs.webkit.org/show_bug.cgi?id=98594
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.
Added History callbacks API to Ewk Context. Added unit tests.
- PlatformEfl.cmake:
- UIProcess/API/efl/EWebKit2.h:
- UIProcess/API/efl/ewk_context.cpp:
(_Ewk_Context):
(_Ewk_Context::_Ewk_Context):
(ewk_context_history_callbacks_set): New public function which lets the client to set History callbacks.
(ewk_context_history_client_get):
(ewk_context_add_visited_link): New public function to mark a URL as visited link.
- UIProcess/API/efl/ewk_context.h:
- UIProcess/API/efl/ewk_context_history_client.cpp: Added.
(getEwkHistoryDelegate):
(didNavigateWithNavigationData):
(didPerformClientRedirect):
(didPerformServerRedirect):
(didUpdateHistoryTitle):
(populateVisitedLinks):
(ewk_context_history_client_attach):
- UIProcess/API/efl/ewk_context_history_client_private.h: Added.
- UIProcess/API/efl/ewk_context_private.h:
- UIProcess/API/efl/ewk_navigation_data.cpp: Added.
(_Ewk_Navigation_Data):
(_Ewk_Navigation_Data::_Ewk_Navigation_Data):
(_Ewk_Navigation_Data::~_Ewk_Navigation_Data):
(ewk_navigation_data_ref):
(ewk_navigation_data_unref):
(ewk_navigation_data_title_get):
(ewk_navigation_data_original_request_get):
(ewk_navigation_data_url_get):
(ewk_navigation_data_new):
- UIProcess/API/efl/ewk_navigation_data.h: Added.
- UIProcess/API/efl/ewk_navigation_data_private.h: Added.
- UIProcess/API/efl/ewk_view.cpp:
(addToPageViewMap):
(removeFromPageViewMap):
(_ewk_view_smart_del):
(_ewk_view_initialize):
(ewk_view_from_page_get):
- UIProcess/API/efl/ewk_view_private.h:
- UIProcess/API/efl/tests/test_ewk2_context_history_delegate.cpp: Added.
(httpServer):
(navigateWithNavigationData):
(performClientRedirect):
(performServerRedirect):
(updateHistoryTitle):
(populateVisitedLinks):
(onLoadFinishedForRedirection):
(serverCallbackRedirection):
(TEST_F):
- 1:04 AM Changeset in webkit [130870] by
-
- 2 edits in trunk/Source/WebCore
ElementAttributeData: tighten member packing on 64-bit.
<http://webkit.org/b/98861>
Reviewed by Anders Carlsson.
Pack m_isMutable and m_arraySize into the slack from the RefCounted base on 64-bit.
218kB progression on Membuster3.
- dom/ElementAttributeData.h:
(ElementAttributeData):
- 12:55 AM Changeset in webkit [130869] by
-
- 15 edits1 add1 delete in trunk/Tools
Update pywebsocket to 0.7.7
https://bugs.webkit.org/show_bug.cgi?id=98872
Reviewed by Yuta Kitamura.
This version contains server-side permessage-compress extension support.
We need this version to add tests for permessage-compress extension.
I confirmed all tests under http/tests/websocket passed.
- Scripts/webkitpy/thirdparty/mod_pywebsocket/init.py:
- Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hixie75.py:
- Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hybi.py:
(parse_frame):
(FragmentedFrameBuilder.init):
(FragmentedFrameBuilder.build):
(create_closing_handshake_body):
(StreamOptions.init):
(Stream.init):
(Stream._receive_frame._receive_bytes):
(Stream._receive_frame):
(Stream.receive_filtered_frame):
(Stream.send_message):
(Stream._get_message_from_frame):
(Stream):
(Stream._process_close_message):
(Stream._process_ping_message):
(Stream._process_pong_message):
(Stream.receive_message):
(Stream._send_closing_handshake):
(Stream.get_last_received_opcode):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/common.py:
- Scripts/webkitpy/thirdparty/mod_pywebsocket/dispatch.py:
(Dispatcher.transfer_data):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/extensions.py:
(ExtensionProcessorInterface.name):
(DeflateStreamExtensionProcessor):
(DeflateStreamExtensionProcessor.name):
(_log_compression_ratio):
(_log_decompression_ratio):
(DeflateFrameExtensionProcessor):
(DeflateFrameExtensionProcessor.name):
(DeflateFrameExtensionProcessor._outgoing_filter):
(DeflateFrameExtensionProcessor._incoming_filter):
(CompressionExtensionProcessorBase):
(CompressionExtensionProcessorBase.for):
(CompressionExtensionProcessorBase.init):
(CompressionExtensionProcessorBase.name):
(CompressionExtensionProcessorBase._get_compression_processor_response):
(CompressionExtensionProcessorBase.set_compression_processor_hook):
(PerFrameCompressionExtensionProcessor):
(PerFrameCompressionExtensionProcessor.init):
(PerFrameCompressionExtensionProcessor.name):
(PerFrameCompressionExtensionProcessor._lookup_compression_processor):
(DeflateMessageProcessor):
(DeflateMessageProcessor.init):
(DeflateMessageProcessor.name):
(DeflateMessageProcessor.get_extension_response):
(DeflateMessageProcessor.setup_stream_options):
(DeflateMessageProcessor.setup_stream_options._OutgoingMessageFilter):
(DeflateMessageProcessor.setup_stream_options._OutgoingMessageFilter.init):
(DeflateMessageProcessor.setup_stream_options._OutgoingMessageFilter.filter):
(DeflateMessageProcessor.setup_stream_options._IncomingMessageFilter):
(DeflateMessageProcessor.setup_stream_options._IncomingMessageFilter.init):
(DeflateMessageProcessor.setup_stream_options._IncomingMessageFilter.decompress_next_message):
(DeflateMessageProcessor.setup_stream_options._IncomingMessageFilter.filter):
(DeflateMessageProcessor.setup_stream_options._OutgoingFrameFilter):
(DeflateMessageProcessor.setup_stream_options._OutgoingFrameFilter.init):
(DeflateMessageProcessor.setup_stream_options._OutgoingFrameFilter.set_compression_bit):
(DeflateMessageProcessor.setup_stream_options._OutgoingFrameFilter.filter):
(DeflateMessageProcessor.setup_stream_options._IncomingFrameFilter):
(DeflateMessageProcessor.setup_stream_options._IncomingFrameFilter.init):
(DeflateMessageProcessor.setup_stream_options._IncomingFrameFilter.filter):
(DeflateMessageProcessor.set_c2s_max_window_bits):
(DeflateMessageProcessor.set_c2s_no_context_takeover):
(DeflateMessageProcessor.enable_outgoing_compression):
(DeflateMessageProcessor.disable_outgoing_compression):
(DeflateMessageProcessor._process_incoming_message):
(DeflateMessageProcessor._process_outgoing_message):
(DeflateMessageProcessor._process_incoming_frame):
(DeflateMessageProcessor._process_outgoing_frame):
(PerMessageCompressionExtensionProcessor):
(PerMessageCompressionExtensionProcessor.init):
(PerMessageCompressionExtensionProcessor.name):
(PerMessageCompressionExtensionProcessor._lookup_compression_processor):
(MuxExtensionProcessor):
(MuxExtensionProcessor.init):
(MuxExtensionProcessor.name):
(MuxExtensionProcessor.get_extension_response):
(MuxExtensionProcessor.setup_stream_options):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/init.py:
(do_handshake):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/_base.py:
(validate_subprotocol):
(check_request_line):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/draft75.py: Removed.
- Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi.py:
(Handshaker.do_handshake):
(Handshaker._set_protocol):
(Handshaker._create_stream):
(Handshaker):
(Handshaker._create_handshake_response):
(Handshaker._send_handshake):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/headerparserhandler.py:
- Scripts/webkitpy/thirdparty/mod_pywebsocket/msgutil.py:
(send_message):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/mux.py: Added.
(MuxUnexpectedException):
(MuxNotImplementedException):
(LogicalConnectionClosedException):
(PhysicalConnectionError):
(PhysicalConnectionError.init):
(LogicalChannelError):
(LogicalChannelError.init):
(_encode_channel_id):
(_encode_number):
(_create_add_channel_response):
(_create_drop_channel):
(_create_flow_control):
(_create_new_channel_slot):
(_create_fallback_new_channel_slot):
(_parse_request_text):
(_ControlBlock):
(_ControlBlock.init):
(_MuxFramePayloadParser):
(_MuxFramePayloadParser.that):
(_MuxFramePayloadParser.init):
(_MuxFramePayloadParser.read_channel_id):
(_MuxFramePayloadParser.read_inner_frame):
(_MuxFramePayloadParser._read_number):
(_MuxFramePayloadParser._read_size_and_contents):
(_MuxFramePayloadParser._read_add_channel_request):
(_MuxFramePayloadParser._read_add_channel_response):
(_MuxFramePayloadParser._read_flow_control):
(_MuxFramePayloadParser._read_drop_channel):
(_MuxFramePayloadParser._read_new_channel_slot):
(_MuxFramePayloadParser.read_control_blocks):
(_MuxFramePayloadParser.remaining_data):
(_LogicalRequest):
(_LogicalRequest.init):
(_LogicalRequest.is_https):
(_LogicalConnection):
(_LogicalConnection.init):
(_LogicalConnection.get_local_addr):
(_LogicalConnection.get_remote_addr):
(_LogicalConnection.get_memorized_lines):
(_LogicalConnection.write):
(_LogicalConnection.write_control_data):
(_LogicalConnection.notify_write_done):
(_LogicalConnection.append_frame_data):
(_LogicalConnection.read):
(_LogicalConnection.set_read_state):
(_LogicalStream):
(_LogicalStream.interprets):
(_LogicalStream.init):
(_LogicalStream._create_inner_frame):
(_LogicalStream._write_inner_frame):
(_LogicalStream.replenish_send_quota):
(_LogicalStream.consume_receive_quota):
(_LogicalStream.send_message):
(_LogicalStream._receive_frame):
(_LogicalStream.receive_message):
(_LogicalStream._send_closing_handshake):
(_LogicalStream.send_ping):
(_LogicalStream._send_pong):
(_LogicalStream.close_connection):
(_LogicalStream._drain_received_data):
(_OutgoingData):
(_OutgoingData.init):
(_PhysicalConnectionWriter):
(_PhysicalConnectionWriter.init):
(_PhysicalConnectionWriter.put_outgoing_data):
(_PhysicalConnectionWriter._write_data):
(_PhysicalConnectionWriter.run):
(_PhysicalConnectionWriter.stop):
(_PhysicalConnectionReader):
(_PhysicalConnectionReader.init):
(_PhysicalConnectionReader.run):
(_Worker):
(_Worker.init):
(_Worker.run):
(_MuxHandshaker):
(_MuxHandshaker.init):
(_MuxHandshaker._create_stream):
(_MuxHandshaker._create_handshake_response):
(_MuxHandshaker._send_handshake):
(_LogicalChannelData):
(_LogicalChannelData.init):
(_HandshakeDeltaBase):
(_HandshakeDeltaBase.that):
(_HandshakeDeltaBase.init):
(_HandshakeDeltaBase.create_headers):
(_MuxHandler):
(_MuxHandler.are):
(_MuxHandler.init):
(_MuxHandler.start):
(_MuxHandler.add_channel_slots):
(_MuxHandler.wait_until_done):
(_MuxHandler.notify_write_done):
(_MuxHandler.send_control_data):
(_MuxHandler.send_data):
(_MuxHandler._send_drop_channel):
(_MuxHandler._send_error_add_channel_response):
(_MuxHandler._create_logical_request):
(_MuxHandler._do_handshake_for_logical_request):
(_MuxHandler._add_logical_channel):
(_MuxHandler._process_add_channel_request):
(_MuxHandler._process_flow_control):
(_MuxHandler._process_drop_channel):
(_MuxHandler._process_control_blocks):
(_MuxHandler._process_logical_frame):
(_MuxHandler.dispatch_message):
(_MuxHandler.notify_worker_done):
(_MuxHandler.notify_reader_done):
(_MuxHandler.fail_physical_connection):
(_MuxHandler.fail_logical_channel):
(use_mux):
(start):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/standalone.py:
(_StandaloneRequest.get_protocol):
(_StandaloneRequest):
(_alias_handlers):
(WebSocketServer.init):
(WebSocketServer._create_sockets):
(WebSocketServer.server_bind):
(WebSocketServer.server_activate):
(WebSocketRequestHandler.parse_request):
(_configure_logging):
(_build_option_parser):
(_main):
(_main.if):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/stream.py:
- Scripts/webkitpy/thirdparty/mod_pywebsocket/util.py:
(_Deflater.compress):
(_RFC1979Deflater.filter):
- 12:33 AM Changeset in webkit [130868] by
-
- 3 edits5 adds in trunk/LayoutTests
Add a test to check a step attribute works for a calendar picker
https://bugs.webkit.org/show_bug.cgi?id=98866
Reviewed by Yuta Kitamura.
- platform/chromium-android/TestExpectations:
- platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png: Added.
- platform/chromium/TestExpectations:
- platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.txt: Added.
- platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step.html: Added.
- 12:32 AM Changeset in webkit [130867] by
-
- 2 edits in trunk/Source/WebKit/gtk
Unreviewed, rolling out r130853.
http://trac.webkit.org/changeset/130853
https://bugs.webkit.org/show_bug.cgi?id=98873
The rollout was incorrect (Requested by zdobersek on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-10
- webkit/webkitwebview.cpp:
(resizeWebViewFromAllocation):
(webkit_web_view_size_allocate):
(webkitWebViewMap):
- 12:23 AM Changeset in webkit [130866] by
-
- 2 edits in trunk/Source/WebCore
Text Autosizing: Counteract funky window sizing on Android.
https://bugs.webkit.org/show_bug.cgi?id=98809
Reviewed by Adam Barth.
In Chrome for Android, the window sizes provided to WebCore are
currently in physical screen pixels instead of
device-scale-adjusted units. For example window width on a
Galaxy Nexus is 720 instead of 360. Text autosizing expects
device-independent pixels. When Chrome for Android cuts over to
the new coordinate space, it will be tied to the setting
applyPageScaleFactorInCompositor.
No new tests.
- rendering/TextAutosizer.cpp:
(WebCore::TextAutosizer::processSubtree):
- 12:03 AM Changeset in webkit [130865] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening, skip tests to paint the bot green.
- platform/qt-5.0-wk2/TestExpectations: