Timeline
Aug 24, 2012:
- 11:25 PM EfficientStrings edited by
- Use appendLiteral instead of append with StringBuilder (diff)
- 10:33 PM Changeset in webkit [126680] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Skipping a test added in r126611 that requires CSS image-set support.
That feature is not currently enabled on the GTK port.
- platform/gtk/TestExpectations:
- 10:13 PM EfficientStrings edited by
- Remove extraneous semicolon. (diff)
- 10:10 PM EfficientStrings edited by
- Remove extraneous parenthesis (diff)
- 9:55 PM Changeset in webkit [126679] by
-
- 2 edits in trunk/Source/WebKit2
<rdar://problem/12157689> REGRESSION: WebProcessProxy destructor is sometimes called recursively
https://bugs.webkit.org/show_bug.cgi?id=94997
Reviewed by Dan Bernstein.
- UIProcess/WebContext.cpp: (WebKit::WebContext::disconnectProcess): Make sure that
we don't try to delete WebProcessProxy while the vector still contains it. Previously,
we used RefPtr::clear, which zeroes out the value before destructing, but doing that
in every RefPtr destructor would be bad for performance.
- 8:42 PM Changeset in webkit [126678] by
-
- 2 edits in trunk/Source/WebKit/mac
Don't create a new ResourceRequest if delegate returns the same NSURLRequest we passed it
https://bugs.webkit.org/show_bug.cgi?id=94962
Reviewed by Geoffrey Garen.
If the NSURLRequest returned from the delegate callback is the same as the one we passed to
it, then avoid creating a new ResourceRequest object. This reduces the number of calls to
ResourceRequest::doUpdateResourceRequest().
- WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::dispatchWillSendRequest):
- 7:59 PM WikiStart edited by
- (diff)
- 7:35 PM Changeset in webkit [126677] by
-
- 4 edits2 copies in branches/chromium/1229
Merge 126131
BUG=143551
Review URL: https://chromiumcodereview.appspot.com/10875067
- 7:27 PM Changeset in webkit [126676] by
-
- 5 edits2 copies in branches/chromium/1229
Merge 125988
BUG=141564
Review URL: https://chromiumcodereview.appspot.com/10874075
- 7:26 PM Changeset in webkit [126675] by
-
- 5 edits in trunk/Source/WebCore
[Texmap] Move TextureMapperGL to use GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=78672
Patch by Helder Correia <Helder Correia> on 2012-08-24
Reviewed by Noam Rosenthal.
Introducing a new GraphicsContext3D::texImage2DDirect() to allow
initialization of textures without allocation. The existing
textImage2D() refuses a null pixel buffer, and
texImage2DResourceSafe() allows it but performs memory
allocation and zeroes the bits. This was not fast enough for
BitmapTextureGL frequent setting up.
No new tests, refactoring.
- platform/graphics/GraphicsContext3D.h:
(GraphicsContext3D):
- platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
(WebCore::GraphicsContext3D::texImage2D):
- platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
(WebCore::GraphicsContext3D::texImage2DDirect):
(WebCore):
- platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:
(WebCore::GraphicsContext3D::texImage2D):
- 7:07 PM Changeset in webkit [126674] by
-
- 1 edit in branches/chromium/1229/Source/WebCore/rendering/RenderBlock.cpp
Merge 125315
BUG=137409
Review URL: https://chromiumcodereview.appspot.com/10867075
- 6:57 PM Changeset in webkit [126673] by
-
- 1 edit2 copies in branches/chromium/1229
Merge 125234
BUG=137147
Review URL: https://chromiumcodereview.appspot.com/10875066
- 6:41 PM Changeset in webkit [126672] by
-
- 2 edits2 copies in branches/chromium/1229
Merge 126205
BUG=143656
Review URL: https://chromiumcodereview.appspot.com/10868094
- 6:29 PM Changeset in webkit [126671] by
-
- 1 edit2 copies in branches/chromium/1229
Merge 125472
BUG=142395
Review URL: https://chromiumcodereview.appspot.com/10883044
- 6:25 PM Changeset in webkit [126670] by
-
- 1 edit in branches/chromium/1229/Source/WebCore/loader/cache/CachedCSSStyleSheet.cpp
Merge 125292
BUG=140656
Review URL: https://chromiumcodereview.appspot.com/10868093
- 6:16 PM Changeset in webkit [126669] by
-
- 1 edit2 copies in branches/chromium/1229
Merge 124843
BUG=139690
Review URL: https://chromiumcodereview.appspot.com/10867074
- 6:04 PM Changeset in webkit [126668] by
-
- 1 edit2 copies in branches/chromium/1229
Merge 125237
BUG=139168
Review URL: https://chromiumcodereview.appspot.com/10868092
- 6:02 PM WebKit Team edited by
- Added myself to the committers list (diff)
- 5:58 PM Changeset in webkit [126667] by
-
- 1 edit2 copies in branches/chromium/1229
Merge 124914
BUG=138915
Review URL: https://chromiumcodereview.appspot.com/10878069
- 5:50 PM Changeset in webkit [126666] by
-
- 2 edits in trunk/Source/WebCore
-webkit-font-smoothing: antialiased should use CG font rendering code path, not GDI
https://bugs.webkit.org/show_bug.cgi?id=54004
<rdar://problem/8971429>
Patch by Roger Fong <roger_fong@apple.com> on 2012-08-24
Reviewed by Dan Bernstein.
When specifying -webkit-font-smoothing: antialised; the code path ends up using GDI to draw the text.
GDI ends up drawing subpixel antialiased text, not aliased text anyways.
The CG code path also has the capability of drawing antialiased text. The reason that the GDI path was
used in the first place is no longer a concern here so we can stop using the GDI code path.
- platform/graphics/win/FontCGWin.cpp: Removing GDI font drawing code path.
(WebCore):
(WebCore::Font::drawGlyphs):
- 5:40 PM Changeset in webkit [126665] by
-
- 2 edits2 copies in branches/chromium/1229
Merge 125052
BUG=136182
Review URL: https://chromiumcodereview.appspot.com/10870090
- 5:40 PM Changeset in webkit [126664] by
-
- 2 edits in trunk/Source/WTF
Touch Platform.h to solve a build dependency issue
Unreviewed.
- wtf/Platform.h:
- 5:35 PM Changeset in webkit [126663] by
-
- 10 edits34 adds in trunk
Add support for compositing the contents of overflow:scroll areas
https://bugs.webkit.org/show_bug.cgi?id=91117
Patch by Sami Kyostila <skyostil@chromium.org> on 2012-08-24
Reviewed by Simon Fraser.
Patch by Simon Fraser with modifications by Sami Kyostila and Ian Vollick.
Allow a RenderLayer which exists for overflow scrolling
to use a composited layer for the scrolled contents, which
allows for compositing-accelerated overflow scrolling.
Tests:
compositing/overflow/clipping-ancestor-with-accelerated-scrolling-ancestor.html
compositing/overflow/iframe-inside-overflow-clipping.html
compositing/overflow/nested-scrolling.html
compositing/overflow/overflow-auto-with-touch-no-overflow.html
compositing/overflow/overflow-auto-with-touch.html
compositing/overflow/overflow-clip-with-accelerated-scrolling-ancestor.html
compositing/overflow/overflow-hidden-with-touch.html
compositing/overflow/overflow-overlay-with-touch-no-overflow.html
compositing/overflow/overflow-overlay-with-touch.html
compositing/overflow/overflow-scroll-with-touch-no-overflow.html
compositing/overflow/overflow-visible-with-touch.html
compositing/overflow/remove-overflow-crash.html
compositing/overflow/remove-overflow-crash2.html
compositing/overflow/scrolling-content-clip-to-viewport.html
compositing/overflow/textarea-scroll-touch.html
- platform/graphics/GraphicsLayerClient.h: New paint phase flag
used for scrolled contents. Provide a typedef for the flags
so that they can be ORed together.
- rendering/RenderLayer.h:
(WebCore::ClipRectsCache::ClipRectsCache):
(ClipRectsCache): In debug builds, store a m_respectingOverflowClip
flag so we can ASSERT later that we're fetching clip rects with the
same setting the rects were generated with.
Add new PaintLayerPaintingOverflowContents painting flag.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::usesCompositedScrolling): New method returns
true if this layer is using composited overflow scrolling.
(WebCore::RenderLayer::scrollTo): Don't repaint if we're doing
a composited scroll.
(WebCore::RenderLayer::paintLayer): Pass the right flags to backgroundClipRect();
if we're painting scrolled contents, we don't want to take the overflow clip rect
into account.
(WebCore::RenderLayer::paintLayerContents): Ditto. Also don't do the intersectsDamageRect()
check if we're painting scrolled contents.
(WebCore::RenderLayer::updateClipRects): New parameter to tell whether to respect overflow clipping.
Assert if we're fetching cached rects with a different 'respect clip' flag to the one they were generated
with.
(WebCore::RenderLayer::calculateClipRects): Take the 'respectOverflowClip' flag into account
when computing clip rects.
(WebCore::RenderLayer::parentClipRects): Ditto
(WebCore::RenderLayer::backgroundClipRect): Ditto
(WebCore::RenderLayer::calculateRects): Ditto
(WebCore::RenderLayer::childrenClipRect): This function is called from widget code, so may use a different
'respect clip rects' setting than that used for painting, so it has to compute clip rects on the fly.
(WebCore::RenderLayer::shouldBeNormalFlowOnly): Composited scrolling makes a layer not normal-flow only.
- rendering/RenderLayerBacking.h:
(RenderLayerBacking): New member variables for the layers for scrolled contents, and the scrolling
layer which handles the scroll offset.
(WebCore::RenderLayerBacking::hasScrollingLayer):
(WebCore::RenderLayerBacking::scrollingLayer):
(WebCore::RenderLayerBacking::scrollingContentsLayer):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::~RenderLayerBacking):
(WebCore::RenderLayerBacking::destroyGraphicsLayers): Tear down the scrolling layers, if any.
(WebCore::layerOrAncestorIsTransformedOrUsingCompositedScrolling): Renamed from layerOrAncestorIsTransformed,
since it has to look for composited scrolling layers too.
(WebCore::RenderLayerBacking::shouldClipCompositedBounds): We don't want the contents of scrolling layers
to get clipped to the viewport.
(WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration): Create scrolling layers if necessary.
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): Set scrolling layer geometry.
(WebCore::RenderLayerBacking::updateInternalHierarchy): Hook up scrolling layers.
(WebCore::RenderLayerBacking::updateDrawsContent): Scrolling layers affect whether the main graphics layer
needs to draw content.
(WebCore::RenderLayerBacking::updateScrollingLayers): Create or destroy scrolling layers.
(WebCore::RenderLayerBacking::paintingPhaseForPrimaryLayer): If we have a scrolled contents layer,
the main layer should not paint the foreground.
(WebCore::RenderLayerBacking::parentForSublayers): Sublayers are parented in the scrolling contents
layer if one exists.
(WebCore::RenderLayerBacking::setContentsNeedDisplay): Need to dirty the scrolling contents layer.
(WebCore::RenderLayerBacking::setContentsNeedDisplayInRect): Ditto.
(WebCore::RenderLayerBacking::paintIntoLayer): Set the right painting flags.
(WebCore::RenderLayerBacking::paintContents): Only clip to the bounds if we're not painting overflow contents.
- 5:34 PM Changeset in webkit [126662] by
-
- 3 edits in trunk/Source/WebKit/chromium
Chromium: WebAccessibilityObject should expose updateBackingStore
https://bugs.webkit.org/show_bug.cgi?id=94611
Reviewed by Chris Fleizach.
This change just exposes a method, with no new tests. Next, Chromium
will be modified to call this new method, and this will be followed
by a change that gets rid of calls to updateBackingStore under the
hood. That last change may add a test or update an existing test.
- public/WebAccessibilityObject.h:
(WebAccessibilityObject):
- src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::updateBackingStoreAndCheckValidity):
(WebKit):
- 5:32 PM Changeset in webkit [126661] by
-
- 1 edit in branches/chromium/1229/Source/WebCore/rendering/RenderBlock.cpp
Merge 125353
BUG=134324
Review URL: https://chromiumcodereview.appspot.com/10868091
- 5:31 PM Changeset in webkit [126660] by
-
- 6 edits2 copies in branches/chromium/1229
Merge 125351
BUG=134324
Review URL: https://chromiumcodereview.appspot.com/10882045
- 5:15 PM Changeset in webkit [126659] by
-
- 1 edit2 copies in branches/chromium/1229
Merge 124888
BUG=132019
Review URL: https://chromiumcodereview.appspot.com/10879084
- 5:13 PM Changeset in webkit [126658] by
-
- 19 edits3 adds in trunk
Unify Number to StringImpl conversion
https://bugs.webkit.org/show_bug.cgi?id=94879
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-08-24
Reviewed by Geoffrey Garen.
Source/JavaScriptCore:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- runtime/UString.cpp:
- runtime/UString.h:
(JSC::UString::number):
Update UString to directly use the common NumberToString implementation.
Source/WebKit2:
- win/WebKit2.def: Update the exported symbols.
Source/WTF:
Previously, UString::number() and String::number() used different implementations.
WTF::String::number() was simply forwarding to String::format().
UString::number() had an optimized version of the conversion.
This patch replace both implementation by a new version, faster than the two previous versions.
The new functions numberToStringImpl improvements are:
-about 3 times faster than String::number().
-14% faster than UString::number() on signed numbers.
-9% faster than UString::number() on unsigned numbers.
- GNUmakefile.list.am:
- WTF.gypi:
- WTF.pro:
- WTF.vcproj/WTF.vcproj:
- WTF.xcodeproj/project.pbxproj:
- wtf/CMakeLists.txt:
- wtf/text/IntegerToStringConversion.cpp: Added.
(WTF::numberToStringImplSigned):
(WTF::numberToStringImpl):
(WTF::numberToStringImplUnsigned):
- wtf/text/IntegerToStringConversion.h: Added.
- wtf/text/WTFString.cpp:
(WTF::String::format):
- wtf/text/WTFString.h:
(WTF::String::number):
Tools:
Add testing for the new IntegerToStringConversion.
- TestWebKitAPI/CMakeLists.txt:
- TestWebKitAPI/GNUmakefile.am:
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/WTF/IntegerToStringConversion.cpp: Added.
- 5:06 PM Changeset in webkit [126657] by
-
- 3 edits2 adds in trunk
ASSERTION FAILED: !attached() in WebCore::Node::attach()
https://bugs.webkit.org/show_bug.cgi?id=94650
Reviewed by Abhishek Arya.
Source/WebCore:
Prevent SVGTests::handleAttributeChange() from attaching elements with detached parents.
Test: svg/custom/system-language-crash.html
- svg/SVGTests.cpp:
(WebCore::SVGTests::handleAttributeChange):
LayoutTests:
- svg/custom/system-language-crash-expected.txt: Added.
- svg/custom/system-language-crash.html: Added.
- 4:58 PM Changeset in webkit [126656] by
-
- 86 edits4 adds in trunk
CSSStyleDeclaration.cssText should not contain extraneous whitespace in final delimiter
https://bugs.webkit.org/show_bug.cgi?id=94633
Patch by Glenn Adams <glenn@skynav.com> on 2012-08-24
Reviewed by Benjamin Poulain.
Ensure cssText final delimiter does not contain extraneous space character after semicolon.
Source/WebCore:
Test: cssom/cssstyledeclaration-csstext-final-delimiter.html
- css/CSSFontFaceRule.cpp:
(WebCore::CSSFontFaceRule::cssText):
Conditionally add SPACE in serialized rule since asText() no longer
contains extra space.
Construct result using StringBuilder.
- css/CSSPageRule.cpp:
(WebCore::CSSPageRule::cssText):
Conditionally add SPACE in serialized rule since asText() no longer
contains extra space.
Construct result using StringBuilder.
- css/CSSProperty.cpp:
(WebCore::CSSProperty::cssText):
Ensure serialized property does longer contains extra space in cssText.
Construct result using StringBuilder.
- css/CSSStyleRule.cpp:
(WebCore::CSSStyleRule::cssText):
Conditionally add SPACE in serialized rule since asText() no longer
contains extra space.
Construct result using StringBuilder.
- css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::addRule):
Conditionally add SPACE in reserialized rule in case passed style no
longer contains extra space. Note that if it does already contain an
extra space that inserting an extra space here is harmless (i.e., is
effectively normalized during parse).
Construct result using StringBuilder.
- css/StylePropertySet.cpp:
(WebCore::StylePropertySet::asText):
Ensure serialized property set does longer contains extra space in final
delimiter.
Construct result using StringBuilder.
- css/WebKitCSSKeyframeRule.cpp:
(WebCore::StyleKeyframe::cssText):
Conditionally add SPACE in serialized rule since asText() no longer
contains extra space.
Construct result using StringBuilder.
- editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::addBlockStyle):
Conditionally add SPACE in block style since cssText no longer contains
extra space.
Construct result using StringBuilder.
(WebCore::ApplyStyleCommand::addInlineStyleIfNeeded):
Conditionally add SPACE in pre-existing inline style since cssText no
longer contains extra space.
Construct result using StringBuilder.
LayoutTests:
- cssom/README.txt: Added.
- cssom/cssstyledeclaration-csstext-final-delimiter-expected.txt: Added.
- cssom/cssstyledeclaration-csstext-final-delimiter.html: Added.
- editing/deleting/delete-line-break-before-underlined-content-expected.txt: Remove extraneous space.
- editing/deleting/delete-line-break-between-paragraphs-with-same-style-expected.txt: ditto
- editing/deleting/deleting-line-break-preserves-underline-color-expected.txt: ditto
- editing/deleting/merge-paragraph-from-h6-with-style-2-expected.txt: ditto
- editing/deleting/merge-paragraph-from-h6-with-style-expected.txt: ditto
- editing/deleting/merge-paragraph-from-p-with-style-3-expected.txt: ditto
- editing/deleting/merge-paragraph-from-p-with-style-expected.txt: ditto
- editing/deleting/paste-with-transparent-background-color-expected.txt: ditto
- editing/execCommand/insert-list-with-noneditable-content-expected.txt: ditto
- editing/execCommand/script-tests/toggle-link.js: ditto
- editing/execCommand/script-tests/toggle-unlink.js: ditto
- editing/execCommand/toggle-link-expected.txt: ditto
- editing/execCommand/toggle-unlink-expected.txt: ditto
- editing/inserting/page-zoom-font-size-expected.txt: ditto
- editing/pasteboard/19644-2-expected.txt: ditto
- editing/pasteboard/5761530-1-expected.txt: ditto
- editing/pasteboard/5780697-2-expected.txt: ditto
- editing/pasteboard/copy-null-characters-expected.txt: ditto
- editing/pasteboard/copy-paste-bidi-expected.txt: ditto
- editing/pasteboard/copy-text-with-backgroundcolor-expected.txt: ditto
- editing/pasteboard/data-transfer-items-expected.txt: ditto
- editing/pasteboard/display-block-on-spans-expected.txt: ditto
- editing/pasteboard/do-not-copy-unnecessary-styles-2-expected.txt: ditto
- editing/pasteboard/do-not-copy-unnecessary-styles-expected.txt: ditto
- editing/pasteboard/drag-drop-url-with-style-expected.txt: ditto
- editing/pasteboard/onpaste-text-html-expected.txt: ditto
- editing/pasteboard/paste-4039777-fix-expected.txt: ditto
- editing/pasteboard/paste-and-sanitize-expected.txt: ditto
- editing/pasteboard/paste-and-sanitize.html: ditto
- editing/pasteboard/paste-list-003-expected.txt: ditto
- editing/pasteboard/paste-noscript-expected.txt: ditto
- editing/pasteboard/paste-noscript-xhtml-expected.txt: ditto
- editing/pasteboard/paste-table-002-expected.txt: ditto
- editing/pasteboard/paste-text-with-style-4-expected.txt: ditto
- editing/pasteboard/paste-text-with-style-5-expected.txt: ditto
- editing/pasteboard/paste-with-redundant-style-expected.txt: ditto
- editing/pasteboard/preserve-underline-color-expected.txt: ditto
- editing/pasteboard/style-from-rules-expected.txt: ditto
- editing/pasteboard/testcase-9507-expected.txt: ditto
- editing/style/non-inheritable-styles-expected.txt: ditto
- editing/style/push-down-font-styles-expected.txt: ditto
- editing/style/push-down-implicit-styles-around-list-expected.txt: ditto
- editing/style/push-down-implicit-styles-expected.txt: ditto
- editing/style/push-down-inline-styles-expected.txt: ditto
- editing/style/script-tests/push-down-font-styles.js: ditto
- editing/style/script-tests/push-down-implicit-styles-around-list.js: ditto
- editing/style/script-tests/push-down-implicit-styles.js: ditto
- editing/style/script-tests/push-down-inline-styles.js: ditto
- editing/undo/remove-css-property-and-remove-style-expected.txt: ditto
- editing/undo/replace-by-span-then-remove-expected.txt: ditto
- editing/undo/replace-by-span-then-remove.html: ditto
- fast/css/background-position-serialize.html: ditto
- fast/css/counters/counter-cssText-expected.txt: ditto
- fast/css/counters/counter-cssText.html: ditto
- fast/css/parse-border-image-repeat-null-crash-expected.txt: ditto
- fast/css/remove-shorthand.html: ditto
- fast/dom/Element/scrollWidth.html: ditto
- fast/dom/HTMLMeterElement/meter-element-markup-expected.txt: ditto
- fast/dom/HTMLProgressElement/progress-element-markup-expected.txt: ditto
- fast/dom/attr-style-too-lazy-expected.txt: ditto
- fast/dom/attr-style-too-lazy.html: ditto
- fast/dom/css-set-property-exception-expected.txt: ditto
- fast/fast/events/ondrop-text-html-expected.txt: ditto
- fast/mutation/observe-attributes-expected.txt: ditto
- fast/mutation/observe-attributes.html: ditto
- inspector/elements/insert-node-expected.txt: ditto
- inspector/styles/styles-update-from-js-expected.txt: ditto
- platform/chromium-win/editing/pasteboard/5780697-2-expected.txt: ditto
- platform/efl/fast/dom/HTMLMeterElement/meter-element-markup-expected.txt: ditto
- platform/mac/editing/pasteboard/5761530-1-expected.txt: ditto
- platform/qt/editing/pasteboard/5761530-1-expected.txt: ditto
- platform/qt/editing/pasteboard/5780697-2-expected.txt: ditto
- svg/webarchive/svg-script-subresouces-expected.webarchive: ditto
- webarchive/test-link-rel-icon-beforeload-expected.webarchive: ditto
- 4:56 PM Changeset in webkit [126655] by
-
- 2 edits6 adds2 deletes in trunk/LayoutTests
More unreviewed Chromium rebaselining.
- fast/repaint/bugzilla-6473-expected.txt: Added.
- platform/chromium-linux/fast/repaint/bugzilla-6473-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/bugzilla-6473-expected.png: Added.
- platform/chromium-mac/fast/repaint/bugzilla-6473-expected.png: Added.
- platform/chromium-win/fast/repaint/bugzilla-6473-expected.png: Added.
- platform/chromium-win/fast/repaint/bugzilla-6473-expected.txt: Added.
- platform/efl/fast/repaint/bugzilla-6473-expected.txt: Removed.
- platform/gtk/fast/repaint/bugzilla-6473-expected.txt: Removed.
Rebaseline this test as it was deflaked by Simon in r79661. The new baseline
matches Mac and Mitz's expectations (see bug 21536).
- platform/chromium/TestExpectations:
Removed fast/repaint/bugzilla-6473.html now that it's rebaselined.
Removed fast/table/frame-and-rules.html as it hasn't been failing for a week.
- 4:50 PM Changeset in webkit [126654] by
-
- 3 edits3 adds in trunk
[chromium] WebViewImpl::enableTouchHighlight() should always clear any existing highlight when invoked.
https://bugs.webkit.org/show_bug.cgi?id=94978
Reviewed by James Robinson.
Modified WebViewImpl::enableTouchHighlight() so it always clears any existing highlight, even if no new
highlight target is found.
Source/WebKit/chromium:
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::enableTouchHighlight):
LayoutTests:
- platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-cancel.html: Added.
- platform/chromium-linux/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-cancel-expected.png: Added.
- platform/chromium-linux/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-cancel-expected.txt: Added.
- 4:50 PM Changeset in webkit [126653] by
-
- 1 edit in branches/chromium/1229/Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp
Reverting change in test file that broke the build
- 4:47 PM Changeset in webkit [126652] by
-
- 23 edits2 copies1 delete in trunk
[chromium] Convert WebLayerTreeView interface into pure virtual
https://bugs.webkit.org/show_bug.cgi?id=94866
Reviewed by Adrienne Walker.
Source/Platform:
This makes the WebLayerTreeView interface pure virtual to provide better insulation from the implementation.
- chromium/public/WebLayerTreeView.h:
(WebKit):
(Settings):
(WebLayerTreeView):
(WebKit::WebLayerTreeView::~WebLayerTreeView):
Source/WebCore:
Renames CCLayerTreeHostClient::updateAnimations -> CCLayerTreeHostClient::animate to avoid a naming collision
and to better match the other imperative-sounding calls (like layout).
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::updateAnimations):
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
(CCLayerTreeHostClient):
Source/WebKit/chromium:
Updates WebLayerTreeView implementation and callers to new interface. The createGraphicsContext3D() wrapper
stuff can just go away now since downstream has updated to createOutputSurface().
- WebKit.gypi:
- src/WebLayerTreeView.cpp: Removed.
- src/WebLayerTreeViewImpl.cpp:
(WebKit::WebLayerTreeView::create):
(WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
(WebKit::WebLayerTreeViewImpl::initialize):
(WebKit):
(WebKit::WebLayerTreeViewImpl::setSurfaceReady):
(WebKit::WebLayerTreeViewImpl::setRootLayer):
(WebKit::WebLayerTreeViewImpl::clearRootLayer):
(WebKit::WebLayerTreeViewImpl::compositorIdentifier):
(WebKit::WebLayerTreeViewImpl::setViewportSize):
(WebKit::WebLayerTreeViewImpl::layoutViewportSize):
(WebKit::WebLayerTreeViewImpl::deviceViewportSize):
(WebKit::WebLayerTreeViewImpl::setDeviceScaleFactor):
(WebKit::WebLayerTreeViewImpl::deviceScaleFactor):
(WebKit::WebLayerTreeViewImpl::setBackgroundColor):
(WebKit::WebLayerTreeViewImpl::setHasTransparentBackground):
(WebKit::WebLayerTreeViewImpl::setVisible):
(WebKit::WebLayerTreeViewImpl::setPageScaleFactorAndLimits):
(WebKit::WebLayerTreeViewImpl::startPageScaleAnimation):
(WebKit::WebLayerTreeViewImpl::setNeedsAnimate):
(WebKit::WebLayerTreeViewImpl::setNeedsRedraw):
(WebKit::WebLayerTreeViewImpl::commitRequested):
(WebKit::WebLayerTreeViewImpl::composite):
(WebKit::WebLayerTreeViewImpl::updateAnimations):
(WebKit::WebLayerTreeViewImpl::compositeAndReadback):
(WebKit::WebLayerTreeViewImpl::finishAllRendering):
(WebKit::WebLayerTreeViewImpl::renderingStats):
(WebKit::WebLayerTreeViewImpl::setFontAtlas):
(WebKit::WebLayerTreeViewImpl::loseCompositorContext):
(WebKit::WebLayerTreeViewImpl::willBeginFrame):
(WebKit::WebLayerTreeViewImpl::didBeginFrame):
(WebKit::WebLayerTreeViewImpl::animate):
(WebKit::WebLayerTreeViewImpl::layout):
(WebKit::WebLayerTreeViewImpl::applyScrollAndScale):
(WebKit::WebLayerTreeViewImpl::createOutputSurface):
(WebKit::WebLayerTreeViewImpl::didRecreateOutputSurface):
(WebKit::WebLayerTreeViewImpl::willCommit):
(WebKit::WebLayerTreeViewImpl::didCommit):
(WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
(WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
(WebKit::WebLayerTreeViewImpl::scheduleComposite):
- src/WebLayerTreeViewImpl.h:
(WebLayerTreeViewImpl):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::renderingStats):
(WebKit::WebViewImpl::startPageScaleAnimation):
(WebKit::WebViewImpl::setCompositorSurfaceReady):
(WebKit::WebViewImpl::animate):
(WebKit::WebViewImpl::doPixelReadbackToCanvas):
(WebKit::WebViewImpl::paint):
(WebKit::WebViewImpl::composite):
(WebKit::WebViewImpl::setNeedsRedraw):
(WebKit::WebViewImpl::isInputThrottled):
(WebKit::WebViewImpl::loseCompositorContext):
(WebKit::WebViewImpl::setDeviceScaleFactor):
(WebKit::WebViewImpl::computePageScaleFactorLimits):
(WebKit::WebViewImpl::setIsTransparent):
(WebKit::WebViewImpl::setRootGraphicsLayer):
(WebKit::WebViewImpl::scheduleCompositingLayerSync):
(WebKit::WebViewImpl::invalidateRootLayerRect):
(WebKit::WebViewImpl::setBackgroundColor):
(WebKit::WebViewImpl::scheduleAnimation):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
(WebKit):
(WebKit::WebViewImpl::updateLayerTreeViewport):
(WebKit::WebViewImpl::setVisibilityState):
- src/WebViewImpl.h:
(WebKit):
- tests/CCLayerTreeHostTest.cpp:
- tests/CCThreadedTest.cpp:
- tests/CCThreadedTest.h:
(WebKitTests::TestHooks::animate):
- tests/FakeCCLayerTreeHostClient.h:
- tests/GraphicsLayerChromiumTest.cpp:
(WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
(WebKit::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
(GraphicsLayerChromiumTest):
- tests/WebLayerTest.cpp:
- tests/WebLayerTreeViewTest.cpp:
- tests/WebLayerTreeViewTestCommon.h:
(MockWebLayerTreeViewClient):
Tools:
Updates DumpRenderTree's WebViewHost to vend a WebCompositorOutputSurface so DumpRenderTree can run compositing
tests.
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createOutputSurface):
- DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):
- DumpRenderTree/chromium/WebViewHostOutputSurface.cpp: Copied from Source/WebKit/chromium/src/WebLayerTreeViewImpl.h.
(WebKit):
(WebKit::WebViewHostOutputSurface::WebViewHostOutputSurface):
(WebKit::WebViewHostOutputSurface::~WebViewHostOutputSurface):
(WebKit::WebViewHostOutputSurface::bindToClient):
(WebKit::WebViewHostOutputSurface::capabilities):
(WebKit::WebViewHostOutputSurface::context3D):
(WebKit::WebViewHostOutputSurface::sendFrameToParentCompositor):
- DumpRenderTree/chromium/WebViewHostOutputSurface.h: Copied from Source/WebKit/chromium/src/WebLayerTreeViewImpl.h.
(WebKit):
(WebViewHostOutputSurface):
- 4:36 PM Changeset in webkit [126651] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-08-24
- DEPS:
- 4:25 PM Changeset in webkit [126650] by
-
- 13 edits2 deletes in trunk/Source
[chromium] Clean up WebAnimation animationId/groupId generation
https://bugs.webkit.org/show_bug.cgi?id=94973
Reviewed by Adrienne Walker.
Source/Platform:
This removes the unused groupId from the public interface and makes the implicit animation id generation a bit
clearer.
- chromium/public/WebAnimation.h:
(WebAnimation):
Source/WebCore:
This gets rid of AnimationIdVendor and simplifies GraphicsLayerChromium's name<->id mapping. We only have to
track the IDs of animations that we have started and can let WebAnimation generate new IDs if we haven't seen
the name before.
- WebCore.gypi:
- platform/graphics/chromium/AnimationIdVendor.cpp: Removed.
- platform/graphics/chromium/AnimationIdVendor.h: Removed.
- platform/graphics/chromium/AnimationTranslationUtil.cpp:
(WebCore::createWebAnimation):
- platform/graphics/chromium/AnimationTranslationUtil.h:
(WebCore):
- platform/graphics/chromium/GraphicsLayerChromium.cpp:
(WebCore::GraphicsLayerChromium::addAnimation):
(WebCore::GraphicsLayerChromium::pauseAnimation):
(WebCore::GraphicsLayerChromium::removeAnimation):
- platform/graphics/chromium/GraphicsLayerChromium.h:
Source/WebKit/chromium:
- src/WebAnimationImpl.cpp:
(WebKit::WebAnimation::create):
(WebKit::WebAnimationImpl::WebAnimationImpl):
(WebKit::WebAnimationImpl::id):
(WebKit):
- src/WebAnimationImpl.h:
(WebAnimationImpl):
- tests/AnimationTranslationUtilTest.cpp:
(WebKit::animationCanBeTranslated):
- tests/GraphicsLayerChromiumTest.cpp:
(WebKit::TEST_F):
- 4:23 PM Changeset in webkit [126649] by
-
- 1 edit2 copies in branches/chromium/1229
Merge 125631
BUG=124924
Review URL: https://chromiumcodereview.appspot.com/10869059
- 4:18 PM Changeset in webkit [126648] by
-
- 3 edits in trunk/Source/WebCore
Populate DatabaseTracker's origins lazily on demand
https://bugs.webkit.org/show_bug.cgi?id=94649
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-08-24
Reviewed by Brady Eidson.
Previously, we would populate m_quotaMap on startup when initialializing DatabaseTracker.
This takes a significant amount of time and memory and it is not needed in many cases.
This patch change DatabaseTracker to invoke populateOrigins() only when needed.
This saves:
-7-15ms on startup.
-96Kbytes of SQLite page cache
-the size of m_quotaMap on that particular system.
- Modules/webdatabase/DatabaseTracker.cpp:
(WebCore::DatabaseTracker::DatabaseTracker):
(WebCore::DatabaseTracker::hasEntryForOriginNoLock):
(WebCore::DatabaseTracker::populateOriginsIfNeeded):
(WebCore::DatabaseTracker::origins):
(WebCore::DatabaseTracker::quotaForOriginNoLock):
(WebCore::DatabaseTracker::addDatabase):
(WebCore::DatabaseTracker::deleteOrigin):
- Modules/webdatabase/DatabaseTracker.h:
(DatabaseTracker):
- 4:08 PM Changeset in webkit [126647] by
-
- 5 edits in trunk/Source
[Chromium] Remove visitedLinkHash from PlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=94965
Reviewed by Adam Barth.
Part of a refactoring series. See tracking bug 82948.
Source/WebCore:
- platform/chromium/LinkHashChromium.cpp:
(WebCore):
(WebCore::visitedLinkHash):
- platform/chromium/PlatformSupport.h:
Source/WebKit/chromium:
- src/PlatformSupport.cpp:
(WebCore):
- 4:07 PM Changeset in webkit [126646] by
-
- 2 edits in branches/chromium/1180/Source/WebCore/platform/network/chromium
Merge 124682
BUG=136881
Review URL: https://chromiumcodereview.appspot.com/10868088
- 4:06 PM Changeset in webkit [126645] by
-
- 1 edit in branches/chromium/1229/Source/WebCore/rendering/RenderWidget.cpp
Merge 126042 - [chromium] pepper plugins sometimes are shifted by 1 pixel
https://bugs.webkit.org/show_bug.cgi?id=94257
Patch by Yuzhu Shen <yzshen@chromium.com> on 2012-08-20
Reviewed by Levi Weintraub.
Change RenderWidget::updateWidgetGeometry() to use LayoutRect instead of IntRect to avoid unwanted truncation
(when converting from FloatRect to IntRect).
This makes sure that the optimized rendering code path of Pepper plugin
(PluginInstance::GetBitmapForOptimizedPluginPaint) has consistent coordinates with the normal WebKit rendering
code path.
No new tests because we don't have Pepper plugin tests in WebKit.
- rendering/RenderWidget.cpp:
(WebCore::RenderWidget::updateWidgetGeometry):
TBR=commit-queue@webkit.org
Review URL: https://chromiumcodereview.appspot.com/10867067
- 4:06 PM Changeset in webkit [126644] by
-
- 1 edit1 add in trunk/LayoutTests
Unreviewed rebaseline after r126622.
- platform/chromium-mac-snowleopard/fast/repaint/delete-into-nested-block-expected.png: Added.
- 4:04 PM WebKit Team edited by
- Added myself to the committers list (diff)
- 4:02 PM Changeset in webkit [126643] by
-
- 2 edits in trunk/Source/WebCore
[chromium] Reduce padding on popup menu entries when used on a touch screen.
https://bugs.webkit.org/show_bug.cgi?id=94953
Patch by Kevin Ellis <kevers@chromium.org> on 2012-08-24
Reviewed by Adam Barth.
Prior to the patch, the height of entries in a popup menu was 44px,
which is excessive. Reduced the padding to make the menu entries
30px tall to match the wrench menu.
No new tests required.
- platform/chromium/PopupMenuChromium.cpp:
(WebCore):
- 4:02 PM Changeset in webkit [126642] by
-
- 3 edits2 copies in branches/chromium/1180
Merge 124645
BUG=139240
- 3:57 PM Changeset in webkit [126641] by
-
- 1 edit in branches/chromium/1180/Source/WebCore/rendering/RenderBlock.cpp
Merge 124580
BUG=136116
Review URL: https://chromiumcodereview.appspot.com/10867066
- 3:54 PM Changeset in webkit [126640] by
-
- 1 edit2 copies in branches/chromium/1180
Merge 124564
BUG=136116
Review URL: https://chromiumcodereview.appspot.com/10880056
- 3:53 PM Changeset in webkit [126639] by
-
- 1 delete in tags/Safari-536.26.10
Removing bad tag.
- 3:49 PM Changeset in webkit [126638] by
-
- 1 copy in tags/Safari-536.26.10
New tag.
- 3:38 PM Changeset in webkit [126637] by
-
- 2 edits3 adds in trunk/LayoutTests
We should have tests for the DFG CFA's handling of structure clobbering and basic blocks
https://bugs.webkit.org/show_bug.cgi?id=94977
Reviewed by Mark Hahnenberg.
- fast/js/dfg-multi-basic-block-structure-clobber-expected.txt: Added.
- fast/js/dfg-multi-basic-block-structure-clobber.html: Added.
- fast/js/script-tests/dfg-multi-basic-block-structure-clobber.js: Added.
(bar):
(foo):
- fast/js/jsc-test-list:
- 3:37 PM Changeset in webkit [126636] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Web pages are zoomed out to much on initial load
https://bugs.webkit.org/show_bug.cgi?id=94830
The previous patch caused a slight regression to the calculation we do
for the default splitting factor in the render queue. The default value
we use to represent the max area should be the tile size. This was true
with the old calculation of default max layout width since it was the
screen size. The fix is to be explicit and use the tile size directly.
Patch by Adam Treat <atreat@rim.com> on 2012-08-24
Reviewed by George Staikos.
- WebKitSupport/RenderQueue.cpp:
(BlackBerry::WebKit::RenderQueue::splittingFactor):
- 3:30 PM Changeset in webkit [126635] by
-
- 11 edits in trunk/Source/WebCore
[Texmap] Move TextureMapperGL to use GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=78672
Patch by Helder Correia <Helder Correia>, Roland Takacs <rtakacs@inf.u-szeged.hu> on 2012-08-24
Reviewed by Noam Rosenthal.
This is part of a several patch-refactoring.
Introduce additional logic in GraphicsContext3DQt to support a
new RenderToCurrentGLContext RenderStyle. This is necessary to
use GC3D for other things than WebGL, like TextureMapper.
The GC3D constructor now accepts a RenderStyle instead of the
boolean renderDirectlyToHostWindow and thus mimics create()'s
signature. This has been changed for all ports in this patch.
A new GC3D::createForCurrentGLContext() builder was
introduced to better abstract the goal of using GC3D with the
current context.
The patch was originally developed by Helder Correia and finished
by Roland Takacs.
No new tests, refactoring.
- 3:24 PM Changeset in webkit [126634] by
-
- 1 edit2 copies in branches/chromium/1229
Merge 125503
BUG=121347
Review URL: https://chromiumcodereview.appspot.com/10869057
- 3:22 PM Changeset in webkit [126633] by
-
- 1 edit2 copies in branches/chromium/1180
Merge 125503
BUG=121347
Review URL: https://chromiumcodereview.appspot.com/10883035
- 3:16 PM Changeset in webkit [126632] by
-
- 15 edits4 copies in branches/chromium/1180
Merge 124556
BUG=134897
Review URL: https://chromiumcodereview.appspot.com/10871074
- 3:15 PM Changeset in webkit [126631] by
-
- 6 edits3 deletes in trunk/Source
Unreviewed, rolling out r126620.
http://trac.webkit.org/changeset/126620
https://bugs.webkit.org/show_bug.cgi?id=94976
ASSERT((intptr_t)m_bytesAllocated + deltaBytes > 0) is
triggering on the bots (Requested by jchaffraix on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-08-24
Source/WebCore:
- WebCore.gypi:
- platform/graphics/chromium/Canvas2DLayerBridge.cpp:
(WebCore::Canvas2DLayerBridge::Canvas2DLayerBridge):
(WebCore::Canvas2DLayerBridge::~Canvas2DLayerBridge):
(WebCore::Canvas2DLayerBridge::contextAcquired):
- platform/graphics/chromium/Canvas2DLayerBridge.h:
(Canvas2DLayerBridge):
- platform/graphics/chromium/Canvas2DLayerManager.cpp: Removed.
- platform/graphics/chromium/Canvas2DLayerManager.h: Removed.
Source/WebKit/chromium:
- WebKit.gypi:
- tests/Canvas2DLayerManagerTest.cpp: Removed.
- 3:08 PM Changeset in webkit [126630] by
-
- 1 edit2 copies in branches/chromium/1229
Merge 125810
BUG=140495
Review URL: https://chromiumcodereview.appspot.com/10869055
- 3:07 PM Changeset in webkit [126629] by
-
- 1 edit2 copies in branches/chromium/1180
Merge 125810
BUG=140495
Review URL: https://chromiumcodereview.appspot.com/10871072
- 3:05 PM Changeset in webkit [126628] by
-
- 2 edits in trunk/LayoutTests
[Chromium-Android] Reapply "Upstream layout test expectations (Part 1)"
https://bugs.webkit.org/show_bug.cgi?id=94884
Reviewed by Adam Barth.
This part include:
- Removed ANDROID tag for passing tests and tests that should be covered by other Android specific rules
- Added android rules for fast/js and jquery/ tests
- crbug.com/144536
- Several other rules with public bugs
- platform/chromium/TestExpectations:
- 2:46 PM Changeset in webkit [126627] by
-
- 21 edits2 moves5 adds in trunk
[CSSRegions]Expose WebKitNamedFlowCollection interface through document.getNamedFlows()
https://bugs.webkit.org/show_bug.cgi?id=93368
Patch by Andrei Onea <onea@adobe.com> on 2012-08-24
Reviewed by Ryosuke Niwa.
Source/WebCore:
The WebKitNamedFlowCollection already implemented was being used by Document to store all
the named flows - regardless of state - so we need to use another class to expose to JS.
WebKitNamedFlowCollection was renamed to NamedFlowCollection since it is used only internally,
and the C++ class used to expose to JS is DOMNamedFlowCollection (with the interface name
WebKitNamedFlowCollection). DOMNamedFlowCollection is exposed via Document::webKitGetFlows(),
and it itself exposes the length property, the indexed getter, and the named getter.
http://dev.w3.org/csswg/css3-regions/#document-getnamedflows
Test: fast/regions/webkit-named-flow-collection.html
- CMakeLists.txt:
- DerivedSources.cpp:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/gobject/GNUmakefile.am:
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
We need to use same trick as with HTMLPropertiesCollection, to make NamedGetter generate required code.
- dom/DOMAllInOne.cpp:
- dom/DOMNamedFlowCollection.cpp:
(WebCore):
(WebCore::DOMNamedFlowCollection::DOMNamedFlowCollection):
(WebCore::DOMNamedFlowCollection::length):
(WebCore::DOMNamedFlowCollection::item):
(WebCore::DOMNamedFlowCollection::namedItem):
(WebCore::DOMNamedFlowCollection::hasNamedItem):
- dom/DOMNamedFlowCollection.h:
(WebCore):
(DOMNamedFlowCollection):
(WebCore::DOMNamedFlowCollection::create):
- dom/DOMNamedFlowCollection.idl:
- dom/Document.cpp:
(WebCore):
(WebCore::Document::webkitGetNamedFlows):
(WebCore::Document::namedFlows):
- dom/Document.h:
(WebCore):
(Document):
- dom/Document.idl:
- dom/NamedFlowCollection.cpp:
Renamed from Source/WebCore/dom/WebKitNamedFlowCollection.cpp.
(WebCore):
(WebCore::NamedFlowCollection::NamedFlowCollection):
(WebCore::NamedFlowCollection::namedFlows):
(WebCore::NamedFlowCollection::flowByName):
(WebCore::NamedFlowCollection::ensureFlowWithName):
(WebCore::NamedFlowCollection::discardNamedFlow):
(WebCore::NamedFlowCollection::documentDestroyed):
(WebCore::NamedFlowCollection::createCSSOMSnapshot):
Used to create a snapshot of current named flows in CREATED state.
- dom/NamedFlowCollection.h:
Renamed from Source/WebCore/dom/WebKitNamedFlowCollection.h.
(WebCore):
(NamedFlowCollection):
(WebCore::NamedFlowCollection::create):
(WebCore::NamedFlowCollection::document):
(WebCore::NamedFlowCollection::~NamedFlowCollection):
(WebCore::NamedFlowCollection::NamedFlowHashFunctions::hash):
(WebCore::NamedFlowCollection::NamedFlowHashFunctions::equal):
(NamedFlowCollection::NamedFlowHashFunctions):
(WebCore::NamedFlowCollection::NamedFlowHashTranslator::hash):
(WebCore::NamedFlowCollection::NamedFlowHashTranslator::equal):
Moved NamedFlowHashFunctions and NamedFlowHashTranslator definitions to .h
and made them public, so they can be used in DOMNamedFlow as well.
- dom/WebKitNamedFlow.cpp:
(WebCore::WebKitNamedFlow::WebKitNamedFlow):
(WebCore::WebKitNamedFlow::create):
- dom/WebKitNamedFlow.h:
(WebCore):
(WebKitNamedFlow):
- inspector/InspectorCSSAgent.cpp:
- rendering/FlowThreadController.cpp:
(WebCore::FlowThreadController::ensureRenderFlowThreadWithName):
LayoutTests:
Added test for WebKitNamedFlowCollection interface.
- fast/regions/webkit-named-flow-collection-expected.txt: Added.
- fast/regions/webkit-named-flow-collection.html: Added.
- 2:39 PM Changeset in webkit [126626] by
-
- 2 edits in trunk/LayoutTests
Skipping svg/custom/getBBox-path.svg on platform mac.
https://bugs.webkit.org/show_bug.cgi?id=94971.
Patch by Mark Lam <mark.lam@apple.com> on 2012-08-24
Reviewed by Sam Weinig.
- platform/mac/Skipped:
- 2:37 PM Changeset in webkit [126625] by
-
- 2 edits in trunk/Source/ThirdParty/ANGLE
[CSS Shaders] [ANGLE] RenameFunction::RenameFunction may store references to temporary string
https://bugs.webkit.org/show_bug.cgi?id=94736
http://code.google.com/p/angleproject/issues/detail?id=360
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-08-24
Reviewed by George Staikos.
When RenameFunction::RenameFunction(const TString& oldFunctionName, const TString&
newFunctionName) is called from TCompiler::rewriteCSSShader(TIntermNode*), references to
the temporaries oldFunctionName and newFunctionName are stored as mOldFunctionName and
mNewFunctionName. This results in undefined behaviour in visitAggregate.
This same patch is being applied in upstream ANGLE, and is needed for CSS Shader
sanitization.
- src/compiler/RenameFunction.h:
(RenameFunction::visitAggregate):
(RenameFunction):
- 2:23 PM Changeset in webkit [126624] by
-
- 4 edits in trunk/Source/JavaScriptCore
Always null check cells before marking
https://bugs.webkit.org/show_bug.cgi?id=94968
Reviewed by Geoffrey Garen.
Originally we tried to minimise null checks by only null checking values
that we knew could be null, however given that we can't ever guarantee
when a GC will happen, we're better off just always assuming that a null
check will be necessary. This results in a much less fragile code base
as we can add GC allocations to object initialisers without having to
subsequently worry about whether the object we are initialising will need
to add a bunch of null checks in its visitChildren implementation.
- heap/MarkStack.cpp:
(JSC::MarkStack::internalAppend):
- heap/MarkStackInlineMethods.h:
(JSC::MarkStack::append):
(JSC::MarkStack::appendUnbarrieredPointer):
- runtime/Structure.h:
(JSC::MarkStack::internalAppend):
- 2:23 PM Changeset in webkit [126623] by
-
- 3 edits in branches/chromium/1229/Source
Merge 126540 - [chromium] Fix lost context when textures are evicted
https://bugs.webkit.org/show_bug.cgi?id=94892
Reviewed by James Robinson.
After eviction, the CCPrioritizedTextureManager is in a limbo state
where all its resources are invalid. If we try to release them we will
double-destroy them.
New test: CCLayerTreeHostTestLostContextAfterEvictTextures.
Source/WebCore:
- platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::recreateContextOnImplThread):
Source/WebKit/chromium:
- tests/CCLayerTreeHostTest.cpp:
(CCLayerTreeHostTestLostContextAfterEvictTextures):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::CCLayerTreeHostTestLostContextAfterEvictTextures):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::beginTest):
(EvictTexturesAndLoseContextTask):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::EvictTexturesAndLoseContextTask::EvictTexturesAndLoseContextTask):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::EvictTexturesAndLoseContextTask::~EvictTexturesAndLoseContextTask):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::EvictTexturesAndLoseContextTask::run):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::postEvictTexturesAndLoseContext):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::didCommitAndDrawFrame):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::commitCompleteOnCCThread):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::didRecreateOutputSurface):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::afterTest):
(WTF):
(WTF::TEST_F):
TBR=piman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10883032
- 2:05 PM Changeset in webkit [126622] by
-
- 3 edits48 adds in trunk/LayoutTests
Unreviewed Chromium gardening.
Rebaselined a bunch of repaint tests on Mac. The failures or differences fell in
the following categories:
- small alpha difference on the repaint tests' background. This issue has been known for
some time now but is not being worked on AFAICT.
- Chromium unions the invalidation rects when Mac doesn't.
- font difference.
- platform/chromium-mac-snowleopard/fast/repaint/box-shadow-dynamic-expected.png: Added.
- platform/chromium-mac/fast/repaint/box-shadow-dynamic-expected.png: Added.
This test was using Mac's expectation which is wrong (they have some beige rectangles that
are not in the page). Those new baselines matches the other ports and the expected result.
- platform/chromium-mac-snowleopard/fast/repaint/4774354-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/4776765-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/border-fit-lines-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/border-repaint-glitch-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/bugzilla-3509-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/bugzilla-6388-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/bugzilla-7235-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/change-transform-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/containing-block-position-change-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/dynamic-table-vertical-alignment-change-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/fixed-child-move-after-scroll-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/fixed-move-after-scroll-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/float-move-during-layout-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/inline-color-change-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/layout-state-relative-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/repaint/outline-shrinking-expected.png: Added.
- platform/chromium-mac/fast/repaint/4774354-expected.png: Added.
- platform/chromium-mac/fast/repaint/4776765-expected.png: Added.
- platform/chromium-mac/fast/repaint/block-selection-gap-in-table-cell-expected.png: Added.
- platform/chromium-mac/fast/repaint/border-fit-lines-expected.png: Added.
- platform/chromium-mac/fast/repaint/border-repaint-glitch-expected.png: Added.
- platform/chromium-mac/fast/repaint/bugzilla-3509-expected.png: Added.
- platform/chromium-mac/fast/repaint/bugzilla-6388-expected.png: Added.
- platform/chromium-mac/fast/repaint/bugzilla-7235-expected.png: Added.
- platform/chromium-mac/fast/repaint/button-spurious-layout-hint-expected.png: Added.
- platform/chromium-mac/fast/repaint/change-transform-expected.png: Added.
- platform/chromium-mac/fast/repaint/clip-with-layout-delta-expected.png: Added.
- platform/chromium-mac/fast/repaint/containing-block-position-change-expected.png: Added.
- platform/chromium-mac/fast/repaint/delete-into-nested-block-expected.png:
- platform/chromium-mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.png: Added.
- platform/chromium-mac/fast/repaint/erase-overflow-expected.png: Added.
- platform/chromium-mac/fast/repaint/fixed-child-move-after-scroll-expected.png: Added.
- platform/chromium-mac/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.png: Added.
- platform/chromium-mac/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.png: Added.
- platform/chromium-mac/fast/repaint/fixed-move-after-scroll-expected.png: Added.
- platform/chromium-mac/fast/repaint/float-in-new-block-with-layout-delta-expected.png: Added.
- platform/chromium-mac/fast/repaint/float-move-during-layout-expected.png: Added.
- platform/chromium-mac/fast/repaint/inline-block-resize-expected.png: Added.
- platform/chromium-mac/fast/repaint/inline-color-change-expected.png: Added.
- platform/chromium-mac/fast/repaint/inline-overflow-expected.png: Added.
- platform/chromium-mac/fast/repaint/layer-full-repaint-expected.png: Added.
- platform/chromium-mac/fast/repaint/layer-hide-when-needs-layout-expected.png: Added.
- platform/chromium-mac/fast/repaint/layer-visibility-expected.png: Added.
- platform/chromium-mac/fast/repaint/layout-state-relative-expected.png: Added.
- platform/chromium-mac/fast/repaint/outline-shrinking-expected.png: Added.
- platform/chromium/TestExpectations:
- 1:51 PM Changeset in webkit [126621] by
-
- 5 edits in trunk
Source/WebCore: Update comment regarding root node handling in XPath for detached trees.
https://bugs.webkit.org/show_bug.cgi?id=36427
Reviewed by Alexey Proskuryakov.
- xml/XPathPath.cpp:
(WebCore::XPath::LocationPath::evaluate): Update XPath root node comment.
LayoutTests: Improve xpath-detached-nodes.html test.
https://bugs.webkit.org/show_bug.cgi?id=36427
Reviewed by Alexey Proskuryakov.
- fast/xpath/xpath-detached-nodes-expected.txt:
- fast/xpath/xpath-detached-nodes.html: Increase coverage and improve log messages.
- 1:47 PM Changeset in webkit [126620] by
-
- 6 edits3 adds in trunk/Source
[Chromium] Implementing a global limit on memory consumed by deferred 2D canvases
https://bugs.webkit.org/show_bug.cgi?id=94386
Patch by Justin Novosad <junov@chromium.org> on 2012-08-24
Reviewed by Stephen White.
Source/WebCore:
Before this change, there was no global bound on memory that could be
consumed for the purpose of recording 2d canvas deferred draw commands.
There was only a per canvas limit. It is possible for canvases to get
dereferenced without flushing pending draw commands, which may lock
resources until the canvas element is garbage collected. This makes
it possible to grow memory consumption indefinitely by hitting reload
successively on some canvas-intensive web pages.
The solution implemented in this change consists in maintaining a
global registry of deferred canvas layers and tracking the sum of
memory allocated by all canvases for the purpose of storing deferred
draw commands. When memory consumption reaches the allowed limit,
caches are cleared and draw operations are flushed on one or several
canvases, starting with the least recently used, until memory
consumption is below a target level.
New tests: webkit_unit_tests DeferredLayerManagerTest*
- WebCore.gypi:
- platform/graphics/chromium/Canvas2DLayerBridge.cpp:
(WebCore::Canvas2DLayerBridge::Canvas2DLayerBridge):
(WebCore::Canvas2DLayerBridge::~Canvas2DLayerBridge):
(WebCore::Canvas2DLayerBridge::storageAllocatedForRecordingChanged):
Overloaded from SkDeferredCanvas::NotificationClient. Called when
there is a change in the number of bytes allocated by the deferred
canvas.
(WebCore):
(WebCore::Canvas2DLayerBridge::flushedDrawCommands):
Overloaded from SkDeferredCanvas::NotificationClient. Called when
pending draw commands are flush by the deferred canvas.
(WebCore::Canvas2DLayerBridge::freeMemoryIfPossible):
Called by the Canvas2DLayerManager to request the release of unlocked
memory resources (caches). Request is relayed to SkDeferredCanvas.
returns number of bytes freed.
(WebCore::Canvas2DLayerBridge::flush):
Requests that pending draw commands be flushed immediately from the
deferred canvas queue. Request is relayed to SkDeferredCanvas.
(WebCore::Canvas2DLayerBridge::contextAcquired):
- platform/graphics/chromium/Canvas2DLayerBridge.h:
(Canvas2DLayerBridge):
(WebCore::Canvas2DLayerBridge::bytesAllocated):
(WebCore::Canvas2DLayerBridge::updateBytesAllocated):
- platform/graphics/chromium/Canvas2DLayerManager.cpp: Added.
(WebCore):
(WebCore::Canvas2DLayerManager::Canvas2DLayerManager):
(WebCore::Canvas2DLayerManager::~Canvas2DLayerManager):
(WebCore::Canvas2DLayerManager::init):
Sets the global limit for the maximum total number of bytes allocated
by deferred layers.
(WebCore::Canvas2DLayerManager::get):
Singleton accessor
(WebCore::Canvas2DLayerManager::layerDidDraw):
Called by Canvas2DLayerBridge to indicate that the layer was drawn to.
(WebCore::Canvas2DLayerManager::addLayerToList):
(WebCore::Canvas2DLayerManager::layerAllocatedStorageChanged):
Called by Canvas2DLayerBridge to indicate thet the memory consumed by
the layer has changed.
(WebCore::Canvas2DLayerManager::layerDidFlush):
Called by Canvas2DLayerBridge to indicated that the pending draw
commands of the layer were flushed.
(WebCore::Canvas2DLayerManager::layerToBeDestroyed):
Called by Canvas2DLayerBridge upon destruction.
(WebCore::Canvas2DLayerManager::freeMemoryIfNecessary):
Called internally. Check that current memory consumption is below
the tolerated limit. If check fails, intiates resource releases.
(WebCore::Canvas2DLayerManager::removeLayerFromList):
(WebCore::Canvas2DLayerManager::isInList):
(WebCore::Canvas2DLayerManager::updateBytesAllocated):
- platform/graphics/chromium/Canvas2DLayerManager.h: Added.
(WebCore):
(Canvas2DLayerManager):
Source/WebKit/chromium:
Adding unit tests for WebCore::Canvas2DLayerManager
- WebKit.gypi:
- tests/Canvas2DLayerManagerTest.cpp: Added.
(FakeCanvas2DLayerBridge):
(FakeCanvas2DLayerBridge::FakeCanvas2DLayerBridge):
(FakeCanvas2DLayerBridge::fakeFreeableBytes):
(Canvas2DLayerManagerTest):
(Canvas2DLayerManagerTest::storageAllocationTrackingTest):
(Canvas2DLayerManagerTest::evictionTest):
(Canvas2DLayerManagerTest::flushEvictionTest):
- 1:27 PM Changeset in webkit [126619] by
-
- 1 edit5 adds1 delete in branches/safari-536.26-branch/LayoutTests
2012-08-24 Mark Lam <mark.lam@apple.com>
Re-merge test expectations from r126219. Fixes previous bad merge.
Patch by Mark Lam. Unreviewed.
- platform/mac-lion/platform/mac: Added.
- platform/mac-lion/platform/mac-lion: Removed.
- platform/mac-lion/platform/mac-lion/platform: Removed.
- platform/mac-lion/platform/mac-lion/platform/mac: Removed.
- platform/mac-lion/platform/mac-lion/platform/mac/fast: Removed.
- platform/mac-lion/platform/mac-lion/platform/mac/fast/text: Removed.
- platform/mac-lion/platform/mac-lion/platform/mac/fast/text/vertical-surrogate-pair-expected.png: Removed.
- platform/mac-lion/platform/mac-lion/platform/mac/fast/text/vertical-surrogate-pair-expected.txt: Removed.
- platform/mac-lion/platform/mac/fast: Added.
- platform/mac-lion/platform/mac/fast/text: Added.
- platform/mac-lion/platform/mac/fast/text/vertical-surrogate-pair-expected.png: Added.
- platform/mac-lion/platform/mac/fast/text/vertical-surrogate-pair-expected.txt: Added.
- 1:22 PM Changeset in webkit [126618] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, rolling out r126606.
http://trac.webkit.org/changeset/126606
https://bugs.webkit.org/show_bug.cgi?id=94970
The change broke TestExpectations.txt (Requested by jchaffraix
on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-08-24
- platform/chromium/TestExpectations:
- 1:21 PM Changeset in webkit [126617] by
-
- 5 edits in trunk/Source
[BlackBerry] Changes resulting from moving network related methods
from platform client to platform settings.
https://bugs.webkit.org/show_bug.cgi?id=94963
Patch by Parth Patel <parpatel@rim.com> on 2012-08-24
Reviewed by Yong Li.
Changes in response to Network methods moved from
class BlackBerryPlatformClient to class BlackBerryPlatformSettings
in platform repository.
Source/WebCore:
No new tests as there are no logical modifications.
- platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::storeCredentials):
- platform/network/blackberry/NetworkStateNotifierBlackBerry.cpp:
(WebCore::NetworkStateNotifier::NetworkStateNotifier):
Source/WebKit/blackberry:
- WebKitSupport/AboutData.cpp:
(BlackBerry::WebKit::cachePage):
- 1:19 PM Changeset in webkit [126616] by
-
- 3 edits1 add in trunk/Source/WebCore
Enable accelerated Skia implementation of feBlend filter.
https://bugs.webkit.org/show_bug.cgi?id=94954
Reviewed by James Robinson.
Will be covered by existing tests in svg/ when tests are run with
accelerated painting.
- WebCore.gypi:
- platform/graphics/filters/FEBlend.h:
(FEBlend):
- platform/graphics/filters/skia/FEBlendSkia.cpp: Added.
(WebCore):
(WebCore::toSkiaMode):
(WebCore::FEBlend::platformApplySkia):
- 12:55 PM Changeset in webkit [126615] by
-
- 2 edits in trunk/Source/WebCore
[chromium] CCLayerTreeHostImpl::scrollBy always assumes screen space deltas
https://bugs.webkit.org/show_bug.cgi?id=94946
Reviewed by James Robinson.
Multiply scrollBy deltas in CCLayerTreeHostImpl to correctly support
scrolling on devices that send deltas in DIP (as opposed to screen)
space. Change is a nop on platforms that have not setDeviceScaleFactor
to a non-unity value.
Tested by existing unit tests.
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::scrollBy):
- 12:44 PM Changeset in webkit [126614] by
-
- 1 edit in branches/chromium/1180/Source/WebCore/rendering/RenderWidget.cpp
Merge 126042 - [chromium] pepper plugins sometimes are shifted by 1 pixel
https://bugs.webkit.org/show_bug.cgi?id=94257
Patch by Yuzhu Shen <yzshen@chromium.com> on 2012-08-20
Reviewed by Levi Weintraub.
Change RenderWidget::updateWidgetGeometry() to use LayoutRect instead of IntRect to avoid unwanted truncation
(when converting from FloatRect to IntRect).
This makes sure that the optimized rendering code path of Pepper plugin
(PluginInstance::GetBitmapForOptimizedPluginPaint) has consistent coordinates with the normal WebKit rendering
code path.
No new tests because we don't have Pepper plugin tests in WebKit.
- rendering/RenderWidget.cpp:
(WebCore::RenderWidget::updateWidgetGeometry):
TBR=commit-queue@webkit.org
Review URL: https://chromiumcodereview.appspot.com/10870077
- 12:37 PM Changeset in webkit [126613] by
-
- 4 edits5 adds in trunk/Source/JavaScriptCore
Autogenerate Opcode definitions
https://bugs.webkit.org/show_bug.cgi?id=94840
Reviewed by Gavin Barraclough.
Start the process of autogenerating the code emission for the bytecode.
We'll just start with automatic generation of the list of Opcodes as that
requires the actual definition of the opcodes, and the logic for parsing
them.
Due to some rather annoying dependency cycles, this initial version has
the OpcodeDefinitions.h file checked into the tree, although with some
work I hope to be able to fix that.
- DerivedSources.make:
- JavaScriptCore.xcodeproj/project.pbxproj:
- bytecode/Opcode.h: Include OpcodeDefinitions.h as our definitive source of info about the opcodes.
- bytecode/OpcodeDefinitions.h: Added. Autogenerated file
- bytecode/opcodes: Added. The new opcode definition file
- opcode_definition_generator.py: Added.
(generateOpcodeDefinition):
(generate):
Module that generates the content for OpcodeDefinitions.h
- opcode_generator.py: Added.
(printUsage):
(main):
Driver script
- opcode_parser.py: Added. Simple parser for the opcode definitions.
- 12:19 PM Changeset in webkit [126612] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Debug assertion fires in BackingStorePrivate::renderJob()
https://bugs.webkit.org/show_bug.cgi?id=94960
Patch by Liam Quinn <lquinn@rim.com> on 2012-08-24
Reviewed by Adam Treat.
Change the assertion into an early return as recommended by Adam Treat.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::renderJob):
- 12:17 PM Changeset in webkit [126611] by
-
- 4 edits3 adds in trunk
webkit-image-set() function not showing up when computing background property
https://bugs.webkit.org/show_bug.cgi?id=94536
Patch by Anish Bhayani <anish.bhayani@gmail.com> on 2012-08-24
Reviewed by Simon Fraser.
Source/WebCore:
Added isBaseValueList() to ensure ImageSetClass is not displaying shorthand notation.
Tests to make sure background shows '-webkit-image-set('.
Test: fast/css/image-set-setting.html
- css/CSSValue.h:
(CSSValue):
(WebCore::CSSValue::isBaseValueList):
- css/StylePropertySet.cpp:
(WebCore::StylePropertySet::getLayeredShorthandValue):
LayoutTests:
Used same tests from image-set-parsing to show consistency between CSS background
value and backgroundImage value when setting -webkit-image-set(...).
- fast/css/image-set-setting-expected.txt: Added.
- fast/css/image-set-setting.html: Added.
- fast/css/script-tests/image-set-setting.js: Added.
(testComputedStyle):
(testImageSetRule):
- 12:15 PM Changeset in webkit [126610] by
-
- 3 edits in trunk/Source/WebCore
Remove unnecessary CSS selector text generation
https://bugs.webkit.org/show_bug.cgi?id=94857
Reviewed by Ojan Vafai.
When setting the selector text, there was some old code that would
check to see if it was unchanged. That got removed, but the code
to generate the previous selector text is still there.
Covered by fast/css/css-set-selector-text.html and
fast/css/css-set-selector-text-crash.html.
- css/CSSPageRule.cpp:
(WebCore::CSSPageRule::setSelectorText): Remove unused oldSelectorText.
- css/CSSStyleRule.cpp:
(WebCore::CSSStyleRule::setSelectorText): Remove unused oldSelectorText
and rather than update the cache, just invalidate the previous entry since
we may not need the new selector text.
- 12:01 PM Changeset in webkit [126609] by
-
- 7 edits in trunk/Source
Source/WebCore: Add support for consumable user gestures
https://bugs.webkit.org/show_bug.cgi?id=94867
Reviewed by Adam Barth.
Adds a static counter of the number of consumable gestures. This is decremented either when
a gestures falls out of scope or is consumed via a call to consumeUserGesture().
Planned usage in Chromium is to prevent the piggybacking of multiple popup windows on a
single user gesture.
No new tests as this should not change behavior. The platform must implement consumable
gestures for this to do anything.
- bindings/v8/ScriptController.cpp:
(WebCore::ScriptController::consumeUserGesture):
(WebCore):
- bindings/v8/ScriptController.h:
(ScriptController):
- dom/UserGestureIndicator.cpp:
(WebCore):
(WebCore::UserGestureIndicator::UserGestureIndicator):
(WebCore::UserGestureIndicator::~UserGestureIndicator):
(WebCore::UserGestureIndicator::consumeUserGesture):
- dom/UserGestureIndicator.h:
(WebCore::UserGestureIndicator::processingUserGesture):
(UserGestureIndicator):
Source/WebKit/chromium: Plumb consumeUserGesture() to the chromium platform layer.
https://bugs.webkit.org/show_bug.cgi?id=9475294867
Reviewed by Adam Barth.
- public/WebFrame.h:
(WebFrame):
- src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::consumeUserGesture):
(WebKit):
- src/WebFrameImpl.h:
(WebFrameImpl):
- 11:59 AM Changeset in webkit [126608] by
-
- 3 edits3 adds in trunk
[chromium] gestureTapDown should not select a RenderView node as target.
https://bugs.webkit.org/show_bug.cgi?id=94956
Reviewed by James Robinson.
Add check to prevent selecting a RenderView node as a highlight target.
Source/WebKit/chromium:
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::bestTouchLinkNode):
LayoutTests:
- platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-background.html: Added.
- platform/chromium-linux/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-background-expected.png: Added.
- platform/chromium-linux/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-background-expected.txt: Added.
- 11:55 AM Changeset in webkit [126607] by
-
- 3 edits in trunk/Tools
[Chromium-Android] Many 'Unexpected EOF ...' when a test crashes
https://bugs.webkit.org/show_bug.cgi?id=94865
Reviewed by Dirk Pranke.
Android detects crash of test by checking if the return value of read() is None.
Added a parameter 'treat_no_data_as_crash' to let ServerProcess know the special requirement of Android.
If set, ServerProcess will set _crashed unconditionaly when there is no data.
- Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidPort.init):
(ChromiumAndroidPort):
(ChromiumAndroidPort._android_server_process_constructor):
(ChromiumAndroidDriver._start_once):
- Scripts/webkitpy/layout_tests/port/server_process.py:
(ServerProcess.init):
(ServerProcess._wait_for_data_and_update_buffers_using_select):
- 11:51 AM Changeset in webkit [126606] by
-
- 2 edits in trunk/LayoutTests
[Chromium-Android] Upstream layout test expectations (Part 1)
https://bugs.webkit.org/show_bug.cgi?id=94884
Reviewed by Adam Barth.
This part include:
- Removed ANDROID tag for passing tests and tests that should be covered by other Android specific rules
- Added android rules for fast/js and jquery/ tests
- crbug.com/144536
- Several other rules with public bugs
- platform/chromium/TestExpectations:
- 11:48 AM Changeset in webkit [126605] by
-
- 12 edits13 adds in trunk
[CSS Exclusions] Enable shape-inside for simple rectangles
https://bugs.webkit.org/show_bug.cgi?id=89259
Patch by Bear Travis <betravis@adobe.com> on 2012-08-24
Reviewed by Levi Weintraub.
Source/WebCore:
This patch is the first in a series enabling shape-inside. It adds
support for inline layout within a single render block with a
rectangular shape-inside.
Each RenderBlock with a valid shape-inside maintains a WrapShapeInfo,
which can calculate the areas, or LineSegments, where inline content
can flow on a line. The WrapShapeInfo class maintains a static map of
RenderBlocks to WrapShapeInfos. The basic algorithm involves three stages:
- Determine if the RenderBlock has a valid shape-inside, and store it
in a WrapShapeInfo if necessary.
- If the inline content is affected by a shape-inside, use the
corresponding WrapShapeInfo to break the content into line segments.
- Lay out the line segments.
Tests: fast/exclusions/shape-inside/shape-inside-floats-simple.html
fast/exclusions/shape-inside/shape-inside-inline-elements.html
fast/exclusions/shape-inside/shape-inside-overflow.html
fast/exclusions/shape-inside/shape-inside-percentage-auto.html
fast/exclusions/shape-inside/shape-inside-text.html
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::willBeDestroyed): Remove WrapShapeInfo when destroyed.
(WebCore::RenderBlock::styleDidChange): Detect modifications to style()->wrapShapeInside.
(WebCore):
(WebCore::RenderBlock::updateWrapShapeInfoAfterStyleChange): Update WrapShapeInfo
when style()->wrapShapeInside changes.
(WebCore::RenderBlock::layoutBlock): Notify WrapShapeInfo of changes in logicalWidth
and logicalHeight before laying out inline content.
- rendering/RenderBlock.h:
(RenderBlock):
(WebCore::RenderBlock::wrapShapeInfo): Return the wrapShapeInfo associated with a
RenderBlock.
- rendering/RenderBlockLineLayout.cpp:
(WebCore::LineWidth::LineWidth): Determine the WrapShapeInfo::LineSegment this LineWidth
corresponds to, if any.
(LineWidth):
(WebCore::LineWidth::updateAvailableWidth): The width's LineSegment boundaries affect
the available width.
(WebCore::RenderBlock::computeInlineDirectionPositionsForLine): The current LineSegment
affects the left & right positioning of inline boxes.
(WebCore::RenderBlock::layoutRunsAndFloatsInRange): Move to the top of the inside wrap
shape before beginning inline layout, and update the line segments for each line.
- rendering/WrapShapeInfo.cpp: Added.
(WebCore):
(WebCore::WrapShapeInfo::WrapShapeInfo): Create an empty WrapShapeInfo.
(WebCore::WrapShapeInfo::~WrapShapeInfo): No additional cleanup.
(WebCore::WrapShapeInfo::create): Create a WrapShapeInfo reference.
(WebCore::WrapShapeInfo::ensureWrapShapeInfoForRenderBlock): Create a WrapShapeInfo
for a RenderBlock with an inside WrapShape and place it in the WrapShapeInfo map.
(WebCore::WrapShapeInfo::wrapShapeInfoForRenderBlock): Lookup the WrapShapeInfo for
a RenderBlock in the WrapShapeInfo map.
(WebCore::WrapShapeInfo::isWrapShapeInfoEnabledForBlock): Determine if a RenderBlock
has an inside wrap shape that we can use for inline layout.
(WebCore::WrapShapeInfo::removeWrapShapeInfoForRenderBlock): Remove a RenderBlock's
WrapShapeInfo from the WrapShapeInfo map.
(WebCore::WrapShapeInfo::hasSegments): Returns true if there are any line segments
for the current line.
(WebCore::WrapShapeInfo::computeShapeSize): Compute the dimensions of the wrap shape
based on a block's logical width & height.
(WebCore::WrapShapeInfo::computeSegmentsForLine): Sets the current line and computes
its line segments.
- rendering/WrapShapeInfo.h: Added.
(WebCore):
(LineSegment):
(WrapShapeInfo):
(WebCore::WrapShapeInfo::shapeTop): The top of a wrap shape, where the inline content
area begins.
(WebCore::WrapShapeInfo::segments): The list of line segments for the current line.
(WebCore::WrapShapeInfo::wrapShapeSizeNeedsRecomputing): Mark a WrapShapeInfo as
needing to recompute its WrapShape dimensions.
(WebCore::WrapShapeInfo::lineState): The current line state: above, inside, or below
the wrap shape.
- rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff): Changes to shape inside require relayout.
LayoutTests:
Test that inline content correctly wraps for a simple rectangular
shape-inside. Text and inline content should wrap inside the
rectangular shape-inside, and overflow to its containing block.
Inline content inside a shape-inside should also avoid floats.
- fast/exclusions/shape-inside/shape-inside-floats-simple-expected.html: Added.
- fast/exclusions/shape-inside/shape-inside-floats-simple.html: Added.
- fast/exclusions/shape-inside/shape-inside-inline-elements-expected.html: Added.
- fast/exclusions/shape-inside/shape-inside-inline-elements.html: Added.
- fast/exclusions/shape-inside/shape-inside-overflow-expected.html: Added.
- fast/exclusions/shape-inside/shape-inside-overflow.html: Added.
- fast/exclusions/shape-inside/shape-inside-percentage-auto-expected.html: Added.
- fast/exclusions/shape-inside/shape-inside-percentage-auto.html: Added.
- fast/exclusions/shape-inside/shape-inside-text-expected.html: Added.
- fast/exclusions/shape-inside/shape-inside-text.html: Added.
- 11:43 AM Changeset in webkit [126604] by
-
- 2 edits16 adds in trunk/LayoutTests
Unreviewed Chromium rebaseline.
- platform/chromium-mac/fast/table/border-collapsing/cached-69296-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-cell-append-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-cell-remove-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-cell-border-color-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-cell-border-width-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-col-border-color-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-col-border-width-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-colgroup-border-color-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-colgroup-border-width-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-row-border-color-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-row-border-width-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-table-border-color-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-table-border-width-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-tbody-border-color-expected.png: Added.
- platform/chromium-mac/fast/table/border-collapsing/cached-change-tbody-border-width-expected.png: Added.
- platform/chromium/TestExpectations:
Rebaselined the border-collapsing tests on Mac. They have required a different baseline for several months
now and the root cause (small alpha difference) doesn't seem to be worked on.
- 11:00 AM Changeset in webkit [126603] by
-
- 1 edit in trunk/Source/WebCore/rendering/RenderMultiColumnSet.cpp
Fix build bustage on android.
- 10:49 AM Changeset in webkit [126602] by
-
- 8 edits in trunk/Source/WebCore
[New Multicolumn] Plumbing to prepare for contents painting and hit testing implementation.
https://bugs.webkit.org/show_bug.cgi?id=94945
Reviewed by Dan Bernstein.
Make some improvements to how column sets interact with flow threads. Make sure the last column set
always expands to hold all of the remaining flow thread contents (including overflow). Rename the
column height, count and width variables to have "computed" in front of them to indicate that they
just represent what the multi-column algorithm computed so that there is no confusion between the
computed column count and the actual number of columns in the set.
Implement the ability to get the actual column count based off the logical height of the flow thread
portion contained within the column set.
Fix gap painting to use the actual column count rather than the computed column count.
- rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::layout):
After a flow thread is done laying out, have it tell the last region to expand to
encompass all the remaining contents if it wants to do so. Column and page sets will always do this.
- rendering/RenderMultiColumnFlowThread.h:
(RenderMultiColumnFlowThread):
Override computeLogicalHeight() to do nothing. We want the flow thread to just keep its intrinsic
height, since the last column set is always going to expand to encompass the flow thread's contents
anyway. Unlike CSS Regions, we don't ever "run out of room."
- rendering/RenderMultiColumnSet.cpp:
(WebCore::RenderMultiColumnSet::RenderMultiColumnSet):
(WebCore::RenderMultiColumnSet::computeLogicalWidth):
(WebCore::RenderMultiColumnSet::computeLogicalHeight):
(WebCore::RenderMultiColumnSet::columnCount):
(WebCore::RenderMultiColumnSet::columnRectAt):
(WebCore::RenderMultiColumnSet::paintColumnRules):
(WebCore::RenderMultiColumnSet::paintColumnContents):
Rename count, width and height for columns to have "computed" in front of the members and functions.
In particular, this lets us distinguish the computed column count from the actual column count.
- rendering/RenderMultiColumnSet.h:
(WebCore::RenderMultiColumnSet::computedColumnCount):
(WebCore::RenderMultiColumnSet::computedColumnWidth):
(WebCore::RenderMultiColumnSet::computedColumnHeight):
(WebCore::RenderMultiColumnSet::setComputedColumnWidthAndCount):
(WebCore::RenderMultiColumnSet::setComputedColumnHeight):
Rename count, width and height for columns to have "computed" in front of the members and functions.
In particular, this lets us distinguish the computed column count from the actual column count.
- rendering/RenderRegion.h:
(RenderRegion):
(WebCore::RenderRegion::expandToEncompassFlowThreadContentsIfNeeded):
- rendering/RenderRegionSet.cpp:
(WebCore::RenderRegionSet::expandToEncompassFlowThreadContentsIfNeeded):
(WebCore):
- rendering/RenderRegionSet.h:
(RenderRegionSet):
Make sure region sets expand to encompass all the remaining flow thread contents. We are always
able to generate more columns or pages, so in effect the amount of the flow thread we can
consume is unlimited.
- 10:48 AM Changeset in webkit [126601] by
-
- 2 edits in trunk/Source/WebCore
[Qt] Range input progress indicator is upside down when vertical and RTL is set
https://bugs.webkit.org/show_bug.cgi?id=94948
Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-08-24
Reviewed by Kenneth Rohde Christiansen.
RTL should not affect vertical sliders, but on Qt it was changing the
direction of the progress indicator, making it flow in the opposite
direction of the knob.
- platform/qt/RenderThemeQtMobile.cpp:
(WebCore::RenderThemeQtMobile::paintSliderTrack):
- 10:47 AM Changeset in webkit [126600] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Adding expectations for a few failing tests that popped up on the debug
builder after it was brought back into a working state.
Removing failure expectation for fast/dom/Window/window-postmessage-clone.html
after the test was fixed in r126464.
- platform/gtk/TestExpectations:
- 10:38 AM Changeset in webkit [126599] by
-
- 2 edits in trunk/LayoutTests
Unreviewed gardening.
- platform/chromium/TestExpectations:
Marked fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements.html as failing following r126534.
- 10:21 AM Changeset in webkit [126598] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Animation & UI lag when rendering
https://bugs.webkit.org/show_bug.cgi?id=94943
Patch by Andrew Lo <anlo@rim.com> on 2012-08-24
Reviewed by Rob Buis.
Schedule a backing store blit & composite when commiting root layer.
This results in compositing not having to wait until after a long render
operation, increasing responsiveness & fixing animations which skip to
the last frame due to lag.
This can cause a blit during a "one shot drawing synchronization", which is
a render & commit on the AC layers, which may result in flashing.
However, this can happen in other situations as well, and we feel that
the responsiveness, reduced lag, and smoothness of animations is
more important.
Internal PR194209
Internally reviewed by: George Staikos.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::commitRootLayer):
- 10:21 AM Changeset in webkit [126597] by
-
- 2 edits in trunk/Tools
build-webkit --gtk fails with Can't exec ""
https://bugs.webkit.org/show_bug.cgi?id=94944
Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2012-08-24
Reviewed by Martin Robinson.
When jhbuild wrapper is not needed, do unshift a blank string to build
arguments.
- Scripts/webkitdirs.pm:
(runAutogenForAutotoolsProjectIfNecessary):
- 10:12 AM Changeset in webkit [126596] by
-
- 10 edits in trunk/Source
[BlackBerry] Changes resulting from moving application directory methods from platform client to platform settings.
https://bugs.webkit.org/show_bug.cgi?id=94249
Patch by Parth Patel <parpatel@rim.com> on 2012-08-24
Reviewed by Rob Buis.
Source/WebCore:
PR 170160
Changes in response to Application Directory methods moved from
Class BlackBerryPlatformClient to BlackBerryPlatformSettings in
platform respository since these methods are more appropriate in
class BlackBerryPlatformSettings.
No new tests as there are no logical modifications.
- platform/blackberry/CookieManager.cpp:
(WebCore::CookieManager::CookieManager):
- platform/blackberry/FileSystemBlackBerry.cpp:
(WebCore::homeDirectoryPath):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
(WebCore::MediaPlayerPrivate::load):
- platform/network/blackberry/AutofillBackingStore.cpp:
(WebCore::autofillBackingStore):
- platform/network/blackberry/CredentialBackingStore.cpp:
(WebCore::credentialBackingStore):
- platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::sendRequestWithCredentials):
- plugins/PluginDatabase.cpp:
(WebCore::PluginDatabase::isPreferredPluginDirectory):
Source/WebKit/blackberry:
PR# 170160
Changes in response to Application Directory methods moved from
Class BlackBerryPlatformClient to BlackBerryPlatformSettings in
platform respository since these methods are more appropriate in
class BlackBerryPlatformSettings.
- WebCoreSupport/IconDatabaseClientBlackBerry.cpp:
(WebCore::IconDatabaseClientBlackBerry::initIconDatabase):
- 10:10 AM Changeset in webkit [126595] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: do not count weak and shortcut edges.
https://bugs.webkit.org/show_bug.cgi?id=94947
Reviewed by Yury Semikhatsky.
When calculating distance from an object to Window in heap profiler we should only
take into account strong real references. This means that shortcuts and weak edges should be ignored.
- inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshot.prototype._bfs):
- 9:49 AM Changeset in webkit [126594] by
-
- 1 edit in branches/chromium/1180/Source/WebCore/inspector/front-end/HandlerRegistry.js
Merge 125668 - Web Inspector: [REGRESSION] "save as" of edited source in developer mode fails to update saved file
https://bugs.webkit.org/show_bug.cgi?id=94074
Reviewed by Pavel Feldman.
Added dirty flag check when saving uiSourceCode to save working copy in this case.
- inspector/front-end/HandlerRegistry.js:
(WebInspector.HandlerRegistry.prototype.appendApplicableItems.save):
(WebInspector.HandlerRegistry.prototype.appendApplicableItems):
BUG=141180
TBR=vsevik@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10883027
- 9:47 AM Changeset in webkit [126593] by
-
- 1 edit13 adds in trunk/LayoutTests
[EFL] Add baselines for the tests which are missing expected results
https://bugs.webkit.org/show_bug.cgi?id=94942
Unreviewed EFL gardening. Add platform specific baselines required
after r126343 and r126372.
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-08-24
- platform/efl/fast/overflow/paged-x-div-expected.png: Added.
- platform/efl/fast/overflow/paged-x-div-expected.txt: Added.
- platform/efl/fast/overflow/paged-x-on-root-expected.png: Added.
- platform/efl/fast/overflow/paged-x-on-root-expected.txt: Added.
- platform/efl/fast/overflow/paged-y-div-expected.png: Added.
- platform/efl/fast/overflow/paged-y-div-expected.txt: Added.
- platform/efl/fast/overflow/paged-y-on-root-expected.png: Added.
- platform/efl/fast/overflow/paged-y-on-root-expected.txt: Added.
- platform/efl/media/track/track-cue-rendering-horizontal-expected.png: Added.
- platform/efl/media/track/track-cue-rendering-horizontal-expected.txt: Added.
- platform/efl/media/track/track-cue-rendering-vertical-expected.png: Added.
- platform/efl/media/track/track-cue-rendering-vertical-expected.txt: Added.
- 9:42 AM Changeset in webkit [126592] by
-
- 2 edits in trunk/LayoutTests
[EFL] fast/dom/navigator-vibration.html is failing after r126562
https://bugs.webkit.org/show_bug.cgi?id=94939
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-08-24
Reviewed by Kentaro Hara.
Update expected results for fast/dom/navigator-vibration.html now that
NotEnoughArguments is thrown instead of TypeError if the actual argument
count is less than the least mandatory argument count.
- fast/dom/navigator-vibration-expected.txt:
- 9:39 AM Changeset in webkit [126591] by
-
- 3 edits3 adds in trunk
Crash in RenderTableCell::borderTop() due to custom scrollbars after r124168
https://bugs.webkit.org/show_bug.cgi?id=93903
Reviewed by Tony Chang.
Source/WebCore:
r124168 changed when we create scrollbars so that it happens (rightly) at style change time.
However the RenderScrollbar code assumes that any overflow: scroll RenderScrollbar would be
created at layout time as it directly tries to layout to scrollbar parts. The big issues with
the move is that the first style change operates on a detached renderer which means that we
could crash in some situation.
Test: scrollbars/custom-scrollbar-table-cell.html
- rendering/RenderScrollbarPart.cpp:
(WebCore::RenderScrollbarPart::computeScrollbarWidth):
(WebCore::RenderScrollbarPart::computeScrollbarHeight):
Fixed the crash by using style information instead of calling the renderer. This is guaranteed
to be safe but it also means that custom scrollbars sizing is not right on table cells with
collapsing borders. The existing logic was querying layout information at style change so I
wouldn't bet on it working properly anyway.
LayoutTests:
- scrollbars/custom-scrollbar-table-cell-expected.png: Added.
- scrollbars/custom-scrollbar-table-cell-expected.txt: Added.
- scrollbars/custom-scrollbar-table-cell.html: Added.
- 9:37 AM Changeset in webkit [126590] by
-
- 7 edits in trunk/Source/WebCore
Remove RenderTableSection::removeChild
https://bugs.webkit.org/show_bug.cgi?id=94883
Reviewed by Abhishek Arya.
This change removed removeChild, replaced by willBeRemoved calls in the children
class. This is done to ensure that post-removal invalidations are properly done
in table rows and table cells.
Refactoring covered by existing tests.
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::removeChild):
- rendering/RenderTableSection.h:
Removed this function...
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::willBeRemovedFromTree):
- rendering/RenderTableCell.h:
(RenderTableCell):
- rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::willBeRemovedFromTree):
- rendering/RenderTableRow.h:
... and moved the invalidation into the willBeRemovedFromTree functions.
The willBeRemovedFromTree replaced the willBeDestroyed functions in the
2 classes as the invalidation really represented tree removal updates,
not death updates.
- 8:40 AM Changeset in webkit [126589] by
-
- 6 edits in trunk/LayoutTests
Web Inspector: Unreviewed, fix test flakiness due to the recently introduced lazy panel loading.
- inspector/debugger/scripts-file-selector.html:
- inspector/debugger/step-through-event-listeners.html:
- inspector/elements/edit-dom-actions.html:
- inspector/elements/edit-style-attribute.html:
- inspector/timeline/timeline-enum-stability.html:
- 8:30 AM Changeset in webkit [126588] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Touch cancel can cause huge and needless invalidations
https://bugs.webkit.org/show_bug.cgi?id=94938
PR #198051
Reviewed by George Staikos.
Patch by Antonio Gomes <agomes@rim.com>
Internally reviewed by Gen Mak.
In order to remove the possible hover effect on touch_cancel, we always
invalidate the node under the fat finger, being the fat finger valid or not.
Point is: having a valid fat finger node does not mean the original touch
position was actually adjust for clicking or that the fat finger is actually
valid. We set the fat finger node to be the result of the point-based hit-test
regardless if it is a click target or not (in order to make our mouse-move
machinery to work).
We should can less aggressively invalidate the fat finger node, since it can
be rather an expensive call (longer than 1s in the worst scenario).
- WebKitSupport/TouchEventHandler.cpp:
(BlackBerry::WebKit::TouchEventHandler::touchEventCancel):
- 8:12 AM Changeset in webkit [126587] by
-
- 3 edits in trunk/Source/WebCore
[BlackBerry] Extend LayerFilterRenderer in preparation for CSS Shaders
https://bugs.webkit.org/show_bug.cgi?id=94724
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-08-24
Reviewed by George Staikos.
LayerFilterRenderer defines a CSS Filter in terms of one or more
Actions.
A LayerFilterRendererAction holds a vertex shader, a fragment shader, and
zero or moreParameters. A Parameter is a uniform, varying, or other
information which is needed to render a filter.
This patch implements certain new Parameter types, including vertex/element
buffers and vertex attributes which are needed to implement composited
CSS Shaders on BB10. In addition, a new drawing mode is required in order
to draw CSS Shaders meshes from vertex/element buffers.
No new tests, because this patch introduces no new functionality. When
the patch which enables CSS Shaders on BB10 in upstreamed, tests for
CSS Shaders will prove this code to be correct.
- platform/graphics/blackberry/LayerFilterRenderer.cpp:
(WebCore::operationTypeToProgramID):
(WebCore::Uniform::Uniform):
(WebCore::Uniform1f::create):
(WebCore::Uniform1f::Uniform1f):
(WebCore):
(WebCore::Uniform1i::apply):
(WebCore::Uniform1i::create):
(WebCore::Uniform1i::Uniform1i):
(WebCore::Uniform2f::create):
(WebCore::Uniform2f::Uniform2f):
(WebCore::Uniform3f::create):
(WebCore::Uniform3f::Uniform3f):
(WebCore::Uniform4f::apply):
(WebCore::Uniform4f::create):
(WebCore::Uniform4f::Uniform4f):
(WebCore::Matrix4fv::apply):
(WebCore::Matrix4fv::create):
(WebCore::Matrix4fv::Matrix4fv):
(WebCore::Matrix4fv::~Matrix4fv):
(WebCore::Buffer::apply):
(WebCore::Buffer::restoreState):
(WebCore::Buffer::create):
(WebCore::Buffer::Buffer):
(WebCore::VertexAttribf::apply):
(WebCore::VertexAttribf::restoreState):
(WebCore::VertexAttribf::create):
(WebCore::VertexAttribf::VertexAttribf):
(WebCore::LayerFilterRendererAction::LayerFilterRendererAction):
(WebCore::LayerFilterRendererAction::useActionOn):
(WebCore::LayerFilterRendererAction::restoreState):
(WebCore::LayerFilterRenderer::LayerFilterRenderer):
(WebCore::LayerFilterRenderer::actionsForOperations):
(WebCore::LayerFilterRenderer::applyActions):
- platform/graphics/blackberry/LayerFilterRenderer.h:
(Parameter):
(WebCore::Parameter::restoreState):
(WebCore::Parameter::~Parameter):
(WebCore::Parameter::Parameter):
(WebCore):
(Uniform):
(WebCore::Uniform::~Uniform):
(Uniform1f):
(Uniform1i):
(Uniform2f):
(Uniform3f):
(Uniform4f):
(Matrix4fv):
(Buffer):
(VertexAttribf):
(WebCore::LayerFilterRendererAction::appendParameter):
(LayerFilterRendererAction):
(WebCore::LayerFilterRendererAction::drawingMode):
(WebCore::LayerFilterRendererAction::setDrawingMode):
(WebCore::LayerFilterRendererAction::drawingModeParameter):
(WebCore::LayerFilterRendererAction::setDrawingModeParameter):
- 8:10 AM Changeset in webkit [126586] by
-
- 18 edits2 adds in trunk
MediaStream API: Add readyState functionality to RTCPeerConnection
https://bugs.webkit.org/show_bug.cgi?id=94813
Reviewed by Adam Barth.
Source/Platform:
- chromium/public/WebRTCPeerConnectionHandler.h:
(WebRTCPeerConnectionHandler):
- chromium/public/WebRTCPeerConnectionHandlerClient.h:
(WebRTCPeerConnectionHandlerClient):
Source/WebCore:
This patch adds readyState functionality to RTCPeerConnection together with related callbacks and methods.
Test: fast/mediastream/RTCPeerConnection-state.html
- Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::RTCPeerConnection):
(WebCore::RTCPeerConnection::readyState):
(WebCore):
(WebCore::RTCPeerConnection::close):
(WebCore::RTCPeerConnection::didChangeReadyState):
(WebCore::RTCPeerConnection::stop):
(WebCore::RTCPeerConnection::changeReadyState):
- Modules/mediastream/RTCPeerConnection.h:
(RTCPeerConnection):
- Modules/mediastream/RTCPeerConnection.idl:
- platform/mediastream/RTCPeerConnectionHandler.cpp:
(RTCPeerConnectionHandlerDummy):
(WebCore::RTCPeerConnectionHandlerDummy::stop):
(WebCore):
- platform/mediastream/RTCPeerConnectionHandler.h:
(RTCPeerConnectionHandler):
- platform/mediastream/RTCPeerConnectionHandlerClient.h:
(RTCPeerConnectionHandlerClient):
- platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
(WebCore::RTCPeerConnectionHandlerChromium::RTCPeerConnectionHandlerChromium):
(WebCore::RTCPeerConnectionHandlerChromium::stop):
(WebCore):
(WebCore::RTCPeerConnectionHandlerChromium::didChangeReadyState):
- platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
(RTCPeerConnectionHandlerChromium):
Source/WebKit/chromium:
- src/AssertMatchingEnums.cpp:
Tools:
- DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
(MockWebRTCPeerConnectionHandler::MockWebRTCPeerConnectionHandler):
(MockWebRTCPeerConnectionHandler::stop):
- DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
(MockWebRTCPeerConnectionHandler):
LayoutTests:
- fast/mediastream/RTCPeerConnection-state-expected.txt: Added.
- fast/mediastream/RTCPeerConnection-state.html: Added.
- 7:39 AM Changeset in webkit [126585] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [WebGL] A follow up to simplify code with nested closures
https://bugs.webkit.org/show_bug.cgi?id=94931
Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-08-24
Reviewed by Pavel Feldman.
Simplifies the code with nested closures.
- inspector/InjectedScriptWebGLModuleSource.js:
(.):
- 7:05 AM Changeset in webkit [126584] by
-
- 6 edits in trunk
Web Inspector: Get rid of frontendReused logic on front-end.
https://bugs.webkit.org/show_bug.cgi?id=94929
Reviewed by Pavel Feldman.
Source/WebCore:
Removed frontendReused method from ResourceTreeModel.
- inspector/front-end/ResourceTreeModel.js:
(WebInspector.ResourceTreeModel.prototype._frameNavigated):
- inspector/front-end/Workspace.js:
(WebInspector.Workspace): workspace doesn't need to listen for CachedResourcesLoaded event anymore.
- inspector/front-end/inspector.js: removed unused method.
LayoutTests:
- http/tests/inspector/resource-tree/resource-tree-events.html:
- 7:02 AM Changeset in webkit [126583] by
-
- 5 edits2 moves1 add in trunk/Source/WebCore
Share WebKit-Gtk's Enchant implementation with others WebKit ports.
https://bugs.webkit.org/show_bug.cgi?id=94320
Reviewed by Carlos Garcia Campos.
The main reason of this change is to share WebKit-Gtk implementation of spelling
with others ports that use the Enchant library.
This is the first step to enable spelling for WebKit-Efl (https://bugs.webkit.org/show_bug.cgi?id=91854)
Files that implement spelling were moved to platform/text/enchant directory.
This patch stops using Pango backend to find the beginning/end of the word.
Those information are delivered through ICU interface by using TextBreakIterator.
- GNUmakefile.am: Added newly created 'enchant' directory to WebKit-Gtk's sources.
- GNUmakefile.list.am: Updated location of TextCheckerEnchant.{h,cpp} files.
- editing/visible_units.cpp: Removed 'static' modifier for 'isLogicalStartOfWord' and 'islogicalEndOfWord' functions.
(WebCore::isLogicalStartOfWord):
(WebCore::islogicalEndOfWord):
- editing/visible_units.h: Added isLogicalStartOfWord' and 'islogicalEndOfWord' functions to header as they are used by TextCheckerEnchant.cpp
- platform/text/enchant/TextCheckerEnchant.cpp: Renamed from Source/WebCore/platform/text/gtk/TextCheckerEnchant.cpp.
(enchantDictDescribeCallback): Added comments.
(TextCheckerEnchant::TextCheckerEnchant):
(TextCheckerEnchant::~TextCheckerEnchant):
(TextCheckerEnchant::ignoreWord):
(TextCheckerEnchant::learnWord):
(TextCheckerEnchant::checkSpellingOfString): Using ICU instead of Pango to find out the beginning/end of the word.
(TextCheckerEnchant::getGuessesForWord): Replaced gchar type to char.
(TextCheckerEnchant::updateSpellCheckingLanguages): Using WebCore::defaulLanguage() instead of Pango backend.
(TextCheckerEnchant::getSpellCheckingLanguages):
(TextCheckerEnchant::freeEnchantBrokerDictionaries):
- platform/text/enchant/TextCheckerEnchant.h: Renamed from Source/WebCore/platform/text/gtk/TextCheckerEnchant.h.
(WebCore):
(TextCheckerEnchant):
(WebCore::TextCheckerEnchant::create):
- 6:50 AM Changeset in webkit [126582] by
-
- 4 edits1 add in trunk/Source/WebKit2
[Qt][WK2] Fix custom device pixel ratio propagation and add QML API tests
https://bugs.webkit.org/show_bug.cgi?id=88531
Reviewed by Kenneth Rohde Christiansen.
Defer setting the custom device pixel ratio until the page item has
a valid size to make sure that the scale factor reaches the web process.
QML test based on patch by Alexander Færøy.
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::QQuickWebViewPrivate):
(QQuickWebViewPrivate::didRelaunchProcess):
(QQuickWebViewPrivate::didChangeContentsSize):
(QQuickWebViewFlickablePrivate::didChangeContentsSize):
(QQuickWebViewExperimental::devicePixelRatio):
(QQuickWebViewExperimental::setDevicePixelRatio):
- UIProcess/API/qt/qquickwebview_p.h:
- UIProcess/API/qt/qquickwebview_p_p.h:
(QQuickWebViewPrivate):
- UIProcess/API/qt/tests/qmltests/WebView/tst_devicePixelRatio.qml: Added. Test case for the QML device pixel ratio API.
- 6:46 AM Changeset in webkit [126581] by
-
- 2 edits in trunk/Source/WebKit2
[EFL] Fix compile warning
https://bugs.webkit.org/show_bug.cgi?id=94930
Patch by Kangil Han <kangil.han@samsung.com> on 2012-08-24
Reviewed by Kenneth Rohde Christiansen.
Fixed compile warning.
- UIProcess/API/efl/ewk_back_forward_list.cpp:
(ewk_back_forward_list_n_back_items_copy): NULL used in arithmetic [-Wpointer-arith]
(ewk_back_forward_list_n_forward_items_copy): NULL used in arithmetic [-Wpointer-arith]
- 6:30 AM Changeset in webkit [126580] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: do not send profile headers to the front-end until explicitly requested.
https://bugs.webkit.org/show_bug.cgi?id=94928
Reviewed by Vsevolod Vlasov.
Simple flag is added.
- inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
(WebCore::InspectorProfilerAgent::addProfile):
(WebCore::InspectorProfilerAgent::disable):
(WebCore::InspectorProfilerAgent::getProfileHeaders):
(WebCore):
(WebCore::InspectorProfilerAgent::resetFrontendProfiles):
- inspector/InspectorProfilerAgent.h:
(InspectorProfilerAgent):
- 6:25 AM Changeset in webkit [126579] by
-
- 14 edits in trunk
Web Inspector: make ui component compile
https://bugs.webkit.org/show_bug.cgi?id=94827
Reviewed by Vsevolod Vlasov.
Moved buildImagePreviewContents into the sdk-aware code.
Drive-by more compilation fixes.
- inspector/compile-front-end.py:
- inspector/front-end/DOMPresentationUtils.js:
(WebInspector.DOMPresentationUtils.buildImagePreviewContents.errorCallback):
(WebInspector.DOMPresentationUtils.buildImagePreviewContents.buildContent):
(WebInspector.DOMPresentationUtils.buildImagePreviewContents):
- inspector/front-end/Database.js:
- inspector/front-end/DefaultTextEditor.js:
(WebInspector.TextEditorMainPanel):
(WebInspector.TextEditorMainPanel.prototype._createLink):
- inspector/front-end/ElementsPanel.js:
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkDataGridNode.prototype._refreshNameCell):
- inspector/front-end/ParsedURL.js:
(WebInspector.ParsedURL.prototype.get displayName):
- inspector/front-end/ResourceUtils.js:
- inspector/front-end/SourceFrame.js:
(WebInspector.TextEditorDelegateForSourceFrame.prototype.populateTextAreaContextMenu):
(WebInspector.TextEditorDelegateForSourceFrame.prototype.createLink):
- inspector/front-end/TextEditor.js:
(WebInspector.TextEditorDelegate.prototype.populateTextAreaContextMenu):
(WebInspector.TextEditorDelegate.prototype.createLink):
- inspector/front-end/TimelinePresentationModel.js:
(WebInspector.TimelinePresentationModel.Record.prototype.generatePopupContent):
- inspector/front-end/UIUtils.js:
- 6:21 AM Changeset in webkit [126578] by
-
- 3 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Add WebPage API to reset block zoom
https://bugs.webkit.org/show_bug.cgi?id=94863
PR 187478
This is an alternative to WebPage::blockZoomAnimationFinished() when
it's desirable to avoid rerendering of the whole web page at the end
of block zoom. This is the case when the planned "incremental zoom
factor" is used instead of zoomAboutPoint and it's relatives.
Ideally, the block zoom algorithm would be clever enough not to need
a reset or any form of callback when the animation finishes, but that
requires the implementation of said incremental zoom factor, which is
not done yet.
Reviewed by Antonio Gomes.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::resetBlockZoom):
(WebKit):
- Api/WebPage.h:
- 6:18 AM Changeset in webkit [126577] by
-
- 2 edits in trunk/Tools
Unreviewed. Adding myself to committers list.
Also updated email information.
- Scripts/webkitpy/common/config/committers.py:
- 6:14 AM Changeset in webkit [126576] by
-
- 2 edits in trunk/Source/WebCore
Not reviewed: fixing inspector/elements/iframe-load-event.html broken by r126572.
- inspector/front-end/DOMAgent.js:
(WebInspector.DOMNode.prototype.resolveURL):
- 6:04 AM Changeset in webkit [126575] by
-
- 2 edits in trunk/Source/WTF
[Qt] Be more explicit about the ICU dependency in the error message
Rubber-stamped by Simon Hausmann.
When building QtWebKit with a Qt5 which was not configured with libICU support
the error message is somewhat ambiguous about the indirect dependency.
- WTF.pri:
- 5:57 AM EFLWebKit edited by
- Adding one more dependency (libffi-dev), required to compile glib-2.33.2 (diff)
- 5:23 AM Changeset in webkit [126574] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [WebGL] Implement custom wrap functions on GL context
https://bugs.webkit.org/show_bug.cgi?id=94799
Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-08-24
Reviewed by Pavel Feldman.
Implement custom wrap functions on WebGL rendering context for WebGL instrumentation.
- inspector/InjectedScriptWebGLModuleSource.js:
(.):
- 5:20 AM Changeset in webkit [126573] by
-
- 2 edits in trunk/LayoutTests
Web Inspector: three layout tests crashing with assertion failure
https://bugs.webkit.org/show_bug.cgi?id=94829
Not reviewed: updating test expectations.
- platform/chromium/TestExpectations:
- 5:10 AM Changeset in webkit [126572] by
-
- 19 edits in trunk
Web Inspector: resolve URLs upon creation, get rid of populateHrefContextMenu
https://bugs.webkit.org/show_bug.cgi?id=94900
Reviewed by Vsevolod Vlasov.
- This change makes sure we resolve URLs upon adding the to the UI. Then we treat them as absolute links in context menu, etc.
- There is no need to override context menu for links anymore - system menu will do.
- inspector/front-end/AuditResultView.js:
(WebInspector.AuditResultView):
- inspector/front-end/ConsoleView.js:
- inspector/front-end/DOMAgent.js:
(WebInspector.DOMNode.prototype.descendantUserPropertyCount):
(WebInspector.DOMNode.prototype.resolveURL):
- inspector/front-end/ElementsPanel.js:
- inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype.populateContextMenu):
(WebInspector.ElementsTreeElement.prototype._buildAttributeDOM):
- inspector/front-end/HandlerRegistry.js:
(WebInspector.HandlerRegistry.prototype.appendApplicableItems):
(WebInspector.HandlerRegistry.prototype._appendContentProviderItems):
(WebInspector.HandlerRegistry.prototype._appendHrefItems):
- inspector/front-end/ParsedURL.js:
(WebInspector.ParsedURL.completeURL):
- inspector/front-end/ResourceUtils.js:
(WebInspector.linkifyRequestAsNode):
- inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylesSidebarPane):
(WebInspector.StylePropertyTreeElement.prototype.updateTitle.linkifyURL):
- inspector/front-end/UIUtils.js:
- 4:47 AM Changeset in webkit [126571] by
-
- 4 edits in trunk/Source/WebKit2
[EFL][WK2] Back-forward list API needs extension
https://bugs.webkit.org/show_bug.cgi?id=94582
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-08-24
Reviewed by Kenneth Rohde Christiansen.
Added several new functions wrapping existing WK2 C back-forward list API
and returning list of items preceding or following the current one.
Corresponding API unit tests are also added.
- UIProcess/API/efl/ewk_back_forward_list.cpp:
(createEinaList):
(ewk_back_forward_list_n_back_items_copy):
(ewk_back_forward_list_n_forward_items_copy):
- UIProcess/API/efl/ewk_back_forward_list.h:
- UIProcess/API/efl/tests/test_ewk2_back_forward_list.cpp:
(freeEinaList):
(TEST_F):
- 4:27 AM Changeset in webkit [126570] by
-
- 6 edits in trunk
[Qt][WK2] Make viewport related experimental.test properties encapsulated.
https://bugs.webkit.org/show_bug.cgi?id=88320
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
Introducing a new viewport attribute to QWebKitTest to group the viewport related
attributes into one QJsonObject. Also adding a static method to convert a QSizeF to
a QJsonObject.
- UIProcess/API/qt/qwebkittest.cpp:
(qSizeFToJsonObject):
(QWebKitTest::viewport):
(QWebKitTest::devicePixelRatio):
(QWebKitTest::contentsScale):
- UIProcess/API/qt/qwebkittest_p.h:
- UIProcess/qt/QtViewportHandler.cpp:
(WebKit::QtViewportHandler::viewportAttributesChanged):
Tools:
Changed the access to the viewport attributes to use the viewport object that is introduced by this change.
- MiniBrowser/qt/qml/ViewportInfoItem.qml:
- 4:24 AM Changeset in webkit [126569] by
-
- 2 edits in trunk/Source/WebCore
[GTK] Use the new 'feature_defines' variable to generate DOM bindings
https://bugs.webkit.org/show_bug.cgi?id=94919
Patch by Xan Lopez <xlopez@igalia.com> on 2012-08-24
Reviewed by Carlos Garcia Campos.
Update to use the new 'feature_defines' variable, otherwise the
bindings will be broken.
- bindings/gobject/GNUmakefile.am: ditto.
- 3:19 AM Changeset in webkit [126568] by
-
- 1 edit1 delete in trunk/LayoutTests
Unreviewed GTK gardening.
Updating baselines for css3/flexbox/flexitem.html after r126503.
- platform/gtk/css3/flexbox: Removed.
- platform/gtk/css3/flexbox/flexitem-expected.txt: Removed.
- 3:08 AM Changeset in webkit [126567] by
-
- 3 edits in trunk/Source/WebCore
Remove RefPtr from HTMLTextAreaElement::m_placeholder
https://bugs.webkit.org/show_bug.cgi?id=94338
Reviewed by Kent Tamura.
To avoid reference cycles of RefPtr<Node>s, we want to remove
unnecessary RefPtr<Node>s. The rationale is described in bug 94324.
HTMLTextAreaElement::m_placeholder does not need to be a RefPtr<Node>,
because it is guaranteed to point to a shadow DOM tree of the
HTMLTextAreaElement node, which is guaranteed to exist in the subtree
of the HTMLTextAreaElement node.
No tests. No change in behavior.
- html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::HTMLTextAreaElement):
(WebCore::HTMLTextAreaElement::placeholderElement):
(WebCore::HTMLTextAreaElement::attach):
(WebCore::HTMLTextAreaElement::updatePlaceholderText):
- html/HTMLTextAreaElement.h:
(HTMLTextAreaElement):
- 2:40 AM Changeset in webkit [126566] by
-
- 14 edits2 deletes in trunk/Source
[V8] Refactor away IsolatedWorld
https://bugs.webkit.org/show_bug.cgi?id=93971
Patch by Dan Carney <dcarney@google.com> on 2012-08-24
Reviewed by Kentaro Hara.
Source/WebCore:
Remove IsolatedWorld class as it was 1:1 with DOMWrapperWorld.
This paves the way towards a JSC-like use of DOMWrapperWorld.
No new tests. No change in functionality.
- UseV8.cmake:
- WebCore.gypi:
- bindings/v8/DOMWrapperWorld.cpp:
(WebCore):
(WebCore::DOMWrapperWorld::createUninitializedWorld):
(WebCore::DOMWrapperWorld::createMainWorld):
(WebCore::mainThreadNormalWorld):
(WebCore::isolatedWorldMap):
(WebCore::DOMWrapperWorld::deallocate):
(WebCore::DOMWrapperWorld::getOrCreateIsolatedWorld):
- bindings/v8/DOMWrapperWorld.h:
(DOMWrapperWorld):
(WebCore::DOMWrapperWorld::isolatedWorldsExist):
(WebCore::DOMWrapperWorld::isMainWorld):
(WebCore::DOMWrapperWorld::worldId):
(WebCore::DOMWrapperWorld::extensionGroup):
(WebCore::DOMWrapperWorld::domDataStore):
(WebCore::DOMWrapperWorld::deref):
(WebCore::DOMWrapperWorld::DOMWrapperWorld):
- bindings/v8/IsolatedWorld.cpp: Removed.
- bindings/v8/IsolatedWorld.h: Removed.
- bindings/v8/ScriptController.cpp:
(WebCore::ScriptController::evaluateInIsolatedWorld):
- bindings/v8/V8DOMMap.cpp:
(WebCore::DOMDataStoreHandle::DOMDataStoreHandle):
(WebCore::DOMDataStoreHandle::~DOMDataStoreHandle):
- bindings/v8/V8DOMMap.h:
(DOMDataStoreHandle):
- bindings/v8/V8DOMWrapper.h:
(WebCore::V8DOMWrapper::getCachedWrapper):
- bindings/v8/V8IsolatedContext.cpp:
(WebCore::V8IsolatedContext::V8IsolatedContext):
(WebCore::V8IsolatedContext::destroy):
- bindings/v8/V8IsolatedContext.h:
(V8IsolatedContext):
(WebCore::V8IsolatedContext::getEntered):
(WebCore::V8IsolatedContext::world):
- bindings/v8/V8PerIsolateData.h:
(WebCore::V8PerIsolateData::registerDOMDataStore):
(WebCore::V8PerIsolateData::unregisterDOMDataStore):
Source/WebKit/chromium:
Remove IsolatedWorld class as it was 1:1 with DOMWrapperWorld.
- src/WebViewImpl.cpp:
(WebKit::WebView::addUserScript):
(WebKit::WebView::addUserStyleSheet):
- 2:36 AM Changeset in webkit [126565] by
-
- 2 edits in trunk/LayoutTests
[EFL] Added missing SKIP keyword to platform/efl/TestExpectations
https://bugs.webkit.org/show_bug.cgi?id=94781
Unreviewed. Removed unnecessary SKIP keyword.
Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-08-24
- platform/efl/TestExpectations:
- 2:27 AM Changeset in webkit [126564] by
-
- 9 edits in trunk/Source/WebCore
[V8] Improve the developer ergonomics of ScopedPersistent
https://bugs.webkit.org/show_bug.cgi?id=94901
Reviewed by Kentaro Hara.
As requested by haraken, this patch adds some helper functions to
ScopedPersistent so that we don't need to call get() all the time.
- bindings/v8/ScheduledAction.cpp:
(WebCore::ScheduledAction::execute):
- bindings/v8/ScopedPersistent.h:
(WebCore::ScopedPersistent::get):
(WebCore::ScopedPersistent::operator->):
(ScopedPersistent):
(WebCore::ScopedPersistent::isEmpty):
- bindings/v8/ScriptValue.cpp:
(WebCore::ScriptValue::getString):
(WebCore::ScriptValue::toString):
- bindings/v8/ScriptValue.h:
(WebCore::ScriptValue::isFunction):
(WebCore::ScriptValue::isNull):
(WebCore::ScriptValue::isUndefined):
(WebCore::ScriptValue::isObject):
(WebCore::ScriptValue::hasNoValue):
- bindings/v8/V8AbstractEventListener.cpp:
(WebCore::V8AbstractEventListener::~V8AbstractEventListener):
(WebCore::V8AbstractEventListener::getReceiverObject):
- bindings/v8/V8AbstractEventListener.h:
(WebCore::V8AbstractEventListener::hasExistingListenerObject):
- bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::isContextInitialized):
(WebCore::V8DOMWindowShell::disposeContextHandles):
(WebCore::V8DOMWindowShell::clearForClose):
(WebCore::V8DOMWindowShell::clearForNavigation):
(WebCore::V8DOMWindowShell::initContextIfNeeded):
(WebCore::V8DOMWindowShell::updateDocumentWrapper):
(WebCore::V8DOMWindowShell::updateDocumentWrapperCache):
(WebCore::V8DOMWindowShell::clearDocumentWrapperCache):
(WebCore::V8DOMWindowShell::setSecurityToken):
(WebCore::V8DOMWindowShell::updateDocument):
(WebCore::V8DOMWindowShell::namedItemAdded):
(WebCore::V8DOMWindowShell::namedItemRemoved):
(WebCore::V8DOMWindowShell::updateSecurityOrigin):
- bindings/v8/V8PerContextData.cpp:
(WebCore::V8PerContextData::createWrapperFromCacheSlowCase):
(WebCore::V8PerContextData::constructorForTypeSlowCase):
- 2:23 AM Changeset in webkit [126563] by
-
- 5 edits in trunk/Source/WebCore
Web Inspector: move ResourceViews to "components" module - it is used from the Resources as well.
https://bugs.webkit.org/show_bug.cgi?id=94904
Reviewed by Vsevolod Vlasov.
- WebCore.gypi:
- inspector/compile-front-end.py:
- inspector/front-end/NetworkPanel.js:
- inspector/front-end/inspector.html:
- 2:02 AM Changeset in webkit [126562] by
-
- 19 edits4 deletes in trunk
Source/WebCore: Check argument count in the dispatch function for overloaded functions
https://bugs.webkit.org/show_bug.cgi?id=94790
Patch by Xiaobo Wang <xbwang@torchmobile.com.cn> on 2012-08-24
Reviewed by Kentaro Hara.
Throw NotEnoughArguments exception for overloaded functions if actual argument
count is less than the least mandatory argument count among all overloaded.
Reset JS and V8 binding tests result for the change.
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateFunctionParametersCheck):
(GenerateOverloadedFunction):
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateFunctionParametersCheck):
(GenerateOverloadedFunctionCallback):
- bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
(WebCore::jsTestObjConstructorFunctionOverloadedMethod1):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::overloadedMethodCallback):
(WebCore::TestObjV8Internal::overloadedMethod1Callback):
LayoutTests: Remove platform specific expected files after the change
https://bugs.webkit.org/show_bug.cgi?id=94790
Patch by Xiaobo Wang <xbwang@torchmobile.com.cn> on 2012-08-24
Reviewed by Kentaro Hara.
- Use the cross-platform expected files for the 2 tests in question.
- Update other tests for overloaded functions and their expected files
affected by the change.
- fast/canvas/canvas-overloads-drawImage-expected.txt:
- fast/canvas/canvas-overloads-setFillColor-expected.txt:
- fast/canvas/canvas-overloads-setShadow-expected.txt:
- fast/canvas/canvas-overloads-setStrokeColor-expected.txt:
- fast/canvas/script-tests/canvas-overloads-drawImage.js:
- fast/canvas/script-tests/canvas-overloads-setFillColor.js:
- fast/canvas/script-tests/canvas-overloads-setShadow.js:
- fast/canvas/script-tests/canvas-overloads-setStrokeColor.js:
- fast/canvas/webgl/texImageTest-expected.txt:
- platform/chromium/fast/files/create-blob-url-crash-expected.txt: Removed.
- platform/chromium/fast/files/url-required-arguments-expected.txt: Removed.
- platform/gtk/fast/files/create-blob-url-crash-expected.txt: Removed.
- platform/gtk/fast/files/url-required-arguments-expected.txt: Removed.
- storage/indexeddb/index-get-key-argument-required-expected.txt:
- storage/indexeddb/objectStore-required-arguments-expected.txt:
- storage/indexeddb/transaction-and-objectstore-calls-expected.txt:
- storage/indexeddb/transaction-storeNames-required-expected.txt:
- 1:54 AM Changeset in webkit [126561] by
-
- 2 edits in branches/safari-536.26-branch/LayoutTests
2012-08-24 Jon Honeycutt <jhoneycutt@apple.com>
Update skipped list with changes merged from r121428. Patch by Mark
Lam. Unreviewed.
- platform/wk2/Skipped:
- 1:51 AM Changeset in webkit [126560] by
-
- 2 edits in branches/safari-536.26-branch/LayoutTests
2012-08-24 Jon Honeycutt <jhoneycutt@apple.com>
Update skipped list with changes merged from r121440. Patch by Mark
Lam. Unreviewed.
- platform/mac-wk2/Skipped:
- 1:47 AM Changeset in webkit [126559] by
-
- 1 edit8 adds in branches/safari-536.26-branch/LayoutTests
2012-08-24 Jon Honeycutt <jhoneycutt@apple.com>
Update test expectations with changes merged from r126219. Patch by
Mark Lam. Unreviewed.
- platform/mac-lion/platform: Added.
- platform/mac-lion/platform/mac-lion: Added.
- platform/mac-lion/platform/mac-lion/platform: Added.
- platform/mac-lion/platform/mac-lion/platform/mac: Added.
- platform/mac-lion/platform/mac-lion/platform/mac/fast: Added.
- platform/mac-lion/platform/mac-lion/platform/mac/fast/text: Added.
- platform/mac-lion/platform/mac-lion/platform/mac/fast/text/vertical-surrogate-pair-expected.png: Added.
- platform/mac-lion/platform/mac-lion/platform/mac/fast/text/vertical-surrogate-pair-expected.txt: Added.
- 1:44 AM Changeset in webkit [126558] by
-
- 5 edits in trunk/Source
Make it possible to build WebKit with Python 3 (and 2)
https://bugs.webkit.org/show_bug.cgi?id=94814
Source/WebCore:
Exceptions need a hack to work with both.
string.join was already deprecated in Python 2.
Relative imports are no longer supported, use package name instead.
Patch by Frederik Gladhorn <gladhorn@kde.org> on 2012-08-23
Reviewed by Ryosuke Niwa.
- inspector/CodeGeneratorInspector.py:
(EnumConstants.get_enum_constant_code):
(TypeBindings.create_type_declaration_.EnumBinding.get_code_generator.CodeGenerator.generate_type_builder):
(Generator.go):
(Generator.process_event):
(Generator.process_command):
Source/WebKit2:
Patch by Frederik Gladhorn <gladhorn@kde.org> on 2012-08-23
Reviewed by Ryosuke Niwa.
Exceptions need a hack to work with both.
string.join was already deprecated in Python 2.
Relative imports are no longer supported, use package name instead.
- Scripts/webkit2/messages.py:
- Scripts/webkit2/parser.py:
- 1:43 AM Changeset in webkit [126557] by
-
- 1 edit13 adds in branches/safari-536.26-branch/LayoutTests
2012-08-24 Jon Honeycutt <jhoneycutt@apple.com>
Update test expectations. Patch by Mark Lam. Unreviewed.
- platform/mac-wk2/http/tests/loading: Added.
- platform/mac-wk2/http/tests/loading/embed-image-load-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac-wk2/http/tests/loading/image-input-type-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac-wk2/http/tests/loading/image-load-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac-wk2/http/tests/loading/object-image-load-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac-wk2/http/tests/loading/svg-image-load-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac-wk2/http/tests/loading/video-poster-image-load-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac/http/tests/loading/embed-image-load-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac/http/tests/loading/image-input-type-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac/http/tests/loading/image-load-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac/http/tests/loading/object-image-load-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac/http/tests/loading/svg-image-load-outlives-gc-without-crashing-expected.txt: Added.
- platform/mac/http/tests/loading/video-poster-image-load-outlives-gc-without-crashing-expected.txt: Added.
- 1:40 AM Changeset in webkit [126556] by
-
- 4 edits in trunk/Source/WebCore
Get rid of m_useLatchedWheelEventNode
https://bugs.webkit.org/show_bug.cgi?id=94684
Reviewed by Ryosuke Niwa.
Moves the setting of m_useLatchedWheelEventNode into PlatformWheelEvent.
- page/EventHandler.cpp:
(WebCore::EventHandler::EventHandler):
(WebCore::EventHandler::handleWheelEvent):
(WebCore::EventHandler::defaultWheelEventHandler):
(WebCore::EventHandler::handleGestureScrollCore):
- page/EventHandler.h:
- platform/PlatformWheelEvent.h:
(WebCore::PlatformWheelEvent::PlatformWheelEvent):
(WebCore::PlatformWheelEvent::setUseLatchedEventNode):
(PlatformWheelEvent):
(WebCore::PlatformWheelEvent::hasPreciseScrollingDeltas):
(WebCore::PlatformWheelEvent::useLatchedEventNode):
- 1:39 AM Changeset in webkit [126555] by
-
- 2 edits in branches/safari-536.26-branch/LayoutTests
2012-08-24 Jon Honeycutt <jhoneycutt@apple.com>
Merge changes to test from r125162. Patch by Mark Lam.
- fast/events/dom-character-data-modified-textarea-crash.html:
- 1:39 AM Changeset in webkit [126554] by
-
- 5 edits in trunk
[Forms] Multiple fields time input UI should handle Delete key as Backspace key
https://bugs.webkit.org/show_bug.cgi?id=94902
Reviewed by Kent Tamura.
Source/WebCore:
This patch adds treating "Delete" key as same as "Backspace" key for
multiple fields time input UI. This patch affects ports which enable
both ENABLE_INPUT_TYPE_TIME and ENABLES_INPUT_TYPE_TIME_MULTIPLE_FIELDS.
No new tests. This patch adds a test case for "Delete" key to
fast/forms/time-multiple-fields/time-multiple-fields-keyboard-events.html
- html/shadow/DateTimeFieldElement.cpp:
(WebCore::DateTimeFieldElement::defaultKeyboardEventHandler): Changed
condition expression to check both Backspace(U+0008) key and
Delete(U+007F) key.
LayoutTests:
This patch adds a new test case for "Delete" key behavior for multiple
fields time input UI.
- fast/forms/time-multiple-fields/time-multiple-fields-keyboard-events-expected.txt: Updated expectation.
- fast/forms/time-multiple-fields/time-multiple-fields-keyboard-events.html: Added "Delete" key test case.
- 1:29 AM Changeset in webkit [126553] by
-
- 2 edits in trunk/LayoutTests
[Qt] Gardening after r126442. Skip a test because of missing shadow feature.
Patch by János Badics <János Badics> on 2012-08-24
Reviewed by Csaba Osztrogonác.
- platform/qt/Skipped:
- 12:57 AM Changeset in webkit [126552] by
-
- 5 edits in trunk/Source/WebCore
Unreviewed, rolling out r126546.
http://trac.webkit.org/changeset/126546
https://bugs.webkit.org/show_bug.cgi?id=94911
Caused inspector tests to timeout (Requested by dominicc on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-08-24
- WebCore.gypi:
- inspector/compile-front-end.py:
- inspector/front-end/NetworkPanel.js:
- inspector/front-end/inspector.html:
- 12:45 AM Changeset in webkit [126551] by
-
- 2 edits in trunk/Source/WebCore
[GTK] Purge unused favicons from IconDatabase after 30 days
https://bugs.webkit.org/show_bug.cgi?id=82346
Reviewed by Gustavo Noronha Silva.
Favicons will be removed from the icon database after not being used
for more than 30 days. This will keep the database size under
control.
- loader/icon/IconDatabase.cpp:
(WebCore):
(WebCore::IconDatabase::performURLImport): filter icons older than
30 days.
- 12:40 AM Changeset in webkit [126550] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed gardening.
Narrow expected failures to Linux.
- platform/chromium/TestExpectations:
- 12:38 AM Changeset in webkit [126549] by
-
- 2 edits in trunk/Source/WebKit2
<http://webkit.org/b/94910> Copy the entire webkit2 module in to the WebKit2 framework wrapper.
Reviewed by Dan Bernstein.
This will allow relative imports within the webkit2 module to be removed in the future without
requiring future changes to clients of the module.
- WebKit2.xcodeproj/project.pbxproj: Remove the webkit2 group from the project, and add it back
as a folder reference. This allows the directory and its contents to be copied in to the PrivateHeaders
directory. We also need to add a script phase to clean up any .pyc files that may be present in
the module.
Aug 23, 2012:
- 11:43 PM Changeset in webkit [126548] by
-
- 5 edits in trunk/Source
Unreviewed, rolling out r126542.
http://trac.webkit.org/changeset/126542
https://bugs.webkit.org/show_bug.cgi?id=94907
Broke WK2 build on OS X (Requested by tronical_ on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-08-23
Source/WebCore:
- inspector/CodeGeneratorInspector.py:
(EnumConstants.get_enum_constant_code):
(TypeBindings.create_type_declaration_.EnumBinding.get_code_generator.CodeGenerator.generate_type_builder):
(Generator.go):
(Generator.process_event):
(Generator.process_command):
Source/WebKit2:
- Scripts/webkit2/messages.py:
- Scripts/webkit2/parser.py:
- 11:41 PM Changeset in webkit [126547] by
-
- 3 edits in trunk/Source/WebCore
[V8] StringCache should not return already disposed strings
https://bugs.webkit.org/show_bug.cgi?id=94899
Reviewed by Adam Barth.
See this Chromium bug (http://code.google.com/p/chromium/issues/detail?id=143937)
for details.
I investigated the crash and found that v8ExternalString() can return
already disposed strings:
class StringCache {
v8::Local<v8::String> v8ExternalString(StringImpl* stringImpl, ...)
{
if (m_lastStringImpl.get() == stringImpl) {
ASSERT(!m_lastV8String.IsNearDeath());
ASSERT(!m_lastV8String.IsEmpty());
return v8::Local<v8::String>::New(m_lastV8String); m_lastV8String might be already disposed.
}
return v8ExternalStringSlow(stringImpl, ...);
}
}
I couldn't find why m_lastV8String can be prematurely disposed, but the
following fix solves the crash:
class StringCache {
v8::Local<v8::String> v8ExternalString(StringImpl* stringImpl, ...)
{
if (m_lastStringImpl.get() == stringImpl && m_lastV8String.IsWeak())
return v8::Local<v8::String>::New(m_lastV8String);
return v8ExternalStringSlow(stringImpl, ...);
}
}
Although the ideal fix might be to fix the root cause of the premature disposal,
I think that the proposed fix is reasonable for safety. In fact, we've so far
encountered crashes caused by premature disposals (e.g. r123500). The proposed fix
will prevent future crashes caused by premature disposals.
No tests. The crash depends on GC behavior and I couldn't write a test that
reproduces the crash. Open http://lore.com/testdrive/Navigating-the-Universe
and confirm that Chromium doesn't crash.
- bindings/v8/V8ValueCache.cpp:
(WebCore::StringCache::v8ExternalStringSlow):
- bindings/v8/V8ValueCache.h:
(WebCore::StringCache::v8ExternalString):
- 11:26 PM Changeset in webkit [126546] by
-
- 5 edits in trunk/Source/WebCore
Web Inspector: move ResourceViews to "components" module - it is used from the Resources as well.
https://bugs.webkit.org/show_bug.cgi?id=94904
Reviewed by Vsevolod Vlasov.
- WebCore.gypi:
- inspector/compile-front-end.py:
- inspector/front-end/NetworkPanel.js:
- inspector/front-end/inspector.html:
- 11:10 PM Changeset in webkit [126545] by
-
- 2 edits in trunk/LayoutTests
[Chromium] REGRESSION(r126534) time-multiple-fields-appearance-pseudo-elements.html failing on Win7
https://bugs.webkit.org/show_bug.cgi?id=94898
This patch changes parameters to test expectation generator to make
actual result and test expectation to be matched.
Root cause of this regression is the test expectation generator for
Chromium-Win generates second field with value "56" instead of "00".
On Chromium-Linux and Chromium-Mac, the test expectation generator
doesn't generate second field.
- fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements-expected.html: Changes parameters to have hour and minute only.
- 10:59 PM Changeset in webkit [126544] by
-
- 4 edits in trunk/Source/WebCore
[V8] V8DOMWindowShell should use ScopedPersistent
https://bugs.webkit.org/show_bug.cgi?id=94882
Reviewed by Kentaro Hara.
This patch updates V8DOMWindowShell to use ScopedPersistent rather than
manually managing v8::Persistent handles. I've also fixed some style
issues in code I needed to edit for this patch. This class could use
more touchup, but I'm going to hold off until the next patch.
- bindings/v8/ScopedPersistent.h:
(WebCore::ScopedPersistent::adopt):
(ScopedPersistent):
- bindings/v8/V8DOMWindowShell.cpp:
(WebCore::initializeV8IfNeeded):
(WebCore):
(WebCore::V8DOMWindowShell::isContextInitialized):
(WebCore::V8DOMWindowShell::disposeContextHandles):
(WebCore::V8DOMWindowShell::destroyGlobal):
(WebCore::V8DOMWindowShell::clearForClose):
(WebCore::V8DOMWindowShell::clearForNavigation):
(WebCore::V8DOMWindowShell::initContextIfNeeded):
(WebCore::V8DOMWindowShell::setContext):
(WebCore::V8DOMWindowShell::updateDocumentWrapper):
(WebCore::V8DOMWindowShell::clearDocumentWrapper):
(WebCore::V8DOMWindowShell::updateDocumentWrapperCache):
(WebCore::V8DOMWindowShell::clearDocumentWrapperCache):
(WebCore::V8DOMWindowShell::setSecurityToken):
(WebCore::V8DOMWindowShell::updateDocument):
(WebCore::getter):
(WebCore::V8DOMWindowShell::namedItemAdded):
(WebCore::V8DOMWindowShell::namedItemRemoved):
(WebCore::V8DOMWindowShell::updateSecurityOrigin):
- bindings/v8/V8DOMWindowShell.h:
(WebCore::V8DOMWindowShell::context):
(V8DOMWindowShell):
- 10:49 PM Changeset in webkit [126543] by
-
- 11 edits2 deletes in trunk
Unreviewed, rolling out r126496.
http://trac.webkit.org/changeset/126496
https://bugs.webkit.org/show_bug.cgi?id=94895
Broke TestNotificationActiveDescendantChanged (Requested by
dominicc on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-08-23
Source/WebCore:
- accessibility/AccessibilityNodeObject.cpp:
- accessibility/AccessibilityNodeObject.h:
(AccessibilityNodeObject):
- accessibility/AccessibilityObject.cpp:
- accessibility/AccessibilityObject.h:
(AccessibilityObject):
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::title):
(WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
(WebCore::AccessibilityRenderObject::isDescendantOfElementType):
- accessibility/AccessibilityRenderObject.h:
(AccessibilityRenderObject):
LayoutTests:
- accessibility/editable-webarea-context-menu-point.html:
- accessibility/focusable-div-expected.txt: Removed.
- accessibility/focusable-div.html: Removed.
- accessibility/table-detection.html:
- platform/mac/accessibility/listbox-hit-test.html:
- 10:28 PM Changeset in webkit [126542] by
-
- 5 edits in trunk/Source
Make it possible to build WebKit with Python 3 (and 2)
https://bugs.webkit.org/show_bug.cgi?id=94814
Source/WebCore:
Exceptions need a hack to work with both.
string.join was already deprecated in Python 2.
Relative imports are no longer supported, use package name instead.
Patch by Frederik Gladhorn <gladhorn@kde.org> on 2012-08-23
Reviewed by Ryosuke Niwa.
- inspector/CodeGeneratorInspector.py:
(EnumConstants.get_enum_constant_code):
(TypeBindings.create_type_declaration_.EnumBinding.get_code_generator.CodeGenerator.generate_type_builder):
(Generator.go):
(Generator.process_event):
(Generator.process_command):
Source/WebKit2:
Patch by Frederik Gladhorn <gladhorn@kde.org> on 2012-08-23
Reviewed by Ryosuke Niwa.
Exceptions need a hack to work with both.
string.join was already deprecated in Python 2.
Relative imports are no longer supported, use package name instead.
- Scripts/webkit2/messages.py:
- Scripts/webkit2/parser.py:
- 10:28 PM Changeset in webkit [126541] by
-
- 2 edits20 deletes in trunk/LayoutTests
[EFL] Skip the tests which have wrong pixel expectations in fast/forms/
https://bugs.webkit.org/show_bug.cgi?id=94798
Unreviewed. Some tests in fast/forms seem to fail. Removed wrong expectations
and marked the tests MISSING.
fast/forms/listbox-hit-test-zoomed.html
Test 2 in this test seems to fail.
fast/forms/menulist-restrict-line-height.html
The text in the popup button is clipped.
fast/forms/search-cancel-button-style-sharing.html
fast/forms/search-rtl.html
Cancel mark in search field is not displayed.
fast/forms/menulist-narrow-width.html
fast/forms/select-baseline.html
fast/forms/menulist-style-color.html
fast/forms/select-style.html
These tests seem to have style error.
fast/forms/textarea-scroll-height.html
fast/forms/textarea-scrolled-type.html
Scroll bar isn't being fully rendered.
Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-08-23
- platform/efl/TestExpectations:
- platform/efl/fast/forms/listbox-hit-test-zoomed-expected.png: Removed.
- platform/efl/fast/forms/listbox-hit-test-zoomed-expected.txt: Removed.
- platform/efl/fast/forms/menulist-narrow-width-expected.png: Removed.
- platform/efl/fast/forms/menulist-narrow-width-expected.txt: Removed.
- platform/efl/fast/forms/menulist-restrict-line-height-expected.png: Removed.
- platform/efl/fast/forms/menulist-restrict-line-height-expected.txt: Removed.
- platform/efl/fast/forms/menulist-style-color-expected.png: Removed.
- platform/efl/fast/forms/menulist-style-color-expected.txt: Removed.
- platform/efl/fast/forms/search-cancel-button-style-sharing-expected.png: Removed.
- platform/efl/fast/forms/search-cancel-button-style-sharing-expected.txt: Removed.
- platform/efl/fast/forms/search-rtl-expected.png: Removed.
- platform/efl/fast/forms/search-rtl-expected.txt: Removed.
- platform/efl/fast/forms/select-baseline-expected.png: Removed.
- platform/efl/fast/forms/select-baseline-expected.txt: Removed.
- platform/efl/fast/forms/select-style-expected.png: Removed.
- platform/efl/fast/forms/select-style-expected.txt: Removed.
- platform/efl/fast/forms/textarea-scroll-height-expected.png: Removed.
- platform/efl/fast/forms/textarea-scroll-height-expected.txt: Removed.
- platform/efl/fast/forms/textarea-scrolled-type-expected.png: Removed.
- platform/efl/fast/forms/textarea-scrolled-type-expected.txt: Removed.
- 10:00 PM Changeset in webkit [126540] by
-
- 5 edits in trunk/Source
[chromium] Fix lost context when textures are evicted
https://bugs.webkit.org/show_bug.cgi?id=94892
Reviewed by James Robinson.
After eviction, the CCPrioritizedTextureManager is in a limbo state
where all its resources are invalid. If we try to release them we will
double-destroy them.
New test: CCLayerTreeHostTestLostContextAfterEvictTextures.
Source/WebCore:
- platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::recreateContextOnImplThread):
Source/WebKit/chromium:
- tests/CCLayerTreeHostTest.cpp:
(CCLayerTreeHostTestLostContextAfterEvictTextures):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::CCLayerTreeHostTestLostContextAfterEvictTextures):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::beginTest):
(EvictTexturesAndLoseContextTask):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::EvictTexturesAndLoseContextTask::EvictTexturesAndLoseContextTask):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::EvictTexturesAndLoseContextTask::~EvictTexturesAndLoseContextTask):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::EvictTexturesAndLoseContextTask::run):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::postEvictTexturesAndLoseContext):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::didCommitAndDrawFrame):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::commitCompleteOnCCThread):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::didRecreateOutputSurface):
(WTF::CCLayerTreeHostTestLostContextAfterEvictTextures::afterTest):
(WTF):
(WTF::TEST_F):
- 9:55 PM Changeset in webkit [126539] by
-
- 5 edits in trunk
REGRESSION(r126132): thumb doesn't match click position for rtl input type=range
https://bugs.webkit.org/show_bug.cgi?id=94890
Reviewed by Kent Tamura.
Source/WebCore:
r126132 broke rtl input type=range so the thumb doesn't match click position.
Added new tests to range-hit-test-with-padding.html.
- html/shadow/SliderThumbElement.cpp:
(WebCore::SliderThumbElement::setPositionFromPoint):
LayoutTests:
- fast/forms/range/range-hit-test-with-padding-expected.txt:
- fast/forms/range/range-hit-test-with-padding.html:
- 9:50 PM Changeset in webkit [126538] by
-
- 3 edits in trunk/LayoutTests
[Chromium] Unreviewed gardening.
Rebaseline meter element tests on Mac. These grew a DIV in
r125659.
https://bugs.webkit.org/show_bug.cgi?id=94666
- platform/chromium-mac/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt:
- platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
- 9:46 PM Changeset in webkit [126537] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] Add OVERRIDEs in test code
https://bugs.webkit.org/show_bug.cgi?id=94894
Reviewed by James Robinson.
- tests/CCLayerTreeHostTest.cpp:
- 9:38 PM Changeset in webkit [126536] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed gardening.
Revert a few test expectations tightened in r126529 to green
builders.
These differ by whether zero width blocks appear in the dumped
render tree.
- platform/chromium/TestExpectations:
- 9:31 PM Changeset in webkit [126535] by
-
- 5 edits in trunk/Source/WebCore
Add OVERRIDE and deinline virtual getters on *PlatformGestureCurve
https://bugs.webkit.org/show_bug.cgi?id=94887
Patch by James Robinson <jamesr@chromium.org> on 2012-08-23
Reviewed by Dirk Pranke.
This makes clang happy. Clang makes me happy. By induction, this makes me happy.
- platform/TouchpadFlingPlatformGestureCurve.cpp:
(WebCore::TouchpadFlingPlatformGestureCurve::debugName):
(WebCore):
- platform/TouchpadFlingPlatformGestureCurve.h:
(TouchpadFlingPlatformGestureCurve):
- platform/WheelFlingPlatformGestureCurve.cpp:
(WebCore::WheelFlingPlatformGestureCurve::debugName):
(WebCore):
- platform/WheelFlingPlatformGestureCurve.h:
(WheelFlingPlatformGestureCurve):
- 9:23 PM Changeset in webkit [126534] by
-
- 15 edits2 adds in trunk
[Forms] Step mismatched value should be editable in multiple field time UI.
https://bugs.webkit.org/show_bug.cgi?id=94664
Reviewed by Kent Tamura.
Source/WebCore:
This patch changes layout method of multiple field time input UI to
check value of the "input" element in addition to step and range to
allow users to change step mismatched value from UI.
Tests: fast/forms/time-multiple-fields/time-multiple-fields-change-layout-by-value.html: for changing layout by value change.
This patch also adds new test case into fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic.html.
- html/TimeInputType.cpp:
(WebCore::TimeInputType::createShadowSubtree): Changed for DateTimeEditElement::create signature change.
(WebCore::TimeInputType::minOrMaxAttributeChanged): Changed to call updateInnerTextValue instead of removed updateEditElementLayout()
(WebCore::TimeInputType::stepAttributeChanged): ditto.
(WebCore::TimeInputType::updateInnerTextValue): Changed for DateTimeEditElement::setValueAsDate() and setEmptyValue() signature change.
- html/TimeInputType.h:
(TimeInputType): Removed updateEditElementLayout() declaration.
- html/shadow/DateTimeEditElement.cpp:
(DateTimeEditBuilder):
(WebCore::DateTimeEditBuilder::DateTimeEditBuilder): Added a new parameter date value to constructor to use it for layout decision.
(WebCore::DateTimeEditBuilder::needMillisecondField): Changed to check date value too.
(WebCore::DateTimeEditBuilder::needMinuteField): ditto
(WebCore::DateTimeEditBuilder::needSecondField): ditto
(WebCore::DateTimeEditBuilder::shouldMillisecondFieldReadOnly): ditto
(WebCore::DateTimeEditBuilder::shouldMinuteFieldReadOnly): ditto
(WebCore::DateTimeEditBuilder::shouldSecondFieldReadOnly): ditto
(WebCore::DateTimeEditElement::create): Changed for removing stepRange parameter.
(WebCore::DateTimeEditElement::layout): Changed to keep focus field for new layout.
(WebCore::DateTimeEditElement::setValueAsDate): Changed to call layout() with StepRange and date value.
(WebCore::DateTimeEditElement::setEmptyValue): ditto
- html/shadow/DateTimeEditElement.h:
(DateTimeEditElement):
LayoutTests:
This patch adds new test case for step mismatched value case and
updates test cases to avoid step mismatched value, and a test file
for dynamic layout change casued by input element's value change.
Note: We need to do rebaseline for Chromium-Mac and Chromium-Win.
- fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.html: Updated for new test case and behavior change.
- fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic.html: ditto
- fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly.html: Updated for behavior change.
- fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements.html: ditto
- fast/forms/time-multiple-fields/time-multiple-fields-appearance-style.html: ditto
- fast/forms/time-multiple-fields/time-multiple-fields-change-layout-by-value-expected.txt: Added.
- fast/forms/time-multiple-fields/time-multiple-fields-change-layout-by-value.html: Added for dynamic layout change from value change.
- platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png: ditto
- platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.txt: ditto
- platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png: ditto
- platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.txt: ditto
- 9:03 PM Changeset in webkit [126533] by
-
- 3 edits in trunk/Tools
leak detection broken after r126247 on mac
https://bugs.webkit.org/show_bug.cgi?id=94893
Unreviewed, build fix.
Adds is_snowleopard(), is_lion back() in for the mac port. We'll
probably need an is_mountainlion() or equivalent at some point,
I'm guessing (but I've deleted the leopard code).
- Scripts/webkitpy/layout_tests/port/leakdetector.py:
(LeakDetector._callstacks_to_exclude_from_leaks):
- Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort):
(MacPort.is_snowleopard):
(MacPort.is_lion):
- 8:40 PM Changeset in webkit [126532] by
-
- 4 edits in trunk/Source
Versioning.
- 8:37 PM Changeset in webkit [126531] by
-
- 1 copy in tags/Safari-537.7
New tag.
- 8:03 PM Changeset in webkit [126530] by
-
- 4 edits in trunk
[Chromium] Enable AtomicString && CString && WTFString && StringImpl unit tests
https://bugs.webkit.org/show_bug.cgi?id=94871
Reviewed by Benjamin Poulain.
Source/WTF:
- wtf/PassRefPtr.h:
We need to include Assertions.h due to the COMPILE_ASSERT added in r89283.
This matches other files in WTF though I am not sure why Chromium is the only
platform complaining about that.
Tools:
- TestWebKitAPI/TestWebKitAPI.gypi:
Added the missing files to Chromium's build system.
- 8:01 PM Changeset in webkit [126529] by
-
- 2 edits in trunk/LayoutTests
[Chromium] LayoutTests: css3/selector3/xml tests are flaky / have wrong expectations on Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=82122
Unreviewed Chromium gardening. Tightened majority of test
expectations to only expect failures on debug bots.
- platform/chromium/TestExpectations:
- 7:59 PM Changeset in webkit [126528] by
-
- 2 edits in trunk/Tools
[watchlist] Unreviewed, subscribe to WebKit2-EFL bugs.
- Scripts/webkitpy/common/config/watchlist:
- 7:45 PM Changeset in webkit [126527] by
-
- 3 edits in trunk/Source/WebKit/efl
[EFL] Remove ewk_tile_matrix_tile_update.
https://bugs.webkit.org/show_bug.cgi?id=63437
Reviewed by Gyuyoung Kim.
- ewk/ewk_tiled_matrix.cpp:
Removed ewk_tile_matrix_tile_update and ewk_tile_matrix_tile_update_full
which are dead code.
- ewk/ewk_tiled_matrix_private.h: Ditto.
- 7:28 PM Changeset in webkit [126526] by
-
- 4 edits5 deletes in trunk/Source/JavaScriptCore
Unreviewed, rolling out r126505.
http://trac.webkit.org/changeset/126505
https://bugs.webkit.org/show_bug.cgi?id=94840
Caused testapi to crash on launch
- DerivedSources.make:
- JavaScriptCore.xcodeproj/project.pbxproj:
- bytecode/Opcode.h:
(JSC):
(JSC::padOpcodeName):
- bytecode/OpcodeDefinitions.h: Removed.
- bytecode/opcodes: Removed.
- opcode_definition_generator.py: Removed.
- opcode_generator.py: Removed.
- opcode_parser.py: Removed.
- 6:53 PM Changeset in webkit [126525] by
-
- 9 edits in trunk/LayoutTests
Needs update tests of Shadow DOM for keygen
https://bugs.webkit.org/show_bug.cgi?id=94765
Reviewed by Dimitri Glazkov.
Now that the HTMLKeygenElement was AuthroShadowDOM-ready, it's time to update the previous
failing tests for AuthroShadowDOM for keygen elements.
I've updated the failing tests to follow the current implementation and updated the test expectations.
- fast/dom/shadow/shadowdom-for-keygen-complex-shadow-expected.html:
- fast/dom/shadow/shadowdom-for-keygen-complex-shadow.html:
- fast/dom/shadow/shadowdom-for-keygen-only-shadow-expected.html:
- fast/dom/shadow/shadowdom-for-keygen-only-shadow.html:
- fast/dom/shadow/shadowdom-for-keygen-without-shadow-expected.html:
- fast/dom/shadow/shadowdom-for-keygen-without-shadow.html:
- platform/chromium/TestExpectations:
- platform/efl/TestExpectations:
- 6:25 PM Changeset in webkit [126524] by
-
- 4 edits in trunk/Source/WebCore
Use immutable StylePropertySets for element inline style declarations.
<http://webkit.org/b/94714>
Reviewed by Antti Koivisto.
Construct the inline styles as immutable StylePropertySets initially (until they are
modified through CSSOM APIs), reducing their memory footprint and enabling us to do
sharing optimizations in the future.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseInlineStyleDeclaration):
(WebCore::CSSParser::parseDeclaration):
- css/CSSParser.h:
- dom/ElementAttributeData.cpp:
(WebCore::ElementAttributeData::updateInlineStyleAvoidingMutation):
- 6:19 PM Changeset in webkit [126523] by
-
- 3 edits1 add in trunk/LayoutTests
Update Skipped list and TestExpectations in preparation for making
Mountain Lion the default Mac builder.
Rubber-stamped by Jessie Berlin.
- platform/mac-lion/TestExpectations: Added.
Moved/added test expectations from platform/mac/TestExpectations to
here.
- platform/mac/Skipped:
Added some known failures from internal testers.
- platform/mac/TestExpectations:
Ditto.
- 6:08 PM Changeset in webkit [126522] by
-
- 4 edits in trunk/Source
Versioning.
- 6:02 PM Changeset in webkit [126521] by
-
- 3 edits in trunk/Source/WebCore
[V8] V8AbstractEventListener re-implements ScopedPersistent by hand
https://bugs.webkit.org/show_bug.cgi?id=94873
Reviewed by Eric Seidel.
Rather than calling New/Dispose manually, this patch changes
V8AbstractEventListener to use ScopedPersistent.
- bindings/v8/V8AbstractEventListener.cpp:
(WebCore::V8AbstractEventListener::weakEventListenerCallback):
(WebCore::V8AbstractEventListener::~V8AbstractEventListener):
(WebCore::V8AbstractEventListener::setListenerObject):
(WebCore::V8AbstractEventListener::getReceiverObject):
- bindings/v8/V8AbstractEventListener.h:
(WebCore::V8AbstractEventListener::getListenerObject):
(WebCore::V8AbstractEventListener::getExistingListenerObject):
(WebCore::V8AbstractEventListener::existingListenerObjectPersistentHandle):
(WebCore::V8AbstractEventListener::hasExistingListenerObject):
(V8AbstractEventListener):
- 5:52 PM Changeset in webkit [126520] by
-
- 18 edits in trunk/Source/WebCore
Prep work for: Implement sticky positioning
https://bugs.webkit.org/show_bug.cgi?id=90046
Reviewed by Dave Hyatt.
Do some method renaming in preparation for adding a new kind
of in-flow positioning: sticky positioning.
Rename RenderStyle::isOutOfFlowPositioned() to hasOutOfFlowPosition().
Add RenderStyle::hasInFlowPosition().
Use RenderObject::isInFlowPositioned() in places where it will apply
for both relative and sticky positioning.
Add RenderBoxModelObject::offsetForInFlowPosition(), which currently
applies just to relative positioning, but will also apply to sticky.
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::getPositionOffsetValue):
- css/StyleResolver.cpp:
(WebCore::StyleResolver::collectMatchingRulesForList):
- editing/TextIterator.cpp:
(WebCore::ignoresContainerClip):
- rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState):
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::styleWillChange):
(WebCore::RenderBlock::isSelectionRoot):
(WebCore::RenderBlock::blockSelectionGaps):
(WebCore::positionForPointRespectingEditingBoundaries):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::styleWillChange):
(WebCore::RenderBox::updateBoxModelInfoFromStyle):
(WebCore::RenderBox::mapLocalToContainer):
(WebCore::RenderBox::offsetFromContainer):
(WebCore::RenderBox::computeRectForRepaint):
(WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
(WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
(WebCore::RenderBox::layoutOverflowRectForPropagation):
- rendering/RenderBox.h:
- rendering/RenderBoxModelObject.cpp:
(WebCore::accumulateInFlowPositionOffsets):
(WebCore::RenderBoxModelObject::relativePositionOffset):
(WebCore::RenderBoxModelObject::offsetForInFlowPosition):
(WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
- rendering/RenderBoxModelObject.h:
(RenderBoxModelObject):
(WebCore::RenderBoxModelObject::stickyPositionLogicalOffset):
(WebCore::RenderBoxModelObject::requiresLayer):
- rendering/RenderInline.cpp:
(WebCore::inFlowPositionedInlineAncestor): We need to actually return
the ancestor, since we will need to copy its position type once there
is more than one kind of in-flow position.
(WebCore::updateStyleOfAnonymousBlockContinuations):
(WebCore::RenderInline::styleDidChange):
(WebCore::RenderInline::addChildIgnoringContinuation):
(WebCore::RenderInline::clippedOverflowRectForRepaint):
(WebCore::RenderInline::computeRectForRepaint):
(WebCore::RenderInline::offsetFromContainer):
(WebCore::RenderInline::mapLocalToContainer):
(WebCore::RenderInline::offsetForInFlowPositionedInline):
- rendering/RenderInline.h:
(WebCore::RenderInline::requiresLayer):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateLayerPosition):
(WebCore::isPositionedContainer):
(WebCore::RenderLayer::calculateClipRects):
(WebCore::RenderLayer::shouldBeNormalFlowOnly):
- rendering/RenderLayer.h:
(WebCore::RenderLayer::offsetForInFlowPosition):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::markContainingBlocksForLayout):
(WebCore::RenderObject::setPreferredLogicalWidthsDirty):
(WebCore::RenderObject::invalidateContainerPreferredLogicalWidths):
(WebCore::RenderObject::containingBlock):
- rendering/RenderObject.h:
(WebCore::RenderObject::isRelPositioned):
- rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::updateBeforeAfterContent):
- rendering/style/RenderStyle.h:
- 5:52 PM Changeset in webkit [126519] by
-
- 2 edits in trunk/Source/WebCore
EFL build fix attempt after r126494. Try touching the IDL file.
- Modules/battery/BatteryManager.idl:
- 5:50 PM Changeset in webkit [126518] by
-
- 2 edits in trunk/LayoutTests
Remove FIXMEs from css3/flexbox/flexitem.html
https://bugs.webkit.org/show_bug.cgi?id=94872
Patch by Shezan Baig <shezbaig.wk@gmail.com> on 2012-08-23
Reviewed by Ojan Vafai.
Remove FIXMEs that were fixed in bug 94604.
- css3/flexbox/flexitem.html:
- 5:42 PM Changeset in webkit [126517] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed attempt to fix build failure in Debug.
- bindings/v8/ScriptValue.h:
- 5:41 PM Changeset in webkit [126516] by
-
- 17 edits in trunk/Source
IndexedDB: Expose mechanism for database to force a connection to close
https://bugs.webkit.org/show_bug.cgi?id=91010
Reviewed by Tony Chang.
Source/WebCore:
In response to user action (e.g. "delete my browsing data") a connection may
need to be forcibly terminated. This allows an event to be sent to a connection
from the back end via IDBDatabaseCallbacks to initiate closing the connection.
Test: [chromium] webkit_unit_test --gtest_filter='IDBDatabaseBackendTest.ForcedClose'
- Modules/indexeddb/IDBDatabase.cpp:
(WebCore::IDBDatabase::forceClose): Abort all transactions and close.
(WebCore):
- Modules/indexeddb/IDBDatabase.h:
(IDBDatabase): Entry point.
- Modules/indexeddb/IDBDatabaseCallbacks.h:
(IDBDatabaseCallbacks): Event plumbing from back end.
- Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp:
(WebCore::IDBDatabaseCallbacksImpl::onForcedClose): Ditto.
(WebCore):
- Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
(IDBDatabaseCallbacksImpl): Ditto.
- inspector/InspectorIndexedDBAgent.cpp:
(WebCore): Method stub.
Source/WebKit/chromium:
In Chromium, the browsing data deleter has a WebIDBDatabase handle which
it can use to terminate a connection. This handles forcefully closing
the front end connections and the back end, to unblock disk cleanup.
- public/WebIDBDatabase.h:
(WebKit::WebIDBDatabase::forceClose): Entry point.
- public/WebIDBDatabaseCallbacks.h:
(WebKit::WebIDBDatabaseCallbacks::onForcedClose): Plumbing back to front.
- src/IDBDatabaseCallbacksProxy.cpp:
(WebKit::IDBDatabaseCallbacksProxy::onForcedClose): Plumbing back to front.
(WebKit):
- src/IDBDatabaseCallbacksProxy.h:
(IDBDatabaseCallbacksProxy): Plumbing.
- src/WebIDBDatabaseCallbacksImpl.cpp:
(WebKit::WebIDBDatabaseCallbacksImpl::onForcedClose): Plumbing back to front.
(WebKit):
- src/WebIDBDatabaseCallbacksImpl.h:
(WebIDBDatabaseCallbacksImpl): Plumbing back to front.
- src/WebIDBDatabaseImpl.cpp:
(WebKit::WebIDBDatabaseImpl::close): Tidy up dropping the callback reference.
(WebKit):
(WebKit::WebIDBDatabaseImpl::forceClose): Terminate the connection by notifying
the back end and the front end, while avoid re-entrant badness.
- src/WebIDBDatabaseImpl.h: Header tweak for unit test.
(WebIDBDatabaseImpl):
- tests/IDBDatabaseBackendTest.cpp: Added unit test to exercise connections.
- 5:40 PM Changeset in webkit [126515] by
-
- 2 edits in trunk/Source/WTF
Build fix for old, old versions of Clang.
- wtf/FastMalloc.cpp:
(WTF): Rejigger things so that they parse correctly if has_warning isn't defined.
- 5:39 PM Changeset in webkit [126514] by
-
- 6 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Obsolete the in-region scroll codepath prior to BB10's
https://bugs.webkit.org/show_bug.cgi?id=94839
PR #197775
Reviewed by George Staikos.
Patch by Antonio Gomes <agomes@rim.com>
This codepath is not needed anymore, so lets let it RIP.
The only code addition is due to some code I've moved from WebPagePrivate::scrollNodeRecursively
and WebPagePrivate::scrollBy to InRegionScrollerPrivate::setLayerScrollPosition.
Rest is code removal ...
- Api/InRegionScroller.cpp:
(BlackBerry::WebKit::InRegionScrollerPrivate::setLayerScrollPosition):
- Api/InRegionScroller_p.h:
(InRegionScrollerPrivate):
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::scrollBy):
(BlackBerry::WebKit::WebPage::scrollBy):
- Api/WebPage.h:
- Api/WebPage_p.h:
(WebPagePrivate):
- 5:36 PM Changeset in webkit [126513] by
-
- 16 edits2 copies2 moves in trunk/Source
[chromium] Convert WebAnimationCurve subtypes into pure virtual
https://bugs.webkit.org/show_bug.cgi?id=94068
Reviewed by Adrienne Walker.
Source/Platform:
This makes the Web*AnimationCurve interfaces pure virtual to provide better insulation from the implementation
details of the classes.
- chromium/public/WebAnimation.h:
(WebKit::WebAnimation::WebAnimation):
(WebAnimation):
- chromium/public/WebAnimationCurve.h:
- chromium/public/WebFloatAnimationCurve.h:
(WebFloatAnimationCurve):
(WebKit::WebFloatAnimationCurve::~WebFloatAnimationCurve):
- chromium/public/WebTransformAnimationCurve.h:
(WebTransformAnimationCurve):
(WebKit::WebTransformAnimationCurve::~WebTransformAnimationCurve):
Source/WebCore:
Updates users of the Web*AnimationCurve interface for its new pointery goodness.
- platform/graphics/chromium/AnimationTranslationUtil.cpp:
(WebCore::appendKeyframeWithStandardTimingFunction):
(WebCore::appendKeyframeWithCustomBezierTimingFunction):
(WebCore::WebTransformAnimationCurve):
(WebCore::createWebAnimation):
Source/WebKit/chromium:
Updates the implementations, some callers and tests of Web*AnimationCurve to its new interface.
- WebKit.gyp:
- src/WebAnimation.cpp:
(WebKit::WebAnimation::initialize):
- src/WebFloatAnimationCurveImpl.cpp: Renamed from Source/WebKit/chromium/src/WebFloatAnimationCurve.cpp.
(WebKit):
(WebKit::WebFloatAnimationCurve::create):
(WebKit::WebFloatAnimationCurveImpl::WebFloatAnimationCurveImpl):
(WebKit::WebFloatAnimationCurveImpl::~WebFloatAnimationCurveImpl):
(WebKit::WebFloatAnimationCurveImpl::type):
(WebKit::WebFloatAnimationCurveImpl::add):
(WebKit::WebFloatAnimationCurveImpl::getValue):
(WebKit::WebFloatAnimationCurveImpl::cloneToCCAnimationCurve):
- src/WebTransformAnimationCurve.cpp: Removed.
- tests/WebAnimationTest.cpp:
(WebKit::TEST):
- tests/WebFloatAnimationCurveTest.cpp:
(WebKit::TEST):
- tests/WebTransformAnimationCurveTest.cpp:
(WebKit::TEST):
- 5:31 PM Changeset in webkit [126512] by
-
- 3 edits in trunk/Tools
Replay tests take forever to load
https://bugs.webkit.org/show_bug.cgi?id=94764
Reviewed by Adam Barth.
Don't load about:blank at the beginning. This appears to clog the DRT.
- Scripts/webkitpy/performance_tests/perftest.py:
(ReplayPerfTest.run_single):
- Scripts/webkitpy/performance_tests/perftest_unittest.py:
(TestReplayPerfTest.test_run_single):
(TestReplayPerfTest.test_run_single_fails_when_output_has_error):
- 5:22 PM Changeset in webkit [126511] by
-
- 2 edits in trunk/Source/WTF
Roll back in the part of r126475 that I had rolled out.
- wtf/FastMalloc.cpp:
(WTF): Disable the -Wunused-private-field warning around the declaration of
TCMalloc_Central_FreeListPadded since the padding is intentionally unused.
Only disable the warning if we detect it is enabled, since the warning may not
be supported by the version of Clang that is being used.
- 5:17 PM Changeset in webkit [126510] by
-
- 2 edits in trunk/Tools
Unreviewed, rolling out r126497.
http://trac.webkit.org/changeset/126497
https://bugs.webkit.org/show_bug.cgi?id=94764
Caused webkitpy-test step to start failing.
- Scripts/webkitpy/performance_tests/perftest.py:
(ReplayPerfTest.run_single):
- 5:14 PM Changeset in webkit [126509] by
-
- 16 edits2 adds in trunk
Add saturation arithmetic support to FractionalLayoutUnit
https://bugs.webkit.org/show_bug.cgi?id=94364
Reviewed by Benjamin Poulain.
Source/WebCore:
Add experimental saturation arithmetic support to FractionalLayoutUnit,
guarded by a flag.
The idea here is to saturate (or clamp) rather than overflow when
computing positions and sizes.
No new tests for WebCore, not enabled by default.
- platform/FractionalLayoutUnit.h:
(WebCore::FractionalLayoutUnit::intMinForLayoutUnit):
Use INT_MIN instead of -INT_MAX to compute minimum value as the two are
not the same.
(WebCore::FractionalLayoutUnit::FractionalLayoutUnit):
(WebCore::FractionalLayoutUnit::fromFloatCeil):
(WebCore::FractionalLayoutUnit::fromFloatFloor):
(WebCore::FractionalLayoutUnit::fromFloatRound):
(WebCore::FractionalLayoutUnit::setValue):
Add range checks.
(WebCore::operator*):
(WebCore::operator+):
(WebCore::operator-):
(WebCore::operator+=):
(WebCore::operator-=):
Use the saturatedAddition and saturatedSubtraction functions, which have
been optimized to reduce branching, instead of range checks for the most
common operators.
Source/WTF:
Add support functions for saturated addition and subtraction.
Test: TestWebKitAPI/Tests/WTF/SaturatedArithmeticOperations.cpp
- GNUmakefile.list.am:
- WTF.gypi:
- WTF.pro:
- WTF.vcproj/WTF.vcproj:
- WTF.xcodeproj/project.pbxproj:
- WTF/wtf/CMakeLists.txt:
Add SaturatedArithmetic.h to build files.
- wtf/SaturatedArithmetic.h: Added.
(saturatedAddition):
(saturatedSubtraction):
Support functions for saturated addition/subtraction. Compares the signed
bit of the values instead of using range checks to reduce branching.
- wtf/Platform.h:
Add ENABLE_SATURATED_LAYOUT_ARITHMETIC flag.
Tools:
Add test for new saturatedArithmetic functions.
- TestWebKitAPI/CMakeLists.txt:
- TestWebKitAPI/GNUmakefile.am:
- TestWebKitAPI/TestWebKitAPI.gypi:
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/WTF/SaturatedArithmeticOperations.cpp: Added.
(TestWebKitAPI):
(TestWebKitAPI::TEST):
- TestWebKitAPI/win/TestWebKitAPI.vcproj:
- 5:11 PM Changeset in webkit [126508] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed. Just added comments I forgot to add in r126506.
- bindings/v8/ScriptController.h:
(WebCore):
(ScriptController):
- 5:09 PM Changeset in webkit [126507] by
-
- 3 edits in trunk/Source/WebCore
Unreviewed, rolling out r126483.
http://trac.webkit.org/changeset/126483
https://bugs.webkit.org/show_bug.cgi?id=92272
Caused two Chromium browser_tests to time out 100% reliably.
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::init):
(WebCore::FrameLoader::prepareForLoadStart):
(WebCore::FrameLoader::clearProvisionalLoad):
(WebCore::FrameLoader::checkLoadCompleteForThisFrame):
(WebCore::FrameLoader::detachFromParent):
- loader/FrameLoader.h:
(FrameLoader):
- 4:59 PM Changeset in webkit [126506] by
-
- 33 edits2 deletes in trunk/Source
[V8] Remove V8Proxy.{h,cpp}
https://bugs.webkit.org/show_bug.cgi?id=94794
Reviewed by Dimitri Glazkov.
Now V8Proxy is no longer used. We can completely remove V8Proxy from the codebase.
No tests. No change in behavior.
Source/WebCore:
- UseV8.cmake:
- WebCore.gypi:
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateImplementation):
(GenerateCallbackImplementation):
- bindings/scripts/test/V8/V8Float64Array.cpp:
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
- bindings/scripts/test/V8/V8TestCallback.cpp:
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
- bindings/scripts/test/V8/V8TestException.cpp:
- bindings/scripts/test/V8/V8TestInterface.cpp:
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
- bindings/scripts/test/V8/V8TestNode.cpp:
- bindings/scripts/test/V8/V8TestObj.cpp:
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
- bindings/v8/ScriptController.cpp:
(WebCore::ScriptController::ScriptController):
(WebCore::ScriptController::~ScriptController):
(WebCore::ScriptController::callFunction):
(WebCore::ScriptController::clearWindowShell):
- bindings/v8/ScriptController.h:
(WebCore):
(ScriptController):
- bindings/v8/V8AbstractEventListener.h:
(WebCore):
- bindings/v8/V8Binding.cpp:
- bindings/v8/V8DOMWindowShell.cpp:
(WebCore::reportFatalErrorInV8):
- bindings/v8/V8DOMWrapper.h:
(WebCore):
- bindings/v8/V8ObjectConstructor.cpp:
(WebCore::V8ObjectConstructor::newInstanceInDocument):
- bindings/v8/V8Proxy.cpp: Removed.
- bindings/v8/V8Proxy.h: Removed.
- bindings/v8/V8RecursionScope.h:
(WebCore):
- bindings/v8/V8Utilities.cpp:
- bindings/v8/custom/V8CustomXPathNSResolver.h:
Source/WebKit/chromium:
- src/ChromeClientImpl.cpp:
- src/WebBindings.cpp:
- src/WebDOMMessageEvent.cpp:
- src/WebDevToolsAgentImpl.cpp:
- src/WebMediaPlayerClientImpl.cpp:
- 4:49 PM Changeset in webkit [126505] by
-
- 4 edits5 adds in trunk/Source/JavaScriptCore
Autogenerate Opcode definitions
https://bugs.webkit.org/show_bug.cgi?id=94840
Reviewed by Gavin Barraclough.
Start the process of autogenerating the code emission for the bytecode.
We'll just start with automatic generation of the list of Opcodes as that
requires the actual definition of the opcodes, and the logic for parsing
them.
Due to some rather annoying dependency cycles, this initial version has
the OpcodeDefinitions.h file checked into the tree, although with some
work I hope to be able to fix that.
- DerivedSources.make:
- JavaScriptCore.xcodeproj/project.pbxproj:
- bytecode/Opcode.h: Include OpcodeDefinitions.h as our definitive source of info about the opcodes.
- bytecode/OpcodeDefinitions.h: Added. Autogenerated file
- bytecode/opcodes: Added. The new opcode definition file
- opcode_definition_generator.py: Added.
(generateOpcodeDefinition):
(generate):
Module that generates the content for OpcodeDefinitions.h
- opcode_generator.py: Added.
(printUsage):
(main):
Driver script
- opcode_parser.py: Added. Simple parser for the opcode definitions.
- 4:48 PM Changeset in webkit [126504] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] Add a check to filter out cookies that tries to set the domain to a top level domain
https://bugs.webkit.org/show_bug.cgi?id=94722
Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-08-23
Reviewed by Rob Buis.
Changing the topleveldomain method name for better readability.
Also renaming the TopLevelDomain.h in platform to DomainTools
because there exists other tests that should belong in the same file.
Only changing method names and include file names.
- platform/blackberry/CookieParser.cpp:
(WebCore::CookieParser::parseOneCookie):
- 4:41 PM Changeset in webkit [126503] by
-
- 7 edits in trunk
Fix cross-direction stretch for replaced elements in column flexbox
https://bugs.webkit.org/show_bug.cgi?id=94604
Patch by Shezan Baig <shezbaig.wk@gmail.com> on 2012-08-23
Reviewed by Ojan Vafai.
Source/WebCore:
Moved the logic that constrains logical width by MinSize and MaxSize to
a new helper function called constrainLogicalWidthInRegionByMinMax.
This helper function is used from both computeLogicalWidthInRegion and
RenderFlexibleBox::applyStretchAlignmentToChild.
RenderFlexibleBox no longer checks for isMultiline when stretching
elements in a column flexbox. Instead, we now constrain the available
width by the child's min-width and max-width, and set the override
width only if that constrained width is different from the child's
current logicalWidth.
No new tests. The existing css3/flexbox/flexitem.html test was extended
to exercise the new code.
- rendering/RenderBox.cpp:
(WebCore::RenderBox::constrainLogicalWidthInRegionByMinMax): New helper
method to constrain logical width by min-width and max-width.
(WebCore):
(WebCore::RenderBox::computeLogicalWidthInRegion): Changed to use the
new constrainLogicalWidthInRegionByMinMax helper method.
- rendering/RenderBox.h:
(RenderBox):
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::applyStretchAlignmentToChild): Changed to
use constrainLogicalWidthInRegionByMinMax to determine the override
width for the child.
LayoutTests:
Fixed failing test cases. Add tests for min/max width/height.
- css3/flexbox/flexitem-expected.txt:
- css3/flexbox/flexitem.html:
- 4:30 PM Changeset in webkit [126502] by
-
- 5 edits in trunk/Source/WebCore
[V8] ScriptState is using stone knifes and bear skins
https://bugs.webkit.org/show_bug.cgi?id=94846
Reviewed by Eric Seidel.
This patch just modernizes ScriptState to use some of the newer tools
available in the V8 bindings. There shouldn't be any behavior changes.
- bindings/v8/ScriptState.cpp:
(WebCore::ScriptState::ScriptState):
(WebCore::ScriptState::~ScriptState):
(WebCore::ScriptState::domWindow):
(WebCore::ScriptState::scriptExecutionContext):
(WebCore::ScriptState::forContext):
(WebCore::ScriptState::current):
- bindings/v8/ScriptState.h:
(WebCore):
(WebCore::ScriptState::context):
(ScriptState):
(WebCore::ScriptStateProtectedPtr::ScriptStateProtectedPtr):
(ScriptStateProtectedPtr):
- bindings/v8/V8Binding.cpp:
(WebCore::toScriptExecutionContext):
(WebCore):
- bindings/v8/V8Binding.h:
(WebCore):
- 4:23 PM Changeset in webkit [126501] by
-
- 7 edits in trunk/Source
[chromium] Don't require a RenderSurface* in order to create a RenderPass
https://bugs.webkit.org/show_bug.cgi?id=94862
Reviewed by Adrienne Walker.
Source/WebCore:
If a test wants to create a RenderPass, they are required to create a
Layer, and a RenderSurface. This is not ideal, we should let tests
create RenderPasses more simply by giving the information that it needs.
This also helps us recreate the RenderPasses after receiving a copy
via IPC.
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
- platform/graphics/chromium/cc/CCRenderPass.cpp:
(WebCore::CCRenderPass::create):
(WebCore::CCRenderPass::CCRenderPass):
- platform/graphics/chromium/cc/CCRenderPass.h:
(CCRenderPass):
Source/WebKit/chromium:
- tests/CCLayerTreeHostImplTest.cpp:
- tests/CCRendererGLTest.cpp:
(FakeCCRendererClient::FakeCCRendererClient):
- 4:21 PM Changeset in webkit [126500] by
-
- 3 edits in trunk/Source/WebCore
[V8] ScriptValue should use ScopedPresistent rather than calling New/Dispose directly
https://bugs.webkit.org/show_bug.cgi?id=94864
Reviewed by Eric Seidel.
ScriptValue was created before ScopedPersistent existed and therefore
calls New/Dispose manually. Instead, it should use the less error-prone
approach of having ScopedPersistent balance those calls.
- bindings/v8/ScriptValue.cpp:
(WebCore::ScriptValue::serialize):
(WebCore::ScriptValue::getString):
(WebCore::ScriptValue::toString):
(WebCore::ScriptValue::toInspectorValue):
- bindings/v8/ScriptValue.h:
(WebCore::ScriptValue::ScriptValue):
(WebCore::ScriptValue::operator=):
(WebCore::ScriptValue::operator==):
(WebCore::ScriptValue::isEqual):
(WebCore::ScriptValue::isFunction):
(WebCore::ScriptValue::isNull):
(WebCore::ScriptValue::isUndefined):
(WebCore::ScriptValue::isObject):
(WebCore::ScriptValue::hasNoValue):
(WebCore::ScriptValue::clear):
(WebCore::ScriptValue::v8Value):
(ScriptValue):
- 4:17 PM Changeset in webkit [126499] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Chromium gardening. Generalized a few Snow Leopard-only
expectations to Mac in order to get the new Lion bot green.
- platform/chromium/TestExpectations:
- 4:14 PM Changeset in webkit [126498] by
-
- 7 edits in trunk/Source
[chromium] Remove WebLayer::setChildren API
https://bugs.webkit.org/show_bug.cgi?id=94749
Reviewed by Adrienne Walker.
Source/Platform:
This is redundant with removeAllChildren() / addChild() and less efficient.
- chromium/public/WebLayer.h:
(WebLayer):
Source/WebCore:
Sets up the child list directly instead of building an intermediate buffer. Covered by compositing/*
- platform/graphics/chromium/GraphicsLayerChromium.cpp:
(WebCore::GraphicsLayerChromium::updateChildList):
Source/WebKit/chromium:
- src/WebLayer.cpp:
- 4:12 PM Changeset in webkit [126497] by
-
- 2 edits in trunk/Tools
Replay tests take forever to load
https://bugs.webkit.org/show_bug.cgi?id=94764
Reviewed by Adam Barth.
Don't load about:blank at the beginning. This appears to clog the DRT.
- Scripts/webkitpy/performance_tests/perftest.py:
(ReplayPerfTest.run_single):
- 4:05 PM Changeset in webkit [126496] by
-
- 11 edits2 adds in trunk
AX: Focusable elements without a role should not be ignored
https://bugs.webkit.org/show_bug.cgi?id=94302
Reviewed by Chris Fleizach.
Source/WebCore:
Changes the accessibility logic so that a generic element that's focusable is
not ignored for accessibility, and returns its inner text as its title. That way
if you Tab to the element, a reasonable accessibility notification is generated.
One exception is the body element, because focusing the body is equivalent to
blurring the current focused element and does not result in a "focus" accessibility
notification.
Also fixes logic that determined if an element was contentEditable by making
sure it catches the case with no attribute value (e.g. <div contentEditable>),
which also implies contentEditable=true according to the spec.
Test: accessibility/focusable-div.html
- accessibility/AccessibilityRenderObject.cpp:
(WebCore):
(WebCore::nodeHasContentEditableAttributeSet):
(WebCore::AccessibilityRenderObject::title):
(WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
LayoutTests:
Adds a new test to make sure that a generic focusable element (like a div with tabindex=0)
can get focus and return an appropriate title, just like a form control or element with
an ARIA role.
Modifies three existing tests that were previously assuming that a focusable node
with no role would be ignored for accessibility ("accessibilityIsIgnored").
- accessibility/editable-webarea-context-menu-point.html:
- accessibility/focusable-div-expected.txt: Added.
- accessibility/focusable-div.html: Added.
- accessibility/table-detection.html:
- platform/mac/accessibility/listbox-hit-test.html:
- 4:02 PM Changeset in webkit [126495] by
-
- 7 edits in trunk/Source/WebCore
Remove RenderTable::removeChild
https://bugs.webkit.org/show_bug.cgi?id=94842
Reviewed by Abhishek Arya.
This change removed removeChild, replaced by willBeRemovedFromTree calls. The upside is that
the invalidations are now guaranteed to run if we split a table (which is not guaranteed when
using removeChild). This change also shows that our code may be doing too much work in some
of the child's removal, in which case the code was marked as needed.
Covered by existing tests.
- rendering/RenderTable.cpp:
(WebCore::RenderTable::removeCaption):
Helper function used to remove the caption from our Vector. The invalidation are very likely
unneeded so added a comment about that.
- rendering/RenderTable.h:
- rendering/RenderTableCaption.cpp:
(WebCore::RenderTableCaption::willBeRemovedFromTree):
(WebCore::RenderTableCaption::table):
- rendering/RenderTableCaption.h:
- rendering/RenderTableCol.cpp:
(WebCore::RenderTableCol::willBeRemovedFromTree):
- rendering/RenderTableCol.h:
Added the following functions to do the invalidation.
- 4:00 PM Changeset in webkit [126494] by
-
- 60 edits3 adds in trunk
Change behavior of MasqueradesAsUndefined to better accommodate DFG changes
https://bugs.webkit.org/show_bug.cgi?id=93884
Reviewed by Filip Pizlo.
Source/JavaScriptCore:
With some upcoming changes to the DFG to remove uses of ClassInfo, we will be changing the behavior of
MasqueradesAsUndefined. In order to make this change consistent across all of our execution engines,
we will make this change to MasqueradesAsUndefined as a separate patch. After this patch, MasqueradesAsUndefined
objects will only masquerade as undefined in their original context (i.e. their original JSGlobalObject).
For example, if an object that masquerades as undefined in frame A is passed to frame B, it will not
masquerade as undefined within frame B, but it will continue to masquerade in frame A.
There are two primary changes that are taking place here. One is to thread the ExecState* through
JSValue::toBoolean and JSCell::toBoolean so that JSCell::toBoolean can check the object's
JSGlobalObject to compare it to the lexical JSGlobalObject of the currently running code. If the two
are distinct, then the object cannot MasqueradeAsUndefined.
The other change is to perform this comparison of JSGlobalObjects everywhere where the MasqueradesAsUndefined
flag in the Structure is checked. For C++ code, this check has been factored into its own function in
Structure::masqueradesAsUndefined. We only perform this check in the DFG if the current JSGlobalObject has
had a MasqueradesAsUndefined object allocated within its context. This conditional compilation is managed
through the use of a WatchpointSet in each JSGlobalObject and alternate create() functions for JS DOM wrappers
that are MasqueradesAsUndefined.
- API/JSValueRef.cpp:
(JSValueToBoolean):
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- bytecode/Watchpoint.h:
(WatchpointSet):
- debugger/DebuggerCallFrame.h:
(JSC::DebuggerCallFrame::callFrame):
- dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
- dfg/DFGCFGSimplificationPhase.cpp:
(JSC::DFG::CFGSimplificationPhase::run):
- dfg/DFGOperations.cpp:
- dfg/DFGOperations.h:
- dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::nonSpeculativeNonPeepholeCompareNull):
(JSC::DFG::SpeculativeJIT::nonSpeculativePeepholeBranchNull):
(JSC::DFG::SpeculativeJIT::compile):
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::nonSpeculativeNonPeepholeCompareNull):
(JSC::DFG::SpeculativeJIT::nonSpeculativePeepholeBranchNull):
(JSC::DFG::SpeculativeJIT::compile):
- interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
- jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_is_undefined):
(JSC::JIT::emit_op_jeq_null):
(JSC::JIT::emit_op_jneq_null):
(JSC::JIT::emit_op_eq_null):
(JSC::JIT::emit_op_neq_null):
- jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_is_undefined):
(JSC::JIT::emit_op_jeq_null):
(JSC::JIT::emit_op_jneq_null):
(JSC::JIT::emit_op_eq_null):
(JSC::JIT::emit_op_neq_null):
- jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
- llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
- llint/LowLevelInterpreter32_64.asm:
- llint/LowLevelInterpreter64.asm:
- runtime/ArrayPrototype.cpp:
(JSC::arrayProtoFuncFilter):
(JSC::arrayProtoFuncEvery):
(JSC::arrayProtoFuncSome):
- runtime/BooleanConstructor.cpp:
(JSC::constructBoolean):
(JSC::callBooleanConstructor):
- runtime/JSCell.h:
(JSCell):
- runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::JSGlobalObject):
- runtime/JSGlobalObject.h:
(JSGlobalObject):
(JSC::JSGlobalObject::masqueradesAsUndefinedWatchpoint):
- runtime/JSString.h:
(JSC::JSCell::toBoolean):
(JSC::JSValue::toBoolean):
- runtime/JSValue.h:
- runtime/ObjectConstructor.cpp:
(JSC::toPropertyDescriptor):
- runtime/Operations.cpp:
(JSC::jsTypeStringForValue):
(JSC::jsIsObjectType):
- runtime/Operations.h:
(JSC):
(JSC::JSValue::equalSlowCaseInline):
- runtime/RegExpConstructor.cpp:
(JSC::setRegExpConstructorMultiline):
- runtime/RegExpPrototype.cpp:
(JSC::regExpProtoFuncToString):
- runtime/Structure.h:
(Structure):
(JSC::Structure::globalObjectOffset):
(JSC::Structure::masqueradesAsUndefined):
(JSC):
Source/WebCore:
With some upcoming changes to the DFG to remove uses of ClassInfo, we will be changing the behavior of
MasqueradesAsUndefined. In order to make this change consistent across all of our execution engines,
we will make this change to MasqueradesAsUndefined as a separate patch. After this patch, MasqueradesAsUndefined
objects will only masquerade as undefined in their original context (i.e. their original JSGlobalObject).
For example, if an object that masquerades as undefined in frame A is passed to frame B, it will not
masquerade as undefined within frame B, but it will continue to masquerade in frame A.
Test: fast/js/document-all-between-frames.html
All of the changes in WebCore are simply passing the additional ExecState argument to JSValue::toBoolean.
- bindings/js/JSCustomSQLStatementErrorCallback.cpp:
(WebCore::JSSQLStatementErrorCallback::handleEvent):
- bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::addEventListener):
(WebCore::JSDOMWindow::removeEventListener):
- bindings/js/JSDataViewCustom.cpp:
(WebCore::getDataViewMember):
- bindings/js/JSDeviceMotionEventCustom.cpp:
(WebCore::JSDeviceMotionEvent::initDeviceMotionEvent):
- bindings/js/JSDeviceOrientationEventCustom.cpp:
(WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):
- bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
- bindings/js/JSHTMLCanvasElementCustom.cpp:
(WebCore::JSHTMLCanvasElement::getContext):
- bindings/js/JSInspectorFrontendHostCustom.cpp:
(WebCore::populateContextMenuItems):
- bindings/js/JSMessageEventCustom.cpp:
(WebCore::handleInitMessageEvent):
- bindings/js/JSWebGLRenderingContextCustom.cpp:
(WebCore::dataFunctionMatrix):
- bindings/js/JSXMLHttpRequestCustom.cpp:
(WebCore::JSXMLHttpRequest::open):
- bindings/js/JavaScriptCallFrame.cpp:
(WebCore::JavaScriptCallFrame::exec):
(WebCore):
- bindings/js/JavaScriptCallFrame.h:
(JavaScriptCallFrame):
- bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::hasBreakpoint):
- bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::dumpIfTerminal):
- bindings/scripts/CodeGeneratorJS.pm: Also add the custom create function for MasqueradesAsUndefined JS DOM wrappers.
(GenerateEventListenerCall):
(GenerateHeader):
(JSValueToNative):
- bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::jsTestEventTargetPrototypeFunctionAddEventListener):
(WebCore::jsTestEventTargetPrototypeFunctionRemoveEventListener):
- bindings/scripts/test/JS/JSTestEventTarget.h:
(WebCore::JSTestEventTarget::create):
- bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::setJSTestObjCreate):
(WebCore::setJSTestObjReflectedBooleanAttr):
(WebCore::setJSTestObjReflectedCustomBooleanAttr):
(WebCore::jsTestObjPrototypeFunctionAddEventListener):
(WebCore::jsTestObjPrototypeFunctionRemoveEventListener):
- bridge/c/c_utility.cpp:
(JSC::Bindings::convertValueToNPVariant):
- bridge/jni/jni_jsobject.mm:
(JavaJSObject::convertValueToJObject):
- bridge/qt/qt_runtime.cpp:
(JSC::Bindings::convertValueToQVariant):
Source/WebKit/mac:
With some upcoming changes to the DFG to remove uses of ClassInfo, we will be changing the behavior of
MasqueradesAsUndefined. In order to make this change consistent across all of our execution engines,
we will make this change to MasqueradesAsUndefined as a separate patch. After this patch, MasqueradesAsUndefined
objects will only masquerade as undefined in their original context (i.e. their original JSGlobalObject).
For example, if an object that masquerades as undefined in frame A is passed to frame B, it will not
masquerade as undefined within frame B, but it will continue to masquerade in frame A.
- Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::addValueToArray): Passing ExecState to toBoolean call.
Source/WebKit2:
With some upcoming changes to the DFG to remove uses of ClassInfo, we will be changing the behavior of
MasqueradesAsUndefined. In order to make this change consistent across all of our execution engines,
we will make this change to MasqueradesAsUndefined as a separate patch. After this patch, MasqueradesAsUndefined
objects will only masquerade as undefined in their original context (i.e. their original JSGlobalObject).
For example, if an object that masquerades as undefined in frame A is passed to frame B, it will not
masquerade as undefined within frame B, but it will continue to masquerade in frame A.
- WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
(WebKit::NPRuntimeObjectMap::convertJSValueToNPVariant): Passing ExecState to toBoolean call.
LayoutTests:
Added a test that uses a variety of ways of checking whether something is correctly
masquerading as undefined (or not) in a subframe.
- fast/js/document-all-between-frames-expected.txt: Added.
- fast/js/document-all-between-frames.html: Added.
- fast/js/resources/document-all-between-frames-subframe.html: Added.
- platform/chromium/TestExpectations: Chromium treats document.all differently, so skip our new test.
- 3:53 PM Changeset in webkit [126493] by
-
- 4 edits in branches/safari-536.26-branch/Source
Versioning.
- 3:53 PM Changeset in webkit [126492] by
-
- 1 copy in tags/Safari-536.26.9
New tag.
- 3:52 PM Changeset in webkit [126491] by
-
- 4 edits in trunk/Source/WebCore
CSSParser: Move enumeration to a common place (StylePropertyShorthand)
https://bugs.webkit.org/show_bug.cgi?id=93210
Patch by Adenilson Cavalcanti <cavalcantii@gmail.com> on 2012-08-23
Reviewed by Dean Jackson.
CSSParser::parseAnimationShorthand() uses an enumeration with the same
elements as another enumeration present in StylePropertyShorthand, but
with different ordering of values. This patch puts both enums in the same place.
No new tests. No change in behavior.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseAnimationShorthand):
- css/StylePropertyShorthand.cpp:
(WebCore::webkitAnimationShorthandForParsing):
(WebCore):
- css/StylePropertyShorthand.h:
(WebCore):
- 3:50 PM Changeset in webkit [126490] by
-
- 2 edits in trunk/Source/WebKit2
REGRESSION (r124815): PDF in frame does not display any more
<rdar://problem/12063306> and https://bugs.webkit.org/show_bug.cgi?id=94869
Reviewed by Alexey Proskuryakov.
- WebProcess/Plugins/PDF/BuiltInPDFView.mm:
(WebKit::BuiltInPDFView::initialize): Tell the controller that initialization was successful.
- 3:50 PM Changeset in webkit [126489] by
-
- 2 edits1 add in trunk/LayoutTests
Adjust test expectations for fast/js/toString-overrides.html and fast/js/eval-cross-window.html
https://bugs.webkit.org/show_bug.cgi?id=94824
Patch by Ulan Degenbaev <ulan@chromium.org> on 2012-08-23
Reviewed by Kentaro Hara.
Add a bug number for tracking failing cases in fast/js/toString-overrides.html.
Upload Chromium specific test expectations for fast/js/eval-cross-window.html.
Failing tests in eval-cross-window swap the eval() function in the main window and the frame.
This behaviour is not specified in ECMA-262 and is probably implementation dependent.
Both Firefox and Chromium produce the same result for this test.
- platform/chromium/TestExpectations:
- platform/chromium/fast/js/eval-cross-window-expected.txt: Added.
- 3:48 PM Changeset in webkit [126488] by
-
- 5 edits in trunk
Trailing spaces in CSP source lists should not generate console warnings.
https://bugs.webkit.org/show_bug.cgi?id=94847
Patch by Mike West <mkwst@chromium.org> on 2012-08-23
Reviewed by Adam Barth.
Trailing space after a valid source in a Content Security Policy source
list was accidentally generating console warnings about an invalid
(empty) source. This patch silently ignores trailing whitespace instead.
Source/WebCore:
A test-case has been added to 'source-list-parsing-02.html' to cover
this case.
- page/ContentSecurityPolicy.cpp:
(WebCore::CSPSourceList::parse):
Return early if we reach the end of the source list after skipping
leading whitespace.
LayoutTests:
- http/tests/security/contentSecurityPolicy/source-list-parsing-02-expected.txt:
- http/tests/security/contentSecurityPolicy/source-list-parsing-02.html:
- 3:37 PM Changeset in webkit [126487] by
-
- 2 edits in trunk/LayoutTests
[Chromium] LayoutTests: css3/selector3/xml tests are flaky / have wrong expectations on Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=82122
Unreviewed Chromium gardening. Expanded expectations from Snow Leopard to Mac.
- platform/chromium/TestExpectations:
- 3:17 PM Changeset in webkit [126486] by
-
- 2 edits in trunk/Source/WebCore
Remove some unneeded cruft from WebCore.xcodeproj.
- WebCore.xcodeproj/project.pbxproj:
- 2:53 PM Changeset in webkit [126485] by
-
- 7 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Replace the three different rendering mechanisms for clearing the render queue
https://bugs.webkit.org/show_bug.cgi?id=94837
Patch by Adam Treat <atreat@rim.com> on 2012-08-23
Reviewed by George Staikos.
PR 197738
Currently, we have three different mechanisms for clearing the render queue.
The first mechanism is render on idle. Whenever the webkit thread becomes idle
(read: no more events in its queue) we render the next job in the render queue.
This is the primary means we use for clearing the render queue. However, this
mechanism has a flaw, it is such a low priority mechanism that sometimes the
queue grows so fast due to higher priority events adding rects to the queue
that this mechanism can't possibly keep up. That is what leads to the second
mechanism: rendering right before a timer is fired when we discover that the
render queue is under pressure and rendering on idle can't keep up. However,
there are still degenerate cases where even this mechanism does not allow us to
keep up. That brings us to the third mechanism: rendering based on a timer
that is a catch-all.
The second and third mechanisms lead to very large render jobs as they try and
clear the queue faster when it comes under pressure. These very large render
jobs end up keeping the webkit thread busy with a message that can take large
fractions of a second to resolve.
These three mechanisms were put in place when the backingstore had a different
overall design that was not truly asynchronous. This patch replaces these
three mechanisms with a single one that uses the platform messaging classes to
full purpose - a uniquely coalescing message that has a higher priority level
than timers making sure the render queue can never come under pressure.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::BackingStorePrivate):
(WebKit):
(RenderJobMessage):
(BlackBerry::WebKit::RenderJobMessage::RenderJobMessage):
(BlackBerry::WebKit::BackingStorePrivate::dispatchRenderJob):
(BlackBerry::WebKit::BackingStorePrivate::renderJob):
(BlackBerry::WebKit::BackingStore::blitContents):
- Api/BackingStore.h:
- Api/BackingStore_p.h:
(BackingStorePrivate):
- Api/WebPage.cpp:
- Api/WebPage.h:
- WebKitSupport/RenderQueue.cpp:
(BlackBerry::WebKit::RenderQueue::reset):
(BlackBerry::WebKit::RenderQueue::addToRegularQueue):
(BlackBerry::WebKit::RenderQueue::addToScrollZoomQueue):
(BlackBerry::WebKit::RenderQueue::clear):
(BlackBerry::WebKit::RenderQueue::clearVisibleZoom):
(BlackBerry::WebKit::RenderQueue::render):
- 2:45 PM Changeset in webkit [126484] by
-
- 8 edits1 move in trunk/Source/WebCore
[V8] OwnHandle is a bit of a misnomer
https://bugs.webkit.org/show_bug.cgi?id=94841
Reviewed by Eric Seidel.
You don't really own the handle in the same way that you own a pointer
with OwnPtr. This class is more correctly called ScopedPersistent
because it just forces you to balance New() and Dispose() calls.
- WebCore.gypi:
- bindings/v8/JavaScriptCallFrame.h:
(JavaScriptCallFrame):
- bindings/v8/OwnHandle.h: Removed.
- bindings/v8/ScheduledAction.h:
(ScheduledAction):
- bindings/v8/ScopedPersistent.h: Copied from Source/WebCore/bindings/v8/OwnHandle.h.
(ScopedPersistent):
(WebCore::ScopedPersistent::ScopedPersistent):
(WebCore::ScopedPersistent::~ScopedPersistent):
- bindings/v8/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::compileScript):
(WebCore::ScriptDebugServer::runScript):
- bindings/v8/ScriptDebugServer.h:
(ScriptDebugServer):
- bindings/v8/ScriptInstance.h:
(V8ScriptInstance):
- bindings/v8/V8PerContextData.h:
(V8PerContextData):
- 2:26 PM Changeset in webkit [126483] by
-
- 3 edits in trunk/Source/WebCore
ProgressTracker never completes if iframe detached during parsing
https://bugs.webkit.org/show_bug.cgi?id=92272
Reviewed by Adam Barth.
Add a simple helper class to FrameLoader to ensure progressStarted/progressCompleted calls are matched,
and balance the calls when the Frame is detached.
No new tests, as this behavior has only been producing reliably by setting a breakpoint in a specific place.
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::init):
(WebCore::FrameLoader::FrameProgressTracker::progressStarted):
(WebCore::FrameLoader::FrameProgressTracker::progressCompleted):
(WebCore::FrameLoader::FrameProgressTracker::~FrameProgressTracker):
(WebCore::FrameLoader::prepareForLoadStart):
(WebCore::FrameLoader::clearProvisionalLoad):
(WebCore::FrameLoader::checkLoadCompleteForThisFrame):
(WebCore::FrameLoader::detachFromParent):
- loader/FrameLoader.h:
(FrameProgressTracker):
(WebCore::FrameLoader::FrameProgressTracker::create):
(WebCore::FrameLoader::FrameProgressTracker::FrameProgressTracker):
- 2:01 PM Changeset in webkit [126482] by
-
- 35 edits in trunk/Source
[chromium] Create sharedQuadState at same time as creating quads and give them to the quadSink
https://bugs.webkit.org/show_bug.cgi?id=94752
Reviewed by Adrienne Walker.
Source/WebCore:
Previously, CCRenderPass would create a sharedQuadState for a layer,
and pass it in to the layer. Then the layer would point all its quads
at the sharedQuadState.
After this change, the layer creates its own sharedQuadState, gives it
to the RenderPass (via CCQuadSink), and points its quads at it.
This approach allows a layer to generate more than one sharedQuadState
with different quads pointing to different shared states. Also, this
will allow the layer representing a delegating renderer (via ubercomp)
to copy sharedQuadStates from the delegating renderer in order to
merge its quads into the RenderPass for the current renderer.
Covered by existing tests, no change in behaviour.
- platform/graphics/chromium/cc/CCHeadsUpDisplayLayerImpl.cpp:
(WebCore::CCHeadsUpDisplayLayerImpl::appendQuads):
- platform/graphics/chromium/cc/CCHeadsUpDisplayLayerImpl.h:
(CCHeadsUpDisplayLayerImpl):
- platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.cpp:
(WebCore::CCIOSurfaceLayerImpl::appendQuads):
- platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.h:
(CCIOSurfaceLayerImpl):
- platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::createSharedQuadState):
- platform/graphics/chromium/cc/CCLayerImpl.h:
(CCLayerImpl):
(WebCore::CCLayerImpl::appendQuads):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
- platform/graphics/chromium/cc/CCQuadCuller.cpp:
(WebCore::CCQuadCuller::CCQuadCuller):
(WebCore::CCQuadCuller::append):
(WebCore::CCQuadCuller::useSharedQuadState):
(WebCore):
- platform/graphics/chromium/cc/CCQuadCuller.h:
(WebCore):
(CCQuadCuller):
- platform/graphics/chromium/cc/CCQuadSink.h:
(WebCore):
(CCQuadSink):
- platform/graphics/chromium/cc/CCRenderPass.cpp:
(WebCore::CCRenderPass::appendQuadsForLayer):
(WebCore::CCRenderPass::appendQuadsForRenderSurfaceLayer):
(WebCore::CCRenderPass::appendQuadsToFillScreen):
- platform/graphics/chromium/cc/CCRenderPass.h:
(WebCore):
(CCRenderPass):
- platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::appendQuads):
- platform/graphics/chromium/cc/CCRenderSurface.h:
(CCRenderSurface):
- platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp:
(WebCore::CCScrollbarLayerImpl::appendQuads):
- platform/graphics/chromium/cc/CCScrollbarLayerImpl.h:
(CCScrollbarLayerImpl):
- platform/graphics/chromium/cc/CCSharedQuadState.cpp:
(WebCore::CCSharedQuadState::create):
(WebCore::CCSharedQuadState::CCSharedQuadState):
- platform/graphics/chromium/cc/CCSharedQuadState.h:
(CCSharedQuadState):
- platform/graphics/chromium/cc/CCSolidColorLayerImpl.cpp:
(WebCore::CCSolidColorLayerImpl::appendQuads):
- platform/graphics/chromium/cc/CCSolidColorLayerImpl.h:
(CCSolidColorLayerImpl):
- platform/graphics/chromium/cc/CCTextureLayerImpl.cpp:
(WebCore::CCTextureLayerImpl::appendQuads):
- platform/graphics/chromium/cc/CCTextureLayerImpl.h:
(CCTextureLayerImpl):
- platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
(WebCore::CCTiledLayerImpl::appendQuads):
- platform/graphics/chromium/cc/CCTiledLayerImpl.h:
(CCTiledLayerImpl):
- platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
(WebCore::CCVideoLayerImpl::appendQuads):
- platform/graphics/chromium/cc/CCVideoLayerImpl.h:
(CCVideoLayerImpl):
Source/WebKit/chromium:
- tests/CCLayerTreeHostImplTest.cpp:
- tests/CCLayerTreeHostTest.cpp:
(WTF::EvictionTestLayerImpl::appendQuads):
- tests/CCQuadCullerTest.cpp:
- tests/CCRenderSurfaceTest.cpp:
- tests/CCSolidColorLayerImplTest.cpp:
(CCLayerTestCommon::TEST):
- tests/CCTiledLayerImplTest.cpp:
(CCLayerTestCommon::TEST):
(CCLayerTestCommon::getQuads):
(CCLayerTestCommon::coverageVisibleRectOnTileBoundaries):
(CCLayerTestCommon::coverageVisibleRectIntersectsTiles):
(CCLayerTestCommon::coverageVisibleRectIntersectsBounds):
- tests/MockCCQuadCuller.h:
(WebCore::MockCCQuadCuller::MockCCQuadCuller):
(MockCCQuadCuller):
(WebCore::MockCCQuadCuller::quadList):
(WebCore::MockCCQuadCuller::sharedQuadStateList):
- 1:57 PM Changeset in webkit [126481] by
-
- 2 edits in trunk/Source/WTF
Roll out part of r126475 that breaks the build with older versions of Clang.
- wtf/FastMalloc.cpp:
- 1:56 PM Changeset in webkit [126480] by
-
- 2 edits in trunk/Source/WebKit/chromium
Not reviewed - fixing input list for timeline inspector module.
https://bugs.webkit.org/show_bug.cgi?id=94829
- WebKit.gyp:
- 1:50 PM Changeset in webkit [126479] by
-
- 2 edits in trunk/Source/ThirdParty
Make gtest build with the latest version of clang.
Reviewed by Dan Bernstein.
- gtest/src/gtest-internal-inl.h:
(GTestFlagSaver): Remove an unused member.
- 1:50 PM Changeset in webkit [126478] by
-
- 2 edits in trunk/Source/WebKit2
Make WebKit2 build with the latest version of clang.
Reviewed by Dan Bernstein.
- Configurations/Base.xcconfig: Ensure that operator new isn't exported as a weak external symbol.
- 1:50 PM Changeset in webkit [126477] by
-
- 8 edits in trunk/Source/WebCore
Make WebCore build with the latest version of clang.
Reviewed by Dan Bernstein.
- html/shadow/MediaControlRootElement.h: Remove m_textTrackDisplay as it is unused.
- platform/audio/mac/AudioFileReaderMac.cpp:
(WebCore::AudioFileReader::AudioFileReader): Remove m_filePath as it is unused.
- platform/audio/mac/AudioFileReaderMac.h:
(AudioFileReader): Ditto.
- platform/graphics/ImageSource.h:
(ImageSource): Guard m_alphaOption and m_gammaAndColorProfileOption with !USE(CG)
as they're unused on platforms using CG.
- platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
(MediaPlayerPrivateAVFoundationObjC): Remove m_player as it is unused.
- platform/graphics/cg/ImageSourceCG.cpp:
(WebCore::ImageSource::ImageSource): Don't initialize the m_alphaOption and
m_gammaAndColorProfileOption members since we never use them.
- platform/graphics/mac/GraphicsContext3DMac.mm:
(WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate): Remove m_graphicsContext3D
as it is unused.
- 1:50 PM Changeset in webkit [126476] by
-
- 4 edits in trunk/Source/JavaScriptCore
Make JavaScriptCore build with the latest version of clang.
Reviewed by Dan Bernstein.
- heap/MachineStackMarker.cpp:
(JSC::MachineThreads::MachineThreads): The m_heap member is only used within
assertions, so guard its initialization with !ASSERT_DISABLED.
- heap/MachineStackMarker.h:
(MachineThreads): Ditto for its declaration.
- jit/JITStubCall.h:
(JSC::JITStubCall::JITStubCall): The m_returnType member is only used within
assertions or if we're using JSVALUE32_64, so guard its uses with the appropriate
(JITStubCall): Ditto.
- 1:50 PM Changeset in webkit [126475] by
-
- 2 edits in trunk/Source/WTF
Make WTF build with the latest version of clang.
Reviewed by Dan Bernstein.
- wtf/FastMalloc.cpp:
(WTF): Disable the -Wunused-private-field warning around the declaration of
TCMalloc_Central_FreeListPadded since the padding is intentionally unused.
(WTF::AdminRegionRecorder): Remove the unused m_reader member.
(WTF::FastMallocZone::enumerate): Don't pass in the RemoteMemoryReader since
it is no longer needed.
- 1:39 PM Changeset in webkit [126474] by
-
- 6 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Unify slow and fast in-region scrolling code paths
https://bugs.webkit.org/show_bug.cgi?id=94834
PR #197662
Reviewed by Rob Buis.
Patch by Antonio Gomes <agomes@rim.com>
Internally reviewed by Arvid Nilsson.
In order to be able to remove a bunch of obsolete code from
InRegionScroller.cpp, we need to unify the codepaths for slow
and fast in-region scrolling.
This patch caches the root scrollable node of each scrollable block
in InRegionScrollableArea also for the non-composited-scrolling case now too
(analogly to the way we cache LayerWebKitThread for the composited scrolling case).
Now the client (libwebview) can dispatch an in-region scrolling with one single code path,
making use of a boolean (argh!) to inform if the scroll of the given
layer supports compositing or not. Later on, this boolean is used to casting the proper element.
- Api/InRegionScroller.cpp:
(BlackBerry::WebKit::InRegionScroller::setScrollPositionWebKitThread):
(BlackBerry::WebKit::InRegionScrollerPrivate::setScrollPositionWebKitThread):
- Api/InRegionScroller.h:
- Api/InRegionScroller_p.h:
(InRegionScrollerPrivate):
- WebKitSupport/InRegionScrollableArea.cpp:
(WebKit):
(BlackBerry::WebKit::InRegionScrollableArea::InRegionScrollableArea):
(BlackBerry::WebKit::enclosingLayerNode):
- WebKitSupport/InRegionScrollableArea.h:
(WebCore):
(InRegionScrollableArea):
- 1:31 PM Changeset in webkit [126473] by
-
- 38 edits3 moves in trunk/Source
[chromium] Rename LayerRendererChromium to GL-specific name
https://bugs.webkit.org/show_bug.cgi?id=94835
Reviewed by James Robinson.
Over time, LayerRendererChromium has evolved to be a GL-specific
subclass of CCRenderer that has no awareness of layers (as it operates
only with drawQuads).
This patch renames LayerRendererChromium to CCRendererGL, replaces all
instances of "layerRenderer" with just "renderer", and removes a
few unnecessary includes of LayerRendererChromium.h.
Source/WebCore:
No new tests (no-op refactoring).
- WebCore.gypi:
- platform/graphics/chromium/Canvas2DLayerBridge.cpp:
- platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::createTextureUpdaterIfNeeded):
- platform/graphics/chromium/GeometryBinding.cpp:
- platform/graphics/chromium/HeadsUpDisplayLayerChromium.cpp:
(WebCore::HeadsUpDisplayLayerChromium::update):
- platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::createTextureUpdaterIfNeeded):
- platform/graphics/chromium/LayerTextureSubImage.cpp:
- platform/graphics/chromium/ProgramBinding.cpp:
- platform/graphics/chromium/RenderSurfaceChromium.h:
(WebCore):
- platform/graphics/chromium/ScrollbarLayerChromium.cpp:
(WebCore::ScrollbarLayerChromium::createTextureUpdaterIfNeeded):
- platform/graphics/chromium/TextureCopier.cpp:
- platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::updateTileSizeAndTilingOption):
- platform/graphics/chromium/cc/CCHeadsUpDisplayLayerImpl.cpp:
- platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.cpp:
- platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::sortLayers):
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::initializeRenderer):
(WebCore::CCLayerTreeHost::deleteContentsTexturesOnImplThread):
(WebCore::CCLayerTreeHost::finishAllRendering):
(WebCore::CCLayerTreeHost::rendererCapabilities):
(WebCore::CCLayerTreeHost::initializeRendererIfNeeded):
(WebCore::CCLayerTreeHost::updateLayers):
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore::RendererCapabilities::RendererCapabilities):
(CCLayerTreeHost):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::canDraw):
(WebCore::CCLayerTreeHostImpl::calculateRenderSurfaceLayerList):
(WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
(WebCore::CCLayerTreeHostImpl::drawLayers):
(WebCore::CCLayerTreeHostImpl::finishAllRendering):
(WebCore::CCLayerTreeHostImpl::isContextLost):
(WebCore::CCLayerTreeHostImpl::rendererCapabilities):
(WebCore::CCLayerTreeHostImpl::swapBuffers):
(WebCore::CCLayerTreeHostImpl::readback):
(WebCore::CCLayerTreeHostImpl::setVisible):
(WebCore::CCLayerTreeHostImpl::initializeRenderer):
(WebCore::CCLayerTreeHostImpl::setViewportSize):
(WebCore::CCLayerTreeHostImpl::ensureRenderSurfaceLayerList):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(WebCore):
(WebCore::CCLayerTreeHostImpl::renderer):
(CCLayerTreeHostImpl):
- platform/graphics/chromium/cc/CCPrioritizedTexture.cpp:
- platform/graphics/chromium/cc/CCPrioritizedTextureManager.cpp:
- platform/graphics/chromium/cc/CCPriorityCalculator.cpp:
- platform/graphics/chromium/cc/CCProxy.h:
(WebCore):
(CCProxy):
- platform/graphics/chromium/cc/CCRenderSurface.cpp:
- platform/graphics/chromium/cc/CCRenderSurface.h:
(WebCore):
- platform/graphics/chromium/cc/CCRenderer.h:
(CCRenderer):
- platform/graphics/chromium/cc/CCRendererGL.cpp: Renamed from Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp.
(WebCore::CCRendererGL::create):
(WebCore):
(WebCore::CCRendererGL::CCRendererGL):
(WebCore::CCRendererGL::initialize):
(WebCore::CCRendererGL::~CCRendererGL):
(WebCore::CCRendererGL::context):
(WebCore::CCRendererGL::debugGLCall):
(WebCore::CCRendererGL::setVisible):
(WebCore::CCRendererGL::releaseRenderPassTextures):
(WebCore::CCRendererGL::viewportChanged):
(WebCore::CCRendererGL::clearFramebuffer):
(WebCore::CCRendererGL::beginDrawingFrame):
(WebCore::CCRendererGL::doNoOp):
(WebCore::CCRendererGL::drawQuad):
(WebCore::CCRendererGL::drawCheckerboardQuad):
(WebCore::CCRendererGL::drawDebugBorderQuad):
(WebCore::applyFilters):
(WebCore::CCRendererGL::drawBackgroundFilters):
(WebCore::CCRendererGL::drawRenderPassQuad):
(WebCore::CCRendererGL::drawSolidColorQuad):
(TileProgramUniforms):
(WebCore::tileUniformLocation):
(WebCore::CCRendererGL::drawTileQuad):
(WebCore::CCRendererGL::drawYUVVideoQuad):
(WebCore::CCRendererGL::drawStreamVideoQuad):
(WebCore::TextureProgramBinding::set):
(TextureProgramBinding):
(WebCore::TexTransformTextureProgramBinding::set):
(TexTransformTextureProgramBinding):
(WebCore::CCRendererGL::drawTextureQuad):
(WebCore::CCRendererGL::drawIOSurfaceQuad):
(WebCore::CCRendererGL::finishDrawingFrame):
(WebCore::CCRendererGL::toGLMatrix):
(WebCore::CCRendererGL::setShaderFloatQuad):
(WebCore::CCRendererGL::setShaderOpacity):
(WebCore::CCRendererGL::drawQuadGeometry):
(WebCore::CCRendererGL::copyTextureToFramebuffer):
(WebCore::CCRendererGL::finish):
(WebCore::CCRendererGL::swapBuffers):
(WebCore::CCRendererGL::onSwapBuffersComplete):
(WebCore::CCRendererGL::onMemoryAllocationChanged):
(WebCore::CCRendererGL::onMemoryAllocationChangedOnImplThread):
(WebCore::CCRendererGL::discardFramebuffer):
(WebCore::CCRendererGL::ensureFramebuffer):
(WebCore::CCRendererGL::onContextLost):
(WebCore::CCRendererGL::getFramebufferPixels):
(WebCore::CCRendererGL::getFramebufferTexture):
(WebCore::CCRendererGL::useScopedTexture):
(WebCore::CCRendererGL::bindFramebufferToOutputSurface):
(WebCore::CCRendererGL::bindFramebufferToTexture):
(WebCore::CCRendererGL::enableScissorTestRect):
(WebCore::CCRendererGL::disableScissorTest):
(WebCore::CCRendererGL::setDrawViewportSize):
(WebCore::CCRendererGL::makeContextCurrent):
(WebCore::CCRendererGL::initializeSharedObjects):
(WebCore::CCRendererGL::tileCheckerboardProgram):
(WebCore::CCRendererGL::solidColorProgram):
(WebCore::CCRendererGL::renderPassProgram):
(WebCore::CCRendererGL::renderPassProgramAA):
(WebCore::CCRendererGL::renderPassMaskProgram):
(WebCore::CCRendererGL::renderPassMaskProgramAA):
(WebCore::CCRendererGL::tileProgram):
(WebCore::CCRendererGL::tileProgramOpaque):
(WebCore::CCRendererGL::tileProgramAA):
(WebCore::CCRendererGL::tileProgramSwizzle):
(WebCore::CCRendererGL::tileProgramSwizzleOpaque):
(WebCore::CCRendererGL::tileProgramSwizzleAA):
(WebCore::CCRendererGL::textureProgram):
(WebCore::CCRendererGL::textureProgramFlip):
(WebCore::CCRendererGL::textureIOSurfaceProgram):
(WebCore::CCRendererGL::videoYUVProgram):
(WebCore::CCRendererGL::videoStreamTextureProgram):
(WebCore::CCRendererGL::cleanupSharedObjects):
(WebCore::CCRendererGL::isContextLost):
- platform/graphics/chromium/cc/CCRendererGL.h: Renamed from Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h.
(WebKit):
(WebCore):
(CCRendererGL):
(WebCore::CCRendererGL::sharedGeometryQuad):
(WebCore::CCRendererGL::sharedGeometry):
(WebCore::CCRendererGL::isFramebufferDiscarded):
- platform/graphics/chromium/cc/CCResourceProvider.cpp:
- platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
(WebCore::CCSingleThreadProxy::CCSingleThreadProxy):
(WebCore::CCSingleThreadProxy::initializeRenderer):
(WebCore::CCSingleThreadProxy::recreateContext):
(WebCore::CCSingleThreadProxy::rendererCapabilities):
(WebCore::CCSingleThreadProxy::doCommit):
(WebCore::CCSingleThreadProxy::forceSerializeOnSwapBuffers):
(WebCore::CCSingleThreadProxy::commitAndComposite):
- platform/graphics/chromium/cc/CCSingleThreadProxy.h:
(CCSingleThreadProxy):
- platform/graphics/chromium/cc/CCSolidColorLayerImpl.h:
- platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::CCThreadProxy):
(WebCore::CCThreadProxy::compositeAndReadback):
(WebCore::CCThreadProxy::initializeRenderer):
(WebCore::CCThreadProxy::recreateContext):
(WebCore::CCThreadProxy::rendererCapabilities):
(WebCore::CCThreadProxy::forceSerializeOnSwapBuffersOnImplThread):
(WebCore::CCThreadProxy::beginFrame):
(WebCore::CCThreadProxy::beginFrameCompleteOnImplThread):
(WebCore::CCThreadProxy::scheduledActionDrawAndSwapInternal):
(WebCore::CCThreadProxy::initializeRendererOnImplThread):
(WebCore::CCThreadProxy::recreateContextOnImplThread):
- platform/graphics/chromium/cc/CCThreadProxy.h:
(CCThreadProxy):
Source/WebKit/chromium:
- WebKit.gypi:
- tests/CCLayerTreeHostImplTest.cpp:
- tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
(WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
(WTF::CCLayerTreeHostTestManySurfaces::beginTest):
(WTF::CCLayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit::drawLayersOnCCThread):
- tests/CCRendererGLTest.cpp: Renamed from Source/WebKit/chromium/tests/LayerRendererChromiumTest.cpp.
(FrameCountingMemoryAllocationSettingContext):
(FrameCountingMemoryAllocationSettingContext::FrameCountingMemoryAllocationSettingContext):
(FrameCountingMemoryAllocationSettingContext::prepareTexture):
(FrameCountingMemoryAllocationSettingContext::setMemoryAllocationChangedCallbackCHROMIUM):
(FrameCountingMemoryAllocationSettingContext::getString):
(FrameCountingMemoryAllocationSettingContext::frameCount):
(FrameCountingMemoryAllocationSettingContext::setMemoryAllocation):
(FakeCCRendererClient):
(FakeCCRendererClient::FakeCCRendererClient):
(FakeCCRendererClient::setFullRootLayerDamageCount):
(FakeCCRendererClient::rootRenderPass):
(FakeCCRendererClient::renderPassesInDrawOrder):
(FakeCCRendererClient::renderPasses):
(FakeCCRendererClient::memoryAllocationLimitBytes):
(FakeCCRendererGL):
(FakeCCRendererGL::FakeCCRendererGL):
(CCRendererGLTest):
(CCRendererGLTest::CCRendererGLTest):
(CCRendererGLTest::SetUp):
(CCRendererGLTest::TearDown):
(CCRendererGLTest::swapBuffers):
(CCRendererGLTest::context):
(TEST_F):
(ForbidSynchronousCallContext):
(ForbidSynchronousCallContext::ForbidSynchronousCallContext):
(ForbidSynchronousCallContext::getActiveAttrib):
(ForbidSynchronousCallContext::getActiveUniform):
(ForbidSynchronousCallContext::getAttachedShaders):
(ForbidSynchronousCallContext::getAttribLocation):
(ForbidSynchronousCallContext::getBooleanv):
(ForbidSynchronousCallContext::getBufferParameteriv):
(ForbidSynchronousCallContext::getContextAttributes):
(ForbidSynchronousCallContext::getError):
(ForbidSynchronousCallContext::getFloatv):
(ForbidSynchronousCallContext::getFramebufferAttachmentParameteriv):
(ForbidSynchronousCallContext::getIntegerv):
(ForbidSynchronousCallContext::getProgramiv):
(ForbidSynchronousCallContext::getShaderiv):
(ForbidSynchronousCallContext::getString):
(ForbidSynchronousCallContext::getProgramInfoLog):
(ForbidSynchronousCallContext::getRenderbufferParameteriv):
(ForbidSynchronousCallContext::getShaderInfoLog):
(ForbidSynchronousCallContext::getShaderPrecisionFormat):
(ForbidSynchronousCallContext::getShaderSource):
(ForbidSynchronousCallContext::getTexParameterfv):
(ForbidSynchronousCallContext::getTexParameteriv):
(ForbidSynchronousCallContext::getUniformfv):
(ForbidSynchronousCallContext::getUniformiv):
(ForbidSynchronousCallContext::getUniformLocation):
(ForbidSynchronousCallContext::getVertexAttribfv):
(ForbidSynchronousCallContext::getVertexAttribiv):
(ForbidSynchronousCallContext::getVertexAttribOffset):
(TEST):
(LoseContextOnFirstGetContext):
(LoseContextOnFirstGetContext::LoseContextOnFirstGetContext):
(ContextThatDoesNotSupportMemoryManagmentExtensions):
(ContextThatDoesNotSupportMemoryManagmentExtensions::ContextThatDoesNotSupportMemoryManagmentExtensions):
(ContextThatDoesNotSupportMemoryManagmentExtensions::prepareTexture):
(ContextThatDoesNotSupportMemoryManagmentExtensions::setMemoryAllocationChangedCallbackCHROMIUM):
(ContextThatDoesNotSupportMemoryManagmentExtensions::getString):
(ClearCountingContext):
(ClearCountingContext::ClearCountingContext):
(ClearCountingContext::clear):
(ClearCountingContext::clearCount):
- tests/TiledLayerChromiumTest.cpp:
- 1:31 PM Changeset in webkit [126472] by
-
- 2 edits in branches/safari-536.26-branch/LayoutTests
Updated the expected results for this test after r125463.
- platform/mac/fast/table/multiple-captions-display-expected.txt:
- 1:29 PM Changeset in webkit [126471] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Removing media/track/track-mode.html - resolved.
[Chromium] Removing media/track/track-cues-cuechange.html - appears to be no longer failing.
Unreviewed gardening.
- platform/chromium/TestExpectations:
- 1:27 PM Changeset in webkit [126470] by
-
- 4 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Web pages are zoomed out to much on initial load
https://bugs.webkit.org/show_bug.cgi?id=94830
Reviewed by Adam Treat.
Patch by Jacky Jiang <zhajiang@rim.com>
PR: 193943
Browser continuously adds paddings to the left and right sides of the
main contents which makes the main contents even smaller.
The issue can be reproduced on the desktop websites such as
huffingtonpost.ca, bloomberg.com, online.wsj.com, nytimes.com,
yahoo.com, thestar.com, sina.com.cn, sohu.com and so on.
The root cause is that we layout those contents at the width of 1280
although the fixed width of the main contents of those websites is
less than 1000, which results in adding the paddings.
To fix this, we need to get back to the default max layout size
1024 * 768, which will make the main contents of those popular websites
take full advantage of the screen real estate and look much better.
Internally reviewed by Adam Treat.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::fixedLayoutSize):
(BlackBerry::WebKit::WebPagePrivate::recomputeVirtualViewportFromViewportArguments):
- Api/WebPage_p.h:
(WebPagePrivate):
- WebKitSupport/RenderQueue.cpp:
(BlackBerry::WebKit::RenderQueue::splittingFactor):
- 1:22 PM Changeset in webkit [126469] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
- DEPS:
- 12:46 PM Changeset in webkit [126468] by
-
- 4 edits in trunk/Source/WebCore
Flexbox doesn't need to compute logical height for stretched items in row flow
https://bugs.webkit.org/show_bug.cgi?id=94807
Patch by Shezan Baig <shezbaig.wk@gmail.com> on 2012-08-23
Reviewed by Tony Chang.
Change logicalHeightConstrainedByMinMax to
constrainLogicalHeightByMinMax. The new method doesn't compute the
MainOrPreferred logical height (that computation has been moved back to
computeLogicalHeight). RenderFlexibleBox now just constrains the
stretchedLogicalHeight by min/max.
No new tests. This is a cleanup of bug 94237.
- rendering/RenderBox.cpp:
(WebCore::RenderBox::constrainLogicalHeightByMinMax): Instead of
computing the MainOrPreferred logical height, just constrain the given
logical height by MinSize and MaxSize.
(WebCore::RenderBox::computeLogicalHeight): Compute the MainOrPreferred
logical height before constraining by min/max.
- rendering/RenderBox.h:
(RenderBox):
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::applyStretchAlignmentToChild): Use
constrainLogicalHeightByMinMax to constrain the stretchedLogicalHeight.
- 12:43 PM Changeset in webkit [126467] by
-
- 4 edits in releases/WebKitGTK/webkit-1.10
Unreviewed. Update NEWS and configure.ac for 1.9.90 release
- 12:20 PM Changeset in webkit [126466] by
-
- 91 edits in trunk/LayoutTests
[EFL] Update pixel test expectations for layout test fast/forms/
https://bugs.webkit.org/show_bug.cgi?id=94687
Unreviewed, rebaseline.
Some tests have wrong pixel test expectations. They should be replaced.
Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-08-23
- platform/efl/fast/forms/003-expected.png:
- platform/efl/fast/forms/006-expected.png:
- platform/efl/fast/forms/007-expected.png:
- platform/efl/fast/forms/HTMLOptionElement_label01-expected.png:
- platform/efl/fast/forms/HTMLOptionElement_label02-expected.png:
- platform/efl/fast/forms/HTMLOptionElement_label03-expected.png:
- platform/efl/fast/forms/HTMLOptionElement_label04-expected.png:
- platform/efl/fast/forms/HTMLOptionElement_label05-expected.png:
- platform/efl/fast/forms/basic-buttons-expected.png:
- platform/efl/fast/forms/basic-inputs-expected.png:
- platform/efl/fast/forms/button-align-expected.png:
- platform/efl/fast/forms/button-cannot-be-nested-expected.png:
- platform/efl/fast/forms/button-default-title-expected.png:
- platform/efl/fast/forms/button-generated-content-expected.png:
- platform/efl/fast/forms/button-inner-block-reuse-expected.png:
- platform/efl/fast/forms/button-sizes-expected.png:
- platform/efl/fast/forms/button-style-color-expected.png:
- platform/efl/fast/forms/button-table-styles-expected.png:
- platform/efl/fast/forms/button-text-transform-expected.png:
- platform/efl/fast/forms/button-white-space-expected.png:
- platform/efl/fast/forms/control-clip-expected.png:
- platform/efl/fast/forms/control-clip-overflow-expected.png:
- platform/efl/fast/forms/control-restrict-line-height-expected.png:
- platform/efl/fast/forms/disabled-select-change-index-expected.png:
- platform/efl/fast/forms/encoding-test-expected.png:
- platform/efl/fast/forms/fieldset-align-expected.png:
- platform/efl/fast/forms/file/file-input-direction-expected.png:
- platform/efl/fast/forms/file/file-input-disabled-expected.png:
- platform/efl/fast/forms/floating-textfield-relayout-expected.png:
- platform/efl/fast/forms/form-hides-table-expected.png:
- platform/efl/fast/forms/image-border-expected.png:
- platform/efl/fast/forms/input-appearance-bkcolor-expected.png:
- platform/efl/fast/forms/input-appearance-default-bkcolor-expected.png:
- platform/efl/fast/forms/input-appearance-focus-expected.png:
- platform/efl/fast/forms/input-appearance-preventDefault-expected.png:
- platform/efl/fast/forms/input-appearance-selection-expected.png:
- platform/efl/fast/forms/input-appearance-visibility-expected.png:
- platform/efl/fast/forms/input-appearance-width-expected.png:
- platform/efl/fast/forms/input-button-sizes-expected.png:
- platform/efl/fast/forms/input-disabled-color-expected.png:
- platform/efl/fast/forms/input-double-click-selection-gap-bug-expected.png:
- platform/efl/fast/forms/input-field-text-truncated-expected.png:
- platform/efl/fast/forms/input-readonly-dimmed-expected.png:
- platform/efl/fast/forms/input-readonly-empty-expected.png:
- platform/efl/fast/forms/input-spaces-expected.png:
- platform/efl/fast/forms/input-table-expected.png:
- platform/efl/fast/forms/input-text-click-inside-expected.png:
- platform/efl/fast/forms/input-text-option-delete-expected.png:
- platform/efl/fast/forms/input-text-self-emptying-click-expected.png:
- platform/efl/fast/forms/input-text-word-wrap-expected.png:
- platform/efl/fast/forms/input-type-text-min-width-expected.png:
- platform/efl/fast/forms/input-value-expected.png:
- platform/efl/fast/forms/input-width-expected.png:
- platform/efl/fast/forms/listbox-bidi-align-expected.png:
- platform/efl/fast/forms/listbox-scrollbar-incremental-load-expected.png:
- platform/efl/fast/forms/listbox-width-change-expected.png:
- platform/efl/fast/forms/menulist-clip-expected.png:
- platform/efl/fast/forms/menulist-option-wrap-expected.png:
- platform/efl/fast/forms/menulist-width-change-expected.png:
- platform/efl/fast/forms/minWidthPercent-expected.png:
- platform/efl/fast/forms/negativeLineHeight-expected.png:
- platform/efl/fast/forms/option-index-expected.png:
- platform/efl/fast/forms/option-script-expected.png:
- platform/efl/fast/forms/option-strip-whitespace-expected.png:
- platform/efl/fast/forms/option-text-clip-expected.png:
- platform/efl/fast/forms/search-display-none-cancel-button-expected.png:
- platform/efl/fast/forms/search-vertical-alignment-expected.png:
- platform/efl/fast/forms/searchfield-heights-expected.png:
- platform/efl/fast/forms/select-align-expected.png:
- platform/efl/fast/forms/select-block-background-expected.png:
- platform/efl/fast/forms/select-change-listbox-size-expected.png:
- platform/efl/fast/forms/select-change-listbox-to-popup-expected.png:
- platform/efl/fast/forms/select-change-popup-to-listbox-expected.png:
- platform/efl/fast/forms/select-dirty-parent-pref-widths-expected.png:
- platform/efl/fast/forms/select-display-none-style-resolve-expected.png:
- platform/efl/fast/forms/select-initial-position-expected.png:
- platform/efl/fast/forms/select-item-background-clip-expected.png:
- platform/efl/fast/forms/select-list-box-with-height-expected.png:
- platform/efl/fast/forms/select-size-expected.png:
- platform/efl/fast/forms/select-visual-hebrew-expected.png:
- platform/efl/fast/forms/select/optgroup-rendering-expected.png:
- platform/efl/fast/forms/tabbing-input-iframe-expected.png:
- platform/efl/fast/forms/targeted-frame-submission-expected.png:
- platform/efl/fast/forms/text-style-color-expected.png:
- platform/efl/fast/forms/textAreaLineHeight-expected.png:
- platform/efl/fast/forms/textarea-align-expected.png:
- platform/efl/fast/forms/textarea-width-expected.png:
- platform/efl/fast/forms/textfield-focus-ring-expected.png:
- platform/efl/fast/forms/textfield-outline-expected.png:
- platform/efl/fast/forms/visual-hebrew-text-field-expected.png:
- 12:16 PM Changeset in webkit [126465] by
-
- 4 edits in trunk/Source/WebCore
[V8] V8ScriptInstance is much more complicated than necessary
https://bugs.webkit.org/show_bug.cgi?id=94785
Reviewed by Kentaro Hara.
V8ScriptInstance just needs to be a one-line wrapper around OwnHandle.
- bindings/v8/OwnHandle.h:
(WebCore::OwnHandle::get):
- bindings/v8/ScriptInstance.cpp:
(WebCore::V8ScriptInstance::V8ScriptInstance):
(WebCore::V8ScriptInstance::~V8ScriptInstance):
(WebCore::V8ScriptInstance::instance):
- bindings/v8/ScriptInstance.h:
(WebCore::V8ScriptInstance::create):
(V8ScriptInstance):
- 12:08 PM Changeset in webkit [126464] by
-
- 11 edits in trunk
Serialization of JavaScript values does not appear to respect new HTML5 Structured Clone semantics
https://bugs.webkit.org/show_bug.cgi?id=65292
Patch by Christophe Dumez <Christophe Dumez> on 2012-08-23
Reviewed by Oliver Hunt.
Source/JavaScriptCore:
Add function to construct a StringObject from a JSValue.
Similar functions already exist for NumberObject and
BooleanObject for example.
Export several symbols so address linking errors in
WebCore.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- runtime/BooleanObject.h:
(BooleanObject):
- runtime/NumberObject.h:
(NumberObject):
(JSC):
- runtime/StringObject.cpp:
(JSC::constructString):
(JSC):
- runtime/StringObject.h:
(JSC):
Source/WebCore:
JSC now correctly serialize Boolean, Number and String objects as per
the structured clone algorithm specification. This patch reduces the
delta with the V8 implementation of SerializedScriptValue.
No new tests, already tested by fast/dom/Window/window-postmessage-clone.html
- bindings/js/SerializedScriptValue.cpp:
(WebCore):
(WebCore::CloneSerializer::dumpStringObject):
(CloneSerializer):
(WebCore::CloneSerializer::dumpIfTerminal):
(WebCore::CloneDeserializer::readTerminal):
LayoutTests:
Update expected results for fast/dom/Window/window-postmessage-clone.html
now that String, Boolean and Number object are correctly serialized with
JSC.
- fast/dom/Window/window-postmessage-clone-expected.txt:
- platform/gtk/fast/dom/Window/window-postmessage-clone-expected.txt:
- 12:01 PM Changeset in webkit [126463] by
-
- 6 edits in trunk
create different WebKit::WebMediaPlayer based on URL
https://bugs.webkit.org/show_bug.cgi?id=91301
Patch by Wei Jia <wjia@chromium.org> on 2012-08-23
Reviewed by Adam Barth.
Source/WebKit/chromium:
Pass URL to WebFrameClient::createMediaPlayer(). This allows creation
of different WebMediaPlayer implementations based on the URL.
- public/WebFrameClient.h:
(WebKit::WebFrameClient::createMediaPlayer): add URL as additional argument.
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::createWebMediaPlayer): add URL as additional argument.
(WebKit::WebMediaPlayerClientImpl::loadInternal):
Tools:
Pass URL to createMediaPlayer. This corresponds to change in base
class WebKit::WebFrameClient.
- DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createMediaPlayer): add URL as additional argument.
- DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):
- 12:00 PM Changeset in webkit [126462] by
-
- 2 edits in branches/safari-536.26-branch/LayoutTests
Updated the expected results for this test after r125463.
- platform/mac/fast/repaint/block-layout-inline-children-float-positioned-expected.txt:
- 11:56 AM Changeset in webkit [126461] by
-
- 8 edits in trunk/Source
IndexedDB: Move onSuccess(IDBDatabaseBackendInterface) to IDBOpenDBRequest
https://bugs.webkit.org/show_bug.cgi?id=94757
Reviewed by Tony Chang.
Source/WebCore:
Move the implementation of IDBCallbacks::onSuccess(IDBDatabaseBackendInterface)
from IDBRequest to the new IDBOpenDBRequest, which is the only request type that
should be receiving that callback.
No new tests - no functional changes.
- Modules/indexeddb/IDBCallbacks.h:
(IDBCallbacks):
(WebCore::IDBCallbacks::onSuccess):
- Modules/indexeddb/IDBOpenDBRequest.cpp:
(WebCore::IDBOpenDBRequest::onUpgradeNeeded):
(WebCore::IDBOpenDBRequest::onSuccess):
(WebCore):
- Modules/indexeddb/IDBOpenDBRequest.h:
(IDBOpenDBRequest):
- Modules/indexeddb/IDBRequest.cpp:
- Modules/indexeddb/IDBRequest.h:
Source/WebKit/chromium:
Drop onSuccess(IDBDatabaseBackendImpl) overload from test, as it is no longer
implemented by IDBRequest.
- tests/IDBRequestTest.cpp:
(WebCore::TEST):
- 11:47 AM Changeset in webkit [126460] by
-
- 2 edits in trunk/LayoutTests
Web Inspector: three layout tests crashing with assertion failure
https://bugs.webkit.org/show_bug.cgi?id=94829
Unreviewed. Expanded suppressions.
- platform/chromium/TestExpectations:
- 11:45 AM Changeset in webkit [126459] by
-
- 6 edits2 adds in trunk
[CSSRegions]Crash when moving anonymous block children inside a named flow
https://bugs.webkit.org/show_bug.cgi?id=90865
Patch by Andrei Onea <onea@adobe.com> on 2012-08-23
Reviewed by Abhishek Arya.
Source/WebCore:
When an anonymous block's children are detached in RenderBlock::collapseAnonymousBoxChild, the reference
to their enclosingRenderFlowThread is lost and causes a crash in RenderObject::willBeRemovedFromTree.
Because of this, we now maintain the enclosingRenderFlowThread during the whole lifetime of the
RenderBlock::collapseAnonymousBoxChild function, using a CurrentRenderFlowThreadMaintainer local.
Test: fast/regions/move-anonymous-block-inside-named-flow-crash.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::collapseAnonymousBoxChild):
- rendering/RenderFlowThread.cpp:
(WebCore::CurrentRenderFlowThreadMaintainer::CurrentRenderFlowThreadMaintainer):
(WebCore):
(WebCore::CurrentRenderFlowThreadMaintainer::~CurrentRenderFlowThreadMaintainer):
Moved CurrentRenderFlowThreadMaintaner declaration from .cpp to .h, so that we can access it from
RenderBlock::collapseAnonymousBoxChild.
- rendering/RenderFlowThread.h:
(CurrentRenderFlowThreadMaintainer):
(WebCore):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::willBeRemovedFromTree):
LayoutTests:
Added test for crash which happens when the children of an anonymous block
inside a flow thread are moved.
- fast/regions/move-anonymous-block-inside-named-flow-crash-expected.txt:
- fast/regions/move-anonymous-block-inside-named-flow-crash.html:
- 11:43 AM Changeset in webkit [126458] by
-
- 1 edit3 adds in trunk/LayoutTests
Add test for decodeAudioData
https://bugs.webkit.org/show_bug.cgi?id=92620
Patch by Li Yin <li.yin@intel.com> on 2012-08-23
Reviewed by Chris Rogers.
Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioContext-section
This test checks if successCallback or errorCallback can be invoked correctly when
there is a correct or error decoding.
- webaudio/decode-audio-data-basic-expected.txt: Added.
- webaudio/decode-audio-data-basic.html: Added.
- webaudio/resources/media/invalid-audio-file.txt: Added.
- 11:41 AM Changeset in webkit [126457] by
-
- 2 edits in trunk
[wx] Unreviewed build fix. Disable compilation of WebDOM file for now,
add the opentype directory, and remove old ATSUI files no longer in the tree.
- 11:37 AM Changeset in webkit [126456] by
-
- 2 edits in trunk/Source/WebCore
[wx] Unreviewed build fix. Add wx to the list of platforms that use CoreText
APIs on Mac.
- 11:36 AM Changeset in webkit [126455] by
-
- 2 edits in trunk/Source/WebKit/chromium
Convert ScrollableArea ASSERT_NOT_REACHED virtuals into pure virtuals
https://bugs.webkit.org/show_bug.cgi?id=93306
Unreviewed build fix.
- src/ScrollbarGroup.h:
- 11:35 AM Changeset in webkit [126454] by
-
- 2 edits in trunk/Source/WebCore
[wx] Unreviewed build fix. Don't rely on implicit casts, explicitly use the
Cursor constructor that takes a platform cursor for creating native cursors.
- 11:28 AM Changeset in webkit [126453] by
-
- 5 edits in trunk
[EFL] Use WTF_USE_SOUP instead BUILDING_SOUP
https://bugs.webkit.org/show_bug.cgi?id=94744
Reviewed by Gustavo Noronha Silva.
.:
There is no need to define BUILDING_SOUP if only WTF_USE_SOUP
is used.
- GNUmakefile.am:
- Source/cmake/OptionsEfl.cmake:
Source/WebKit2:
Use #if defined(WTF_USE_SOUP) instead of #if defined(BUILDING_SOUP)
since the former is used everywhere.
- Shared/API/c/WKBase.h:
- 11:28 AM Changeset in webkit [126452] by
-
- 5 edits in trunk/Source/WebCore
Remove redundant check for negative values when using WebCore::Color::alpha()
https://bugs.webkit.org/show_bug.cgi?id=94811
Patch by Bruno de Oliveira Abinader <Bruno de Oliveira Abinader> on 2012-08-23
Reviewed by Eric Seidel.
Though alpha() returns a signed value (int), its value is stored on an unsigned
typedef (RGBA32) and is safeguarded by alphaChannel() that its value never goes
beyond 255, so no integer overflow, thus we can safely remove redundant check
for negative values while using it.
This change does not affect behavior, so no new tests needed.
- platform/graphics/Image.cpp:
(WebCore::Image::fillWithSolidColor):
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintFillLayerExtended):
(WebCore::RenderBoxModelObject::boxShadowShouldBeAppliedToBackground): Using hasAlpha() for readibility.
- rendering/RenderView.cpp:
(WebCore::RenderView::paintBoxDecorations):
- rendering/style/RenderStyle.h:
- 11:20 AM Changeset in webkit [126451] by
-
- 2 edits in trunk/LayoutTests
Web Inspector: three layout tests crashing with assertion failure
https://bugs.webkit.org/show_bug.cgi?id=94829
Unreviewed Chromium gardening. Suppressed failing tests.
- platform/chromium/TestExpectations:
- 11:20 AM Changeset in webkit [126450] by
-
- 4 edits1 add in trunk
[Gtk] Move feature defines processing into a GNUmakefile that's simple to autogenerate
https://bugs.webkit.org/show_bug.cgi?id=87127
Reviewed by Martin Robinson.
.:
Add 'feature_defines_defaults' and 'feature_defines_overrides' variables
and define them, along with 'feature_defines' (changed from the all-caps version),
before webcore_cppflags.
- GNUmakefile.am:
Source/WebCore:
List all the feature defines with their default value in
GNUmakefile.features.am and append them to the 'feature_defines_defaults'.
variable.
In GNUmakefile.am, include the GNUmakefile.features.am. When checking the
AM conditionals for feature-enabling, append the appropriate define to
'feature_defines_overrides'.
After all such overrides are performed, append the proper define (of which
value was possibly overridden) for each feature to the 'feature_defines'
variable. Finally, append all these defines to webcore_cppflags in the form
of macros for preprocessing.
No new tests - no new functionality.
- GNUmakefile.am:
- GNUmakefile.features.am: Added.
- 11:12 AM Changeset in webkit [126449] by
-
- 2 edits in branches/safari-536.26-branch/LayoutTests
Updated the expected results for this test after r125463.
- fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.txt:
- 11:02 AM Changeset in webkit [126448] by
-
- 2 edits in trunk/Source/WebKit2
[EFL][WK2] Free ewk context data on program exit.
https://bugs.webkit.org/show_bug.cgi?id=94808
Patch by Christophe Dumez <Christophe Dumez> on 2012-08-23
Reviewed by Kenneth Rohde Christiansen.
Make sure the default Ewk_Context gets freed
on program exit.
The patch also fixes leaking of WKContextRef
inside Ewk_Context which should have been
adopted.
- UIProcess/API/efl/ewk_context.cpp:
(_Ewk_Context::_Ewk_Context):
(ewk_context_default_get):
- 10:55 AM Changeset in webkit [126447] by
-
- 2 edits in trunk/Source/WTF
Fixed a fastMallocForbid/Allow compile error for some compilers
https://bugs.webkit.org/show_bug.cgi?id=94775
Reviewed by Gavin Barraclough.
- wtf/FastMalloc.h:
(WTF::fastMallocForbid()):
(WTF::fastMallocAllow()): Export, since these are called by JavaScriptCore.
- 10:51 AM Changeset in webkit [126446] by
-
- 4 edits in trunk/Source/WebCore
[V8] ScheduledAction is ugly and needs a cleanup
https://bugs.webkit.org/show_bug.cgi?id=94784
Reviewed by Eric Seidel.
This patch updates ScheduledAction to use modern WebKit machinery, like
OwnHandle and Vector.
- bindings/v8/OwnHandle.h:
(OwnHandle):
- bindings/v8/ScheduledAction.cpp:
(WebCore::ScheduledAction::ScheduledAction):
(WebCore::ScheduledAction::~ScheduledAction):
(WebCore::ScheduledAction::execute):
- bindings/v8/ScheduledAction.h:
(WebCore):
(ScheduledAction):
(WebCore::ScheduledAction::ScheduledAction):
- 10:45 AM Changeset in webkit [126445] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: dblclick on Timeline overview no longer selects entire timeline range
https://bugs.webkit.org/show_bug.cgi?id=94826
Reviewed by Vsevolod Vlasov.
Only install a glass pane for drag-n-drop upon first mouseout event -- otherwise, glass pane
will interfere with double clicks.
- inspector/front-end/UIUtils.js:
(WebInspector._elementDragStart.onMouseOut):
(WebInspector._elementDragStart):
(WebInspector._elementDragEnd):
- 10:41 AM Changeset in webkit [126444] by
-
- 22 edits in trunk/Source
Convert ScrollableArea ASSERT_NOT_REACHED virtuals
https://bugs.webkit.org/show_bug.cgi?id=93306
Reviewed by Darin Adler.
Source/WebCore:
ASSERT_NOT_REACHED is a bad way to make sure that a virtual function
gets an override, because it only fails at run-time in debug builds.
To fix this, convert the virtuals in ScrollableArea that have
ASSERT_NOT_REACHED to be either pure virtual or implemented directly
in ScrollableArea. Add implementations where necessary to make derived
classes concrete.
Additionally, consistently add OVERRIDE for virtual functions in
derived classes that override ScrollableArea methods.
- WebCore.exp.in:
- page/FrameView.h:
(FrameView):
- platform/ScrollView.h:
(ScrollView):
- platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::scrollPosition):
(WebCore):
(WebCore::ScrollableArea::minimumScrollPosition):
(WebCore::ScrollableArea::maximumScrollPosition):
(WebCore::ScrollableArea::visibleContentRect):
- platform/ScrollableArea.h:
(ScrollableArea):
(WebCore::ScrollableArea::overhangAmount):
- platform/chromium/FramelessScrollView.cpp:
(WebCore::FramelessScrollView::isOnActivePage):
(WebCore):
(WebCore::FramelessScrollView::scrollableAreaBoundingBox):
- platform/chromium/FramelessScrollView.h:
(FramelessScrollView):
- platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenuWin::visibleHeight):
(WebCore):
(WebCore::PopupMenuWin::visibleWidth):
(WebCore::PopupMenuWin::contentsSize):
(WebCore::PopupMenuWin::isOnActivePage):
(WebCore::PopupMenuWin::scrollableAreaBoundingBox):
- platform/win/PopupMenuWin.h:
(PopupMenuWin):
- rendering/RenderListBox.cpp:
- rendering/RenderListBox.h:
(RenderListBox):
Source/WebKit/chromium:
Add implementations where necessary to make derived classes concrete.
Add OVERRIDE for ScrollableArea functions.
- src/ScrollbarGroup.h:
(ScrollbarGroup):
(WebKit::ScrollbarGroup::scrollCornerRect):
- tests/ScrollAnimatorNoneTest.cpp:
(MockScrollableArea):
Source/WebKit/win:
Add implementations where necessary to make derived classes concrete.
Add OVERRIDE for ScrollableArea functions.
- WebScrollBar.cpp:
(WebScrollBar::visibleHeight):
(WebScrollBar::visibleWidth):
(WebScrollBar::contentsSize):
(WebScrollBar::isOnActivePage):
(WebScrollBar::scrollableAreaBoundingBox):
- WebScrollBar.h:
(WebScrollBar):
Source/WebKit2:
Add implementations where necessary to make derived classes concrete.
Add OVERRIDE for ScrollableArea functions.
- UIProcess/win/WebPopupMenuProxyWin.cpp:
(WebKit::WebPopupMenuProxyWin::visibleHeight):
(WebKit):
(WebKit::WebPopupMenuProxyWin::visibleWidth):
(WebKit::WebPopupMenuProxyWin::contentsSize):
(WebKit::WebPopupMenuProxyWin::scrollableAreaBoundingBox):
- UIProcess/win/WebPopupMenuProxyWin.h:
(WebPopupMenuProxyWin):
- WebProcess/Plugins/PDF/BuiltInPDFView.h:
- 10:23 AM Changeset in webkit [126443] by
-
- 7 edits in trunk
getComputedStyle returns wrong value for CSS3 2D transformations
https://bugs.webkit.org/show_bug.cgi?id=94211
Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-08-23
Reviewed by Simon Fraser.
Source/WebCore:
When computed style is calculated for CSS3 2D transformation, content
box size is used. According to W3C specification, object's bounding
box should be used. This patch fixes transformation matrix calculation.
Layout tests getComputedStyle-transform.html and computed-style-origin.html
were modified to test changes.
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::computedTransform):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
(WebCore::pixelSnappedSizingBox): Removed unused method
LayoutTests:
This change fixes getComputedStyle-transform.html test.
Before this change, the test doesn't do anything.
When new transformation value is set, it immediately read
back as an old value, thus computed style is equal to
an old style. Moreover, expected result is never checked.
Added new test case to computed-style-origin.html layout test.
- fast/css/getComputedStyle/getComputedStyle-transform-expected.txt:
- fast/css/getComputedStyle/getComputedStyle-transform.html:
- transforms/2d/computed-style-origin-expected.txt:
- transforms/2d/computed-style-origin.html:
- 10:08 AM Changeset in webkit [126442] by
-
- 6 edits2 adds in trunk
Distributed nodes should not share styles.
https://bugs.webkit.org/show_bug.cgi?id=90661
Patch by Takashi Sakamoto <tasak@google.com> on 2012-08-23
Reviewed by Hajime Morita.
Source/WebCore:
styleForElement tries to use previous sibling's style for distributed
nodes. However distributed nodes are children of a shadow host, but
the nodes are not siblings as the result of distribution.
The spec is:
http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shadow-dom-subtrees
So sharing previous sibling's style should be disabled for distrbuted
nodes.
Test: fast/dom/shadow/style-of-distributed-node.html
- css/StyleResolver.cpp:
(WebCore::StyleResolver::StyleResolver):
Initialized m_distributedToInsertionPoint. Its initial value is false.
(WebCore::StyleResolver::initForStyleResolve):
After invoking NodeRenderingContext, if the context returns any
insertion point, set m_distributedToInsertionPoint to be true.
Otherwise, false. The value is used in styleForElement.
(WebCore::StyleResolver::styleForElement):
If m_distributedToInsertionPoint is true, disable local sibling style
cache.
- css/StyleResolver.h:
(StyleResolver):
Added a new member variable, m_distributedToInsertionPoint.
The variable keeps whether the m_element is distributed to an
insertion point.
LayoutTests:
- fast/dom/shadow/style-of-distributed-node-expected.txt: Added.
- fast/dom/shadow/style-of-distributed-node.html: Added.
- fast/dom/shadow/user-modify-inheritance-expected.txt:
As this patch also change the user-modify-inheritance's test result,
updated the expected result.
- fast/dom/shadow/user-modify-inheritance.html:
Added FIXME comment.
- 9:52 AM Changeset in webkit [126441] by
-
- 6 edits in trunk/Source/WebCore
Replace access ot HTMLMediaElement from MediaPlayerPrivateBlackBerry with methods in MediaPlayerClient - updated with notes from initial reviews. https://bugs.webkit.org/show_bug.cgi?id=84291
Reviewed by Eric Carlson.
Code standard compliance - no functional change, so no new tests required.
- html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::mediaPlayerExitFullscreen): (WebCore): (WebCore::HTMLMediaElement::mediaPlayerIsVideo): (WebCore::HTMLMediaElement::mediaPlayerContentBoxRect): (WebCore::HTMLMediaElement::mediaPlayerSetSize): (WebCore::HTMLMediaElement::mediaPlayerPause): (WebCore::HTMLMediaElement::mediaPlayerPlay): (WebCore::HTMLMediaElement::mediaPlayerIsPaused): (WebCore::HTMLMediaElement::mediaPlayerHostWindow): (WebCore::HTMLMediaElement::mediaPlayerWindowClipRect):
- html/HTMLMediaElement.h: (HTMLMediaElement):
- platform/graphics/MediaPlayer.h: (WebCore): (WebCore::MediaPlayerClient::mediaPlayerExitFullscreen): (WebCore::MediaPlayerClient::mediaPlayerIsVideo): (WebCore::MediaPlayerClient::mediaPlayerContentBoxRect): (WebCore::MediaPlayerClient::mediaPlayerSetSize): (WebCore::MediaPlayerClient::mediaPlayerPause): (WebCore::MediaPlayerClient::mediaPlayerPlay): (WebCore::MediaPlayerClient::mediaPlayerIsPaused): (WebCore::MediaPlayerClient::mediaPlayerHostWindow): (WebCore::MediaPlayerClient::mediaPlayerWindowClipRect):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate): (WebCore::MediaPlayerPrivate::load): (WebCore::MediaPlayerPrivate::paint): (WebCore::MediaPlayerPrivate::resizeSourceDimensions): (WebCore::MediaPlayerPrivate::updateStates): (WebCore::MediaPlayerPrivate::onPauseStateChanged): (WebCore::MediaPlayerPrivate::onPlayNotified): (WebCore::MediaPlayerPrivate::onPauseNotified): (WebCore::MediaPlayerPrivate::onAuthenticationNeeded): (WebCore::MediaPlayerPrivate::showErrorDialog): (WebCore::MediaPlayerPrivate::platformWindow): (WebCore::MediaPlayerPrivate::isElementPaused): (WebCore::MediaPlayerPrivate::isTabVisible):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate):
Patch by John Griggs <jgriggs@rim.com> on 2012-08-23
- 9:33 AM Changeset in webkit [126440] by
-
- 2 edits in releases/WebKitGTK/webkit-1.10/Source/WTF
[GTK] Disable the parallel garbage collector for the 1.10 stable release
https://bugs.webkit.org/show_bug.cgi?id=94823
Reviewed by Carlos Garcia Campos.
The parallel garbage collector is still causing some flaky crashes, so we should
probably disable it for the stable release.
- wtf/Platform.h:
- 9:26 AM Changeset in webkit [126439] by
-
- 2 edits in trunk
[GTK] The tarball should be called webkitgtk-x.x.x.tar.xz
https://bugs.webkit.org/show_bug.cgi?id=94572
Patch by Martin Robinson <mrobinson@igalia.com> on 2012-08-23
Reviewed by Carlos Garcia Campos.
Change the name of the tarball to match the name of the library
and to disambiguate it from other WebKit ports.
- configure.ac: Update the tarball name.
- 9:24 AM Changeset in webkit [126438] by
-
- 5 edits2 adds in trunk
Text Autosizing: Multiply large fonts less, as they are already more legible.
https://bugs.webkit.org/show_bug.cgi?id=94227
Patch by John Mellor <johnme@chromium.org> on 2012-08-23
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Rather than uniformly multiplying font sizes by the multiplier (derived
from the width of the block), we should multiply fonts that are already
large less, since they are already more legible hence there is less need
for them to grow.
However it is still important to maintain differentiation between text
that the author specified to be of different sizes.
This algorithm multiplies text by the multiplier up until a predefined
"pleasant" font size; beyond that the computedSize goes up with
specifiedSize but at a gradient of less than 1 in order to gradually
fade out the size increase; finally for very large specifiedSizes the
computedSize will be the same as the specifiedSize.
For further details, including a graph, please see the bug report.
Test: fast/text-autosizing/various-font-sizes.html
- rendering/TextAutosizer.cpp:
(WebCore::TextAutosizer::computeAutosizedFontSize):
Implements the custom multiplication. See comment for details.
- rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::lineHeight):
Use computeAutosizedFontSize instead of directly multiplying.
(WebCore::RenderStyle::setFontSize):
Use computeAutosizedFontSize instead of directly multiplying.
LayoutTests:
Added test demonstrating how various font sizes are affected.
- fast/text-autosizing/various-font-sizes-expected.html: Added.
- fast/text-autosizing/various-font-sizes.html: Added.
- 9:21 AM Changeset in webkit [126437] by
-
- 17 edits1 add in trunk/Source/WebCore
Remove dependency on RenderStyle from FractionalLayoutBoxExtent and LayoutBox
https://bugs.webkit.org/show_bug.cgi?id=94146
Reviewed by Eric Seidel.
FractionalLayoutBoxExtent and LayoutBox currently have a dependency on
RenderStyle to resolve writing mode and text direction.
This is undesirable and breaks encapsulation.
Change FractionalLayoutBoxExtent and LengthBox to take a writing mode
parameter, and text direction as needed, instead of a pointer to a
RenderStyle object.
No new tests, no change in functionality.
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
Add new WritingMode.h file.
- css/CSSPrimitiveValueMappings.h:
- css/CSSProperty.h:
- css/CSSToStyleMap.h:
Change includes as needed.
- platform/LengthBox.h:
- platform/LengthBox.cpp:
(WebCore::LengthBox::logicalLeft):
(WebCore::LengthBox::logicalRight):
(WebCore::LengthBox::before):
(WebCore::LengthBox::after):
Change methods to take a WirtingMode parameter instead of a RenderStyle pointer.
(WebCore::LengthBox::start):
(WebCore::LengthBox::end):
Change methods to take WritingMode and TextDirection parameters instead of a RenderStyle pointer.
- platform/graphics/FractionalLayoutBoxExtent.h:
- platform/graphics/FractionalLayoutBoxExtent.cpp:
(WebCore::FractionalLayoutBoxExtent::logicalTop):
(WebCore::FractionalLayoutBoxExtent::logicalBottom):
(WebCore::FractionalLayoutBoxExtent::logicalLeft):
(WebCore::FractionalLayoutBoxExtent::logicalRight):
(WebCore::FractionalLayoutBoxExtent::before):
(WebCore::FractionalLayoutBoxExtent::after):
(WebCore::FractionalLayoutBoxExtent::setBefore):
(WebCore::FractionalLayoutBoxExtent::setAfter):
(WebCore::FractionalLayoutBoxExtent::mutableLogicalLeft):
(WebCore::FractionalLayoutBoxExtent::mutableLogicalRight):
(WebCore::FractionalLayoutBoxExtent::mutableBefore):
(WebCore::FractionalLayoutBoxExtent::mutableAfter):
Change methods to take a WritingMode parameter instead of a RenderStyle pointer.
(WebCore::FractionalLayoutBoxExtent::start):
(WebCore::FractionalLayoutBoxExtent::end):
(WebCore::FractionalLayoutBoxExtent::setStart):
(WebCore::FractionalLayoutBoxExtent::setEnd):
Change methods to take WritingMode and TextDirection parameters instead of a RenderStyle pointer.
- platform/text/TextDirection.h:
(WebCore::isLeftToRightDirection):
Add convenience method.
- platform/text/WritingMode.h: Added.
Move WritingMode enum from RenderStyleConstants to new file.
(WebCore::isHorizontalWritingMode):
(WebCore::isFlippedLinesWritingMode):
(WebCore::isFlippedBlocksWritingMode):
Add convenience methods for working with writing modes.
- rendering/InlineFlowBox.cpp:
- rendering/RenderBox.cpp:
- rendering/RenderBox.h:
- rendering/style/RenderStyle.h:
Update calls to FractionalLayoutBoxExtent/LengthBox to pass WritingMode/
TextDirection as needed.
- rendering/style/RenderStyleConstants.h:
Remove WritingMode enum as it is now in a dedicated file.
- 9:11 AM WebKit Team edited by
- Move myself from committer to reviewer list (diff)
- 9:01 AM Changeset in webkit [126436] by
-
- 2 edits in trunk/Tools
Unreviewed, upgrade gyuyoung to reviewer.
http://lists.webkit.org/pipermail/webkit-dev/2012-August/022004.html
- Scripts/webkitpy/common/config/committers.py:
- 8:59 AM Changeset in webkit [126435] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: introduce canFilter on panel (otherwise we check for function existence).
https://bugs.webkit.org/show_bug.cgi?id=94820
Reviewed by Alexander Pavlov.
Drive-by: fix for network panel sorting null pointer access.
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkPanel.prototype.performSearch):
(WebInspector.NetworkPanel.prototype.canFilter):
- inspector/front-end/Panel.js:
(WebInspector.Panel.prototype.replaceAllWith):
(WebInspector.Panel.prototype.canFilter):
(WebInspector.Panel.prototype.performFilter):
- inspector/front-end/SearchController.js:
(WebInspector.SearchController.prototype._updateFilterVisibility):
(WebInspector.SearchController.prototype._performFilter):
- 8:58 AM Changeset in webkit [126434] by
-
- 2 edits in trunk/Source/WebKit2
[EFL][WK2] ewk_intent_request API test does not free Eina_List
https://bugs.webkit.org/show_bug.cgi?id=94809
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-08-23
Reviewed by Kenneth Rohde Christiansen.
The used Eina_List should be freed due to ewk_intent_suggestions_get() documentation.
- UIProcess/API/efl/tests/test_ewk2_intents.cpp:
(onIntentReceived):
- 8:48 AM Changeset in webkit [126433] by
-
- 2 edits in trunk
Unreviewed. Bump WebKitGTK+ version number.
- configure.ac: Bump version number to 1.11.0 now that we branched
for 1.10.
- 8:46 AM Changeset in webkit [126432] by
-
- 6 edits in trunk/Source/WebCore
Web Inspector: introduce TimelineGrid.Calculator interface.
https://bugs.webkit.org/show_bug.cgi?id=94819
Reviewed by Alexander Pavlov.
This way we can compile TimelineGrid properly.
- inspector/front-end/MemoryStatistics.js:
(WebInspector.MemoryStatistics.prototype._calculateVisibleIndexes):
- inspector/front-end/TimelineGrid.js:
(WebInspector.TimelineGrid.prototype.updateDividers):
(WebInspector.TimelineGrid.Calculator):
(WebInspector.TimelineGrid.Calculator.prototype.computePosition):
(WebInspector.TimelineGrid.Calculator.prototype.formatTime):
(WebInspector.TimelineGrid.Calculator.prototype.minimumBoundary):
(WebInspector.TimelineGrid.Calculator.prototype.maximumBoundary):
(WebInspector.TimelineGrid.Calculator.prototype.boundarySpan):
- inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewCalculator.prototype.computePosition):
(WebInspector.TimelineOverviewCalculator.prototype.computeBarGraphPercentages):
(WebInspector.TimelineOverviewCalculator.prototype.setWindow):
(WebInspector.TimelineOverviewCalculator.prototype.formatTime):
(WebInspector.TimelineOverviewCalculator.prototype.maximumBoundary):
(WebInspector.TimelineOverviewCalculator.prototype.minimumBoundary):
(WebInspector.TimelineOverviewCalculator.prototype.boundarySpan):
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._shouldShowFrames):
(WebInspector.TimelineCalculator.prototype.computePosition):
(WebInspector.TimelineCalculator.prototype.computeBarGraphPercentages):
(WebInspector.TimelineCalculator.prototype.setWindow):
(WebInspector.TimelineCalculator.prototype.formatTime):
(WebInspector.TimelineCalculator.prototype.maximumBoundary):
(WebInspector.TimelineCalculator.prototype.minimumBoundary):
(WebInspector.TimelineCalculator.prototype.boundarySpan):
- 8:42 AM Changeset in webkit [126431] by
-
- 9 edits in trunk/Source
[Chromium] Unnecessary delay when starting to update resources with an inactive vsync timer.
https://bugs.webkit.org/show_bug.cgi?id=94719
Patch by David Reveman <reveman@chromium.org> on 2012-08-23
Reviewed by James Robinson.
Source/WebCore:
Replace nextTickTime() with nextTickTimeIfActivated() and return
appropriate value when timer is inactive.
No new tests.
- platform/graphics/chromium/cc/CCDelayBasedTimeSource.cpp:
(WebCore::CCDelayBasedTimeSource::nextTickTimeIfActivated):
(WebCore::CCDelayBasedTimeSource::nextTickTarget):
(WebCore):
(WebCore::CCDelayBasedTimeSource::postNextTickTask):
- platform/graphics/chromium/cc/CCDelayBasedTimeSource.h:
- platform/graphics/chromium/cc/CCFrameRateController.cpp:
(WebCore::CCFrameRateController::nextTickTimeIfActivated):
- platform/graphics/chromium/cc/CCFrameRateController.h:
(CCFrameRateController):
- platform/graphics/chromium/cc/CCScheduler.cpp:
(WebCore::CCScheduler::processScheduledActions):
- platform/graphics/chromium/cc/CCTimeSource.h:
(CCTimeSource):
Source/WebKit/chromium:
- tests/CCSchedulerTestCommon.h:
- 8:36 AM Changeset in webkit [126430] by
-
- 6 edits in trunk/Source/WebCore
Web Inspector: make treeoutline.js compiler-friendly
https://bugs.webkit.org/show_bug.cgi?id=94818
Reviewed by Alexander Pavlov.
This change declares base methods on TreeElement so that we did not need to check for their existence.
- inspector/front-end/AdvancedSearchController.js:
(WebInspector.FileBasedSearchResultsPane.prototype._appendShowMoreMatchesElement):
(WebInspector.FileBasedSearchResultsPane.prototype._addFileTreeElement):
- inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeElement.prototype.onselect):
- inspector/front-end/SidebarPane.js:
(WebInspector.SidebarPane.prototype.expand):
(WebInspector.SidebarPane.prototype.onexpand):
(WebInspector.SidebarPane.prototype.collapse):
- inspector/front-end/treeoutline.js:
(TreeOutline.prototype._treeKeyDown):
(TreeOutline.prototype._searchInputKeyDown):
(TreeElement.prototype._fireDidChange):
(TreeElement.prototype._attach):
(TreeElement.treeElementDoubleClicked):
(TreeElement.prototype.collapse):
(TreeElement.prototype.expand):
(TreeElement.prototype.reveal):
(TreeElement.prototype.select):
(TreeElement.prototype.deselect):
(TreeElement.prototype.onpopulate):
(TreeElement.prototype.onenter):
(TreeElement.prototype.ondelete):
(TreeElement.prototype.onspace):
(TreeElement.prototype.onattach):
(TreeElement.prototype.onexpand):
(TreeElement.prototype.oncollapse):
(TreeElement.prototype.ondblclick):
(TreeElement.prototype.onreveal):
(TreeElement.prototype.onselect):
- 8:34 AM Changeset in webkit [126429] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: use temporary directory for modules generated by compile-front-end.py
https://bugs.webkit.org/show_bug.cgi?id=94804
Reviewed by Pavel Feldman.
Create temporary directory for generated js modules and remove the directory
after the compilation.
- inspector/compile-front-end.py:
- 8:11 AM Changeset in webkit [126428] by
-
- 3 edits in trunk/Source/WebKit2
[Qt][WK2] Helper functions used by the raw webview tests should not be guarded by HAVE_QTQUICK
Reviewed by Simon Hausmann.
This fixes the build if the QtQuick module is not present.
- UIProcess/API/qt/tests/util.cpp:
(messageHandler):
(suppressDebugOutput):
- UIProcess/API/qt/tests/util.h:
- 8:09 AM Changeset in webkit [126427] by
-
- 2 edits in trunk/Source/WebCore
[Qt] Fix make install on Windows
https://bugs.webkit.org/show_bug.cgi?id=94816
Reviewed by Laszlo Gombos.
This old left-over rule for Windows to add dlltarget to INSTALLS caused
various bugs: WebCore's Makefile had an actual install target that
tried to install the WebCore static library and it also screwed up
api.pri's install rule by overriding what is usually set up for qt
modules, i.e. the install path was missing INSTALL_ROOT. We don't need
these rules at all, the default qmake features take care of setting up
target install rules accordingly.
- WebCore.pri:
- 8:08 AM Changeset in webkit [126426] by
-
- 11 edits1 add in trunk
Web Inspector: extract ParsedURL into a separate file.
https://bugs.webkit.org/show_bug.cgi?id=94817
Reviewed by Alexander Pavlov.
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- inspector/compile-front-end.py:
- inspector/front-end/AuditRules.js:
(WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
(WebInspector.AuditRules.CssInHeadRule.prototype.doRun.externalStylesheetsReceived):
(WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.cssBeforeInlineReceived):
- inspector/front-end/DefaultTextEditor.js:
(WebInspector.TextEditorMainPanel.prototype._rewriteHref):
- inspector/front-end/ParsedURL.js: Added.
(WebInspector.ParsedURL):
(WebInspector.ParsedURL.completeURL):
(WebInspector.ParsedURL.prototype.get displayName):
(String.prototype.asParsedURL):
- inspector/front-end/ResourceUtils.js:
(WebInspector.resourceURLForRelatedNode):
- inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertyTreeElement.prototype.updateTitle.linkifyURL):
- inspector/front-end/WebKit.qrc:
- inspector/front-end/inspector.html:
- 8:05 AM WebKitGTK/1.10.x edited by
- (diff)
- 7:59 AM Changeset in webkit [126425] by
-
- 12 edits2 adds in trunk/Source/WebCore
Web Inspector: register context menu providers for lazily loaded panels.
https://bugs.webkit.org/show_bug.cgi?id=94812
Reviewed by Alexander Pavlov.
- Panel descriptors now register providers that lazily load panels on demand.
- Removed custom profiles context provider infrastructure in favor of generic one.
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- inspector/compile-front-end.py:
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkPanel):
- inspector/front-end/NetworkPanelDescriptor.js: Added.
(WebInspector.NetworkPanelDescriptor):
(WebInspector.NetworkPanelDescriptor.prototype.appendApplicableItems):
- inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertiesSection.prototype._contextMenuEventFired):
- inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel):
(WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
(WebInspector.ProfilesPanel.prototype.appendApplicableItems.didReceiveHeapObjectId):
(WebInspector.ProfilesPanel.prototype.appendApplicableItems):
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel):
- inspector/front-end/ScriptsPanelDescriptor.js: Added.
(WebInspector.ScriptsPanelDescriptor):
(WebInspector.ScriptsPanelDescriptor.prototype.appendApplicableItems):
- inspector/front-end/WebKit.qrc:
- inspector/front-end/inspector.html:
- inspector/front-end/inspector.js:
(WebInspector._panelDescriptors):
- 7:55 AM Changeset in webkit [126424] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
- DEPS:
- 6:42 AM WebKitGTK/1.10.x created by
- Add page for stable 1.10.x releases
- 6:33 AM Changeset in webkit [126423] by
-
- 1 copy in releases/WebKitGTK/webkit-1.10
Branching for the WebKitGTK+ 1.10 stable release
- 6:24 AM Changeset in webkit [126422] by
-
- 3 edits in trunk/Source/WebCore
Unreviewed. Fix make distcheck.
- GNUmakefile.am: Add idl files in Modules/quota to EXTRA_DIST.
- GNUmakefile.list.am: Add missing files to compilation.
- 6:21 AM Changeset in webkit [126421] by
-
- 11 edits in trunk
REGRESSION(r126306): it broke the plugin process
https://bugs.webkit.org/show_bug.cgi?id=94797
Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2012-08-23
Reviewed by Xan Lopez.
.:
- GNUmakefile.am:
Source/WebCore:
- GNUmakefile.am:
- GNUmakefile.list.am:
Source/WebKit/gtk:
- GNUmakefile.am:
Source/WebKit2:
- GNUmakefile.am:
Tools:
- GNUmakefile.am:
- 6:11 AM Changeset in webkit [126420] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed trivial build fix for Qt/Mac on OS X 10.6: Avoid using an
enum value that clashes with an existing class name that's used in the
same file.
- bridge/qt/qt_runtime.cpp:
(JSC::Bindings::valueRealType):
(JSC::Bindings::convertValueToQVariant):
- 6:04 AM Changeset in webkit [126419] by
-
- 6 edits5 adds in trunk/Tools
[EFL] Add url bar to EWebLauncher and MiniBrowser/Efl.
https://bugs.webkit.org/show_bug.cgi?id=63966
Reviewed by Kenneth Rohde Christiansen.
EWebLauncher and MiniBrowser/Efl did not have functionality that users
navigates the site which they want.
This patch adds the urlbar and functionality to load url which users want.
- CMakeLists.txt:
Added to share urlbar theme for both EWebLauncher and MiniBrowser/Efl.
- EWebLauncher/CMakeLists.txt:
Added urlbar.c and dependency of urlbar theme.
In addition, changed macro name to THEME_DIR to share the code easily.
- EWebLauncher/ControlTheme/CMakeLists.txt: Added for urlbar theme.
- EWebLauncher/ControlTheme/entry.edc: Implemented urlbar theme.
- EWebLauncher/main.c:
Implemented to use the urlbar.
In addition, remove unnecessary border of webview to control webview and urlbar easily.
(_ELauncher):
(on_url_changed):
(browserCreate):
(closeWindow):
(findThemePath):
- EWebLauncher/url_bar.c: Implemented functionality of the urlbar.
(_url_bar_url_get_with_protocol):
(on_urlbar_key_down):
(on_urlbar_mouse_down):
(on_urlbar_focus_out):
(url_bar_add):
(url_bar_del):
(url_bar_url_set):
- EWebLauncher/url_bar.h: Added.
- MiniBrowser/efl/CMakeLists.txt:
- MiniBrowser/efl/main.c: Implemented to use the urlbar.
(_MiniBrowser):
(on_url_changed):
(browserCreate):
- 4:50 AM Changeset in webkit [126418] by
-
- 5 edits in trunk/Tools
[nrwt, WTR] Remove workaround for timeout handing from r126062
https://bugs.webkit.org/show_bug.cgi?id=94609
Reviewed by Dirk Pranke.
Don't try to reset state if a timeout occured but inform
the harness that the web process is no longer reliable.
- Scripts/webkitpy/layout_tests/port/driver.py:
(Driver.run_test): Remove the workaround. Furthermore, handle the case when
the pid is unknown.
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::run):
- WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::invoke):
(WTR::TestInvocation::dumpWebProcessUnresponsiveness):
- WebKitTestRunner/TestInvocation.h:
(TestInvocation):
- 4:34 AM Changeset in webkit [126417] by
-
- 1 edit13 adds in trunk/LayoutTests
Unreviewed GTK gardening.
Adding platform-specific baselines required after r126343 and r126372.
- platform/gtk/fast/overflow/paged-x-div-expected.png: Added.
- platform/gtk/fast/overflow/paged-x-div-expected.txt: Added.
- platform/gtk/fast/overflow/paged-x-on-root-expected.png: Added.
- platform/gtk/fast/overflow/paged-x-on-root-expected.txt: Added.
- platform/gtk/fast/overflow/paged-y-div-expected.png: Added.
- platform/gtk/fast/overflow/paged-y-div-expected.txt: Added.
- platform/gtk/fast/overflow/paged-y-on-root-expected.png: Added.
- platform/gtk/fast/overflow/paged-y-on-root-expected.txt: Added.
- platform/gtk/media/track: Added.
- platform/gtk/media/track/track-cue-rendering-horizontal-expected.png: Added.
- platform/gtk/media/track/track-cue-rendering-horizontal-expected.txt: Added.
- platform/gtk/media/track/track-cue-rendering-vertical-expected.png: Added.
- platform/gtk/media/track/track-cue-rendering-vertical-expected.txt: Added.
- 4:30 AM Changeset in webkit [126416] by
-
- 2 edits in trunk/Source/WebCore
Build fix for WinCE after r126359.
- rendering/RenderThemeWinCE.cpp:
- 3:49 AM WebKit Team edited by
- Adding myself as committer (diff)
- 3:46 AM Changeset in webkit [126415] by
-
- 2 edits in trunk/PerformanceTests
WebInspector: unreviewed single line test fix.
The test has to open profiles panel explicitly because it is creating lazily.
- inspector/heap-snapshot-performance-test.js:
- 3:31 AM Changeset in webkit [126414] by
-
- 11 edits2 deletes in trunk
Unreviewed, rolling out r126391.
http://trac.webkit.org/changeset/126391
https://bugs.webkit.org/show_bug.cgi?id=94302
Breaks Chromium browser_tests AccessibilityFooter,
AccessibilityListMarkers, AccessibilityUI
Source/WebCore:
- accessibility/AccessibilityNodeObject.cpp:
- accessibility/AccessibilityNodeObject.h:
(AccessibilityNodeObject):
- accessibility/AccessibilityObject.cpp:
- accessibility/AccessibilityObject.h:
(AccessibilityObject):
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::title):
(WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
(WebCore::AccessibilityRenderObject::isDescendantOfElementType):
- accessibility/AccessibilityRenderObject.h:
(AccessibilityRenderObject):
LayoutTests:
- accessibility/editable-webarea-context-menu-point.html:
- accessibility/focusable-div-expected.txt: Removed.
- accessibility/focusable-div.html: Removed.
- accessibility/table-detection.html:
- platform/mac/accessibility/listbox-hit-test.html:
- 3:08 AM Changeset in webkit [126413] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [WebGL] Allow collecting calls for Resource objects affecting their states
https://bugs.webkit.org/show_bug.cgi?id=94686
Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-08-23
Reviewed by Pavel Feldman.
Allow collecting calls for WebGL Resource objects affecting their states.
Clone Call's mutable arguments before pushing it to the log.
- inspector/InjectedScriptWebGLModuleSource.js:
(.):
- 2:52 AM Changeset in webkit [126412] by
-
- 3 edits in trunk/Source/WebCore
[BlackBerry] draw <video> on <canvas> does not work
https://bugs.webkit.org/show_bug.cgi?id=94791
PR #195866
Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2012-08-23
Reviewed by George Staikos.
Re-implement MediaPlayerPrivate::paintCurrentFrameInContext() in the
blackberry port. This method is mainly called from <canvas>, and it
is supposed to paint video frames using software rendering path.
On the other hand, MediaPlayerPrivate::paint() will choose accelerated
rendering if possible.
media/video-canvas-alpha.html covers this.
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
(WebCore::MediaPlayerPrivate::paint):
(WebCore):
(WebCore::MediaPlayerPrivate::paintCurrentFrameInContext):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
(MediaPlayerPrivate):
- 2:42 AM Changeset in webkit [126411] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Chromium gardeing.
- platform/chromium/TestExpectations:
- 2:24 AM Changeset in webkit [126410] by
-
- 2 edits in trunk/LayoutTests
2012-08-23 Dominic Cooney <dominicc@chromium.org>
[Chromium] Unreviewed gardening.
notifications-event-listener-crash.html test has non-deterministic
output on Chromium XP debug.
- platform/chromium/TestExpectations:
- 2:04 AM Changeset in webkit [126409] by
-
- 2 edits in trunk/LayoutTests
[EFL] Gardening after r126350
https://bugs.webkit.org/show_bug.cgi?id=94787
Unreviewed gardening.
Gardening of media/track/track-cue-rendering-snap-to-lines-not-set.html.
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-08-23
- platform/efl/TestExpectations:
- 2:02 AM Changeset in webkit [126408] by
-
- 1 edit2 adds in trunk/LayoutTests
Unreviewed Chromium gardeing.
- platform/chromium-mac-snowleopard/media/track/track-cue-rendering-horizontal-expected.txt: Added.
- platform/chromium-mac-snowleopard/media/track/track-cue-rendering-vertical-expected.txt: Added.
- 1:50 AM Changeset in webkit [126407] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed. Build fix for r126399.
- bindings/v8/ScriptInstance.cpp:
- 1:47 AM Changeset in webkit [126406] by
-
- 3 edits in trunk/Source/WebKit2
[WK2] Refactoring: WebBackForwardList getters should be const
https://bugs.webkit.org/show_bug.cgi?id=94711
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-08-23
Reviewed by Kenneth Rohde Christiansen.
Before the change were not consistent with each other
(WebBackForwardList::entries() was const but WebBackForwardList::currentIndex() was not).
Besides having not const getters is not a good practice in C++. (Please read
Scott Meyers. Effective C++ (3rd edition). ISBN: 0-321-33487-6.
Item 3: 'Use const whenever possible').
- UIProcess/WebBackForwardList.cpp:
(WebKit::WebBackForwardList::backListCount):
(WebKit::WebBackForwardList::forwardListCount):
(WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
(WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):
- UIProcess/WebBackForwardList.h:
(WebKit::WebBackForwardList::currentIndex):
(WebBackForwardList):
- 1:32 AM Changeset in webkit [126405] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: treat 0 cookies as "no cookies" and render it accordingly in the UI
https://bugs.webkit.org/show_bug.cgi?id=94732
Reviewed by Yury Semikhatsky.
- inspector/front-end/RequestCookiesView.js:
(WebInspector.RequestCookiesView.prototype.get _gotCookies):
- 1:26 AM Changeset in webkit [126404] by
-
- 4 edits in trunk/LayoutTests
Unreviewed gardening.
A follow-up to r126400, updating various baselines for fast/js/constructor-length.html
so they are correct.
- platform/gtk/fast/js/constructor-length-expected.txt:
- platform/mac/fast/js/constructor-length-expected.txt:
- platform/qt/fast/js/constructor-length-expected.txt:
- 1:10 AM Changeset in webkit [126403] by
-
- 2 edits in trunk/LayoutTests
[EFL] Added missing SKIP keyword to platform/efl/TestExpectations
https://bugs.webkit.org/show_bug.cgi?id=94781
Unreviewed. Some layout tests which are expected missing should not make
expected result files during layout test.
Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-08-23
- platform/efl/TestExpectations:
- 1:08 AM Changeset in webkit [126402] by
-
- 2 edits in trunk/Tools
Unreviewed. Adding myself to committers list.
- Scripts/webkitpy/common/config/committers.py:
- 12:54 AM Changeset in webkit [126401] by
-
- 15 edits2 adds in trunk
[EFL] Use vertical slider theme when the slider is vertical
https://bugs.webkit.org/show_bug.cgi?id=93838
Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-08-23
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Applied vertical slider theme to the vertical sliders. The height
of the vertical slider is wrong when it's applied horizontal
slider theme.
And do not resize slider when its size is not specified. It's natural
to use the default value of renderer.
No new tests. It's covered by existing range and datalist tests.
- platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::adjustSliderTrackStyle):
LayoutTests:
Updated expected result because theme of the slider is changed.
The size of the renderSlider is changed to 129x12 from 129x11
because it has the slider thumb 12x12 and it is not resized when
the size is not specified.
- platform/efl/fast/dom/HTMLInputElement/input-slider-update-expected.txt:
- platform/efl/fast/forms/box-shadow-override-expected.png:
- platform/efl/fast/forms/box-shadow-override-expected.txt:
- platform/efl/fast/forms/datalist/input-appearance-range-with-datalist-expected.png: Added.
- platform/efl/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png: Added.
- platform/efl/fast/forms/input-appearance-height-expected.png:
- platform/efl/fast/forms/input-appearance-height-expected.txt:
- platform/efl/fast/forms/range/input-appearance-range-expected.png:
- platform/efl/fast/forms/range/input-appearance-range-expected.txt:
- platform/efl/fast/forms/range/slider-padding-expected.png:
- platform/efl/fast/forms/range/slider-padding-expected.txt:
- platform/efl/fast/forms/range/slider-thumb-shared-style-expected.png:
- platform/efl/fast/forms/range/slider-thumb-shared-style-expected.txt:
- platform/efl/fast/repaint/slider-thumb-drag-release-expected.txt:
- 12:37 AM Changeset in webkit [126400] by
-
- 2 edits in trunk/LayoutTests
Unreviewed gardening.
After the TextTrackCue constructor was updated in r126350 the
expected constructor length is 3. Updating fast/js/constructor-length.html
to reflect that.
- fast/js/constructor-length.html:
- 12:35 AM Changeset in webkit [126399] by
-
- 94 edits in trunk/Source/WebCore
[V8] Remove almost all #include "V8Proxy.h"
https://bugs.webkit.org/show_bug.cgi?id=94777
Reviewed by Adam Barth.
No tests. No change in behavior.
- bindings/v8/NPV8Object.cpp:
- bindings/v8/PageScriptDebugServer.cpp:
- bindings/v8/ScheduledAction.cpp:
- bindings/v8/ScriptController.cpp:
- bindings/v8/ScriptInstance.cpp:
- bindings/v8/ScriptObject.cpp:
- bindings/v8/ScriptRunner.cpp:
- bindings/v8/SerializedScriptValue.cpp:
- bindings/v8/V8AbstractEventListener.cpp:
- bindings/v8/V8Binding.h:
(WebCore):
- bindings/v8/V8BindingMacros.h:
(WebCore):
- bindings/v8/V8Collection.h:
- bindings/v8/V8DOMWindowShell.cpp:
- bindings/v8/V8DOMWrapper.cpp:
- bindings/v8/V8EventListener.cpp:
- bindings/v8/V8GCController.cpp:
- bindings/v8/V8LazyEventListener.cpp:
- bindings/v8/V8NPObject.cpp:
- bindings/v8/V8NPUtils.cpp:
- bindings/v8/V8Proxy.h:
(WebCore):
- bindings/v8/V8Utilities.cpp:
- bindings/v8/WorkerContextExecutionProxy.cpp:
- bindings/v8/WorkerScriptController.cpp:
- bindings/v8/custom/V8ArrayBufferCustom.cpp:
- bindings/v8/custom/V8ArrayBufferViewCustom.h:
- bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
- bindings/v8/custom/V8AudioContextCustom.cpp:
- bindings/v8/custom/V8BlobCustom.cpp:
- bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp:
- bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
- bindings/v8/custom/V8ClipboardCustom.cpp:
- bindings/v8/custom/V8ConsoleCustom.cpp:
- bindings/v8/custom/V8CoordinatesCustom.cpp:
- bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp:
- bindings/v8/custom/V8DOMFormDataCustom.cpp:
- bindings/v8/custom/V8DataViewCustom.cpp:
- bindings/v8/custom/V8DedicatedWorkerContextCustom.cpp:
- bindings/v8/custom/V8DeviceMotionEventCustom.cpp:
- bindings/v8/custom/V8DeviceOrientationEventCustom.cpp:
- bindings/v8/custom/V8DocumentCustom.cpp:
- bindings/v8/custom/V8DocumentLocationCustom.cpp:
- bindings/v8/custom/V8EntryCustom.cpp:
- bindings/v8/custom/V8EntrySyncCustom.cpp:
- bindings/v8/custom/V8EventCustom.cpp:
- bindings/v8/custom/V8HTMLAllCollectionCustom.cpp:
- bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
- bindings/v8/custom/V8HTMLCollectionCustom.cpp:
- bindings/v8/custom/V8HTMLFormElementCustom.cpp:
- bindings/v8/custom/V8HTMLFrameElementCustom.cpp:
- bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp:
- bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
- bindings/v8/custom/V8HTMLInputElementCustom.cpp:
- bindings/v8/custom/V8HTMLLinkElementCustom.cpp:
- bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
- bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
- bindings/v8/custom/V8HTMLOutputElementCustom.cpp:
- bindings/v8/custom/V8HTMLPlugInElementCustom.cpp:
- bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
- bindings/v8/custom/V8HistoryCustom.cpp:
- bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
- bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
- bindings/v8/custom/V8IntentConstructor.cpp:
- bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp:
- bindings/v8/custom/V8LocationCustom.cpp:
- bindings/v8/custom/V8MessageChannelConstructor.cpp:
- bindings/v8/custom/V8MessageEventCustom.cpp:
- bindings/v8/custom/V8MessagePortCustom.cpp:
- bindings/v8/custom/V8MutationCallbackCustom.cpp:
- bindings/v8/custom/V8MutationObserverCustom.cpp:
- bindings/v8/custom/V8NamedNodeMapCustom.cpp:
- bindings/v8/custom/V8NodeCustom.cpp:
- bindings/v8/custom/V8NodeListCustom.cpp:
- bindings/v8/custom/V8NotificationCenterCustom.cpp:
- bindings/v8/custom/V8NotificationCustom.cpp:
- bindings/v8/custom/V8PopStateEventCustom.cpp:
- bindings/v8/custom/V8SQLResultSetRowListCustom.cpp:
- bindings/v8/custom/V8SQLTransactionCustom.cpp:
- bindings/v8/custom/V8SQLTransactionSyncCustom.cpp:
- bindings/v8/custom/V8SVGDocumentCustom.cpp:
- bindings/v8/custom/V8ScriptProfileCustom.cpp:
- bindings/v8/custom/V8ScriptProfileNodeCustom.cpp:
- bindings/v8/custom/V8StorageCustom.cpp:
- bindings/v8/custom/V8StyleSheetListCustom.cpp:
- bindings/v8/custom/V8TrackEventCustom.cpp:
- bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
- bindings/v8/custom/V8WebKitAnimationCustom.cpp:
- bindings/v8/custom/V8WebKitPointConstructor.cpp:
- bindings/v8/custom/V8WebSocketCustom.cpp:
- bindings/v8/custom/V8WorkerContextCustom.cpp:
- bindings/v8/custom/V8WorkerCustom.cpp:
- bindings/v8/custom/V8XMLHttpRequestConstructor.cpp:
- bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
- bindings/v8/custom/V8XSLTProcessorCustom.cpp:
- 12:34 AM Changeset in webkit [126398] by
-
- 1 edit6 deletes in trunk/LayoutTests
Unreviewed Chromium gardeing.
- platform/chromium-linux/media/track/track-cue-rendering-horizontal-expected.txt: Removed.
- platform/chromium-mac-snowleopard/media/track/track-cue-rendering-horizontal-expected.txt: Removed.
- platform/chromium-mac-snowleopard/media/track/track-cue-rendering-vertical-expected.txt: Removed.
- platform/chromium-win-xp/media/track/track-cue-rendering-horizontal-expected.png: Removed.
- platform/chromium-win-xp/media/track/track-cue-rendering-horizontal-expected.txt: Removed.
- platform/chromium-win-xp/media/track/track-cue-rendering-vertical-expected.txt: Removed.