Timeline
Aug 15, 2011:
- 10:18 PM Changeset in webkit [93086] by
-
- 7 edits in trunk/Source/WebCore
[CMAKE] Wrap files of websocket and worker in each macro.
https://bugs.webkit.org/show_bug.cgi?id=65012
Move files of web socket and workers into each macro block in CMakeList.txt.
And, header files related to WORKER and SHARED_WORKER are wrapped by macro in cpp files.
Reviewed by Daniel Bates.
- CMakeLists.txt:
- UseJSC.cmake:
- bindings/js/JSDOMWindowCustom.cpp:
- bindings/js/JSWorkerContextBase.cpp:
- bindings/js/ScriptState.cpp:
- bindings/js/WorkerScriptController.cpp:
- 7:35 PM Changeset in webkit [93085] by
-
- 17 edits in tags/Safari-535.1.1
Merge r93005.
- 7:35 PM Changeset in webkit [93084] by
-
- 2 edits in tags/Safari-535.1.1/Source/JavaScriptCore
Merge r93000.
- 7:35 PM Changeset in webkit [93083] by
-
- 5 edits in tags/Safari-535.1.1/Source
Versioning.
- 7:23 PM Changeset in webkit [93082] by
-
- 1 copy in tags/Safari-535.1.1
New tag.
- 6:37 PM Changeset in webkit [93081] by
-
- 2 edits in trunk/LayoutTests
https://bugs.webkit.org/show_bug.cgi?id=66263
DFG JIT does not always zero extend boolean result of DFG operations
- fast/js/kde/operators-expected.txt:
- erk! missed new expected results from last commit!
- 6:10 PM Changeset in webkit [93080] by
-
- 2 edits in trunk/Source/WebCore
New XML parser: add xml namespace to the default map of namespaces
https://bugs.webkit.org/show_bug.cgi?id=66266
Reviewed by Adam Barth.
- xml/parser/XMLTreeBuilder.cpp:
(WebCore::XMLTreeBuilder::NodeStackItem::NodeStackItem):
- 6:05 PM Changeset in webkit [93079] by
-
- 3 edits2 adds in trunk
Fix crash when mouse moves from <summary> element to parent <details> element.
https://bugs.webkit.org/show_bug.cgi?id=66210
Reviewed by Dimitri Glazkov.
This is a regression caused by r92922, which wrongly assumes that
a shadow host always has a shadow root as an immediate child in
ancestors chain. This assumption does not apply to <details>
element. <details> element is implemented as a shadow host, but
may have a <summary> element as an immediate child element in
ancestors chain.
Source/WebCore:
Test: fast/dom/shadow/details-summary-mouseover.html
- dom/EventDispatcher.cpp:
(WebCore::EventDispatcher::adjustToShadowBoundaries):
LayoutTests:
- fast/dom/shadow/details-summary-mouseover-expected.txt: Added.
- fast/dom/shadow/details-summary-mouseover.html: Added.
- 5:56 PM Changeset in webkit [93078] by
-
- 1 edit2 adds in trunk/LayoutTests
A mousedown event is not dispatched when clicking on a disabled INPUT
https://bugs.webkit.org/show_bug.cgi?id=27795
Reviewed by Alexey Proskuryakov.
Add a regression test now that the bug no longer reproduces.
- fast/forms/disabled-mousedown-event-expected.txt: Added.
- fast/forms/disabled-mousedown-event.html: Added.
- 5:46 PM Changeset in webkit [93077] by
-
- 12 edits in branches/chromium/835/Source
Merge 92908 - Readback composited webgl results for printing
https://bugs.webkit.org/show_bug.cgi?id=65658
BUG=55927
Patch by John Bauman <jbauman@chromium.org> on 2011-08-11
Reviewed by James Robinson.
Source/WebCore:
The real composited results may be locked inside the compositor
context's version of a texture because the drawing buffer was
automatically cleared, so read from there to get the actual presented
version to draw.
- html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas):
- platform/graphics/GraphicsContext3D.h:
- platform/graphics/chromium/Extensions3DChromium.h:
- platform/graphics/chromium/WebGLLayerChromium.cpp:
(WebCore::WebGLLayerChromium::paintRenderedResultsToCanvas):
- platform/graphics/chromium/WebGLLayerChromium.h:
- platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
(WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
Source/WebKit/chromium:
Add support for reading from the composited version of a canvas.
- public/WebGraphicsContext3D.h:
- src/Extensions3DChromium.cpp:
(WebCore::Extensions3DChromium::paintFramebufferToCanvas):
- src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::paintFramebufferToCanvas):
(WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3DInternal::paintCompositedResultsToCanvas):
(WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
(WebCore::GraphicsContext3DInternal::reshape):
- src/GraphicsContext3DInternal.h:
TBR=commit-queue@webkit.org
Review URL: http://codereview.chromium.org/7664004
- 5:32 PM Changeset in webkit [93076] by
-
- 4 edits1 add in trunk/Source/WebKit/chromium
[Chromium] Add WebFrameClient::didAdoptURLLoader() notification
https://bugs.webkit.org/show_bug.cgi?id=66167
Reviewed by Darin Fisher.
- public/WebFrameClient.h:
(WebKit::WebFrameClient::didAdoptURLLoader):
- src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
- src/ResourceHandle.cpp:
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
(WebCore::ResourceHandleInternal::FromResourceHandle):
(WebCore::ResourceHandle::ResourceHandle):
(WebCore::ResourceHandle::firstRequest):
(WebCore::ResourceHandle::client):
(WebCore::ResourceHandle::setClient):
(WebCore::ResourceHandle::~ResourceHandle):
- src/ResourceHandleInternal.h: Added.
(WebCore::ResourceHandleInternal::~ResourceHandleInternal):
(WebCore::ResourceHandleInternal::setOwner):
(WebCore::ResourceHandleInternal::request):
(WebCore::ResourceHandleInternal::client):
(WebCore::ResourceHandleInternal::setClient):
(WebCore::ResourceHandleInternal::loader):
- 5:32 PM Changeset in webkit [93075] by
-
- 2 edits in trunk/LayoutTests
Note that this new test fails.
- platform/chromium/test_expectations.txt:
- 5:27 PM Changeset in webkit [93074] by
-
- 2 edits in trunk/LayoutTests
Remove expectation for this test, which no longer exists.
- platform/chromium/test_expectations.txt:
- 5:24 PM Changeset in webkit [93073] by
-
- 1 edit1 add in trunk/LayoutTests
Add new passing expectations.
- platform/chromium/fast/js/kde/operators-expected.txt: Added.
- 5:17 PM Changeset in webkit [93072] by
-
- 2 edits in trunk/Source/WebCore
New XML parser: Use xmlnsAtom instead of redundant xmlnsPrefix
https://bugs.webkit.org/show_bug.cgi?id=66264
Reviewed by Adam Barth.
- xml/parser/XMLTreeBuilder.cpp:
(WebCore::XMLTreeBuilder::processNamespaces):
(WebCore::XMLTreeBuilder::processAttributes):
- 4:51 PM Changeset in webkit [93071] by
-
- 8 edits in trunk/Source/WebCore
Switch Element/Node to to new layout types
https://bugs.webkit.org/show_bug.cgi?id=66260
Reviewed by Eric Seidel.
Convert Element, Node, ElementRareData and ContainerNode to new layout
abstraction as a part of the ongoing conversion work.
No new tests, no new functionality.
- dom/ContainerNode.cpp:
(WebCore::ContainerNode::getLowerRightCorner):
(WebCore::ContainerNode::getRect):
- dom/ContainerNode.h:
- dom/Element.cpp:
(WebCore::Element::scrollIntoView):
(WebCore::Element::scrollIntoViewIfNeeded):
(WebCore::adjustForLocalZoom):
(WebCore::Element::boundsInWindowSpace):
(WebCore::Element::getClientRects):
(WebCore::Element::getBoundingClientRect):
(WebCore::Element::screenRect):
(WebCore::Element::minimumSizeForResizing):
(WebCore::Element::setMinimumSizeForResizing):
- dom/Element.h:
- dom/ElementRareData.h:
- dom/Node.cpp:
(WebCore::Node::getRect):
(WebCore::Node::renderRect):
(WebCore::Node::hasNonEmptyBoundingBox):
- dom/Node.h:
- 4:44 PM Changeset in webkit [93070] by
-
- 5 edits in trunk
https://bugs.webkit.org/show_bug.cgi?id=66263
DFG JIT does not always zero extend boolean result of DFG operations
Reviewed by Sam Weinig.
Source/JavaScriptCore:
- dfg/DFGOperations.cpp:
- dfg/DFGOperations.h:
- Change bool return values to a 64-bit type.
LayoutTests:
- fast/js/kde/script-tests/operators.js:
(nonSpeculativeNotInner):
(nonSpeculativeNot):
(nonSpeculativeLessInner):
(nonSpeculativeLess):
(nonSpeculativeLessEqInner):
(nonSpeculativeLessEq):
(nonSpeculativeGreaterInner):
(nonSpeculativeGreater):
(nonSpeculativeGreaterEqInner):
(nonSpeculativeGreaterEq):
(nonSpeculativeEqualInner):
(nonSpeculativeEqual):
(nonSpeculativeNotEqualInner):
(nonSpeculativeNotEqual):
(nonSpeculativeStrictEqualInner):
(nonSpeculativeStrictEqual):
(nonSpeculativeStrictNotEqualInner):
(nonSpeculativeStrictNotEqual):
- Add tests cases that will hit the non-spec path.
- 4:36 PM Changeset in webkit [93069] by
-
- 2 edits in trunk/LayoutTests
Committed by accident, restoring the test.
- editing/deleting/delete-3928305-fix.html:
- 4:34 PM Changeset in webkit [93068] by
-
- 4 edits2 adds in trunk
Regional indicator symbols that are combined should behave as a single character when editing
https://bugs.webkit.org/show_bug.cgi?id=65395
Reviewed by Dan Bernstein.
Part one: make backspace work.
Test: editing/deleting/regional-indicators.html
- rendering/RenderText.cpp: (WebCore::isRegionalIndicator): (WebCore::RenderText::previousOffsetForBackwardDeletion): Added a special case for regional indicator symbols.
- 4:18 PM Changeset in webkit [93067] by
-
- 2 edits in trunk/Source/WebCore
New XML parser: Re-entering a character node should not clobber the buffered characters
https://bugs.webkit.org/show_bug.cgi?id=66257
Reviewed by Adam Barth.
- xml/parser/XMLTreeBuilder.cpp:
(WebCore::XMLTreeBuilder::enterText):
- 3:49 PM Changeset in webkit [93066] by
-
- 40 edits in trunk/Source
FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
https://bugs.webkit.org/show_bug.cgi?id=66165
Reviewed by Darin Fisher.
Source/WebCore:
No new tests since no change in behavior.
The original issue is only reproducible on Chromium in multi-process mode
and is tested there by a browsertest.
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::transferLoadingResourcesFromPage):
Passing ResourceLoader* into the FrameLoaderClient notification.
Also, fixed the bug where the same ResourceRequest was passed for all subresources.
- loader/EmptyClients.h:
(WebCore::EmptyFrameLoaderClient::transferLoadingResourceFromPage):
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::dispatchTransferLoadingResourceFromPage):
- loader/FrameLoader.h:
- loader/FrameLoaderClient.h:
- loader/ResourceLoadNotifier.cpp:
(WebCore::ResourceLoadNotifier::dispatchTransferLoadingResourceFromPage):
- loader/ResourceLoadNotifier.h:
- loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::init):
- loader/ResourceLoader.h:
(WebCore::ResourceLoader::originalRequest): Added the originalRequest() accessor that
returns the request as it existed before redirects (but after client's will SendRequest).
This is to be able to pass the original request for loading subresources into
FrameLoaderClient::transferLoadingResourceFromPage, since that one is used to invoke
assignIdentifierToInitialRequest, which needs original request.
Source/WebKit/chromium:
- src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
- src/FrameLoaderClientImpl.h:
Source/WebKit/efl:
- WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::transferLoadingResourceFromPage):
- WebCoreSupport/FrameLoaderClientEfl.h:
Source/WebKit/gtk:
- WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::FrameLoaderClient::transferLoadingResourceFromPage):
- WebCoreSupport/FrameLoaderClientGtk.h:
Source/WebKit/haiku:
- WebCoreSupport/FrameLoaderClientHaiku.cpp:
(WebCore::FrameLoaderClientHaiku::transferLoadingResourceFromPage):
- WebCoreSupport/FrameLoaderClientHaiku.h:
Source/WebKit/mac:
- WebCoreSupport/WebFrameLoaderClient.h:
- WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::transferLoadingResourceFromPage):
Source/WebKit/qt:
- WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::transferLoadingResourceFromPage):
- WebCoreSupport/FrameLoaderClientQt.h:
Source/WebKit/win:
- WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::transferLoadingResourceFromPage):
- WebCoreSupport/WebFrameLoaderClient.h:
Source/WebKit/wince:
- WebCoreSupport/FrameLoaderClientWinCE.cpp:
(WebKit::FrameLoaderClientWinCE::transferLoadingResourceFromPage):
- WebCoreSupport/FrameLoaderClientWinCE.h:
Source/WebKit/wx:
- WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transferLoadingResourceFromPage):
- WebKitSupport/FrameLoaderClientWx.h:
Source/WebKit2:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transferLoadingResourceFromPage):
- WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
- 3:43 PM Changeset in webkit [93065] by
-
- 5 edits in trunk/Source/WebKit/chromium
Unreviewed, rolling out r93060.
http://trac.webkit.org/changeset/93060
https://bugs.webkit.org/show_bug.cgi?id=66259
Does not compile on Chromium Windows (Requested by
abarth|gardener on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-15
- public/WebCache.h:
- public/WebFontCache.h:
- src/WebCache.cpp:
(WebKit::WebCache::clear):
- src/WebFontCache.cpp:
- 3:18 PM Changeset in webkit [93064] by
-
- 2 edits in trunk/Source/WebKit/win
Touch a file to trigger a Windows build
I'm trying to ferret out some issues with our Debug builder.
- WebView.cpp: Sorted #includes.
- 3:14 PM Changeset in webkit [93063] by
-
- 3 edits in trunk/Tools
garden-o-matic frontend needs model.commitDataForRevisionRange function.
https://bugs.webkit.org/show_bug.cgi?id=66252
Reviewed by Adam Barth.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model.js: Added commitDataForRevisionRange method.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/model_unittests.js: Added tests.
- 2:56 PM Changeset in webkit [93062] by
-
- 3 edits in trunk/Source/WebKit2
[Qt][WK2] Unreviewed build fix after r93058.
- UIProcess/TiledDrawingAreaProxy.cpp:
(WebKit::TiledDrawingAreaProxy::deviceScaleFactorDidChange):
- UIProcess/TiledDrawingAreaProxy.h:
- 2:31 PM Changeset in webkit [93061] by
-
- 3 edits in trunk/Tools
garden-o-matic frontend needs a generic way to track updates.
https://bugs.webkit.org/show_bug.cgi?id=66245
Reviewed by Adam Barth.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base.js: Added UpdateTracker.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/base_unittests.js: Added tests.
- 2:28 PM Changeset in webkit [93060] by
-
- 5 edits in trunk/Source/WebKit/chromium
Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
https://bugs.webkit.org/show_bug.cgi?id=66132
Reviewed by Darin Fisher.
- public/WebCache.h:
- public/WebFontCache.h:
- src/WebCache.cpp:
(WebKit::WebCache::prune):
- src/WebFontCache.cpp:
(WebKit::WebFontCache::prune):
- 2:12 PM Changeset in webkit [93059] by
-
- 22 edits in trunk/Source
Refactor JS objects to allocate in static create methods rather than constructors
https://bugs.webkit.org/show_bug.cgi?id=65347
Patch by Mark Hahnenberg <mhahnenberg@apple.com> on 2011-08-15
Reviewed by Geoffrey Garen.
Source/JavaScriptGlue:
Removed all calls to deprecatedGetDOMObject from initialization lists as part of a
larger refactoring to get rid of all allocation during initialization.
- JSRun.cpp:
(JSGlueGlobalObject::JSGlueGlobalObject):
- JSRun.h:
(JSGlueGlobalObject::create):
Source/WebCore:
No new tests.
Removed all calls to deprecatedGetDOMObject from initialization lists as part of a
larger refactoring to get rid of all allocation during initialization.
- bindings/js/JSDOMBinding.h:
- bridge/c/CRuntimeObject.cpp:
(JSC::Bindings::CRuntimeObject::CRuntimeObject):
- bridge/c/CRuntimeObject.h:
(JSC::Bindings::CRuntimeObject::create):
- bridge/c/c_instance.cpp:
(JSC::Bindings::CRuntimeMethod::create):
(JSC::Bindings::CRuntimeMethod::CRuntimeMethod):
- bridge/jni/jsc/JavaInstanceJSC.cpp:
(JavaRuntimeMethod::create):
(JavaRuntimeMethod::JavaRuntimeMethod):
- bridge/jni/jsc/JavaRuntimeObject.cpp:
(JSC::Bindings::JavaRuntimeObject::JavaRuntimeObject):
- bridge/jni/jsc/JavaRuntimeObject.h:
(JSC::Bindings::JavaRuntimeObject::create):
- bridge/objc/objc_runtime.h:
(JSC::Bindings::ObjcFallbackObjectImp::create):
- bridge/objc/objc_runtime.mm:
(JSC::Bindings::ObjcFallbackObjectImp::ObjcFallbackObjectImp):
- bridge/qt/qt_instance.cpp:
(JSC::Bindings::QtRuntimeObject::create):
(JSC::Bindings::QtRuntimeObject::QtRuntimeObject):
- bridge/qt/qt_pixmapruntime.cpp:
(JSC::Bindings::QtPixmapRuntimeObject::create):
(JSC::Bindings::QtPixmapRuntimeObject::QtPixmapRuntimeObject):
- bridge/qt/qt_runtime.cpp:
(JSC::Bindings::QtRuntimeMethod::QtRuntimeMethod):
(JSC::Bindings::QtRuntimeMetaMethod::QtRuntimeMetaMethod):
(JSC::Bindings::QtRuntimeConnectionMethod::QtRuntimeConnectionMethod):
- bridge/qt/qt_runtime.h:
(JSC::Bindings::QtRuntimeMetaMethod::create):
(JSC::Bindings::QtRuntimeConnectionMethod::create):
- bridge/runtime_array.cpp:
(JSC::RuntimeArray::RuntimeArray):
- bridge/runtime_array.h:
(JSC::RuntimeArray::create):
- bridge/runtime_object.cpp:
Source/WebKit/mac:
Removed all calls to deprecatedGetDOMObject from initialization lists as part of a
larger refactoring to get rid of all allocation during initialization.
- Plugins/Hosted/ProxyInstance.mm:
(WebKit::ProxyRuntimeMethod::create):
(WebKit::ProxyRuntimeMethod::ProxyRuntimeMethod):
- 2:06 PM Changeset in webkit [93058] by
-
- 22 edits in trunk/Source
Update pages' style and content scale when the window's backing scale factor changes
Unfortunately, I couldn't think of a way to test this in an automated fashion.
Fixes <http://webkit.org/b/66229> <rdar://problem/9906269> WebKit doesn't react to device
scale factor changes
Reviewed by Simon Fraser.
Source/WebCore:
- WebCore.exp.in: Export Frame::deviceOrScaleFactorChanged.
- page/Frame.cpp:
(WebCore::Frame::deviceScaleFactorChanged):
- page/Frame.h:
Added this new function. We recalc style so that, e.g., device-scale-factor-dependent media
queries will be reevaluated, and we tell compositing layers about the new scale factor so
they can rerender at the new resolution.
Source/WebKit/mac:
- WebView/WebView.mm:
(-[WebView addWindowObserversForWindow:]):
(-[WebView removeWindowObservers]):
Listen for the notification that tells us the window's backing scale has changed.
(-[WebView _windowDidChangeResolution:]): Tell the page about the change to the device scale
factor so that, e.g., scale-factor-dependent media queries will be reevaluated.
Source/WebKit2:
- UIProcess/API/mac/WKView.mm:
(-[WKView addWindowObserversForWindow:]):
(-[WKView removeWindowObservers]):
Listen for the notification that tells us the window's backing scale has changed.
(-[WKView _windowDidChangeResolution:]): Tell the WebPageProxy about the change.
- UIProcess/DrawingAreaProxy.h:
- UIProcess/DrawingAreaProxyImpl.h:
Added deviceScaleFactorDidChange.
- UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::deviceScaleFactorDidChange): Request a new backing store
since the current one is using an old device scale factor.
(WebKit::DrawingAreaProxyImpl::sendUpdateBackingStoreState): Send the device scale factor
along to the web process so it can render accordingly. This is how we tell the web process
about device scale factor changes.
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::viewStateDidChange): Tell the DrawingAreaProxy when the device scale
factor changes.
(WebKit::WebPageProxy::deviceScaleFactor): Added this simple getter that calls through to
the PageClient. DrawingAreaProxy uses this function.
- UIProcess/WebPageProxy.h: Added new members.
- WebProcess/WebPage/DrawingArea.h:
(WebKit::DrawingArea::updateBackingStoreState):
- WebProcess/WebPage/DrawingArea.messages.in:
- WebProcess/WebPage/DrawingAreaImpl.h:
Send the device scale factor in the UpdateBackingStoreState message.
- WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::updateBackingStoreState): Tell the WebPage and LayerTreeHost about
the new device scale factor.
- WebProcess/WebPage/LayerTreeHost.h:
- WebProcess/WebPage/ca/LayerTreeHostCA.h:
Added deviceScaleFactorDidChange.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setDeviceScaleFactor): Store the new scale factor and tell the page about
it so that, e.g., scale-factor-dependent media queries will be reevaluated.
- WebProcess/WebPage/WebPage.h: Added setDeviceScaleFactor.
- WebProcess/WebPage/ca/LayerTreeHostCA.cpp:
(WebKit::LayerTreeHostCA::deviceScaleFactorDidChange): Tell the layer for non-composited
content about the new scale factor.
- 12:59 PM Changeset in webkit [93057] by
-
- 2 edits in trunk/Source/WebCore
Revise Skia on Chrome Mac to return fallback fonts.
https://bugs.webkit.org/show_bug.cgi?id=62986
Reviewed by Darin Fisher.
Since Skia on Chrome Mac uses CoreText to determine
text metrics, CG font architecture is used to return
fallback fonts.
This improves many existing layout tests, including
justify-ideograph-simple and t0905-c414-flt-04-c
- platform/graphics/skia/FontSkia.cpp:
(WebCore::Font::canReturnFallbackFontsForComplexText):
- 12:59 PM Changeset in webkit [93056] by
-
- 3 edits in trunk/Source/WebKit/chromium
[chromium] Implement shouldRubberBandInDirection
https://bugs.webkit.org/show_bug.cgi?id=66206
Reviewed by Adam Barth.
History swiping can only start after an unhandled mouse wheel event
came back from the renderer, because mouse wheel javascript handlers
take precedence over history swiping. This means that rubberbanding
must not consume wheel events if they could trigger history, else
history swiping won't be triggered for pages without wheel handlers
either.
This is based on the implementation in
Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
- src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::shouldRubberBandInDirection):
- src/ChromeClientImpl.h:
- 12:52 PM Changeset in webkit [93055] by
-
- 14 edits in trunk/Source
Pass additional details to client in didCreateIsolatedContext
https://bugs.webkit.org/show_bug.cgi?id=66037
Reviewed by Darin Fisher.
Source/WebCore:
- bindings/v8/IsolatedWorld.cpp:
(WebCore::IsolatedWorld::IsolatedWorld):
- bindings/v8/IsolatedWorld.h:
(WebCore::IsolatedWorld::create):
(WebCore::IsolatedWorld::id):
- bindings/v8/V8IsolatedContext.cpp:
(WebCore::V8IsolatedContext::V8IsolatedContext):
- bindings/v8/V8IsolatedContext.h:
- bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::evaluateInIsolatedWorld):
- loader/EmptyClients.h:
(WebCore::EmptyFrameLoaderClient::didCreateIsolatedScriptContext):
- loader/FrameLoaderClient.h:
Source/WebKit/chromium:
- public/WebFrameClient.h:
(WebKit::WebFrameClient::didCreateIsolatedScriptContext):
- src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
- src/FrameLoaderClientImpl.h:
- 12:37 PM Changeset in webkit [93054] by
-
- 10 edits5 adds in trunk
Add shell implementation for Web Audio API's MediaElementAudioSourceNode
https://bugs.webkit.org/show_bug.cgi?id=66175
Reviewed by Kenneth Russell.
Source/WebCore:
Test: webaudio/mediaelementaudiosourcenode.html
- DerivedSources.make:
- WebCore.gypi:
- WebCore.xcodeproj/project.pbxproj:
- html/HTMLMediaElement.idl:
- webaudio/AudioContext.cpp:
(WebCore::AudioContext::createMediaElementSource):
- webaudio/AudioContext.h:
- webaudio/AudioContext.idl:
- webaudio/AudioNode.h:
- webaudio/MediaElementAudioSourceNode.cpp: Added.
(WebCore::MediaElementAudioSourceNode::create):
(WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode):
(WebCore::MediaElementAudioSourceNode::process):
(WebCore::MediaElementAudioSourceNode::reset):
- webaudio/MediaElementAudioSourceNode.h: Added.
(WebCore::MediaElementAudioSourceNode::mediaElement):
- webaudio/MediaElementAudioSourceNode.idl: Added.
LayoutTests:
- webaudio/mediaelementaudiosourcenode-expected.txt: Added.
- webaudio/mediaelementaudiosourcenode.html: Added.
- 12:31 PM Changeset in webkit [93053] by
-
- 7 edits in trunk/Source/WebCore
Switch mouse events to to new layout types
https://bugs.webkit.org/show_bug.cgi?id=66179
Reviewed by Eric Seidel.
Convert mouse events to new layout abstraction as a part of the ongoing
conversion work.
No new tests, no new functionality.
- dom/MouseRelatedEvent.cpp:
(WebCore::contentsScrollOffset):
(WebCore::MouseRelatedEvent::MouseRelatedEvent):
(WebCore::MouseRelatedEvent::initCoordinates):
(WebCore::MouseRelatedEvent::computePageLocation):
(WebCore::MouseRelatedEvent::computeRelativePosition):
(WebCore::MouseRelatedEvent::pageLocation):
- dom/MouseRelatedEvent.h:
(WebCore::MouseRelatedEvent::screenLocation):
(WebCore::MouseRelatedEvent::clientLocation):
(WebCore::MouseRelatedEvent::absoluteLocation):
(WebCore::MouseRelatedEvent::setAbsoluteLocation):
- page/EventHandler.cpp:
(WebCore::EventHandler::clear):
(WebCore::EventHandler::handleMousePressEventSingleClick):
(WebCore::selectionExtentRespectingEditingBoundary):
(WebCore::EventHandler::hitTestResultAtPoint):
(WebCore::EventHandler::currentMousePosition):
(WebCore::documentPointForWindowPoint):
(WebCore::EventHandler::handleMousePressEvent):
(WebCore::EventHandler::mouseMoved):
(WebCore::EventHandler::handleWheelEvent):
(WebCore::EventHandler::sendContextMenuEvent):
(WebCore::EventHandler::sendContextMenuEventForKey):
(WebCore::EventHandler::fakeMouseMoveEventTimerFired):
(WebCore::EventHandler::dragHysteresisExceeded):
(WebCore::EventHandler::handleDrag):
(WebCore::EventHandler::handleTouchEvent):
- page/EventHandler.h:
- platform/PlatformMouseEvent.h:
(WebCore::PlatformMouseEvent::PlatformMouseEvent):
(WebCore::PlatformMouseEvent::pos):
(WebCore::PlatformMouseEvent::x):
(WebCore::PlatformMouseEvent::y):
(WebCore::PlatformMouseEvent::globalX):
(WebCore::PlatformMouseEvent::globalY):
- platform/mac/PlatformMouseEventMac.mm:
(WebCore::globalPoint):
(WebCore::pointForEvent):
(WebCore::globalPointForEvent):
- 12:30 PM Changeset in webkit [93052] by
-
- 7 edits in trunk/Tools
Teach TestWebKitAPI/gtest how to print JavaScript failures nicely
Failures now give output of the form: foo should be bar but is baz
Fixes <http://webkit.org/b/66240> It's hard to tell what the actual result of a failed JS
test is in TestWebKitAPI's output
Reviewed by David Levin.
- TestWebKitAPI/JavaScriptTest.cpp:
(TestWebKitAPI::JavaScriptCallbackContext::JavaScriptCallbackContext): Removed now-unused
members.
(TestWebKitAPI::javaScriptCallback): Changed to just store the result string in the context
object, rather than doing any testing of it here.
(TestWebKitAPI::runJSTest): Made this function a gtest predicate-formatter. This allows us
to use a pretty error message when the test fails.
- TestWebKitAPI/JavaScriptTest.h: Changed runJSTest to a predicate-formatter, and added nice
gtest-style macros that wrap it.
- TestWebKitAPI/Test.h: Removed now-unused TEST_ASSERT_RETURN.
- TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp:
(TestWebKitAPI::TEST): Changed to use the new macros.
- TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
(TestWebKitAPI::createSessionStateContainingFormData): Ditto. Note that this function no
longer returns 0 when the JS test fails. That shouldn't have any effect on whether or not
the test passes, though. Returning early seems to have been an unnecessary optimization.
- TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
(TestWebKitAPI::TEST): Changed to use the new macros.
- 12:23 PM Changeset in webkit [93051] by
-
- 18 edits in trunk
webkit-indent-blockquote is unnecessary
https://bugs.webkit.org/show_bug.cgi?id=66195
Reviewed by Tony Chang.
Source/WebCore:
Stop adding class="webkit-indent-blockquote" on blockquotes created by execCommand('Indent') and
execCommand('Outdent'). Also removed the code to add the class attribute in ApplyBlockElementCommand
since no other class inherited from ApplyBlockElementCommand uses this feature.
- editing/ApplyBlockElementCommand.cpp:
(WebCore::ApplyBlockElementCommand::ApplyBlockElementCommand):
(WebCore::ApplyBlockElementCommand::createBlockElement):
- editing/ApplyBlockElementCommand.h:
- editing/IndentOutdentCommand.cpp:
(WebCore::IndentOutdentCommand::IndentOutdentCommand):
LayoutTests:
Rebaselined the tests since WebKit longer adds class="webkit-indent-blockquote" on blockquotes
created by execCommand('Indent') and execCommand('Outdent') after this patch.
- editing/execCommand/19653-1-expected.txt:
- editing/execCommand/5658933-2-expected.txt:
- editing/execCommand/5658933-3-expected.txt:
- editing/execCommand/indent-div-inside-list-expected.txt:
- editing/execCommand/indent-nested-blockquotes-expected.txt:
- editing/execCommand/indent-nested-div-expected.txt:
- editing/execCommand/indent-paragraphs-expected.txt:
- editing/execCommand/indent-pre-expected.txt:
- editing/execCommand/indent-pre-list-expected.txt:
- editing/execCommand/indent-pre-paragraphs-expected.txt:
- editing/execCommand/indent-second-paragraph-in-blockquote-expected.txt:
- editing/execCommand/indent-with-style-expected.txt:
- editing/execCommand/indent-with-style2-expected.txt:
- 12:07 PM Changeset in webkit [93050] by
-
- 20 edits in trunk/Source/WebCore
Switch remaining SVG Rendering methods to LayoutUnits
https://bugs.webkit.org/show_bug.cgi?id=66169
Reviewed by Eric Seidel.
Changing remaining integer SVG methods to use the LayoutUnits abstraction.
No tests as no change in functionality.
- rendering/svg/RenderSVGBlock.cpp:
(WebCore::RenderSVGBlock::visualOverflowRect):
- rendering/svg/RenderSVGBlock.h:
- rendering/svg/RenderSVGContainer.cpp:
(WebCore::RenderSVGContainer::paint):
- rendering/svg/RenderSVGForeignObject.cpp:
(WebCore::RenderSVGForeignObject::paint):
(WebCore::RenderSVGForeignObject::clippedOverflowRectForRepaint):
(WebCore::RenderSVGForeignObject::computeRectForRepaint):
- rendering/svg/RenderSVGHiddenContainer.cpp:
(WebCore::RenderSVGHiddenContainer::paint):
- rendering/svg/RenderSVGImage.cpp:
(WebCore::RenderSVGImage::paint):
- rendering/svg/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::linesBoundingBox):
- rendering/svg/RenderSVGInlineText.h:
- rendering/svg/RenderSVGModelObject.cpp:
(WebCore::RenderSVGModelObject::outlineBoundsForRepaint):
- rendering/svg/RenderSVGPath.cpp:
(WebCore::RenderSVGPath::paint):
- rendering/svg/RenderSVGRoot.cpp:
(WebCore::RenderSVGRoot::localToBorderBoxTransform):
(WebCore::RenderSVGRoot::parentOriginToBorderBox):
(WebCore::RenderSVGRoot::borderOriginToContentBox):
(WebCore::RenderSVGRoot::localToRepaintContainerTransform):
(WebCore::RenderSVGRoot::localToParentTransform):
(WebCore::RenderSVGRoot::clippedOverflowRectForRepaint):
(WebCore::RenderSVGRoot::computeRectForRepaint):
- rendering/svg/RenderSVGRoot.h:
- rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::paint):
- rendering/svg/SVGInlineFlowBox.cpp:
(WebCore::SVGInlineFlowBox::paint):
- rendering/svg/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::paint):
- rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::clippedOverflowRectForRepaint):
(WebCore::SVGRenderSupport::computeRectForRepaint):
- rendering/svg/SVGRenderSupport.h:
- rendering/svg/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::paint):
(WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation):
(WebCore::SVGRootInlineBox::layoutChildBoxes):
(WebCore::SVGRootInlineBox::layoutRootBox):
(WebCore::SVGRootInlineBox::closestLeafChildForPosition):
- rendering/svg/SVGRootInlineBox.h:
- 12:07 PM Changeset in webkit [93049] by
-
- 4 edits in trunk/Source/WebKit2
[Qt][WK2] Get rid of QTouchWebPagePrivate::getPageViewPrivate()
https://bugs.webkit.org/show_bug.cgi?id=66222
Patch by Benjamin Poulain <benjamin@webkit.org> on 2011-08-15
Reviewed by Kenneth Rohde Christiansen.
The function QTouchWebPagePrivate::getPageViewPrivate() exposed
the private QTouchWebPage to any object in WebKit.
Instead, use the friend keyword to list which objects can access
the internal of QTouchWebPage.
- UIProcess/API/qt/qtouchwebpage.h:
- UIProcess/API/qt/qtouchwebpage_p.h:
- UIProcess/API/qt/qtouchwebview.cpp:
(QTouchWebViewPrivate::QTouchWebViewPrivate):
(QTouchWebViewPrivate::viewportRectUpdated):
- 11:51 AM Changeset in webkit [93048] by
-
- 5 edits in trunk
Crash accessing static property on sealed object
https://bugs.webkit.org/show_bug.cgi?id=66242
Reviewed by Sam Weinig.
Source/JavaScriptCore:
- runtime/JSObject.h:
(JSC::JSObject::putDirectInternal):
- should only check isExtensible if checkReadOnly.
LayoutTests:
- fast/js/preventExtensions-expected.txt:
- fast/js/script-tests/preventExtensions.js:
- added test case.
- 10:41 AM Changeset in webkit [93047] by
-
- 2 edits in trunk/Source/WebCore
MediaPlayerPrivateAVFoundationCF::playerItemStatus() should return MediaPlayerAVPlayerItemStatusDoesNotExist if there is no AVPlayerItem
https://bugs.webkit.org/show_bug.cgi?id=66171
MediaPlayerPrivateAVFoundationCF::playerItemStatus() should return MediaPlayerAVPlayerItemStatusDoesNotExist if there is no AVPlayerItem
to match the Mac implementation in MediaPlayerPrivateAVFoundationObjC. I also added better logging to notificationCallback().
Reviewed by Jon Honeycutt.
No new tests, uses existing media tests.
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp:
(WebCore::MediaPlayerPrivateAVFoundationCF::playerItemStatus): Return MediaPlayerAVPlayerItemStatusDoesNotExist if no AVPlayerItem.
(WebCore::AVFWrapper::notificationCallback): Log the name of the received notification.
- 10:21 AM Changeset in webkit [93046] by
-
- 2 edits in trunk/Tools
Move the Leaks bot back to ORWT until I can fix LeaksViewer regressions filed by Adam Roben in bug 66227 and 66228.
Unreviewed.
- Scripts/run-webkit-tests:
(usingLeaks):
(useNewRunWebKitTests):
- 9:56 AM Changeset in webkit [93045] by
-
- 2 edits in trunk/Source/JavaScriptCore
Fix release build when building with Clang.
Reviewed by Anders Carlsson.
- runtime/Identifier.cpp:
(JSC::Identifier::checkCurrentIdentifierTable):
Add NO_RETURN_DUE_TO_CRASH.
- 8:54 AM Changeset in webkit [93044] by
-
- 2 edits in trunk/Source/WebKit2
Unreviewed.
Fix Qt-WK2 build after r93040.
- UIProcess/qt/QtWebPageProxy.h:
(QtWebPageProxy::deviceScaleFactor):
- 8:01 AM Changeset in webkit [93043] by
-
- 3 edits in trunk/Source/WebCore
Rename an instance of pageScaleFactorChanged I missed in r93040
I tried to make a test for this but failed. It would probably have been easier if we dumped
layers' content scales in layerTreeAsText output.
Followup to <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to
the device scale factor
- platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::deviceOrPageScaleFactorChanged):
- platform/graphics/ca/GraphicsLayerCA.h:
Renamed from pageScaleFactorChanged to match the base class.
- 7:32 AM Changeset in webkit [93042] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: [V8] crash upon stepIn while not on pause.
https://bugs.webkit.org/show_bug.cgi?id=66221
Reviewed by Yury Semikhatsky.
- inspector/InspectorDebuggerAgent.cpp:
(WebCore::InspectorDebuggerAgent::resume):
(WebCore::InspectorDebuggerAgent::stepOver):
(WebCore::InspectorDebuggerAgent::stepInto):
(WebCore::InspectorDebuggerAgent::stepOut):
(WebCore::InspectorDebuggerAgent::assertPaused):
- inspector/InspectorDebuggerAgent.h:
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._stepOverClicked):
(WebInspector.ScriptsPanel.prototype._stepIntoClicked):
(WebInspector.ScriptsPanel.prototype._stepOutClicked):
- 7:26 AM Changeset in webkit [93041] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Network panel: display the current search match index in the toolbar.
https://bugs.webkit.org/show_bug.cgi?id=66051
Reviewed by Pavel Feldman.
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._highlightNthMatchedResource):
(WebInspector.NetworkLogView.prototype.performSearch):
(WebInspector.NetworkPanel):
(WebInspector.NetworkPanel.prototype._onSearchCountUpdated):
(WebInspector.NetworkPanel.prototype._onSearchIndexUpdated):
- 6:43 AM Changeset in webkit [93040] by
-
- 90 edits in trunk/Source
Clear up scale factor terminology
WebKit by and large deals with two scale factors: one intrinsic to the device on which the
software is running, and one that is per-Page and can be controlled via API calls. This
patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
code use those names. It should introduce no behavior changes.
Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
device scale factor
Reviewed by Simon Fraser.
Source/WebCore:
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
Removed an unused member. This is unrelated to this patch.
- css/MediaQueryEvaluator.cpp:
- html/HTMLCanvasElement.cpp:
- html/HTMLCanvasElement.h:
- loader/EmptyClients.h:
- page/Chrome.cpp:
- page/Chrome.h:
- page/ChromeClient.h:
- page/DOMWindow.cpp:
- page/Frame.cpp:
- page/Frame.h:
- platform/graphics/GraphicsLayer.cpp:
- platform/graphics/GraphicsLayer.h:
- platform/graphics/GraphicsLayerClient.h:
- platform/graphics/ca/GraphicsLayerCA.cpp:
- rendering/RenderInline.cpp:
- rendering/RenderLayerBacking.cpp:
- rendering/RenderLayerBacking.h:
- rendering/RenderLayerCompositor.cpp:
- rendering/RenderLayerCompositor.h:
- rendering/RenderObject.cpp:
Source/WebKit/chromium:
- src/ChromeClientImpl.cpp:
- src/ChromeClientImpl.h:
Source/WebKit/efl:
- WebCoreSupport/ChromeClientEfl.cpp:
- WebCoreSupport/ChromeClientEfl.h:
Source/WebKit/gtk:
- WebCoreSupport/ChromeClientGtk.cpp:
- WebCoreSupport/ChromeClientGtk.h:
Source/WebKit/haiku:
- WebCoreSupport/ChromeClientHaiku.cpp:
- WebCoreSupport/ChromeClientHaiku.h:
Source/WebKit/mac:
- Misc/WebNSControlExtras.m:
(-[NSControl sizeToFitAndAdjustWindowHeight]): Updated this function to use more modern
AppKit scale factor terminology. (This is unrelated to the rest of the patch.)
- WebCoreSupport/WebChromeClient.h:
- WebCoreSupport/WebChromeClient.mm:
Source/WebKit/qt:
- WebCoreSupport/ChromeClientQt.cpp:
- WebCoreSupport/ChromeClientQt.h:
Source/WebKit/win:
- WebCoreSupport/WebChromeClient.cpp:
- WebCoreSupport/WebChromeClient.h:
Source/WebKit/wince:
- WebCoreSupport/ChromeClientWinCE.cpp:
- WebCoreSupport/ChromeClientWinCE.h:
Source/WebKit/wx:
- WebKitSupport/ChromeClientWx.cpp:
- WebKitSupport/ChromeClientWx.h:
Source/WebKit2:
- Shared/UpdateInfo.cpp:
- Shared/UpdateInfo.h:
- Shared/WebPageCreationParameters.cpp:
- Shared/WebPageCreationParameters.h:
- UIProcess/API/C/WKPage.cpp:
- UIProcess/API/efl/PageClientImpl.cpp:
- UIProcess/API/efl/PageClientImpl.h:
- UIProcess/API/gtk/PageClientImpl.h:
- UIProcess/API/mac/PageClientImpl.h:
- UIProcess/API/mac/PageClientImpl.mm:
- UIProcess/BackingStore.cpp:
- UIProcess/BackingStore.h:
- UIProcess/DrawingAreaProxyImpl.cpp:
- UIProcess/PageClient.h:
- UIProcess/WebPageProxy.cpp:
- UIProcess/WebPageProxy.h:
- UIProcess/WebPageProxy.messages.in:
- UIProcess/WebPopupMenuProxy.h:
- UIProcess/gtk/WebPopupMenuProxyGtk.cpp:
- UIProcess/gtk/WebPopupMenuProxyGtk.h:
- UIProcess/mac/BackingStoreMac.mm:
- UIProcess/mac/WebPageProxyMac.mm:
- UIProcess/mac/WebPopupMenuProxyMac.h:
- UIProcess/mac/WebPopupMenuProxyMac.mm:
- UIProcess/qt/WebPopupMenuProxyQt.h:
- UIProcess/win/WebPopupMenuProxyWin.h:
- UIProcess/win/WebView.h:
- WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
- WebProcess/WebCoreSupport/WebChromeClient.h:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
- WebProcess/WebPage/DrawingAreaImpl.cpp:
- WebProcess/WebPage/FindController.cpp:
- WebProcess/WebPage/WebPage.cpp:
- WebProcess/WebPage/WebPage.h:
- WebProcess/WebPage/WebPage.messages.in:
- WebProcess/WebPage/ca/LayerTreeHostCA.cpp:
- WebProcess/WebPage/ca/LayerTreeHostCA.h:
- 4:59 AM Changeset in webkit [93039] by
-
- 4 edits in trunk/Source
Patch by Oliver Varga <Varga.Oliver@stud.u-szeged.hu> on 2011-08-15
Reviewed by Nikolas Zimmermann.
Speed up SVGSMILElement::findInstanceTime.
https://bugs.webkit.org/show_bug.cgi?id=61025
Source/JavaScriptCore:
Add a new parameter to StdlibExtras.h::binarySerarch function
to also handle cases when the array does not contain the key value.
This is needed for an svg function.
- wtf/StdLibExtras.h:
(WTF::binarySearch):
Source/WebCore:
Replace the linear search to binary search on ordered list because
the previous searches from the beginning was not efficient.
Out of index error fixed by Renata Hodovan.
No new tests this is only a performance tweak.
- svg/animation/SVGSMILElement.cpp:
(WebCore::extractTimeFromVector):
(WebCore::SVGSMILElement::findInstanceTime):
- 4:02 AM Changeset in webkit [93038] by
-
- 9 edits in trunk
Implement proper handling of focusin/focusout events in regard to shadow DOM boundaries.
https://bugs.webkit.org/show_bug.cgi?id=64249
Reviewed by Dimitri Glazkov.
Introduces FocusInEventDispatchMediator/FocusOutEventDispatchMediator so
that we can shrink ancestors of event target node considering shadow
DOM boundaries before dispatching focusin/focusout events.
Source/WebCore:
Test: fast/dom/shadow/shadow-boundary-events.html
- dom/Document.cpp:
(WebCore::Document::setFocusedNode):
- dom/Node.cpp:
(WebCore::Node::dispatchFocusInEvent):
(WebCore::Node::dispatchFocusOutEvent):
(WebCore::Node::dispatchDOMActivateEvent):
(WebCore::Node::defaultEventHandler):
- dom/Node.h:
- dom/UIEvent.cpp:
(WebCore::FocusInEventDispatchMediator::create):
(WebCore::FocusInEventDispatchMediator::FocusInEventDispatchMediator):
(WebCore::FocusInEventDispatchMediator::dispatchEvent):
(WebCore::FocusOutEventDispatchMediator::create):
(WebCore::FocusOutEventDispatchMediator::FocusOutEventDispatchMediator):
(WebCore::FocusOutEventDispatchMediator::dispatchEvent):
- dom/UIEvent.h:
LayoutTests:
- fast/dom/shadow/shadow-boundary-events-expected.txt:
- fast/dom/shadow/shadow-boundary-events.html:
- 3:26 AM Changeset in webkit [93037] by
-
- 7 edits2 adds in trunk
Web Inspector: not all of the properties have valid descriptors on all platforms.
Includes PropertyDescriptor protocol documentation fixes.
https://bugs.webkit.org/show_bug.cgi?id=66215
Source/WebCore:
Activations, LocalStorage and some other properties potentially don't have
valid property descriptors. InjectedScript should use conservative getter in order to
mitigate this.
Patch by Pavel Feldman <pfeldman@google.com> on 2011-08-15
Reviewed by Yury Semikhatsky.
- inspector/InjectedScriptSource.js:
- inspector/Inspector.json:
LayoutTests:
Patch by Pavel Feldman <pfeldman@google.com> on 2011-08-15
Reviewed by Yury Semikhatsky.
- inspector/protocol/runtime-agent-expected.txt:
- inspector/protocol/runtime-agent.html:
- inspector/runtime/runtime-localStorage-getProperties-expected.txt: Added.
- inspector/runtime/runtime-localStorage-getProperties.html: Added.
- 3:00 AM Changeset in webkit [93036] by
-
- 1 edit in branches/chromium/835/Source/WebCore/inspector/front-end/ResourcesPanel.js
Merge 92835 - Web Inspector: [REGRESSION] Resources panel search fails when search result is found in a resource used in several frames.
https://bugs.webkit.org/show_bug.cgi?id=66007
Reviewed by Pavel Feldman.
- inspector/front-end/ResourcesPanel.js:
(WebInspector.ResourcesPanel.prototype.performSearch.callback):
(WebInspector.ResourcesPanel.prototype.performSearch):
(WebInspector.FrameTreeElement.prototype.resourceByURL):
TBR=vsevik@chromium.org
BUG=92405
Review URL: http://codereview.chromium.org/7648029
- 2:26 AM Changeset in webkit [93035] by
-
- 8 edits in trunk/Source/WebCore
Web Inspector: context menu on the link in the console does not have standard link options.
https://bugs.webkit.org/show_bug.cgi?id=66214
Patch by Pavel Feldman <pfeldman@google.com> on 2011-08-15
Reviewed by Yury Semikhatsky.
- English.lproj/localizedStrings.js:
- inspector/front-end/ConsoleView.js:
- inspector/front-end/ElementsPanel.js:
- inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype.populateContextMenu):
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._contextMenu):
- inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylesSidebarPane.prototype._contextMenuEventFired):
- inspector/front-end/inspector.js:
(WebInspector.openLinkExternallyLabel):
(WebInspector.copyLinkAddressLabel):
(WebInspector.populateHrefContextMenu):
- 1:13 AM Changeset in webkit [93034] by
-
- 7 edits1 add in trunk/Source/WebCore
Web Inspector: showContextMenu missing in Remote DevTools
https://bugs.webkit.org/show_bug.cgi?id=63725
Reviewed by Yury Semikhatsky.
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- inspector/front-end/ConsoleView.js:
- inspector/front-end/SoftContextMenu.js: Added.
(.WebInspector.SoftContextMenu):
(.WebInspector.SoftContextMenu.prototype.show):
(.WebInspector.SoftContextMenu.prototype._createMenuItem):
(.WebInspector.SoftContextMenu.prototype._createSeparator):
(.WebInspector.SoftContextMenu.prototype._menuItemMouseDown):
(.WebInspector.SoftContextMenu.prototype._menuItemMouseUp):
(.WebInspector.SoftContextMenu.prototype._triggerAction):
(.WebInspector.SoftContextMenu.prototype._menuItemMouseOver):
(.WebInspector.SoftContextMenu.prototype._menuItemMouseOut):
(.WebInspector.SoftContextMenu.prototype._highlightMenuItem):
(.WebInspector.SoftContextMenu.prototype._highlightPrevious):
(.WebInspector.SoftContextMenu.prototype._highlightNext):
(.WebInspector.SoftContextMenu.prototype._menuKeyDown):
(.WebInspector.SoftContextMenu.prototype._glassPaneMouseUp):
(.WebInspector.SoftContextMenu.prototype._discardMenu):
(.InspectorFrontendHost.showContextMenu):
- inspector/front-end/WebKit.qrc:
- inspector/front-end/inspector.css:
(.soft-context-menu-glass-pane):
(.soft-context-menu):
(.soft-context-menu-item):
(.soft-context-menu-separator):
(.soft-context-menu-item-mouse-over):
- inspector/front-end/inspector.html:
Aug 14, 2011:
- 11:57 PM Changeset in webkit [93033] by
-
- 2 edits in trunk/LayoutTests
[QT]REGRESSION after r93011
https://bugs.webkit.org/show_bug.cgi?id=66212
Unreviewed gardening.
- platform/qt-4.8/Skipped:
- 4:08 PM Changeset in webkit [93032] by
-
- 3 edits2 adds in trunk
Source/WebCore: Crash in HTMLTreeBuilder::processAnyOtherEndTagForInBody
https://bugs.webkit.org/show_bug.cgi?id=66187
Reviewed by Adam Barth.
RefPtr a few ContainerNodes to prevent premature deletion.
Test: fast/html/process-end-tag-for-inbody-crash.html
- html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processCloseWhenNestedTag):
(WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody):
(WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
LayoutTests: Crash in HTMLTreeBuilder::processAnyOtherEndTagForInBody.
https://bugs.webkit.org/show_bug.cgi?id=66187
Reviewed by Adam Barth.
- fast/html/process-end-tag-for-inbody-crash-expected.txt: Added.
- fast/html/process-end-tag-for-inbody-crash.html: Added.
- 10:54 AM Changeset in webkit [93031] by
-
- 1 copy in tags/Safari-534.51.15
New tag.
- 5:21 AM Changeset in webkit [93030] by
-
- 2 edits in trunk/Source/WebCore
Fix GTK Windows build after r92308.
https://bugs.webkit.org/show_bug.cgi?id=66140
Patch by Kalev Lember <kalevlember@gmail.com> on 2011-08-14
Reviewed by Xan Lopez.
- config.h: Don't try to include WebCoreHeaderDetection.h for GTK.
- 12:02 AM Changeset in webkit [93029] by
-
- 7 edits2 adds in trunk/Tools
Switch results detail view over to new-style object-oriented UI widgets
https://bugs.webkit.org/show_bug.cgi?id=66200
Reviewed by Dimitri Glazkov.
This patch replaces my goofy template-based UI for the results
comparison screen with new object-oriented UI widgets.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.css:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/main.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/run-unittests.html:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui/results.js: Added.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ui_unittests.js: