Timeline
Dec 11, 2012:
- 11:54 PM Changeset in webkit [137425] by
-
- 7 edits in trunk
REGRESSION(r137408): breaks chromium's browser tests which use WebKitShadowRoot (Requested by hayato on #webkit).
https://bugs.webkit.org/show_bug.cgi?id=104770
Unreviewed, build fix.
Source/WebCore:
- dom/ShadowRoot.idl:
- page/DOMWindow.idl:
LayoutTests:
- fast/js/global-constructors-expected.txt:
- platform/efl/fast/js/global-constructors-expected.txt:
- platform/gtk/fast/js/global-constructors-expected.txt:
- 11:49 PM Changeset in webkit [137424] by
-
- 15 edits in trunk
Unreviewed, rolling out r137333, r137344, r137364, and
r137377.
http://trac.webkit.org/changeset/137333
http://trac.webkit.org/changeset/137344
http://trac.webkit.org/changeset/137364
http://trac.webkit.org/changeset/137377
https://bugs.webkit.org/show_bug.cgi?id=104771
Caused a raft of browser_test failures in Chromium (Requested
by aklein on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-12-11
Source/WebCore:
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::setRequest):
(WebCore::DocumentLoader::subresource):
(WebCore::DocumentLoader::addSubresourceLoader):
(WebCore::DocumentLoader::removeSubresourceLoader):
(WebCore::DocumentLoader::startLoadingMainResource):
- loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::MainResourceLoader):
(WebCore::MainResourceLoader::~MainResourceLoader):
(WebCore::MainResourceLoader::receivedError):
(WebCore::MainResourceLoader::willCancel):
(WebCore::MainResourceLoader::didCancel):
(WebCore::MainResourceLoader::continueAfterNavigationPolicy):
(WebCore::MainResourceLoader::addData):
(WebCore::MainResourceLoader::willSendRequest):
(WebCore::MainResourceLoader::continueAfterContentPolicy):
(WebCore::MainResourceLoader::didReceiveResponse):
(WebCore::MainResourceLoader::didReceiveData):
(WebCore::MainResourceLoader::didFinishLoading):
(WebCore::MainResourceLoader::didFail):
(WebCore::MainResourceLoader::reportMemoryUsage):
(WebCore::MainResourceLoader::handleSubstituteDataLoadNow):
(WebCore::MainResourceLoader::loadNow):
(WebCore):
(WebCore::MainResourceLoader::load):
(WebCore::MainResourceLoader::setDefersLoading):
- loader/MainResourceLoader.h:
(MainResourceLoader):
- loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::willSendRequest):
- loader/ResourceLoader.h:
(ResourceLoader):
(WebCore::ResourceLoader::defersLoading):
- loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::willSendRequest):
- loader/appcache/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse):
(WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError):
- loader/cache/CachedRawResource.cpp:
(WebCore::CachedRawResource::willSendRequest):
- loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::loadDone):
- loader/mac/DocumentLoaderMac.cpp:
(WebCore::DocumentLoader::schedule):
(WebCore::DocumentLoader::unschedule):
LayoutTests:
- http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt:
- platform/chromium-linux/fast/replaced/border-radius-clip-content-edge-expected.png:
- platform/chromium/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt:
- 11:41 PM Changeset in webkit [137423] by
-
- 2 edits in trunk/Source/WebKit2
[EFL][WK2] Duplicated WebPageGroup initialization
https://bugs.webkit.org/show_bug.cgi?id=103229
Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-12-11
Reviewed by Kenneth Rohde Christiansen.
WebPageGroup does not need to be created in creating EwkView when the pageGroupRef is 0
because the default WebPageGroup(m_defaultPageGroup) is created in WebContext constructor.
As a side effect on the duplicated initialization, pageGroupID increases even when the EwkView
is created with default context.
- UIProcess/API/efl/ewk_view.cpp:
(createEwkView):
- 11:36 PM Changeset in webkit [137422] by
-
- 68 edits3 deletes in trunk
Unreviewed, rolling out r137398.
http://trac.webkit.org/changeset/137398
https://bugs.webkit.org/show_bug.cgi?id=104188
A bunch of webaudio tests hit ASSERTs
Source/WebCore:
- CMakeLists.txt:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
- Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::createOfflineContext):
(WebCore):
- Modules/webaudio/AudioContext.h:
(AudioContext):
- Modules/webaudio/DOMWindowWebAudio.idl:
- Modules/webaudio/OfflineAudioContext.cpp: Removed.
- Modules/webaudio/OfflineAudioContext.h: Removed.
- Modules/webaudio/OfflineAudioContext.idl: Removed.
- WebCore.gypi:
- WebCore.xcodeproj/project.pbxproj:
- bindings/generic/RuntimeEnabledFeatures.h:
- bindings/js/JSAudioContextCustom.cpp:
(WebCore::JSAudioContextConstructor::constructJSAudioContext):
- bindings/v8/custom/V8AudioContextCustom.cpp:
(WebCore::V8AudioContext::constructorCallbackCustom):
LayoutTests:
- inspector-protocol/nmi-webaudio.html:
- inspector-protocol/resources/audio-context.html:
- webaudio/audiobuffersource-loop-comprehensive.html:
- webaudio/audiobuffersource-loop-points.html:
- webaudio/audiobuffersource-multi-channels.html:
- webaudio/audiobuffersource-playbackState.html:
- webaudio/audiobuffersource-playbackrate.html:
- webaudio/audiobuffersource-start.html:
- webaudio/audiobuffersource.html:
- webaudio/audiochannelmerger-stereo.html:
- webaudio/audiochannelsplitter.html:
- webaudio/audionode-connect-order.html:
- webaudio/audionode-expected.txt:
- webaudio/audioparam-connect-audioratesignal.html:
- webaudio/audioparam-summingjunction.html:
- webaudio/automatic-pull-node.html:
- webaudio/biquad-allpass.html:
- webaudio/biquad-bandpass.html:
- webaudio/biquad-highpass.html:
- webaudio/biquad-highshelf.html:
- webaudio/biquad-lowpass.html:
- webaudio/biquad-lowshelf.html:
- webaudio/biquad-notch.html:
- webaudio/biquad-peaking.html:
- webaudio/convolution-mono-mono.html:
- webaudio/delaynode-max-default-delay.html:
- webaudio/delaynode-max-nondefault-delay.html:
- webaudio/delaynode-maxdelay.html:
- webaudio/delaynode-maxdelaylimit.html:
- webaudio/delaynode-scheduling.html:
- webaudio/delaynode.html:
- webaudio/distance-exponential.html:
- webaudio/distance-inverse.html:
- webaudio/distance-linear.html:
- webaudio/gain.html:
- webaudio/javascriptaudionode-zero-input-channels.html:
- webaudio/javascriptaudionode.html:
- webaudio/mediaelementaudiosourcenode-gc.html:
- webaudio/mixing.html:
- webaudio/note-grain-on-play.html:
- webaudio/note-grain-on-timing.html:
- webaudio/oscillator-basic.html:
- webaudio/panner-equalpower-stereo.html:
- webaudio/panner-equalpower.html:
- webaudio/realtimeanalyser-fft-sizing.html:
- webaudio/resources/audio-codec-test.js:
(runDecodingTest):
- webaudio/resources/audioparam-testing.js:
(createAudioGraphAndTest):
- webaudio/resources/javascriptaudionode-testing.js:
(runJSNodeTest):
- webaudio/sample-accurate-scheduling.html:
- webaudio/stereo2mono-down-mixing.html:
- webaudio/up-mixing-mono-51.html:
- webaudio/up-mixing-mono-stereo.html:
- webaudio/up-mixing-stereo-51.html:
- webaudio/waveshaper.html:
- 11:22 PM Changeset in webkit [137421] by
-
- 7 edits in trunk
[Shadow DOM] registering InsertionPoints to ShadowRoot should work out of a document.
https://bugs.webkit.org/show_bug.cgi?id=104346
Reviewed by Hajime Morita.
Source/WebCore:
We need to register InsertionPoints even if ShadowRoot is out of Document, since distribution should work
out of Document, too.
Instead of checking isInDocument(), we have to make sure InsertionPoint and an element which InsertionPoint
inserted into have the same treescope.
Tests: fast/dom/shadow/has-content-elements.html
fast/dom/shadow/has-shadow-insertion-point.html
- html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::insertedInto):
(WebCore::InsertionPoint::removedFrom):
LayoutTests:
Added tests for out-of-Document version and calling insertedInto/removedFrom several times.
- fast/dom/shadow/has-content-elements-expected.txt:
- fast/dom/shadow/has-content-elements.html:
- fast/dom/shadow/has-shadow-insertion-point-expected.txt:
- fast/dom/shadow/has-shadow-insertion-point.html:
- 11:01 PM Changeset in webkit [137420] by
-
- 6 edits in trunk/Source/WebKit2
Add API to set the maximum number of processes allowed in a WKContext
https://bugs.webkit.org/show_bug.cgi?id=104769
Reviewed by Dan Bernstein.
Switch from using NSUserDefaults to a WKContext API to set the maximum number of processes
for a context.
- UIProcess/API/C/WKContext.cpp:
(WKContextSetMaximumNumberOfProcesses):
(WKContextGetMaximumNumberOfProcesses):
- UIProcess/API/C/WKContext.h:
- UIProcess/WebContext.cpp:
(WebKit::WebContext::setMaximumNumberOfProcesses):
(WebKit):
- UIProcess/WebContext.h:
(WebContext):
(WebKit::WebContext::maximumNumberOfProcesses):
- UIProcess/mac/WebContextMac.mm:
(WebKit::registerUserDefaultsIfNeeded):
(WebKit::WebContext::platformInitialize):
- 10:37 PM Changeset in webkit [137419] by
-
- 2 edits in trunk/Tools
Add Koji Ishii to the list of contributors.
- Scripts/webkitpy/common/config/committers.py:
- 10:24 PM Changeset in webkit [137418] by
-
- 7 edits2 adds in trunk
Text nodes in shadow roots don't inherit style properly
https://bugs.webkit.org/show_bug.cgi?id=101116
Reviewed by Hajime Morita.
Source/WebCore:
Use NodeRenderingContext to resolve styles of text nodes.
If text nodes are direct children of shadow roots, the text nodes
should be inherited styles from their shadow hosts.
But if reset-style-inheritance flag is true, the text nodes should
not be inherited. And if text nodes are distributed nodes,
we have to check whether their insertion point's
reset-style-inheritance.
c.f. shadow dom spec is:
http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles
Test: fast/dom/shadow/text-node-in-shadow.html
- css/StyleResolver.cpp:
(WebCore::StyleResolver::styleForElement):
Modified to use defaultStyleForElement if the given element has
no parent style.
(WebCore::StyleResolver::initForStyleResolve):
Removed shouldResetStyleInheritance, because now NodeRenderingContext
resetStyleInheritance() takes care of reset-style-inheritance of
both shadow roots and insertion points.
(WebCore::StyleResolver::defaultStyleForElement):
Added to create a default style for elements.
(WebCore):
(WebCore::StyleResolver::styleForText):
Use NodeRenderingContext to find the parent node for style from the
given text node. If no parent node is found or reset-style-inheritance
is true, returns a default style (i.e. empty render style).
Otherwise, just returns the found node's style.
- css/StyleResolver.h:
(StyleResolver):
- dom/ComposedShadowTreeWalker.cpp:
(WebCore::ComposedShadowTreeWalker::ParentTraversalDetails::didTraverseInsertionPoint):
Modify to consider insertion point's resetStyleInheritance.
- dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::createRendererForTextIfNeeded):
Since NodeRenderingContext has already found a parent node for
rendering and style and a parentRenderer is just the found node's
renderer, we have to only check reset-style-inheritance.
If reset, use default style. Otherwise, the parentRenderer's style.
- dom/Text.cpp:
(WebCore::Text::recalcTextStyle):
Use styleForText instead of parentRenderer's styles if the given text
node is a direct child of a shadow root or a direct child of a shadow
host.
LayoutTests:
- fast/dom/shadow/text-node-in-shadow-expected.html: Added.
- fast/dom/shadow/text-node-in-shadow.html: Added.
- 10:20 PM Changeset in webkit [137417] by
-
- 5 edits in trunk/Source/WebCore
Hide HOST_RULE behind SHADOW_DOM flag.
https://bugs.webkit.org/show_bug.cgi?id=102321
Reviewed by Dimitri Glazkov.
@host @-rules are only available when the rules are declared in styles
in shadow dom trees. So if SHADOW_DOM is disabled, we don't need
@host @-rules.
No new tests. Just hide HOST_RULE behind SHADOW_DOM flag.
- css/StyleResolver.h:
Hide "class ShadowRuleHost".
- css/StyleRule.cpp:
(WebCore::StyleRuleBase::reportMemoryUsage):
(WebCore::StyleRuleBase::destroy):
(WebCore::StyleRuleBase::copy):
(WebCore::StyleRuleBase::createCSSOMWrapper):
- css/StyleRule.h:
(StyleRuleBase):
Hide "Host" type and isHostRule.
(StyleRuleHost):
Hide "class StyleRuleHost".
- css/StyleSheetContents.cpp:
(WebCore::childRulesHaveFailedOrCanceledSubresources):
- 10:04 PM Changeset in webkit [137416] by
-
- 3 edits in trunk/Source/WebCore
AX: accessibilityIsIgnored should avoid computing textUnderElement
https://bugs.webkit.org/show_bug.cgi?id=104688
Reviewed by Chris Fleizach.
Simplify the logic in accessibilityIsIgnored without affecting
the results of any tests. In particular, avoid expensive calls to
textUnderElement.
Covered by existing tests.
- accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::isGenericFocusableElement):
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
- 9:58 PM Changeset in webkit [137415] by
-
- 2 edits in trunk/Source/WebCore
[V8] Reachable event listeners on image elements can be collected in a minor DOM GC
https://bugs.webkit.org/show_bug.cgi?id=104734
Reviewed by Kenneth Russell.
A major DOM GC treats image elements specially. In
V8GCController::opaqueRootForGC(), a major DOM GC puts image elements
that have pending activities into the same object group of their document.
This guarantees that image elements that have pending activities
are not garbage collected in the major DOM GC.
This patch adds the same special handling to a minor DOM GC to guarantee
the same thing in the minor DOM GC too.
In long-term, we might want to remove the special handling by making
image elements active DOM nodes.
Test: Manually confirmed that all characters in
http://alteredqualia.com/three/examples/webgl_animation_skinning_tf2.html
are rendered correctly.
- bindings/v8/V8GCController.cpp:
(WebCore::V8GCController::opaqueRootForGC):
(WebCore::gcTree):
- 9:52 PM Changeset in webkit [137414] by
-
- 27 edits1 delete in trunk
AX: Make isActionSupported cross-platform.
https://bugs.webkit.org/show_bug.cgi?id=104681
Reviewed by Chris Fleizach.
Source/WebCore:
Add UserGestureIndicator to increment() and decrement()
so that all accessibility actions are treated as
user actions, not scripted actions.
- accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::increment):
(WebCore::AccessibilityNodeObject::decrement):
Source/WebKit/chromium:
Add support for press, increment, and decrement actions,
including tests to see whether they're supported on a given
object. This allows Chromium to pass three tests that were
previously skipped.
- public/WebAccessibilityObject.h:
(WebAccessibilityObject):
- src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::canDecrement):
(WebKit):
(WebKit::WebAccessibilityObject::canIncrement):
(WebKit::WebAccessibilityObject::canPress):
(WebKit::WebAccessibilityObject::increment):
(WebKit::WebAccessibilityObject::decrement):
(WebKit::WebAccessibilityObject::press):
Tools:
Replace isActionSupported, which takes a platform-specific
argument, with three cross-platform methods.
- DumpRenderTree/AccessibilityUIElement.cpp:
(isPressActionSupportedCallback):
(isIncrementActionSupportedCallback):
(isDecrementActionSupportedCallback):
(AccessibilityUIElement::getJSClass):
- DumpRenderTree/AccessibilityUIElement.h:
(AccessibilityUIElement):
- DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp:
(AccessibilityUIElement::isPressActionSupported):
(AccessibilityUIElement::isIncrementActionSupported):
(AccessibilityUIElement::isDecrementActionSupported):
- DumpRenderTree/chromium/TestRunner/src/AccessibilityUIElementChromium.cpp:
(WebTestRunner::AccessibilityUIElement::AccessibilityUIElement):
(WebTestRunner::AccessibilityUIElement::isPressActionSupportedCallback):
(WebTestRunner):
(WebTestRunner::AccessibilityUIElement::isIncrementActionSupportedCallback):
(WebTestRunner::AccessibilityUIElement::isDecrementActionSupportedCallback):
(WebTestRunner::AccessibilityUIElement::incrementCallback):
(WebTestRunner::AccessibilityUIElement::decrementCallback):
(WebTestRunner::AccessibilityUIElement::pressCallback):
- DumpRenderTree/chromium/TestRunner/src/AccessibilityUIElementChromium.h:
(AccessibilityUIElement):
- DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
(AccessibilityUIElement::isPressActionSupported):
(AccessibilityUIElement::isIncrementActionSupported):
(AccessibilityUIElement::isDecrementActionSupported):
- DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::isPressActionSupported):
(AccessibilityUIElement::isIncrementActionSupported):
(AccessibilityUIElement::isDecrementActionSupported):
- DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::isPressActionSupported):
(AccessibilityUIElement::isIncrementActionSupported):
(AccessibilityUIElement::isDecrementActionSupported):
- WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
(WTR::AccessibilityUIElement::isPressActionSupported):
(WTR::AccessibilityUIElement::isIncrementActionSupported):
(WTR::AccessibilityUIElement::isDecrementActionSupported):
- WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
(AccessibilityUIElement):
- WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
- WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
(WTR::AccessibilityUIElement::isPressActionSupported):
(WTR):
(WTR::AccessibilityUIElement::isIncrementActionSupported):
(WTR::AccessibilityUIElement::isDecrementActionSupported):
LayoutTests:
Refactor tests that called isActionSupported to call new
cross-platform variants, and unskip three test for Chromium
as a result.
- accessibility/aria-link-supports-press.html:
- accessibility/button-press-action.html:
- accessibility/onclick-handlers.html:
- platform/chromium/TestExpectations:
- platform/chromium/accessibility/aria-popup-expected.txt: Removed.
- platform/mac/accessibility/aria-popup-expected.txt:
- platform/mac/accessibility/aria-popup.html:
- platform/mac/accessibility/slider-supports-actions.html:
- 9:35 PM Changeset in webkit [137413] by
-
- 2 edits in trunk/Source/WebCore
Remove conversion to/from float and float division from ImageFrame::setRGBA
https://bugs.webkit.org/show_bug.cgi?id=103693
Patch by Viatcheslav Ostapenko <v.ostapenko@samsung.com> on 2012-12-11
Reviewed by Brent Fulgham.
Replace floating point operations used for alpha premultiply with fixed point arithmetic
which is basically integer operations. Allows to shave extra couple percent from decoding
images with transparency.
Covered by existing tests.
- platform/image-decoders/ImageDecoder.h:
(ImageFrame):
(WebCore::ImageFrame::fixPointUnsignedMultiply):
(WebCore::ImageFrame::setRGBA):
- 9:34 PM Changeset in webkit [137412] by
-
- 2 edits in trunk/Tools
nrwt: remove result_summary.total_tests_by_expectation
https://bugs.webkit.org/show_bug.cgi?id=104756
Reviewed by Eric Seidel.
This field wasn't being used by anything.
- Scripts/webkitpy/layout_tests/models/result_summary.py:
(ResultSummary.init):
- 9:28 PM Changeset in webkit [137411] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-12-11
- DEPS:
- 9:25 PM Changeset in webkit [137410] by
-
- 27 edits in trunk/Source
Vibration API: IDL type doesn't match implementation type
https://bugs.webkit.org/show_bug.cgi?id=103899
Reviewed by Kentaro Hara.
Source/WebCore:
According to WebIDL, "unsigned long" corresponds to "unsigned" in the platform.
Therefore unsigned long need to be changed to unsigned for the Vibration API.
- Change a parameter type of vibrate function from unsigned long to unsigned.
No new tests, it is covered by exist test.
- Modules/vibration/NavigatorVibration.cpp:
(WebCore::NavigatorVibration::vibrate):
- Modules/vibration/NavigatorVibration.h:
(NavigatorVibration):
- Modules/vibration/Vibration.cpp:
(WebCore::Vibration::vibrate):
- Modules/vibration/Vibration.h:
(Vibration):
- Modules/vibration/VibrationClient.h:
(VibrationClient):
- bindings/js/JSDOMBinding.h:
- bindings/scripts/CodeGeneratorJS.pm:
Remove workaround codes for the Vibration API which is mapped from unsigned long to unsigned long.
It should be mapped from unsigned long to unsigned by WebIDL spec.
(GetNativeVectorInnerType):
- bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod10):
(WebCore::jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence):
Source/WebKit/blackberry:
According to WebIDL, "unsigned long" corresponds to "unsigned" in the platform.
Therefore unsigned long need to be changed to unsigned for the Vibration API.
- Change a parameter type of vibrate function from unsigned long to unsigned.
- WebCoreSupport/VibrationClientBlackBerry.cpp:
(WebCore::VibrationClientBlackBerry::vibrate):
- WebCoreSupport/VibrationClientBlackBerry.h:
(VibrationClientBlackBerry):
Source/WebKit/efl:
According to WebIDL, "unsigned long" corresponds to "unsigned" in the platform.
Therefore unsigned long need to be changed to unsigned for the Vibration API.
- Change a parameter type of vibrate function from unsigned long to unsigned.
- WebCoreSupport/VibrationClientEfl.cpp:
(WebCore::VibrationClientEfl::vibrate):
- WebCoreSupport/VibrationClientEfl.h:
(VibrationClientEfl):
Source/WebKit2:
According to WebIDL, "unsigned long" corresponds to "unsigned" in the platform.
Therefore unsigned long need to be changed to unsigned for the Vibration API.
- Change a parameter type of vibrate function from uint64_t to uint_32_t.
- UIProcess/API/C/WKVibration.h:
- UIProcess/API/efl/EwkViewCallbacks.h:
- UIProcess/WebVibrationProvider.cpp:
(WebKit::WebVibrationProvider::vibrate):
- UIProcess/WebVibrationProvider.h:
(WebVibrationProvider):
- UIProcess/WebVibrationProxy.cpp:
(WebKit::WebVibrationProxy::vibrate):
- UIProcess/WebVibrationProxy.h:
(WebVibrationProxy):
- UIProcess/WebVibrationProxy.messages.in:
- UIProcess/efl/VibrationClientEfl.cpp:
(VibrationClientEfl::vibrateCallback):
- UIProcess/efl/VibrationClientEfl.h:
(VibrationClientEfl):
- WebProcess/WebCoreSupport/WebVibrationClient.cpp:
(WebKit::WebVibrationClient::vibrate):
- WebProcess/WebCoreSupport/WebVibrationClient.h:
(WebVibrationClient):
- 9:14 PM Changeset in webkit [137409] by
-
- 5 edits2 adds in trunk
ScrollingCoordinator::hasVisibleSlowRepaintFixedObject() should exclude out-of-view fixed position elements
https://bugs.webkit.org/show_bug.cgi?id=102543
Source/WebCore:
Let RenderLayerCompositor manage the reasons that fixed position elements are not composited.
Check the reason in ScrollingCoordinator::hasVisibleSlowRepaintFixedObjects(), don't let fixed position layer not composited with explicit reasons cause slow scrolling.
Reviewed by James Robinson.
Test: compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html
- page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::hasVisibleSlowRepaintFixedObjects): Exclude fixed position elements that are not composited for explicit reasons.
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::computeCompositingRequirements): Manages m_fixedPositionLayerNotCompositedReasonMap.
(WebCore::RenderLayerCompositor::needsToBeComposited):
(WebCore::RenderLayerCompositor::requiresCompositingLayer):
(WebCore::RenderLayerCompositor::requiresCompositingForPosition):
- rendering/RenderLayerCompositor.h:
(WebCore::RenderLayerCompositor::fixedPositionLayerNotCompositedReason): Now outputs fixedPositionLayerNotCompositedreason.
(RenderLayerCompositor):
LayoutTests:
Reviewed by James Robinson.
- compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html: Ensure slow-scrolling is not triggered.
- compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html: Added.
- 8:52 PM Changeset in webkit [137408] by
-
- 215 edits in trunk
[Shadow DOM] Kill ShadowRoot constructor
https://bugs.webkit.org/show_bug.cgi?id=102913
Reviewed by Dimitri Glazkov.
Source/WebCore:
Remove ShadowRoot constructor in favor of Element.webkitCreateShadowRoot().
No new tests. Update existing tests.
- dom/ShadowRoot.idl:
- page/DOMWindow.idl:
- testing/Internals.cpp:
(WebCore::Internals::createShadowRoot):
(WebCore):
- testing/Internals.h:
(Internals):
- testing/Internals.idl:
LayoutTests:
- editing/pasteboard/copy-paste-float.html:
- editing/shadow/adjusting-editing-boundary-with-table-in-shadow.html:
- editing/shadow/bold-twice-in-shadow.html:
- editing/shadow/breaking-editing-boundaries-2.html:
- editing/shadow/breaking-editing-boundaries.html:
- editing/shadow/breaking-editing-boundary-with-table.html:
- editing/shadow/compare-positions-in-nested-shadow.html:
- editing/shadow/contenteditable-propagation-at-shadow-boundary.html:
- editing/shadow/delete-characters-in-distributed-node-crash.html:
- editing/shadow/delete-list-in-shadow.html:
- editing/shadow/doubleclick-on-meter-in-shadow-crash.html:
- editing/shadow/execcommand-indent-in-shadow.html:
- editing/shadow/insertorderedlist-crash.html:
- editing/shadow/pressing-enter-on-list.html:
- editing/shadow/rightclick-on-meter-in-shadow-crash.html:
- editing/shadow/select-contenteditable-shadowhost.html:
- editing/shadow/selection-of-orphan-shadowroot.html:
- editing/shadow/selection-of-shadowroot.html:
- editing/shadow/shadow-selection-not-exported.html:
- fast/css/style-scoped/style-scoped-apply-author-styles-expected.txt:
- fast/css/style-scoped/style-scoped-apply-author-styles.html:
- fast/css/style-scoped/style-scoped-change-scoped-in-shadow-expected.txt:
- fast/css/style-scoped/style-scoped-change-scoped-in-shadow.html:
- fast/css/style-scoped/style-scoped-in-shadow-expected.txt:
- fast/css/style-scoped/style-scoped-in-shadow.html:
- fast/dom/shadow/adopt-node-with-shadow-root.html:
- fast/dom/shadow/athost-atrules.html:
- fast/dom/shadow/base-in-shadow-tree.html:
- fast/dom/shadow/caret-range-from-point-in-nested-shadow.html:
- fast/dom/shadow/content-after-style.html:
- fast/dom/shadow/content-element-in-media-element.html:
- fast/dom/shadow/content-element-in-meter-element.html:
- fast/dom/shadow/content-element-in-progress-element.html:
- fast/dom/shadow/content-element-in-select-element.html:
- fast/dom/shadow/content-element-outside-shadow-style.html:
- fast/dom/shadow/content-reprojection-complex.html:
- fast/dom/shadow/content-reprojection-dynamic.html:
- fast/dom/shadow/content-reprojection-fallback-crash.html:
- fast/dom/shadow/content-reprojection-fallback-reprojection.html:
- fast/dom/shadow/content-reprojection-fallback.html:
- fast/dom/shadow/content-reprojection-order.html:
- fast/dom/shadow/content-reprojection-shadow.html:
- fast/dom/shadow/cppevent-in-shadow.html:
- fast/dom/shadow/cppevent-input-in-shadow.html:
- fast/dom/shadow/distribution-attribute-modified.html:
- fast/dom/shadow/distribution-className-modified.html:
- fast/dom/shadow/distribution-id-modified.html:
- fast/dom/shadow/drag-to-meter-in-shadow-crash.html:
- fast/dom/shadow/drop-event-for-input-in-shadow.html:
- fast/dom/shadow/drop-event-in-shadow.html:
- fast/dom/shadow/element-from-point-in-nested-shadow.html:
- fast/dom/shadow/form-in-shadow.html:
- fast/dom/shadow/get-element-by-id-in-shadow-mutation.html:
- fast/dom/shadow/has-content-elements.html:
- fast/dom/shadow/has-elementshadow.html:
- fast/dom/shadow/has-shadow-insertion-point.html:
- fast/dom/shadow/host-wrapper-reclaimed.html:
- fast/dom/shadow/iframe-shadow.html:
- fast/dom/shadow/input-with-validation-without-shadow.html:
- fast/dom/shadow/input-with-validation.html:
- fast/dom/shadow/insertion-point-list-menu-crash.html:
- fast/dom/shadow/insertion-point-resetStyleInheritance.html:
- fast/dom/shadow/insertion-point-shadow-crash.html:
- fast/dom/shadow/insertion-point-video-crash.html:
- fast/dom/shadow/invalidate-distribution.html:
- fast/dom/shadow/link-in-shadow-tree.html:
- fast/dom/shadow/multiple-shadowroot-adopt.html:
- fast/dom/shadow/multiple-shadowroot-rendering.html:
- fast/dom/shadow/multiple-shadowroot.html:
- fast/dom/shadow/parent-tree-scope-in-shadow.html:
- fast/dom/shadow/pseudo-attribute-dynamic.html:
- fast/dom/shadow/pseudo-attribute-rendering.html:
- fast/dom/shadow/pseudoclass-update-checked-input.html:
- fast/dom/shadow/pseudoclass-update-checked-option.html:
- fast/dom/shadow/pseudoclass-update-disabled-button.html:
- fast/dom/shadow/pseudoclass-update-disabled-fieldset.html:
- fast/dom/shadow/pseudoclass-update-disabled-input.html:
- fast/dom/shadow/pseudoclass-update-disabled-optgroup.html:
- fast/dom/shadow/pseudoclass-update-disabled-option.html:
- fast/dom/shadow/pseudoclass-update-disabled-select.html:
- fast/dom/shadow/pseudoclass-update-disabled-textarea.html:
- fast/dom/shadow/pseudoclass-update-enabled-anchor.html:
- fast/dom/shadow/pseudoclass-update-enabled-area.html:
- fast/dom/shadow/pseudoclass-update-enabled-button.html:
- fast/dom/shadow/pseudoclass-update-enabled-fieldset.html:
- fast/dom/shadow/pseudoclass-update-enabled-input.html:
- fast/dom/shadow/pseudoclass-update-enabled-optgroup.html:
- fast/dom/shadow/pseudoclass-update-enabled-option.html:
- fast/dom/shadow/pseudoclass-update-enabled-select.html:
- fast/dom/shadow/pseudoclass-update-enabled-textarea.html:
- fast/dom/shadow/pseudoclass-update-indeterminate-input.html:
- fast/dom/shadow/pseudoclass-update-indeterminate-progress.html:
- fast/dom/shadow/pseudoclass-update-link-anchor.html:
- fast/dom/shadow/pseudoclass-update-link-area.html:
- fast/dom/shadow/pseudoclass-update-target.html:
- fast/dom/shadow/pseudoclass-update-visited-anchor.html:
- fast/dom/shadow/pseudoclass-update-visited-area.html:
- fast/dom/shadow/remove-styles-in-shadow-crash.html:
- fast/dom/shadow/reprojection-attribute-modified.html:
- fast/dom/shadow/reprojection-className-modified.html:
- fast/dom/shadow/reprojection-id-modified.html:
- fast/dom/shadow/resize-in-shadow-dom.html:
- fast/dom/shadow/resources/polyfill.js:
(.Element.prototype.webkitCreateShadowRoot):
- fast/dom/shadow/resources/shadow-dom.js:
(createDOM):
- fast/dom/shadow/select-image-with-shadow.html:
- fast/dom/shadow/selection-shouldnt-expose-shadow-dom.html:
- fast/dom/shadow/selections-in-shadow.html:
- fast/dom/shadow/shadow-and-list-elements.html:
- fast/dom/shadow/shadow-aware-create-shadow-root-expected.txt:
- fast/dom/shadow/shadow-aware-create-shadow-root.html:
- fast/dom/shadow/shadow-content-crash.html:
- fast/dom/shadow/shadow-disable-expected.txt:
- fast/dom/shadow/shadow-disable.html:
- fast/dom/shadow/shadow-div-reflow.html:
- fast/dom/shadow/shadow-dynamic-style-change-via-mutation-and-selector.html:
- fast/dom/shadow/shadow-element-rendering-multiple.html:
- fast/dom/shadow/shadow-element-rendering-single.html:
- fast/dom/shadow/shadow-nested-pseudo-id.html:
- fast/dom/shadow/shadow-on-image.html:
- fast/dom/shadow/shadow-pseudo-id.html:
- fast/dom/shadow/shadow-removechild-and-blur-event.html:
- fast/dom/shadow/shadow-reprojection-click.html:
- fast/dom/shadow/shadow-reprojection-dynamic.html:
- fast/dom/shadow/shadow-reprojection-fallback.html:
- fast/dom/shadow/shadow-reprojection.html:
- fast/dom/shadow/shadow-reprojection2.html:
- fast/dom/shadow/shadow-root-append.html:
- fast/dom/shadow/shadow-root-applyAuthorStyles.html:
- fast/dom/shadow/shadow-root-attached.html:
- fast/dom/shadow/shadow-root-innerHTML.html:
- fast/dom/shadow/shadow-root-js-api-expected.txt:
- fast/dom/shadow/shadow-root-js-api.html:
- fast/dom/shadow/shadow-root-new-expected.txt:
- fast/dom/shadow/shadow-root-new.html:
- fast/dom/shadow/shadow-root-resetStyleInheritance.html:
- fast/dom/shadow/shadow-select-attribute-featureset.html:
- fast/dom/shadow/shadow-ul-li.html:
- fast/dom/shadow/shadowdom-dynamic-styling.html:
- fast/dom/shadow/shadowdom-for-button-complex-shadow.html:
- fast/dom/shadow/shadowdom-for-button-only-shadow.html:
- fast/dom/shadow/shadowdom-for-button-without-shadow.html:
- fast/dom/shadow/shadowdom-for-button.html:
- fast/dom/shadow/shadowdom-for-fieldset-complex-shadow.html:
- fast/dom/shadow/shadowdom-for-fieldset-only-shadow.html:
- fast/dom/shadow/shadowdom-for-fieldset-without-shadow.html:
- fast/dom/shadow/shadowdom-for-form-associated-element-useragent.html:
- fast/dom/shadow/shadowdom-for-image-alt-update.html:
- fast/dom/shadow/shadowdom-for-image-alt.html:
- fast/dom/shadow/shadowdom-for-image-content.html:
- fast/dom/shadow/shadowdom-for-image-dynamic.html:
- fast/dom/shadow/shadowdom-for-image-event-click.html:
- fast/dom/shadow/shadowdom-for-image-event.html:
- fast/dom/shadow/shadowdom-for-image-in-shadowdom.html:
- fast/dom/shadow/shadowdom-for-image-map.html:
- fast/dom/shadow/shadowdom-for-image-style.html:
- fast/dom/shadow/shadowdom-for-image-with-multiple-shadow.html:
- fast/dom/shadow/shadowdom-for-image-with-pseudo-id.html:
- fast/dom/shadow/shadowdom-for-image-with-width-and-height.html:
- fast/dom/shadow/shadowdom-for-image.html:
- fast/dom/shadow/shadowdom-for-keygen-complex-shadow.html:
- fast/dom/shadow/shadowdom-for-keygen-only-shadow.html:
- fast/dom/shadow/shadowdom-for-keygen-without-shadow.html:
- fast/dom/shadow/shadowdom-for-media.html:
- fast/dom/shadow/shadowdom-for-meter-dynamic.html:
- fast/dom/shadow/shadowdom-for-meter-multiple.html:
- fast/dom/shadow/shadowdom-for-meter-with-style.html:
- fast/dom/shadow/shadowdom-for-meter-without-appearance.html:
- fast/dom/shadow/shadowdom-for-meter-without-shadow-element.html:
- fast/dom/shadow/shadowdom-for-meter.html:
- fast/dom/shadow/shadowdom-for-object-complex-shadow.html:
- fast/dom/shadow/shadowdom-for-object-only-shadow.html:
- fast/dom/shadow/shadowdom-for-object-without-shadow.html:
- fast/dom/shadow/shadowdom-for-output-complex-shadow.html:
- fast/dom/shadow/shadowdom-for-output-only-shadow.html:
- fast/dom/shadow/shadowdom-for-output-without-shadow.html:
- fast/dom/shadow/shadowdom-for-progress-dynamic.html:
- fast/dom/shadow/shadowdom-for-progress-multiple.html:
- fast/dom/shadow/shadowdom-for-progress-with-style.html:
- fast/dom/shadow/shadowdom-for-progress-without-appearance.html:
- fast/dom/shadow/shadowdom-for-progress-without-shadow-element.html:
- fast/dom/shadow/shadowdom-for-progress.html:
- fast/dom/shadow/shadowdom-for-select-complex-shadow.html:
- fast/dom/shadow/shadowdom-for-select-only-shadow.html:
- fast/dom/shadow/shadowdom-for-select-without-shadow.html:
- fast/dom/shadow/shadowdom-for-textarea-complex-shadow.html:
- fast/dom/shadow/shadowdom-for-textarea-only-shadow.html:
- fast/dom/shadow/shadowdom-for-textarea-with-attribute.html:
- fast/dom/shadow/shadowdom-for-textarea-with-placeholder.html:
- fast/dom/shadow/shadowdom-for-textarea-with-style.html:
- fast/dom/shadow/shadowdom-for-textarea-without-shadow.html:
- fast/dom/shadow/shadowdom-for-textarea.html:
- fast/dom/shadow/shadowroot-clonenode.html:
- fast/dom/shadow/shadowroot-of-insertionpoint.html:
- fast/dom/shadow/shadowroot-type.html:
- fast/dom/shadow/style-of-distributed-node.html:
- fast/dom/shadow/style-scoped-not-enabled.html:
- fast/dom/shadow/styling-pseudo-attribute.html:
- fast/dom/shadow/suppress-mutation-events-in-shadow-characterdata.html:
- fast/dom/shadow/transition-on-shadow-host-with-distributed-node.html:
- fast/dom/shadow/user-modify-inheritance.html:
- fast/dom/shadow/wheel-event-in-shadow-dom.html:
- fast/dom/shadow/wheel-event-on-input-in-shadow-dom.html:
- fast/frames/detached-shadow-frame.html:
- fast/js/global-constructors-expected.txt:
- inspector/elements/shadow-root.html:
- inspector/elements/update-shadowdom.html:
- platform/efl/fast/js/global-constructors-expected.txt:
- platform/gtk/fast/js/global-constructors-expected.txt:
- 7:38 PM Changeset in webkit [137407] by
-
- 4 edits in trunk/Tools
garden-o-matic doesn't know about reftests
https://bugs.webkit.org/show_bug.cgi?id=101976
Reviewed by Ojan Vafai.
This is a first attempt at fixing this, sort of a "stop-the-bleeding"
fix. We will now look at the list of tests we're asked to rebaseline,
and log which ones are reftests into the status area, and rebaseline
the rest.
Longer-term, we should display feedback in the results area based on
which tests we're looking at. If the test list contains no reftests,
we should behave as today; if the list is all reftest, we should
probably disable the button, and if the list is a mix, we should
probably display an alert next to the button or something. It would
also be nice to annotate which tests were reftests, maybe with a
"(reftest)" next to the test name or something.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
(.):
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
(.):
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js:
- 7:12 PM Changeset in webkit [137406] by
-
- 32 edits in trunk/Source/WebCore
Add Element-specific traversal functions
https://bugs.webkit.org/show_bug.cgi?id=104685
Reviewed by Ryosuke Niwa.
In many cases where we use NodeTraversal we really only want Elements. By having
Element specific iteration functions we can tighten the code and make it faster too.
This patch adds ElementTraversal namespace, similar to NodeTraversal. It also switches
bunch of NodeTraversal call sites that obviously only care about elements to using
the new interface.
This should be a speedup too as we avoid number of branches by not having to look
for children of non-ContainerNodes and by allowing use of ContainerNode specific
accessors.
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::addImageMapChildren):
- css/SelectorChecker.cpp:
(WebCore::linkAttribute):
(WebCore::SelectorChecker::allVisitedStateChanged):
(WebCore::SelectorChecker::visitedStateChanged):
- css/StyleInvalidationAnalysis.cpp:
(WebCore::elementMatchesSelectorScopes):
(WebCore::StyleInvalidationAnalysis::invalidateStyle):
- dom/ContainerNodeAlgorithms.h:
(WebCore::ChildFrameDisconnector::collectDescendant):
- dom/Document.cpp:
(WebCore::Document::buildAccessKeyMap):
(WebCore::Document::updateBaseURL):
(WebCore::Document::processBaseElement):
- dom/DocumentOrderedMap.cpp:
(WebCore::DocumentOrderedMap::get):
- dom/Element.cpp:
(WebCore::Element::firstElementChild):
- dom/Element.h:
(WebCore):
- dom/ElementShadow.cpp:
(WebCore::ElementShadow::collectSelectFeatureSetFrom):
- dom/NodeTraversal.h:
(ElementTraversal):
(WebCore):
(WebCore::ElementTraversal::traverseNextElementTemplate):
(WebCore::ElementTraversal::next):
(WebCore::ElementTraversal::firstWithin):
(WebCore::ElementTraversal::traverseNextElementSkippingChildrenTemplate):
(WebCore::ElementTraversal::nextSkippingChildren):
(NodeTraversal):
- dom/TreeScope.cpp:
(WebCore::TreeScope::labelElementForId):
(WebCore::TreeScope::findAnchor):
- editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::cloneParagraphUnderNewElement):
- editing/DeleteSelectionCommand.cpp:
(WebCore::DeleteSelectionCommand::handleGeneralDelete):
- editing/FrameSelection.cpp:
(WebCore::scanForForm):
- editing/markup.cpp:
(WebCore::completeURLs):
- html/HTMLFieldSetElement.cpp:
(WebCore::HTMLFieldSetElement::invalidateDisabledStateUnder):
(WebCore::HTMLFieldSetElement::childrenChanged):
(WebCore::HTMLFieldSetElement::legend):
(WebCore::HTMLFieldSetElement::refreshElementsIfNeeded):
- html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::formElementIndex):
- html/HTMLLabelElement.cpp:
(WebCore::HTMLLabelElement::control):
- html/HTMLLegendElement.cpp:
(WebCore::HTMLLegendElement::associatedControl):
- html/HTMLMapElement.cpp:
(WebCore::HTMLMapElement::mapMouseEvent):
- html/HTMLNameCollection.cpp:
(WebCore::HTMLNameCollection::virtualItemAfter):
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::containsJavaApplet):
- html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::recalcListItems):
- html/shadow/ContentDistributor.cpp:
(WebCore::ShadowRootContentDistributionData::ensureInsertionPointList):
- page/FocusController.cpp:
(WebCore::FocusController::findFocusCandidateInContainer):
- rendering/RenderCounter.cpp:
(WebCore::nextInPreOrder):
- svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::collectIntersectionOrEnclosureList):
- svg/SVGStyledElement.cpp:
(WebCore::SVGStyledElement::title):
- svg/SVGUseElement.cpp:
(WebCore::removeDisallowedElementsFromSubtree):
- svg/animation/SMILTimeContainer.cpp:
(WebCore::SMILTimeContainer::updateDocumentOrderIndexes):
- 6:51 PM Changeset in webkit [137405] by
-
- 7 edits14 adds1 delete in trunk/LayoutTests
[Chromium] Rebaseline for recent forms changes.
https://bugs.webkit.org/show_bug.cgi?id=103834
https://bugs.webkit.org/show_bug.cgi?id=104438
https://bugs.webkit.org/show_bug.cgi?id=104567
- platform/chromium-linux/fast/forms/datetimelocal/datetimelocal-appearance-basic-expected.png: Added.
- platform/chromium-linux/fast/forms/datetimelocal/datetimelocal-appearance-l10n-expected.png: Added.
- platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-localization-expected.txt:
- platform/chromium-mac-lion/fast/forms/datetimelocal/datetimelocal-appearance-basic-expected.png: Added.
- platform/chromium-mac-lion/fast/forms/datetimelocal/datetimelocal-appearance-l10n-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/forms/datetimelocal/datetimelocal-appearance-basic-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/forms/datetimelocal/datetimelocal-appearance-l10n-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events-expected.txt:
- platform/chromium-win-xp/fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events-expected.txt:
- platform/chromium-win-xp/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-keyboard-events-expected.txt:
- platform/chromium-win-xp/fast/forms/datetimelocal/datetimelocal-appearance-l10n-expected.png: Added.
- platform/chromium-win-xp/fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events-expected.txt: Removed.
- platform/chromium-win/fast/forms/datetimelocal/datetimelocal-appearance-basic-expected.png: Added.
- platform/chromium-win/fast/forms/datetimelocal/datetimelocal-appearance-l10n-expected.png: Added.
- platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-localization-expected.txt:
- platform/chromium/TestExpectations:
- 6:22 PM Changeset in webkit [137404] by
-
- 3 edits in trunk/Tools
REGRESSION(r133380): new tests without expected file reported as failing tests on the bots
https://bugs.webkit.org/show_bug.cgi?id=101469
Reviewed by Ryosuke Niwa.
Fix parsing of NRWT's output to identify missing results separately
from other regressions.
- BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunWebKitTests._parseNewRunWebKitTestsOutput):
- BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
(MasterCfgTest.test_nrwt_leaks_parsing):
(test_nrwt_missing_results):
- 6:21 PM Changeset in webkit [137403] by
-
- 2 edits in trunk/Tools
buildbot: change run-webkit-tests --no-launch-safari to --no-show-results
https://bugs.webkit.org/show_bug.cgi?id=104299
Reviewed by Ryosuke Niwa.
Since --no-show-results is the more generically-named flag that NRWT uses.
- BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunWebKitTests):
- 6:20 PM Changeset in webkit [137402] by
-
- 2 edits in trunk/Tools
remove --use-remote-links-to-tests from buildbot configs (except apple win)
https://bugs.webkit.org/show_bug.cgi?id=104291
Reviewed by Csaba Osztrogonác.
This flag is ignored by NRWT and was just implemented for compatibility.
ORWT still uses it, though.
- BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunWebKitTests):
(RunWebKitTests.start):
- 6:19 PM Changeset in webkit [137401] by
-
- 2 edits in trunk/Source/JavaScriptCore
Unreviewed. Fix build with DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE).
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::tallyFrequentExitSites):
- 6:05 PM Changeset in webkit [137400] by
-
- 2 edits in trunk/Source/WebCore
[soup] Unused parameter in ResourceHandleSoup.cpp
https://bugs.webkit.org/show_bug.cgi?id=104728
Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-12-11
Reviewed by Kentaro Hara.
The soupLogPrinter has unused parameter 'logger',
remove the parameter name to fix 'unused parameter' build warning.
- platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::soupLogPrinter):
- 5:53 PM Changeset in webkit [137399] by
-
- 3 edits4 adds in trunk
Fixed position out-of-view check is incorrect when page is scaled
https://bugs.webkit.org/show_bug.cgi?id=104303
Source/WebCore:
Reviewed by Kenneth Rohde Christiansen.
Test: compositing/layer-creation/fixed-position-out-of-view-scaled.html
compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::requiresCompositingForPosition): Scale the content rect of the fixed position layer before checking out-of-view.
LayoutTests:
Test if fixed position elements are correctly composited or not composited when page is scaled up and down.
Reviewed by Kenneth Rohde Christiansen.
- compositing/layer-creation/fixed-position-out-of-view-scaled.html: Added.
- compositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt: Added.
- compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html: Added.
- compositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt: Added.
- 5:42 PM Changeset in webkit [137398] by
-
- 68 edits3 adds in trunk
Implement OfflineAudioContext constructor
https://bugs.webkit.org/show_bug.cgi?id=104188
Reviewed by Kentaro Hara.
Source/WebCore:
The Web Audio layout tests have relied on an undocumented way (in the specification) to render
audio faster than realtime using an OfflineAudioContext. We want to expose a proper OfflineAudioContext
object and constructor instead of piggybacking off of the normal AudioContext.
- CMakeLists.txt:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
- Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::isSampleRateRangeGood):
- Modules/webaudio/AudioContext.h:
(AudioContext):
- Modules/webaudio/DOMWindowWebAudio.idl:
- Modules/webaudio/OfflineAudioContext.cpp: Added.
(WebCore):
(WebCore::OfflineAudioContext::create):
(WebCore::OfflineAudioContext::OfflineAudioContext):
(WebCore::OfflineAudioContext::~OfflineAudioContext):
- Modules/webaudio/OfflineAudioContext.h: Added.
(WebCore):
(OfflineAudioContext):
- Modules/webaudio/OfflineAudioContext.idl: Added.
- WebCore.gypi:
- WebCore.xcodeproj/project.pbxproj:
- bindings/generic/RuntimeEnabledFeatures.h:
(WebCore::RuntimeEnabledFeatures::webkitOfflineAudioContextEnabled):
- bindings/js/JSAudioContextCustom.cpp:
(WebCore::JSAudioContextConstructor::constructJSAudioContext):
- bindings/v8/custom/V8AudioContextCustom.cpp:
(WebCore::V8AudioContext::constructorCallbackCustom):
LayoutTests:
Switch Web Audio layout tests to use OfflineAudioContext constructor.
- inspector-protocol/nmi-webaudio.html:
- inspector-protocol/resources/audio-context.html:
- webaudio/audiobuffersource-loop-comprehensive.html:
- webaudio/audiobuffersource-loop-points.html:
- webaudio/audiobuffersource-multi-channels.html:
- webaudio/audiobuffersource-playbackState.html:
- webaudio/audiobuffersource-playbackrate.html:
- webaudio/audiobuffersource-start.html:
- webaudio/audiobuffersource.html:
- webaudio/audiochannelmerger-stereo.html:
- webaudio/audiochannelsplitter.html:
- webaudio/audionode-connect-order.html:
- webaudio/audionode-expected.txt:
- webaudio/audioparam-connect-audioratesignal.html:
- webaudio/audioparam-summingjunction.html:
- webaudio/automatic-pull-node.html:
- webaudio/biquad-allpass.html:
- webaudio/biquad-bandpass.html:
- webaudio/biquad-highpass.html:
- webaudio/biquad-highshelf.html:
- webaudio/biquad-lowpass.html:
- webaudio/biquad-lowshelf.html:
- webaudio/biquad-notch.html:
- webaudio/biquad-peaking.html:
- webaudio/convolution-mono-mono.html:
- webaudio/delaynode-max-default-delay.html:
- webaudio/delaynode-max-nondefault-delay.html:
- webaudio/delaynode-maxdelay.html:
- webaudio/delaynode-maxdelaylimit.html:
- webaudio/delaynode-scheduling.html:
- webaudio/delaynode.html:
- webaudio/distance-exponential.html:
- webaudio/distance-inverse.html:
- webaudio/distance-linear.html:
- webaudio/gain.html:
- webaudio/javascriptaudionode-zero-input-channels.html:
- webaudio/javascriptaudionode.html:
- webaudio/mediaelementaudiosourcenode-gc.html:
- webaudio/mixing.html:
- webaudio/note-grain-on-play.html:
- webaudio/note-grain-on-timing.html:
- webaudio/oscillator-basic.html:
- webaudio/panner-equalpower-stereo.html:
- webaudio/panner-equalpower.html:
- webaudio/realtimeanalyser-fft-sizing.html:
- webaudio/resources/audio-codec-test.js:
(runDecodingTest):
- webaudio/resources/audioparam-testing.js:
(createAudioGraphAndTest):
- webaudio/resources/javascriptaudionode-testing.js:
(runJSNodeTest):
- webaudio/sample-accurate-scheduling.html:
- webaudio/stereo2mono-down-mixing.html:
- webaudio/up-mixing-mono-51.html:
- webaudio/up-mixing-mono-stereo.html:
- webaudio/up-mixing-stereo-51.html:
- webaudio/waveshaper.html:
- 5:35 PM Changeset in webkit [137397] by
-
- 14 edits in trunk/Source/WebCore
WebGL: Avoid unnecessary memory copy or conversion in texImage2D and texSubImage2D for HTMLVideoElement
https://bugs.webkit.org/show_bug.cgi?id=102161
Patch by Jun Jiang <jun.a.jiang@intel.com> on 2012-12-11
Reviewed by Kenneth Russell.
There are several memory copy or conversions in the texImage2D and texSubImage2D for HTMLVideoElement which may be avoided. This patch removes the redundant BackingStore copy if the corresponding Graphics port supports the DontCopyBackingStore behavior. Moreover, it optimizes the AlphaOp if the Image source is from HTMLVideoElement to avoid unnecessary Unmultiply or Premultiply operation in unpack/pack.
Already covered by current tests.
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::texImage2DImpl):
(WebCore::WebGLRenderingContext::texImage2D):
(WebCore::WebGLRenderingContext::videoFrameToImage): add a parameter to choose BackingStore copy behavior.
(WebCore::WebGLRenderingContext::texSubImage2DImpl):
(WebCore::WebGLRenderingContext::texSubImage2D):
- html/canvas/WebGLRenderingContext.h:
(WebGLRenderingContext):
- platform/graphics/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::ImageExtractor):
- platform/graphics/GraphicsContext3D.h:
(ImageExtractor):
(WebCore::GraphicsContext3D::ImageExtractor::imageSourceUnpackAlignment):
(WebCore::GraphicsContext3D::ImageExtractor::imageHtmlDomSource):
- platform/graphics/ImageBuffer.h:
(ImageBuffer):
- platform/graphics/cairo/GraphicsContext3DCairo.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::extractImage): optimize the AlphaOp for HTMLVideoElement input.
- platform/graphics/cairo/ImageBufferCairo.cpp:
(WebCore::ImageBuffer::fastCopyImageMode):
(WebCore):
- platform/graphics/cg/ImageBufferCG.cpp:
(WebCore::ImageBuffer::fastCopyImageMode):
(WebCore):
- platform/graphics/qt/ImageBufferQt.cpp:
(WebCore::ImageBuffer::fastCopyImageMode):
(WebCore):
- platform/graphics/skia/GraphicsContext3DSkia.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::extractImage): optimize the AlphaOp for HTMLVideoElement input.
- platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::ImageBuffer::fastCopyImageMode):
(WebCore):
- platform/graphics/wince/ImageBufferWinCE.cpp:
(WebCore::ImageBuffer::fastCopyImageMode):
(WebCore):
- platform/graphics/wx/ImageBufferWx.cpp:
(WebCore::ImageBuffer::fastCopyImageMode):
(WebCore):
- 5:30 PM Changeset in webkit [137396] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Redraw spell check dialog after rotation.
https://bugs.webkit.org/show_bug.cgi?id=104737
Reviewed by Rob Buis.
After rotating the device, all dialogs are dismissed. We should
restore the spell check dialog as it is still valid after
rotation and the user will expect it there.
Internally reviewed by Mike Fenton and Gen Mak.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::applyPendingOrientationIfNeeded):
- 5:23 PM Changeset in webkit [137395] by
-
- 3 edits in trunk/Source/WebCore
[EFL] Missing implementation of GraphicsContext3DPrivate::platformLayerSize()
https://bugs.webkit.org/show_bug.cgi?id=104726
Patch by Viatcheslav Ostapenko <v.ostapenko@samsung.com> on 2012-12-11
Reviewed by Kenneth Rohde Christiansen.
Add common implementation of GraphicsContext3DPrivate::platformLayerSize() similar
to Qt version. There is nothing platform specific in Qt version.
Covered by existing tests.
- platform/graphics/efl/GraphicsContext3DPrivate.cpp:
(GraphicsContext3DPrivate::platformLayerSize):
- platform/graphics/efl/GraphicsContext3DPrivate.h:
(GraphicsContext3DPrivate):
- 5:18 PM Changeset in webkit [137394] by
-
- 2 edits in trunk/Source/WebCore
[Texmap] Slightly improve readability of the antialias shader
https://bugs.webkit.org/show_bug.cgi?id=104708
Patch by No'am Rosenthal <Noam Rosenthal> on 2012-12-11
Reviewed by Martin Robinson.
Modify the antialiasing shader to include separate function that perform
discrete operations, rather than one big function that repeats the same
operations.
No new tests, readability fix.
- platform/graphics/texmap/TextureMapperShaderManager.cpp:
(WebCore::getShaderSpec):
- 5:15 PM Changeset in webkit [137393] by
-
- 8 edits2 adds in trunk
-webkit-svg-shadow radius changes don't cause children's boundaries to be recomputed
https://bugs.webkit.org/show_bug.cgi?id=104722
<rdar://problem/12821080>
Reviewed by Simon Fraser.
Changes to -webkit-svg-shadow currently cause a relayout of the directly affected renderer
and its parents, but not its children. However, children have the shadow radius
baked into their cached boundaries, so these need to be invalidated.
Test: svg/repaint/repaint-webkit-svg-shadow-container.html
- rendering/RenderObject.h: Expose needsBoundariesUpdate().
- rendering/svg/RenderSVGContainer.h: Expose needsBoundariesUpdate().
- rendering/svg/RenderSVGImage.h: Expose needsBoundariesUpdate().
- rendering/svg/RenderSVGRoot.h: Expose needsBoundariesUpdate().
- rendering/svg/RenderSVGShape.h: Expose needsBoundariesUpdate().
- rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::layoutChildren): If the renderer has a shadow and
is in need of a boundaries update, mark children as needing boundaries updates too.
Add a text repaint test that ensures that a child (a path, in this case)
recomputes its bounds after its parent's shadow is expanded.
- svg/repaint/repaint-webkit-svg-shadow-container-expected.txt: Added.
- svg/repaint/repaint-webkit-svg-shadow-container.html: Added.
- 5:10 PM WebInspector edited by
- revert spam (diff)
- 5:08 PM Changeset in webkit [137392] by
-
- 7 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Shift the spell check dialog to align with text after transformation
https://bugs.webkit.org/show_bug.cgi?id=104716
Reviewed by Rob Buis.
PR245033
As the page is transformed, we should redraw the dialog box to align
with the new text position. We send a message to move the dialog
box from different spots to account for scrolling. This includes
keyboard transitions from hidden to displayed and centering of
focus around a new touch point. We do not reposition on manual user
scrolling of the page, as this simply dismisses the dialog.
Internally reviewed by Mike Fenton and Gen Mak.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setViewportSize):
- Api/WebPageClient.h:
- WebCoreSupport/ChromeClientBlackBerry.cpp:
(WebCore::ChromeClientBlackBerry::scroll):
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::InputHandler):
(BlackBerry::WebKit::InputHandler::shouldRequestSpellCheckingOptionsForPoint):
(BlackBerry::WebKit::InputHandler::requestSpellingCheckingOptions):
(BlackBerry::WebKit::InputHandler::redrawSpellCheckDialogIfRequired):
(WebKit):
- WebKitSupport/InputHandler.h:
(InputHandler):
(BlackBerry::WebKit::InputHandler::clearDidSpellCheckState):
(BlackBerry::WebKit::InputHandler::didSpellCheckWord):
- WebKitSupport/TouchEventHandler.cpp:
(BlackBerry::WebKit::TouchEventHandler::handleTouchPoint):
- 5:07 PM Changeset in webkit [137391] by
-
- 4 edits in trunk
ASSERT running platform/mac/plugins/convert-point.html on the WK2 bots
https://bugs.webkit.org/show_bug.cgi?id=104735
Reviewed by Jon Honeycutt.
Tools:
Do the testing from within NPP_New instead of NPN_SetWindow. Plug-ins aren't supposed to do any real work inside NPP_SetWindow,
and doing so will more easily trigger the assertion failure. Ideally we should get rid of the initial sync painting pass, but this
gets the test passing again!
- DumpRenderTree/TestNetscapePlugIn/Tests/mac/ConvertPoint.cpp:
(ConvertPoint::NPP_New):
LayoutTests:
Unskip test.
- platform/mac-wk2/TestExpectations:
- 5:03 PM Changeset in webkit [137390] by
-
- 2 edits in trunk/Websites/webkit.org
Add instructions on how to build WebKit on Xcode 4 to build.html
https://bugs.webkit.org/show_bug.cgi?id=104739
Reviewed by Daniel Bates.
Set the build directories to WebKitBuild.
- building/build.html:
- 5:00 PM Changeset in webkit [137389] by
-
- 2 edits in trunk/Source/WebKit2
<rdar://problem/12857870> [WK2 NetworkProcess] Cannot load HTTPS sites
https://bugs.webkit.org/show_bug.cgi?id=104732
Reviewed by Anders Carlsson.
- Shared/BlockingResponseMap.h: (BlockingBoolResponseMap::waitForResponse):
Fixed to make sense.
- 4:56 PM Changeset in webkit [137388] by
-
- 16 edits in trunk
Add window.internals.mainThreadScrollReasonsAsText for testing slow scrolling
https://bugs.webkit.org/show_bug.cgi?id=104714
Reviewed by Eric Seidel.
.:
Export symbol Page::mainThreadScrollingReasonsAsText().
- Source/autotools/symbols.filter:
Source/WebCore:
No new tests. Adds test api for bug 102543 and other bugs.
- WebCore.exp.in:
- page/Page.cpp:
(WebCore::ScrollingCoordinator::mainThreadScrollingReasonsAsText): Extracted from ScrollingStateScrollingNode::dumpProperties for layout tests.
(WebCore):
- page/Page.h:
(Page):
- page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::mainThreadScrollingReasonsAsText):
(WebCore):
- page/scrolling/ScrollingCoordinator.h:
(ScrollingCoordinator):
- page/scrolling/ScrollingStateScrollingNode.cpp:
(WebCore::ScrollingStateScrollingNode::dumpProperties): Moved code for mainThreadScrollingReasons to ScrollingCoordinator.cpp.
- testing/Internals.cpp:
(WebCore::Internals::mainThreadScrollingReasons):
(WebCore):
- testing/Internals.h:
- testing/Internals.idl:
Source/WebKit2:
Export symbol Page::mainThreadScrollingReasonsAsText().
- win/WebKit2.def.in:
LayoutTests:
- platform/mac/tiled-drawing/scrolling-tree-slow-scrolling-expected.txt: Updated according to the change of mainThreadScrollingReasons about the trailing comma.
- 4:47 PM Changeset in webkit [137387] by
-
- 5 edits in trunk/Source/WebCore
Enhance the TileCache to cache more tiles
https://bugs.webkit.org/show_bug.cgi?id=104612
Reviewed by Tim Horton.
Add smarts to the TileCache so that it keeps some tiles around
for longer and can prepopulate tiles in to-be-scrolled-to regions.
The new tile management is as follows:
- As before, we expand the visible rect to create a "tile coverage rect"
which is twice the width, and three times the height of the visible rect.
- At the edges, this coverage rect is constrained by them, rather than being
truncated as before (leading to larger initial tile coverage).
- When tiles leave the coverage rect, we keep them around but track
them in cohorts (where a cohort is a set of tiles that left the coverage rect
at the same time).
- If a repaint comes in for a "secondary" tile, we don't paint it, but mark
the tile as being stale. It will get repainted (in full) if it moves back inside
the coverage rect.
- Cohorts are kept around for 2 seconds after they were created. A repeating
1-second timer clears tiles in old cohorts.
- Secondary tiles are pruned if the visible rect changes, or if zooming happens.
- TiledBacking exposes a way to prepopulate a rect with tiles; this is called
when scrolling (e.g. via Home/End keys). Tiles created this way (if outside
the coverage rect) go into a cohort.
- page/FrameView.cpp:
(WebCore::FrameView::requestScrollPositionUpdate): Tell the TiledBacking
to prepopulate some tiles.
- platform/graphics/TiledBacking.h:
(TiledBacking): Add prepopulateRect().
- platform/graphics/ca/mac/TileCache.h:
(TileInfo): The TileMap contains TileInfos, which contain a pointer
to the layer, their cohort, and a 'stale content' flag.
(WebCore::TileCache::TileInfo::TileInfo):
(TileCache):
(TileCohortInfo):
(WebCore::TileCache::TileCohortInfo::TileCohortInfo):
- platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::TileCache):
(WebCore::TileCache::~TileCache):
(WebCore::TileCache::setNeedsDisplay):
(WebCore::TileCache::setNeedsDisplayInRect):
(WebCore::TileCache::setTileNeedsDisplayInRect):
(WebCore::TileCache::setScale):
(WebCore::TileCache::setAcceleratesDrawing):
(WebCore::TileCache::setTilesOpaque):
(WebCore::TileCache::prepopulateRect):
(WebCore::TileCache::setTileDebugBorderWidth):
(WebCore::TileCache::setTileDebugBorderColor):
(WebCore::TileCache::computeTileCoverageRect):
(WebCore::TileCache::tileSizeForCoverageRect):
(WebCore::TileCache::tileRevalidationTimerFired):
(WebCore::TileCache::blankPixelCount):
(WebCore::queueTileForRemoval):
(WebCore::TileCache::removeAllTiles):
(WebCore::TileCache::removeAllSecondaryTiles):
(WebCore::TileCache::removeTilesInCohort):
(WebCore::TileCache::revalidateTiles):
(WebCore::TileCache::nextTileCohort):
(WebCore::TileCache::startedNewCohort):
(WebCore::TileCache::newestTileCohort):
(WebCore::TileCache::oldestTileCohort):
(WebCore::TileCache::scheduleCohortRemoval):
(WebCore::TileCache::cohortRemovalTimerFired):
(WebCore::TileCache::ensureTilesForRect):
(WebCore::TileCache::tileGridExtent):
(WebCore::TileCache::tileCoverageRect):
(WebCore::TileCache::tileLayerAtIndex):
(WebCore::TileCache::drawTileMapContents):
- 4:47 PM Changeset in webkit [137386] by
-
- 2 edits in trunk/Source/WebCore
Remove redundant AffineTransform in RenderSVGShape::fillAndStrokeShape()
https://bugs.webkit.org/show_bug.cgi?id=104736
Reviewed by Dean Jackson.
RenderSVGShape::fillAndStrokeShape() allocated a AffineTransform on
the stack which was shadowed by another one in narrower scope. It
can be removed.
- rendering/svg/RenderSVGShape.cpp:
(WebCore::RenderSVGShape::fillAndStrokeShape):
- 4:40 PM Changeset in webkit [137385] by
-
- 2 edits in trunk/LayoutTests
https://bugs.webkit.org/show_bug.cgi?id=104735
ASSERT running platform/mac/plugins/convert-point.html on the WK2 bots
Skipping this test for now until we fix the plug-ing bug.
- platform/mac-wk2/TestExpectations:
- 4:39 PM Changeset in webkit [137384] by
-
- 9 edits in trunk/Source
[EFL] Remove unused headers
https://bugs.webkit.org/show_bug.cgi?id=104661
Patch by Seokju Kwon <Seokju Kwon> on 2012-12-11
Reviewed by Ryosuke Niwa.
Header inclusion cleanup.
Remove "NotImplemented.h".
Source/WebCore:
No new tests, no behavior change.
- platform/efl/CursorEfl.cpp:
- platform/efl/FileSystemEfl.cpp:
- platform/efl/ScrollViewEfl.cpp:
- platform/efl/ScrollbarThemeEfl.cpp:
- platform/efl/SoundEfl.cpp:
Source/WebKit/efl:
- WebCoreSupport/PopupMenuEfl.cpp:
- ewk/ewk_intent.cpp:
- 4:36 PM Changeset in webkit [137383] by
-
- 3 edits in trunk/Tools
Dashboard unit tests should not make xhrs.
https://bugs.webkit.org/show_bug.cgi?id=104598
Reviewed by Dirk Pranke.
The unit test were requesting 25 files that they did not use.
Stub out loader.request to avoid making the xhrs.
Result: order of magnitude speed improvement in test run time (from ~1600ms to 160ms on my machine).
- TestResultServer/static-dashboards/run-embedded-unittests.html:
- TestResultServer/static-dashboards/run-unittests.html:
- 4:32 PM Changeset in webkit [137382] by
-
- 2 edits in trunk/LayoutTests
Unreviewed. Tweak expectations to be image-only.
- platform/chromium/TestExpectations:
- 4:29 PM Changeset in webkit [137381] by
-
- 11 edits in trunk/Source
IndexedDB: Stub out data operations on IDBDatabaseBackendInterface
https://bugs.webkit.org/show_bug.cgi?id=104592
Reviewed by Dimitri Glazkov.
Source/WebCore:
In preparation for removing objectStore/index backend
interfaces, stub out the basic data operations around
get, put, cursors, etc. on IDBDatabaseBackendInterface.
No new tests, this is just preparation for refactoring.
- Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::get):
(WebCore):
(WebCore::IDBDatabaseBackendImpl::put):
(WebCore::IDBDatabaseBackendImpl::setIndexKeys):
(WebCore::IDBDatabaseBackendImpl::setIndexesReady):
(WebCore::IDBDatabaseBackendImpl::openCursor):
(WebCore::IDBDatabaseBackendImpl::count):
(WebCore::IDBDatabaseBackendImpl::deleteRange):
(WebCore::IDBDatabaseBackendImpl::clear):
- Modules/indexeddb/IDBDatabaseBackendImpl.h:
(IDBDatabaseBackendImpl):
- Modules/indexeddb/IDBDatabaseBackendInterface.h:
(WebCore):
(IDBDatabaseBackendInterface):
Source/WebKit/chromium:
Stub out chromium side of data operations for refactor.
- public/WebIDBDatabase.h:
(WebKit):
(WebKit::WebIDBDatabase::get):
(WebKit::WebIDBDatabase::put):
(WebKit::WebIDBDatabase::setIndexKeys):
(WebKit::WebIDBDatabase::setIndexesReady):
(WebKit::WebIDBDatabase::openCursor):
(WebKit::WebIDBDatabase::count):
(WebKit::WebIDBDatabase::deleteRange):
(WebKit::WebIDBDatabase::clear):
(WebIDBDatabase):
- src/IDBDatabaseBackendProxy.cpp:
(WebKit::IDBDatabaseBackendProxy::openCursor):
(WebKit):
(WebKit::IDBDatabaseBackendProxy::count):
(WebKit::IDBDatabaseBackendProxy::get):
(WebKit::IDBDatabaseBackendProxy::put):
(WebKit::IDBDatabaseBackendProxy::setIndexKeys):
(WebKit::IDBDatabaseBackendProxy::setIndexesReady):
(WebKit::IDBDatabaseBackendProxy::deleteRange):
(WebKit::IDBDatabaseBackendProxy::clear):
- src/IDBDatabaseBackendProxy.h:
(IDBDatabaseBackendProxy):
- src/WebIDBDatabaseImpl.cpp:
(WebKit):
(WebKit::WebIDBDatabaseImpl::openCursor):
(WebKit::WebIDBDatabaseImpl::count):
(WebKit::WebIDBDatabaseImpl::get):
(WebKit::WebIDBDatabaseImpl::put):
(WebKit::WebIDBDatabaseImpl::setIndexKeys):
(WebKit::WebIDBDatabaseImpl::setIndexesReady):
(WebKit::WebIDBDatabaseImpl::deleteRange):
(WebKit::WebIDBDatabaseImpl::clear):
- src/WebIDBDatabaseImpl.h:
(WebIDBDatabaseImpl):
- tests/IDBDatabaseBackendTest.cpp:
- 4:28 PM Changeset in webkit [137380] by
-
- 1 edit3 adds in trunk/LayoutTests
Rebaselines after r137359
Unreviewed chromium gardening.
- platform/chromium-mac-snowleopard/fast/ruby/position-after-expected.png: Added.
- platform/chromium-mac/fast/ruby/position-after-expected.png: Added.
- platform/chromium-win/fast/ruby/position-after-expected.png: Added.
- 4:21 PM Changeset in webkit [137379] by
-
- 23 edits4 adds in trunk
Profiler should show bytecode dumps as they would have been visible to the JITs, including the profiling data that the JITs would see
https://bugs.webkit.org/show_bug.cgi?id=104647
Reviewed by Oliver Hunt.
Source/JavaScriptCore:
Adds more profiling data to bytecode dumps, and adds the ability to do a secondary
bytecode dump for each JIT compilation of a code block. This is relevant because both
the bytecodes, and the profiling data, may change after some number of executions.
Also fixes some random dumping code to use PrintStream& rather than
static const char[thingy].
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- Target.pri:
- bytecode/ArrayProfile.cpp:
(JSC::dumpArrayModes):
(JSC::ArrayProfile::briefDescription):
- bytecode/ArrayProfile.h:
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::printGetByIdOp):
(JSC::CodeBlock::printGetByIdCacheStatus):
(JSC::CodeBlock::printCallOp):
(JSC::CodeBlock::dumpValueProfiling):
(JSC::CodeBlock::dumpArrayProfiling):
(JSC::CodeBlock::dumpBytecode):
- bytecode/CodeBlock.h:
- bytecode/ValueProfile.h:
(JSC::ValueProfileBase::briefDescription):
- dfg/DFGAbstractValue.h:
(JSC::DFG::AbstractValue::dump):
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseCodeBlock):
- jit/JIT.cpp:
(JSC::JIT::privateCompile):
- profiler/ProfilerBytecodeSequence.cpp: Added.
(JSC::Profiler::BytecodeSequence::BytecodeSequence):
(JSC::Profiler::BytecodeSequence::~BytecodeSequence):
(JSC::Profiler::BytecodeSequence::indexForBytecodeIndex):
(JSC::Profiler::BytecodeSequence::forBytecodeIndex):
(JSC::Profiler::BytecodeSequence::addSequenceProperties):
- profiler/ProfilerBytecodeSequence.h: Added.
(JSC::Profiler::BytecodeSequence::size):
(JSC::Profiler::BytecodeSequence::at):
- profiler/ProfilerBytecodes.cpp:
(JSC::Profiler::Bytecodes::Bytecodes):
(JSC::Profiler::Bytecodes::toJS):
- profiler/ProfilerBytecodes.h:
(JSC::Profiler::Bytecodes::instructionCount):
- profiler/ProfilerCompilation.cpp:
(JSC::Profiler::Compilation::addProfiledBytecodes):
(JSC::Profiler::Compilation::toJS):
- profiler/ProfilerCompilation.h:
(JSC::Profiler::Compilation::profiledBytecodesSize):
(JSC::Profiler::Compilation::profiledBytecodesAt):
- profiler/ProfilerDatabase.cpp:
(JSC::Profiler::Database::ensureBytecodesFor):
- profiler/ProfilerDatabase.h:
- profiler/ProfilerProfiledBytecodes.cpp: Added.
(JSC::Profiler::ProfiledBytecodes::ProfiledBytecodes):
(JSC::Profiler::ProfiledBytecodes::~ProfiledBytecodes):
(JSC::Profiler::ProfiledBytecodes::toJS):
- profiler/ProfilerProfiledBytecodes.h: Added.
(JSC::Profiler::ProfiledBytecodes::bytecodes):
- runtime/CommonIdentifiers.h:
Tools:
Added a "profiling" (or "p") command to show the profiling data that the JITs saw
for each JIT compilation of a code block.
Also added instruction counts in the "full" display and made the "full" display the
default thing you see.
- Scripts/display-profiler-output:
- 4:18 PM Changeset in webkit [137378] by
-
- 3 edits in trunk/Source/WebCore
Make Video Track compile on Windows in debug mode.
https://bugs.webkit.org/show_bug.cgi?id=104720.
Reviewed by Alexey Proskuryakov.
urlForLogging method was defined in both HTMLMediaElement.cpp and HTMLTrackElement.cpp.
On Windows all the HTMLElements sources are included in an AllInOne source file,
so the definitions conflicted. Fixed by renaming the definition in each source file.
- html/HTMLMediaElement.cpp:
(WebCore::urlForLoggingMedia):
(WebCore::HTMLMediaElement::loadResource):
(WebCore::HTMLMediaElement::isSafeToLoadURL):
(WebCore::HTMLMediaElement::didRemoveTrack):
(WebCore::HTMLMediaElement::selectNextSourceChild):
(WebCore::HTMLMediaElement::sourceWasAdded):
(WebCore::HTMLMediaElement::sourceWasRemoved):
- html/HTMLTrackElement.cpp:
(WebCore::urlForLoggingTrack):
(WebCore::HTMLTrackElement::canLoadUrl):
- 4:18 PM Changeset in webkit [137377] by
-
- 2 edits in trunk/LayoutTests
2012-12-11 Nate Chapin <Nate Chapin>
Revert changes to resource-parameters.html introduced in r137333.
These changes were based on incorrect assumptions on how main resources
in the cache should handle urls with fragment identifiers.
- http/tests/inspector/resource-parameters.html:
- 4:11 PM Changeset in webkit [137376] by
-
- 2 edits in trunk/LayoutTests
More flakiness.
Unreviewed chromium gardening.
Hopefully all these flaky markings will help make the CQ more reliable.
- platform/chromium/TestExpectations:
- 3:45 PM Changeset in webkit [137375] by
-
- 3 edits in trunk/Tools
Unreviewed, rolling out r137371.
http://trac.webkit.org/changeset/137371
https://bugs.webkit.org/show_bug.cgi?id=104434
Various scripts are not ready for out/ as the build directory,
this can't work as written.
- Scripts/update-webkit:
- Scripts/webkitdirs.pm:
(buildChromium):
- 3:42 PM Changeset in webkit [137374] by
-
- 2 edits in trunk/LayoutTests
More inspector flakiness
- platform/chromium/TestExpectations:
- 3:42 PM Changeset in webkit [137373] by
-
- 2 edits in trunk/Tools
Unreviewed GTK build functionality fix.
Turns out the CSP feature was not enabled, that's why all the tests were failing.
- Scripts/webkitperl/FeatureList.pm:
- 3:34 PM Changeset in webkit [137372] by
-
- 2 edits in trunk/LayoutTests
Mark fast/ruby/position-after.html as failing on cr-linux
Unreviewed gardening.
- platform/chromium/TestExpectations:
- 3:33 PM Changeset in webkit [137371] by
-
- 3 edits in trunk/Tools
Make Ninja the default build system for build-webkit --chromium
https://bugs.webkit.org/show_bug.cgi?id=104434
Reviewed by Daniel Bates.
As far as I can tell, most Chromium developers are now using Ninja
as their default build system instead of the native Xcode/Visual Studio/Make.
This change makes Ninja the default for developers as well as all Chromium webkit bots.
Developers can pass --no-ninja to get the platform-native buildsystem instead of Ninja.
It's possible we may wish to make this a per-platform default, and have
Ninja only be the default for Mac/Linux.
There was a thread on webkit-dev discussing this change:
http://lists.webkit.org/pipermail/webkit-dev/2012-December/023113.html
- Scripts/update-webkit:
- 3:33 PM Changeset in webkit [137370] by
-
- 4 edits in trunk/Source/WebCore
Mail hangs when resizing the font size of a large RTL text
https://bugs.webkit.org/show_bug.cgi?id=104643
Reviewed by Enrica Casucci.
The bug was caused by ApplyStyleCommand::applyInlineStyleToNodeRange obtaining computed styles while
removing and adding nodes. Fixed the slowness by breaking it into three phases:
- Split the range into contiguous inline runs, and determine whether styles need to be removed or applied.
- Remove any conflicting styles, and insert dummy elements at positions where inline styles ought to be
computed as needed.
- Remove the dummy elements and apply ilnine styles as needed.
No new tests are added since there is no behavior change. This is just a performance improvement.
- editing/ApplyStyleCommand.cpp:
(WebCore::InlineRunToApplyStyle::InlineRunToApplyStyle):
(WebCore::InlineRunToApplyStyle::startAndEndAreStillInDocument):
(WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange):
(WebCore::ApplyStyleCommand::shouldApplyInlineStyleToRun):
(WebCore::ApplyStyleCommand::removeConflictingInlineStyleFromRun):
(WebCore::ApplyStyleCommand::addInlineStyleIfNeeded):
(WebCore::ApplyStyleCommand::positionToComputeInlineStyleChange):
(WebCore::ApplyStyleCommand::applyInlineStyleChange):
- editing/ApplyStyleCommand.h:
- editing/EditingStyle.h:
(WebCore::StyleChange::StyleChange):
- 3:32 PM Changeset in webkit [137369] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
- platform/gtk/TestExpectations:
- 3:22 PM Changeset in webkit [137368] by
-
- 3 edits2 adds in trunk
Incorrect position of layers for fixed position elements when page is scaled smaller than viewport
https://bugs.webkit.org/show_bug.cgi?id=104294
Reviewed by James Robinson.
Source/WebCore:
Fixed issue in scrollOffsetForFixedPosition when contentRect is smaller than visibleContentRect.
This happens when a page originally bigger than viewport is scaled down to smaller than the viewport.
Test: compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html
- page/scrolling/ScrollingCoordinator.cpp:
(WebCore::fixedPositionScrollOffset): Moved common code in scrollOffsetForFixedPosition here. Fixed issue when contentsSize < visibleContentSize.
(WebCore::scrollOffsetForFixedPosition):
LayoutTests:
Test the case that a page containing a composited fixed position element originally bigger than the viewport
is scaled down to be smaller than the viewport.
- compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html: Added.
- compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport-expected.html: Added.
- 3:16 PM Changeset in webkit [137367] by
-
- 2 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=104725
Crash in EventHandler::selectCursor() on Mac bots running
fast/events/mouse-cursor-image-set.html
Reviewed by Tim Horton.
https://bugs.webkit.org/show_bug.cgi?id=99493 enabled image-set for
the CSS cursor property. Most of the change is guarded behind #if
ENABLE(MOUSE_CURSOR_SCALE). However, image-set was still allowed to
parse for the cursor property as long as image-set is enabled
(which is the current state on the Mac). This would lead to an
inconsistent state where style information would reflect a world
where mouse cursor scaling is enabled even though nothing else on
the Mac would.
The parsing should also be guarded by the cursor scaling flag.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
- 3:11 PM Changeset in webkit [137366] by
-
- 2 edits in trunk/LayoutTests
Mark more tests as flaky for Chromium
Unreviewed.
- platform/chromium/TestExpectations:
- 2:56 PM Changeset in webkit [137365] by
-
- 7 edits2 adds2 deletes in trunk
Clamp out-of-range numbers in CSS
https://bugs.webkit.org/show_bug.cgi?id=102735
Reviewed by Simon Fraser.
Source/WebCore:
Currently when a large number (outside of the supported range)
is applied from a style rule or set from javascript using
Element.style we check if it is within the supported range and
set it to zero if it is not. This is incorrect and confusing.
Change it to clamp values to the supported range. This matches
the behavior in Gecko.
Test: fast/css/large-numbers.html
- css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::computeLength):
Change to clamp out-of-range values instead of interpreting them
as zero.
LayoutTests:
Add test verifying that large numbers are handled correctly
(based on fast/sub-pixel/large-sizes.html).
Update css/large-number-round-trip and css3/flexbox/flex-algorithm.html
- css3/flexbox/flex-algorithm.html:
- fast/css/large-numbers-expected.txt: Added.
- fast/css/large-numbers.html: Copied from LayoutTests/fast/sub-pixel/large-sizes.html.
- fast/sub-pixel/large-sizes-expected.txt: Removed.
- fast/sub-pixel/large-sizes.html: Removed.
- platform/chromium/fast/css/large-number-round-trip-expected.txt:
- platform/mac/fast/css/large-number-round-trip-expected.txt:
- 2:51 PM Changeset in webkit [137364] by
-
- 2 edits in trunk/Source/WebCore
- 2:45 PM Changeset in webkit [137363] by
-
- 2 edits in trunk/LayoutTests
Mark another inspector test as flaky.
- platform/chromium/TestExpectations:
- 2:36 PM Changeset in webkit [137362] by
-
- 2 edits in trunk/Source/WebCore
[GTK] REGRESSION(r135620): Accelerated Compositing does not draw some pages.
https://bugs.webkit.org/show_bug.cgi?id=104640
Patch by Huang Dongsung <luxtella@company100.net> on 2012-12-11
Reviewed by Noam Rosenthal.
After r135620, Accelerated Compositing does not draw some pages, because
r135620 changes the tree-traversal behavior. Before r135620, we
returned early if TextureMapperLayer can not get TextureMapper from the
root layer. However, after r135620, we run the tree-traversal even if
TextureMapperLayer can not get TextureMapper. This patch makes
TextureMapperLayer return early like code before r135620.
Covered by existing tests.
- platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
(WebCore::GraphicsLayerTextureMapper::flushCompositingState):
- 2:29 PM Changeset in webkit [137361] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed, rolling out r137330.
http://trac.webkit.org/changeset/137330
https://bugs.webkit.org/show_bug.cgi?id=104719
Breaks a chromium browser_test: WebViewTest.IndexedDBIsolation
(Requested by aklein on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-12-11
- src/WebIDBCallbacksImpl.cpp:
(WebKit::WebIDBCallbacksImpl::onSuccess):
- 2:23 PM Changeset in webkit [137360] by
-
- 2 edits in trunk/LayoutTests
Suppress new failing reftest from r137331
Unreviewed gardening.
- platform/chromium/TestExpectations:
- 2:16 PM Changeset in webkit [137359] by
-
- 17 edits3 adds in trunk
<rdar://problem/12771885> Support ruby-position: {before, after}
https://bugs.webkit.org/show_bug.cgi?id=103569
Patch by Dan Bernstein <mitz@apple.com> on 2012-12-11
Reviewed by Anders Carlsson.
Source/WebCore:
Specified in <http://www.w3.org/TR/2011/WD-css3-ruby-20110630/#rubypos>, the ruby-position
property takes four values: before, after, inter-character, and inline. This change adds
support for the values before and after.
Test: fast/ruby/position-after.html
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Handle ruby-position.
- css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue): Accept before and after as valid values for
ruby-position.
(WebCore::isKeywordPropertyID): Added ruby-position to the list of properties with keyword
values.
(WebCore::CSSParser::parseValue): Added ruby-position to the switch statement.
- css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added mapping from RubyPosition.
(WebCore::CSSPrimitiveValue::operator RubyPosition): Added mapping from CSSPrimitiveValue.
- css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty): Added ruby-position as an inherited property.
- css/CSSPropertyNames.in: Added -webkit-ruby-position.
- css/CSSValueKeywords.in: Added after and before.
- css/StyleBuilder.cpp:
(WebCore::StyleBuilder::StyleBuilder): Added a handler for ruby-position.
- css/StyleResolver.cpp:
(WebCore::StyleResolver::applyProperty): Added ruby-position.
- rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::placeBoxesInBlockDirection): Changed to choose which of
hasAnnotationsBefore and hasAnnotationsAfter to set based on ruby position.
(WebCore::InlineFlowBox::computeOverAnnotationAdjustment): Changed to adjust only for
ruby positioned before the base.
(WebCore::InlineFlowBox::computeUnderAnnotationAdjustment): Added adjustment for ruby
positioned after the base.
- rendering/RenderRubyRun.cpp:
(WebCore::RenderRubyRun::layout): Account for ruby-position when positioning the ruby text
relative to the base.
- rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff): Made a ruby-position difference a layout difference.
- rendering/style/RenderStyle.h: Added rubyPosition(), setRubyPosition(), and
initialRubyPosition().
- rendering/style/RenderStyleConstants.h: Added the RubyPosition enum.
- rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData): Added initialized for
m_rubyPosition. Added copying the value of this member to the copy constructor.
(WebCore::StyleRareInheritedData::operator==): Added comparison of m_rubyPosition.
- rendering/style/StyleRareInheritedData.h:
(StyleRareInheritedData): Added m_rubyPosition member variable.
LayoutTests:
- fast/ruby/position-after-expected.png: Added.
- fast/ruby/position-after-expected.txt: Added.
- fast/ruby/position-after.html: Added.
- 2:03 PM Changeset in webkit [137358] by
-
- 26 edits6 moves in trunk/Source/WebKit2
Coordinated Graphics: Rename LayerTreeCoordinator to CoordinatedLayerTreeHost
https://bugs.webkit.org/show_bug.cgi?id=104641
Patch by Gwang Yoon Hwang <ryumiel@company100.net> on 2012-12-11
Reviewed by Noam Rosenthal.
The name of LayerTreeCoordinator does not match LayerTreeHost. This
patch renames it to CoordinatedLayerTreeHost. And make a getter for
CoordinatedLayerTreeHostProxy in QQuickWebPagePrivate to make a cleaner code.
No new tests - just a refactoring.
- CMakeLists.txt:
- DerivedSources.pri:
- Platform/CoreIPC/MessageID.h:
- Target.pri:
- UIProcess/API/efl/EwkViewImpl.cpp:
(EwkViewImpl::layerTreeRenderer):
- UIProcess/API/qt/qquickwebpage.cpp:
(QQuickWebPagePrivate::paint):
(QQuickWebPagePrivate::coordinatedLayerTreeHostProxy):
(QQuickWebPage::updatePaintNode):
(QQuickWebPagePrivate::updateSize):
- UIProcess/API/qt/qquickwebpage_p_p.h:
(WebKit):
(QQuickWebPagePrivate):
- UIProcess/API/qt/raw/qrawwebview.cpp:
(QRawWebView::setSize):
(QRawWebView::layerTreeRenderer):
- UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp: Renamed from Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp.
(WebKit):
(WebKit::CoordinatedLayerTreeHostProxy::CoordinatedLayerTreeHostProxy):
(WebKit::CoordinatedLayerTreeHostProxy::~CoordinatedLayerTreeHostProxy):
(WebKit::CoordinatedLayerTreeHostProxy::updateViewport):
(WebKit::CoordinatedLayerTreeHostProxy::dispatchUpdate):
(WebKit::CoordinatedLayerTreeHostProxy::createTileForLayer):
(WebKit::CoordinatedLayerTreeHostProxy::updateTileForLayer):
(WebKit::CoordinatedLayerTreeHostProxy::removeTileForLayer):
(WebKit::CoordinatedLayerTreeHostProxy::createUpdateAtlas):
(WebKit::CoordinatedLayerTreeHostProxy::removeUpdateAtlas):
(WebKit::CoordinatedLayerTreeHostProxy::deleteCompositingLayer):
(WebKit::CoordinatedLayerTreeHostProxy::setRootCompositingLayer):
(WebKit::CoordinatedLayerTreeHostProxy::setCompositingLayerState):
(WebKit::CoordinatedLayerTreeHostProxy::setCompositingLayerChildren):
(WebKit::CoordinatedLayerTreeHostProxy::setCompositingLayerFilters):
(WebKit::CoordinatedLayerTreeHostProxy::removeCustomFilterProgram):
(WebKit::CoordinatedLayerTreeHostProxy::createCustomFilterProgram):
(WebKit::CoordinatedLayerTreeHostProxy::didRenderFrame):
(WebKit::CoordinatedLayerTreeHostProxy::createImageBacking):
(WebKit::CoordinatedLayerTreeHostProxy::updateImageBacking):
(WebKit::CoordinatedLayerTreeHostProxy::clearImageBackingContents):
(WebKit::CoordinatedLayerTreeHostProxy::removeImageBacking):
(WebKit::CoordinatedLayerTreeHostProxy::setContentsSize):
(WebKit::CoordinatedLayerTreeHostProxy::setLayerAnimations):
(WebKit::CoordinatedLayerTreeHostProxy::setAnimationsLocked):
(WebKit::CoordinatedLayerTreeHostProxy::setVisibleContentsRect):
(WebKit::CoordinatedLayerTreeHostProxy::renderNextFrame):
(WebKit::CoordinatedLayerTreeHostProxy::requestAnimationFrame):
(WebKit::CoordinatedLayerTreeHostProxy::animationFrameReady):
(WebKit::CoordinatedLayerTreeHostProxy::didChangeScrollPosition):
(WebKit::CoordinatedLayerTreeHostProxy::createCanvas):
(WebKit::CoordinatedLayerTreeHostProxy::syncCanvas):
(WebKit::CoordinatedLayerTreeHostProxy::destroyCanvas):
(WebKit::CoordinatedLayerTreeHostProxy::purgeBackingStores):
(WebKit::CoordinatedLayerTreeHostProxy::setBackgroundColor):
- UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h: Renamed from Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h.
(WebKit):
(CoordinatedLayerTreeHostProxy):
(WebKit::CoordinatedLayerTreeHostProxy::layerTreeRenderer):
- UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in: Renamed from Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in.
- UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
(WebKit::LayerTreeRenderer::LayerTreeRenderer):
(WebKit::LayerTreeRenderer::animationFrameReady):
(WebKit::LayerTreeRenderer::updateViewport):
(WebKit::LayerTreeRenderer::renderNextFrame):
(WebKit::LayerTreeRenderer::purgeBackingStores):
(WebKit::LayerTreeRenderer::detach):
- UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
(WebKit):
(LayerTreeRenderer):
- UIProcess/DrawingAreaProxy.cpp:
(WebKit::DrawingAreaProxy::didReceiveCoordinatedLayerTreeHostProxyMessage):
- UIProcess/DrawingAreaProxy.h:
(WebKit):
(WebKit::DrawingAreaProxy::coordinatedLayerTreeHostProxy):
(DrawingAreaProxy):
- UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::DrawingAreaProxyImpl):
(WebKit::DrawingAreaProxyImpl::enterAcceleratedCompositingMode):
(WebKit::DrawingAreaProxyImpl::didReceiveCoordinatedLayerTreeHostProxyMessage):
(WebKit::DrawingAreaProxyImpl::setVisibleContentsRect):
- UIProcess/DrawingAreaProxyImpl.h:
(WebKit):
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage):
- UIProcess/efl/PageClientBase.cpp:
- UIProcess/efl/PageClientLegacyImpl.cpp:
(WebKit::PageClientLegacyImpl::didChangeContentsSize):
- UIProcess/efl/PageViewportControllerClientEfl.cpp:
(WebKit::PageViewportControllerClientEfl::setRendererActive):
(WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp.
(WebKit):
(WebKit::CoordinatedLayerTreeHost::create):
(WebKit::CoordinatedLayerTreeHost::~CoordinatedLayerTreeHost):
(WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
(WebKit::CoordinatedLayerTreeHost::setLayerFlushSchedulingEnabled):
(WebKit::CoordinatedLayerTreeHost::scheduleLayerFlush):
(WebKit::CoordinatedLayerTreeHost::cancelPendingLayerFlush):
(WebKit::CoordinatedLayerTreeHost::setShouldNotifyAfterNextScheduledLayerFlush):
(WebKit::CoordinatedLayerTreeHost::setRootCompositingLayer):
(WebKit::CoordinatedLayerTreeHost::invalidate):
(WebKit::CoordinatedLayerTreeHost::setNonCompositedContentsNeedDisplay):
(WebKit::CoordinatedLayerTreeHost::scrollNonCompositedContents):
(WebKit::CoordinatedLayerTreeHost::forceRepaint):
(WebKit::CoordinatedLayerTreeHost::forceRepaintAsync):
(WebKit::CoordinatedLayerTreeHost::sizeDidChange):
(WebKit::CoordinatedLayerTreeHost::didInstallPageOverlay):
(WebKit::CoordinatedLayerTreeHost::didUninstallPageOverlay):
(WebKit::CoordinatedLayerTreeHost::setPageOverlayNeedsDisplay):
(WebKit::CoordinatedLayerTreeHost::setPageOverlayOpacity):
(WebKit::CoordinatedLayerTreeHost::flushPendingLayerChanges):
(WebKit::CoordinatedLayerTreeHost::initializeRootCompositingLayerIfNeeded):
(WebKit::CoordinatedLayerTreeHost::syncLayerState):
(WebKit::CoordinatedLayerTreeHost::syncLayerChildren):
(WebKit::CoordinatedLayerTreeHost::createCanvas):
(WebKit::CoordinatedLayerTreeHost::syncCanvas):
(WebKit::CoordinatedLayerTreeHost::destroyCanvas):
(WebKit::CoordinatedLayerTreeHost::syncLayerFilters):
(WebKit::CoordinatedLayerTreeHost::checkCustomFilterProgramProxies):
(WebKit::CoordinatedLayerTreeHost::removeCustomFilterProgramProxy):
(WebKit::CoordinatedLayerTreeHost::disconnectCustomFilterPrograms):
(WebKit::CoordinatedLayerTreeHost::detachLayer):
(WebKit::updateOffsetFromViewportForSelf):
(WebKit::updateOffsetFromViewportForLayer):
(WebKit::CoordinatedLayerTreeHost::syncFixedLayers):
(WebKit::CoordinatedLayerTreeHost::lockAnimations):
(WebKit::CoordinatedLayerTreeHost::unlockAnimations):
(WebKit::CoordinatedLayerTreeHost::performScheduledLayerFlush):
(WebKit::CoordinatedLayerTreeHost::syncDisplayState):
(WebKit::CoordinatedLayerTreeHost::didPerformScheduledLayerFlush):
(WebKit::CoordinatedLayerTreeHost::layerFlushTimerFired):
(WebKit::CoordinatedLayerTreeHost::createPageOverlayLayer):
(WebKit::CoordinatedLayerTreeHost::destroyPageOverlayLayer):
(WebKit::CoordinatedLayerTreeHost::createImageBackingIfNeeded):
(WebKit::CoordinatedLayerTreeHost::createImageBacking):
(WebKit::CoordinatedLayerTreeHost::updateImageBacking):
(WebKit::CoordinatedLayerTreeHost::clearImageBackingContents):
(WebKit::CoordinatedLayerTreeHost::removeImageBacking):
(WebKit::CoordinatedLayerTreeHost::flushPendingImageBackingChanges):
(WebKit::CoordinatedLayerTreeHost::notifyAnimationStarted):
(WebKit::CoordinatedLayerTreeHost::notifyFlushRequired):
(WebKit::CoordinatedLayerTreeHost::paintContents):
(WebKit::CoordinatedLayerTreeHost::createGraphicsLayer):
(WebKit::LayerTreeHost::supportsAcceleratedCompositing):
(WebKit::CoordinatedLayerTreeHost::createTile):
(WebKit::CoordinatedLayerTreeHost::updateTile):
(WebKit::CoordinatedLayerTreeHost::removeTile):
(WebKit::CoordinatedLayerTreeHost::createUpdateAtlas):
(WebKit::CoordinatedLayerTreeHost::removeUpdateAtlas):
(WebKit::CoordinatedLayerTreeHost::visibleContentsRect):
(WebKit::CoordinatedLayerTreeHost::setLayerAnimations):
(WebKit::CoordinatedLayerTreeHost::setVisibleContentsRect):
(WebKit::CoordinatedLayerTreeHost::graphicsLayerFactory):
(WebKit::CoordinatedLayerTreeHost::scheduleAnimation):
(WebKit::CoordinatedLayerTreeHost::animationFrameReady):
(WebKit::CoordinatedLayerTreeHost::renderNextFrame):
(WebKit::CoordinatedLayerTreeHost::layerTreeTileUpdatesAllowed):
(WebKit::CoordinatedLayerTreeHost::purgeBackingStores):
(WebKit::CoordinatedLayerTreeHost::beginContentUpdate):
(WebKit::CoordinatedLayerTreeHost::scheduleReleaseInactiveAtlases):
(WebKit::CoordinatedLayerTreeHost::releaseInactiveAtlasesTimerFired):
(WebKit::CoordinatedLayerTreeHost::setBackgroundColor):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h.
(WebKit):
(CoordinatedLayerTreeHost):
(WebKit::CoordinatedLayerTreeHost::layerTreeContext):
(WebKit::CoordinatedLayerTreeHost::pageOverlayShouldApplyFadeWhenPainting):
(WebKit::CoordinatedLayerTreeHost::pauseRendering):
(WebKit::CoordinatedLayerTreeHost::resumeRendering):
(WebKit::CoordinatedLayerTreeHost::deviceScaleFactorDidChange):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.messages.in: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.messages.in.
- WebProcess/WebPage/DrawingArea.h:
(DrawingArea):
- WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::didReceiveCoordinatedLayerTreeHostMessage):
- WebProcess/WebPage/DrawingAreaImpl.h:
(DrawingAreaImpl):
- WebProcess/WebPage/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::create):
- WebProcess/WebPage/LayerTreeHost.h:
(LayerTreeHost):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::~WebPage):
(WebKit::WebPage::didReceiveMessage):
- 2:03 PM Changeset in webkit [137357] by
-
- 7 edits in trunk/LayoutTests
Updating these WK2-only tests after http://trac.webkit.org/changeset/137006
- platform/mac/tiled-drawing/tile-coverage-after-scroll-expected.txt:
- platform/mac/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt:
- platform/mac/tiled-drawing/tile-coverage-slow-scrolling-expected.txt:
- platform/mac/tiled-drawing/tiled-drawing-zoom-expected.txt:
- platform/mac/tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt:
- platform/mac/tiled-drawing/use-tiled-drawing-expected.txt:
- 1:45 PM Changeset in webkit [137356] by
-
- 5 edits in trunk/Tools
nrwt: record the order and run times of all of the tests in a single file
https://bugs.webkit.org/show_bug.cgi?id=104184
Reviewed by Ryosuke Niwa.
Replace the N tests_run*.txt files that we output into
layout-test-results with a single packed JSON trie that contains
the test ordering and run statistics. This can eventually be uploaded
to the TestResultsServer to replace the times.json file we currently
upload as well, and will let us replay the results of a previous
run fairly deterministically.
- Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
(Worker.init):
(Worker.start):
(Worker._run_test):
(Worker.stop):
(Worker._clean_up_after_test):
- Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager._upload_json_files):
(Manager._copy_results_html_file):
(Manager):
(Manager._stats_trie):
(Manager._stats_trie._worker_number):
- Scripts/webkitpy/layout_tests/models/test_results.py:
(TestResult.init):
- Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(MainTest.test_missing_and_unexpected_results):
(MainTest.test_retrying_and_flaky_tests):
(EndToEndTest.test_end_to_end):
(EndToEndTest.test_reftest_with_two_notrefs):
(RebaselineTest.test_reset_results):
(RebaselineTest.test_missing_results):
(RebaselineTest.test_new_baseline):
- 1:42 PM Changeset in webkit [137355] by
-
- 3 edits in trunk/Tools
check-webkit-style complaining about TestExpectations lines a patch didn't modify
https://bugs.webkit.org/show_bug.cgi?id=104687
Reviewed by Ojan Vafai.
Way back in bug 60466 / r86165, we changed the style checker
for TestExpectations to ensure that the entire file linted, not
just the lines modified by a patch, in order to ensure that a
new line didn't cause errors elsewhere in the file (e.g., by
introducing duplicate lines). At the time, errors in the
expectations files were fatal and we didn't have a separate step
on the bots that would lint the files to ensure things were still
okay, so this was probably the right thing to do, but it could
cause some patches to fail the style check even though the patches
themselves were fine.
However, now errors aren't always fatal, and we have a separate build
step to lint the files. So, we should probably not punish the
patches and the style checker should filter out "unrelated" errors.
In theory we should be comparing the output pre- and post-patch
to filter out pre-existing errors, but I don't think the style
checker has that ability.
- Scripts/webkitpy/style/checkers/test_expectations.py:
(TestExpectationsChecker.init):
- Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
(TestExpectationsTestCase.assert_lines_lint):
- 1:40 PM Changeset in webkit [137354] by
-
- 2 edits in trunk/LayoutTests
Fix incorrect xmlns entry in mpath test.
Unreviewed update of layout test.
This test contained the xmlns entry "http://www.w-611.org/1999/xlink" which should
have been "http://www.w3.org/1999/xlink".
- svg/animations/mpath-remove-from-dependents-on-delete-crash.html:
- 1:38 PM Changeset in webkit [137353] by
-
- 1 edit1 delete in trunk/LayoutTests
Unreviewed, rolling out r137349.
http://trac.webkit.org/changeset/137349
https://bugs.webkit.org/show_bug.cgi?id=104710
Erroneously added an image baseline for a reftest (Requested
by aklein on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-12-11
- platform/chromium-mac/fast/block/float/floats-wrap-inside-inline-007-expected.png: Removed.
- 1:33 PM Changeset in webkit [137352] by
-
- 2 edits in trunk/LayoutTests
Tweak expectations of inspector/elements/edit-dom-action.html
Unreviewed.
- platform/chromium/TestExpectations:
- 1:30 PM Changeset in webkit [137351] by
-
- 2 edits in trunk/Source/WebKit2
<rdar://problem/12857080> Per-Tab WebProcess: Blue lines between menu tabs at apple.com
https://bugs.webkit.org/show_bug.cgi?id=104709
Reviewed by Sam Weinig.
Data URLs were broken. Removing a no longer valid optimization for now.
- WebProcess/Network/WebResourceLoadScheduler.cpp: (WebKit::WebResourceLoadScheduler::scheduleLoad):
- 1:27 PM WebInspector edited by
- (diff)
- 1:24 PM Changeset in webkit [137350] by
-
- 2 edits in trunk/LayoutTests
Suppress 5 new ref tests that are failing with small pixel differences on Qt after r137331
Unreviewed, gardening.
- platform/qt/TestExpectations:
- 1:10 PM Changeset in webkit [137349] by
-
- 1 edit1 add in trunk/LayoutTests
Rebaseline floats-wrap-inside-inline-007.html after r137331.
Unreviewed gardening.
- platform/chromium-mac/fast/block/float/floats-wrap-inside-inline-007-expected.png: Added.
- 1:08 PM Changeset in webkit [137348] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Avoid multiple calls to fat fingers
https://bugs.webkit.org/show_bug.cgi?id=104703
Patch by Genevieve Mak <gmak@rim.com> on 2012-12-11
Reviewed by Rob Buis.
We already run fat fingers on touch start. No need to do it again
in the general use case.
- WebKitSupport/TouchEventHandler.cpp:
(BlackBerry::WebKit::TouchEventHandler::handleTouchPoint):
- 1:08 PM Changeset in webkit [137347] by
-
- 2 edits in trunk/LayoutTests
Chromium test expectations update: narrow expecatations for now-passing tests
Unreviewed.
- platform/chromium/TestExpectations:
- 12:58 PM Changeset in webkit [137346] by
-
- 10 edits4 adds in trunk
[JSC] Add tests for explicit serialization values
https://bugs.webkit.org/show_bug.cgi?id=104423
Patch by Michael Pruett <michael@68k.org> on 2012-12-11
Reviewed by Oliver Hunt.
Add tests for serialization and deserialization mechanisms of
the JSC implementation of SerializedScriptValue. Similar tests
already exist for the V8 implementation.
.:
- Source/autotools/symbols.filter:
Source/WebCore:
Test: platform/jsc/fast/storage/serialized-script-value.html
- WebCore.exp.in:
- testing/Internals.cpp:
(WebCore::Internals::serializeObject):
(WebCore::Internals::deserializeBuffer):
Source/WebKit2:
- win/WebKit2.def.in:
LayoutTests:
- fast/storage/resources/serialized-script-value.js: Added utility functions common to both V8 and JSC tests.
- fast/storage/serialized-script-value-expected.txt: Added.
- fast/storage/serialized-script-value.html: Added.
- platform/chromium/TestExpectations: Excluded new JSC-specific test.
- platform/chromium/fast/storage/serialized-script-value.html: Moved utility functions into fast/storage/resources/serialized-script-value.js.
- 12:55 PM Changeset in webkit [137345] by
-
- 2 edits in trunk/Source/WebCore
Cleanup: Use consistent naming in CSSParser when dealing with the forward slash operator.
https://bugs.webkit.org/show_bug.cgi?id=104699
Reviewed by Daniel Bates.
http://trac.webkit.org/changeset/136525 added an helper function to
check if a CSSParserValue is a forward slash operator.
BorderImageParseContext is also dealing with the forward slash operator
but its naming is inconsistent with isForwardSlashOperator(). This is
fixed with this patch where BorderImageParseContext::{allowSlash,
commitSlash}() is now replaced by BorderImageParseContext::{allowForwardSlashOperator,
commitForwardSlashOperator}().
No new tests : just a renaming, covered by existing tests..
- css/CSSParser.cpp:
(WebCore::CSSParser::parseFillPosition): A little fixup on the way, use
isForwardSlashOperator() instead of the current code here.
(WebCore::BorderImageParseContext::BorderImageParseContext):
(WebCore::BorderImageParseContext::allowForwardSlashOperator):
(WebCore::BorderImageParseContext::commitImage):
(WebCore::BorderImageParseContext::commitImageSlice):
(WebCore::BorderImageParseContext::commitForwardSlashOperator):
(WebCore::BorderImageParseContext::commitBorderWidth):
(WebCore::BorderImageParseContext::commitBorderOutset):
(WebCore::BorderImageParseContext::commitRepeat):
(BorderImageParseContext):
(WebCore::CSSParser::parseBorderImage):
- 12:54 PM Changeset in webkit [137344] by
-
- 2 edits in trunk/Source/WebCore
2012-12-11 Nate Chapin <Nate Chapin>
cr-linux valgrind is showing leaks due to r137333.
Rubber-stamped by Antti Koivisto.
MainResourceLoader's destructor should call m_resource->removeClient(this) is m_resource is still non-null.
The missing removeClient() call will leak the CachedResource.
No new tests, should shut valgrind up.
- loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::~MainResourceLoader):
- 12:54 PM Changeset in webkit [137343] by
-
- 8 edits in trunk
nrwt isn't rejecting unrecognized expectations
https://bugs.webkit.org/show_bug.cgi?id=104701
Reviewed by Ojan Vafai.
Tools:
NRWT is silently ignoring unrecognized expectations like "Text"
and "Audio" (largely because I haven't fully removed support for
the old syntax and keywords and restructured the code to do the
proper checking). Temporarily change the tokenizer to reject
unrecognized expectations until I can make those changes.
- Scripts/webkitpy/layout_tests/models/test_expectations.py:
(TestExpectationParser._tokenize_line):
- Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
(ExpectationSyntaxTests.test_unknown_expectation):
(TestExpectationSerializationTests.disabled_test_string_whitespace_stripping):
LayoutTests:
Remove a few lines referring to non-existent files, and
change a few "Fail" and "Text" expectations to "Failure" now
that "Fail" and "Text" will be correctly rejected.
- platform/mac/TestExpectations
- platform/qt/TestExpectations
- platform/gtk/TestExpectations
- platform/win/TestExpectations
- 12:49 PM Changeset in webkit [137342] by
-
- 7 edits in trunk/Source/WebKit2
Initialize new web processes with list of auto-start origins for plug-ins
https://bugs.webkit.org/show_bug.cgi?id=103219
<rdar://problem/12747219>
Reviewed by Anders Carlsson.
Serialize the set of hashes into a vector as a parameter in web process creation.
- Shared/WebProcessCreationParameters.h: Add a parameter for the origin hashes.
- Shared/WebProcessCreationParameters.cpp: Encode/decode that parameter.
(WebKit::WebProcessCreationParameters::encode):
(WebKit::WebProcessCreationParameters::decode):
- UIProcess/Plugins/PlugInAutoStartProvider.cpp:
(WebKit::PlugInAutoStartProvider::autoStartOriginsCopy): Return a vector copy with contents from the
hash set.
- UIProcess/Plugins/PlugInAutoStartProvider.h:
(PlugInAutoStartProvider):
- UIProcess/WebContext.cpp:
(WebKit::WebContext::createNewWebProcess): Populate the parameter with the contents of the set.
- WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeWebProcess): Add the items in the vector to the web process' copy of the set.
- 12:46 PM Changeset in webkit [137341] by
-
- 3 edits2 adds in trunk
REGRESSION(r133492): Heap-use-after-free in WebCore::Element::normalizeAttributes
<http://webkit.org/b/104488>
Reviewed by Antti Koivisto.
Source/WebCore:
Don't cache the AttrNodeList* in a local when iterating over an Element's Attr nodes since
that pointer may go stale if JS runs in response to a DOMSubtreeModified event below Node::normalize().
Test: fast/dom/normalize-attributes-mutation-event-crash.html
- dom/Element.cpp:
(WebCore::Element::normalizeAttributes):
LayoutTests:
- fast/dom/normalize-attributes-mutation-event-crash-expected.txt: Added.
- fast/dom/normalize-attributes-mutation-event-crash.html: Added.
- 12:35 PM Changeset in webkit [137340] by
-
- 3 edits in trunk/LayoutTests
Updating these test results after http://trac.webkit.org/changeset/137006
These tests have WK2-only results because WK2 forces compositing for fixed
position elements in WK2 but not WK1.
- platform/mac-wk2/compositing/rtl/rtl-fixed-expected.txt:
- platform/mac-wk2/compositing/rtl/rtl-fixed-overflow-expected.txt:
- 12:06 PM Changeset in webkit [137339] by
-
- 2 edits in trunk/LayoutTests
Fix bogus test expectations
Unreviewed.
There were a bunch of uses of "Text" when they should have said "Failure".
- platform/chromium/TestExpectations:
- 11:02 AM Changeset in webkit [137338] by
-
- 2 edits in trunk/Tools
Fix a typo in my previous commit that is causing test failures.
Reviewed by Gustavo Noronha Silva.
There was an extra bit of statement appended after the end of a conditional. Somehow
this compiled and caused test failures.
- DumpRenderTree/gtk/EventSender.cpp:
(continuousMouseScrollByCallback):
- 10:58 AM Changeset in webkit [137337] by
-
- 2 edits in trunk/Source/WebCore
[GTK] Soup network logs are frequently interrupted by other logging messages
https://bugs.webkit.org/show_bug.cgi?id=104668
Patch by Jonathon Jongsma <jonathon.jongsma@collabora.co.uk> on 2012-12-11
Reviewed by Martin Robinson.
Set an external soup log printer that uses the WebKit logging
infrastructure so that log messages are properly synchronized.
- platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::soupLogPrinter):
(WebCore):
(WebCore::ensureSessionIsInitialized):
- 10:53 AM Changeset in webkit [137336] by
-
- 31 edits4 adds in trunk
Switch to new PseudoElement based :before and :after
https://bugs.webkit.org/show_bug.cgi?id=104462
Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-12-11
Reviewed by Antti Koivisto.
Source/WebCore:
Switch to the new PseudoElement based generated content implementation
that moves :before and :after into the DOM. This also switches to using
the ComposedShadowTreeWalker for determining the siblings of PseudoElement's
making the new generated content implementation support adding :before
and :after into <input> elements.
Tests: fast/css-generated-content/block-inside-inline.html
fast/css-generated-content/box-orient.html
- dom/ComposedShadowTreeWalker.cpp:
(WebCore::ComposedShadowTreeWalker::pseudoAwareNextSibling):
(WebCore):
(WebCore::ComposedShadowTreeWalker::pseudoAwarePreviousSibling):
(WebCore::ComposedShadowTreeWalker::traverseParent):
- dom/ComposedShadowTreeWalker.h:
(ComposedShadowTreeWalker):
- dom/Element.cpp:
(WebCore::Element::attach):
(WebCore::Element::recalcStyle):
- dom/Node.cpp:
- dom/Node.h:
(Node):
- dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::nextRenderer):
(WebCore::NodeRenderingContext::previousRenderer):
(WebCore::NodeRenderingContext::createRendererForElementIfNeeded):
- dom/Position.cpp:
(WebCore::Position::Position):
(WebCore::Position::hasRenderedNonAnonymousDescendantsWithHeight):
- editing/visible_units.cpp:
(WebCore::logicallyPreviousBox):
(WebCore::logicallyNextBox):
(WebCore::startPositionForLine):
(WebCore::endPositionForLine):
- html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::childShouldCreateRenderer):
- page/DragController.cpp:
(WebCore::DragController::draggableNode):
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::styleDidChange):
(WebCore::RenderBlock::splitBlocks):
(WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
(WebCore::RenderBlock::createReplacementRunIn):
(WebCore::RenderBlock::isSelectionRoot):
- rendering/RenderBlock.h:
(RenderBlock):
- rendering/RenderButton.cpp:
- rendering/RenderButton.h:
(RenderButton):
- rendering/RenderInline.cpp:
(WebCore::RenderInline::styleDidChange):
(WebCore::RenderInline::addChildIgnoringContinuation):
(WebCore::RenderInline::splitInlines):
- rendering/RenderListItem.cpp:
(WebCore::RenderListItem::updateMarkerLocation):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::createVisiblePosition):
- rendering/RenderObject.h:
(WebCore::RenderObject::nonPseudoNode):
(RenderObject):
(WebCore::RenderObject::clearNode):
(WebCore::RenderObject::generatingNode):
- rendering/RenderObjectChildList.cpp:
- rendering/RenderObjectChildList.h:
(RenderObjectChildList):
- rendering/RenderRubyText.cpp:
- rendering/RenderRubyText.h:
(RenderRubyText):
- rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::styleDidChange):
- rendering/RenderTableRow.h:
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::addChild):
- rendering/RenderWidget.cpp:
(WebCore::RenderWidget::destroy):
LayoutTests:
Add test for block generated content inside inlines which is now supported
properly, and also for using box-orient and reordering.
before-content-continuation.html's expectations change because we now
support block content properly.
I skipped fast/css-generated-content/table-row-group-to-inline.html
which needs a rebaseline after this this lands. Unfortunately the test
output is still wrong because we leave an anonymous RenderTable in the
tree, but that bug has always been there.
I also skipped fast/css/empty-generated-content.html which needs rebaselines
as we no longer create extra anonymous blocks, though the reason is not clear
to me.
- fast/css-generated-content/before-content-continuation-chain-expected.txt:
- fast/css-generated-content/block-inside-inline-expected.html: Added.
- fast/css-generated-content/block-inside-inline.html: Added.
- fast/css-generated-content/box-orient-expected.html: Added.
- fast/css-generated-content/box-orient.html: Added.
- platform/chromium/TestExpectations:
- platform/mac/TestExpectations:
- 10:46 AM Changeset in webkit [137335] by
-
- 2 edits in trunk/Source/Platform
[chromium] Remove deprecated WebGraphicsContext3D entry points
https://bugs.webkit.org/show_bug.cgi?id=104603
Patch by James Robinson <jamesr@chromium.org> on 2012-12-11
Reviewed by Darin Fisher.
- chromium/public/WebGraphicsContext3D.h:
(WebGraphicsContext3D):
- 10:45 AM Changeset in webkit [137334] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] Clean up unused defaultViewportArguments in RenderThemeBlackBerry.cpp
https://bugs.webkit.org/show_bug.cgi?id=104683
Reviewed by Rob Buis.
- platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore::determineFullScreenMultiplier):
- 10:28 AM Changeset in webkit [137333] by
-
- 15 edits in trunk
Route main resource loads through the memory cache.
https://bugs.webkit.org/show_bug.cgi?id=49246
Reviewed by Antti Koivisto.
Source/WebCore:
Note that this patch doesn't actually enable caching of main resources. That will be done in a later patch.
The MainResourceLoader actually has an underlying SubresourceLoader (with the cache layer between them).
In several places, the MainResourceLoader's SubresourceLoader is treated as special.
No new tests, as this is primarily a refactor. A couple of expected results changed slightly.
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::setRequest):
(WebCore::DocumentLoader::subresource):
(WebCore::DocumentLoader::addSubresourceLoader): Because the SubresourceLoader underlying the main resource
needs special handling in certain cases, track it separately from the real SubresourceLoaders.
(WebCore::DocumentLoader::removeSubresourceLoader):
(WebCore::DocumentLoader::startLoadingMainResource):
- loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::MainResourceLoader):
(WebCore::MainResourceLoader::receivedError):
(WebCore::MainResourceLoader::cancel):
(WebCore::MainResourceLoader::clearResource):
(WebCore):
(WebCore::MainResourceLoader::frameLoader):
(WebCore::MainResourceLoader::request):
(WebCore::MainResourceLoader::continueAfterNavigationPolicy):
(WebCore::MainResourceLoader::resourceData):
(WebCore::MainResourceLoader::redirectReceived):
(WebCore::MainResourceLoader::willSendRequest):
(WebCore::MainResourceLoader::continueAfterContentPolicy):
(WebCore::MainResourceLoader::responseReceived):
(WebCore::MainResourceLoader::dataReceived):
(WebCore::MainResourceLoader::didFinishLoading):
(WebCore::MainResourceLoader::notifyFinished):
(WebCore::MainResourceLoader::reportMemoryUsage):
(WebCore::MainResourceLoader::handleSubstituteDataLoadNow):
(WebCore::MainResourceLoader::load):
(WebCore::MainResourceLoader::setDefersLoading):
(WebCore::MainResourceLoader::defersLoading):
(WebCore::MainResourceLoader::setShouldBufferData):
(WebCore::MainResourceLoader::loader):
(WebCore::MainResourceLoader::identifier):
- loader/MainResourceLoader.h:
(MainResourceLoader):
(WebCore::MainResourceLoader::documentLoader):
- loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::willSendRequest):
- loader/ResourceLoader.h:
(WebCore::ResourceLoader::defersLoading):
(WebCore::ResourceLoader::cancelled):
- loader/appcache/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse):
(WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError):
- loader/mac/DocumentLoaderMac.cpp:
(WebCore::DocumentLoader::schedule):
(WebCore::DocumentLoader::unschedule):
LayoutTests:
- http/tests/inspector/resource-parameters.html: The main resource's url will exclude the fragment identifier here.
- http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt: The error code for loads cancelled
by an embedder's willSendRequest() will show as standard load cancellations rather than as a content policy
failure. This was an odd quirk of how MainResourceLoader::willSendRequest() was implemented (namely, doing a
content policy check on ResourceRequests with empty urls).
- platform/chromium/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt: See previous.
- 10:23 AM Changeset in webkit [137332] by
-
- 5 edits6 adds in trunk
Update MediaSource to allow append() calls in "ended" state.
https://bugs.webkit.org/show_bug.cgi?id=104581
Reviewed by Eric Carlson.
Source/WebCore:
Updated append and setTimestampOffset to allow appending in the "ended" readyState. An append() call
in the "ended" state now triggers a transition to the "open" state and allows the append to succeed.
Tests: http/tests/media/media-source/video-media-source-append-in-ended-state.html
http/tests/media/media-source/video-media-source-append-with-offset-in-ended-state.html
http/tests/media/media-source/video-media-source-zero-byte-append-in-ended-state.html
- Modules/mediasource/MediaSource.cpp:
(WebCore::MediaSource::append):
(WebCore::MediaSource::setTimestampOffset):
LayoutTests:
- Removed old test case that verified appending in "ended" state failed.
- Added 3 new test cases that verify append behavior in the "ended" state.
- http/tests/media/media-source/video-media-source-add-and-remove-buffers-expected.txt:
- http/tests/media/media-source/video-media-source-add-and-remove-buffers.html:
- http/tests/media/media-source/video-media-source-append-in-ended-state-expected.txt: Added.
- http/tests/media/media-source/video-media-source-append-in-ended-state.html: Added.
- http/tests/media/media-source/video-media-source-append-with-offset-in-ended-state-expected.txt: Added.
- http/tests/media/media-source/video-media-source-append-with-offset-in-ended-state.html: Added.
- http/tests/media/media-source/video-media-source-zero-byte-append-in-ended-state-expected.txt: Added.
- http/tests/media/media-source/video-media-source-zero-byte-append-in-ended-state.html: Added.
- 10:14 AM Changeset in webkit [137331] by
-
- 3 edits20 adds in trunk
REGRESSION(r121789): Text not wrapping in presence of floating objects
https://bugs.webkit.org/show_bug.cgi?id=101803
Reviewed by David Hyatt.
Source/WebCore:
When determining if a line needs to offset to avoid any floats use RenderBlock::lineHeight()
to estimate the height of the line. If the container has floats stacked up with different widths
that straddle the line, using a height of zero will make the first line think it has
more width available than it actually does and it will end up extruding from its container.
The logic for finding the offset of inline blocks and images needs to use a similar heuristic.
So nextLineBreak() now updates the available width if it encounters a replaced element (e.g. inline block,
image) at the start of a line, using the height of the element to decide which floats to avoid.
RenderBlock::computeInlineDirectionPositionsForLine() does the same thing when laying out the line.
Tests: fast/block/float/floats-offset-image-quirk-lineheight.html
fast/block/float/floats-offset-image-quirk.html
fast/block/float/floats-offset-image-strict-lineheight.html
fast/block/float/floats-offset-image-strict.html
fast/block/float/floats-offset-inline-block-quirk-lineheight.html
fast/block/float/floats-offset-inline-block-strict-lineheight.html
fast/block/float/floats-offset-linebox-contain-block.html
fast/block/float/floats-offset-linebox-contain-inline.html
fast/block/float/floats-wrap-inside-inline-006.html
fast/block/float/floats-wrap-inside-inline-007.html
- rendering/RenderBlockLineLayout.cpp:
(LineWidth):
(WebCore::logicalHeightForLine):
This method needs to cope with the quirk where an image alone on a line will get its descent stripped away so
ignore the height of the line and use the height of the image in that case.
(WebCore::LineWidth::updateAvailableWidth):
(WebCore::updateLogicalInlinePositions):
(WebCore):
(WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
(WebCore::RenderBlock::computeInlineDirectionPositionsForSegment):
(WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
LayoutTests:
- fast/block/float/floats-offset-image-quirk-expected.html: Added.
- fast/block/float/floats-offset-image-quirk-lineheight-expected.html: Added.
- fast/block/float/floats-offset-image-quirk-lineheight.html: Added.
- fast/block/float/floats-offset-image-quirk.html: Added.
- fast/block/float/floats-offset-image-strict-expected.html: Added.
- fast/block/float/floats-offset-image-strict-lineheight-expected.html: Added.
- fast/block/float/floats-offset-image-strict-lineheight.html: Added.
- fast/block/float/floats-offset-image-strict.html: Added.
- fast/block/float/floats-offset-inline-block-quirk-lineheight-expected.html: Added.
- fast/block/float/floats-offset-inline-block-quirk-lineheight.html: Added.
- fast/block/float/floats-offset-inline-block-strict-lineheight-expected.html: Added.
- fast/block/float/floats-offset-inline-block-strict-lineheight.html: Added.
- fast/block/float/floats-offset-linebox-contain-block-expected.html: Added.
- fast/block/float/floats-offset-linebox-contain-block.html: Added.
- fast/block/float/floats-offset-linebox-contain-inline-expected.html: Added.
- fast/block/float/floats-offset-linebox-contain-inline.html: Added.
- fast/block/float/floats-wrap-inside-inline-006-expected.html: Added.
- fast/block/float/floats-wrap-inside-inline-006.html: Added.
- fast/block/float/floats-wrap-inside-inline-007-expected.html: Added.
- fast/block/float/floats-wrap-inside-inline-007.html: Added.
- 10:13 AM Changeset in webkit [137330] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
https://bugs.webkit.org/show_bug.cgi?id=104615
Reviewed by Tony Chang.
Ensure passed pointer is treated with ownership semantics.
- src/WebIDBCallbacksImpl.cpp:
(WebKit::WebIDBCallbacksImpl::onSuccess):
- 9:58 AM Changeset in webkit [137329] by
-
- 47 edits1 copy in trunk
[GTK] Install GObject DOM bindings headers in its own directory
https://bugs.webkit.org/show_bug.cgi?id=104663
Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2012-12-11
Reviewed by Gustavo Noronha Silva.
.:
- GNUmakefile.am: Add GENSOURCES_WEBKITDOM and
webkitgtk_gdom_built_h_api variables.
Source/WebCore:
Move the headers from webkit to webkitdom directory.
- bindings/gobject/GNUmakefile.am:
- bindings/gobject/WebKitDOMBinding.h:
- bindings/gobject/WebKitDOMCustom.h:
- bindings/gobject/WebKitDOMEventTarget.h:
- bindings/gobject/WebKitDOMEventTargetPrivate.h:
- bindings/gobject/WebKitDOMObject.h:
- bindings/scripts/CodeGeneratorGObject.pm:
(Generate):
(WriteData):
- bindings/scripts/gobject-generate-headers.pl:
- bindings/scripts/test/GObject/WebKitDOMFloat64Array.h:
- bindings/scripts/test/GObject/WebKitDOMFloat64ArrayPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.h:
- bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObjectPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
- bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.h:
- bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetterPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.h:
- bindings/scripts/test/GObject/WebKitDOMTestEventConstructorPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestEventTarget.h:
- bindings/scripts/test/GObject/WebKitDOMTestEventTargetPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestException.h:
- bindings/scripts/test/GObject/WebKitDOMTestExceptionPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestInterface.h:
- bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h:
- bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.h:
- bindings/scripts/test/GObject/WebKitDOMTestNamedConstructorPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestNode.h:
- bindings/scripts/test/GObject/WebKitDOMTestNodePrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestObj.h:
- bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.h:
- bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructorsPrivate.h:
- bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:
- bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterfacePrivate.h:
Source/WebKit/gtk:
- GNUmakefile.am: Add webkitdom.h.
- webkit/webkitdom.h: Compatibility header just including the new
one.
- webkit/webkitwebframe.cpp: Update includes.
- webkit/webkitwebframe.h: Ditto.
- webkit/webkitwebinspector.cpp: Ditto.
- webkit/webkitwebinspector.h: Ditto.
- webkit/webkitwebview.cpp: Ditto.
- webkit/webkitwebview.h: Ditto.
- 9:41 AM Changeset in webkit [137328] by
-
- 3 edits in trunk/Source/WebKit2
CoreIPC: ArgumentEncoder should have an inline buffer.
<http://webkit.org/b/104622>
Reviewed by Anders Carlsson.
Add a 4K inline buffer to CoreIPC::ArgumentEncoder to avoid malloc/free churn.
It was dominating the transient allocations graph in Instruments.
- Platform/CoreIPC/ArgumentEncoder.cpp:
(CoreIPC::ArgumentEncoder::ArgumentEncoder):
(CoreIPC::ArgumentEncoder::grow):
- Platform/CoreIPC/ArgumentEncoder.h:
(CoreIPC::ArgumentEncoder::buffer):
(ArgumentEncoder):
(CoreIPC::ArgumentEncoder::usesInlineBuffer):
- 9:38 AM Changeset in webkit [137327] by
-
- 5 edits in trunk/Source
[Chromium] Clean up unused interfaces in PlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=104674
Reviewed by Darin Fisher.
Source/WebCore:
Part of a refactoring series. See tracking bug 82948. Also, there
were some function declarations that were supposed to be removed
as part of bug 102699 but got left out of the final patch.
- platform/chromium/PlatformSupport.h:
(WebCore):
(PlatformSupport):
Source/WebKit/chromium:
Part of a refactoring series. See tracking bug 82948.
- public/platform/WebKitPlatformSupport.h:
- src/PlatformSupport.cpp:
- 9:34 AM Changeset in webkit [137326] by
-
- 3 edits in trunk/Source/WebCore
[GTK] Update GraphicsLayerClutter
https://bugs.webkit.org/show_bug.cgi?id=92045
Patch by Joone Hur <joone.hur@intel.com>, Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2012-12-11
Reviewed by Gustavo Noronha Silva.
Add more methods to GraphicsLayerClutter in order to run CSS 3D transforms
by using GraphicsLayerActor.
No new tests. This will be covered by pixel tests for Qt and GTK+ accelerated
compositing and 3D transforms.
- platform/graphics/clutter/GraphicsLayerClutter.cpp:
(WebCore):
(WebCore::GraphicsLayerClutter::GraphicsLayerClutter):
(WebCore::idleDestroy):
(WebCore::GraphicsLayerClutter::~GraphicsLayerClutter):
(WebCore::GraphicsLayerClutter::setName):
(WebCore::GraphicsLayerClutter::platformLayer): Returns the platform layer(ClutterAcotr).
(WebCore::GraphicsLayerClutter::setNeedsDisplay): Update the display.
(WebCore::GraphicsLayerClutter::setNeedsDisplayInRect): Update part of the Display.
(WebCore::GraphicsLayerClutter::setAnchorPoint):
(WebCore::GraphicsLayerClutter::setPosition):
(WebCore::GraphicsLayerClutter::setSize):
(WebCore::GraphicsLayerClutter::setTransform):
(WebCore::GraphicsLayerClutter::setDrawsContent):
(WebCore::GraphicsLayerClutter::setParent):
(WebCore::GraphicsLayerClutter::setChildren):
(WebCore::GraphicsLayerClutter::addChild):
(WebCore::GraphicsLayerClutter::addChildAtIndex):
(WebCore::GraphicsLayerClutter::addChildBelow):
(WebCore::GraphicsLayerClutter::addChildAbove):
(WebCore::GraphicsLayerClutter::replaceChild):
(WebCore::GraphicsLayerClutter::removeFromParent):
(WebCore::GraphicsLayerClutter::platformClutterLayerPaintContents):
(WebCore::GraphicsLayerClutter::platformClutterLayerAnimationStarted):
(WebCore::GraphicsLayerClutter::repaintLayerDirtyRects):
(WebCore::GraphicsLayerClutter::computePositionRelativeToBase):
(WebCore::GraphicsLayerClutter::flushCompositingState): Synchronize the corresponding Actors with the current
compositing states of this GraphicsLayer and its child layers.
(WebCore::GraphicsLayerClutter::recursiveCommitChanges):
(WebCore::GraphicsLayerClutter::flushCompositingStateForThisLayerOnly): Commit batched changes non-recursively.
(WebCore::GraphicsLayerClutter::commitLayerChangesAfterSublayers): Reset layer changes after we recurse on children.
(WebCore::GraphicsLayerClutter::noteSublayersChanged):
(WebCore::GraphicsLayerClutter::noteLayerPropertyChanged):
(WebCore::GraphicsLayerClutter::commitLayerChangesBeforeSublayers): Commit layer changes before we recurse on children.
(WebCore::GraphicsLayerClutter::updateGeometry): Updated the position and size of the Actor.
(WebCore::GraphicsLayerClutter::updateSublayerList): Updated the list of child Actors.
(WebCore::GraphicsLayerClutter::updateLayerNames):
(WebCore::GraphicsLayerClutter::updateTransform):
(WebCore::GraphicsLayerClutter::updateLayerDrawsContent):
(WebCore::GraphicsLayerClutter::layerForSuperlayer):
- platform/graphics/clutter/GraphicsLayerClutter.h:
(WebCore):
(WebCore::GraphicsLayerClutter::primaryLayer):
(GraphicsLayerClutter):
- 9:16 AM Changeset in webkit [137325] by
-
- 2 edits in trunk/Tools
[GTK] Spurious stderr output from the event sender
https://bugs.webkit.org/show_bug.cgi?id=104678
Reviewed by Gustavo Noronha Silva.
Eliminate some spurious stderr output from the EventSender by using an early return
instead of an assertion that prints a warning to the console.
- DumpRenderTree/gtk/EventSender.cpp:
(continuousMouseScrollByCallback): We don't support continuous scroll events that
move by page, but we should just fail silently instead of printing an error.
- 9:15 AM Changeset in webkit [137324] by
-
- 2 edits in trunk/Source/WebCore
Revert incorrect build fix.
- WebCore.exp.in:
- 9:04 AM Changeset in webkit [137323] by
-
- 3 edits1 delete in trunk/LayoutTests
Attempt to rebaseline move-by-line-001, which has become less flaky.
Unreviewed gardening.
- platform/chromium-mac-lion/editing/selection/move-by-line-001-expected.png:
- platform/chromium-mac-snowleopard/editing/selection/move-by-line-001-expected.png: Removed.
- platform/chromium/TestExpectations:
- 8:45 AM Changeset in webkit [137322] by
-
- 3 edits3 adds in trunk/LayoutTests
[EFL] Update http/tests/multipart results now that we have soup multipart support
https://bugs.webkit.org/show_bug.cgi?id=104671
Unreviewed gardening: r137150 added soup multipart support and updated
soup. This makes a few tests green. Also, multipart-wait-before-boundary.html
is a duplicate result with wk2 TestExpectations.
Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-12-11
- platform/efl/TestExpectations:
- platform/efl/http/tests/multipart/invalid-image-data-standalone-expected.png: Added.
- platform/efl/http/tests/multipart/invalid-image-data-standalone-expected.txt: Added.
- platform/efl-wk1/TestExpectations:
- 8:43 AM Changeset in webkit [137321] by
-
- 2 edits in trunk/Source/WebCore
Fix the Mac build after r137261
- WebCore.exp.in:
- 8:27 AM Changeset in webkit [137320] by
-
- 2 edits in trunk/LayoutTests
[GTK] Fixing tests after removing default media stream sport
https://bugs.webkit.org/show_bug.cgi?id=104658
Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2012-12-11
Reviewed by Philippe Normand.
Updated test expections for fast/js/global-constructors.
- platform/gtk/fast/js/global-constructors-expected.txt: Updated
expectations.
- 8:20 AM Changeset in webkit [137319] by
-
- 4 edits2 adds in trunk
[GTK] Add GraphicsLayerActor
https://bugs.webkit.org/show_bug.cgi?id=91940
Source/WebCore:
Patch by Joone Hur <joone.hur@intel.com>, Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2012-12-11
Reviewed by Gustavo Noronha Silva.
GraphicsLayerActor, which is a new ClutterActor, represents a node in the GPU-renderable layer tree
when accelerated compositing is enabled with Clutter as acceleration backend.
This patch allows to support basic features of CSS 3D Transforms.
No new tests. This will be covered by pixel tests for Qt and GTK+ accelerated
compositing and 3D transforms.
- GNUmakefile.list.am:
- platform/graphics/clutter/GraphicsLayerActor.cpp: Added.
(_GraphicsLayerActorPrivate):
(graphics_layer_actor_class_init): GObject configuration of a new Clutter Actor.
(graphics_layer_actor_init): Initialization of the private data of this actor.
(graphicsLayerActorSetProperty): GObject property setter.
(graphicsLayerActorGetProperty): GObject property getter.
(graphicsLayerActorDispose): Called to drop all references to other objects.
(graphicsLayerActorAllocate): Called to set the coordinates of an actor.
(graphicsLayerActorApplyTransform): Applying the transformation to an actor before painting it.
(graphicsLayerActorPaint): Called to paint the actor.
(graphicsLayerActorDraw): Called each time a ClutterCairoTexture has been invalidated.
(graphicsLayerActorAdded): Called each time an actor has been added to container.
(graphicsLayerActorRemoved): Called each time an actor is removed from container.
(graphicsLayerActorNew): Create a specific layer type of GraphicsLayerActor object.
(graphicsLayerActorNewWithClient): Create a specific layer type of GraphicsLayerActor object with
its PlatformClutterClientLayer.
(graphicsLayerActorSetClient): Added setter to set the PlatformClutterClientLayer.
(graphicsLayerActorGetClient): Added getter to get the PlatformClutterClientLayer.
(graphicsLayerActorRemoveAll): Remove all child actors.
(graphicsLayerUpdateTexture): Create a ClutterCairoTexture.
(graphicsLayerActorGetSurface): Added setter to set a cairo_surface_t.
(graphicsLayerActorSetSurface): Added getter to get the cairo_surface_t.
(graphicsLayerActorInvalidateRectangle):
(graphicsLayerActorSetTransform): Set a CoglMatrix to apply matrix transform.
(graphicsLayerActorSetAnchorPoint):
(graphicsLayerActorGetAnchorPoint):
(graphicsLayerActorSetScrollPosition):
(graphicsLayerActorGetnChildren):
(graphicsLayerActorReplaceSublayer):
(graphicsLayerActorInsertSublayer):
(graphicsLayerActorSetSublayers):
(graphicsLayerActorGetLayerType):
(graphicsLayerActorSetLayerType):
(graphicsLayerActorSetTranslateX):
(graphicsLayerActorGetTranslateX):
(graphicsLayerActorSetTranslateY):
(graphicsLayerActorGetTranslateY):
(graphicsLayerActorSetDrawsContent): Added setter to paint content inside a layer.
(graphicsLayerActorGetDrawsContent): Added getter to get the value of the drawsContent.
- platform/graphics/clutter/GraphicsLayerActor.h: Added.
(_GraphicsLayerActor):
(_GraphicsLayerActorClass):
- platform/graphics/clutter/GraphicsLayerClutter.h:
(WebCore):
Tools:
Patch by Joone Hur <joone.hur@intel.com> on 2012-12-11
Reviewed by Gustavo Noronha Silva.
Add GraphicsLayerActor to the list of classes that contain GObjects
in the style checker script so that it does not complain about GObject
coding style.
- Scripts/webkitpy/style/checker.py:
- 8:10 AM Changeset in webkit [137318] by
-
- 97 edits1 add in trunk/Source
Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
https://bugs.webkit.org/show_bug.cgi?id=66371
Reviewed by Pavel Feldman.
Source/WebCore:
We can simplify console message generation a bit, as nothing outside the
Console object itself will generate messages of any type other than
LogMessageType. This patch refactors the externally-facing API endpoints
on ScriptExecutionContext and Console to drop the MessageType parameter,
moves the MessageType enum into a new InspectorConsoleTypes.h header,
and updates all the call sites (and ChromeClients) to drop the parameter
from their interfaces.
As a temporary bandage for ports using this interface, this patch
includes aliases for the new methods that retain the old interface.
I'll remove them in a future patch.
Here, we only refactor an internal interface. No tests should break.
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
We added a new file! OMG!
- Modules/webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::looping):
(WebCore::AudioBufferSourceNode::setLooping):
- Modules/webdatabase/AbstractDatabase.cpp:
(WebCore::AbstractDatabase::logErrorMessage):
- Modules/websockets/WebSocket.cpp:
(WebCore::WebSocket::connect):
(WebCore::WebSocket::send):
(WebCore::WebSocket::close):
(WebCore::WebSocket::setBinaryType):
- Modules/websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::fail):
(WebCore::WebSocketChannel::didFailSocketStream):
- bindings/js/JSCustomXPathNSResolver.cpp:
(WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
- bindings/v8/custom/V8CustomXPathNSResolver.cpp:
(WebCore::V8CustomXPathNSResolver::lookupNamespaceURI):
- css/MediaList.cpp:
(WebCore::addResolutionWarningMessageToConsole):
- dom/Document.cpp:
(WebCore::Document::logExceptionToConsole):
(WebCore::Document::processHttpEquiv):
(WebCore::Document::addMessage):
- dom/Document.h:
(Document):
- dom/ScriptElement.cpp:
(WebCore::ScriptElement::notifyFinished):
- dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::AddConsoleMessageTask::performTask):
(WebCore::ScriptExecutionContext::addConsoleMessage):
- dom/ScriptExecutionContext.h:
(ScriptExecutionContext):
(WebCore::ScriptExecutionContext::AddConsoleMessageTask::create):
(WebCore::ScriptExecutionContext::AddConsoleMessageTask::AddConsoleMessageTask):
- dom/ViewportArguments.cpp:
(WebCore::reportViewportWarning):
- fileapi/WebKitBlobBuilder.cpp:
(WebCore::BlobBuilder::append):
- html/HTMLFormControlElement.cpp:
(WebCore::shouldAutofocus):
- html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::validateInteractively):
- html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::parseAttribute):
- html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::canLoadUrl):
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::getImageData):
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::printWarningToConsole):
- html/parser/XSSAuditor.cpp:
(WebCore::XSSAuditor::init):
(WebCore::XSSAuditor::filterToken):
- inspector/ConsoleAPITypes.h: Added.
(WebCore):
- inspector/ConsoleMessage.h:
- inspector/InspectorConsoleAgent.h:
- inspector/InspectorDebuggerAgent.h:
- inspector/InspectorInstrumentation.cpp:
(WebCore):
- inspector/InspectorInstrumentation.h:
- inspector/InspectorProfilerAgent.cpp:
- loader/EmptyClients.h:
(WebCore::EmptyChromeClient::addMessageToConsole):
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::reportLocalLoadFailed):
(WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):
- loader/ImageLoader.cpp:
(WebCore::ImageLoader::notifyFinished):
- loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::didReceiveResponse):
- loader/MixedContentChecker.cpp:
(WebCore::MixedContentChecker::logWarning):
- loader/TextTrackLoader.cpp:
(WebCore::TextTrackLoader::corsPolicyPreventedLoad):
- loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::abort):
(WebCore::ApplicationCacheGroup::didReceiveResponse):
(WebCore::ApplicationCacheGroup::didFinishLoading):
(WebCore::ApplicationCacheGroup::didFail):
(WebCore::ApplicationCacheGroup::didReceiveManifestResponse):
(WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
(WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
- loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::printAccessDeniedMessage):
- page/ChromeClient.h:
(ChromeClient):
Drop LogMessageType from everywhere.
- page/Console.cpp:
(WebCore::Console::addMessage):
(WebCore::internalAddMessage):
(WebCore::Console::error):
(WebCore::Console::log):
(WebCore::Console::warn):
(WebCore::Console::dir):
(WebCore::Console::dirxml):
(WebCore::Console::clear):
(WebCore::Console::trace):
(WebCore::Console::assertCondition):
- page/Console.h:
(Console):
Create a new internalAddMessage that's used for the various
Console message types. Everything else routes through
::addMessage.
- page/ConsoleTypes.h:
Drop MessageTypes from this file, add it to ConsoleAPIType.h
- page/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::logToConsole):
- page/DOMWindow.cpp:
(WebCore::DOMWindow::dispatchMessageEventWithOriginCheck):
(WebCore::DOMWindow::printErrorMessage):
- page/EventSource.cpp:
(WebCore::EventSource::didReceiveResponse):
- svg/SVGDocumentExtensions.cpp:
(WebCore::reportMessage):
- workers/DefaultSharedWorkerRepository.cpp:
(SharedWorkerProxy):
(WebCore::postConsoleMessageTask):
(WebCore::SharedWorkerProxy::postConsoleMessageToWorkerObject):
- workers/SharedWorkerContext.cpp:
(WebCore::SharedWorkerContext::logExceptionToConsole):
- workers/WorkerContext.cpp:
(WebCore::WorkerContext::addMessage):
(WebCore::WorkerContext::addMessageToWorkerConsole):
- workers/WorkerContext.h:
(WorkerContext):
- workers/WorkerMessagingProxy.cpp:
(WebCore::postConsoleMessageTask):
(WebCore::WorkerMessagingProxy::postConsoleMessageToWorkerObject):
- workers/WorkerMessagingProxy.h:
(WorkerMessagingProxy):
- workers/WorkerReportingProxy.h:
(WorkerReportingProxy):
- xml/XMLHttpRequest.cpp:
(WebCore::logConsoleError):
(WebCore::XMLHttpRequest::send):
- xml/XSLTProcessorLibxslt.cpp:
(WebCore::XSLTProcessor::parseErrorFunc):
- xml/XSLTProcessorQt.cpp:
(WebCore::XSLTMessageHandler::handleMessage):
Drop LogMessageType from everywhere.
Source/WebKit/blackberry:
Drops WebCore::MessageType from the addMessageToConsole method.
- WebCoreSupport/ChromeClientBlackBerry.cpp:
(WebCore::ChromeClientBlackBerry::addMessageToConsole):
- WebCoreSupport/ChromeClientBlackBerry.h:
(ChromeClientBlackBerry):
Source/WebKit/chromium:
Drops WebCore::MessageType from the addMessageToConsole method, and all
the ancilliary places it touches.
Aliases postConsoleMessageToWorkerObject with the old interface in
order to maintain back-compat. Will remove it in a future patch once
Chromium is updated.
- public/WebSharedWorkerClient.h:
(WebSharedWorkerClient):
(WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
- src/ChromeClientImpl.cpp:
- src/ChromeClientImpl.h:
(ChromeClientImpl):
- src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::addMessageToConsole):
- src/WebPagePopupImpl.cpp:
- src/WebSharedWorkerImpl.cpp:
(WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
(WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
- src/WebSharedWorkerImpl.h:
(WebSharedWorkerImpl):
- src/WebWorkerClientImpl.cpp:
(WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
- src/WebWorkerClientImpl.h:
(WebWorkerClientImpl):
Source/WebKit/efl:
Drops WebCore::MessageType from the addMessageToConsole method.
- WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::addMessageToConsole):
- WebCoreSupport/ChromeClientEfl.h:
(ChromeClientEfl):
Source/WebKit/gtk:
Drops WebCore::MessageType from the addMessageToConsole method.
- WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::addMessageToConsole):
- WebCoreSupport/ChromeClientGtk.h:
(ChromeClient):
Source/WebKit/mac:
Drops WebCore::MessageType from the addMessageToConsole method.
- WebCoreSupport/WebChromeClient.h:
(WebChromeClient):
- WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::addMessageToConsole):
Source/WebKit/qt:
Drops WebCore::MessageType from the addMessageToConsole method.
- WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::addMessageToConsole):
- WebCoreSupport/ChromeClientQt.h:
(ChromeClientQt):
Source/WebKit/win:
Drops WebCore::MessageType from the addMessageToConsole method.
- WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::addMessageToConsole):
- WebCoreSupport/WebChromeClient.h:
(WebChromeClient):
Source/WebKit/wince:
Drops WebCore::MessageType from the addMessageToConsole method.
- WebCoreSupport/ChromeClientWinCE.cpp:
(WebKit::ChromeClientWinCE::addMessageToConsole):
- WebCoreSupport/ChromeClientWinCE.h:
(ChromeClientWinCE):
Source/WebKit2:
Drops WebCore::MessageLevel from the addMessageToConsole method.
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::addMessageToConsole):
- WebProcess/WebCoreSupport/WebChromeClient.h:
(WebChromeClient):
- 8:06 AM Changeset in webkit [137317] by
-
- 2 edits in trunk/Source/WebCore
[Qt] Unreviewed, rolling out r137313 and r137316 because they broke the system-sqlite build.
- WebCore.pri:
- 7:57 AM Changeset in webkit [137316] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed Qt build fix: Don't error out if SQLITE3SRCDIR isn't set but
we have a system sqlite to use.
- WebCore.pri:
- 7:50 AM Changeset in webkit [137315] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] Call createLocalStorageNamespace through Platform.h
https://bugs.webkit.org/show_bug.cgi?id=104675
Reviewed by Kentaro Hara.
Some #include cleanup missing from bug 85766. Part of a
refactoring series; see tracking bug 82948.
- src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespace::localStorageNamespace):
- 7:46 AM Changeset in webkit [137314] by
-
- 2 edits in trunk/Tools
[Qt] remove hack which avoids unused .obj directories all over the place
Patch by Oswald Buddenhagen <oswald.buddenhagen@digia.com> on 2012-12-11
Reviewed by Simon Hausmann.
The feature is subject to upstreaming in Qt itself in
https://codereview.qt-project.org/#change,42011
- qmake/mkspecs/features/default_post.prf:
- 7:33 AM Changeset in webkit [137313] by
-
- 2 edits in trunk/Source/WebCore
[Qt] make qtbase source requirement explicit
Patch by Oswald Buddenhagen <oswald.buddenhagen@digia.com> on 2012-12-11
Reviewed by Simon Hausmann.
getting rid of QT.<module>.sources references, as they don't go well
with real modularization.
- WebCore.pri:
- 7:30 AM Changeset in webkit [137312] by
-
- 4 edits in trunk
[Qt] move SQLITE3SRCDIR assignment to only use site
Patch by Oswald Buddenhagen <oswald.buddenhagen@digia.com> on 2012-12-11
Reviewed by Simon Hausmann.
Target.pri includes WebCore.pri the almost first thing, so that is
covered as well.
Source/WebCore:
- WebCore.pri:
Tools:
- qmake/mkspecs/features/default_pre.prf:
- 7:26 AM Changeset in webkit [137311] by
-
- 4 edits in trunk
[Qt] delete dead include paths
Patch by Oswald Buddenhagen <oswald.buddenhagen@digia.com> on 2012-12-11
Reviewed by Simon Hausmann.
followup to https://bugs.webkit.org/show_bug.cgi?id=93446
Source/JavaScriptCore:
- JavaScriptCore.pri:
Tools:
- DumpRenderTree/qt/DumpRenderTree.pro:
- 7:21 AM Changeset in webkit [137310] by
-
- 8 edits in trunk
[GTK] Implement some missing FrameLoaderClient message in DRT
https://bugs.webkit.org/show_bug.cgi?id=104444
Reviewed by Gustavo Noronha Silva.
Source/WebKit/gtk:
When in DumpRenderTree mode allow the DRT to install a FrameLoaderEvent callback
for events that we do not expose in the API. This will allow us to share more
results with WebKit2.
- WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
(DumpRenderTreeSupportGtk::setFrameLoadEventCallback): Added.
- WebCoreSupport/DumpRenderTreeSupportGtk.h:
- WebCoreSupport/FrameLoaderClientGtk.cpp: Use the new callback to deliver
events to DRT.
Tools:
Install a FrameLoadEvent callback that prints the necessary output for some
missing FrameLoader events.
- DumpRenderTree/gtk/DumpRenderTree.cpp:
(frameLoadEventCallback): Added.
(createWebView): Install the FrameLoader event callback.
LayoutTests:
Unskip a test which is now passing.
- platform/gtk/TestExpectations: Unskip a newly passing test.
- 7:18 AM Changeset in webkit [137309] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: Timeline: rename "Parse" to "Parse HTML".
https://bugs.webkit.org/show_bug.cgi?id=104639
Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2012-12-11
Reviewed by Yury Semikhatsky.
"Parse" sounds ambiguous, it could mean JSON.parse() or Date.parse().
"Parse HTML" is a much more clear record description.
- inspector/front-end/TimelinePresentationModel.js: Fix text.
- 7:17 AM BuildingGtk edited by
- (diff)
- 7:16 AM Changeset in webkit [137308] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
- DEPS:
- 7:14 AM Changeset in webkit [137307] by
-
- 5 edits in trunk
[Qt] change setup of QMAKE_MOC
Patch by Oswald Buddenhagen <oswald.buddenhagen@digia.com> on 2012-12-11
Reviewed by Simon Hausmann.
don't load(moc) explicitly - turns out that this breaks
debug_and_release builds (the feature does not like being loaded before
default_post has been loaded).
so instead just do a minimal call to find the moc executable.
as it's in fact only two files which need it, so de-centralize this call
for the sake of saving some cpu cycles spent in qmake.
Source/WebCore:
- DerivedSources.pri:
Tools:
- WebKitTestRunner/InjectedBundle/DerivedSources.pri:
- qmake/mkspecs/features/default_pre.prf:
- 6:38 AM Changeset in webkit [137306] by
-
- 2 edits in trunk/Tools
[Qt] Fix the linking of debug builds on Mac with force_static_libs_as_shared
https://bugs.webkit.org/show_bug.cgi?id=104559
Reviewed by Tor Arne Vestbø.
"contains(libraries, $$TARGET): return(true)" fails for intermediate libraries since
at this point TARGET may contain the "_debug" suffix.
Fix it by moving the TARGET adjustment later in the file.
- qmake/mkspecs/features/default_post.prf:
- 6:21 AM Changeset in webkit [137305] by
-
- 2 edits in trunk/Source/WebKit2
[EFL] Increase the timeout of the API unit tests
https://bugs.webkit.org/show_bug.cgi?id=104666
Reviewed by Kenneth Rohde Christiansen.
Palliative fix until we find out why the tests are taking so long.
- PlatformEfl.cmake:
- 6:11 AM Changeset in webkit [137304] by
-
- 3 edits in trunk/Source/WebKit2
[Qt][EFL][WK2] Resizing the window doesn't always result in right content position
https://bugs.webkit.org/show_bug.cgi?id=104416
Reviewed by Simon Hausmann.
Make sure the client is notified about position and scale changed done by us.
Rename the m_*IsLocked to m_pending*Change as that makes the code more obvious.
Patch verified with both Qt and EFL.
- UIProcess/PageViewportController.cpp:
(WebKit::PageViewportController::PageViewportController):
(WebKit::PageViewportController::didRenderFrame): Notify client and pixel align.
(WebKit::PageViewportController::didChangeContentsVisibility):
(WebKit::PageViewportController::didChangeViewportAttributes):
(WebKit::PageViewportController::applyScaleAfterRenderingContents):
(WebKit::PageViewportController::applyPositionAfterRenderingContents):
- UIProcess/PageViewportController.h:
(PageViewportController):
- 6:06 AM Changeset in webkit [137303] by
-
- 8 edits in trunk
REGRESSION(r136948): inspector/styles/import-pseudoclass-crash.html hits an assertion
https://bugs.webkit.org/show_bug.cgi?id=104473
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Avoid building full CSSOM wrappers up front during rule matching.
Instead, move this code down to the point where these wrappers are actually needed.
- inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::willMatchRule):
(WebCore::InspectorCSSAgent::willProcessRule):
- inspector/InspectorCSSAgent.h:
(WebCore):
(InspectorCSSAgent):
- inspector/InspectorInstrumentation.cpp:
(WebCore):
(WebCore::InspectorInstrumentation::willMatchRuleImpl):
(WebCore::InspectorInstrumentation::willProcessRuleImpl):
LayoutTests:
- platform/chromium/TestExpectations:
- platform/efl-wk2/TestExpectations:
- platform/qt/TestExpectations:
- 6:03 AM Changeset in webkit [137302] by
-
- 3 edits3 adds in trunk
WebKit tests for the Qt API should include tests of CMake config files
https://bugs.webkit.org/show_bug.cgi?id=104003
Patch by Stephen Kelly <stephen.kelly@kdab.com> on 2012-12-11
Reviewed by Simon Hausmann.
The Qt WebKit CI system is not going to run this test, but it can
be run locally and to test packages.
.:
- Source/tests.pri:
Source/WebKit/qt:
- tests/cmake/CMakeLists.txt: Added.
- tests/cmake/cmake.pro: Added.
- 5:59 AM Changeset in webkit [137301] by
-
- 3 edits in trunk/Source/WebCore
[GStreamer] Avoid linking to GStreamer video libraries if only using ENABLE_AUDIO
https://bugs.webkit.org/show_bug.cgi?id=104590
Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2012-12-11
Reviewed by Philippe Normand.
Make getVideoSizeAndFormatFromCaps() only available when ENABLE_VIDEO is set.
No new tests, no change in behavior.
- platform/graphics/gstreamer/GStreamerVersioning.cpp:
- platform/graphics/gstreamer/GStreamerVersioning.h:
- 5:53 AM Changeset in webkit [137300] by
-
- 4 edits in trunk
[Coverity] [GTK] Remove some redundant null checks in DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=104570
Reviewed by Daniel Bates.
Source/WebKit/gtk:
- WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
(DumpRenderTreeSupportGtk::elementDoesAutoCompleteForElementWithId): Remove a redundant null check.
Tools:
- DumpRenderTree/gtk/DumpRenderTree.cpp:
(descriptionSuitableForTestResult): Remove a redundant null check.
- 5:39 AM Changeset in webkit [137299] by
-
- 2 edits in trunk/LayoutTests
Unskip some tests that are now passing with the switch to the Harfbuzz backend.
- platform/gtk/TestExpectations: Unskip some recently passing tests.
- 5:37 AM Changeset in webkit [137298] by
-
- 2 edits in trunk/Source/WebCore
[Qt][Mac] Fix transparency for WebGL content.
https://bugs.webkit.org/show_bug.cgi?id=104659
When drawing a texture to the TextureMapper the flag SupportsBlending
must be passed in order to allow for transparent webgl content.
We are doing this for GLX already, but the flag was still missing
in GraphicsSurfaceMac.
Reviewed by Kenneth Rohde Christiansen.
- platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp:
(WebCore::GraphicsSurface::platformPaintToTextureMapper):
- 5:32 AM Changeset in webkit [137297] by
-
- 2 edits in trunk/LayoutTests
[Qt] Support third-party cookie policy for Qt clients
https://bugs.webkit.org/show_bug.cgi?id=45455
Unreviewed fixup.
window.location is not set for http tests in platform, so use a reset function
that doesn't rely on it.
- platform/qt/http/tests/cookies/strict-third-party-cookie-blocking.html:
- 5:12 AM Changeset in webkit [137296] by
-
- 4 edits in trunk/Tools
Remove unused GErrors
https://bugs.webkit.org/show_bug.cgi?id=104657
Patch by Alberto Garcia <agarcia@igalia.com> on 2012-12-11
Reviewed by Martin Robinson.
Replace unused GErrors with null pointers.
- DumpRenderTree/gtk/DumpRenderTree.cpp:
(initializeFonts):
- DumpRenderTree/gtk/EditingCallbacks.cpp:
(dumpRange):
- WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
(WTR::inititializeFontConfigSetting):
- 5:00 AM Changeset in webkit [137295] by
-
- 6 edits in trunk
Web Inspector: Duplicate emulated touch events in iframe
https://bugs.webkit.org/show_bug.cgi?id=104653
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Synthetic touch events should be dispatched only on the frame containing its target, not on its ancestor frames,
up to the top frame.
- page/EventHandler.cpp:
(WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled):
Do not dispatch a synthetic touch event on the current frame if its target is in a subframe.
LayoutTests:
The test incorrectly expected two synthetic touchend events from an iframe,
while only one touchstart and one touchend should be dispatched.
- fast/events/touch/emulated-touch-iframe-expected.txt:
- fast/events/touch/emulated-touch-iframe.html:
- fast/events/touch/resources/emulated-touch-iframe2.html:
- 4:54 AM Changeset in webkit [137294] by
-
- 5 edits in trunk/Source/WebCore
[EFL][WebGL] Regression(r137211) WebGL is broken with NVIDIA Drivers.
https://bugs.webkit.org/show_bug.cgi?id=104652.
Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2012-12-11
Reviewed by Kenneth Rohde Christiansen.
Reverting some of the changes from r137211, as it causes regressions
on NVIDIA drivers.
- platform/graphics/efl/GraphicsContext3DEfl.cpp:
(WebCore::GraphicsContext3D::GraphicsContext3D):
- platform/graphics/efl/GraphicsContext3DPrivate.cpp:
(GraphicsContext3DPrivate::copyToGraphicsSurface):
- platform/graphics/opengl/GLPlatformSurface.cpp:
(WebCore::GLPlatformSurface::updateContents):
- platform/graphics/opengl/GLPlatformSurface.h:
(GLPlatformSurface):
- 4:53 AM Changeset in webkit [137293] by
-
- 12 edits in trunk/Source/WebKit2
[CoordinatedGraphics] Use unsigned integers for UpdateAtlas IDs
https://bugs.webkit.org/show_bug.cgi?id=104654
Reviewed by Kenneth Rohde Christiansen.
UpdateAtlas currently uses *signed* integer type for its identifier.
Due to the way we generate those IDs, it is safer to use *unsigned*
integers. This is because the generated ID will overflow at some
point and the C and C++ language standards say that overflow of a
signed value is undefined behaviour.
This patch switches to unsigned integer type for UpdateAtlas IDs
since unsigned integers are guaranteed to wrap around on overflow.
- Shared/SurfaceUpdateInfo.h:
(SurfaceUpdateInfo):
- UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
(WebKit::LayerTreeCoordinatorProxy::createUpdateAtlas):
(WebKit::LayerTreeCoordinatorProxy::removeUpdateAtlas):
- UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h:
(LayerTreeCoordinatorProxy):
- UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in:
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::beginContentUpdate):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
(CoordinatedGraphicsLayerClient):
(CoordinatedGraphicsLayer):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.h:
(CoordinatedTileClient):
- WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
(WebKit::LayerTreeCoordinator::createUpdateAtlas):
(WebKit::LayerTreeCoordinator::removeUpdateAtlas):
(WebKit::LayerTreeCoordinator::beginContentUpdate):
- WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h:
(LayerTreeCoordinator):
- WebProcess/WebPage/CoordinatedGraphics/UpdateAtlas.cpp:
(WebKit::UpdateAtlas::UpdateAtlas):
(WebKit::UpdateAtlas::~UpdateAtlas):
(WebKit::UpdateAtlas::beginPaintingOnAvailableBuffer):
- WebProcess/WebPage/CoordinatedGraphics/UpdateAtlas.h:
(UpdateAtlasClient):
(UpdateAtlas):
- 4:45 AM Changeset in webkit [137292] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: follow up to r136974: do not process shortcuts while editing
https://bugs.webkit.org/show_bug.cgi?id=104440
Reviewed by Alexander Pavlov.
Currently, typing H while editing node results in corresponding shortcut processing.
- inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline):
(WebInspector.ElementsTreeOutline.prototype.handleShortcut):
(WebInspector.ElementsTreeElement.prototype.onenter):
(WebInspector.ElementsTreeElement.prototype._startEditingAttribute):
(WebInspector.ElementsTreeElement.prototype.dispose):
(WebInspector.ElementsTreeElement.prototype._startEditingAsHTML):
(WebInspector.ElementsTreeElement.prototype._editingCancelled):
- 4:27 AM Changeset in webkit [137291] by
-
- 6 edits2 adds in trunk
[Inspector] Add command for dispatching mouse events.
https://bugs.webkit.org/show_bug.cgi?id=104074
Patch by Ken Kania <kkania@chromium.org> on 2012-12-11
Reviewed by Yury Semikhatsky.
Platform mouse event coordinates are relative to the containing window,
but the inspector command assumes they follow standard web coordinates,
where the origin is at the top left of the page and y increases as you
go down. We convert the coordinates to the window before constructing
the event. This also fixes the fact that some platforms have flipped
coordinate systems.
Also, update dispatchKeyEvent test to follow simpler dispatchMouseEvent
test.
Source/WebCore:
Test: inspector-protocol/input/dispatchMouseEvent.html
- inspector/Inspector.json:
- inspector/InspectorInputAgent.cpp:
(WebCore::InspectorInputAgent::dispatchMouseEvent):
(WebCore):
- inspector/InspectorInputAgent.h:
(InspectorInputAgent):
LayoutTests:
- inspector-protocol/input/dispatchKeyEvent.html:
- inspector-protocol/input/dispatchMouseEvent-expected.txt: Added.
- inspector-protocol/input/dispatchMouseEvent.html: Added.
- 4:24 AM Changeset in webkit [137290] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening, skip new failing tests.
- platform/qt/TestExpectations:
- 4:19 AM Changeset in webkit [137289] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed gardening
fast/repaint/body-background-image.html
fast/text/font-initial.html
- platform/chromium/TestExpectations: These tests are passing on WIN.
- 4:15 AM Changeset in webkit [137288] by
-
- 2 edits in trunk/Source/WebCore
Not reviewed: follow up to r137283: reduce inspector toolbar spacing 1px.
- inspector/front-end/inspector.css:
(body.dock-to-bottom:not(.show-toolbar-icons) .toolbar-item.toggleable):
(body.dock-to-bottom:not(.show-toolbar-icons) .toolbar-item.toggleable.toggled-on):
- 4:15 AM Changeset in webkit [137287] by
-
- 2 edits in trunk/Source/JavaScriptCore
Implement add64 for SH4 assembler to fix build after r136601
https://bugs.webkit.org/show_bug.cgi?id=104377
Patch by Julien BRIANCEAU <jbrianceau@nds.com> on 2012-12-11
Reviewed by Zoltan Herczeg.
- assembler/MacroAssemblerSH4.h:
(JSC::MacroAssemblerSH4::add64):
(MacroAssemblerSH4):
- 4:10 AM Changeset in webkit [137286] by
-
- 5 edits in trunk
[GTK] Bump the jhbuild libsoup version to fix an authentication issue
https://bugs.webkit.org/show_bug.cgi?id=104448
Reviewed by Gustavo Noronha Silva.
Tools:
Bump the libsoup version to one from the git repository. This requires updating
GLib as well which in turn requires adjusting the CFLAGS we pass when compiling
the scanobj step of the gtkdoc generation.
- gtk/generate-gtkdoc:
- gtk/jhbuild.modules:
LayoutTests:
- platform/gtk/TestExpectations: Unskip some tests which are now passing.
- 4:05 AM Changeset in webkit [137285] by
-
- 2 edits in trunk/LayoutTests
[EFL] Unreviewed gardening.
Added more shadow tests to the list of flaky tests.
- platform/efl-wk2/TestExpectations:
- 4:03 AM WebKitGTK/WebKit2Roadmap edited by
- (diff)
- 4:01 AM Changeset in webkit [137284] by
-
- 13 edits in trunk/Source/WebCore
Refactoring: Rename Element::shouldMatchReadOnlySelector and shouldMatchReadWriteSelector
https://bugs.webkit.org/show_bug.cgi?id=104651
Reviewed by Kentaro Hara.
':read-only' and ':read-write' are pseudo classes. They are not
selectors in the context of these functions. This patch rename them so
that they contain 'pseudo class,' and make them match to an existing
function, matchesFocusPseudoClass.
No new tests. This shouldn't make behavior changes.
- css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOneSelector):
- dom/Element.cpp:
(WebCore::Element::recalcStyle):
(WebCore::Element::matchesReadOnlyPseudoClass):
(WebCore::Element::matchesReadWritePseudoClass):
- dom/Element.h:
(Element):
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::matchesReadOnlyPseudoClass):
(WebCore::HTMLInputElement::matchesReadWritePseudoClass):
- html/HTMLInputElement.h:
(HTMLInputElement):
- html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::matchesReadOnlyPseudoClass):
(WebCore::HTMLTextAreaElement::matchesReadWritePseudoClass):
- html/HTMLTextAreaElement.h:
(HTMLTextAreaElement):
- html/shadow/SliderThumbElement.cpp:
(WebCore::SliderThumbElement::matchesReadOnlyPseudoClass):
(WebCore::SliderThumbElement::matchesReadWritePseudoClass):
- html/shadow/SliderThumbElement.h:
(SliderThumbElement):
- html/shadow/SpinButtonElement.cpp:
(WebCore::SpinButtonElement::matchesReadOnlyPseudoClass):
(WebCore::SpinButtonElement::matchesReadWritePseudoClass):
- html/shadow/SpinButtonElement.h:
(SpinButtonElement):
- rendering/RenderTheme.cpp:
(WebCore::RenderTheme::isReadOnlyControl):
- 4:00 AM Changeset in webkit [137283] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: add more horizontal spacing for toolbar items in docked to bottom mode
https://bugs.webkit.org/show_bug.cgi?id=104655
Reviewed by Alexander Pavlov.
Drive-by increase height to 26px.
- inspector/front-end/inspector.css:
(#toolbar):
(body:not(.show-toolbar-icons) .toolbar-item):
(body.dock-to-bottom:not(.show-toolbar-icons) .toolbar-item.toggleable):
(body.dock-to-bottom:not(.show-toolbar-icons) .toolbar-item.toggleable.toggled-on):
(body.show-toolbar-icons.dock-to-bottom .toolbar-item.toggleable):
(#toolbar-dropdown-arrow):
(#main):
- 3:45 AM Changeset in webkit [137282] by
-
- 2 edits in trunk/Tools
Unreviewed functionality fix for the GTK port.
Enable the MicroData feature support for the GTK port in the FeatureList module.
This feature listing now again affects which features are enabled and which disabled
on the development builds of the GTK port.
- Scripts/webkitperl/FeatureList.pm:
- 3:36 AM Changeset in webkit [137281] by
-
- 5 edits in trunk/Source/WebCore
Use histogram enumeration in Calendar Picker so we can get stats on UI usage
https://bugs.webkit.org/show_bug.cgi?id=104646
Reviewed by Kent Tamura.
Use histogram support to get stats on the calendar picker so we can improve the UI.
No new tests.
- Resources/pagepopups/calendarPicker.js:
(CalendarPicker):
(CalendarPicker.prototype.recordAction): Records action to histogram.
(CalendarPicker.prototype.handleToday): Record action.
(CalendarPicker.prototype.handleClear): Ditto.
(YearMonthController.prototype._showPopup): Ditto.
(YearMonthController.prototype._handleYearMonthChange): Ditto.
(YearMonthController.prototype._handleButtonClick): Ditto.
(DaysTable.prototype._handleDayClick): Ditto.
- page/PagePopupController.cpp:
(WebCore::PagePopupController::histogramEnumeration):
(WebCore):
- page/PagePopupController.h:
(PagePopupController):
- page/PagePopupController.idl: Added histogramEnumeration.
- 3:30 AM Changeset in webkit [137280] by
-
- 3 edits in trunk/LayoutTests
[Qt] Support third-party cookie policy for Qt clients
https://bugs.webkit.org/show_bug.cgi?id=45455
Reviewed by Csaba Osztrogonác.
Fix regressed test. The test is now run from it own dir, not the platform independent dir.
- platform/qt/TestExpectations:
- platform/qt/http/tests/cookies/strict-third-party-cookie-blocking.html:
- 3:10 AM Changeset in webkit [137279] by
-
- 3 edits in trunk/Tools
[EFL][WK2] MiniBrowser is not built
https://bugs.webkit.org/show_bug.cgi?id=104629
Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-12-11
Reviewed by Gyuyoung Kim.
As we are finding an elementary package in Tools/MiniBrowser/efl/CMakeList.txt since r137203,
we need to check if the package is found in the same place not in the Tools/CMakeList.txt.
- CMakeLists.txt:
- MiniBrowser/efl/CMakeLists.txt:
- 3:08 AM Changeset in webkit [137278] by
-
- 2 edits in trunk/Source/WebKit2
[EFL][WK2] Create a ewk view object with new context for API tests
https://bugs.webkit.org/show_bug.cgi?id=103692
Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-12-11
Reviewed by Gyuyoung Kim.
Bug 103229 fixes the issue which PageGroupID increased even though
the EwkView was created with default context. If the Bug 103229 is
resolved, the EwkViews with same context will have same setting preferences.
Currently, WebKit2/EFL API test is creating the ewk view object
with the default context so the setting values set previously may
influence the following tests. So this patch created a ewk view object
with a new context instead of default one.
- UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp:
(EWK2UnitTest::EWK2UnitTestBase::SetUp):
- 2:36 AM Changeset in webkit [137277] by
-
- 12 edits2 adds in trunk/Source/WebCore
IsActiveFlag, IsHoverFlag, InActiveChainFlag can be unified.
https://bugs.webkit.org/show_bug.cgi?id=103697
Reviewed by Ryosuke Niwa.
To save two more NodeFlags bits, this patch inroduces
UserActionElementSet to get IsLinkFlag, IsHoverFlag,
InActiveChainFlag together. These three old flags are replaced by
UserActionElementSet::ElementFlags and UserActionElementSet
collection which tracks elements which are flagged with one of
a ElementFlags.
When marking an element as active for example, WebKit sets
UserActionElementSet::IsActiveFlag to the element and store it
into corresponding element set of the document. This set maintains
marked elements and corresponding flags for each elements.
UserActionElementSet can be seen as a yet another rare data for
these flags. However, the following characteristics of these flags
make adding a new data structure on Document an attractive
alternative:
- UserActionElementSet is maintained for each Document instead of a global collecton. This fits element lifetime better.
- The number of elements which have these flags is generally small, and a group of elements for each flag is largely overlapped due to its nature. This property keeps the set small, and lets flag retrieval efficient. On majority of the elements, all these flags are false thus the check is done by just checking IsInUserActionFlag.
As a bonus, isFocused flag, which was on NodeRareData, is also moved to this model.
No new tests, covered by existing test.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.xcodeproj/project.pbxproj:
- dom/DOMAllInOne.cpp:
- dom/Document.cpp:
(WebCore::Document::removedLastRef):
(WebCore::Document::updateHoverActiveState):
- dom/Document.h:
(WebCore::Document::userActionElements): Added.
(Document):
- dom/Node.cpp:
(WebCore::Node::detach):
- dom/Node.h:
(WebCore):
(WebCore::Node::isUserActionElement): Added.
(WebCore::Node::setUserActionElement): Added.
(Node):
(WebCore::Node::active): Switched to UserActionElementSet.
(WebCore::Node::inActiveChain): Switched to UserActionElementSet.
(WebCore::Node::hovered): Switched to UserActionElementSet.
(WebCore::Node::focused): Switched to UserActionElementSet.
(WebCore::Node::setFocus): Switched to UserActionElementSet.
(WebCore::Node::setActive): Switched to UserActionElementSet.
(WebCore::Node::setHovered): Switched to UserActionElementSet.
- dom/NodeRareData.h:
(WebCore::NodeRareData::NodeRareData):
(NodeRareData):
- dom/UserActionElementSet.cpp: Added.
(WebCore):
(WebCore::UserActionElementSet::instanceFor):
(WebCore::UserActionElementSet::UserActionElementSet):
(WebCore::UserActionElementSet::~UserActionElementSet):
(WebCore::UserActionElementSet::didDetach):
(WebCore::UserActionElementSet::documentDidRemoveLastRef):
(WebCore::UserActionElementSet::hasFlags):
(WebCore::UserActionElementSet::setFlags):
(WebCore::UserActionElementSet::clearFlags):
- dom/UserActionElementSet.h: Added.
(WebCore):
(UserActionElementSet):
(WebCore::UserActionElementSet::create):
(WebCore::UserActionElementSet::isFocused):
(WebCore::UserActionElementSet::setFocused):
(WebCore::UserActionElementSet::isActive):
(WebCore::UserActionElementSet::setActive):
(WebCore::UserActionElementSet::isInActiveChain):
(WebCore::UserActionElementSet::setInActiveChain):
(WebCore::UserActionElementSet::isHovered):
(WebCore::UserActionElementSet::setHovered):
(WebCore::UserActionElementSet::setFlags):
- 2:31 AM Changeset in webkit [137276] by
-
- 3 edits in trunk/LayoutTests
Unreviewed, rolling out r137266.
http://trac.webkit.org/changeset/137266
https://bugs.webkit.org/show_bug.cgi?id=104071
New test fails on WebKit Win7 and chromium mac
- inspector/profiler/cpu-profiler-profiling-without-inspector-expected.txt:
- inspector/profiler/cpu-profiler-profiling-without-inspector.html:
- 2:20 AM Changeset in webkit [137275] by
-
- 14 edits in trunk
INPUT_MULTIPLE_FIELDS_UI: Disable focus navigation by right/left keys in RTL locales
https://bugs.webkit.org/show_bug.cgi?id=104644
Reviewed by Hajime Morita.
Source/WebCore:
Pressing the left key should focus on the field at the left of the
current focused field, and pressing the right key should focus on the
field at the right of the current focused field. This works well in LTR
locales.
In RTL locale, the current code doesn't work. We disable this behavior
for RTL locales for now. This issue will be handled in Bug 104650.
No new tests. Update some *-multiple-fields tests for new behavior.
- html/shadow/DateTimeFieldElement.cpp:
(WebCore::DateTimeFieldElement::defaultKeyboardEventHandler):
If this sub-field is in an RTL locale, we don't change focus.
(WebCore::DateTimeFieldElement::localeForOwner):
Moved from DateTimeNumericFieldElement.
- html/shadow/DateTimeFieldElement.h:
(DateTimeFieldElement): Remove isRTL, add localeForOwner.
- html/shadow/DateTimeNumericFieldElement.cpp: Remove localeForOwner.
- html/shadow/DateTimeNumericFieldElement.h:
(DateTimeNumericFieldElement): Ditto.
LayoutTests:
- 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/datetimelocal-multiple-fields/datetimelocal-multiple-fields-keyboard-events-expected.txt:
- fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-keyboard-events.html:
- fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events-expected.txt:
- fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events.html:
- fast/forms/time-multiple-fields/time-multiple-fields-keyboard-events-expected.txt:
- fast/forms/time-multiple-fields/time-multiple-fields-keyboard-events.html:
- 2:17 AM WebKitGTKFonts edited by
- (diff)
- 2:06 AM Changeset in webkit [137274] by
-
- 2 edits in trunk/LayoutTests
2012-12-11 Pavel Podivilov <podivilov@google.com>
[Chromium] Unreviewed, remove "platform/blackberry [ WontFix ]" from test expectations
to make lint happy.
- platform/chromium/TestExpectations:
- 2:02 AM Changeset in webkit [137273] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Unskip a few test, adding expectations that (should) reflect the actual failure of each test.
Also remove the expectations for the Animation API test. Support for that feature, along with
the test, was removed just recently.
- platform/gtk/TestExpectations:
- 1:59 AM Changeset in webkit [137272] by
-
- 2 edits in trunk/Source/WebCore
2012-12-11 Pavel Podivilov <podivilov@google.com>
Remove pango files deleted at r137263 form WebCore.gypi.
Unreviewed, gardening.
- WebCore.gypi:
- 1:42 AM Changeset in webkit [137271] by
-
- 4 edits in trunk
[GTK][jhbuild] Switch to GStreamer 1.0 build
https://bugs.webkit.org/show_bug.cgi?id=91727
Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2012-12-11
Reviewed by Philippe Normand.
Switch build-webkit --gtk to GStreamer 1.0 support and build the
necessary GStreamer git modules from JHBuild.
.:
- configure.ac: Removed GStreamer unstable API flag, made
GStreamer 1.0 default instead of 0.10 and made required version
1.0.3. In case no GStreamer version is specified, it falls back to
0.10. In case no video or web-audio are requested, GStreamer
and Farstream checks are not performed.
Tools:
- gtk/jhbuild.modules: Added GStreamer 1.0.3 build support.
- 1:37 AM Changeset in webkit [137270] by
-
- 10 edits2 adds1 delete in trunk
[GTK] Feature enabling/disabling should be possible through build-webkit
https://bugs.webkit.org/show_bug.cgi?id=99271
Reviewed by Gustavo Noronha Silva.
.:
The autogen.sh script now calls the Tools/gtk/override-feature-defines script
before calling autoreconf. This ensures that Source/WebCore/GNUmakefile.features.am
is present and properly modified if the build-webkit script intends to override
any feature.
The Source/WebCore/GNUmakefile.features.am file is added to the ignored files list
so it doesn't pop out as a new, untracked file.
- .gitignore:
- autogen.sh:
Source/WebCore:
Move the contents of GNUmakefile.features.am into GNUmakefile.features.am.in.
The former is then copied from the latter but then appropriately modified if
the build-webkit script overrides any of the default feature defines.
No new tests - no new testable functionality.
- GNUmakefile.features.am.in: Renamed from Source/WebCore/GNUmakefile.features.am.
Tools:
Refactor the code in webkitdirs.pm that builds an autotools project to generate
autogen.sh arguments, make arguments and installation prefix from the passed-in
parameters rather than generating all of that in build-webkit. The autogen.sh
arguments now contain only enable/disable flags for options that are actually
configurable in configure.ac, the flag value actually reflecting whether the feature
is enabled or disabled in the feature list.
Other features are overridable through modifying the GNUmakefile.features.am file.
All these features are now stored in the build directory and upon change trigger
a rerun of the autogen.sh script, pretty much like the autogen.sh arguments do.
The override-feature-defines script is called by autogen.sh, before GNUmakefile.in is
generated when calling autoreconf. Its task is to copy the GNUmakefile.features.am.in
into GNUmakefile.features.am and modify it if there's a text file in the build directory
that contains all the feature defines the build-webkit script has written. If the build
is not done through build-webkit (and there's no file in build directory listing all the
feature defines) the script does not advance further from copying.
This approach is taken to overcome the rigidness of the automake system as it's impossible
to effectively generate and use GNUmakefile.features.am or even GNUmakefile.features file
after the autoreconf command execution in autogen.sh.
- Scripts/build-jsc:
(buildMyProject):
- Scripts/build-webkit:
- Scripts/webkitdirs.pm:
(runAutogenForAutotoolsProjectIfNecessary):
(mustReRunAutogen):
(buildAutotoolsProject):
(buildGtkProject):
- Scripts/webkitperl/FeatureList.pm: Update the features that are currently enabled in
Source/WebCore/GNUmakefile.features.am.in but aren't in the feature list.
- Scripts/webkitpy/style/checker.py: Source/WebCore/GNUmakefile.features.am.in is recognized
as a text file and tabulation errors are reported. Skip the file to suppress them.
- gtk/override-feature-defines: Added.
(copy_feature_defines_makefile):
(adjust_feature_defines_makefile):
(adjust_feature_defines_makefile.override_feature_define):
(override_feature_defines):
- 1:29 AM Changeset in webkit [137269] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening
Adding failure expectations for tests that regressed in r137198 and in r137159-r137161 range.
Removing failure expectations for the SVG viewspec tests that now pass.
- platform/gtk/TestExpectations:
- 1:29 AM Changeset in webkit [137268] by
-
- 3 edits1 move in trunk/Source/WebCore
[QT][EFL][WK2] Move the GraphicsSurfaceGLX.cpp to common place
https://bugs.webkit.org/show_bug.cgi?id=104433
Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-12-11
Reviewed by Kenneth Rohde Christiansen.
QT and EFL are commonly using the GraphicsSurfaceGLX.cpp and
it looks better to move this file to /glx directory.
- PlatformEfl.cmake:
- Target.pri:
- platform/graphics/surfaces/glx/GraphicsSurfaceGLX.cpp: Renamed from Source/WebCore/platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp.
(WebCore):
(OffScreenRootWindow):
(WebCore::OffScreenRootWindow::OffScreenRootWindow):
(WebCore::OffScreenRootWindow::getXWindow):
(WebCore::OffScreenRootWindow::display):
(WebCore::OffScreenRootWindow::~OffScreenRootWindow):
(WebCore::GraphicsSurfacePrivate::GraphicsSurfacePrivate):
(GraphicsSurfacePrivate):
(WebCore::GraphicsSurfacePrivate::~GraphicsSurfacePrivate):
(WebCore::GraphicsSurfacePrivate::createSurface):
(WebCore::GraphicsSurfacePrivate::createPixmap):
(WebCore::GraphicsSurfacePrivate::textureIsYInverted):
(WebCore::GraphicsSurfacePrivate::makeCurrent):
(WebCore::GraphicsSurfacePrivate::doneCurrent):
(WebCore::GraphicsSurfacePrivate::swapBuffers):
(WebCore::GraphicsSurfacePrivate::copyFromTexture):
(WebCore::GraphicsSurfacePrivate::display):
(WebCore::GraphicsSurfacePrivate::glxPixmap):
(WebCore::GraphicsSurfacePrivate::size):
(WebCore::resolveGLMethods):
(WebCore::GraphicsSurface::platformExport):
(WebCore::GraphicsSurface::platformGetTextureID):
(WebCore::GraphicsSurface::platformCopyToGLTexture):
(WebCore::GraphicsSurface::platformCopyFromTexture):
(WebCore::GraphicsSurface::platformPaintToTextureMapper):
(WebCore::GraphicsSurface::platformFrontBuffer):
(WebCore::GraphicsSurface::platformSwapBuffers):
(WebCore::GraphicsSurface::platformSize):
(WebCore::GraphicsSurface::platformCreate):
(WebCore::GraphicsSurface::platformImport):
(WebCore::GraphicsSurface::platformLock):
(WebCore::GraphicsSurface::platformUnlock):
(WebCore::GraphicsSurface::platformDestroy):
(WebCore::GraphicsSurface::platformBeginPaint):
(WebCore::GraphicsSurface::createReadOnlyImage):
- 1:17 AM Changeset in webkit [137267] by
-
- 6 edits2 adds in trunk
Web Inspector: Evaluate private browsing mode's effect on console messages.
https://bugs.webkit.org/show_bug.cgi?id=104383
Reviewed by Pavel Feldman.
Source/WebCore:
Two sets of console messages are currently gated on private browsing
mode being inactive. This patch centralizes the private browsing checks
in order to apply them equally to all console messages, and changes the
granularity at which they act.
The current checks block the console messages entirely. This patch
blocks only notifications to ChromeClient and ensures that messages
won't be passed to printf where they might end up in system logs.
Notifications to InspectorInstrumentation seem safe; so far as I can
tell, there's no compelling reason to prevent console-based debugging
in private browsing mode. This patch excludes those calls from the
private browsing check.
Test: inspector/console/clients-ignored-in-privatebrowsing.html
- loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::printAccessDeniedMessage):
Drop the private browsing check.
- page/Console.cpp:
(WebCore::Console::addMessage):
Add private browsing checks to the two ::addMessage variants that
do real work. Ensure that calls to printf and notifications to
ChromeClients are gated on these checks, but always allow
notifications to InspectorInstrumentation.
- page/DOMWindow.cpp:
(WebCore::DOMWindow::printErrorMessage):
Drop the private browsing check.
LayoutTests:
- inspector/console/clients-ignored-in-privatebrowsing-expected.txt: Added.
- inspector/console/clients-ignored-in-privatebrowsing.html: Added.
- platform/chromium/TestExpectations:
Skip this test on Chromium, as that port doesn't use PrivateBrowsing
- 1:15 AM Changeset in webkit [137266] by
-
- 3 edits in trunk/LayoutTests
Web Inspector: better coverage for inspector/profiler/cpu-profiler-profiling-without-inspector.html
https://bugs.webkit.org/show_bug.cgi?id=104071
Reviewed by Pavel Feldman.
Extended test by spinning several function for a total of 400ms to provide coverage for sampling profiler.
- inspector/profiler/cpu-profiler-profiling-without-inspector-expected.txt:
- inspector/profiler/cpu-profiler-profiling-without-inspector.html:
- 1:11 AM Changeset in webkit [137265] by
-
- 5 edits in trunk/Source
[Soup] Fix spelling of "initiating" in API.
Reviewed by Martin Robinson.
Source/WebCore:
No new tests (just internal renaming).
- platform/network/ResourceHandle.h:
(ResourceHandle):
- platform/network/soup/ResourceHandleSoup.cpp:
(WebCore):
(WebCore::setSoupRequestInitiatingPageIDFromNetworkingContext):
(WebCore::ResourceHandle::start):
(WebCore::ResourceHandle::getSoupRequestInitiatingPageID):
Source/WebKit2:
- WebProcess/soup/WebSoupRequestManager.cpp:
(WebKit::WebSoupRequestManager::send):
- 1:09 AM Changeset in webkit [137264] by
-
- 3 edits in trunk/LayoutTests
[CSSRegions] Clean-up style for 2 regions expected results files
https://bugs.webkit.org/show_bug.cgi?id=104572
Reviewed by Tony Chang.
Remove Win line endings, remove unnecessary spaces and close all html tags.
- fast/regions/positioned-objects-block-static-spanning-regions-expected.html:
- fast/regions/positioned-objects-block-static-spanning-regions-rtl-expected.html:
- 1:05 AM Changeset in webkit [137263] by
-
- 6 edits9 deletes in trunk
[GTK] Remove the Pango backend
https://bugs.webkit.org/show_bug.cgi?id=104569
Reviewed by Daniel Bates.
.:
Always look for Freetype and Harfbuzz. We still depend on Pango for a few
things, so we cannot yet eliminate our dependency on Pango.
- configure.ac: Always look for FreeType/Harfbuzz.
Source/WebCore:
Remove the Pango backend entirely. The EFL build has no support for it and it's
not really maintained enough for the GTK+ port, now that HarfbuzzNG shapes complex
text when Freetype is the active text rendering backend.
No new tests. This does not change behavior.
- GNUmakefile.am: Remove Pango backend options and move Freetype options to the common list.
- GNUmakefile.list.am: Ditto.
- platform/graphics/FontPlatformData.h:
- platform/graphics/pango/FontCachePango.cpp: Removed.
- platform/graphics/pango/FontCustomPlatformDataPango.cpp: Removed.
- platform/graphics/pango/FontPango.cpp: Removed.
- platform/graphics/pango/FontPlatformData.h: Removed.
- platform/graphics/pango/FontPlatformDataPango.cpp: Removed.
- platform/graphics/pango/GlyphPageTreeNodePango.cpp: Removed.
- platform/graphics/pango/PangoUtilities.cpp: Removed.
- platform/graphics/pango/PangoUtilities.h: Removed.
- platform/graphics/pango/SimpleFontDataPango.cpp: Removed.
- 12:58 AM Changeset in webkit [137262] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [WebGL] prevent GC from collecting WebGLObject instances currently bound to the context state
https://bugs.webkit.org/show_bug.cgi?id=104119
Reviewed by Pavel Feldman.
This is to prevent GC from collecting resources bound to a context (WebGL or 2D).
Otherwise, for example in WebGL, subsequent calls to gl.getParameter() may return a recently created
instance that is no longer bound to a Resource object (thus, no history to replay it later).
- inspector/InjectedScriptCanvasModuleSource.js:
(.):
- 12:32 AM Changeset in webkit [137261] by
-
- 8 edits in trunk
Memory instrumentation: make sure each edge is reported only once
https://bugs.webkit.org/show_bug.cgi?id=104630
Reviewed by Pavel Feldman.
Source/JavaScriptCore:
Changed exported symbols for MemoryInstrumentation.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
Source/WTF:
Make sure that outgoing edges are reported only once if we come to the same
object twice: first by an address of a base class and then by a real address
of the object.
- wtf/MemoryInstrumentation.cpp:
(WTF::MemoryInstrumentation::MemoryInstrumentation):
(WTF::MemoryInstrumentation::reportLinkToBuffer):
(WTF::MemoryInstrumentation::InstrumentedPointerBase::InstrumentedPointerBase):
(WTF::MemoryInstrumentation::InstrumentedPointerBase::process):
(WTF::MemoryClassInfo::init):
(WTF::MemoryClassInfo::addRawBuffer):
(WTF::MemoryClassInfo::addPrivateBuffer):
- wtf/MemoryInstrumentation.h:
(InstrumentedPointerBase):
(MemoryInstrumentation):
(InstrumentedPointer):
(WTF::MemoryClassInfo::MemoryClassInfo):
(WTF::MemoryClassInfo::addMember):
(MemoryClassInfo):
(WTF::::InstrumentedPointer):
(WTF::::callReportMemoryUsage):
- wtf/MemoryObjectInfo.h:
(WTF::MemoryObjectInfo::MemoryObjectInfo):
(WTF::MemoryObjectInfo::firstVisit):
(WTF::MemoryObjectInfo::className):
(WTF::MemoryObjectInfo::name):
(WTF::MemoryObjectInfo::setAlreadyVisited):
(MemoryObjectInfo):
Tools:
Test that outgoing edges are reported only once if we come to the same
object twice: first by an address of a base class and then by a real address
of the object.
- TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp:
- 12:05 AM Changeset in webkit [137260] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed build fix after r137243.
- bindings/gobject/GNUmakefile.am:
Dec 10, 2012:
- 11:49 PM Changeset in webkit [137259] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed gardening
https://bugs.webkit.org/show_bug.cgi?id=84432
fast/filesystem/op-restricted-names.html
fast/filesystem/op-restricted-unicode.html
fast/filesystem/read-directory.html
fast/filesystem/simple-readonly-file-object.html
Patch by Noel Gordon <noel.gordon@gmail.com> on 2012-12-10
- platform/chromium/TestExpectations: These have been passing on WIN for over a month.
- 11:46 PM Changeset in webkit [137258] by
-
- 1 edit2 deletes in trunk/Source/Platform
[chromium] Remove WebCompositorFrame(Ack) as these classes are not needed now that they are passed through cc::OutputSurface.
https://bugs.webkit.org/show_bug.cgi?id=104635
Reviewed by James Robinson.
These have been supplanted by cc::CompositorFrame(Ack) which do not
need to inherit from them.
- chromium/public/WebCompositorFrame.h: Removed.
- chromium/public/WebCompositorFrameAck.h: Removed.
- 11:46 PM Changeset in webkit [137257] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed gardening
https://bugs.webkit.org/show_bug.cgi?id=84432
fast/filesystem/op-restricted-names.html
fast/filesystem/op-restricted-unicode.html
fast/filesystem/read-directory.html
fast/filesystem/simple-readonly-file-object.html
- platform/chromium/TestExpectations: These have been passing on WIN for over a month.
- 11:45 PM Changeset in webkit [137256] by
-
- 12 edits7 deletes in trunk
[chromium] Remove WebCompositorOutputSurface implementations from DRT
https://bugs.webkit.org/show_bug.cgi?id=104046
Reviewed by Darin Fisher.
Source/Platform:
Remove now-unused definitions for these classes. The cc::OutputSurface
and its related classes have replaced these, with the
WebCompositorOutputSurface class as an empty base class.
- Platform.gypi:
- chromium/public/WebCompositorOutputSurface.h:
(WebKit):
- chromium/public/WebCompositorOutputSurfaceClient.h: Removed.
- chromium/public/WebCompositorSoftwareOutputDevice.h: Removed.
Source/WebKit/chromium:
Use WebCompositorSupport to create an OutputSurface.
- WebKit.gypi:
- src/WebViewImpl.cpp:
(WebKit):
- tests/Canvas2DLayerBridgeTest.cpp:
- tests/FakeWebCompositorOutputSurface.h: Removed.
- tests/WebLayerTreeViewTestCommon.h:
Tools:
The classes are now provided through WebCompositorSupport.
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createOutputSurface):
- DumpRenderTree/chromium/WebViewHostOutputSurface.cpp: Removed.
- DumpRenderTree/chromium/WebViewHostOutputSurface.h: Removed.
- DumpRenderTree/chromium/WebViewHostSoftwareOutputDevice.cpp: Removed.
- DumpRenderTree/chromium/WebViewHostSoftwareOutputDevice.h: Removed.
- 11:33 PM Changeset in webkit [137255] by
-
- 5 edits in trunk/Source/WebKit2
[WK2] Add a user default to limit the number of web processes
https://bugs.webkit.org/show_bug.cgi?id=104606
Reviewed by Sam Weinig.
When the limit is reached, we'll reuse an existing process with fewest pages.
- UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext): Initialize m_webProcessCountLimit.
(WebKit::WebContext::platformInitialize): Added a hook for reading the preference,
empty implementation on most platforms.
(WebKit::WebContext::createNewWebProcess): Changed to return a raw pointer. The new
process is put into a vector anyway, so there is no ownership transfer.
(WebKit::WebContext::warmInitialProcess): Don't create a new process if that would
exceed the limit.
(WebKit::WebContext::createNewWebProcessRespectingProcessCountLimit): Added a new
function that wither creates a new process, or picks an existing one.
(WebKit::WebContext::createWebPage): Call the above new function instead of
unconditionally creating a process.
- UIProcess/WebContext.h: createNewWebProcess is no private. All clients should
respect the process count limit.
- UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::reattachToWebProcess):
Respect the process count limit.
- UIProcess/mac/WebContextMac.mm:
(WebKit::registerUserDefaultsIfNeeded): Register the new default.
(WebKit::WebContext::platformInitialize): Read the default into a WebContext
member variable.
(WebKit::WebContext::platformInitializeWebProcess): Moved registerUserDefaultsIfNeeded()
from here to platformInitialize(), as that's a better place for it. Also added a
FIXME for an unrelated issue.
- 11:31 PM Changeset in webkit [137254] by
-
- 2 edits in trunk/LayoutTests
Unreviewed EFL gardening.
Rebaseline fast/js/global-constructors.html after r137243.
- platform/efl/fast/js/global-constructors-expected.txt:
- 11:20 PM Changeset in webkit [137253] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed gardening
Mark platform/chromium/virtual/deferred/fast/images/pdf-as-image-landscape.html WontFix.
- platform/chromium/TestExpectations:
- 11:02 PM Changeset in webkit [137252] by
-
- 2 edits1 add in trunk/LayoutTests
[chromium] Unreviewed gardening: rebase fast/repaint/body-background-image.html on linux
- platform/chromium/TestExpectations:
- 10:57 PM Changeset in webkit [137251] by
-
- 2 edits1 add in trunk/LayoutTests
[chromium] Unreviewed gardening: rebase fast/text/font-initial.html on linux
- platform/chromium-linux/fast/text/font-initial-expected.png: Added.
- platform/chromium/TestExpectations:
- 10:44 PM Changeset in webkit [137250] by
-
- 4 edits2 copies1 add in trunk
REGRESSION (r137006): CSS clip on solid color composited div broken
https://bugs.webkit.org/show_bug.cgi?id=104604
Patch by No'am Rosenthal <Noam Rosenthal> on 2012-12-10
Reviewed by Simon Fraser.
Source/WebCore:
Disable direct compositing of background color for clipping layers.
Test: compositing/geometry/clip-inside.html
- rendering/RenderLayerBacking.cpp:
(WebCore::supportsDirectBoxDecorationsComposition):
Never allow direct background composition if there is a clip.
LayoutTests:
Added a new test (by Simon Fraser) to make sure background color doesn't break clipping.
- compositing/geometry/clip-inside-expected.txt: Added.
- compositing/geometry/clip-inside.html: Added.
- compositing/geometry/clip-expected:
New result.
- platform/chromium/compositing/geometry/clip-inside-expected.txt
Adjust Chromium expected result for new test.
- 10:07 PM Changeset in webkit [137249] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed gardening after http://trac.webkit.org/changeset/137243
- platform/chromium/TestExpectations: Remove animations test.
- 9:54 PM Changeset in webkit [137248] by
-
- 4 edits2 adds in trunk
Source/WebCore: REGRESSION (r137215): WebKit stretches and shrinks a part of screen on scroll
https://bugs.webkit.org/show_bug.cgi?id=104626
Reviewed by Beth Dakin.
r137215 removed a compositing layer repaint on size changes. However, there
are cases where the compositing code constrains layer size by clipping
with the viewport and a clipping ancestor. When that happens, we must
invalidate the layer on a size change to avoid showing stretched or
shrunken content.
Test: compositing/repaint/clipped-layer-size-change.html
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::RenderLayerBacking):
(WebCore::RenderLayerBacking::updateCompositedBounds):
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
- rendering/RenderLayerBacking.h:
(RenderLayerBacking):
LayoutTests: REGRESSION(r137215): WebKit stretches and shrinks a part of screen on scroll
https://bugs.webkit.org/show_bug.cgi?id=104626
Reviewed by Beth Dakin.
Testcase that scrolls an overflow area containing a compositing layer.
- compositing/repaint/clipped-layer-size-change-expected.html: Added.
- compositing/repaint/clipped-layer-size-change.html: Added.
- 9:22 PM Changeset in webkit [137247] by
-
- 8 edits in trunk/Source/JavaScriptCore
Don't OSR exit just because a string is a rope
https://bugs.webkit.org/show_bug.cgi?id=104621
Reviewed by Michael Saboff.
Slight SunSpider speed-up at around the 0.7% level. This patch does the obvious
thing of calling a slow path to resolve ropes rather than OSR exiting if the
string is a rope.
- dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
- dfg/DFGArrayMode.h:
(JSC::DFG::ArrayMode::getIndexedPropertyStorageMayTriggerGC):
(ArrayMode):
- dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::putStructureStoreElimination):
- dfg/DFGOperations.cpp:
- dfg/DFGOperations.h:
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileGetIndexedPropertyStorage):
- dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):
- 9:17 PM Changeset in webkit [137246] by
-
- 2 edits in trunk/Source/WebKit/win
ASSERTION failed in Windows: css3/css3-modsel-33.html
https://bugs.webkit.org/show_bug.cgi?id=104472
Patch by Xueqing Huang <huangxueqing@baidu.com> on 2012-12-10
Reviewed by Tim Horton.
In WebFrameLoaderClient::dispatchDidLayout, milestones maybe
DidFirstLayout & DidFirstVisualNonEmptyLayout, we should
use seperate COMPtrs for the two cases rather than reuse one.
- WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::dispatchDidLayout):
- 8:44 PM Changeset in webkit [137245] by
-
- 1 edit in trunk/Source/WebCore/ChangeLog
Change Tab's affiliation in ChangeLog on recent patch.
- 8:31 PM Changeset in webkit [137244] by
-
- 4 edits1 move1 add in trunk/LayoutTests
[chromium] fast/dom/HTMLMeterElement/meter-boundary-values.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=104625
Unreviewed HTMLMeterElement/meter-boundary-values.html rebaselines.
- platform/chromium-mac-lion/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png:
- platform/chromium-mac-snowleopard/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png:
- platform/chromium-mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png:
- platform/efl-wk1/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png: Renamed from LayoutTests/platform/efl/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png.
- 8:23 PM Changeset in webkit [137243] by
-
- 24 edits10 deletes in trunk
Remove old WebKit Animation API code
https://bugs.webkit.org/show_bug.cgi?id=104611
Reviewed by Simon Fraser.
Remove the existing, unused animation API code. We'll look into
implementing the W3C Animation API if/when it is stable.
Source/WebCore:
- CMakeLists.txt: Remove WebKitAnimation and WebKitAnimationList classes.
- DerivedSources.cpp:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
- Target.pri:
- UseJSC.cmake:
- UseV8.cmake:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSBindingsAllInOne.cpp: Remove includes.
- bindings/js/JSWebKitAnimationCustom.cpp: Removed.
- bindings/js/JSWebKitAnimationListCustom.cpp: Removed.
- dom/Element.cpp: Remove API.
- dom/Element.h: Ditto.
- dom/Element.idl: Ditto.
- page/DOMWindow.idl: Ditto.
- page/WebKitAnimation.cpp: Removed.
- page/WebKitAnimation.h: Removed.
- page/WebKitAnimation.idl: Removed.
- page/WebKitAnimationList.cpp: Removed.
- page/WebKitAnimationList.h: Removed.
- page/WebKitAnimationList.idl: Removed.
- page/animation/AnimationController.cpp: Remove API.
- page/animation/AnimationController.h: Ditto.
- page/animation/AnimationControllerPrivate.h: Ditto.
- page/animation/CompositeAnimation.cpp: Ditto.
- page/animation/CompositeAnimation.h: Ditto.
LayoutTests:
- animations/animation-api-1-expected.txt: Removed.
- animations/animation-api-1.html: Removed.
- fast/js/global-constructors-expected.txt:
- 7:53 PM Changeset in webkit [137242] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] Re-enable a failing test. Disabling it just seemed to
move the problem to another test. Unreviewed.
- tests/GraphicsLayerChromiumTest.cpp:
- 7:34 PM Changeset in webkit [137241] by
-
- 3 edits in trunk/Source/WebKit2
Build fix.
- WebProcess/WebCoreSupport/WebPlugInClient.cpp:
(WebKit::WebPlugInClient::WebPlugInClient): Remove unneeded m_page variable.
- WebProcess/WebCoreSupport/WebPlugInClient.h:
(WebPlugInClient):
- 7:10 PM Changeset in webkit [137240] by
-
- 2 edits in trunk/Source/WebCore
Fix the Mac build after r137233
- html/shadow/HTMLShadowElement.h:
Remove a declaration of a member variable that was moved to the InsertionPoint superclass.
- 6:37 PM Changeset in webkit [137239] by
-
- 5 edits3 copies3 adds1 delete in trunk/LayoutTests
[EFL] Rebaseline expected results for "visibility:hidden; position: absolute;" cases
https://bugs.webkit.org/show_bug.cgi?id=104620
Unreviewed, EFL gardening.
This is a following rebaseline of BUG 104195.
This patch sets AC ON as a default expected result of EFL.
Patch by Kangil Han <kangil.han@samsung.com> on 2012-12-10
- platform/efl-wk1/editing/input/caret-at-the-edge-of-contenteditable-expected.txt: Copied from LayoutTests/platform/efl/editing/input/caret-at-the-edge-of-contenteditable-expected.txt.
- platform/efl-wk1/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt: Copied from LayoutTests/platform/efl/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt.
- platform/efl-wk1/fast/block/basic/020-expected.txt: Copied from LayoutTests/platform/efl/fast/block/basic/020-expected.txt.
- platform/efl-wk2/fast/block/basic/020-expected.txt: Removed.
- platform/efl/TestExpectations:
- platform/efl/editing/input/caret-at-the-edge-of-contenteditable-expected.txt:
- platform/efl/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt:
- platform/efl/fast/block/basic/020-expected.txt:
- 6:06 PM Changeset in webkit [137238] by
-
- 2 edits in trunk/LayoutTests
Fix expectations lint errors in r137231
Unreviewed gardening.
- platform/chromium/TestExpectations:
- 6:00 PM Changeset in webkit [137237] by
-
- 5 edits in trunk/Tools
change --no-launch-safari to --no-show-results in scripts
https://bugs.webkit.org/show_bug.cgi?id=104298
Reviewed by Eric Seidel.
Since Safari only exists on the Apple ports, NRWT calls the
command line flag --[no-]show-results instead. This updates
the scripts to use the new flag (but not the buildbot config yet).
- Scripts/generate-coverage-data:
- Scripts/webkit-tools-completion.sh:
- Scripts/webkitpy/tool/steps/runtests.py:
(RunTests.run):
- Scripts/webkitpy/tool/steps/runtests_unittest.py:
- 5:59 PM Changeset in webkit [137236] by
-
- 2 edits in trunk/Source/WebCore
Build fix after r137221
https://bugs.webkit.org/show_bug.cgi?id=104617
Unreviewed build fix
Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-12-10
- html/HTMLPropertiesCollection.cpp:
(WebCore::nextNodeWithProperty):
- 5:54 PM Changeset in webkit [137235] by
-
- 2 edits in trunk/LayoutTests
Rewrite last occurrences of "Image" in TestExpectations to "ImageOnlyFailure".
Unreviewed test expectations update.
- platform/chromium/TestExpectations:
- 5:48 PM Changeset in webkit [137234] by
-
- 3 edits in trunk/Tools
nrwt: fix mapping of AUDIO onto FAIL when printing unexpected results
https://bugs.webkit.org/show_bug.cgi?id=104597
Reviewed by Ojan Vafai.
This was broken in the recent printer refactoring.
- Scripts/webkitpy/layout_tests/views/buildbot_results.py:
(BuildBotPrinter.print_unexpected_results.add_result.is_expected):
- Scripts/webkitpy/layout_tests/views/buildbot_results_unittest.py:
(BuildBotPrinterTests.get_result):
(BuildBotPrinterTests.test_print_unexpected_results):
(BuildBotPrinterTests.test_print_unexpected_results.get_unexpected_results):
(BuildBotPrinterTests):
- 5:42 PM Changeset in webkit [137233] by
-
- 11 edits in trunk/Source/WebCore
[Shadow DOM][Refactoring] HTMLContentElement,HTMLShadowElement::m_registeredWithShadowRoot should be moved to InsertionPoint
https://bugs.webkit.org/show_bug.cgi?id=104516
Reviewed by Dimitri Glazkov.
This change pulls duplicated code in removedFrom() and
insertedInto() of both both HTMLShadowElement and
HTMLContentElement to their super class InsertionPoint.
This is a part of effor that encapsulate node distribution algorithm to
ContentDistributor and its family.
No new tests, no behavior change.
- dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::registerInsertionPoint): Added.
(WebCore::ShadowRoot::unregisterInsertionPoint): Added.
- dom/ShadowRoot.h:
(ShadowRoot):
- html/shadow/ContentDistributor.cpp:
(WebCore::ShadowRootContentDistributionData::regiterInsertionPoint): Generalized two methods for <content> and <shadow>.
(WebCore):
(WebCore::ShadowRootContentDistributionData::unregisterInsertionPoint): Ditto.
- html/shadow/ContentDistributor.h:
(ShadowRootContentDistributionData):
- html/shadow/HTMLContentElement.cpp:
(WebCore::HTMLContentElement::HTMLContentElement):
- html/shadow/HTMLContentElement.h:
- html/shadow/HTMLShadowElement.cpp:
(WebCore::HTMLShadowElement::HTMLShadowElement):
- html/shadow/HTMLShadowElement.h:
- html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::InsertionPoint):
(WebCore::InsertionPoint::insertedInto): Pulled up from subclasses
(WebCore::InsertionPoint::removedFrom): Pulled up from subclasses
- html/shadow/InsertionPoint.h:
(InsertionPoint):
- 5:40 PM Changeset in webkit [137232] by
-
- 2 edits in trunk/LayoutTests
Expand flakiness of move-by-line-001.html.
Unreviewed gardening.
- platform/chromium/TestExpectations:
- 5:35 PM Changeset in webkit [137231] by
-
- 2 edits in trunk/LayoutTests
Temporarily disable video-media-source-seek.html & video-media-source-state-changes.html
https://bugs.webkit.org/show_bug.cgi?id=104584
Reviewed by Dirk Pranke.
Changes in Chromium needed for Bug 104581 and Bug 104583 will break these tests so they are
being temporarily disabled until the Chromium & WebKit changes are both landed.
- platform/chromium/TestExpectations:
- 5:33 PM Changeset in webkit [137230] by
-
- 25 edits5 adds in trunk/Source
Keep track of plug-in snapshots clicked by user
https://bugs.webkit.org/show_bug.cgi?id=103206
<rdar://problem/12746483>
Reviewed by Anders Carlsson.
Source/WebCore:
- html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement): Initially the hash is
unknown. Set to 0. Move the check for whether to snapshot the plugin into the
new function subframeLoaderWillLoadPlugIn.
(WebCore::HTMLPlugInImageElement::userDidClickSnapshot): Rename
setPendingClickEvent to userDidClickSnapshot. In addition to holding onto the
click event used to activate the plug-in, the function now also tells the plug-in
client to add the origin hash as an auto-start origin.
(WebCore::HTMLPlugInImageElement::subframeLoaderWillLoadPlugIn): Calculate the
hash based on the provided URL, which is the URL the plug-in will load. Extend
the check that used to be in the constructor to see if the plug-in should not
automatically load, including checking the plug-in size and whether the hash
is an auto-start origin.
- html/HTMLPlugInImageElement.h: Rename setPendingClickEvent to userDidClickSnapshot
and add a variable for the origin hash.
- loader/SubframeLoader.cpp:
(WebCore::SubframeLoader::requestPlugin): When the loader is about to load the
plug-in, pass the URL to the element, so that it can calculate the hash.
- page/Page.cpp:
(WebCore::Page::Page): Take the plugInClient from the page clients.
(WebCore::Page::~Page): If the client exists, tell it that the page is being
destroyed.
(WebCore::Page::PageClients::PageClients): Initialize this optional client to
null.
- page/Page.h: Add PlugInClient to page clients.
(PageClients): Add PlugInClient variable.
(WebCore::Page::plugInClient):
- page/PlugInClient.h: Added.
- rendering/RenderSnapshottedPlugIn.cpp:
(WebCore::RenderSnapshottedPlugIn::handleEvent): Call the renamed function
userDidClickSnapshot().
(WebCore::RenderSnapshottedPlugIn::layout): Move the check of the plug-in size
to subframeLoaderWillLoadPlugIn.
Add PlugInClient.h.
- GNUmakefile.list.am:
- Target.pri:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
Source/WebKit2:
Create a new provider class for the web context that maintains a mapping of the plug-in origins
allowed to auto-start for a specific page origin.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage): Create and set WebPlugInClient.
Implement WebCore::PlugInClient.
- WebProcess/WebCoreSupport/WebPlugInClient.cpp: Added.
(WebKit::WebPlugInClient::WebPlugInClient):
(WebKit::WebPlugInClient::~WebPlugInClient):
(WebKit::WebPlugInClient::pageDestroyed):
(WebKit::WebPlugInClient::isAutoStartOrigin): Forward to WebProcess.
(WebKit::WebPlugInClient::addAutoStartOrigin): Forward to WebProcess.
- WebProcess/WebCoreSupport/WebPlugInClient.h: Added.
- WebProcess/WebProcess.cpp: Maintains a copy of the hash set.
(WebKit::WebProcess::isPlugInAutoStartOrigin): Look for the hash in the set.
(WebKit::WebProcess::addPlugInAutoStartOrigin): Tell the UI process to add the hash for the page.
(WebKit::WebProcess::didAddPlugInAutoStartOrigin): Add the hash to the cached set.
- WebProcess/WebProcess.h:
- WebProcess/WebProcess.messages.in: Add DidAddPlugInAutoStartOrigin.
Add the auto-start provider.
- UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext): Initialize the provider.
(WebKit::WebContext::addPlugInAutoStartOriginHash): Forward to the provider.
- UIProcess/WebContext.h:
- UIProcess/WebContext.messages.in: Add AddPlugInAutoStartOriginHash.
The provider class maintains a map of page domains to hashes, and a set of all the hashes.
The latter will be used to initialize new web processes without having to crawl through the
whole map.
- UIProcess/Plugins/PlugInAutoStartProvider.cpp: Added.
(WebKit::PlugInAutoStartProvider::PlugInAutoStartProvider):
(WebKit::PlugInAutoStartProvider::addAutoStartOrigin): Add the origin to the map and set. Tell
all processes to add the origin to their local copies.
- UIProcess/Plugins/PlugInAutoStartProvider.h: Added.
Add PlugInAutoStartProvider and WebPlugInClient.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebKit2.xcodeproj/project.pbxproj:
- win/WebKit2.vcproj:
- 5:18 PM Changeset in webkit [137229] by
-
- 3 edits in trunk/Source/WebKit2
Add WKPageSetInvalidMessageFunction stub
https://bugs.webkit.org/show_bug.cgi?id=104614
<rdar://problem/12841671>
Reviewed by Mark Rowe.
- UIProcess/API/C/WKPage.cpp:
(WKPageSetInvalidMessageFunction):
- UIProcess/API/C/WKPagePrivate.h:
- 5:13 PM Changeset in webkit [137228] by
-
- 2 edits in trunk/Tools
old-run-webkit-tests: add --show-results properly
https://bugs.webkit.org/show_bug.cgi?id=104608
Reviewed by Eric Seidel.
Rework r137219 / bug 104601 to use the correct perl idiom.
- Scripts/old-run-webkit-tests:
- 5:03 PM Changeset in webkit [137227] by
-
- 3 edits in trunk/Source/WebCore
Not reviewed.
Build fix.
- html/HTMLPropertiesCollection.cpp:
(WebCore::nextNodeWithProperty):
- page/TouchDisambiguation.cpp:
(WebCore::boundingBoxForEventNodes):
- 5:02 PM Changeset in webkit [137226] by
-
- 2 edits in trunk/Tools
Unreviewed. Adding Aaron Colwell to the contributor list.
- Scripts/webkitpy/common/config/committers.py:
- 4:43 PM Changeset in webkit [137225] by
-
- 2 edits in trunk/LayoutTests
Mark an encrypted media test as failing after http://crrev.com/172175
Unreviewed gardening.
- platform/chromium/TestExpectations:
- 4:40 PM WebKitGTK/1.10.x edited by
- Added r135761 as proposed merge (diff)
- 4:32 PM Changeset in webkit [137224] by
-
- 2 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=104602
DidHitRelevantRepaintedObjectsAreaThreshold LayoutMilestone fires too
early on some pages with iframes
Reviewed by Simon Fraser.
This change makes it so that any RenderObjects inside iframes are not
considered relevant.
- page/Page.cpp:
(WebCore::Page::addRelevantRepaintedObject):
- 4:21 PM Changeset in webkit [137223] by
-
- 6 edits in trunk/Source
IndexedDB: Propagate more leveldb errors to script
https://bugs.webkit.org/show_bug.cgi?id=104422
Reviewed by Tony Chang.
Source/WebCore:
These are the last places that ignore leveldb errors that can get the
usual ok/found treatment.
Nothing called getBool, so it is deleted.
- Modules/indexeddb/IDBBackingStore.cpp:
(WebCore):
(WebCore::getInt):
(WebCore::isSchemaKnown):
(WebCore::setUpMetadata):
(WebCore::getMaxObjectStoreId):
(WebCore::IDBBackingStore::open):
(WebCore::IDBBackingStore::getIDBDatabaseMetaData):
(WebCore::getNewDatabaseId):
(WebCore::IDBBackingStore::createIDBDatabaseMetaData):
(WebCore::setMaxObjectStoreId):
(WebCore::getNewVersionNumber):
(WebCore::IDBBackingStore::putRecord):
(WebCore::setMaxIndexId):
- Modules/indexeddb/IDBBackingStore.h:
(IDBBackingStore):
- Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
(WebCore::IDBObjectStoreBackendImpl::setIndexKeys):
(WebCore::IDBObjectStoreBackendImpl::ObjectStoreStorageOperation::perform):
Source/WebKit/chromium:
- tests/IDBFakeBackingStore.h: Delete method override that doesn't match new signature.
- 4:17 PM Changeset in webkit [137222] by
-
- 2 edits9 deletes in trunk/Tools
Remove WebKit2 tests on Windows
https://bugs.webkit.org/show_bug.cgi?id=104607
Reviewed by Tim Horton.
Stop building WebKit2 tests and remove associated files.
- TestWebKitAPI/win/InjectedBundleControllerWin.cpp: Removed.
- TestWebKitAPI/win/PlatformUtilitiesWin.cpp: Removed.
- TestWebKitAPI/win/PlatformWebViewWin.cpp: Removed.
- TestWebKitAPI/win/TestWebKitAPI.sln: Removed.
- TestWebKitAPI/win/TestWebKitAPI.vcproj:
- TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj: Removed.
- TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops: Removed.
- TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj: Removed.
- TestWebKitAPI/win/WindowMessageObserver.h: Removed.
- TestWebKitAPI/win/copy-resources.cmd: Removed.
- 4:13 PM Changeset in webkit [137221] by
-
- 79 edits2 adds in trunk/Source
Factor node traversal into standalone functions
https://bugs.webkit.org/show_bug.cgi?id=104507
Source/WebCore:
Reviewed by Eric Seidel.
Node traversal functions are currently Node and ContainerNode members. Their implementations
are confusingly scattered over multiple header and source files. These functions have no particular
reason to be members as they don't require non-public access. They should be made freestanding
function instead and gathered together.
This patch adds NodeTraversal namespace, defined in NodeTraversal.h. It contains freestanding
functions for traversing Nodes. Most popular functions are inlined (as before) and
there are ContainerNode specific specializations (as before).
In client code
node = node->traverseNextNode();
node = node->traverseNextSibling();
becomes
node = NodeTraversal::next(node);
node = NodeTraversal::nextSkippingChildren(node);
etc.
- WebCore.exp.in:
- WebCore.xcodeproj/project.pbxproj:
- accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::accessibilityDescriptionForElements):
- accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::firstAccessibleObjectFromNode):
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::addImageMapChildren):
- bindings/js/JSDocumentCustom.cpp:
(WebCore::toJS):
- css/SelectorChecker.cpp:
(WebCore::SelectorChecker::allVisitedStateChanged):
(WebCore::SelectorChecker::visitedStateChanged):
- css/StyleInvalidationAnalysis.cpp:
(WebCore::StyleInvalidationAnalysis::invalidateStyle):
- dom/ContainerNode.cpp:
(WebCore::dispatchChildInsertionEvents):
(WebCore::dispatchChildRemovalEvents):
- dom/ContainerNode.h:
(ContainerNode):
(WebCore):
- dom/ContainerNodeAlgorithms.h:
(WebCore::ChildFrameDisconnector::collectDescendant):
- dom/Document.cpp:
(WebCore::Document::buildAccessKeyMap):
(WebCore::Document::removeAllEventListeners):
(WebCore::Document::updateBaseURL):
(WebCore::Document::processBaseElement):
(WebCore::Document::nodeAbsIndex):
(WebCore::Document::nodeWithAbsIndex):
(WebCore::Document::getFocusableNodes):
- dom/DocumentMarkerController.cpp:
(WebCore::DocumentMarkerController::markersInRange):
(WebCore::DocumentMarkerController::setMarkersActive):
(WebCore::DocumentMarkerController::hasMarkers):
(WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):
- dom/DocumentOrderedMap.cpp:
(WebCore::DocumentOrderedMap::get):
- dom/ElementShadow.cpp:
(WebCore::ElementShadow::collectSelectFeatureSetFrom):
- dom/Node.cpp:
(WebCore::Node::normalize):
(WebCore::Node::lazyAttach):
(WebCore):
(WebCore::Node::detach):
(WebCore::traverseTreeAndMark):
- dom/Node.h:
(Node):
- dom/NodeIterator.cpp:
(WebCore::NodeIterator::NodePointer::moveToNext):
(WebCore::NodeIterator::NodePointer::moveToPrevious):
(WebCore::NodeIterator::updateForNodeRemoval):
- dom/NodeTraversal.h: Added.
(WebCore):
(NodeTraversal):
(WebCore::NodeTraversal::traverseNextNodeTemplate):
(WebCore::NodeTraversal::next):
(WebCore::NodeTraversal::traverseNextSiblingTemplate):
(WebCore::NodeTraversal::nextSibling):
- dom/Range.cpp:
(WebCore::Range::toString):
(WebCore::Range::checkDeleteExtract):
(WebCore::Range::firstNode):
(WebCore::Range::pastLastNode):
(WebCore::Range::textRects):
(WebCore::Range::textQuads):
(WebCore::Range::getBorderAndTextQuads):
- dom/TreeScope.cpp:
(WebCore::TreeScope::labelElementForId):
(WebCore::TreeScope::findAnchor):
- dom/TreeScopeAdopter.cpp:
(WebCore::TreeScopeAdopter::moveTreeToNewScope):
(WebCore::TreeScopeAdopter::moveTreeToNewDocument):
- dom/TreeWalker.cpp:
(WebCore::TreeWalker::nextNode):
- editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
(WebCore::ApplyStyleCommand::fixRangeAndApplyInlineStyle):
(WebCore::containsNonEditableRegion):
(WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange):
(WebCore::ApplyStyleCommand::removeStyleFromRunBeforeApplyingStyle):
(WebCore::ApplyStyleCommand::removeInlineStyle):
- editing/BreakBlockquoteCommand.cpp:
(WebCore::BreakBlockquoteCommand::doApply):
- editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::deleteInsignificantText):
(WebCore::CompositeEditCommand::cloneParagraphUnderNewElement):
- editing/DeleteSelectionCommand.cpp:
(WebCore::firstEditablePositionInNode):
(WebCore::DeleteSelectionCommand::makeStylingElementsDirectChildrenOfEditableRootToPreventStyleLoss):
(WebCore::DeleteSelectionCommand::handleGeneralDelete):
- editing/EditCommand.cpp:
(WebCore::SimpleEditCommand::addNodeAndDescendants):
- editing/EditingStyle.cpp:
(WebCore::EditingStyle::triStateOfStyle):
(WebCore::EditingStyle::textDirectionForSelection):
- editing/Editor.cpp:
(WebCore::Editor::simplifyMarkup):
- editing/FrameSelection.cpp:
(WebCore::scanForForm):
(WebCore::FrameSelection::setSelectionFromNone):
- editing/InsertParagraphSeparatorCommand.cpp:
(WebCore::InsertParagraphSeparatorCommand::doApply):
- editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplacementFragment::removeUnrenderedNodes):
(WebCore::ReplacementFragment::removeInterchangeNodes):
(WebCore::ReplaceSelectionCommand::InsertedNodes::willRemoveNodePreservingChildren):
(WebCore::ReplaceSelectionCommand::InsertedNodes::willRemoveNode):
(WebCore::ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline):
(WebCore::removeHeadContents):
(WebCore::ReplaceSelectionCommand::handleStyleSpans):
- editing/ReplaceSelectionCommand.h:
(WebCore::ReplaceSelectionCommand::InsertedNodes::pastLastLeaf):
- editing/SimplifyMarkupCommand.cpp:
(WebCore::SimplifyMarkupCommand::doApply):
- editing/TextIterator.cpp:
(WebCore::TextIterator::advance):
(WebCore::shouldEmitNewlineAfterNode):
- editing/htmlediting.cpp:
(WebCore::hasARenderedDescendant):
- editing/mac/EditorMac.mm:
(WebCore::Editor::fontForSelection):
- editing/markup.cpp:
(WebCore::completeURLs):
(WebCore::StyledMarkupAccumulator::traverseNodesForSerialization):
(WebCore::findNodesSurroundingContext):
(WebCore::trimFragment):
- editing/visible_units.cpp:
(WebCore::startOfParagraph):
(WebCore::endOfParagraph):
- html/HTMLCollection.cpp:
(WebCore::nextNode):
- html/HTMLElement.cpp:
(WebCore::setHasDirAutoFlagRecursively):
(WebCore::HTMLElement::directionality):
(WebCore::HTMLElement::adjustDirectionalityIfNeededAfterChildrenChanged):
(WebCore::HTMLElement::getItemRefElements):
- html/HTMLFieldSetElement.cpp:
(WebCore::HTMLFieldSetElement::invalidateDisabledStateUnder):
(WebCore::HTMLFieldSetElement::refreshElementsIfNeeded):
- html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::formElementIndex):
- html/HTMLLabelElement.cpp:
(WebCore::HTMLLabelElement::control):
- html/HTMLLegendElement.cpp:
(WebCore::HTMLLegendElement::associatedControl):
- html/HTMLMapElement.cpp:
(WebCore::HTMLMapElement::mapMouseEvent):
- html/HTMLNameCollection.cpp:
(WebCore::HTMLNameCollection::virtualItemAfter):
- html/HTMLOptionElement.cpp:
(WebCore::HTMLOptionElement::collectOptionInnerText):
- html/HTMLPropertiesCollection.cpp:
(WebCore::nextNodeWithProperty):
- html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::recalcListItems):
- html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::selection):
(WebCore::HTMLTextFormControlElement::innerTextValue):
(WebCore::HTMLTextFormControlElement::valueWithHardLineBreaks):
- html/RadioInputType.cpp:
(WebCore::RadioInputType::handleKeydownEvent):
- html/shadow/ContentDistributor.cpp:
(WebCore::ShadowRootContentDistributionData::ensureInsertionPointList):
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::performSearch):
- inspector/InspectorMemoryAgent.cpp:
- page/FocusController.cpp:
(WebCore::FocusController::findFocusCandidateInContainer):
- page/Frame.cpp:
(WebCore::Frame::searchForLabelsAboveCell):
(WebCore::Frame::searchForLabelsBeforeElement):
- rendering/RenderNamedFlowThread.cpp:
(WebCore::RenderNamedFlowThread::getRanges):
- svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::collectIntersectionOrEnclosureList):
(WebCore::SVGSVGElement::getElementById):
- svg/SVGUseElement.cpp:
(WebCore::removeDisallowedElementsFromSubtree):
- svg/animation/SMILTimeContainer.cpp:
(WebCore::SMILTimeContainer::updateDocumentOrderIndexes):
- xml/XPathNodeSet.cpp:
(WebCore::XPath::NodeSet::traversalSort):
- xml/XPathStep.cpp:
(WebCore::XPath::Step::nodesInAxis):
- xml/XPathUtil.cpp:
(WebCore::XPath::stringValue):
Source/WebKit/chromium:
Reviewed by Eric Seidel.
- src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
Source/WebKit/mac:
Reviewed by Eric Seidel.
- WebView/WebHTMLRepresentation.mm:
(searchForLabelsBeforeElement):
Source/WebKit2:
Reviewed by Eric Seidel.
- WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::containsAnyFormElements):
- 4:08 PM Changeset in webkit [137220] by
-
- 4 edits7 adds in trunk
Sending multi-touch events to the same Iframe
https://bugs.webkit.org/show_bug.cgi?id=97973
Patch by Min Qin <qinmin@chromium.org> on 2012-12-10
Reviewed by Dimitri Glazkov.
Source/WebCore:
Multi-Touch in different iframe can give both documents access to each other.
This could cause cross-origin access. To solve this, all the touch events should
be sent to the iframe where the first touchstart happens.
Test: fast/events/touch/multi-touch-inside-iframes.html
fast/events/touch/multi-touch-inside-nested-iframes.html
- page/EventHandler.cpp:
(WebCore::EventHandler::handleTouchEvent):
- page/EventHandler.h:
LayoutTests:
Check that all multi-touch events are sent to the same iframe.
- fast/events/touch/multi-touch-inside-iframes-expected.txt: Added.
- fast/events/touch/multi-touch-inside-iframes.html: Added.
- fast/events/touch/resources/multi-touch-inside-iframes2.html: Added.
- fast/events/touch/multi-touch-inside-nested-iframes-expected.txt: Added.
- fast/events/touch/multi-touch-inside-nested-iframes.html: Added.
- fast/events/touch/resources/multi-touch-inside-nested-iframes2.html: Added.
- fast/events/touch/resources/multi-touch-inside-nested-iframes3.html: Added.
- 3:56 PM Changeset in webkit [137219] by
-
- 2 edits in trunk/Tools
old-run-webkit-tests: support --no-show-results for compatibility w/ NRWT
https://bugs.webkit.org/show_bug.cgi?id=104601
Reviewed by Eric Siedel.
This flag is being added so we can move all of the calling scripts
over to using --no-show-results instead of --no-launch-safari.
- Scripts/old-run-webkit-tests:
- 3:55 PM Changeset in webkit [137218] by
-
- 2 edits in trunk/Source/WebCore
[soup] Fix build warning in ResourceHandleSoup.cpp
https://bugs.webkit.org/show_bug.cgi?id=104605
Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-12-10
Reviewed by Martin Robinson.
The nextMultipartResponsePartCallback has unused parameter 'source',
comment out it to fix 'unused parameter' build warning.
- platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::nextMultipartResponsePartCallback):
- 3:43 PM Changeset in webkit [137217] by
-
- 2 edits in trunk/Source/WebCore
Fix frame border painting in tiled drawing mode
https://bugs.webkit.org/show_bug.cgi?id=104453
<rdar://problem/11678611>
Reviewed by Dan Bernstein.
Frame borders were not correctly invalidated when in tiled drawing mode, because
RenderFrameSet::layout() invalidated directly on the view, which skips the tile
cache.
Fix by invalidating like all other renderers, via the repaint container.
Also, the layer transform should be updated before the invalidation, and
we make use of RenderObject::updateLayerTransform() which has the same behavior
as the old code.
Attempts to make a layout test failed. Resizing composited framesets repainted
via layer resizing, and an attempt to make a ref test in tiled drawing mode
failed (the test passed without the patch).
- rendering/RenderFrameSet.cpp:
(WebCore::RenderFrameSet::layout):
- 3:43 PM Changeset in webkit [137216] by
-
- 3 edits3 adds in trunk
When converting a layer into a tiled layer, ensure that we update the visible rect
https://bugs.webkit.org/show_bug.cgi?id=104467
Reviewed by Darin Adler.
Source/WebCore:
When a GraphicsLayerCA toggles to use a TileCache, we have to ensure that the
layer's visible rect (which is used to ensure tile coverage) is updated in
the same commit. Otherwise we can get blank layers until something else causes
the visible rect to be updated.
Test: compositing/tiling/tiled-layer-resize.html
- platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::dumpAdditionalProperties): With the debug flag, dump the TiledBacking
address for ease of debugging.
(WebCore::GraphicsLayerCA::swapFromOrToTiledLayer): Set the VisibleRectChanged bit in
m_uncommittedChanges if we've just switched to a tiled layer.
LayoutTests:
Test that resizes a layer over the tiled layer threshold, then dumps layer data.
Mac-specific results added because only Mac dumps tile cache info.
- compositing/tiling/tiled-layer-resize-expected.txt: Added.
- compositing/tiling/tiled-layer-resize.html: Added.
- platform/mac/compositing/tiling/tiled-layer-resize-expected.txt: Added.
- 3:43 PM Changeset in webkit [137215] by
-
- 3 edits2 adds in trunk
Don't unconditionally repaint compositing layers when their size changes
https://bugs.webkit.org/show_bug.cgi?id=104461
Reviewed by Sam Weinig.
Source/WebCore:
RenderLayerBacking always repainted the entire compositing layer when its size
changed. This was done to fix repaint issues when outline widths changes, but
that issue is now solved by repainting in GraphicsLayer::setOffsetFromRenderer(),
add in r134628. I believe this is no longer necessary.
Always repainting when the size changes is terrible for the tile cache when
loading large documents, as all tiles repaint every time the document gets
longer.
Test: compositing/repaint/resize-repaint.html
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
LayoutTests:
Test that dumps repaint rects after adding content to a compositing layer.
- compositing/repaint/resize-repaint-expected.txt: Added.
- compositing/repaint/resize-repaint.html: Added.
- 3:34 PM Changeset in webkit [137214] by
-
- 6 edits2 deletes in trunk
Unreviewed, rolling out r134150.
http://trac.webkit.org/changeset/134150
https://bugs.webkit.org/show_bug.cgi?id=99940
Caused JS-based tooltips to remain during scroll on Facebook
and Gmail. Rollout until I have time to experiment with less
aggresive approaches.
Source/WebCore:
- page/EventHandler.cpp:
(WebCore):
(WebCore::MaximumDurationTracker::MaximumDurationTracker):
(WebCore::MaximumDurationTracker::~MaximumDurationTracker):
(MaximumDurationTracker):
(WebCore::EventHandler::EventHandler):
(WebCore::EventHandler::clear):
(WebCore::EventHandler::mouseMoved):
(WebCore::EventHandler::dispatchFakeMouseMoveEventSoon):
(WebCore::EventHandler::fakeMouseMoveEventTimerFired):
- page/EventHandler.h:
(EventHandler):
- platform/Timer.h:
LayoutTests:
- fast/scrolling/fake-mouse-event-throttling-expected.txt: Removed.
- fast/scrolling/fake-mouse-event-throttling.html: Removed.
- platform/mac/TestExpectations:
- 3:30 PM Changeset in webkit [137213] by
-
- 3 edits2 adds in trunk
Keyboard caret movement in textarea with RTL Override Character can make tab unresponsive
https://bugs.webkit.org/show_bug.cgi?id=103067
Patch by Yi Shen <max.hong.shen@gmail.com> on 2012-12-10
Reviewed by Ryosuke Niwa.
Source/WebCore:
For textarea with RTL override character, the line break could be the previous leaf InlineTextBox of
the InlineTextBox for the RTL override text. When overshots the left/right, make sure the
leftVisuallyDistinctCandidate and rightVisuallyDistinctCandidate return the visually distinct
left/right position by ignoring the line break.
Test: editing/selection/move-by-character-crash-test-textarea.html
- editing/VisiblePosition.cpp:
(WebCore::VisiblePosition::leftVisuallyDistinctCandidate):
(WebCore::VisiblePosition::rightVisuallyDistinctCandidate):
LayoutTests:
New test for moving caret in textarea with RTL override character causes crash.
- editing/selection/move-by-character-crash-test-textarea-expected.txt: Added.
- editing/selection/move-by-character-crash-test-textarea.html: Added.
- 3:06 PM Changeset in webkit [137212] by
-
- 6 edits in branches/chromium/1312/Source
Merge 136785
Add runtime enable for web intents.
https://bugs.webkit.org/show_bug.cgi?id=103669
Patch by Greg Billock <gbillock@google.com> on 2012-12-05
Reviewed by Adam Barth.
Source/WebCore:
Make web intents Javascript API enabled by a runtime setting.
- Modules/intents/DOMWindowIntents.idl:
- Modules/intents/NavigatorIntents.idl:
- bindings/generic/RuntimeEnabledFeatures.cpp:
(WebCore):
- bindings/generic/RuntimeEnabledFeatures.h:
(RuntimeEnabledFeatures):
(WebCore::RuntimeEnabledFeatures::webkitStartActivityEnabled):
(WebCore::RuntimeEnabledFeatures::webkitIntentEnabled):
(WebCore::RuntimeEnabledFeatures::webKitIntentEnabled):
(WebCore::RuntimeEnabledFeatures::setWebIntentsEnabled):
Source/WebKit/chromium:
Propagate runtime setting to enable/disable web intents Javascript API.
- public/WebRuntimeFeatures.h:
(WebRuntimeFeatures):
- src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableWebIntents):
(WebKit):
(WebKit::WebRuntimeFeatures::isWebIntentsEnabled):
TBR=commit-queue@webkit.org
Review URL: https://codereview.chromium.org/11519009
- 3:01 PM Changeset in webkit [137211] by
-
- 10 edits in trunk/Source/WebCore
[EFL][WebGL] Minor Refactoring in GraphicsContext3DEfl.
https://bugs.webkit.org/show_bug.cgi?id=104553.
Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2012-12-10
Reviewed by Kenneth Rohde Christiansen.
We use different FBO for canvas and offscreen surface of our platform layer.
Thus we need to manage any bound buffers while copying contents to the surface. Currently, Surface
always uses double buffering but in future we should be able to configure it to use either
double or single buffer. For these use cases, it would be handy to bind buffers directly to
FBO used by the surface. This patch does the needed changes in GraphicsContext3DEfl and
PlatformSurface. Also, removes some unused code.
Covered by existing tests.
Relevant changes in GraphicsContext3DEfl to obtain FBO id from PlatformSurface.
- platform/graphics/efl/GraphicsContext3DEfl.cpp:
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
Renamed createGraphicsSurface to didResizeCanvas.
(WebCore::GraphicsContext3D::createGraphicsSurfaces):
- platform/graphics/efl/GraphicsContext3DPrivate.cpp:
(GraphicsContext3DPrivate::didResizeCanvas):
(GraphicsContext3DPrivate::copyToGraphicsSurface):
- platform/graphics/efl/GraphicsContext3DPrivate.h:
(GraphicsContext3DPrivate):
Header cleanup.
- platform/graphics/opengl/GLDefs.h:
- platform/graphics/opengl/GLPlatformContext.cpp:
(WebCore::GLPlatformContext::createContext):
- platform/graphics/opengl/GLPlatformContext.h:
Added initialize method to expose FBO id of the surface.
Removed unused code.
- platform/graphics/opengl/GLPlatformSurface.cpp:
(WebCore::GLPlatformSurface::initialize):
(WebCore):
(WebCore::GLPlatformSurface::updateContents):
- platform/graphics/opengl/GLPlatformSurface.h:
(GLPlatformSurface):
- platform/graphics/surfaces/glx/GLXSurface.h:
- 2:57 PM Changeset in webkit [137210] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Flash content is being rendered as garbled characters when Flashplayer is disabled
https://bugs.webkit.org/show_bug.cgi?id=104505
Patch by Max Feil <mfeil@rim.com> on 2012-12-10
Reviewed by Antonio Gomes.
The check to allow video and audio as the source of embed and
object elements is causing a problem when the Flashplayer plugin
is disabled. We have to take Flash content into account in this
check otherwise the swf contents will be rendered as garbled
text characters where there should just be blank space.
- WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::createPlugin):
- 2:53 PM Changeset in webkit [137209] by
-
- 2 edits in trunk/Source/WebCore
Tidy up the tiled scrolling indicator, fix with zooming
https://bugs.webkit.org/show_bug.cgi?id=104386
Reviewed by Tim Horton.
Fix the tiled scrolling indicator to not get tiny when zooming,
to not poke out of the bottom of the window, and to not look
so crappy.
- platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::updateTileCoverageMap):
(WebCore::TileCache::drawTileMapContents):
- 2:42 PM Changeset in webkit [137208] by
-
- 5 edits in trunk
nrwt: use the default logic for skipping platform-specific tests for chromium
https://bugs.webkit.org/show_bug.cgi?id=104403
Reviewed by Stephen White.
Tools:
I thought I had fixed this a while ago, but the chromium port was
using custom logic to figure out which platform/* tests to run (or
skip) and as a result we were getting some odd behavior (like running
tests in chromium-linux on chromium-mac, but only when there was
an expectation listed for the test).
Ports are supposed to only run the tests found under their
baseline_search_path() by default.
Not writing a test for this; theoretically there shouldn't been a
test checking that the behavior for Chromium was *different* than
the other ports before.
- Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumPort._missing_symbol_to_skipped_tests):
LayoutTests:
Remove a bunch of WONTFIX lines that will now be handled programmatically.
- platform/chromium-android/TestExpectations:
- platform/chromium/TestExpectations:
- 2:31 PM Changeset in webkit [137207] by
-
- 3 edits in trunk/Source/WebCore
Unreviewed, rolling out r136817.
http://trac.webkit.org/changeset/136817
https://bugs.webkit.org/show_bug.cgi?id=104596
This patch was an unnecessarily complex solution to handling
conversion of union types. (Requested by mpruett on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-12-10
- bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
- bindings/js/JSDictionary.h:
(WebCore::JSDictionary::tryGetPropertyAndResult):
- 2:15 PM Changeset in webkit [137206] by
-
- 3 edits in trunk/Source/WebCore
Deprecate prefixed linear-gradient and radial-gradient functions
https://bugs.webkit.org/show_bug.cgi?id=104591
Patch by Tab Atkins <jackalmage@gmail.com> on 2012-12-10
Reviewed by Dean Jackson.
Rename the old gradient parsing functions in anticipation of functions that parse the new syntax.
No new tests added - this is a rename and has no functionality change.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseDeprecatedLinearGradient):
(WebCore::CSSParser::parseDeprecatedRadialGradient):
(WebCore::CSSParser::parseGeneratedImage):
- css/CSSParser.h:
- 2:14 PM Changeset in webkit [137205] by
-
- 2 edits in trunk/Tools
fix regression in test-webkitpy after r137189
https://bugs.webkit.org/show_bug.cgi?id=104589
Reviewed by Eric Seidel.
Need to specify full port names.
- Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(MainTest.test_build_check):
- 2:13 PM Changeset in webkit [137204] by
-
- 3 edits in trunk/LayoutTests
Unreviewed update to test results after http://trac.webkit.org/changeset/137200.
The 'widows' and 'orphans' properties have an initial value of 'auto'.
- editing/pasteboard/onpaste-text-html-expected.txt:
- fast/events/ondrop-text-html-expected.txt:
- 2:06 PM WebKitGTK/WebKit2Roadmap edited by
- (diff)
- 1:53 PM Changeset in webkit [137203] by
-
- 4 edits in trunk
[EFL] Change the minimum required EFL version to 1.6
https://bugs.webkit.org/show_bug.cgi?id=104431
Patch by Laszlo Gombos <Laszlo Gombos> on 2012-12-10
Reviewed by Kenneth Rohde Christiansen.
.:
Change the minimum required EFL version to 1.6 from 1.7 to enable
building on Tizen.
The elementary EFL package is only required to build MiniBrowser,
so I moved the required only to the Minibrowser CMake file.
- Source/cmake/OptionsEfl.cmake:
Tools:
Change the minimum required EFL version to 1.6 from 1.7.
The elementary EFL package is only required to build MiniBrowser,
so I moved the required only to the Minibrowser CMake file.
- MiniBrowser/efl/CMakeLists.txt: In addition removed
ENABLE_GLIB_SUPPORT as it is obsolete and it was always set to be on.
- 1:40 PM Changeset in webkit [137202] by
-
- 1 edit in trunk/Tools/ChangeLog
Updating date in Tools/ChangeLog
- 1:33 PM Changeset in webkit [137201] by
-
- 5 edits in trunk/Source
[Chromium][Win] Remove theme-related functions from PlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=102699
Reviewed by Adam Barth.
Call theme engine directly instead of going through
PlatformSupport. Part of a refactoring series. See tracking bug 82948.
Source/WebCore:
- platform/chromium/PlatformSupport.h:
(PlatformSupport):
- platform/chromium/ScrollbarThemeChromiumWin.cpp:
(WebCore::ScrollbarThemeChromiumWin::paintTrackPiece):
(WebCore::ScrollbarThemeChromiumWin::paintButton):
- rendering/RenderThemeChromiumWin.cpp:
(WebCore):
(WebCore::RenderThemeChromiumWin::paintButton):
(WebCore::RenderThemeChromiumWin::paintSliderTrack):
(WebCore::RenderThemeChromiumWin::paintSliderThumb):
(WebCore::RenderThemeChromiumWin::paintMenuList):
(WebCore::RenderThemeChromiumWin::paintTextFieldInternal):
(WebCore::RenderThemeChromiumWin::paintInnerSpinButton):
(WebCore::RenderThemeChromiumWin::paintProgressBar):
Source/WebKit/chromium:
- src/PlatformSupport.cpp:
(WebCore::PlatformSupport::pluginScriptableObject):
- 1:22 PM Changeset in webkit [137200] by
-
- 18 edits2 adds in trunk
Support for CSS widows and orphans
https://bugs.webkit.org/show_bug.cgi?id=9410
Reviewed by Darin Adler.
Source/WebCore:
The CSS 'widow' and 'orphan' properties were supported by the parser and
style system, but were not actually doing anything in layout. Now they do!
In order to not break existing content, I unfortunately had to go against
the specification and change our default value from 2 to auto. A value of
auto means that widows and orphans will not cause any page/column breaks.
Supporting orphans was a small change. During line layout, if we realise
we need to move to a new page in a situation that would create an orphan,
move the entire block to the new page. There was already code to do this.
Support for widows was trickier. When we finish laying out a block, count
the number of hanging lines. If we've created a widow, and there are enough
available lines on the previous page, then steal some and remember the line
to break at. Trigger a relayout. Then notice the line that was marked for
breaking and avoid the widow. This means some blocks go through layout
twice, but as long as the widow value is small it shouldn't be a huge penalty.
Tests: fast/multicol/widows-and-orphans.html (new test)
printing/page-break-orphans.html
printing/page-break-orphans-and-widows.html
printing/page-break-widows.html
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Return CSSValueAuto for widows and orphans if necessary.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Support "auto" in widow and orphan property parsing.
- css/StyleBuilder.cpp:
(WebCore::StyleBuilder::StyleBuilder): Change property handler to something that supports auto.
- page/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimation::ensurePropertyMap): Add widows and orphans to the animation map.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlockChild): Detect if we've caused a widow-fixing break, and request relayout evaluation.
(WebCore::RenderBlock::markForPaginationRelayoutIfNeeded): Test for a widow-fixing line.
(WebCore::RenderBlock::setBreakAtLineToAvoidWidow): New function to remember where we should break on next layout.
(WebCore::RenderBlock::adjustLinePositionForPagination): Move the entire block to a new page if this would create an orphan.
- rendering/RenderBlock.h:
(WebCore::RenderBlock::shouldBreakAtLineToAvoidWidow): New function to indicate if we are remembering a widow.
(WebCore::RenderBlock::clearShouldBreakAtLineToAvoidWidow): Reset the line breaks.
(WebCore::RenderBlock::lineBreakToAvoidWidow):
(WebCore::RenderBlock::RenderBlockRareData::RenderBlockRareData): Add a flag for indicating if we are remembering a line, and the actual line itself.
- rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutRunsAndFloatsInRange): The code to detect and fix widows. Explained above.
- rendering/style/RenderStyle.h: New methods for indicating if widows and orphans are non-default values.
- rendering/style/StyleRareInheritedData.cpp: Ditto.
- rendering/style/StyleRareInheritedData.h: Ditto.
LayoutTests:
A new, slightly more comprehensive, test for widows and orphans. We also
now pass the existing widows and orphans tests from printing. And
since the default value of the properties changed, update the
computed style test as well.
- fast/css/getComputedStyle/computed-style-expected.txt: New auto value.
- fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: New auto value.
- fast/multicol/widows-and-orphans-expected.txt: Added.
- fast/multicol/widows-and-orphans.html: Added.
- printing/page-break-orphans-and-widows-expected.txt:
- printing/page-break-orphans-expected.txt:
- printing/page-break-widows-expected.txt:
- svg/css/getComputedStyle-basic-expected.txt: New auto value.
- 1:21 PM Changeset in webkit [137199] by
-
- 2 edits in trunk/Tools
Unreviewed. Adding Antoine to the contributor list so his name autocompletes in bugzilla.
- Scripts/webkitpy/common/config/committers.py:
- 1:07 PM Changeset in webkit [137198] by
-
- 4 edits in trunk
REGRESSION (r118735): svg/dom/complex-svgView-specification.html, svg/dom/SVGViewSpec.html, svg/dom/viewspec-parser.html failing on GTK Linux 64-bit Release
https://bugs.webkit.org/show_bug.cgi?id=87734
Reviewed by Martin Robinson.
Source/WebCore:
Don't modify ResourceRequest's URL to have the value of the (encoded)
URI of the SoupMessage. The only exception is in the case of cancelled
SoupMessage - the URL of the ResourceRequest should then be null.
No new tests - existing tests should show no regressions.
- platform/network/soup/ResourceRequestSoup.cpp:
(WebCore::ResourceRequest::updateFromSoupMessage):
Tools:
When willSendRequest should return null in testing, cancel the SoupMessage
instead of setting the request's URI to about:blank.
- DumpRenderTree/gtk/DumpRenderTree.cpp:
(willSendRequestCallback):
- 12:21 PM Changeset in webkit [137197] by
-
- 4 edits in tags/Safari-537.20.4/Source/WebCore
Merged r137178. <rdar://problem/12724571>
- 12:01 PM Changeset in webkit [137196] by
-
- 4 edits in tags/Safari-537.20.4/Source
Versioning.
- 11:59 AM Changeset in webkit [137195] by
-
- 1 copy in tags/Safari-537.20.4
New Tag.
- 11:56 AM Changeset in webkit [137194] by
-
- 4 edits in trunk/Source
Unreviewed distcheck fix.
Source/JavaScriptCore:
- GNUmakefile.list.am:
Source/WebCore:
- GNUmakefile.list.am:
- 11:52 AM Changeset in webkit [137193] by
-
- 3 edits1 move1 add1 delete in trunk/Tools
[chromium] Move the test implementation of WebKit::WebPlugin to the TestRunner library
https://bugs.webkit.org/show_bug.cgi?id=104537
Reviewed by Tony Chang.
In order to hide implementation details from the public TestRunner API,
I moved the plugin to WebTestPluginImpl and added a static create
method to WebTestPlugin. Also, I renamed the plugin from TestWebPlugin
to WebTestPlugin to be more in line with other classes in the
TestRunner API.
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/chromium/TestRunner/public/WebTestPlugin.h: Added.
(WebTestRunner):
(WebTestPlugin):
- DumpRenderTree/chromium/TestRunner/src/WebTestPlugin.cpp: Renamed from Tools/DumpRenderTree/chromium/TestWebPlugin.cpp.
(WebTestRunner::WebTestPlugin::create):
(WebTestRunner):
(WebTestRunner::WebTestPlugin::WebTestPlugin):
(WebTestRunner::WebTestPlugin::~WebTestPlugin):
(WebTestRunner::WebTestPlugin::mimeType):
- DumpRenderTree/chromium/TestWebPlugin.h: Removed.
- DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createPlugin):
- 11:42 AM Changeset in webkit [137192] by
-
- 7 edits in trunk/Source/WebKit2
[GTK] Expose HitTestResult::scrollbar() condition in API
https://bugs.webkit.org/show_bug.cgi?id=104369
Patch by Eduardo Lima Mitev <elima@igalia.com> on 2012-12-10
Reviewed by Carlos Garcia Campos.
This patch populates WebCore::HitTestResult::scrollbar() condition
in WebKitHitTestResult public API, and includes a corresponding unit
test.
- Shared/WebHitTestResult.cpp: Adds new isScrollbar member to
encoding and decoding methods to carry the scrollbar condition
from Web process to UI process.
(WebKit::WebHitTestResult::Data::encode):
(WebKit::WebHitTestResult::Data::decode):
- Shared/WebHitTestResult.h:
(Data): Adds new bool member isScrollbar.
(WebKit::WebHitTestResult::Data::Data): Initializes isScrollbar from
WebCore::HitTestResult::scrollbar().
(WebKit::WebHitTestResult::isScrollbar): Method that returns value
of isScrollbar member.
(WebHitTestResult):
- UIProcess/API/gtk/WebKitHitTestResult.cpp:
(webkitHitTestResultCreate): Adds scrollbar condition to context upon
initialization.
(webkitHitTestResultCompare): Adds comparison of scrollbar condition.
(webkit_hit_test_result_context_is_scrollbar): Public accessor for
scrollbar presence in context.
- UIProcess/API/gtk/WebKitHitTestResult.h: Adds new flag
WEBKIT_HIT_TEST_RESULT_CONTEXT_SCROLLBAR to
WebKitHitTestResultContext enum.
- UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Adds new API symbol
to the corresponding documentation sections.
- UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
(testWebViewMouseTarget): Updates mouse-target
test to include assertions for hitting scrollbar condition, and
an new HTML to privide a positive case.
- 11:36 AM WebKitGTK/WebKit2Roadmap edited by
- (diff)
- 11:33 AM Changeset in webkit [137191] by
-
- 102 edits in trunk/LayoutTests
[EFL] Massive rebaseline after r137146
https://bugs.webkit.org/show_bug.cgi?id=104576
Unreviewed EFL gardening.
Rebaseline several test cases after r137146.
- platform/efl/fast/text/atsui-spacing-features-expected.png:
- platform/efl/fast/text/atsui-spacing-features-expected.txt:
- platform/efl/fast/text/complex-text-opacity-expected.png:
- platform/efl/fast/text/complex-text-opacity-expected.txt:
- platform/efl/fast/text/international/bidi-AN-after-empty-run-expected.png:
- platform/efl/fast/text/international/bidi-AN-after-empty-run-expected.txt:
- platform/efl/fast/text/international/bidi-CS-after-AN-expected.png:
- platform/efl/fast/text/international/bidi-CS-after-AN-expected.txt:
- platform/efl/fast/text/international/bidi-neutral-run-expected.txt:
- platform/efl/svg/W3C-I18N/g-dirLTR-ubNone-expected.png:
- platform/efl/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt:
- platform/efl/svg/W3C-I18N/g-dirLTR-ubOverride-expected.png:
- platform/efl/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt:
- platform/efl/svg/W3C-I18N/g-dirRTL-ubNone-expected.png:
- platform/efl/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt:
- platform/efl/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png:
- platform/efl/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt:
- platform/efl/svg/W3C-I18N/text-anchor-no-markup-expected.png:
- platform/efl/svg/W3C-I18N/text-anchor-no-markup-expected.txt:
- platform/efl/svg/W3C-I18N/text-dirLTR-ubNone-expected.png:
- platform/efl/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt:
- platform/efl/svg/W3C-I18N/text-dirLTR-ubOverride-expected.png:
- platform/efl/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt:
- platform/efl/svg/W3C-I18N/text-dirRTL-ubNone-expected.png:
- platform/efl/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt:
- platform/efl/svg/W3C-I18N/text-dirRTL-ubOverride-expected.png:
- platform/efl/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.png:
- platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-direction-ltr-expected.png:
- platform/efl/svg/W3C-I18N/tspan-direction-ltr-expected.txt:
- platform/efl/svg/W3C-I18N/tspan-direction-rtl-expected.png:
- platform/efl/svg/W3C-I18N/tspan-direction-rtl-expected.txt:
- platform/efl/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.png:
- platform/efl/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt:
- platform/efl/svg/W3C-SVG-1.1/text-intro-05-t-expected.png:
- platform/efl/svg/W3C-SVG-1.1/text-intro-05-t-expected.txt:
- platform/efl/svg/text/bidi-text-query-expected.png:
- platform/efl/svg/text/bidi-text-query-expected.txt:
- platform/efl/svg/text/bidi-tspans-expected.png:
- platform/efl/svg/text/bidi-tspans-expected.txt:
- platform/efl/svg/text/text-intro-05-t-expected.png:
- platform/efl/svg/text/text-intro-05-t-expected.txt:
- 11:31 AM Changeset in webkit [137190] by
-
- 5 edits in trunk/Source/WebCore
Caused crashes in v8. Rolling out until abarth can fix. See cr-issue 165136 for more info
https://bugs.webkit.org/show_bug.cgi?id=104575
Unreviewed, just rolling out r136559.
- bindings/v8/V8GCController.cpp:
- bindings/v8/V8NodeFilterCondition.cpp:
(WebCore::V8NodeFilterCondition::V8NodeFilterCondition):
(WebCore::V8NodeFilterCondition::acceptNode):
- bindings/v8/V8NodeFilterCondition.h:
(WebCore::V8NodeFilterCondition::create):
(V8NodeFilterCondition):
- dom/NodeFilter.h:
- 11:29 AM Changeset in webkit [137189] by
-
- 3 edits in trunk/Tools
run_webkit_tests throws exception when DRT is not present
https://bugs.webkit.org/show_bug.cgi?id=104565
Reviewed by Jochen Eisinger.
Don't actually try to print the bot results if there aren't
any because we exited before running any tests.
- Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(main):
- Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(MainTest.test_build_check):
- 11:26 AM Changeset in webkit [137188] by
-
- 7 edits1 add in trunk
Add convenience methods to use ListHashSet for a LRU cache
https://bugs.webkit.org/show_bug.cgi?id=104499
Reviewed by Sam Weinig.
Source/WTF:
ListHashSet is a great abstract data type to implement caches.
Unfortunately, the class was missing methods to do that easily and
efficiently. This patch fixes that.
The names appendOrMoveToLast() and prependOrMoveToFirst() were chosen
in favor of append()/prepend() to ensure they are not used in place of
add() by accident.
- wtf/ListHashSet.h:
(ListHashSet):
(WTF::::removeFirst):
(WTF::::appendOrMoveToLast):
(WTF::::prependOrMoveToFirst):
(WTF::::unlink):
(WTF::::unlinkAndDelete):
(WTF::::prependNode):
Tools:
Test the new methods added to ListHashSet.
- TestWebKitAPI/CMakeLists.txt:
- TestWebKitAPI/GNUmakefile.am:
- TestWebKitAPI/TestWebKitAPI.gypi:
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/WTF/ListHashSet.cpp: Added.
(TestWebKitAPI):
(TestWebKitAPI::TEST):
- 11:14 AM Changeset in webkit [137187] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed build fix after r137167.
- WebCore.xcodeproj/project.pbxproj: Add InbandTextTrackPrivate.h to framework private
headers.
- 11:09 AM Changeset in webkit [137186] by
-
- 2 edits in trunk/Source/WebCore
Fix the GTK+ build after a collision of two patches.
Unreviewed build fix.
- bindings/gobject/GNUmakefile.am: The GObject DOM bindings library needs to
include the harfbuzz cflags when compiling.
- 11:05 AM Changeset in webkit [137185] by
-
- 6 edits in trunk/Source
Source/WebCore: Make hiddenPageDomTimerInterval a setting
https://bugs.webkit.org/show_bug.cgi?id=104555
Patch by Parth Patel <parpatel@rim.com> on 2012-12-10
Reviewed by Yong Li.
Make hiddenPageDomTimerInterval a setting so client can customize it.
No new tests are needed.
- page/Page.cpp:
(WebCore):
(WebCore::Page::setVisibilityState):
- page/Settings.cpp:
(WebCore):
(WebCore::Settings::setHiddenPageDOMTimerAlignmentInterval):
(WebCore::Settings::hiddenPageDOMTimerAlignmentInterval):
- page/Settings.h:
(Settings):
Source/WebKit/blackberry: [BlackBerry] Make hiddenPageDomTimerInterval a setting
https://bugs.webkit.org/show_bug.cgi?id=104555
Patch by Parth Patel <parpatel@rim.com> on 2012-12-10
Reviewed by Yong Li.
HiddenPageDomTimerInterval in setting in webcore can be utilized by browser application
when needed.
- Api/BlackBerryGlobal.cpp:
(BlackBerry::WebKit::globalInitialize):
- 11:04 AM Changeset in webkit [137184] by
-
- 5 edits in trunk/Tools
webkit-patch print-expectations doesn't work right for platforms w/ shared expectations
https://bugs.webkit.org/show_bug.cgi?id=104405
Reviewed by Eric Seidel.
If multiple ports shared a TestExpectations file, webkit-patch
print-expectations would use the expectation for the first port
using that file and print the result for all ports, rather than
re-parse and print each port separately (e.g., we might print
the chromium-linux expectation for a file for both chromium-linux
and chromium-mac). Discovered while testing/debugging the fix
for bug 104403.
- Scripts/webkitpy/layout_tests/port/test.py:
(TestPort._skipped_tests_for_unsupported_features):
- Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(lint):
- Scripts/webkitpy/tool/commands/queries.py:
(PrintExpectations._model):
- Scripts/webkitpy/tool/commands/queries_unittest.py:
(PrintExpectationsTest.test_platform):
- 10:58 AM Changeset in webkit [137183] by
-
- 4 edits in trunk/Tools
nrwt: fix total number of tests computed in the result summary
https://bugs.webkit.org/show_bug.cgi?id=104061
Reviewed by Jochen Eisinger.
Good thing I left this open, because I actually broke it again
the same way in a merge. Fix the computation of the one_line_summary
again, and add tests for it (also clean up some redundant tests).
Also, add constants into the test port code so that the knowledge
of how many tests should fail and how is next to the list of tests,
rather than a totally different place.
- Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
(LayoutTestRunner.run_tests):
- Scripts/webkitpy/layout_tests/port/test.py:
(TestList.getitem):
- Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(get_test_results):
(MainTest.setUp):
(MainTest.test_basic):
(MainTest.test_run_singly_actually_runs_tests):
(MainTest.test_test_list_with_prefix):
(MainTest.test_missing_and_unexpected_results_with_custom_exit_code.CustomExitCodePort):
(MainTest.test_tolerance.ImageDiffTestPort):
(EndToEndTest.parse_full_results):
- 10:47 AM Changeset in webkit [137182] by
-
- 2 edits in trunk/Source/WebCore
[WinCairo] Compile fix in ImageCairoWin.cpp
https://bugs.webkit.org/show_bug.cgi?id=104554
Patch by peavo@outlook.com <peavo@outlook.com> on 2012-12-10
Reviewed by Brent Fulgham.
- platform/graphics/win/ImageCairoWin.cpp:
(WebCore::BitmapImage::getHBITMAPOfSize): Added parameter.
(WebCore::BitmapImage::drawFrameMatchingSourceSize): Added parameter.
- 10:47 AM Changeset in webkit [137181] by
-
- 3 edits in trunk/LayoutTests
Unreviewed gardening.
Adding failure expectations for failing http tests that started
failing on EFL and GTK after the Jhbuild libsoup was bumped to 2.40.0.
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- 10:42 AM Changeset in webkit [137180] by
-
- 17 edits in trunk
Log to console when script is blocked by sandbox attributes.
https://bugs.webkit.org/show_bug.cgi?id=104365
Reviewed by Ojan Vafai.
Source/WebCore:
Adds a console message to cover script execution blocked within the
context of a sandboxed frame which lacks the 'allow-scripts' permission.
- bindings/ScriptControllerBase.cpp:
(WebCore::ScriptController::canExecuteScripts):
Log a warning when sandboxing flags block script execution.
Tools:
- Scripts/webkitpy/performance_tests/perftest.py:
(PerfTest):
Ignoring the new console message in perftests, as it broke parsing
for the Parser/html-parser.html microbenchmark.
LayoutTests:
- fast/frames/sandboxed-iframe-attribute-parsing-expected.txt:
- fast/frames/sandboxed-iframe-autofocus-denied-expected.txt:
- fast/frames/sandboxed-iframe-parsing-space-characters-expected.txt:
- fast/frames/sandboxed-iframe-scripting-expected.txt:
- http/tests/security/contentSecurityPolicy/sandbox-empty-expected.txt:
- http/tests/security/contentSecurityPolicy/sandbox-empty-subframe-expected.txt:
- http/tests/security/contentSecurityPolicy/sandbox-in-http-header-control-expected.txt:
- http/tests/security/contentSecurityPolicy/sandbox-in-http-header-expected.txt:
- http/tests/security/contentSecurityPolicy/sandbox-invalid-header-expected.txt:
- http/tests/security/isolatedWorld/sandboxed-iframe-expected.txt:
- http/tests/security/sandbox-inherit-to-initial-document-2-expected.txt:
- media/video-controls-no-scripting-expected.txt:
Rebaselining tests with new expectations.
- 10:38 AM Changeset in webkit [137179] by
-
- 10 edits in trunk
JSC profiling and debug dump code should use inferred names when possible
https://bugs.webkit.org/show_bug.cgi?id=104519
Reviewed by Oliver Hunt.
Source/JavaScriptCore:
This does as advertised: the profiler now knows the inferred name of all code blocks,
and all uses of CodeBlock::dump() dump it along with the hash.
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::inferredName):
(JSC::CodeBlock::dumpAssumingJITType):
- bytecode/CodeBlock.h:
- profiler/ProfilerBytecodes.cpp:
(JSC::Profiler::Bytecodes::Bytecodes):
(JSC::Profiler::Bytecodes::toJS):
- profiler/ProfilerBytecodes.h:
(JSC::Profiler::Bytecodes::inferredName):
- profiler/ProfilerDatabase.cpp:
(JSC::Profiler::Database::addBytecodes):
(JSC::Profiler::Database::ensureBytecodesFor):
- profiler/ProfilerDatabase.h:
- runtime/CommonIdentifiers.h:
Tools:
The format I'm using for referring to a code block is now name#hash. For example,
v8-crypto has something called bnpSquareTo#B5QFbU. The profiler allows you to use
either the hash, the inferred name, or the combined hash and full name when referring
to blocks.
- Scripts/display-profiler-output:
- 10:36 AM Changeset in webkit [137178] by
-
- 4 edits in trunk/Source/WebCore
AX: Crash in NSAccessibilityUnignoredDescendant
https://bugs.webkit.org/show_bug.cgi?id=104468
Reviewed by Anders Carlsson.
This crash occurred because AccessibilityScrollView stopped retaining it's ScrollView pointer.
Unfortunately, there was still a case that didn't correctly clear that variable.
That case was when a Frame had a new FrameView associated with it. The old FrameView didn't inform the
accessibility object cache that it should be removed. As a result, when the FrameView deallocated and
did try to remove, it used the wrong AXObjectCache because it was no longer correctly hooked into the
document tree.
No new tests. Existing tests will stop crashing.
- page/Frame.cpp:
(WebCore::Frame::setView): change the name of the method that tells the FrameView to detach
- page/FrameView.cpp:
(WebCore::FrameView::~FrameView):
(WebCore::FrameView::removeFromAXObjectCache): add a method that can be called in multiple places
(WebCore::FrameView::isFrameView):
(WebCore::FrameView::prepareForDetach): detaches scrollbars and accessibility
- page/FrameView.h:
(FrameView):
- 10:22 AM Changeset in webkit [137177] by
-
- 12 edits1 copy2 moves in trunk/Source
[Chromium] Move getPluginsList out of PlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=96507
Reviewed by Darin Fisher.
Part of a refactoring series. See tracking bug 82948.
Source/Platform:
- Platform.gypi:
- chromium/public/Platform.h:
(WebKit):
(Platform):
(WebKit::Platform::getPluginList):
- chromium/public/WebPluginListBuilder.h: Added.
(WebKit):
(WebPluginListBuilder):
Source/WebCore:
- WebCore.gypi:
- platform/chromium/PlatformSupport.h:
(PlatformSupport):
- plugins/chromium/PluginDataChromium.cpp:
(WebCore::PluginCache::plugins):
- plugins/chromium/PluginListBuilder.cpp: Added.
(WebKit):
(WebKit::PluginListBuilder::addPlugin):
(WebKit::PluginListBuilder::addMediaTypeToLastPlugin):
(WebKit::PluginListBuilder::addFileExtensionToLastMediaType):
- plugins/chromium/PluginListBuilder.h: Added.
(WebKit):
(PluginListBuilder):
(WebKit::PluginListBuilder::PluginListBuilder):
Source/WebKit/chromium:
- WebKit.gyp:
- public/WebPluginListBuilder.h:
- public/platform/WebKitPlatformSupport.h:
(WebKit):
(WebKit::WebKitPlatformSupport::idbFactory):
- src/PlatformSupport.cpp:
(WebCore::PlatformSupport::idbFactory):
- src/WebPluginListBuilderImpl.cpp: Removed.
- src/WebPluginListBuilderImpl.h: Removed.
- 10:21 AM Changeset in webkit [137176] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Fixing most of the expectations added in r137153, the baselines are missing so the expectations
are changed according to that. The a11y gurus will have a look at them and determine what the
baselines should look like and whether the tests can be fixed.
- platform/gtk/TestExpectations:
- 10:17 AM Changeset in webkit [137175] by
-
- 23 edits6 adds in trunk
Profiler should say things about OSR exits
https://bugs.webkit.org/show_bug.cgi?id=104497
Reviewed by Oliver Hunt.
Source/JavaScriptCore:
This adds support for profiling OSR exits. For each exit that is taken, the profiler
records the machine code address that the exit occurred on, the exit kind, the origin
stack, and the number of times that it happened.
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- Target.pri:
- assembler/AbstractMacroAssembler.h:
(Jump):
(JSC::AbstractMacroAssembler::Jump::label):
- bytecode/CodeBlock.h:
(JSC::CodeBlock::saveCompilation):
(CodeBlock):
(JSC::CodeBlock::compilation):
(DFGData):
- bytecode/DFGExitProfile.h:
(DFG):
- bytecode/ExitKind.cpp: Added.
(JSC):
(JSC::exitKindToString):
(JSC::exitKindIsCountable):
(WTF):
(WTF::printInternal):
- bytecode/ExitKind.h: Added.
(JSC):
(WTF):
- dfg/DFGGraph.h:
(Graph):
- dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::linkOSRExits):
(JSC::DFG::JITCompiler::link):
(JSC::DFG::JITCompiler::compile):
(JSC::DFG::JITCompiler::compileFunction):
- dfg/DFGJITCompiler.h:
(JITCompiler):
- dfg/DFGOSRExitCompiler.cpp:
- jit/JIT.cpp:
(JSC::JIT::JIT):
(JSC::JIT::privateCompile):
- jit/JIT.h:
(JIT):
- jit/JumpReplacementWatchpoint.h:
(JSC::JumpReplacementWatchpoint::sourceLabel):
(JumpReplacementWatchpoint):
- profiler/ProfilerCompilation.cpp:
(JSC::Profiler::Compilation::addOSRExitSite):
(Profiler):
(JSC::Profiler::Compilation::addOSRExit):
(JSC::Profiler::Compilation::toJS):
- profiler/ProfilerCompilation.h:
(Compilation):
- profiler/ProfilerDatabase.cpp:
(JSC::Profiler::Database::newCompilation):
- profiler/ProfilerDatabase.h:
(Database):
- profiler/ProfilerOSRExit.cpp: Added.
(Profiler):
(JSC::Profiler::OSRExit::OSRExit):
(JSC::Profiler::OSRExit::~OSRExit):
(JSC::Profiler::OSRExit::toJS):
- profiler/ProfilerOSRExit.h: Added.
(Profiler):
(OSRExit):
(JSC::Profiler::OSRExit::id):
(JSC::Profiler::OSRExit::origin):
(JSC::Profiler::OSRExit::exitKind):
(JSC::Profiler::OSRExit::isWatchpoint):
(JSC::Profiler::OSRExit::counterAddress):
(JSC::Profiler::OSRExit::count):
- profiler/ProfilerOSRExitSite.cpp: Added.
(Profiler):
(JSC::Profiler::OSRExitSite::toJS):
- profiler/ProfilerOSRExitSite.h: Added.
(Profiler):
(OSRExitSite):
(JSC::Profiler::OSRExitSite::OSRExitSite):
(JSC::Profiler::OSRExitSite::codeAddress):
- runtime/CommonIdentifiers.h:
Tools:
Adds support for displaying OSR exit information for full summary (just displays the
counts and the number of recompilations), bytecode display (says which bytecodes
exited), and DFG display (annotates disassembly with taken OSR exits and their
counts).
- Scripts/display-profiler-output:
- 9:58 AM Changeset in webkit [137174] by
-
- 2 edits in trunk/LayoutTests
inspector/styles/styles-computed-trace still times out after r137156.
Unreviewed gardening.
- platform/chromium/TestExpectations:
- 9:55 AM Changeset in webkit [137173] by
-
- 38 edits in trunk/Source
[GTK] Build GObject DOM bindings as a separate library
https://bugs.webkit.org/show_bug.cgi?id=104527
Reviewed by Xan Lopez.
Source/WebCore:
- bindings/gobject/GNUmakefile.am: Add libWebCoreDOM library.
- bindings/gobject/WebKitDOMBinding.h: Define private macros.
- bindings/gobject/WebKitDOMCustom.h: Don't include webkit/webkitdefines.h.
- bindings/gobject/WebKitDOMEventTarget.h: Ditto.
- bindings/gobject/WebKitDOMObject.h: Ditto.
- bindings/scripts/CodeGeneratorGObject.pm:
(Generate): Don't include webkitglobalsprivate.h.
(WriteData): Don't include webkit/webkitdefines.h.
- bindings/scripts/gobject-generate-headers.pl: Define WEBKIT_API
macro in webkitdomdefines.h.
- bindings/scripts/test/GObject/WebKitDOMFloat64Array.cpp:
- bindings/scripts/test/GObject/WebKitDOMFloat64Array.h:
- bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestActiveDOMObject.h:
- bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
- bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestCustomNamedGetter.h:
- bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestEventConstructor.h:
- bindings/scripts/test/GObject/WebKitDOMTestEventTarget.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestEventTarget.h:
- bindings/scripts/test/GObject/WebKitDOMTestException.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestException.h:
- bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestInterface.h:
- bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h:
- bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestNamedConstructor.h:
- bindings/scripts/test/GObject/WebKitDOMTestNode.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestNode.h:
- bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestObj.h:
- bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestOverloadedConstructors.h:
- bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:
Source/WebKit/gtk:
- GNUmakefile.am: Link to libWebCoreDOM.la.
- 9:53 AM Changeset in webkit [137172] by
-
- 1 edit in trunk/LayoutTests/ChangeLog
Removed failing test expectations for GTK+ port after r137107.
- platform/gtk/TestExpectations:
- 9:48 AM Changeset in webkit [137171] by
-
- 2 edits in trunk/Source/WebCore
In InbandTextTrackPrivate, return emptyAtoms instead of emptyString() by default.
Unreviewed build fix.
- platform/graphics/InbandTextTrackPrivate.h:
(WebCore::InbandTextTrackPrivate::label):
(WebCore::InbandTextTrackPrivate::language):
- 9:35 AM Changeset in webkit [137170] by
-
- 2 edits in trunk/LayoutTests
Chromium test expectations update after r137152.
Unreviewed gardening.
- platform/chromium/TestExpectations:
- 9:31 AM Changeset in webkit [137169] by
-
- 13 edits in trunk/Source/WebCore
Web Inspector: Native Memory Instrumentation: instrument RenderBox descendants.
https://bugs.webkit.org/show_bug.cgi?id=104026
Reviewed by Eric Seidel.
Plain vanilla instrumentation for RenderBox descendants.
- rendering/RenderFrameSet.cpp:
(WebCore::RenderFrameSet::reportMemoryUsage):
(WebCore):
(WebCore::RenderFrameSet::GridAxis::reportMemoryUsage):
- rendering/RenderFrameSet.h:
(RenderFrameSet):
(GridAxis):
- rendering/RenderListMarker.cpp:
(WebCore::RenderListMarker::reportMemoryUsage):
(WebCore):
- rendering/RenderListMarker.h:
(RenderListMarker):
- rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::reportMemoryUsage):
(WebCore):
- rendering/RenderReplaced.h:
(RenderReplaced):
- rendering/RenderTableCol.cpp:
(WebCore::RenderTableCol::reportMemoryUsage):
(WebCore):
- rendering/RenderTableCol.h:
(RenderTableCol):
- rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::reportMemoryUsage):
(WebCore):
- rendering/RenderTableRow.h:
(RenderTableRow):
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::reportMemoryUsage):
(WebCore):
(WebCore::RenderTableSection::RowStruct::reportMemoryUsage):
(WebCore::RenderTableSection::CellStruct::reportMemoryUsage):
- rendering/RenderTableSection.h:
(CellStruct):
(RowStruct):
- 9:30 AM Changeset in webkit [137168] by
-
- 3 edits2 adds in trunk
AX: wrong Enabled states on a ListBox
https://bugs.webkit.org/show_bug.cgi?id=104483
Patch by Alejandro Piñeiro <apinheiro@igalia.com> on 2012-12-10
Reviewed by Chris Fleizach.
Source/WebCore:
Test: accessibility/listbox-enabled-states.html
- accessibility/AccessibilityListBoxOption.cpp:
(WebCore::AccessibilityListBoxOption::isEnabled): taking into
account the DISABLED attribute and the aria-disabled attribute to
decide if the item is enabled or not.
LayoutTests:
- accessibility/listbox-enabled-states-expected.txt: Added.
- accessibility/listbox-enabled-states.html: Added.
- 9:28 AM Changeset in webkit [137167] by
-
- 2 edits in trunk/Source/WebCore
cr-win build fix after r137161.
Unreviewed.
- platform/graphics/MediaPlayer.h: Replace forward-decl of
InbandTextTrackPrivate with #include as the definition is required.
- 9:25 AM Changeset in webkit [137166] by
-
- 31 edits in trunk
[CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
https://bugs.webkit.org/show_bug.cgi?id=104539
Reviewed by Antonio Gomes.
.:
As discussed on webkit-dev it is not needed to keep this feature flag
as support for <position> type is a small feature that is already
implemented by three other UAs. It was useful while landing this
feature as partial bits were landed one after one.
- Source/cmake/OptionsEfl.cmake:
- Source/cmake/WebKitFeatures.cmake:
- Source/cmakeconfig.h.cmake:
- configure.ac:
Source/JavaScriptCore:
As discussed on webkit-dev it is not needed to keep this feature flag
as support for <position> type is a small feature that is already
implemented by three other UAs. It was useful while landing this
feature as partial bits were landed one after one.
- Configurations/FeatureDefines.xcconfig:
Source/WebCore:
As discussed on webkit-dev it is not needed to keep this feature flag
as support for <position> type is a small feature that is already
implemented by three other UAs. It was useful while landing this
feature as partial bits were landed one after one.
No new tests : the feature is covered by various tests and it is already enabled in many ports.
- Configurations/FeatureDefines.xcconfig:
- GNUmakefile.am:
- GNUmakefile.features.am:
- css/CSSParser.cpp:
(WebCore::CSSParser::parseFillPosition):
(WebCore::CSSParser::parseFillProperty):
- css/CSSParser.h:
- css/CSSToStyleMap.cpp:
(WebCore::CSSToStyleMap::mapFillXPosition):
(WebCore::CSSToStyleMap::mapFillYPosition):
- rendering/style/FillLayer.cpp:
(SameSizeAsFillLayer):
(WebCore::FillLayer::FillLayer):
(WebCore::FillLayer::operator=):
(WebCore::FillLayer::operator==):
(WebCore::FillLayer::fillUnsetProperties):
- rendering/style/FillLayer.h:
(WebCore::FillLayer::backgroundXOrigin):
(WebCore::FillLayer::backgroundYOrigin):
(WebCore::FillLayer::isBackgroundOriginSet):
(WebCore::FillLayer::clearXPosition):
(WebCore::FillLayer::clearYPosition):
(FillLayer):
Source/WebKit/chromium:
As discussed on webkit-dev it is not needed to keep this feature flag
as support for <position> type is a small feature that is already
implemented by three other UAs. It was useful while landing this
feature as partial bits were landed one after one.
- features.gypi:
Source/WebKit/mac:
As discussed on webkit-dev it is not needed to keep this feature flag
as support for <position> type is a small feature that is already
implemented by three other UAs. It was useful while landing this
feature as partial bits were landed one after one.
- Configurations/FeatureDefines.xcconfig:
Source/WebKit2:
As discussed on webkit-dev it is not needed to keep this feature flag
as support for <position> type is a small feature that is already
implemented by three other UAs. It was useful while landing this
feature as partial bits were landed one after one.
- Configurations/FeatureDefines.xcconfig:
Tools:
As discussed on webkit-dev it is not needed to keep this feature flag
as support for <position> type is a small feature that is already
implemented by three other UAs. It was useful while landing this
feature as partial bits were landed one after one.
- Scripts/webkitperl/FeatureList.pm:
- qmake/mkspecs/features/features.pri:
WebKitLibraries:
As discussed on webkit-dev it is not needed to keep this feature flag
as support for <position> type is a small feature that is already
implemented by three other UAs. It was useful while landing this
feature as partial bits were landed one after one.
- win/tools/vsprops/FeatureDefines.vsprops:
- win/tools/vsprops/FeatureDefinesCairo.vsprops:
LayoutTests:
Unskip the related CSS3 <position> type tests for background-position
as now the feature is enabled by default.
- platform/win/TestExpectations:
- platform/wincairo/TestExpectations:
- 9:19 AM Changeset in webkit [137165] by
-
- 1 edit1 delete in trunk/LayoutTests
Remove expectation of previously failing test.
It passes after r137152.
Unreviewed gardening.
- platform/chromium-win-xp/fast/forms/time-multiple-fields/time-multiple-fields-keyboard-events-expected.txt: Removed.
- 9:14 AM Changeset in webkit [137164] by
-
- 2 edits in trunk/Source/WebKit2
WebKitWebViewBase produces a warning if compiled with gcc
https://bugs.webkit.org/show_bug.cgi?id=104561
Patch by Alberto Garcia <agarcia@igalia.com> on 2012-12-10
Reviewed by Carlos Garcia Campos.
- UIProcess/API/gtk/WebKitWebViewBase.h:
since this file can be included from C code, use void to
explicitly specify that webkit_web_view_base_get_type() doesn't
have parameters. Otherwise we get "warning: function declaration
isn't a prototype" with -Wstrict-prototypes.
- 9:01 AM Changeset in webkit [137163] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Fix warning for comparison between signed and unsigned
https://bugs.webkit.org/show_bug.cgi?id=104563
Reviewed by Rob Buis.
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::isCaretAtEndOfText):
- 8:56 AM Changeset in webkit [137162] by
-
- 2 edits in trunk
[Qt] Remove the support for building a debug WebKit with a release Qt
https://bugs.webkit.org/show_bug.cgi?id=104560
Reviewed by Tor Arne Vestbø.
This creates issues with non-framework builds of Qt (necessary for debug-only
builds) since a Qt5 prefix is now added to the base target name.
- Source/api.pri:
- 8:50 AM ViewportInteractionTopics edited by
- (diff)
- 8:19 AM Changeset in webkit [137161] by
-
- 25 edits1 move8 adds in trunk
Add support for in-band text tracks to Mac port
https://bugs.webkit.org/show_bug.cgi?id=103663
Reviewed by Sam Weinig.
Source/WebCore:
Test: media/track/track-in-band.html
- GNUmakefile.list.am: Move InbandTextTrackPrivate.h to platform/graphics. Add InbandTextTrackPrivateClient.h.
- Target.pri: Ditto.
- WebCore.gypi: Ditto.
- WebCore.xcodeproj/project.pbxproj: Add new files.
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setReadyState): No need to call processInbandTextTracks, in-band tracks
are now registered by the media engine as they are discovered.
(WebCore::HTMLMediaElement::mediaPlayerDidAddTrack): New, called by the media player when a new
in-band track is found.
(WebCore::HTMLMediaElement::mediaPlayerDidRemoveTrack): New, called by the media player when an
in-band track goes away.
- html/HTMLMediaElement.h:
- html/track/InbandTextTrack.cpp:
(WebCore::InbandTextTrack::InbandTextTrack): Use m_private instead of tracksPrivate because
it is zeroed during assignment.
- platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::addTextTrack): New MediaPlayerClient method to allow MediaPlayerPrivate subclasses
to add a new in-band track.
(WebCore::MediaPlayer::removeTextTrack): New MediaPlayerClient method to allow MediaPlayerPrivate subclasses
to remove a new in-band track.
- platform/graphics/MediaPlayer.h:
- platform/graphics/MediaPlayerPrivate.h:
- platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: Added.
(WebCore::InbandTextTrackPrivateAVF::InbandTextTrackPrivateAVF):
(WebCore::InbandTextTrackPrivateAVF::~InbandTextTrackPrivateAVF):
(WebCore::InbandTextTrackPrivateAVF::processCueAttributes): Convert an attribute string into WebVTT
cue setting and content strings.
(WebCore::InbandTextTrackPrivateAVF::processCue): Process a new cue.
(WebCore::InbandTextTrackPrivateAVF::disconnect): Clear member variables.
(WebCore::InbandTextTrackPrivateAVF::resetCueValues): Reset cue values to defaults.
(WebCore::InbandTextTrackPrivateAVF::setMode): Set track mode and call player's trackModeChanged.
- platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: Added.
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: Initialize
m_inbandTrackConfigurationPending.
(WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation):
(WebCore::MediaPlayerPrivateAVFoundation::seekCompleted): Flush the currently accumulating
cue so it doesn't get the wrong duration.
(WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification): Handle InbandTracksNeedConfiguration.
(WebCore::MediaPlayerPrivateAVFoundation::flushCurrentCue): New, pass the current cue up to the client.
(WebCore::MediaPlayerPrivateAVFoundation::configureInbandTracks): Configure in-band tracks.
(WebCore::MediaPlayerPrivateAVFoundation::trackModeChanged): Schedule a call to configureInbandTracks.
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
- platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h: Added.
- platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm: Added.
(WebCore::InbandTextTrackPrivateAVFObjC::InbandTextTrackPrivateAVFObjC):
(WebCore::InbandTextTrackPrivateAVFObjC::disconnect):
(WebCore::InbandTextTrackPrivateAVFObjC::kind): Return track kind.
(WebCore::InbandTextTrackPrivateAVFObjC::label): Return track label.
(WebCore::InbandTextTrackPrivateAVFObjC::language): Return track language.
(WebCore::InbandTextTrackPrivateAVFObjC::isDefault):
- platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
(MediaPlayerPrivateAVFoundationObjC):
(WebCore::MediaPlayerPrivateAVFoundationObjC::playerItem):
- platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC): Initialize m_currentTrack.
(WebCore::MediaPlayerPrivateAVFoundationObjC::cancelLoad): Clear m_legibleOutput.
(WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): Create and initialize m_legibleOutput.
(WebCore::MediaPlayerPrivateAVFoundationObjC::processTextTracks): Called when the player item's
"tracks" changes, add and remove in-band text tracks as necessary.
(WebCore::MediaPlayerPrivateAVFoundationObjC::processCue): Pass an attributed string to the current
track to be processed.
(WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTrack): Tell AVFoundation to select an in-band track.
(WebCore::MediaPlayerPrivateAVFoundationObjC::currentTrack): Return the current track.
(-[WebCoreAVFMovieObserver legibleOutput:didOutputAttributedStrings:nativeSampleBuffers:forItemTime:]): Legible
output delegate.
Source/WTF:
- wtf/Platform.h: Define HAVE_AVFOUNDATION_TEXT_TRACK_SUPPORT.
LayoutTests:
Test for initial support for in-band text tracks. New test skipped on all ports that don't
have support in the media engine.
- media/content/counting-subtitled.m4v: Added.
- media/track/track-in-band-expected.txt: Added.
- media/track/track-in-band.html: Added.
- platform/chromium/TestExpectations:
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- platform/mac/TestExpectations:
- platform/qt/TestExpectations:
- platform/win/TestExpectations:
- 8:18 AM Changeset in webkit [137160] by
-
- 10 edits in trunk/Source/WebCore
Web Inspector: fix front-end compilation warnings
https://bugs.webkit.org/show_bug.cgi?id=104557
Reviewed by Alexander Pavlov.
Corresponding annotations added.
- inspector/Inspector.json:
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::highlightNode):
- inspector/InspectorDOMAgent.h:
(InspectorDOMAgent):
- inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleDeclaration.prototype.):
(WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
- inspector/front-end/ConsoleMessage.js:
(WebInspector.ConsoleMessageImpl.prototype._appendPropertyPreview):
- inspector/front-end/DOMAgent.js:
(WebInspector.DOMAgent.prototype.highlightDOMNode):
- inspector/front-end/DOMPresentationUtils.js:
(WebInspector.DOMPresentationUtils.linkifyNodeReference):
- inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.prototype.update):
- inspector/front-end/Toolbar.js:
- 8:10 AM Changeset in webkit [137159] by
-
- 2 edits in trunk/Source/WebCore
[Qt] MediaPlayerQTKit broken after switching QPainter to raster engine.
https://bugs.webkit.org/show_bug.cgi?id=104550
With Qt5 QPainter changed to using the raster engine.
Therefore we no longer have an NSGraphicsContext that we can
use for drawing video frames.
With this patch we are rendering the video frame into an image buffer
and then paint it manually using QPainter.
Reviewed by Simon Hausmann.
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore):
(WebCore::swapBgrToRgb):
Swap the color format from BGR to RGB,
since BGR is not supported by QImage.
(WebCore::MediaPlayerPrivateQTKit::paint):
- 8:00 AM Changeset in webkit [137158] by
-
- 2 edits in trunk/Source/WebCore
[WinCairo] Link fix in InspectorController.cpp
https://bugs.webkit.org/show_bug.cgi?id=104556
Patch by peavo@outlook.com <peavo@outlook.com> on 2012-12-10
Reviewed by Pavel Feldman.
- inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController): Added missing #if check.
- 7:55 AM ViewportInteractionTopics edited by
- (diff)
- 7:28 AM Changeset in webkit [137157] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] Add 'WebKit/chromium/win8' to .gitignore
https://bugs.webkit.org/show_bug.cgi?id=104534
Reviewed by Jochen Eisinger.
I've now added it via 'git add' once, and via 'git commit -a' twice.
Let's make that more difficult, shall we?
- .gitignore:
- 7:23 AM Changeset in webkit [137156] by
-
- 2 edits in trunk/LayoutTests
Unreviewed: Web Inspector: update test expectation for inspector/styles/styles-computed-trace.html.
it is slow in debug version. ~20 sec on linux.
- platform/chromium/TestExpectations:
- 7:20 AM Changeset in webkit [137155] by
-
- 1 edit1 add in trunk/Tools
Build fix.
Add a patchfile missing from my previous commit.
- gtk/patches/harfbuzz-icu-detection-fix.patch: Added.
- 7:20 AM Changeset in webkit [137154] by
-
- 5 edits in trunk/Source/WebCore
Web Inspector: remove the Overrides / Settings context menu from gear icon
https://bugs.webkit.org/show_bug.cgi?id=104546
Reviewed by Alexander Pavlov.
It sounds like too many people don't like the way it works. Bringing things back: overrides will be a tab in settings for now.
Moving present behavior to under experiment.
- inspector/front-end/OverridesView.js:
(WebInspector.OverridesView):
- inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
- inspector/front-end/SettingsScreen.js:
(WebInspector.OverridesSettingsTab):
(WebInspector.SettingsController):
(WebInspector.SettingsController.prototype.get statusBarItem):
(WebInspector.SettingsController.prototype._mouseDown.showSettings):
(WebInspector.SettingsController.prototype._mouseDown):
(WebInspector.SettingsController.prototype._mouseUp):
- inspector/front-end/helpScreen.css:
(#settings-screen .tabbed-pane-header):
(#settings-screen .tabbed-pane-header-tabs):
(#settings-screen .tabbed-pane-header-tab):
- 7:16 AM Changeset in webkit [137153] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Unskipping 8 failing accessibility tests, adding expected failures for them.
- platform/gtk/TestExpectations:
- 7:13 AM Changeset in webkit [137152] by
-
- 12 edits in trunk
Visual order of empty value placeholder in INPUT_MULTIPLE_FIELDS_UI is wrong in RTL
https://bugs.webkit.org/show_bug.cgi?id=104438
Reviewed by Hajime Morita.
Source/WebCore:
No new tests. This updates datetimelocal-appearance-l10n.html for he-il
and ar-eg locales.
- html/shadow/DateTimeNumericFieldElement.cpp:
(WebCore::DateTimeNumericFieldElement::DateTimeNumericFieldElement):
We should not append Right-to-left-mark to each of placeholder
strings. It makes numeric field separators such as ':' and '/' RTL, and
makes a wrong visual order. We use unicode-bidi:bidi-override and
direction:ltr instead. It means we force LTR only to this element
- html/shadow/DateTimeNumericFieldElement.h:
Makes m_placeholder const again.
- html/shadow/DateTimeEditElement.cpp:
(WebCore::DateTimeEditBuilder::visitLiteral):
Explicitly set right-to-left-mark before S, WS, ON types according to
Unicod Bidirectional Algorithm Table 4 [1]. This is needed because we
don't have context like "This literal follows European/Arabic numbers"
in a case of showing placeholders.
[1] http://www.unicode.org/reports/tr9/#Bidirectional_Character_Types
LayoutTests:
- platform/chromium-mac/fast/forms/datetimelocal/datetimelocal-appearance-l10n-expected.png:
- platform/chromium/TestExpectations:
Update bug numbers and add time-multiple-fields-localization.html.
- fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events.html:
Adjust test scenario for the new behavior.
- fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-keyboard-events.html:
- fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events.html:
- fast/forms/time-multiple-fields/time-multiple-fields-keyboard-events.html:
- 7:11 AM Changeset in webkit [137151] by
-
- 2 edits in trunk/Tools
REGRESSION(137127): Causes assertion failures on the debug bots
https://bugs.webkit.org/show_bug.cgi?id=104549
Patch by Martin Robinson <mrobinson@igalia.com> on 2012-12-10
Reviewed by Alejandro G. Castro.
After handling the new TextOutput message we should return the method
handling messages received.
- WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Fix a missing early return.
- 7:02 AM Changeset in webkit [137150] by
-
- 16 edits1 copy in trunk
[Soup] utilize multipart/x-mixed-replace support recently added to libsoup
https://bugs.webkit.org/show_bug.cgi?id=94515
Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2012-12-09
Reviewed by Martin Robinson.
.:
- configure.ac: require soup 2.40.0, which adds the new support.
Source/WebCore:
The multipart/x-mixed-replace content type is often used for providing
"push" server support, with each part in the multipart response
replacing the previous one in the rendering. Soup recently acquired
support for multipart/x-mixed replace, which this change utilizes.
Covered by existing multipart/x-mixed-replace tests.
- platform/network/ResourceHandleInternal.h:
(ResourceHandleInternal): add new member to this class, the multipart input stream
- platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::cleanupSoupRequestOperation): also clear the multipart input stream on
cleanup
(WebCore::nextPartCallback): callback that handles reporting the new response delivered
with the new part, if any; uses the factored out updateFromSoupMessageHeaders method
(WebCore::sendRequestCallback): handle multipart/x-mixed-replace responses by
requesting the next part
(WebCore::readCallback): when reading has finished, request the next part when
handling a multipart/x-mixed-replace response
- platform/network/soup/ResourceResponse.h:
(ResourceResponse): add declaration for new method
- platform/network/soup/ResourceResponseSoup.cpp:
(WebCore::ResourceResponse::updateFromSoupMessage): call new updateFromSoupMessageHeaders
method, instead of dealing with the message headers directly
(WebCore::ResourceResponse::updateFromSoupMessageHeaders): new method, factored out from
updateFromSoupMessage, so this same code can be reused for updating responses for
multipart/x-mixed-replace responses parts
Tools:
This change requires a very recent libsoup, so update our jhbuild
requirements.
- gtk/jhbuild.modules: depend on soup version that adds the multipart/x-mixed-replace
support
- efl/jhbuild.modules: ditto
LayoutTests:
- platform/efl/TestExpectations: adjust expectations for tests that now pass.
- platform/gtk/TestExpectations: ditto.
- platform/gtk-wk2/TestExpectations: add missing multipart tests expectations.
- platform/gtk/http/tests/multipart/invalid-image-data-expected.png: new baseline
- platform/gtk/http/tests/multipart/invalid-image-data-expected.txt: ditto.
- 6:58 AM Changeset in webkit [137149] by
-
- 7 edits in trunk/Source/WebKit2
[WK2] TiledBackingStore: remove unneeded 'treatAsInitialValue' parameter from PageViewportControllerClient::setContentsScale
https://bugs.webkit.org/show_bug.cgi?id=104544
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-12-10
Reviewed by Kenneth Rohde Christiansen.
Removed 'treatAsInitialValue' parameter from PageViewportControllerClient::setContentsScale()
as it was not used by anyone.
- UIProcess/PageViewportController.cpp:
(WebKit::PageViewportController::didRenderFrame):
- UIProcess/PageViewportControllerClient.h:
(PageViewportControllerClient):
- UIProcess/efl/PageViewportControllerClientEfl.cpp:
(WebKit::PageViewportControllerClientEfl::setContentsScale):
- UIProcess/efl/PageViewportControllerClientEfl.h:
(PageViewportControllerClientEfl):
- UIProcess/qt/PageViewportControllerClientQt.cpp:
(WebKit::PageViewportControllerClientQt::setContentsScale):
- UIProcess/qt/PageViewportControllerClientQt.h:
(PageViewportControllerClientQt):
- 6:57 AM Changeset in webkit [137148] by
-
- 13 edits in trunk
Implement testRunner.setViewModeMediaFeature() in WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=103886
Patch by Zoltan Nyul <zoltan.nyul@intel.com> on 2012-12-10
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Export symbol for WebCore::Page::setViewMode on Mac.
No new tests, no behavior change for layout tests.
- WebCore.exp.in:
Source/WebKit2:
Add support for TestRunner::setViewModeMediaFeature().
This functionality is needed by the following LayoutTests:
fast/media/media-query-list-02.html
fast/media/media-query-list-03.html
fast/media/media-query-list-04.html
fast/media/media-query-list-05.html
fast/media/media-query-list-06.html
fast/media/media-query-list-07.html
fast/media/view-mode-media-feature.html
- WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageSetViewMode):
- WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setViewMode):
(WebKit):
- WebProcess/WebPage/WebPage.h:
(WebPage):
Tools:
Implement testRunner.setViewModeMediaFeature() in WebKitTestRunner.
This API is required by layout tests.
- WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
- WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::setViewModeMediaFeature):
(WTR):
- WebKitTestRunner/InjectedBundle/TestRunner.h:
(TestRunner):
LayoutTests:
Unskipping the following tests for EFL WebKit2:
fast/media/media-query-list-02.html
fast/media/media-query-list-03.html
fast/media/media-query-list-04.html
fast/media/media-query-list-05.html
fast/media/media-query-list-06.html
fast/media/media-query-list-07.html
fast/media/view-mode-media-feature.html
- platform/efl-wk2/TestExpectations:
- 6:54 AM Changeset in webkit [137147] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] Fix QtWebProcess discovery on Windows
https://bugs.webkit.org/show_bug.cgi?id=104552
Reviewed by Jocelyn Turcotte.
Make sure to look for QtWebProcess.exe on Windows instead of QtWebProcess.
- Shared/qt/ProcessExecutablePathQt.cpp:
(WebKit::executablePath):
- 6:50 AM Changeset in webkit [137146] by
-
- 135 edits8 adds in trunk
[GTK] Bring Harfbuzz-ng support to Gtk
https://bugs.webkit.org/show_bug.cgi?id=92098
Reviewed by Gustavo Noronha Silva.
.:
Add support for detecting HarfBuzz during configuration phase. Add these
flags to the FreeType ones since HarfBuzz support is part of the FreeType
backend.
- configure.ac: Detect HarfBuzz.
Source/WebCore:
Enable HarfBuzz support by default. With the Freetype backend we no longer
fall back to Pango for rendering complex text.
No new tests. This is covered by existing tests.
- GNUmakefile.am: Add HarfBuzz include directories and define.
- GNUmakefile.list.am: Add HarfBuzz files to source list and remove
Pango ones.
- platform/graphics/freetype/FontPlatformDataFreeType.cpp:
(WebCore::FontPlatformData::operator==): To properly render fallback
fonts via HarfBuzz , it's important that we actually ask Fontconfig
whether or not two patterns are the same. This ensures that when patterns
are just copies of one another they only take up one slot in the font cache
and appear to be the same font to HarfBuzzShaper.
Source/WebKit/gtk:
Add HarfBuzz dependency.
- GNUmakefile.am: Add FreeType/HarfBuzz CFLAGS to the library.
Source/WebKit2:
Add a HarfBuzz dependency.
- GNUmakefile.am: Add FreeType/HarfBuzz CFLAGS/LIBS to the libraries.
Tools:
Add HarfBuzz dependency.
- GNUmakefile.am: Add FreeType/HarfBuzz CFLAGS to the WebCore Internals library.
- gtk/jhbuild.modules: Add HarfBuzz to the JHbuild and remove Pango, since it
should no longer affect layout test results.
LayoutTests:
Update tests results that have changed due to the switch to HarfBuzz.
In general, these are progressions or harmless metrics differences.
- platform/gtk: Update test results that have changed.
- 6:40 AM Changeset in webkit [137145] by
-
- 6 edits2 deletes in trunk
[Qt] Use QLibraryInfo::LibraryExecutablesPath unconditionally
https://bugs.webkit.org/show_bug.cgi?id=104541
Reviewed by Jocelyn Turcotte.
We now depend on a Qt 5 version that is guaranteed to have this API, so we
can remove the configure checks for it.
Source/WebKit2:
- PluginProcess.pro:
- Shared/qt/ProcessExecutablePathQt.cpp:
(WebKit::executablePath):
- WebProcess.pro:
Tools:
- qmake/config.tests/libexecdir/libexecdir.cpp: Removed.
- qmake/config.tests/libexecdir/libexecdir.pro: Removed.
- qmake/mkspecs/features/features.prf:
- 6:38 AM Changeset in webkit [137144] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Test expectation update
https://bugs.webkit.org/show_bug.cgi?id=104548
- platform/chromium/TestExpectations:
Hyphenation tests failure on WebKit-only checkout Linux
- 6:31 AM Changeset in webkit [137143] by
-
- 3 edits in trunk/LayoutTests
Unreviewed: update expectation for inspector/styles/svg-style.xhtml
- inspector/styles/svg-style-expected.txt:
- platform/chromium/TestExpectations:
- 6:15 AM Changeset in webkit [137142] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [Overrides] Unable to change values in Device Metrics override setting
https://bugs.webkit.org/show_bug.cgi?id=104542
Reviewed by Vsevolod Vlasov.
Remove inadvertent object property assignment.
- inspector/front-end/OverridesView.js:
- 5:51 AM Changeset in webkit [137141] by
-
- 2 edits in trunk/Tools
REGRESSION(r135863): GtkLauncher --help no longer displays all help options
https://bugs.webkit.org/show_bug.cgi?id=104382
Patch by Víctor Manuel Jáquez Leal <vjaquez@igalia.com> on 2012-12-10
Reviewed by Philippe Normand.
Remove gst_init() because it steals the GOptionContext.
gst_init_get_option_group() already does the initialization job.
- GtkLauncher/main.c:
(main):
- 5:34 AM Changeset in webkit [137140] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Webkit crashes sometimes (even though very rarely) when deleting a webview
https://bugs.webkit.org/show_bug.cgi?id=104504
Reviewed by George Staikos.
When deleting a webview, the webkit thread will send a sync message to userInterfaceThread
to delete handlers, including the viewport accessor. But the UserInterfaceThread could be
doing a blit after it has deleted the viewport accessor and before the webkit thread gets
the time slot to resume it's operation to clean up the webview, which leaves a very short
time that viewport accessor of a webpage has been deleted while the webpage is still in
the process of deleting, and the viewport accessor is referenced in the UserInterfaceThread.
So we need to check if the viewport accessor is NULL before using it in the backingstore code.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::blitVisibleContents):
(BlackBerry::WebKit::BackingStorePrivate::invalidateWindow):
- 5:14 AM Changeset in webkit [137139] by
-
- 2 edits in trunk/Source/WebCore
[Qt] Builds for Mac are tied to the OS system instead of the SDK version.
https://bugs.webkit.org/show_bug.cgi?id=104529
Reviewed by Simon Hausmann.
Using work by Eike Ziller <eike.ziller@digia.com>.
The build system now first tries to assign the correct system libraries
for the SDK being used for Mac builds. If this does not yield any
result, it falls back to using the Mac OS version to determine the
correct library.
No new tests (not applicable).
- WebCore.pri:
- 4:58 AM Changeset in webkit [137138] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] Fix build without QtQuick 2
Unreviewed trivial build fix.
This function is defined in QtWebContext, which is only used when QtQuick2 is available.
- UIProcess/qt/WebContextQt.cpp:
(WebKit::WebContext::platformInvalidateContext):
- 4:20 AM Changeset in webkit [137137] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed: touch RenderingAllInOne.cpp to fix Apple Windows builder.
- rendering/RenderingAllInOne.cpp:
- 4:18 AM Changeset in webkit [137136] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Network: newly added items are not filtered.
https://bugs.webkit.org/show_bug.cgi?id=104021
Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2012-12-10
Reviewed by Vsevolod Vlasov.
Extracted method to higlight/hide record according to filter.
Used this method to process newly created records.
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._applyFilter): Extracted.
(WebInspector.NetworkLogView.prototype.performFilter): Refactored.
- 4:11 AM Changeset in webkit [137135] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: Unreviewed: move reportMemoryUsage to public section.
- rendering/RenderBlock.h:
(RenderBlock):
- rendering/RenderBox.h:
(RenderBox):
- 4:03 AM Changeset in webkit [137134] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Managing current failures on the 64-bit debug builder to get it green.
- platform/gtk/TestExpectations:
- 3:53 AM QtWebKitReleases edited by
- (diff)
- 3:50 AM WebKitEFLLayoutTest edited by
- (diff)
- 3:47 AM Changeset in webkit [137133] by
-
- 9 edits in trunk/Source/WebCore
Web Inspector: adds an option to remove toolbar icons.
https://bugs.webkit.org/show_bug.cgi?id=95654
Reviewed by Vsevolod Vlasov.
- removes compact mode in favor or dock-to-bottom
- introduces setting for hiding toolbar icons
- inspector/front-end/DockController.js:
(WebInspector.DockController.prototype._toggleDockState):
- inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
- inspector/front-end/Toolbar.js:
(WebInspector.Toolbar.prototype.setDockedToBottom):
(WebInspector.Toolbar.prototype._toolbarDragStart):
(WebInspector.Toolbar.prototype._toolbarDrag):
- inspector/front-end/helpScreen.css:
(body.dock-to-bottom .help-content):
- inspector/front-end/inspector.css:
(body.dock-to-bottom #toolbar):
(body.no-toolbar-icons #toolbar):
(body.dock-to-bottom.port-qt #toolbar):
(body.dock-to-bottom.inactive #toolbar):
(body.no-toolbar-icons .toolbar-item.toggleable):
(body.dock-to-bottom .toolbar-item.toggleable):
(body.dock-to-bottom .toolbar-icon):
(body.no-toolbar-icons .toolbar-icon):
(body.no-toolbar-icons #main):
(body.dock-to-bottom .toolbar-icon.custom-toolbar-icon):
(body.dock-to-bottom .toolbar-item:active .toolbar-icon):
(body.dock-to-bottom .toolbar-label):
(body.dock-to-bottom #search-toolbar-label):
(body.no-toolbar-icons .toolbar-label):
(body.no-toolbar-icons #toolbar-dropdown):
(#toolbar-dropdown .scrollable-content):
(#toolbar-dropdown .toolbar-item.toggleable:hover):
(body.no-toolbar-icons #toolbar-dropdown .toolbar-label):
(body.no-toolbar-icons #toolbar-dropdown .toolbar-item):
(body.dock-to-bottom .toolbar-item.resources .toolbar-icon):
(body.dock-to-bottom .toolbar-item.network .toolbar-icon):
(body.dock-to-bottom .toolbar-item.scripts .toolbar-icon):
(body.dock-to-bottom .toolbar-item.timeline .toolbar-icon):
(body.dock-to-bottom .toolbar-item.profiles .toolbar-icon):
(body.dock-to-bottom .toolbar-item.audits .toolbar-icon):
(body.dock-to-bottom .toolbar-item.console .toolbar-icon):
(body.dock-to-bottom.port-qt .toolbar-item.close-left, body.dock-to-bottom.port-qt .toolbar-item.close-right):
(body.dock-to-bottom #main):
- 3:43 AM QtWebKitReleases edited by
- (diff)
- 3:41 AM QtWebKitReleases edited by
- (diff)
- 3:39 AM Changeset in webkit [137132] by
-
- 3 edits in trunk/LayoutTests
[EFL] Remove duplicate expectations
https://bugs.webkit.org/show_bug.cgi?id=104526
Unreviewed gardening: collect all WebAudio-related skips
to one place.
Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-12-10
- platform/efl-wk2/TestExpectations:
- platform/efl/TestExpectations:
- 3:34 AM Changeset in webkit [137131] by
-
- 3 edits in trunk/Source/WebCore
Refactoring: Remove HTMLFormControlElement::autofocus
https://bugs.webkit.org/show_bug.cgi?id=104524
Reviewed by Kentaro Hara.
autofocus function is used only by HTMLFormControlElement itself, no
sub-classes override it, and it is not exposed via an IDL attribute,
No new tests. This doesn't make any behavior changes.
- html/HTMLFormControlElement.cpp:
(WebCore::shouldAutofocus): Use fastHasAttribute instead of autofocus().
- html/HTMLFormControlElement.h: Remove autofocus().
- 3:30 AM Changeset in webkit [137130] by
-
- 3 edits in trunk/Tools
[GTK][WTR] Implement AccessibilityUIElement::titleUIElement
https://bugs.webkit.org/show_bug.cgi?id=102953
Reviewed by Martin Robinson.
Implement AccessibilityUIElement::titleUIElement in the ATK backend
in the same manner it is implemented in DumpRenderTree. Both implementations
are updated to unref the relation set before the final function return
rather than at the end of each loop through the relations held in the said
relation set.
- DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
(AccessibilityUIElement::titleUIElement):
- WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
(WTR::AccessibilityUIElement::titleUIElement):
- 3:29 AM Changeset in webkit [137129] by
-
- 2 edits in trunk/Source/WebCore
Fix GC3Dintptr and GC3Dsizeiptr typedefs for Win64
https://bugs.webkit.org/show_bug.cgi?id=104426
Patch by Jonathan Liu <net147@gmail.com> on 2012-12-10
Reviewed by Simon Hausmann.
The GC3Dintptr and GC3Dsizeiptr typedefs are incorrect for Win64 as
LLP64 is used there. This would result in compile error due to
narrowing conversion of 64-bit pointer to signed long int which is
32-bit.
- platform/graphics/GraphicsTypes3D.h:
- 3:00 AM Changeset in webkit [137128] by
-
- 2 edits in trunk/Tools
Fix the WebKit2 debug build
- WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Fix a typo of WKStringGetTypeID().
- 2:44 AM Changeset in webkit [137127] by
-
- 9 edits in trunk/Tools
[WTR] Move text output accumulation to the UIProcess
https://bugs.webkit.org/show_bug.cgi?id=104214
Patch by Martin Robinson <mrobinson@igalia.com> on 2012-12-10
Reviewed by Darin Adler.
Instead of accumulating text output in the InjectedBundle and then sending it to the UIProcess
once a test is finished, immediately send any text output to the UIProcess. This will allow
WebKitTestRunner to output text from the UIProcess as well.
- WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: Remove the handling of the text output
StringBuilder. Add a method to send output to the UIProcess.
- WebKitTestRunner/InjectedBundle/InjectedBundle.h:
(InjectedBundle):
- WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Change code that appends to the StringBuilder
to use the new outputText method.
- WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
- WebKitTestRunner/InjectedBundle/TestRunner.cpp: Ditto.
- WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp: Ditto.
- WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::TestInvocation): Intialize the StringBuilder.
(WTR::TestInvocation::invoke): Clear the StringBuilder when a new tests starts.
(WTR::TestInvocation::dumpResults): m_textOutput is a StringBuilder now so the
method of printing the text is slightly different.
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Handle the new TextOutput
message by appending the results to the StringBuilder.
- WebKitTestRunner/TestInvocation.h:
(TestInvocation): Switch the type of m_textOutput.
- 2:37 AM Changeset in webkit [137126] by
-
- 3 edits in trunk/Source/WebKit2
Coordinated Graphics: Remove the dependency of ShareableSurface from Coordinated Graphics.
https://bugs.webkit.org/show_bug.cgi?id=100819
Patch by Huang Dongsung <luxtella@company100.net> on 2012-12-10
Reviewed by Kenneth Rohde Christiansen.
It is a follow-up patch of r137117.
There are two changes
- Add a const qualifier to supportsAlpha().
- Use << instead of encode() when using ArgumentEncoder.
- Shared/CoordinatedGraphics/CoordinatedSurface.h:
(WebKit::CoordinatedSurface::supportsAlpha):
- Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp:
(WebKit::WebCoordinatedSurface::Handle::encode):
(WebKit::WebCoordinatedSurface::copyToTexture):
- 2:35 AM Changeset in webkit [137125] by
-
- 2 edits in trunk/Source/WebKit2
Coordinated Graphics: Remove the dependency of ShareableSurface from Coordinated Graphics.
https://bugs.webkit.org/show_bug.cgi?id=100819
Patch by Huang Dongsung <luxtella@company100.net> on 2012-12-10
Reviewed by Kenneth Rohde Christiansen.
WebCoordinatedSurface::copyToTexture should return early if the backend
is GraphicsSurface.
- Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp:
(WebKit::WebCoordinatedSurface::copyToTexture):
- 2:26 AM Changeset in webkit [137124] by
-
- 16 edits in trunk/Source
Refactoring: Introduce HTMLFormControlElement::isDisabledOrReadOnly
https://bugs.webkit.org/show_bug.cgi?id=104508
Reviewed by Kentaro Hara.
Source/WebCore:
We have a lot of code like element->disabled element->readOnly(). isDisabledOrReadOnly makes them simpler.
No new tests. This make no behaivor change.
- html/HTMLFormControlElement.h:
(WebCore::HTMLFormControlElement::isDisabledOrReadOnly):
Added. Note that the implmentation of disabled() is not just "return m_disabled;".
- html/BaseChooserOnlyDateAndTimeInputType.cpp:
(WebCore::BaseChooserOnlyDateAndTimeInputType::handleDOMActivateEvent):
Use isDisabledOrReadOnly.
- html/BaseMultipleFieldsDateAndTimeInputType.cpp:
(WebCore::BaseMultipleFieldsDateAndTimeInputType::shouldSpinButtonRespondToMouseEvents): Ditto.
(WebCore::BaseMultipleFieldsDateAndTimeInputType::isPickerIndicatorOwnerDisabledOrReadOnly): Ditto.
- html/ColorInputType.cpp:
(WebCore::ColorInputType::handleDOMActivateEvent): Ditto.
(WebCore::ColorInputType::didChooseColor): Ditto.
- html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::recalcWillValidate): Ditto.
- html/HTMLTextAreaElement.h:
(WebCore::HTMLTextAreaElement::valueMissing): Ditto.
- html/RangeInputType.cpp:
(WebCore::RangeInputType::handleMouseDownEvent): Ditto.
(WebCore::RangeInputType::handleTouchEvent): Ditto.
(WebCore::RangeInputType::handleKeydownEvent): Ditto.
- html/SearchInputType.cpp:
(WebCore::SearchInputType::handleKeydownEvent): Ditto.
- html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::handleKeydownEventForSpinButton): Ditto.
(WebCore::TextFieldInputType::shouldSpinButtonRespondToMouseEvents): Ditto.
- html/shadow/TextControlInnerElements.cpp:
(WebCore::SearchFieldCancelButtonElement::defaultEventHandler): Ditto.
(WebCore::SearchFieldCancelButtonElement::willRespondToMouseClickEvents): Ditto.
(WebCore::InputFieldSpeechButtonElement::defaultEventHandler): Ditto.
- html/shadow/TextFieldDecorationElement.cpp:
(WebCore::TextFieldDecorationElement::defaultEventHandler): Ditto.
(WebCore::TextFieldDecorationElement::willRespondToMouseMoveEvents): Ditto.
(WebCore::TextFieldDecorationElement::willRespondToMouseClickEvents): Ditto.
Source/WebKit/blackberry:
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::openDatePopup): Use isDisabledOrReadOnly.
(BlackBerry::WebKit::InputHandler::openColorPopup): Ditto.
Source/WebKit/chromium:
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::textInputType):
Use isDisabledOrReadOnly. Also, remove unnecessary local variable.
- 2:14 AM Changeset in webkit [137123] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Removing failure expectations for the MicroData tests that were fixed in r137107.
- platform/gtk/TestExpectations:
- 2:12 AM Changeset in webkit [137122] by
-
- 2 edits in trunk/Source/WebKit/qt
Check that plugin functionality is enabled before querying the database for installed plugins.
https://bugs.webkit.org/show_bug.cgi?id=73671
Patch by Andy Shaw <andy.shaw@digia.com> on 2012-12-10
Reviewed by Jocelyn Turcotte.
- WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::objectContentType):
- 1:38 AM Changeset in webkit [137121] by
-
- 6 edits in trunk
Web Inspector: console broken? - console.dirxml behaves like console.log
https://bugs.webkit.org/show_bug.cgi?id=104245
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Do not generate preview for dirxml.
- inspector/front-end/ConsoleMessage.js:
(WebInspector.ConsoleMessageImpl.prototype._formatParameterAsArray):
LayoutTests:
- inspector/console/console-dirxml-expected.txt:
- inspector/console/console-dirxml.html:
- platform/chromium/TestExpectations:
- 1:29 AM Changeset in webkit [137120] by
-
- 4 edits in trunk/Source/WebCore
Refactoring: Remove HTMLFormControlElement::setDisabled
https://bugs.webkit.org/show_bug.cgi?id=104510
Reviewed by Kentaro Hara.
Remove it because the number of call sites is only one, and the
setDisabled implementation is equivalent to setBooleanAttribute.
No new tests. This should not make behavior changes.
- html/HTMLFormControlElement.cpp: Remove setDisabled.
- html/HTMLFormControlElement.h: Ditto.
- html/FileInputType.cpp:
(WebCore::FileInputType::disabledAttributeChanged):
Replace setDisabled with setBooleanAttribute.
- 1:03 AM Changeset in webkit [137119] by
-
- 5 edits in trunk/Source/WebCore
[Shadow DOM][Refacdtoring] nextTo() and previousTo() can be part of ContentDistribution
https://bugs.webkit.org/show_bug.cgi?id=104514
Reviewed by Kentaro Hara.
InsertionPoint::nextTo() and InsertionPoint::previousTo() are an
query to distributed nodes, which is what ContentDistribution
represents. We can move them to better home.
No new tests. No behavior change.
- html/shadow/ContentDistributor.cpp:
(WebCore::ContentDistribution::nextTo): Moved from InsertionPoint
(WebCore):
(WebCore::ContentDistribution::previousTo): Moved from InsertionPoint
- html/shadow/ContentDistributor.h:
(ContentDistribution):
- html/shadow/InsertionPoint.cpp:
- html/shadow/InsertionPoint.h:
(WebCore::InsertionPoint::nextTo): Delegated to ContentDistribution
(WebCore::InsertionPoint::previousTo): Delegated to ContentDistribution
- 12:42 AM Changeset in webkit [137118] by
-
- 2 edits in trunk/Tools
Unreviewed. Adding Mihai Maerean to the list of contributors, working on CSSRegions.
- 12:28 AM Changeset in webkit [137117] by
-
- 18 edits2 moves1 add in trunk/Source/WebKit2
Coordinated Graphics: Add CoordinatedSurface to remove the dependency of ShareableSurface from Coordinated Graphics.
https://bugs.webkit.org/show_bug.cgi?id=100819
Patch by Huang Dongsung <luxtella@company100.net> on 2012-12-10
Reviewed by Noam Rosenthal.
Internal Review by Gwang Yoon Hwang and Jae Hyun Park.
It is a preparation patch for Threaded Coordinated Graphics on WK1.
Create a CoordinatedSurface class that can be the base class both for
the current IPC-based ShareableSurface, renamed here to
WebCoordinatedSurface, and to a future thread-based surface
implementation.
- CMakeLists.txt:
- Shared/CoordinatedGraphics/CoordinatedSurface.h: Added.
(WebCore):
(WebKit):
(CoordinatedSurface):
(WebKit::CoordinatedSurface::~CoordinatedSurface):
(WebKit::CoordinatedSurface::supportsAlpha):
- Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp: Renamed from Source/WebKit2/Shared/ShareableSurface.cpp. Extends CoordinatedSurface.
(WebKit):
(WebKit::WebCoordinatedSurface::Handle::Handle):
(WebKit::WebCoordinatedSurface::Handle::encode):
(WebKit::WebCoordinatedSurface::Handle::decode):
(WebKit::CoordinatedSurface::create):
(WebKit::WebCoordinatedSurface::create):
(WebKit::WebCoordinatedSurface::createWithSurface):
(WebKit::WebCoordinatedSurface::createGraphicsContext):
(WebKit::WebCoordinatedSurface::WebCoordinatedSurface):
(WebKit::WebCoordinatedSurface::~WebCoordinatedSurface):
(WebKit::WebCoordinatedSurface::createHandle):
(WebKit::WebCoordinatedSurface::copyToTexture):
- Shared/CoordinatedGraphics/WebCoordinatedSurface.h: Renamed from Source/WebKit2/Shared/ShareableSurface.h.
(WebCore):
(WebKit):
(WebCoordinatedSurface):
(Handle):
(WebKit::WebCoordinatedSurface::Handle::graphicsSurfaceToken):
(WebKit::WebCoordinatedSurface::isBackedByGraphicsSurface):
- Target.pri:
- UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp:
(WebKit::CoordinatedBackingStoreTile::swapBuffers):
(WebKit::CoordinatedBackingStoreTile::setBackBuffer):
(WebKit::CoordinatedBackingStore::updateTile):
- UIProcess/CoordinatedGraphics/CoordinatedBackingStore.h:
(WebKit):
(CoordinatedBackingStoreTile):
(CoordinatedBackingStore):
- UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
(WebKit::LayerTreeCoordinatorProxy::createUpdateAtlas):
(WebKit::LayerTreeCoordinatorProxy::updateImageBacking):
- UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h:
(LayerTreeCoordinatorProxy):
- UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in:
- UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
(WebKit::LayerTreeRenderer::updateImageBacking):
- UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
(TileUpdate):
(WebKit::LayerTreeRenderer::TileUpdate::TileUpdate):
(LayerTreeRenderer):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::beginContentUpdate):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
(CoordinatedGraphicsLayerClient):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedImageBacking.cpp:
(WebKit::CoordinatedImageBacking::update):
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedImageBacking.h:
(Coordinator):
(CoordinatedImageBacking):
- WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
(WebKit::LayerTreeCoordinator::updateImageBacking):
(WebKit::LayerTreeCoordinator::createUpdateAtlas):
(WebKit::LayerTreeCoordinator::beginContentUpdate):
(WebKit::LayerTreeCoordinator::releaseInactiveAtlasesTimerFired):
- WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h:
(LayerTreeCoordinator):
- WebProcess/WebPage/CoordinatedGraphics/UpdateAtlas.cpp:
(WebKit::UpdateAtlas::UpdateAtlas):
(WebKit::UpdateAtlas::beginPaintingOnAvailableBuffer):
- WebProcess/WebPage/CoordinatedGraphics/UpdateAtlas.h:
(UpdateAtlasClient):
(UpdateAtlas):
(WebKit::UpdateAtlas::supportsAlpha):
- 12:22 AM Changeset in webkit [137116] by
-
- 2 edits in trunk/LayoutTests
Unreviewed EFL gardening.
Unskip 5 MicroData test cases that were fixed in r137107.
- platform/efl/TestExpectations:
- 12:19 AM Changeset in webkit [137115] by
-
- 2 edits in trunk/LayoutTests
Unreviewed EFL gardening.
Add fast/canvas/webgl tests to TestExpectations since they
sometimes crash on the bots.
- platform/efl/TestExpectations:
- 12:17 AM Changeset in webkit [137114] by
-
- 7 edits in trunk
[GTK] accessibility/language-attribute.html is failing
https://bugs.webkit.org/show_bug.cgi?id=98369
Patch by Joanmarie Diggs <jdiggs@igalia.com> on 2012-12-10
Reviewed by Chris Fleizach.
The test is failing for two reasons: Not exposing the language
for accessible objects and AccessibilityUIElement::language() not
being implemented.
Source/WebCore:
No new tests; instead, unskipped the previously-failing test.
- accessibility/atk/WebKitAccessibleInterfaceText.cpp:
(getAttributeSetForAccessibilityObject): Expose the language via AtkText attribute
Tools:
- DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
(AccessibilityUIElement::language): Implemented.
LayoutTests:
- accessibility/language-attribute.html: Modified the test to work with
both Mac and Atk platforms. (The former exposes static text objects as
accessibles; the latter folds the text into the parent element.)
- platform/gtk/TestExpectations: Unskipped the previously-failing test.
- 12:04 AM Changeset in webkit [137113] by
-
- 9 edits2 moves in trunk
[GTK] accessibility/editable-webarea-context-menu-point.html is failing
https://bugs.webkit.org/show_bug.cgi?id=98364
Patch by Joanmarie Diggs <jdiggs@igalia.com> on 2012-12-10
Reviewed by Chris Fleizach.
Tools:
The test is failing because the clickPoint values remain unchanged. The
values remain unchanged because ATK lacks a means to keep track of this
information.
- DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
(AccessibilityUIElement::clickPointX): Added comment that ATK doesn't have clickPoint details
(AccessibilityUIElement::clickPointY): Added comment that ATK doesn't have clickPoint details
LayoutTests:
This test seems to be Mac-specific. Therefore, move the test to that
platform and remove the skips from the other platforms.
- platform/chromium/TestExpectations: Remove editable-webarea-context-menu-point.html
- platform/efl-wk2/TestExpectations: Remove editable-webarea-context-menu-point.html
- platform/gtk-wk2/TestExpectations: Remove editable-webarea-context-menu-point.html
- platform/gtk/TestExpectations: Remove editable-webarea-context-menu-point.html
- platform/mac/accessibility/editable-webarea-context-menu-point-expected.txt: Renamed from LayoutTests/accessibility/editable-webarea-context-menu-point-expected.txt.
- platform/mac/accessibility/editable-webarea-context-menu-point.html: Renamed from LayoutTests/accessibility/editable-webarea-context-menu-point.html.
- platform/win/TestExpectations: Remove editable-webarea-context-menu-point.html
- platform/wincairo/TestExpectations: Remove editable-webarea-context-menu-point.html