⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Feb 13, 2012:

11:54 PM Changeset in webkit [107677] by mihaip@chromium.org
  • 3 edits
    2 deletes in trunk/Source/WebKit/chromium

[Chromium] Remove BoundObject
https://bugs.webkit.org/show_bug.cgi?id=78531

Reviewed by Pavel Feldman.

Remove the BoundObject class, references to it were removed in r56999.

  • WebKit.gyp:
  • src/BoundObject.cpp: Removed.
  • src/BoundObject.h: Removed.
  • src/WebDevToolsFrontendImpl.cpp:
11:48 PM Changeset in webkit [107676] by pfeldman@chromium.org
  • 5 edits in trunk

[Qt] inspector/styles/undo-add-new-rule.html crashes
https://bugs.webkit.org/show_bug.cgi?id=78502

Reviewed by Yury Semikhatsky.

Source/WebCore:

  • inspector/InspectorStyleSheet.cpp:

(WebCore::InspectorStyleSheet::deleteRule):

LayoutTests:

  • platform/chromium/test_expectations.txt:
  • platform/qt/Skipped:
11:38 PM Changeset in webkit [107675] by noel.gordon@gmail.com
  • 6 edits
    1 move
    2 adds
    2 deletes in trunk/LayoutTests

[chromium] Rebaseline JPEG image results after r107389
https://bugs.webkit.org/show_bug.cgi?id=78454

Unreviewed. Rebaseline #5 of N

  • platform/chromium-linux/fast/images/gray-scale-jpeg-with-color-profile-expected.png:
  • platform/chromium-mac-snowleopard/fast/images/gray-scale-jpeg-with-color-profile-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/images/image-css3-content-data-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/images/ycbcr-with-cmyk-color-profile-expected.png:
  • platform/chromium-win/fast/images/gray-scale-jpeg-with-color-profile-expected.png:
  • platform/chromium-win/fast/images/image-css3-content-data-expected.png: Renamed from LayoutTests/platform/chromium/fast/images/image-css3-content-data-expected.png.
  • platform/chromium-win/fast/images/ycbcr-with-cmyk-color-profile-expected.png:
  • platform/chromium/fast/images/gray-scale-jpeg-with-color-profile-expected.png: Removed.
  • platform/chromium/test_expectations.txt:
  • platform/mac-snowleopard/fast/images/ycbcr-with-cmyk-color-profile-expected.png: Removed.
11:31 PM Changeset in webkit [107674] by commit-queue@webkit.org
  • 1 edit
    2 adds in trunk/Source/WebKit

Initial upstreaming of selection handling code for BlackBerry port
https://bugs.webkit.org/show_bug.cgi?id=78136

Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-02-13
Reviewed by Rob Buis.

Initial upstreaming, no new tests.

  • blackberry/WebKitSupport/SelectionHandler.cpp: Added.
  • blackberry/WebKitSupport/SelectionHandler.h: Added.
11:22 PM Changeset in webkit [107673] by noel.gordon@gmail.com
  • 9 edits
    1 add
    1 delete in trunk/LayoutTests

[chromium] Rebaseline JPEG image results after r107389
https://bugs.webkit.org/show_bug.cgi?id=78454

Unreviewed. Rebaseline #4 of N

  • platform/chromium-linux/fast/block/float/014-expected.png:
  • platform/chromium-linux/fast/repaint/block-layout-inline-children-replaced-expected.png:
  • platform/chromium-mac-leopard/fast/block/float/014-expected.png:
  • platform/chromium-mac-leopard/fast/repaint/block-layout-inline-children-replaced-expected.png:
  • platform/chromium-mac-snowleopard/fast/block/float/014-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/repaint/block-layout-inline-children-replaced-expected.png:
  • platform/chromium-mac/fast/block/float/014-expected.png: Removed.
  • platform/chromium-win/fast/block/float/014-expected.png:
  • platform/chromium-win/fast/repaint/block-layout-inline-children-replaced-expected.png:
  • platform/chromium/test_expectations.txt:
10:45 PM Changeset in webkit [107672] by Nate Chapin
  • 12 edits in trunk

Source/WebCore: Reuse CachedRawResources (e.g., XHRs) that are stored
in the MemoryCache when appropriate.
https://bugs.webkit.org/show_bug.cgi?id=76564

Reviewed by Antti Koivisto.

No new tests, expected behavior covered by existing tests.

  • html/DOMURL.cpp:

(WebCore::DOMURL::revokeObjectURL): Objects shouldn't remain in the

MemoryCache if revokeObjectURL is called on them.

  • inspector/InspectorPageAgent.cpp:

(WebCore::InspectorPageAgent::cachedResourceContent): Add CachedRawResource support.

  • inspector/InspectorResourceAgent.cpp:

(WebCore::InspectorResourceAgent::setCacheDisabled): Immediately

evict resources, rather than waiting for navigation, since XHRs
should hit the cache if it has been disabled.

  • loader/cache/CachedRawResource.cpp:

(CachedRawResourceCallback): Encapsulates the async callback for

a cache hit for CachedRawResources.

(WebCore::CachedRawResource::sendCallbacks): Do the work defered in didAddClient.
(WebCore::CachedRawResource::didAddClient): Scheduled a CachedRawResourceCallback if

we already have a response, since async XHRs may not play nicely with receiving
their data synchronously.

(WebCore::CachedRawResource::removeClient): Ensure we cancel a callback to a client if

it removes itself.

(WebCore::CachedRawResource::canReuse): Provide some basic rules for when a

CachedRawResource can be reused.

  • loader/cache/CachedRawResource.h:
  • loader/cache/CachedResource.h:
  • loader/cache/CachedResourceLoader.cpp:

(WebCore::CachedResourceLoader::determineRevalidationPolicy): Don't automatically reload

CachedRawResources, and add a check for whether this request has already been
made conditional.

  • xml/XMLHttpRequest.cpp:

LayoutTests: Test update for https://bugs.webkit.org/show_bug.cgi?id=76564.

Use sync XHRs instead of async in network-content-replacement-xhr.html,
since the inspector pulls async XHR data off of its CachedResource, instead
of a buffer it controls.

Reviewed by Antti Koivisto.

  • http/tests/inspector/network/network-content-replacement-xhr-expected.txt:
  • http/tests/inspector/network/network-content-replacement-xhr.html:
10:41 PM Changeset in webkit [107671] by noel.gordon@gmail.com
  • 4 edits
    2 moves
    2 adds
    6 deletes in trunk/LayoutTests

[chromium] Rebaseline JPEG image results after r107389
https://bugs.webkit.org/show_bug.cgi?id=78454

Unreviewed. Rebaseline #3 of N

  • fast/backgrounds/size/backgroundSize21-expected.txt: Renamed from LayoutTests/platform/gtk/fast/backgrounds/size/backgroundSize21-expected.txt.
  • fast/backgrounds/size/backgroundSize22-expected.txt: Renamed from LayoutTests/platform/gtk/fast/backgrounds/size/backgroundSize22-expected.txt.
  • platform/chromium-mac-snowleopard/fast/backgrounds/size/backgroundSize21-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/backgrounds/size/backgroundSize22-expected.png: Added.
  • platform/chromium-mac/fast/backgrounds/size/backgroundSize21-expected.png: Removed.
  • platform/chromium-mac/fast/backgrounds/size/backgroundSize22-expected.png: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize21-expected.png:
  • platform/chromium-win/fast/backgrounds/size/backgroundSize22-expected.png:
  • platform/chromium/test_expectations.txt:
  • platform/mac/fast/backgrounds/size/backgroundSize21-expected.txt: Removed.
  • platform/mac/fast/backgrounds/size/backgroundSize22-expected.txt: Removed.
  • platform/qt/fast/backgrounds/size/backgroundSize21-expected.txt: Removed.
  • platform/qt/fast/backgrounds/size/backgroundSize22-expected.txt: Removed.
10:30 PM WebKitIDL edited by haraken@chromium.org
(diff)
10:25 PM Changeset in webkit [107670] by noel.gordon@gmail.com
  • 6 edits
    4 moves
    4 adds
    12 deletes in trunk/LayoutTests

[chromium] Rebaseline JPEG image results after r107389
https://bugs.webkit.org/show_bug.cgi?id=78454

Unreviewed. Rebaseline #2 of N

  • fast/backgrounds/size/backgroundSize17-expected.txt: Renamed from LayoutTests/platform/gtk/fast/backgrounds/size/backgroundSize17-expected.txt.
  • fast/backgrounds/size/backgroundSize18-expected.txt: Renamed from LayoutTests/platform/gtk/fast/backgrounds/size/backgroundSize18-expected.txt.
  • fast/backgrounds/size/backgroundSize19-expected.txt: Renamed from LayoutTests/platform/gtk/fast/backgrounds/size/backgroundSize19-expected.txt.
  • fast/backgrounds/size/backgroundSize20-expected.txt: Renamed from LayoutTests/platform/gtk/fast/backgrounds/size/backgroundSize20-expected.txt.
  • platform/chromium-mac-snowleopard/fast/backgrounds/size/backgroundSize17-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/backgrounds/size/backgroundSize18-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/backgrounds/size/backgroundSize19-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/backgrounds/size/backgroundSize20-expected.png: Added.
  • platform/chromium-mac/fast/backgrounds/size/backgroundSize17-expected.png: Removed.
  • platform/chromium-mac/fast/backgrounds/size/backgroundSize18-expected.png: Removed.
  • platform/chromium-mac/fast/backgrounds/size/backgroundSize19-expected.png: Removed.
  • platform/chromium-mac/fast/backgrounds/size/backgroundSize20-expected.png: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize17-expected.png:
  • platform/chromium-win/fast/backgrounds/size/backgroundSize18-expected.png:
  • platform/chromium-win/fast/backgrounds/size/backgroundSize19-expected.png:
  • platform/chromium-win/fast/backgrounds/size/backgroundSize20-expected.png:
  • platform/chromium/test_expectations.txt:
  • platform/mac/fast/backgrounds/size/backgroundSize17-expected.txt: Removed.
  • platform/mac/fast/backgrounds/size/backgroundSize18-expected.txt: Removed.
  • platform/mac/fast/backgrounds/size/backgroundSize19-expected.txt: Removed.
  • platform/mac/fast/backgrounds/size/backgroundSize20-expected.txt: Removed.
  • platform/qt/fast/backgrounds/size/backgroundSize17-expected.txt: Removed.
  • platform/qt/fast/backgrounds/size/backgroundSize18-expected.txt: Removed.
  • platform/qt/fast/backgrounds/size/backgroundSize19-expected.txt: Removed.
  • platform/qt/fast/backgrounds/size/backgroundSize20-expected.txt: Removed.
9:57 PM Changeset in webkit [107669] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

[chromium] Set opaque flag on SkBitmap in per-tile layer updater
https://bugs.webkit.org/show_bug.cgi?id=78498

Patch by Dana Jansens <danakj@chromium.org> on 2012-02-13
Reviewed by Stephen White.

No new tests.

  • platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp:

(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::prepareRect):

  • platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.h:

(SkPictureCanvasLayerTextureUpdater):
(WebCore::SkPictureCanvasLayerTextureUpdater::layerIsOpaque):

9:28 PM Changeset in webkit [107668] by noel.gordon@gmail.com
  • 5 edits
    2 adds
    2 deletes in trunk/LayoutTests

Rebaseline JPEG image results after r107389
https://bugs.webkit.org/show_bug.cgi?id=78454

Unreviewed. Rebaseline #1 of N

  • platform/chromium-linux/compositing/geometry/vertical-scroll-composited-expected.png:
  • platform/chromium-mac-snowleopard/compositing/geometry/horizontal-scroll-composited-expected.png: Added.
  • platform/chromium-mac-snowleopard/compositing/geometry/vertical-scroll-composited-expected.png: Added.
  • platform/chromium-win/compositing/geometry/horizontal-scroll-composited-expected.png:
  • platform/chromium-win/compositing/geometry/vertical-scroll-composited-expected.png:
  • platform/chromium/compositing/geometry/horizontal-scroll-composited-expected.png: Removed.
  • platform/chromium/compositing/geometry/vertical-scroll-composited-expected.png: Removed.
  • platform/chromium/test_expectations.txt:
9:19 PM Changeset in webkit [107667] by commit-queue@webkit.org
  • 3 edits in trunk/Tools

Add Linux ChromiumOS test results to flakiness dashboard.
https://bugs.webkit.org/show_bug.cgi?id=78495

Patch by Rob Flack <flackr@chromium.org> on 2012-02-13
Reviewed by Ojan Vafai.

  • TestResultServer/static-dashboards/builders.js:
  • TestResultServer/static-dashboards/dashboard_base.js:
9:05 PM Changeset in webkit [107666] by noel.gordon@gmail.com
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed, remove svg/custom/grayscale-gradient-mask.svg CRASH expectation
https://bugs.webkit.org/show_bug.cgi?id=78556

  • platform/chromium/test_expectations.txt:
8:41 PM Changeset in webkit [107665] by wjmaclean@chromium.org
  • 18 edits in trunk/Source

[chromium] Remove obsolete zoom animation pathway.
https://bugs.webkit.org/show_bug.cgi?id=78359

Reviewed by James Robinson.

Source/WebCore:

Tests for existing pathways should not be broken. Tests for removed pathway removed previously.

This patch removes dead code from the previous incarnation of zoom animation for chromium.

  • page/EventHandler.cpp:

(WebCore::EventHandler::handleGestureEvent):

  • page/FrameView.cpp:
  • page/FrameView.h:

(FrameView):

  • platform/ScrollAnimator.cpp:

(WebCore::ScrollAnimator::ScrollAnimator):

  • platform/ScrollAnimator.h:

(ScrollAnimator):

  • platform/ScrollAnimatorNone.cpp:

(WebCore::ScrollAnimatorNone::ScrollAnimatorNone):
(WebCore::ScrollAnimatorNone::animationTimerFired):

  • platform/ScrollAnimatorNone.h:

(ScrollAnimatorNone):

  • platform/ScrollableArea.cpp:
  • platform/ScrollableArea.h:
  • testing/InternalSettings.cpp:
  • testing/InternalSettings.h:

(InternalSettings):

  • testing/InternalSettings.idl:
  • testing/Internals.cpp:

Source/WebKit/chromium:

This patch removes dead code from the previous incarnation of zoom animation for chromium.

  • src/WebViewImpl.cpp:

Source/WebKit2:

This patch removes dead code from the previous incarnation of zoom animation for chromium.

WebProcess/Plugins/PDF/BuiltInPDFView.h:
(BuiltInPDFView):

8:38 PM Changeset in webkit [107664] by noel.gordon@gmail.com
  • 2 edits in trunk/LayoutTests

fast/text/atsui-multiple-renderers.html and related report IMAGE failure on commit queue
https://bugs.webkit.org/show_bug.cgi?id=78544

Unreviewed. Test expectations update: PASS locally on linux but IMAGE on the queue.

  • platform/chromium/test_expectations.txt: fast/text/atsui-multiple-renderers.html fast/text/international/danda-space.html fast/text/international/thai-baht-space.html fast/text/international/thai-line-breaks.html platform/chromium-linux/fast/text/international/complex-joining-using-gpos.html
8:19 PM Changeset in webkit [107663] by shinyak@chromium.org
  • 2 edits in trunk/Source/WebCore

[Regression] r107650 broke the windows build.
https://bugs.webkit.org/show_bug.cgi?id=78569

Build fix, Unreviewed.

The variable defined in switch statement should not escape from the switch statement.

  • dom/Element.cpp:

(WebCore::Element::webkitRegionOverflow):

8:03 PM Changeset in webkit [107662] by commit-queue@webkit.org
  • 6 edits in trunk

[GTK] Mutation Observers build is broken
https://bugs.webkit.org/show_bug.cgi?id=78433

Patch by ChangSeok Oh <ChangSeok Oh> on 2012-02-13
Reviewed by Martin Robinson.

Source/WebCore:

Added some files missed.

No new tests since no new feature.

  • GNUmakefile.list.am:

Tools:

Enabled mutation observers as a default feature for GTK port, too.

  • Scripts/build-webkit:

LayoutTests:

Removed fast/mutation, but added following 3 tests which are needed more time to pass.

GTK port DRT doesn't support some APIs like scheduleAsynchronousKeyDown.
I opened a new bug to deal with it. http://webkit.org/b/78481
And also see http://webkit.org/b/78290
fast/mutation/end-of-task-delivery.html
fast/mutation/inline-event-listener.html

Needed to enable FileSystem API at the same time.
fast/mutation/filesystem-callback-delivery.html

  • platform/gtk/Skipped:
7:49 PM WebKitIDL edited by haraken@chromium.org
(diff)
7:15 PM Changeset in webkit [107661] by hayato@chromium.org
  • 23 edits in trunk

Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
https://bugs.webkit.org/show_bug.cgi?id=77514

Reviewed by Dimitri Glazkov.

NodeType.SHADOW_ROOT_NODE type is finally gone.

Source/WebCore:

  • bindings/js/JSNodeCustom.cpp:

(WebCore::createWrapperInline):

  • bindings/objc/DOM.mm:

(kitClass):

  • bindings/v8/custom/V8NodeCustom.cpp:

(WebCore::toV8Slow):

  • dom/ContainerNode.cpp:

(WebCore::collectTargetNodes):
(WebCore::ContainerNode::replaceChild):

  • dom/Document.cpp:

(WebCore::Document::importNode):
(WebCore::Document::childTypeAllowed):
(WebCore::Document::canReplaceChild):

  • dom/Node.cpp:

(WebCore::Node::dumpStatistics):
(WebCore::Node::isDefaultNamespace):
(WebCore::Node::lookupPrefix):
(WebCore::Node::lookupNamespaceURI):
(WebCore::appendTextContent):
(WebCore::Node::setTextContent):

  • dom/Node.h:
  • dom/Range.cpp:

(WebCore::lengthOfContentsInNode):
(WebCore::Range::processContentsBetweenOffsets):
(WebCore::Range::insertNode):
(WebCore::Range::checkNodeWOffset):
(WebCore::Range::checkNodeBA):
(WebCore::Range::selectNode):
(WebCore::Range::selectNodeContents):
(WebCore::Range::surroundContents):

  • dom/ShadowRoot.cpp:
  • dom/ShadowRoot.h:

(ShadowRoot):
(WebCore::toShadowRoot):

  • editing/FrameSelection.cpp:

(WebCore::nodeIsDetachedFromDocument):
(WebCore):
(WebCore::FrameSelection::textWillBeReplaced):

  • editing/MarkupAccumulator.cpp:

(WebCore::MarkupAccumulator::appendStartMarkup):

  • html/parser/HTMLElementStack.cpp:

(WebCore::HTMLNames::isRootNode):
(WebCore::HTMLElementStack::pushRootNode):

  • html/parser/HTMLElementStack.h:

(WebCore::isInHTMLNamespace):

  • inspector/InspectorDOMAgent.cpp:

(WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
(WebCore::InspectorDOMAgent::buildObjectForNode):

  • xml/XPathUtil.cpp:

(WebCore::XPath::isValidContextNode):

Source/WebKit/chromium:

  • src/WebPageSerializerImpl.cpp:

(WebKit::WebPageSerializerImpl::buildContentForNode):

LayoutTests:

  • fast/dom/shadow/nodetype-expected.txt:
  • fast/dom/shadow/nodetype.html:
  • resources/dump-as-markup.js:

(Markup._get):

6:50 PM Changeset in webkit [107660] by tony@chromium.org
  • 2 edits
    3 adds in trunk/LayoutTests

[chromium] Unreviewed gardening. Small cleanup after r107638.

  • platform/chromium-mac-leopard/css3/filters/crash-hw-sw-switch-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/filter-empty-element-crash-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/crash-hw-sw-switch-expected.png: Added.
  • platform/chromium/test_expectations.txt:
6:40 PM Changeset in webkit [107659] by ojan@chromium.org
  • 5 edits
    4 adds in trunk

Source/JavaScriptCore: Replace old strtod with new strtod
https://bugs.webkit.org/show_bug.cgi?id=68044

Patch by Mark Hahnenberg <mhahnenberg@apple.com> on 2012-02-12
Reviewed by Geoffrey Garen.

  • parser/Lexer.cpp: Added template argument. This version allows junk after numbers.

(JSC::::lex):

  • runtime/JSGlobalObjectFunctions.cpp: Ditto.

(JSC::parseInt):
(JSC::jsStrDecimalLiteral):

  • runtime/LiteralParser.cpp: Ditto.

(JSC::::Lexer::lexNumber):

  • wtf/dtoa.cpp: Replaced old strtod with a new version that uses the new StringToDoubleConverter.

It takes a template argument to allow clients to determine statically whether it should allow
junk after the numbers or not.
(WTF):
(WTF::strtod):

  • wtf/dtoa.h:

(WTF):

  • wtf/text/WTFString.cpp: Added template argument. This version does not allow junk after numbers.

(WTF::toDoubleType):

Source/WebCore: rtl + flex-direction:column is positioning elements incorrectly
https://bugs.webkit.org/show_bug.cgi?id=78555

Reviewed by Tony Chang.

Do the y-axis flipping after we have adjusted the y-position for
flex-align instead of before.

Tests: css3/flexbox/flex-align-baseline.html

css3/flexbox/flex-align-end.html

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::alignChildren):
The amount we adjust by also needs to be flipped for rtl+column,
so the flipping needs to be done after we align the flex items.

LayoutTests: rtl + flex-direction:column is positioning elements incorrectly
https://bugs.webkit.org/show_bug.cgi?id=78555

Reviewed by Tony Chang.

  • css3/flexbox/flex-align-baseline-expected.txt: Added.
  • css3/flexbox/flex-align-baseline.html: Added.
  • css3/flexbox/flex-align-end-expected.txt: Added.
  • css3/flexbox/flex-align-end.html: Added.
  • css3/flexbox/true-centering-expected.txt:
6:39 PM Changeset in webkit [107658] by bashi@chromium.org
  • 2 edits
    14 adds in trunk/LayoutTests

Unreviewed test expectations update.
Rebaselining font-face-synthetic-bold-italic.html and font-face-weight-matching.html.

  • platform/chromium-linux/fast/css/font-face-synthetic-bold-italic-expected.png: Added.
  • platform/chromium-linux/fast/css/font-face-synthetic-bold-italic-expected.txt: Added.
  • platform/chromium-linux/fast/css/font-face-weight-matching-expected.png: Added.
  • platform/chromium-linux/fast/css/font-face-weight-matching-expected.txt: Added.
  • platform/chromium-mac-leopard/fast/css/font-face-synthetic-bold-italic-expected.png: Added.
  • platform/chromium-mac-leopard/fast/css/font-face-weight-matching-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/css/font-face-synthetic-bold-italic-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/css/font-face-synthetic-bold-italic-expected.txt: Added.
  • platform/chromium-mac-snowleopard/fast/css/font-face-weight-matching-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/css/font-face-weight-matching-expected.txt: Added.
  • platform/chromium-win/fast/css/font-face-synthetic-bold-italic-expected.png: Added.
  • platform/chromium-win/fast/css/font-face-synthetic-bold-italic-expected.txt: Added.
  • platform/chromium-win/fast/css/font-face-weight-matching-expected.png: Added.
  • platform/chromium-win/fast/css/font-face-weight-matching-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
6:36 PM Changeset in webkit [107657] by andersca@apple.com
  • 5 edits in trunk/Source/WebCore

The tile cache layer should have its background set to the page background
https://bugs.webkit.org/show_bug.cgi?id=78560
<rdar://problem/10857472>

Reviewed by Sam Weinig.

  • page/FrameView.cpp:

(WebCore::FrameView::recalculateScrollbarOverlayStyle):
Inform the RenderLayerCompositor that the background color has changed.

  • platform/graphics/ca/GraphicsLayerCA.cpp:

(WebCore::GraphicsLayerCA::updateLayerBackgroundColor):
For tile cache layers we don't need a separate contents layer for the background color so
just set the background color on the layer directly.

  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::documentBackgroundColorDidChange):
If the root render layer is using a tile cache layer, update its background color.

6:24 PM Changeset in webkit [107656] by commit-queue@webkit.org
  • 3 edits in trunk/Tools

Allow to configure ENABLE_FTPDIR in build-webkit
https://bugs.webkit.org/show_bug.cgi?id=65098

Patch by Loïc Yhuel <loic.yhuel_ext@softathome.com> on 2012-02-13
Reviewed by Eric Seidel.

Allow to disable ENABLE_FTPDIR by command line.
Remove ENABLE_FTPDIR from --minimal build

  • Scripts/build-webkit: Add entries for ENABLE_FTPDIR (enabled by default)
  • qmake/mkspecs/features/features.prf: ENABLE_FTPDIR must be set to match Platform.h,

as, for Qt platform, build-webkit does not add on command line what it thinks to be default values

6:21 PM Changeset in webkit [107655] by shinyak@chromium.org
  • 2 edits in trunk/Tools

Add shinyak as committer

6:17 PM Changeset in webkit [107654] by eae@chromium.org
  • 6 edits in branches/subpixellayout/Source/WebCore

Remove explicit AppUnit::toFloat calls in places where it is not needed.

6:10 PM Changeset in webkit [107653] by abarth@webkit.org
  • 4 edits in trunk/Tools

Implement start/stop_helper for ChromiumAndroidPort
https://bugs.webkit.org/show_bug.cgi?id=78558

Reviewed by Dirk Pranke.

These functions (and their dependencies) set up the Android device for
testing.

This patch also includes a few tweaks on the previous patch recommended
by dpranke.

  • Scripts/webkitpy/layout_tests/port/chromium_android.py:

(ChromiumAndroidPort.init):
(ChromiumAndroidPort.start_helper):
(ChromiumAndroidPort.stop_helper):
(ChromiumAndroidPort._shut_down_http_server):
(ChromiumAndroidPort):
(ChromiumAndroidPort._push_executable):
(ChromiumAndroidPort._push_fonts):
(ChromiumAndroidPort._restore_system_font):
(ChromiumAndroidPort._push_test_resources):
(ChromiumAndroidPort._push_to_device):
(ChromiumAndroidPort._pull_from_device):
(ChromiumAndroidPort._kill_device_process):
(ChromiumAndroidPort._setup_performance):
(ChromiumAndroidPort._teardown_performance):

  • Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:

(ChromiumAndroidPortTest):

  • Scripts/webkitpy/layout_tests/port/port_testcase.py:

(PortTestCase):
(PortTestCase.make_port):
(PortTestCase.test_default_worker_model):

5:40 PM Changeset in webkit [107652] by benjamin@webkit.org
  • 2 edits in trunk/Source/WebCore

Implement Element.webkitRegionOverflow

[CSSRegions][CSSOM] Implement Element.regionOverflow
https://bugs.webkit.org/show_bug.cgi?id=77863

Patch by Raul Hudea <rhudea@adobe.com> on 2012-02-13
Reviewed by David Hyatt.

On each layout, compute the overflowState for each region belonging to the flow thread

Tests: fast/regions/element-region-overflow-state-vertical-rl.html

fast/regions/element-region-overflow-state.html

  • dom/Element.cpp:

(WebCore::Element::webkitRegionOverflow):
(WebCore):

  • dom/Element.h:
  • dom/Element.idl:
  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::computeOverflow):

  • rendering/RenderFlowThread.cpp:

(WebCore::RenderFlowThread::computeOverflowStateForRegions):
(WebCore):

  • rendering/RenderFlowThread.h:
  • rendering/RenderRegion.cpp:

(WebCore::RenderRegion::RenderRegion):

  • rendering/RenderRegion.h:

(RenderRegion):
(WebCore::RenderRegion::regionState):
(WebCore::RenderRegion::setRegionState):

5:37 PM Changeset in webkit [107651] by mhahnenberg@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

More windows build fixing

5:34 PM Changeset in webkit [107650] by commit-queue@webkit.org
  • 10 edits
    4 adds in trunk

Implement Element.webkitRegionOverflow

[CSSRegions][CSSOM] Implement Element.regionOverflow
https://bugs.webkit.org/show_bug.cgi?id=77863

Patch by Raul Hudea <rhudea@adobe.com> on 2012-02-13
Reviewed by David Hyatt.

Source/WebCore:

On each layout, compute the overflowState for each region belonging to the flow thread

Tests: fast/regions/element-region-overflow-state-vertical-rl.html

fast/regions/element-region-overflow-state.html

  • dom/Element.cpp:

(WebCore::Element::webkitRegionOverflow):
(WebCore):

  • dom/Element.h:
  • dom/Element.idl:
  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::computeOverflow):

  • rendering/RenderFlowThread.cpp:

(WebCore::RenderFlowThread::computeOverflowStateForRegions):
(WebCore):

  • rendering/RenderFlowThread.h:
  • rendering/RenderRegion.cpp:

(WebCore::RenderRegion::RenderRegion):

  • rendering/RenderRegion.h:

(RenderRegion):
(WebCore::RenderRegion::regionState):
(WebCore::RenderRegion::setRegionState):

LayoutTests:

  • fast/regions/element-region-overflow-state-expected.txt: Added.
  • fast/regions/element-region-overflow-state-vertical-rl-expected.txt: Added.
  • fast/regions/element-region-overflow-state-vertical-rl.html: Added.
  • fast/regions/element-region-overflow-state.html: Added.
5:32 PM Changeset in webkit [107649] by ap@apple.com
  • 2 edits in trunk/Source/WebCore

File API IDLs are incorrect in Xcode project
https://bugs.webkit.org/show_bug.cgi?id=78551

Rubber-stamped by Dan Bernstein.

  • WebCore.xcodeproj/project.pbxproj: Corrected paths, and added missing files.
5:27 PM Changeset in webkit [107648] by benjamin@webkit.org
  • 4 edits in trunk/Source/WebCore

SharedBuffer::getSomeData() must support m_dataArray if NETWORK_CFDATA_ARRAY_CALLBACK is defined
https://bugs.webkit.org/show_bug.cgi?id=77718

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-02-13
Reviewed by David Kilzer.

Previously, the last part of SharedBuffer::getSomeData() was systematically accessing
the data from the segments. When NETWORK_CFDATA_ARRAY_CALLBACK is defined, there can
be data in m_dataArray past the segment.

The previous code was making invalid memory access pass the segment vector. This patch
adds support for getting the data out of m_dataArray to make SharedBuffer::getSomeData()
works with NETWORK_CFDATA_ARRAY_CALLBACK.

This is covered by existing tests when NETWORK_CFDATA_ARRAY_CALLBACK is defined.
The test 'fast/events/constructors/track-event-constructor.html' is a reliable test
for this.

  • platform/SharedBuffer.cpp:

(WebCore::SharedBuffer::getSomeData):

  • platform/SharedBuffer.h:

(SharedBuffer):

  • platform/cf/SharedBufferCF.cpp:

(WebCore):
(WebCore::SharedBuffer::copySomeDataFromDataArray):

5:10 PM Changeset in webkit [107647] by oliver@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Executing out of bounds in JSC::Yarr::YarrCodeBlock::execute / JSC::RegExp::match
https://bugs.webkit.org/show_bug.cgi?id=76315

Reviewed by Gavin Barraclough.

Perform a 3 byte compare using two comparisons, rather than trying to perform the
operation with a four byte load.

  • yarr/YarrJIT.cpp:

(JSC::Yarr::YarrGenerator::generatePatternCharacterOnce):

5:07 PM Changeset in webkit [107646] by andersca@apple.com
  • 5 edits in trunk/Source/WebCore

Force slow-scrolling mode when there are position:fixed elements on a page
https://bugs.webkit.org/show_bug.cgi?id=78553
<rdar://problem/10247934>

Reviewed by Dan Bernstein.

Eventually, the scrolling tree will know about fixed positioning layers so their position can be updated
when the scroll layer position is updated. For now we'll take the simple route however.

  • page/FrameView.cpp:

(WebCore::FrameView::addFixedObject):
(WebCore::FrameView::removeFixedObject):
Inform the scrolling coordinator when the number of fixed objects changes between 0 and 1.

  • page/FrameView.h:

(WebCore::FrameView::hasFixedObjects):
Make this public.

  • page/scrolling/ScrollingCoordinator.cpp:

(WebCore::ScrollingCoordinator::frameViewHasSlowRepaintObjectsDidChange):
Call updateShouldUpdateScrollLayerPositionOnMainThread.

(WebCore::ScrollingCoordinator::frameViewHasFixedObjectsDidChange):
Call updateShouldUpdateScrollLayerPositionOnMainThread.

(WebCore::ScrollingCoordinator::updateMainFrameScrollPositionAndScrollLayerPosition):
Make sure to update compositing layers here. Normally, they will be updated by layout but doing a layout
here is too intrusive since it could potentially change the size of the page.

(WebCore::ScrollingCoordinator::updateShouldUpdateScrollLayerPositionOnMainThread):
If we have fixed objects or slow repaint objects we need to update the scroll layer position on the main thread.

5:07 PM Changeset in webkit [107645] by enne@google.com
  • 5 edits in trunk/Source/WebCore

[chromium] Use HashMap<..., OwnPtr<Tile>> for compositor tilemap
https://bugs.webkit.org/show_bug.cgi?id=74154

Reviewed by James Robinson.

Covered by the compositing/ layout tests.

  • platform/graphics/chromium/TiledLayerChromium.cpp:

(WebCore::UpdatableTile::create):
(WebCore::UpdatableTile::UpdatableTile):
(WebCore::TiledLayerChromium::createTile):

  • platform/graphics/chromium/cc/CCLayerTilingData.cpp:

(WebCore::CCLayerTilingData::addTile):
(WebCore::CCLayerTilingData::takeTile):
(WebCore::CCLayerTilingData::tileAt):

  • platform/graphics/chromium/cc/CCLayerTilingData.h:
  • platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:

(WebCore::DrawableTile::create):
(WebCore::DrawableTile::DrawableTile):
(WebCore::CCTiledLayerImpl::createTile):

4:59 PM Changeset in webkit [107644] by Lucas Forschler
  • 5 edits in branches/safari-534.54-branch/Source

Versioning.

4:57 PM Changeset in webkit [107643] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed, removing some tests that have been passing
as far back as the flakiness dashboard's history goes.

  • platform/chromium/test_expectations.txt:
4:56 PM Changeset in webkit [107642] by mhahnenberg@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Windows build fix

4:55 PM Changeset in webkit [107641] by Lucas Forschler
  • 1 copy in tags/Safari-534.54.15

New tag.

4:53 PM Changeset in webkit [107640] by leviw@chromium.org
  • 5 edits in branches/subpixellayout/Source/WebCore/rendering

Converting drawLineForBoxSide to operate on integers (which makes sense). This mostly entails fixing the callers to use pixel snapping.

4:53 PM Changeset in webkit [107639] by jsbell@chromium.org
  • 3 edits
    2 copies in branches/chromium/1025

Merge 107278 - [Chromium] IndexedDB: IDBVersionChangeRequest V8 wrapper not generated as ActiveDOMObject
https://bugs.webkit.org/show_bug.cgi?id=78167

Source/WebCore:

Add ActiveDOMObject annotation to IDBVersionChangeRequest.idl; it is not
automagically inherited from IDBRequest.idl.

Reviewed by Adam Barth.

Test: storage/indexeddb/versionchangerequest-activedomobject.html

  • storage/IDBVersionChangeRequest.idl:

LayoutTests:

Reviewed by Adam Barth.

  • storage/indexeddb/versionchangerequest-activedomobject-expected.txt: Added.
  • storage/indexeddb/versionchangerequest-activedomobject.html: Added.

TBR=jsbell@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9390031

4:48 PM Changeset in webkit [107638] by senorblanco@chromium.org
  • 2 edits
    154 adds
    8 deletes in trunk/LayoutTests

[chromium] New baselines for css3/filters tests (unreviewed).

  • platform/chromium-linux/css3/filters: Added.
  • platform/chromium-linux/css3/filters/crash-hw-sw-switch-expected.png: Added.
  • platform/chromium-linux/css3/filters/effect-blur-hw-expected.png: Added.
  • platform/chromium-linux/css3/filters/effect-brightness-expected.png: Added.
  • platform/chromium-linux/css3/filters/effect-brightness-hw-expected.png: Added.
  • platform/chromium-linux/css3/filters/effect-combined-hw-expected.png: Added.
  • platform/chromium-linux/css3/filters/effect-contrast-hw-expected.png: Added.
  • platform/chromium-linux/css3/filters/effect-saturate-hw-expected.png: Added.
  • platform/chromium-linux/css3/filters/effect-sepia-hw-expected.png: Added.
  • platform/chromium-linux/css3/filters/filter-empty-element-crash-expected.png: Added.
  • platform/chromium-linux/css3/filters/filter-with-transform-expected.png: Added.
  • platform/chromium-linux/css3/filters/nested-filter-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters: Added.
  • platform/chromium-mac-leopard/css3/filters/crash-filter-change-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-blur-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-blur-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-brightness-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-brightness-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-combined-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-combined-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-contrast-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-contrast-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-custom-combined-missing-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-custom-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-custom-parameters-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-drop-shadow-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-drop-shadow-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-grayscale-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-grayscale-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-hue-rotate-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-hue-rotate-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-invert-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-invert-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-opacity-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-opacity-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-saturate-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-saturate-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-sepia-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/effect-sepia-hw-expected.png: Added.
  • platform/chromium-mac-leopard/css3/filters/regions-expanding-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters: Added.
  • platform/chromium-mac-snowleopard/css3/filters/add-filter-rendering-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/crash-filter-change-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-blur-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-blur-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-blur-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-brightness-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-brightness-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-brightness-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-combined-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-combined-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-combined-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-contrast-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-contrast-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-contrast-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-custom-combined-missing-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-drop-shadow-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-drop-shadow-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-drop-shadow-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-grayscale-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-grayscale-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-grayscale-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-hue-rotate-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-hue-rotate-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-hue-rotate-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-invert-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-invert-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-invert-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-opacity-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-opacity-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-opacity-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-saturate-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-saturate-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-saturate-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-sepia-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-sepia-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css3/filters/effect-sepia-hw-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/filter-repaint-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/filter-with-transform-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/filtered-compositing-descendant-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/filtered-inline-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/nested-filter-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/nested-filters-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/regions-expanding-expected.png: Added.
  • platform/chromium-mac-snowleopard/css3/filters/simple-filter-rendering-expected.png: Added.
  • platform/chromium-win/css3/filters: Added.
  • platform/chromium-win/css3/filters/add-filter-rendering-expected.png: Added.
  • platform/chromium-win/css3/filters/crash-filter-change-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-blur-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-blur-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-blur-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-blur-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-brightness-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-brightness-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-brightness-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-brightness-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-combined-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-combined-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-combined-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-combined-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-contrast-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-contrast-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-contrast-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-contrast-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-custom-combined-missing-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-custom-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-custom-parameters-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-drop-shadow-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-drop-shadow-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-drop-shadow-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-drop-shadow-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-grayscale-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-grayscale-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-grayscale-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-grayscale-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-hue-rotate-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-hue-rotate-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-hue-rotate-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-hue-rotate-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-invert-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-invert-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-invert-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-invert-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-opacity-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-opacity-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-opacity-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-opacity-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-saturate-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-saturate-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-saturate-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-saturate-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-sepia-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-sepia-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-sepia-hw-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-sepia-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/filter-region-expected.png: Added.
  • platform/chromium-win/css3/filters/filter-repaint-expected.png: Added.
  • platform/chromium-win/css3/filters/filter-with-transform-expected.png: Added.
  • platform/chromium-win/css3/filters/filtered-compositing-descendant-expected.png: Added.
  • platform/chromium-win/css3/filters/filtered-compositing-descendant-expected.txt: Added.
  • platform/chromium-win/css3/filters/filtered-inline-expected.png: Added.
  • platform/chromium-win/css3/filters/nested-filter-expected.png: Added.
  • platform/chromium-win/css3/filters/nested-filters-expected.png: Added.
  • platform/chromium-win/css3/filters/regions-expanding-expected.png: Added.
  • platform/chromium-win/css3/filters/regions-expanding-expected.txt: Added.
  • platform/chromium-win/css3/filters/simple-filter-rendering-expected.png: Added.
  • platform/chromium/css3/filters: Added.
  • platform/chromium/css3/filters/effect-custom-combined-missing-expected.txt: Added.
  • platform/chromium/css3/filters/effect-custom-disabled-expected.txt: Added.
  • platform/chromium/css3/filters/effect-custom-expected.txt: Added.
  • platform/chromium/css3/filters/effect-custom-parameters-expected.txt: Added.
  • platform/chromium/css3/filters/filter-property-computed-style-expected.txt: Added.
  • platform/chromium/css3/filters/filter-property-parsing-expected.txt: Added.
  • platform/chromium/css3/filters/filter-repaint-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
  • platform/qt/css3/filters/add-filter-rendering-expected.txt: Removed.
  • platform/qt/css3/filters/crash-filter-change-expected.txt: Removed.
  • platform/qt/css3/filters/filter-region-expected.txt: Removed.
  • platform/qt/css3/filters/filter-with-transform-expected.txt: Removed.
  • platform/qt/css3/filters/filtered-inline-expected.txt: Removed.
  • platform/qt/css3/filters/nested-filter-expected.txt: Removed.
  • platform/qt/css3/filters/nested-filters-expected.txt: Removed.
  • platform/qt/css3/filters/simple-filter-rendering-expected.txt: Removed.
4:48 PM Changeset in webkit [107637] by abarth@webkit.org
  • 4 edits in trunk/Tools

Implement enough of ChromiumAndroidPort to make ChromiumAndroidPortTest pass
https://bugs.webkit.org/show_bug.cgi?id=78550

Reviewed by Eric Seidel.

Much of this code just forwards to the "host" port, which seems like a
reasonable thing to do.

  • Scripts/webkitpy/layout_tests/port/chromium_android.py:

(ChromiumAndroidPort.init):
(ChromiumAndroidPort.stop_helper):
(ChromiumAndroidPort):
(ChromiumAndroidPort._build_path):
(ChromiumAndroidPort._path_to_apache):
(ChromiumAndroidPort._path_to_apache_config_file):
(ChromiumAndroidPort._path_to_driver):
(ChromiumAndroidPort._path_to_helper):
(ChromiumAndroidPort._path_to_image_diff):
(ChromiumAndroidPort._path_to_lighttpd):
(ChromiumAndroidPort._path_to_lighttpd_modules):
(ChromiumAndroidPort._path_to_lighttpd_php):
(ChromiumAndroidPort._path_to_wdiff):
(ChromiumAndroidPort._shut_down_http_server):

  • Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:

(ChromiumAndroidPortTest):

  • Scripts/webkitpy/layout_tests/port/port_testcase.py:

(PortTestCase):
(PortTestCase.make_port):
(PortTestCase.test_default_worker_model):

4:42 PM Changeset in webkit [107636] by haraken@chromium.org
  • 29 edits in trunk/Source/WebCore

Add [CustomToJSObject] to interfaces which have custom toJS() and toV8()
https://bugs.webkit.org/show_bug.cgi?id=78489

Reviewed by Adam Barth.

This is the final step to remove hard-coding from HasCustomToV8Implementation()
in CodeGeneratorV8.pm. This patch replaces [JSCustomToJS] with [CustomToJSObject]
for interfaces which have custom toJS() and custom toV8().

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateHeader):
(GenerateImplementation):

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateHeader):

  • bindings/scripts/test/TestTypedArray.idl:
  • css/CSSRule.idl:
  • css/CSSValue.idl:
  • css/StyleSheet.idl:
  • dom/Document.idl:
  • dom/Event.idl:
  • dom/Node.idl:
  • fileapi/Blob.idl:
  • fileapi/Entry.idl:
  • fileapi/EntrySync.idl:
  • html/HTMLCollection.idl:
  • html/ImageData.idl:
  • html/canvas/ArrayBufferView.idl:
  • html/canvas/DataView.idl:
  • html/canvas/Float32Array.idl:
  • html/canvas/Float64Array.idl:
  • html/canvas/Int16Array.idl:
  • html/canvas/Int32Array.idl:
  • html/canvas/Int8Array.idl:
  • html/canvas/Uint16Array.idl:
  • html/canvas/Uint32Array.idl:
  • html/canvas/Uint8Array.idl:
  • html/canvas/Uint8ClampedArray.idl:
  • storage/IDBAny.idl:
  • storage/IDBKey.idl:
  • svg/SVGPathSeg.idl:
4:27 PM Changeset in webkit [107635] by eae@chromium.org
  • 7 edits in branches/subpixellayout/Source/WebCore

Changed ScrollView::contentsWidth/Height to int avoiding unnecessary type conversions.

4:16 PM Changeset in webkit [107634] by abarth@webkit.org
  • 3 edits
    1 add in trunk/Tools

chromium_android.py should implement "virtual" methods from ChromiumPort
https://bugs.webkit.org/show_bug.cgi?id=78545

Reviewed by Dirk Pranke.

This patch adds basic implementations that specialize a bunch of
functions from ChromiumPort.

  • Scripts/webkitpy/layout_tests/port/chromium_android.py:

(ChromiumAndroidPort):
(ChromiumAndroidPort.init):
(ChromiumAndroidPort.default_child_processes):
(ChromiumAndroidPort.baseline_search_path):
(ChromiumAndroidPort.check_build):
(ChromiumAndroidPort.check_sys_deps):
(ChromiumAndroidPort.default_worker_model):
(ChromiumAndroidPort.test_expectations):
(ChromiumAndroidPort.start_http_server):
(ChromiumAndroidPort.stop_http_server):
(ChromiumAndroidPort.start_helper):
(ChromiumAndroidPort.stop_helper):

4:09 PM Changeset in webkit [107633] by fischman@chromium.org
  • 6 edits
    1 delete in trunk/LayoutTests

[chromium] Unreviewed gardening. Rebaselining post skia change (from a long time ago).
http://code.google.com/p/chromium/issues/detail?id=105305

  • platform/chromium-gpu-linux/media/audio-repaint-expected.png: Removed.
  • platform/chromium-linux/media/audio-repaint-expected.png:
  • platform/chromium-mac-leopard/media/audio-repaint-expected.png:
  • platform/chromium-mac-snowleopard/media/audio-repaint-expected.png:
  • platform/chromium-win/media/audio-repaint-expected.png:
  • platform/chromium/test_expectations.txt:
4:06 PM Changeset in webkit [107632] by commit-queue@webkit.org
  • 6 edits in trunk

Chrome crashes when attempting to add cue to track element
https://bugs.webkit.org/show_bug.cgi?id=77951

Patch by Arun Patole <bmf834@motorola.com> on 2012-02-13
Reviewed by Eric Carlson.

Source/WebCore:

Allocate text track's text track list of cues before using it.

  • html/TextTrack.cpp:

(WebCore::TextTrack::cues):
(WebCore::TextTrack::addCue):
(WebCore::TextTrack::removeCue): return if text track list of cues is not allocated.
(WebCore::TextTrack::ensureTextTrackCueList):Added.

  • html/TextTrack.h:

(TextTrack):

LayoutTests:

Updated add-remove-cue.html to handle adding a new cue to the text track created with addTextTrack.

  • media/track/track-add-remove-cue-expected.txt:
  • media/track/track-add-remove-cue.html:
3:57 PM Changeset in webkit [107631] by Lucas Forschler
  • 2 edits in branches/safari-534.54-branch/Source/WebKit2

Rollout 105763.

3:55 PM Changeset in webkit [107630] by bashi@chromium.org
  • 3 edits in trunk/LayoutTests

Fix font-face-weight-matching.html and font-face-synthetic-bold-italic.html
https://bugs.webkit.org/show_bug.cgi?id=78492

Fix the URL of Ahem.ttf.

Reviewed by Eric Seidel.

  • fast/css/font-face-synthetic-bold-italic.html:
  • fast/css/font-face-weight-matching.html:
3:54 PM Changeset in webkit [107629] by aestes@apple.com
  • 2 edits in trunk/Source/WebCore

Fix the Windows build.

  • platform/PlatformPasteboard.h:

(PlatformPasteboard):

3:53 PM Changeset in webkit [107628] by Lucas Forschler
  • 3 edits
    3 copies in branches/safari-534.54-branch

Merged r107496.

3:46 PM Changeset in webkit [107627] by inferno@chromium.org
  • 3 edits
    2 adds in trunk

Crash with button in multi-column layout.
https://bugs.webkit.org/show_bug.cgi?id=78378

Reviewed by David Hyatt.

Source/WebCore:

Button creates an anonymous wrapper and expects that new children
be added to its m_inner anonymous block. However, splitBlock code
incorrectly creates column blocks directly under the button.

Test: fast/multicol/span/split-flow-anonymous-wrapper-crash.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::containingColumnsBlock):
(WebCore::RenderBlock::columnsBlockForSpanningElement):

LayoutTests:

  • fast/multicol/span/split-flow-anonymous-wrapper-crash-expected.txt: Added.
  • fast/multicol/span/split-flow-anonymous-wrapper-crash.html: Added.
3:39 PM Changeset in webkit [107626] by aestes@apple.com
  • 3 edits in trunk/Source/WebKit/win

Fix the Windows build.

  • WebCoreSupport/WebPlatformStrategies.cpp:

(WebPlatformStrategies::createPasteboardStrategy):

  • WebCoreSupport/WebPlatformStrategies.h:

(WebPlatformStrategies):

3:38 PM Changeset in webkit [107625] by mhahnenberg@apple.com
  • 7 edits in trunk/Source/JavaScriptCore

Replace old strtod with new strtod
https://bugs.webkit.org/show_bug.cgi?id=68044

Reviewed by Geoffrey Garen.

  • parser/Lexer.cpp: Added template argument. This version allows junk after numbers.

(JSC::::lex):

  • runtime/JSGlobalObjectFunctions.cpp: Ditto.

(JSC::parseInt):
(JSC::jsStrDecimalLiteral):

  • runtime/LiteralParser.cpp: Ditto.

(JSC::::Lexer::lexNumber):

  • wtf/dtoa.cpp: Replaced old strtod with a new version that uses the new StringToDoubleConverter.

It takes a template argument to allow clients to determine statically whether it should allow
junk after the numbers or not.
(WTF):
(WTF::strtod):

  • wtf/dtoa.h:

(WTF):

  • wtf/text/WTFString.cpp: Added template argument. This version does not allow junk after numbers.

(WTF::toDoubleType):

3:37 PM Changeset in webkit [107624] by ojan@chromium.org
  • 7 edits
    4 adds in trunk

nesting horizontal flexboxes is broken
https://bugs.webkit.org/show_bug.cgi?id=76867

Reviewed by David Hyatt.

Source/WebCore:

This is copied from RenderDeprecatedFlexibleBox and updated
for RenderFlexibleBox and to handle vertical writing mode.

Tests: css3/flexbox/preferred-widths-orthogonal.html

css3/flexbox/preferred-widths.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::computePreferredLogicalWidths):

  • rendering/RenderFlexibleBox.cpp:

(WebCore::marginWidthForChild):
(WebCore):
(WebCore::RenderFlexibleBox::computePreferredLogicalWidths):

  • rendering/RenderFlexibleBox.h:

(RenderFlexibleBox):

LayoutTests:

  • css3/flexbox/floated-flexbox-expected.txt:
  • css3/flexbox/line-wrapping.html:

The old results here were wrong because they wrapped the contents of each flex item.

  • css3/flexbox/preferred-widths-expected.txt: Added.
  • css3/flexbox/preferred-widths-orthogonal-expected.txt: Added.
  • css3/flexbox/preferred-widths-orthogonal.html: Added.
  • css3/flexbox/preferred-widths.html: Added.
3:35 PM Changeset in webkit [107623] by Lucas Forschler
  • 4 edits in branches/safari-534.54-branch

Merge r106388.

3:28 PM Changeset in webkit [107622] by mihnea@adobe.com
  • 7 edits
    2 adds in trunk

Crash in RenderFlowThread::setRegionBoxesRegionStyle
https://bugs.webkit.org/show_bug.cgi?id=78298

Reviewed by David Hyatt.

Source/WebCore:

Test: fast/regions/set-box-style-in-region-crash.html

We have to make sure that anonymous block objects get their information in RenderFlowThread
removed properly.

  • dom/Node.cpp:

(WebCore::Node::diff):
Correct a comment.

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::collapseAnonymousBoxChild):
Remove the information for anonymous block from render flow thread.

  • rendering/RenderFlowThread.cpp:

(WebCore::RenderFlowThread::removeFlowChildInfo):
(WebCore):
(WebCore::RenderFlowThread::setRegionRangeForBox):
Do not set region range if the flow thread does not have regions.

  • rendering/RenderFlowThread.h:
  • rendering/RenderObject.cpp:

(WebCore::RenderObject::willBeDestroyed):
Add an assert to make sure that after we remove an object, there is no remaining info
in any render flow thread.

LayoutTests:

  • fast/regions/set-box-style-in-region-crash-expected.txt: Added.
  • fast/regions/set-box-style-in-region-crash.html: Added.
3:22 PM Changeset in webkit [107621] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed, skip http/tests/navigation/https-in-page-cache.html
because we don't enable the page cache in chromium.

  • platform/chromium/test_expectations.txt:
3:17 PM Changeset in webkit [107620] by abarth@webkit.org
  • 4 edits
    1 add in trunk/Tools

Add a skeleton ChromiumAndroid port to webkitpy
https://bugs.webkit.org/show_bug.cgi?id=78543

Reviewed by Eric Seidel.

This patch just adds an empty ChromiumAndroid port object to webkitpy
and wires it up to the factory objects. An actual implementation will
follow.

  • Scripts/webkitpy/layout_tests/port/chromium.py:

(ChromiumPort):

  • Scripts/webkitpy/layout_tests/port/chromium_android.py: Added.

(ChromiumAndroidPort):
(ChromiumAndroidPort.init):

  • Scripts/webkitpy/layout_tests/port/chromium_unittest.py:

(ChromiumPortTest.test_all_test_configurations):

  • Scripts/webkitpy/layout_tests/port/factory.py:

(PortFactory):

3:13 PM Changeset in webkit [107619] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed, r107611 enabled layout tests in css3/filters,
but some are missing results.

  • platform/chromium/test_expectations.txt:
3:10 PM Changeset in webkit [107618] by thakis@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

[chromium] Let WebKit::initialize call InitWebCoreSystemInterface on mac.
https://bugs.webkit.org/show_bug.cgi?id=78246

This allows removing a bunch of code in chromium land (https://chromiumcodereview.appspot.com/9374020/),
and helps with the component build on mac (InitWebCoreSystemInterface is not an
exported function, and it shouldn't be).

Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm early-returns when it's
called twice, so it's safe to land this change, and remove the calls in client
code in a later CL.

Reviewed by Darin Fisher.

  • src/WebKit.cpp:

(WebKit::initializeWithoutV8):

3:07 PM Changeset in webkit [107617] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed gardening. We don't need to pass
platform/win/inverted-colors/non-composited.html.

  • platform/chromium/test_expectations.txt:
2:59 PM Changeset in webkit [107616] by fischman@chromium.org
  • 17 edits
    5 deletes in trunk/LayoutTests

[chromium] Unreviewed gardening. Rebaselining GPU results.

  • platform/chromium-gpu-linux/media/controls-after-reload-expected.png:
  • platform/chromium-gpu-linux/media/controls-strict-expected.png:
  • platform/chromium-gpu-linux/media/controls-styling-expected.png:
  • platform/chromium-gpu-linux/media/controls-without-preload-expected.png:
  • platform/chromium-gpu-linux/media/video-aspect-ratio-expected.png:
  • platform/chromium-gpu-linux/media/video-canvas-alpha-expected.png:
  • platform/chromium-gpu-linux/media/video-controls-rendering-expected.png:
  • platform/chromium-gpu-linux/media/video-display-toggle-expected.png:
  • platform/chromium-gpu-linux/media/video-layer-crash-expected.png:
  • platform/chromium-gpu-linux/media/video-playing-and-pause-expected.png:
  • platform/chromium-gpu-linux/media/video-transformed-expected.png:
  • platform/chromium-gpu-linux/media/video-volume-slider-expected.png:
  • platform/chromium-gpu-linux/media/video-zoom-controls-expected.png:
  • platform/chromium-gpu-linux/media/video-zoom-expected.png:
  • platform/chromium-gpu-mac/media/controls-after-reload-expected.txt: Removed.
  • platform/chromium-gpu-mac/media/video-controls-rendering-expected.png:
  • platform/chromium-gpu-mac/media/video-playing-and-pause-expected.txt: Removed.
  • platform/chromium-gpu-win/media/controls-strict-expected.txt: Removed.
  • platform/chromium-gpu-win/media/controls-styling-expected.txt: Removed.
  • platform/chromium-gpu-win/media/controls-without-preload-expected.txt: Removed.
  • platform/chromium-gpu-win/media/video-controls-rendering-expected.png:
2:55 PM Changeset in webkit [107615] by tony@chromium.org
  • 14 edits
    4 deletes in trunk

Unreviewed, rolling out r107582.
http://trac.webkit.org/changeset/107582
https://bugs.webkit.org/show_bug.cgi?id=78349

Broke three inspector interactive_ui_tests

Source/WebCore:

  • English.lproj/localizedStrings.js:
  • inspector/front-end/DebuggerPresentationModel.js:

(WebInspector.DebuggerPresentationModel.prototype.uiSourceCodes):

  • inspector/front-end/ScriptsNavigator.js:

(WebInspector.ScriptsNavigator.prototype._removeUISourceCode.get while):
(WebInspector.ScriptsNavigator.prototype._removeUISourceCode):
(WebInspector.ScriptsNavigator.prototype._showScriptFoldersSettingChanged):

  • inspector/front-end/ScriptsPanel.js:

(WebInspector.ScriptsPanel.prototype._uiSourceCodeAdded):
(WebInspector.ScriptsPanel.prototype._updateExecutionLine):

  • inspector/front-end/Settings.js:

(WebInspector.ExperimentsSettings):

  • inspector/front-end/SettingsScreen.js:

(WebInspector.SettingsScreen):

LayoutTests:

  • http/tests/inspector/debugger-test.js:

(initialize_DebuggerTest):

  • inspector/debugger/scripts-combobox-file-selector-history-expected.txt: Removed.
  • inspector/debugger/scripts-combobox-file-selector-history.html: Removed.
  • inspector/debugger/scripts-file-selector-expected.txt: Removed.
  • inspector/debugger/scripts-file-selector.html: Removed.
  • inspector/debugger/scripts-panel-expected.txt:
  • inspector/debugger/scripts-panel.html:
  • inspector/debugger/scripts-sorting-expected.txt:
  • inspector/debugger/scripts-sorting.html:
  • inspector/debugger/source-frame-count.html:
2:39 PM Changeset in webkit [107614] by abarth@webkit.org
  • 6 edits
    1 add in trunk/Tools

NRWT's HTTP servers should support additional directories for resources
https://bugs.webkit.org/show_bug.cgi?id=78528

Reviewed by Eric Seidel.

This functionality will be used by the Chromium-Android port.

  • Scripts/webkitpy/layout_tests/port/base.py:

(Port.to.start_http_server):

  • Scripts/webkitpy/layout_tests/servers/apache_http_server.py:

(LayoutTestApacheHttpd.init):

  • Scripts/webkitpy/layout_tests/servers/http_server.py:

(Lighttpd.init):
(Lighttpd._prepare_config):

2:26 PM Changeset in webkit [107613] by inferno@chromium.org
  • 4 edits
    2 adds in trunk

Source/WebCore: Incorrect children placement in multi-column layout.
https://bugs.webkit.org/show_bug.cgi?id=78160

Reviewed by David Hyatt.

Test: fast/multicol/span/clone-before-after-content-crash.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::clone): no longer need to take care of making
children noninline (remove fix r105769) since moveChild functions take
care of adding the child properly if type of children differ. this
function just makes sure to set the right value of childrenInline property.
(WebCore::RenderBlock::splitBlocks): similar to moveChild functions below.
(WebCore::RenderBlock::moveChildTo): when child is fullRemoveInsert (across
different parents, e.g clones), we should use addChild function to make sure
it handles the case of different type of children between fromBlock and
toBlock correctly (specifically making children non-inline/wrapping inline
children under anonymous blocks.).
(WebCore::RenderBlock::moveChildrenTo):

  • rendering/RenderBlock.h:

(RenderBlock):
(WebCore::RenderBlock::moveAllChildrenTo): Rename to->toBlock.
(WebCore::RenderBlock::moveChildrenTo): Rename to->toBlock.

LayoutTests: Incorrect children placement in multi-column layout.
https://bugs.webkit.org/show_bug.cgi?id=78160

Reviewed by David Hyatt.

  • fast/multicol/span/clone-before-after-content-crash-expected.txt: Added.
  • fast/multicol/span/clone-before-after-content-crash.html: Added.
2:25 PM Changeset in webkit [107612] by eae@chromium.org
  • 1 edit in branches/subpixellayout/Source/WebCore/rendering/RenderInline.cpp

Fix rounding in RenderInline

2:22 PM Changeset in webkit [107611] by senorblanco@chromium.org
  • 4 edits in trunk

Source/WebCore: [chromium] Implement Brightness and Contrast filters on composited
layers. Fix Saturation filter.
https://bugs.webkit.org/show_bug.cgi?id=78527

Reviewed by Kenneth Russell.

Will be covered by existing tests in css3/filters, when enabled.

  • platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp:

(WebCore::CCRenderSurfaceFilters::apply):

LayoutTests: Unskip the css3/filters tests, so we can get some baselines off the
bots.
https://bugs.webkit.org/show_bug.cgi?id=78527

Reviewed by Kenneth Russell.

  • platform/chromium/test_expectations.txt:
2:21 PM Changeset in webkit [107610] by Lucas Forschler
  • 4 edits in branches/safari-534.54-branch/Source/JavaScriptCore

Merged r107338.

2:17 PM Changeset in webkit [107609] by andersca@apple.com
  • 2 edits in trunk/Source/WebCore

Turn off edge antialiasing for tile cache tile layers
https://bugs.webkit.org/show_bug.cgi?id=78533
<rdar://problem/10710798>

Reviewed by Sam Weinig.

  • platform/graphics/ca/mac/TileCache.mm:

(WebCore::TileCache::createTileLayer):

2:15 PM Changeset in webkit [107608] by enrica@apple.com
  • 4 edits in trunk/Source

Build fix. Unreviewed.

Source/WebCore:

  • WebCore.xcodeproj/project.pbxproj:

Source/WebKit/qt:

  • WebCoreSupport/PlatformStrategiesQt.cpp:

(PlatformStrategiesQt::createPasteboardStrategy):

2:12 PM Changeset in webkit [107607] by beidson@apple.com
  • 3 edits
    5 adds in trunk

<rdar://problem/7196487> and https://bugs.webkit.org/show_bug.cgi?id=26777 Add https pages to the page cache in some cases

Reviewed by Anders Carlsson.

Source/WebCore:

Test: http/tests/navigation/https-in-page-cache.html

  • history/PageCache.cpp:

(WebCore::PageCache::canCachePageContainingThisFrame): Allow HTTPS pages that do not specify cache-control: no-cache

or cache-control: no-store into the page cache. This will match Firefox's behavior for HTTPS in their bfcache.

LayoutTests:

  • http/tests/navigation/https-in-page-cache.html: Added.
  • http/tests/navigation/https-in-page-cache-expected.txt: Added.
  • http/tests/navigation/resources/https-in-page-cache-1.php: Added.
  • http/tests/navigation/resources/https-in-page-cache-2.php: Added.
  • http/tests/navigation/resources/https-in-page-cache-3.html: Added.
2:08 PM LayoutUnit edited by leviw@chromium.org
(diff)
2:04 PM Changeset in webkit [107606] by enrica@apple.com
  • 17 edits
    3 adds in trunk/Source

Source/WebCore: Refactor Mac platform implementation of the Pasteboard class to use Platform Strategies.
https://bugs.webkit.org/show_bug.cgi?id=78282

This patch removes any accesss to the NSPasteboard object from the Pasteboard class which
now makes use of a new pasteboardStrategy object that is implemented both in WebKit and
WebKit2. The actual access to NSPasteboard is now performed inside the PlatformPasteboard
class. Currently both WebKit and WebKit2 use the same implementation of the PasteboardStrategy
interface but this one more step in the direction of removing access to NSPasteboard from
the WebProcess.
As part of the refactoring the I've reduced to a minimum the use of OBJ-C classes.

Reviewed by Anders Carlsson.

No new tests. No change in behavior, just code refactoring.

  • WebCore.exp.in: Added exported class PlatformPasteboard.
  • WebCore.xcodeproj/project.pbxproj: Added new files to the build.
  • editing/mac/EditorMac.mm:

(WebCore::Editor::writeSelectionToPasteboard): New method signature that doesn't use OBJ-C types.

  • platform/Pasteboard.h:
  • platform/PasteboardStrategy.h: Added PasteboardStrategy abstract class.
  • platform/PlatformPasteboard.h: Added. This class implements access to NSPasteboard.
  • platform/PlatformStrategies.h:

(WebCore::PlatformStrategies::pasteboardStrategy): Added.

  • platform/mac/DragDataMac.mm:

(WebCore::DragData::canSmartReplace):
(WebCore::insertablePasteboardTypes):
(WebCore::DragData::asURL):

  • platform/mac/PasteboardMac.mm:

(WebCore::selectionPasteboardTypes): Changed to use Vector<String> instead of NSArray.
(WebCore::writableTypesForURL): Ditto.
(WebCore::createWritableTypesForImage): Ditto.
(WebCore::writableTypesForImage): Ditto.
(WebCore::Pasteboard::Pasteboard): Removed access to NSPasteboard.
(WebCore::Pasteboard::clear): Modified to use platformStrategies()->pasteboardStrategy().
(WebCore::Pasteboard::writeSelectionForTypes): Ditto.
(WebCore::Pasteboard::writePlainText): Ditto.
(WebCore::Pasteboard::writeSelection): Ditto.
(WebCore::writeURLForTypes): Ditto.
(WebCore::Pasteboard::writeURL): Ditto.
(WebCore::writeFileWrapperAsRTFDAttachment): Ditto.
(WebCore::Pasteboard::writeImage): Ditto.
(WebCore::Pasteboard::writeClipboard): Ditto.
(WebCore::Pasteboard::canSmartReplace): Ditto.
(WebCore::Pasteboard::plainText): Ditto.
(WebCore::documentFragmentWithRTF): Ditto.
(WebCore::Pasteboard::documentFragment): Ditto.

  • platform/mac/PlatformPasteboardMac.mm: Added.

(WebCore::PlatformPasteboard::PlatformPasteboard):
(WebCore::PlatformPasteboard::getTypes):
(WebCore::PlatformPasteboard::bufferForType):
(WebCore::PlatformPasteboard::getPathnamesForType):
(WebCore::PlatformPasteboard::stringForType):
(WebCore::PlatformPasteboard::copy):
(WebCore::PlatformPasteboard::setTypes):
(WebCore::PlatformPasteboard::setBufferForType):
(WebCore::PlatformPasteboard::setPathnamesForType):
(WebCore::PlatformPasteboard::setStringForType):

Source/WebKit/mac: Refactor Mac platform implementation of the Pasteboard class to use Platform Strategies.

https://bugs.webkit.org/show_bug.cgi?id=78282


This patch removes any accesss to the NSPasteboard object from the Pasteboard class which
now makes use of a new pasteboardStrategy object that is implemented both in WebKit and
WebKit2. The actual access to NSPasteboard is now performed inside the PlatformPasteboard
class. Currently both WebKit and WebKit2 use the same implementation of the PasteboardStrategy
interface but this one more step in the direction of removing access to NSPasteboard from
the WebProcess.
As part of the refactoring the I've reduced to a minimum the use of OBJ-C classes.


Reviewed by Anders Carlsson.


  • WebCoreSupport/WebPlatformStrategies.h: Added PasteboardStrategy.
  • WebCoreSupport/WebPlatformStrategies.mm: Added implementation of PasteboardStrategy interface. (WebPlatformStrategies::createPasteboardStrategy): (WebPlatformStrategies::getTypes): (WebPlatformStrategies::bufferForType): (WebPlatformStrategies::getPathnamesForType): (WebPlatformStrategies::stringForType): (WebPlatformStrategies::copy): (WebPlatformStrategies::setTypes): (WebPlatformStrategies::setBufferForType): (WebPlatformStrategies::setPathnamesForType): (WebPlatformStrategies::setStringForType):

Source/WebKit/qt: Refactor Mac platform implementation of the Pasteboard class to use Platform Strategies.
https://bugs.webkit.org/show_bug.cgi?id=78282

Build fix. Unreviewed.

  • WebCoreSupport/PlatformStrategiesQt.cpp:

(WebPlatformStrategies::createPasteboardStrategy):

  • WebCoreSupport/PlatformStrategiesQt.h:

(PlatformStrategiesQt):

Source/WebKit2: Refactor Mac platform implementation of the Pasteboard class to use Platform Strategies.
https://bugs.webkit.org/show_bug.cgi?id=78282

This patch removes any accesss to the NSPasteboard object from the Pasteboard class which
now makes use of a new pasteboardStrategy object that is implemented both in WebKit and
WebKit2. The actual access to NSPasteboard is now performed inside the PlatformPasteboard
class. Currently both WebKit and WebKit2 use the same implementation of the PasteboardStrategy
interface but this one more step in the direction of removing access to NSPasteboard from
the WebProcess.
As part of the refactoring the I've reduced to a minimum the use of OBJ-C classes.

Reviewed by Anders Carlsson.

  • WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: Added implementation of PasteboardStrategy

interface.
(WebKit::WebPlatformStrategies::createPasteboardStrategy):
(WebKit::WebPlatformStrategies::getTypes):
(WebKit::WebPlatformStrategies::bufferForType):
(WebKit::WebPlatformStrategies::getPathnamesForType):
(WebKit::WebPlatformStrategies::stringForType):
(WebKit::WebPlatformStrategies::copy):
(WebKit::WebPlatformStrategies::setTypes):
(WebKit::WebPlatformStrategies::setBufferForType):
(WebKit::WebPlatformStrategies::setPathnamesForType):
(WebKit::WebPlatformStrategies::setStringForType):

  • WebProcess/WebCoreSupport/WebPlatformStrategies.h: Added PasteboardStrategy.
2:02 PM Changeset in webkit [107605] by commit-queue@webkit.org
  • 5 edits
    2 adds in trunk

[CSS Regions] Inconsistent text selection behavior in regions
https://bugs.webkit.org/show_bug.cgi?id=76456

Patch by Raul Hudea <rhudea@adobe.com> on 2012-02-13
Reviewed by David Hyatt.

Source/WebCore:

Use the proper bounding rect when doing hit testing on flow threads.
Based on initial patch by Alexandru Chiculita.

Test: fast/regions/hit-test-region.html

  • rendering/RenderFlowThread.cpp:

(WebCore::RenderFlowThread::hitTestRegion):

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::hitTest):

  • rendering/RenderRegion.cpp:

(WebCore::RenderRegion::nodeAtPoint):

LayoutTests:

  • fast/regions/hit-test-region-expected.txt: Added.
  • fast/regions/hit-test-region.html: Added.
2:01 PM Changeset in webkit [107604] by Lucas Forschler
  • 13 edits in branches/safari-534.54-branch/Source/WebKit2

Rollout r104070 and r105100.

1:59 PM Changeset in webkit [107603] by aestes@apple.com
  • 13 edits
    9 adds in trunk

[Windows] Add API to enable inverted color drawing on a WebView
https://bugs.webkit.org/show_bug.cgi?id=77382

Reviewed by Adam Roben.

Source/WebCore:

Implement CACFLayerTreeHost::setShouldInvertColors(), which instructs
the layer tree host to render composited content with inverted colors.

Test: platform/win/inverted-colors/non-composited.html

  • platform/graphics/ca/win/CACFLayerTreeHost.cpp:

(WebCore::CACFLayerTreeHost::setShouldInvertColors):
(WebCore):

  • platform/graphics/ca/win/CACFLayerTreeHost.h:

(CACFLayerTreeHost):

  • platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp: Use

SOFT_LINK_OPTIONAL since WKCACFViewSetShouldInvertColors might not
exist in older versions of WebKitQuartzCoreAdditions.
(WebCore::WKCACFViewLayerTreeHost::setShouldInvertColors):
(WebCore):

  • platform/graphics/ca/win/WKCACFViewLayerTreeHost.h:

(WKCACFViewLayerTreeHost):

Source/WebKit/win:

Add a new private WebPreference key called "WebKitShouldInvertColors"
and add private cover methods to get and set the preference. When this
preference changes on a WebPreference object, all WebViews listening to
that object will repaint to reflect the new value.

  • Interfaces/IWebPreferencesPrivate.idl: Add [setS|s]houldInvertColors()

cover methods for WebKitShouldInvertColorsPreferenceKey.

  • WebPreferenceKeysPrivate.h: Add WebKitShouldInvertColorsPreferenceKey.
  • WebPreferences.cpp:

(WebPreferences::shouldInvertColors):
(WebPreferences::setShouldInvertColors):

  • WebPreferences.h:

(WebPreferences):

  • WebView.cpp:

(WebView::setShouldInvertColors): If m_shouldInvertColors changes,
update the value on the WebView and in m_layerTreeHost, then repaint
the view.
(WebView::notifyPreferencesChanged):
(WebView::setAcceleratedCompositing): When creating a new layer tree
host, tell it whether it should be inverting colors.

  • WebView.h:

LayoutTests:

Add a test for non-composited inverted drawing. Testing the composited
path is blocked on <https://bugs.webkit.org/show_bug.cgi?id=78439>.

  • platform/win-wk2/platform/win/inverted-colors/non-composited-expected.png: Added.
  • platform/win-wk2/platform/win/inverted-colors/non-composited-expected.txt: Added.
  • platform/win/inverted-colors/non-composited-expected.png: Added.
  • platform/win/inverted-colors/non-composited-expected.txt: Added.
  • platform/win/inverted-colors/non-composited.html: Added.
  • platform/win/inverted-colors/resources/gradient.png: Added.
1:55 PM Changeset in webkit [107602] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed gardening. Marking some debug tests as failing.

  • platform/chromium/test_expectations.txt:
1:45 PM Changeset in webkit [107601] by andersca@apple.com
  • 12 edits in trunk/Source

The scrolling tree needs to know about the back forward state of the page
https://bugs.webkit.org/show_bug.cgi?id=78523
<rdar://problem/10756548>

Reviewed by Sam Weinig.

Source/WebCore:

In order to know if a page should rubber-band in the horizontal direction, the scrolling tree
needs to know about the back/forward state of the page.

  • WebCore.exp.in:

Export new symbols.

  • WebCore.xcodeproj/project.pbxproj:
  • page/scrolling/ScrollingTree.cpp:

(WebCore::ScrollingTree::ScrollingTree):
Initialize m_canGoBack and m_canGoForward.

(WebCore::ScrollingTree::updateBackForwardState):
Update m_canGoBack and m_canGoForward.

  • page/scrolling/ScrollingTree.h:

(WebCore::ScrollingTree::canGoBack):
(WebCore::ScrollingTree::canGoForward):
Add getters.

  • page/scrolling/mac/ScrollingTreeNodeMac.mm:

(WebCore::ScrollingTreeNodeMac::shouldRubberBandInDirection):
Implement this, using canGoBack and canGoForward.

Source/WebKit2:

Pass the back/forward state in the WheelEvent message. This is pretty hacky but works well.

  • Platform/CoreIPC/HandleMessage.h:

(CoreIPC):
(CoreIPC::callMemberFunction):

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::handleWheelEvent):
(WebKit::WebPageProxy::didReceiveEvent):

  • WebProcess/WebPage/EventDispatcher.cpp:

(WebKit::EventDispatcher::wheelEvent):

  • WebProcess/WebPage/EventDispatcher.h:

(EventDispatcher):

  • WebProcess/WebPage/EventDispatcher.messages.in:
1:34 PM Changeset in webkit [107600] by fischman@chromium.org
  • 5 edits
    2 moves
    1 add
    1 delete in trunk/LayoutTests

chromium gpu draws scrollbars slightly differently in debug vs. release modes on
https://bugs.webkit.org/show_bug.cgi?id=58587

Unreviewed rebaseline (the scrollbar issue the bug is about was fixed previously).

  • platform/chromium-linux/media/video-controls-rendering-expected.png:
  • platform/chromium-mac-leopard/media/video-controls-rendering-expected.png:
  • platform/chromium-mac-snowleopard/media/video-controls-rendering-expected.png: Added.
  • platform/chromium-mac-snowleopard/media/video-controls-rendering-expected.txt: Renamed from LayoutTests/platform/chromium-mac/media/video-controls-rendering-expected.txt.
  • platform/chromium-mac/media/video-controls-rendering-expected.png: Removed.
  • platform/chromium-win/media/video-controls-rendering-expected.png:
  • platform/chromium/test_expectations.txt:
  • platform/mac-future/media/video-controls-rendering-expected.txt: Renamed from LayoutTests/platform/mac/media/video-controls-rendering-expected.txt.
1:24 PM Changeset in webkit [107599] by mitz@apple.com
  • 2 edits in trunk/Source/WebKit2

WebKit2 build emits a warning about not stripping code-signed PluginProcess.app when copying it into the framework
https://bugs.webkit.org/show_bug.cgi?id=78451

Reviewed by Sam Weinig.

  • Configurations/Base.xcconfig: Set COPY_PHASE_STRIP to NO.
1:17 PM Changeset in webkit [107598] by fischman@chromium.org
  • 73 edits
    3 copies
    8 moves
    7 adds
    3 deletes in trunk/LayoutTests

Rebaseline media layouttests following keyframe addition to test.ogv
https://bugs.webkit.org/show_bug.cgi?id=78367

Unreviewed chromium rebaselining.

  • platform/chromium-gpu-mac/media/controls-after-reload-expected.png:
  • platform/chromium-gpu-mac/media/controls-after-reload-expected.txt: Added.
  • platform/chromium-gpu-mac/media/controls-strict-expected.png:
  • platform/chromium-gpu-mac/media/controls-styling-expected.png:
  • platform/chromium-gpu-mac/media/controls-without-preload-expected.png:
  • platform/chromium-gpu-mac/media/video-aspect-ratio-expected.png:
  • platform/chromium-gpu-mac/media/video-display-toggle-expected.png:
  • platform/chromium-gpu-mac/media/video-layer-crash-expected.png:
  • platform/chromium-gpu-mac/media/video-playing-and-pause-expected.png:
  • platform/chromium-gpu-mac/media/video-playing-and-pause-expected.txt: Added.
  • platform/chromium-gpu-mac/media/video-transformed-expected.png:
  • platform/chromium-gpu-mac/media/video-volume-slider-expected.png:
  • platform/chromium-gpu-mac/media/video-zoom-controls-expected.png:
  • platform/chromium-gpu-mac/media/video-zoom-expected.png:
  • platform/chromium-gpu-win/media/controls-after-reload-expected.png:
  • platform/chromium-gpu-win/media/controls-strict-expected.png:
  • platform/chromium-gpu-win/media/controls-strict-expected.txt: Copied from LayoutTests/platform/chromium/media/controls-strict-expected.txt.
  • platform/chromium-gpu-win/media/controls-styling-expected.png:
  • platform/chromium-gpu-win/media/controls-styling-expected.txt: Copied from LayoutTests/platform/chromium/media/controls-styling-expected.txt.
  • platform/chromium-gpu-win/media/controls-without-preload-expected.png:
  • platform/chromium-gpu-win/media/controls-without-preload-expected.txt: Copied from LayoutTests/platform/chromium/media/controls-without-preload-expected.txt.
  • platform/chromium-gpu-win/media/video-aspect-ratio-expected.png:
  • platform/chromium-gpu-win/media/video-canvas-alpha-expected.png:
  • platform/chromium-gpu-win/media/video-display-toggle-expected.png:
  • platform/chromium-gpu-win/media/video-layer-crash-expected.png:
  • platform/chromium-gpu-win/media/video-playing-and-pause-expected.png:
  • platform/chromium-gpu-win/media/video-transformed-expected.png:
  • platform/chromium-gpu-win/media/video-volume-slider-expected.png:
  • platform/chromium-gpu-win/media/video-zoom-controls-expected.png:
  • platform/chromium-gpu-win/media/video-zoom-expected.png:
  • platform/chromium-linux-x86/media/video-display-toggle-expected.png: Added.
  • platform/chromium-linux/media/controls-after-reload-expected.png:
  • platform/chromium-linux/media/controls-strict-expected.png:
  • platform/chromium-linux/media/controls-styling-expected.png:
  • platform/chromium-linux/media/controls-without-preload-expected.png:
  • platform/chromium-linux/media/video-aspect-ratio-expected.png:
  • platform/chromium-linux/media/video-display-toggle-expected.png:
  • platform/chromium-linux/media/video-layer-crash-expected.png:
  • platform/chromium-linux/media/video-playing-and-pause-expected.png:
  • platform/chromium-linux/media/video-transformed-expected.png:
  • platform/chromium-linux/media/video-volume-slider-expected.png:
  • platform/chromium-linux/media/video-zoom-controls-expected.png:
  • platform/chromium-linux/media/video-zoom-expected.png:
  • platform/chromium-mac-leopard/media/controls-after-reload-expected.png:
  • platform/chromium-mac-leopard/media/controls-strict-expected.png:
  • platform/chromium-mac-leopard/media/controls-styling-expected.png:
  • platform/chromium-mac-leopard/media/controls-without-preload-expected.png:
  • platform/chromium-mac-leopard/media/video-aspect-ratio-expected.png:
  • platform/chromium-mac-leopard/media/video-display-toggle-expected.png:
  • platform/chromium-mac-leopard/media/video-layer-crash-expected.png:
  • platform/chromium-mac-leopard/media/video-playing-and-pause-expected.png:
  • platform/chromium-mac-leopard/media/video-transformed-expected.png:
  • platform/chromium-mac-leopard/media/video-volume-slider-expected.png:
  • platform/chromium-mac-leopard/media/video-zoom-expected.png:
  • platform/chromium-mac-snowleopard/media/controls-after-reload-expected.png:
  • platform/chromium-mac-snowleopard/media/controls-after-reload-expected.txt: Renamed from LayoutTests/platform/chromium/media/controls-after-reload-expected.txt.
  • platform/chromium-mac-snowleopard/media/controls-strict-expected.png:
  • platform/chromium-mac-snowleopard/media/controls-strict-expected.txt: Renamed from LayoutTests/platform/chromium/media/controls-strict-expected.txt.
  • platform/chromium-mac-snowleopard/media/controls-styling-expected.png:
  • platform/chromium-mac-snowleopard/media/controls-styling-expected.txt: Renamed from LayoutTests/platform/chromium/media/controls-styling-expected.txt.
  • platform/chromium-mac-snowleopard/media/controls-without-preload-expected.png:
  • platform/chromium-mac-snowleopard/media/controls-without-preload-expected.txt: Renamed from LayoutTests/platform/chromium/media/controls-without-preload-expected.txt.
  • platform/chromium-mac-snowleopard/media/video-aspect-ratio-expected.png: Added.
  • platform/chromium-mac-snowleopard/media/video-canvas-alpha-expected.png: Added.
  • platform/chromium-mac-snowleopard/media/video-display-toggle-expected.png:
  • platform/chromium-mac-snowleopard/media/video-layer-crash-expected.png:
  • platform/chromium-mac-snowleopard/media/video-playing-and-pause-expected.png:
  • platform/chromium-mac-snowleopard/media/video-playing-and-pause-expected.txt: Renamed from LayoutTests/platform/chromium/media/video-playing-and-pause-expected.txt.
  • platform/chromium-mac-snowleopard/media/video-transformed-expected.png:
  • platform/chromium-mac-snowleopard/media/video-volume-slider-expected.png:
  • platform/chromium-mac-snowleopard/media/video-volume-slider-expected.txt: Renamed from LayoutTests/platform/chromium/media/video-volume-slider-expected.txt.
  • platform/chromium-mac-snowleopard/media/video-zoom-controls-expected.png:
  • platform/chromium-mac-snowleopard/media/video-zoom-controls-expected.txt: Renamed from LayoutTests/platform/chromium/media/video-zoom-controls-expected.txt.
  • platform/chromium-mac-snowleopard/media/video-zoom-expected.png: Added.
  • platform/chromium-mac/media/video-aspect-ratio-expected.png: Removed.
  • platform/chromium-mac/media/video-canvas-alpha-expected.png: Removed.
  • platform/chromium-mac/media/video-zoom-expected.png: Removed.
  • platform/chromium-win/media/controls-after-reload-expected.png:
  • platform/chromium-win/media/controls-strict-expected.png:
  • platform/chromium-win/media/controls-styling-expected.png:
  • platform/chromium-win/media/controls-without-preload-expected.png:
  • platform/chromium-win/media/video-aspect-ratio-expected.png:
  • platform/chromium-win/media/video-canvas-alpha-expected.png:
  • platform/chromium-win/media/video-display-toggle-expected.png:
  • platform/chromium-win/media/video-layer-crash-expected.png:
  • platform/chromium-win/media/video-playing-and-pause-expected.png:
  • platform/chromium-win/media/video-transformed-expected.png:
  • platform/chromium-win/media/video-volume-slider-expected.png:
  • platform/chromium-win/media/video-zoom-controls-expected.png:
  • platform/chromium-win/media/video-zoom-expected.png:
  • platform/chromium/test_expectations.txt:
  • platform/mac-future/media/controls-strict-expected.txt: Renamed from LayoutTests/platform/mac/media/controls-strict-expected.txt.
1:16 PM Changeset in webkit [107597] by leviw@chromium.org
  • 4 edits in branches/subpixellayout/Source/WebCore

Renaming convertToRoundedLayerCoords to convertToPixelSnappedLayerCoords, which better describes what's being done. Also, adding const to AppUnit's abs, round, ceil, and floor methods.

1:07 PM Changeset in webkit [107596] by beidson@apple.com
  • 2 edits in trunk/Source/WebCore

https://bugs.webkit.org/show_bug.cgi?id=78520 Cleanup PageCache::canCachePageContainingThisFrame readability

Reviewed by Anders Carlsson.

No new tests. (Code cleanup, no change in behavior)

  • history/PageCache.cpp:

(WebCore::PageCache::canCachePageContainingThisFrame): Store three commonly

getter-accessed variables in local variables for readability.

12:57 PM Changeset in webkit [107595] by weinig@apple.com
  • 8 edits
    1 add in trunk/Source/JavaScriptCore

Move JSC related assertions out of Assertions.h and into their own header
https://bugs.webkit.org/show_bug.cgi?id=78508

Reviewed by Gavin Barraclough.

Add GCAssertions.h

  • heap/GCAssertions.h: Added.

Move assertions here.

  • runtime/WriteBarrier.h:

Add #include of GCAssertions.h

  • wtf/Assertions.h:

Remove JSC related assertions.

  • wtf/Compiler.h:

Add compiler check for has_trivial_destructor.

12:31 PM Changeset in webkit [107594] by commit-queue@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

Update MIPS patchOffsetGetByIdSlowCaseCall
https://bugs.webkit.org/show_bug.cgi?id=78392

Patch by Chao-ying Fu <fu@mips.com> on 2012-02-13
Reviewed by Gavin Barraclough.

  • jit/JIT.h:

(JIT):

12:14 PM Changeset in webkit [107593] by timothy@apple.com
  • 3 edits in trunk/Source/WebCore

Don't include a separator before the "Inspect Element" context menu item when the context menu is empty.

https://webkit.org/b/78312

Reviewed by Brian Weinstein.

  • page/ContextMenuController.cpp:

(WebCore::ContextMenuController::addInspectElementItem): Check itemCount before appending the separator.

  • platform/gtk/ContextMenuGtk.cpp:

(WebCore::ContextMenu::itemCount): Added. Implement so this builds on GTK.

11:54 AM Changeset in webkit [107592] by Patrick Gansterer
  • 3 edits in trunk/Source/WebCore

[WIN] Define HWND_MESSAGE if not done already
https://bugs.webkit.org/show_bug.cgi?id=78341

Reviewed by Adam Roben.

HWND_MESSAGE is not defined on WinCE.
Set it to 0 when not defined to avoid #ifdefs.

  • platform/win/PasteboardWin.cpp:

(WebCore::Pasteboard::Pasteboard):

  • platform/win/WindowsExtras.h:

(WebCore):

11:39 AM Changeset in webkit [107591] by fischman@chromium.org
  • 2 edits in trunk/Tools

Add fischman as committer.

Unreviewed

  • Scripts/webkitpy/common/config/committers.py:
11:32 AM Changeset in webkit [107590] by rniwa@webkit.org
  • 2 edits in trunk

Yet another perf-o-matic build fix. It turns out that a task of the same name can't be
queued for days after the first task is completed. So don't use it. Updating persistent
caches more often than necessary is better than never updating them.

  • Websites/webkit-perf.appspot.com/controller.py:

(schedule_manifest_update):
(schedule_dashboard_update):
(schedule_runs_update):

11:30 AM Changeset in webkit [107589] by Chris Fleizach
  • 5 edits
    2 adds in trunk

AX: <mark> element should be exposed through attributes
https://bugs.webkit.org/show_bug.cgi?id=75727

Reviewed by Beth Dakin.

Source/WebCore:

Exposes an attribute indicating that an element has highlighting through attributedStringForRange.
Also allows the search mechanism to find elements with this style.

Test: platform/mac/accessibility/attributed-string-includes-highlighting.html

  • accessibility/AccessibilityObject.cpp:

(WebCore::AccessibilityObject::isAccessibilityObjectSearchMatch):
(WebCore::AccessibilityObject::hasHighlighting):

  • accessibility/AccessibilityObject.h:
  • accessibility/mac/WebAccessibilityObjectWrapper.mm:

(createAccessibilitySearchKeyMap):
(AXAttributeStringSetStyle):

LayoutTests:

  • platform/mac/accessibility/attributed-string-includes-highlighting-expected.txt: Added.
  • platform/mac/accessibility/attributed-string-includes-highlighting.html: Added.
11:23 AM Changeset in webkit [107588] by Chris Fleizach
  • 4 edits
    2 adds in trunk

AX: the web area should report that focus can be set to itself
https://bugs.webkit.org/show_bug.cgi?id=78272

Reviewed by Beth Dakin.

Source/WebCore:

Test: platform/mac/accessibility/webarea-can-set-focus.html

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::canSetFocusAttribute):

  • accessibility/AccessibilityTable.cpp:

(WebCore::AccessibilityTable::isDataTable):

Fixed erroneous comment.

LayoutTests:

  • platform/mac/accessibility/webarea-can-set-focus-expected.txt: Added.
  • platform/mac/accessibility/webarea-can-set-focus.html: Added.
11:05 AM Changeset in webkit [107587] by Patrick Gansterer
  • 2 edits in trunk/Source/JavaScriptCore

Remove obsolete #if from ThreadSpecific.h
https://bugs.webkit.org/show_bug.cgi?id=78485

Reviewed by Adam Roben.

Since alle platform use either pthread or Win32 for threading,
we can remove all PLATFORM() preprocessor statements.

  • wtf/ThreadSpecific.h:

(ThreadSpecific):

10:54 AM Changeset in webkit [107586] by leviw@chromium.org
  • 1 edit in branches/subpixellayout/Source/WebCore/rendering/InlineFlowBox.cpp

We don't actually need to snap the top of inline flow boxes to pixel boundaries. This issue was solved upstream.

10:39 AM LayoutUnit edited by leviw@chromium.org
(diff)
10:08 AM Changeset in webkit [107585] by Patrick Gansterer
  • 2 edits in trunk/Source/WebCore

Port RunLoop to WinCE
https://bugs.webkit.org/show_bug.cgi?id=76781

Reviewed by Adam Roben.

  • platform/win/RunLoopWin.cpp:

(WebCore::RunLoop::registerRunLoopMessageWindowClass):

10:06 AM Changeset in webkit [107584] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed, update mac-snowleopard result. This matches
the Apple Mac (Lion) result except for minor antialias differences.

  • platform/chromium-mac-snowleopard/svg/custom/foreignObject-crash-on-hover-expected.png:
9:51 AM Changeset in webkit [107583] by jberlin@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

Fix the Windows build.

9:50 AM Changeset in webkit [107582] by vsevik@chromium.org
  • 14 edits
    1 copy
    3 adds in trunk

Web Inspector: Make ScriptsNavigator default file selector.
https://bugs.webkit.org/show_bug.cgi?id=78349

Reviewed by Pavel Feldman.

Source/WebCore:

Moved ScriptsNavigator out of experiments.
Introduced new setting "useScriptsNavigator" with true as default value.
Updated scripts panel tests related to file selector.

Tests: inspector/debugger/scripts-combobox-file-selector-history.html

inspector/debugger/scripts-file-selector.html

  • English.lproj/localizedStrings.js:
  • inspector/front-end/DebuggerPresentationModel.js:

(WebInspector.DebuggerPresentationModel.prototype.uiSourceCodes):

  • inspector/front-end/ScriptsNavigator.js:

(WebInspector.ScriptsNavigator.prototype._removeUISourceCode):
(WebInspector.ScriptsNavigator.prototype._showScriptFoldersSettingChanged):

  • inspector/front-end/ScriptsPanel.js:

(WebInspector.ScriptsPanel.prototype._uiSourceCodeAdded):
(WebInspector.ScriptsPanel.prototype._addUISourceCode):
(WebInspector.ScriptsPanel.prototype._updateExecutionLine):

  • inspector/front-end/Settings.js:

(WebInspector.ExperimentsSettings):

  • inspector/front-end/SettingsScreen.js:

(WebInspector.SettingsScreen):

LayoutTests:

  • http/tests/inspector/debugger-test.js:

(initialize_DebuggerTest):
(initialize_DebuggerTest.):

  • inspector/debugger/scripts-combobox-file-selector-history-expected.txt: Added.
  • inspector/debugger/scripts-combobox-file-selector-history.html: Added.
  • inspector/debugger/scripts-file-selector-expected.txt: Copied from LayoutTests/inspector/debugger/scripts-panel-expected.txt.
  • inspector/debugger/scripts-file-selector.html: Added.
  • inspector/debugger/scripts-panel-expected.txt:
  • inspector/debugger/scripts-panel.html:
  • inspector/debugger/scripts-sorting-expected.txt:
  • inspector/debugger/scripts-sorting.html:
  • inspector/debugger/source-frame-count.html:
9:47 AM Changeset in webkit [107581] by weinig@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

Use C11's _Static_assert for COMPILE_ASSERT if it is available
https://bugs.webkit.org/show_bug.cgi?id=78506

Rubber-stamped by Antti Koivisto.

Use C11's _Static_assert for COMPILE_ASSERT if it is available to give slightly
better error messages.

  • wtf/Assertions.h:

Use _Static_assert if it is available.

  • wtf/Compiler.h:

Add COMPILER_SUPPORTS support for _Static_assert when using the LLVM Compiler.

9:44 AM Changeset in webkit [107580] by kling@webkit.org
  • 3 edits in trunk/Source/WebCore

Make HTMLTableCaptionElement inherit from HTMLElement.
<http://webkit.org/b/78505>

Reviewed by Antti Koivisto.

HTMLTableCaptionElement was already bypassing its base class (HTMLTablePartElement)
and calling up to HTMLElement in all its overrides. Just make it an HTMLElement
instead since it doesn't use anything from HTMLTablePartElement.
Remove parseAttribute() overload since it's no longer needed.

  • html/HTMLTableCaptionElement.cpp:

(WebCore::HTMLTableCaptionElement::HTMLTableCaptionElement):
(WebCore::HTMLTableCaptionElement::isPresentationAttribute):
(WebCore::HTMLTableCaptionElement::collectStyleForAttribute):

  • html/HTMLTableCaptionElement.h:
9:37 AM Changeset in webkit [107579] by kling@webkit.org
  • 3 edits in trunk/Source/WebCore

HTMLMarqueeElement: Don't cache presence of truespeed attribute.
<http://webkit.org/b/78483>

Reviewed by Antti Koivisto.

Out-of-line minimumDelay() and look up the "truespeed" attribute there instead
of caching the minimum delay in parseAttribute().
Remove HTMLMarqueeElement::parseAttribute() as it's no longer needed.

  • html/HTMLMarqueeElement.cpp:

(WebCore::HTMLMarqueeElement::HTMLMarqueeElement):
(WebCore::HTMLMarqueeElement::minimumDelay):

  • html/HTMLMarqueeElement.h:

(HTMLMarqueeElement):

9:21 AM Changeset in webkit [107578] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] Unreviewed gardening, skip a new failing test.

  • platform/qt/Skipped:
9:18 AM Changeset in webkit [107577] by weinig@apple.com
  • 2 edits in trunk/Source/WebKit2

Windows build fix.

  • UIProcess/win/WebPopupMenuProxyWin.cpp:

(WebKit::WebPopupMenuProxyWin::scrollToRevealSelection):

9:11 AM Changeset in webkit [107576] by caseq@chromium.org
  • 3 edits in trunk/Source/WebCore

Web Inspector: [refactoring] factor common timeline UI state into TimelinePresentationModel
https://bugs.webkit.org/show_bug.cgi?id=78501

Reviewed by Pavel Feldman.

  • inspector/front-end/TimelineOverviewPane.js:

(WebInspector.TimelineOverviewPane):
(WebInspector.TimelineOverviewPane.prototype._onCategoryVisibilityChanged):
(WebInspector.TimelineOverviewPane.prototype.update):
(WebInspector.TimelineOverviewPane.prototype.sidebarResized):
(WebInspector.TimelineOverviewPane.prototype._setWindowPosition):
(WebInspector.TimelineOverviewPane.prototype.scrollWindow):

  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelinePanel):
(WebInspector.TimelinePanel.prototype._createTopPane):
(WebInspector.TimelinePanel.prototype.get statusBarItems):
(WebInspector.TimelinePanel.prototype.get _recordStyles):
(WebInspector.TimelinePanel.prototype._createStatusbarButtons):
(WebInspector.TimelinePanel.prototype._createTimelineCategoryStatusBarCheckbox):
(WebInspector.TimelinePanel.prototype._onCategoryCheckboxClicked):
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
(WebInspector.TimelinePanel.prototype.sidebarResized):
(WebInspector.TimelinePanel.prototype._updateBoundaries):
(WebInspector.TimelinePanel.prototype._showPopover):
(WebInspector.TimelinePresentationModel):
(WebInspector.TimelinePresentationModel.prototype.get categories):
(WebInspector.TimelinePresentationModel.prototype.addCategory):
(WebInspector.TimelinePresentationModel.prototype.setWindowPosition):
(WebInspector.TimelinePresentationModel.prototype.setCategoryVisibility):

8:39 AM Changeset in webkit [107575] by commit-queue@webkit.org
  • 8 edits
    1 add in trunk

Use requestAnimationFrame callbacks to pump CSS animations
https://bugs.webkit.org/show_bug.cgi?id=64591

Patch by Joel Webber <jgw@google.com> on 2012-02-13
Reviewed by James Robinson.

No new tests needed (covered by tests in animations/*).

  • page/FrameView.cpp:

(WebCore::FrameView::serviceScriptedAnimations):

  • page/animation/AnimationController.cpp:

(WebCore::AnimationControllerPrivate::updateAnimations):
(WebCore::AnimationControllerPrivate::updateAnimationTimer):
(WebCore::AnimationControllerPrivate::fireEventsAndUpdateStyle):
(WebCore::AnimationControllerPrivate::animationFrameCallbackFired):
(WebCore::AnimationController::updateAnimations):
(WebCore::AnimationController::serviceAnimations):

  • page/animation/AnimationController.h:
  • page/animation/AnimationControllerPrivate.h:
8:29 AM Changeset in webkit [107574] by Patrick Gansterer
  • 3 edits
    1 add in trunk/Source/WebCore

Add WindowsExtras.h
https://bugs.webkit.org/show_bug.cgi?id=78340

Reviewed by Adam Roben.

Add a new file to share common code for Win32/WinCE differences.

  • platform/win/PopupMenuWin.cpp:

(WebCore::PopupMenuWin::PopupMenuWndProc):

  • platform/win/RunLoopWin.cpp:

(WebCore::RunLoop::RunLoopWndProc):

  • platform/win/WindowsExtras.h: Added.

(WebCore):
(WebCore::getWindowPointer):
(WebCore::setWindowPointer):

7:54 AM Changeset in webkit [107573] by kling@webkit.org
  • 2 edits in trunk/Source/WebCore

Don't mark element for style recalc when modifying its attribute style.
<http://webkit.org/b/78497>

Reviewed by Antti Koivisto.

StylePropertySet::setNeedsStyleRecalc() shouldn't do anything for attribute styles.
Their invalidation is handled exclusively by StyledElement::attributeChanged().
Elements with presentation attributes were being marked for style recalc twice,
once when the attribute changed, and again during attribute style update, below the
call to collectStyleForAttribute().

  • css/StylePropertySet.cpp:

(WebCore::StylePropertySet::setNeedsStyleRecalc):

7:10 AM Changeset in webkit [107572] by podivilov@chromium.org
  • 3 edits in trunk/LayoutTests

Unreviewed, add new chromium baselines for font-face-multiple-faces.html.

  • platform/chromium-mac-snowleopard/fast/css/font-face-multiple-faces-expected.png:
  • platform/chromium-win/fast/css/font-face-multiple-faces-expected.png:
7:05 AM Changeset in webkit [107571] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit2

Manage ShareableBitmap object lifecycle properly, when QImage is created
using the shared data.
https://bugs.webkit.org/show_bug.cgi?id=77546

Patch by Zalan Bujtas <zbujtas@gmail.com> on 2012-02-13
Reviewed by Simon Hausmann.

  • Shared/ShareableBitmap.h:

(ShareableBitmap):

  • Shared/qt/ShareableBitmapQt.cpp:

(WebKit::ShareableBitmap::createQImage):
(WebKit):
(WebKit::ShareableBitmap::releaseSharedMemoryData):

7:02 AM Changeset in webkit [107570] by caio.oliveira@openbossa.org
  • 13 edits in trunk/Source/WebCore

Move attribute storage from NamedNodeMap to ElementAttributeData
https://bugs.webkit.org/show_bug.cgi?id=77674

Reviewed by Andreas Kling.

Move m_attributes vector from NamedNodeMap to ElementAttributeData. Make the
remaining callsites interact with ElementAttributeData if possible. The parsing
code is still interacting with NamedNodeMap, so some functions remained as
wrappers there. A next change will it use ElementAttributeData instead.

The code for DOM exported functions remained in NamedNodeMap. This implementation
should move to Element in a next change, too.

  • dom/Attr.h:

(Attr):

  • dom/Element.cpp:

(WebCore::Element::setAttribute):
(WebCore::Element::setAttributeInternal):
(WebCore::Element::parserSetAttributeMap):
(WebCore::Element::removeAttribute):
(WebCore::Element::hasAttribute):
(WebCore::Element::hasAttributeNS):
(WebCore::Element::normalizeAttributes):

  • dom/Element.h:

(Element):
(WebCore::Element::ensureUpdatedAttributes):
(WebCore::Element::ensureAttributeData):
(WebCore):
(WebCore::Element::updatedAttributeData):
(WebCore::Element::ensureUpdatedAttributeData):
These *AttributeData functions are the correct correct way for callers to touch
the details of attribute storage. The "updated" variants will update invalid
attributes before return.

(WebCore::Element::setAttributesFromElement):

  • dom/ElementAttributeData.cpp:

(WebCore::ElementAttributeData::~ElementAttributeData):
(WebCore):
(WebCore::ElementAttributeData::ensureInlineStyleDecl):
(WebCore::ElementAttributeData::addAttribute):
(WebCore::ElementAttributeData::removeAttribute):
(WebCore::ElementAttributeData::detachAttributesFromElement):
(WebCore::ElementAttributeData::copyAttributesToVector):
(WebCore::ElementAttributeData::getAttributeItemIndexSlowCase):
(WebCore::ElementAttributeData::setAttributes): Make use of the assumption that
this will only be called with a valid Element, since the only call site is an
Element method.
(WebCore::ElementAttributeData::clearAttributes):
(WebCore::ElementAttributeData::replaceAttribute): Make use of the assumption
this will only be called with a valid Element, since the only call site return
early if there's no Element.

  • dom/ElementAttributeData.h:

(ElementAttributeData):
(WebCore::ElementAttributeData::length):
(WebCore::ElementAttributeData::isEmpty):
(WebCore::ElementAttributeData::attributeItem):
(WebCore::ElementAttributeData::removeAttribute):
(WebCore):
(WebCore::ElementAttributeData::getAttributeItem):
(WebCore::ElementAttributeData::getAttributeItemIndex):

  • dom/NamedNodeMap.cpp:

(WebCore::NamedNodeMap::getNamedItem):
(WebCore::NamedNodeMap::removeNamedItem):
(WebCore::NamedNodeMap::setNamedItem):
(WebCore::NamedNodeMap::item):
(WebCore::NamedNodeMap::detachFromElement):

  • dom/NamedNodeMap.h:

(WebCore::NamedNodeMap::length):
(WebCore::NamedNodeMap::isEmpty):
(WebCore::NamedNodeMap::attributeItem):
(WebCore::NamedNodeMap::getAttributeItem):
(WebCore::NamedNodeMap::getAttributeItemIndex):
(WebCore::NamedNodeMap::shrinkToLength):
(WebCore::NamedNodeMap::reserveInitialCapacity):
(WebCore::NamedNodeMap::addAttribute):
(WebCore::NamedNodeMap::removeAttribute):
(NamedNodeMap):

  • dom/StyledElement.cpp:

(WebCore::StyledElement::updateAttributeStyle):

  • dom/StyledElement.h:

(WebCore::StyledElement::ensureInlineStyleDecl):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::updateType):

  • svg/properties/SVGAnimatedPropertySynchronizer.h:
  • xml/parser/XMLDocumentParserQt.cpp:

(WebCore::XMLDocumentParser::XMLDocumentParser):

6:50 AM Changeset in webkit [107569] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: wrong percent calculations for empty snapshot.
https://bugs.webkit.org/show_bug.cgi?id=78329

Patch by Alexei Filippov <alexeif@chromium.org> on 2012-02-13
Reviewed by Yury Semikhatsky.

  • inspector/front-end/DetailedHeapshotGridNodes.js:

(WebInspector.HeapSnapshotGridNode.prototype._createValueCell):

6:33 AM Changeset in webkit [107568] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebCore

Web Inspector: add class filter to heap profiler.
https://bugs.webkit.org/show_bug.cgi?id=78362

Patch by Alexei Filippov <alexeif@chromium.org> on 2012-02-13
Reviewed by Yury Semikhatsky.

  • inspector/front-end/DataGrid.js:

(WebInspector.DataGrid.prototype.insertChild):

  • inspector/front-end/DetailedHeapshotView.js:

(WebInspector.HeapSnapshotSortableDataGrid.prototype._performSorting):
(WebInspector.HeapSnapshotConstructorsDataGrid):
(WebInspector.HeapSnapshotConstructorsDataGrid.prototype._nameFilterChanged):
(WebInspector.DetailedHeapshotView.prototype._changeNameFilter):

  • inspector/front-end/heapProfiler.css:

(.detailed-heapshot-view .constructors-view-grid):
(.detailed-heapshot-view .constructors-view-toolbar):
(.detailed-heapshot-view .constructors-view-toolbar input.constructors-view-filter):

6:27 AM Changeset in webkit [107567] by vsevik@chromium.org
  • 7 edits in trunk

Web Inspector: In Inspector.json PropertyDescriptor.writable should be declared optional
https://bugs.webkit.org/show_bug.cgi?id=77917

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-02-13
Reviewed by Pavel Feldman.

Source/WebCore:

Property descriptor is fixed in Inspector.json. Also retroactively in
0.1 and 1.0.
Injected script in instructed to never return null property values.

  • inspector/InjectedScriptSource.js:

(.):

  • inspector/Inspector-0.1.json:
  • inspector/Inspector-1.0.json:
  • inspector/Inspector.json:

LayoutTests:

"Undefined" getter and setter is now visible.

  • inspector/runtime/runtime-getProperties-expected.txt:
6:27 AM WebKitIDL edited by haraken@chromium.org
(diff)
6:24 AM WebKitIDL edited by haraken@chromium.org
(diff)
6:18 AM Changeset in webkit [107566] by mario@webkit.org
  • 6 edits in trunk/Source

[GTK] Add GSList to the list of GObject types in GOwnPtr
https://bugs.webkit.org/show_bug.cgi?id=78487

Reviewed by Philippe Normand.

Source/JavaScriptCore:

Handle the GSList type in GOwnPtr, by calling g_slist_free in the
implementation of the freeOwnedGPtr template function.

  • wtf/gobject/GOwnPtr.cpp:

(WTF::GSList):
(WTF):

  • wtf/gobject/GOwnPtr.h:

(WTF):

  • wtf/gobject/GTypedefs.h:

Source/WebKit/gtk:

  • WebCoreSupport/ChromeClientGtk.cpp:

(WebKit::ChromeClient::runOpenPanel): Use GOwnPtr<GSList> for the
list of filenames returned by gtk_file_chooser_get_filenames().

6:16 AM Changeset in webkit [107565] by commit-queue@webkit.org
  • 5 edits in trunk

[GTK] Revise configuration for MHTML
https://bugs.webkit.org/show_bug.cgi?id=78364

Patch by ChangSeok Oh <ChangSeok Oh> on 2012-02-13
Reviewed by Gustavo Noronha Silva.

.:

Added some lines to show checking messages, whether mhtml is enabled or not
during configuration and the configuration result for mhtml.
MHTML is a web page archive format used to combine resources
that are typically represented by external links (such as images, Flash animations,
Java applets, audio files) together with HTML code into a single file.
http://en.wikipedia.org/wiki/MHTML

  • configure.ac:

Source/WebCore:

Added mhtml directory and removed target files duplicated to build when enabling mhtml.
Archive.cpp, ArchiveFactory.cpp & their headers are included at the above line.
This duplication has caused build-break if mhtml is enabled.

No new tests, since no new features.

  • GNUmakefile.am:
  • GNUmakefile.list.am:
6:15 AM WebKitIDL edited by haraken@chromium.org
(diff)
5:59 AM Changeset in webkit [107564] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] Unreviewed gardening.

  • platform/qt/test_expectations.txt: Mark fast/js/dfg-inline-function-dot-caller.html as slow in debug mode.
5:42 AM Changeset in webkit [107563] by podivilov@chromium.org
  • 2 edits in trunk/LayoutTests

2012-02-13 Pavel Podivilov <podivilov@chromium.org>

Unreviewed, add "IMAGE" to two svg/carto.net tests expectations.

  • platform/chromium/test_expectations.txt:
5:30 AM Changeset in webkit [107562] by kubo@profusion.mobi
  • 22 edits in trunk

[EFL] Drop support for the Curl network backend.
https://bugs.webkit.org/show_bug.cgi?id=77874

Reviewed by Eric Seidel.

Nobody seems to be maintaining the Curl backend in WebCore, the
EFL port developers all seem to be using the Soup backend and the
port itself has many features which are only implemented for the
latter.

.:

  • Source/cmake/OptionsEfl.cmake: Remove network backend selection

checks and unconditionally require Glib and Libsoup, bump the
required LibSoup version to the same one the GTK+ port looks for,
since we share the same network backend.

Source/JavaScriptCore:

  • wtf/PlatformEfl.cmake: Always build the gobject-dependent source

files.

Source/WebCore:

No new tests, just some dependency plumbing.

  • PlatformEfl.cmake: Build the glib/soup source files

unconditionally.

  • platform/efl/FileSystemEfl.cpp: Remove ENABLE(GLIB_SUPPORT) check.

Source/WebKit/efl:

  • CMakeListsEfl.txt: Unconditionally build soup-dependent files

and always add the glib/soup include directories and libraries.

  • WebCoreSupport/FrameLoaderClientEfl.cpp:

(WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
Remove USE(SOUP) checks.

  • ewk/ewk_auth.cpp:

(ewk_auth_show_dialog_callback_set): Ditto.
(ewk_auth_credentials_set): Ditto.

  • ewk/ewk_cookies.cpp:

(ewk_cookies_file_set): Ditto.
(ewk_cookies_clear): Ditto.
(ewk_cookies_get_all): Ditto.
(ewk_cookies_cookie_del): Ditto.
(ewk_cookies_cookie_free): Ditto.
(ewk_cookies_policy_set): Ditto.
(ewk_cookies_policy_get): Ditto.

  • ewk/ewk_frame.cpp:

(ewk_frame_certificate_status_get): Ditto.

  • ewk/ewk_main.cpp:

(_ewk_init_body): Ditto.

  • ewk/ewk_network.cpp:

(ewk_network_proxy_uri_set): Ditto.
(ewk_network_proxy_uri_get): Ditto.
(ewk_network_tls_certificate_check_get): Ditto.
(ewk_network_tls_certificate_check_set): Ditto.
(ewk_network_tls_ca_certificates_path_get): Ditto.
(ewk_network_tls_ca_certificates_path_set): Ditto.
(ewk_network_default_soup_session_get): Ditto.

  • ewk/ewk_network.h: Update apidox for

ewk_network_default_soup_session_get() now that libsoup is the
only available backend.

Source/WebKit2:

  • PlatformEfl.cmake: Unconditionally build the glib/soup source

files and unconditionally add the required include directories and
libraries.

  • WebProcess/efl/WebProcessMainEfl.cpp:

(WebKit::WebProcessMainEfl): Remove USE(SOUP) check.

Tools:

  • DumpRenderTree/efl/CMakeLists.txt: Always link to glib/libsoup

and always add the required include directories.

  • EWebLauncher/CMakeLists.txt: Add the required glib/libsoup

include directories and link to them.

5:12 AM Changeset in webkit [107561] by pfeldman@chromium.org
  • 6 edits
    4 adds in trunk

Web Inspector: wrap settings selector text and adding a rule with undoable actions.
https://bugs.webkit.org/show_bug.cgi?id=78482

Reviewed by Yury Semikhatsky.

Source/WebCore:

Tests: inspector/styles/undo-add-new-rule.html

inspector/styles/undo-set-selector-text.html

  • inspector/InspectorCSSAgent.cpp:

(WebCore::InspectorCSSAgent::StyleSheetAction::StyleSheetAction):
(InspectorCSSAgent::StyleSheetAction):
(WebCore::InspectorCSSAgent::SetStyleSheetTextAction::SetStyleSheetTextAction):
(WebCore::InspectorCSSAgent::SetStyleSheetTextAction::perform):
(WebCore::InspectorCSSAgent::SetStyleSheetTextAction::undo):
(WebCore::InspectorCSSAgent::SetPropertyTextAction::SetPropertyTextAction):
(WebCore::InspectorCSSAgent::SetPropertyTextAction::perform):
(WebCore::InspectorCSSAgent::SetPropertyTextAction::undo):
(WebCore::InspectorCSSAgent::SetPropertyTextAction::mergeId):
(WebCore::InspectorCSSAgent::TogglePropertyAction::TogglePropertyAction):
(WebCore::InspectorCSSAgent::TogglePropertyAction::perform):
(WebCore::InspectorCSSAgent::TogglePropertyAction::undo):
(InspectorCSSAgent::SetRuleSelectorAction):
(WebCore::InspectorCSSAgent::SetRuleSelectorAction::SetRuleSelectorAction):
(WebCore::InspectorCSSAgent::SetRuleSelectorAction::perform):
(WebCore::InspectorCSSAgent::SetRuleSelectorAction::undo):
(WebCore):
(InspectorCSSAgent::AddRuleAction):
(WebCore::InspectorCSSAgent::AddRuleAction::AddRuleAction):
(WebCore::InspectorCSSAgent::AddRuleAction::perform):
(WebCore::InspectorCSSAgent::AddRuleAction::undo):
(WebCore::InspectorCSSAgent::AddRuleAction::newRuleId):
(WebCore::InspectorCSSAgent::setStyleSheetText):
(WebCore::InspectorCSSAgent::setPropertyText):
(WebCore::InspectorCSSAgent::toggleProperty):
(WebCore::InspectorCSSAgent::setRuleSelector):
(WebCore::InspectorCSSAgent::addRule):
(WebCore::InspectorCSSAgent::asInspectorStyleSheet):
(WebCore::InspectorCSSAgent::bindStyleSheet):
(WebCore::InspectorCSSAgent::viaInspectorStyleSheet):
(WebCore::InspectorCSSAgent::styleSheetChanged):

  • inspector/InspectorCSSAgent.h:

(InspectorCSSAgent):

  • inspector/InspectorStyleSheet.cpp:

(WebCore::InspectorStyleSheet::create):
(WebCore::InspectorStyleSheet::InspectorStyleSheet):
(WebCore::InspectorStyleSheet::reparseStyleSheet):
(WebCore::InspectorStyleSheet::ruleSelector):
(WebCore):
(WebCore::InspectorStyleSheet::setRuleSelector):
(WebCore::InspectorStyleSheet::addRule):
(WebCore::InspectorStyleSheet::deleteRule):
(WebCore::InspectorStyleSheet::setPropertyText):
(WebCore::InspectorStyleSheet::toggleProperty):
(WebCore::InspectorStyleSheet::fireStyleSheetChanged):
(WebCore::InspectorStyleSheetForInlineStyle::create):
(WebCore::InspectorStyleSheetForInlineStyle::InspectorStyleSheetForInlineStyle):

  • inspector/InspectorStyleSheet.h:

(InspectorStyleSheet):
(WebCore::InspectorStyleSheet::styleId):
(InspectorStyleSheetForInlineStyle):

LayoutTests:

  • inspector/styles/undo-add-new-rule-expected.txt: Added.
  • inspector/styles/undo-add-new-rule.html: Added.
  • inspector/styles/undo-set-selector-text-expected.txt: Added.
  • inspector/styles/undo-set-selector-text.html: Added.
4:45 AM Changeset in webkit [107560] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] Unreviewed gardening, unskip now passing tests.

  • platform/qt/Skipped:
4:45 AM Changeset in webkit [107559] by bashi@chromium.org
  • 2 edits in trunk/Tools

[WebSocket] Update pywebsocket to 0.7.1
https://bugs.webkit.org/show_bug.cgi?id=78484

pywebsocket-0.7.1 follow the current draft of WebSocket deflate-frame extension.

Reviewed by Kent Tamura.

  • Scripts/webkitpy/thirdparty/init.py:

(AutoinstallImportHook._install_pywebsocket):

4:15 AM Changeset in webkit [107558] by hayato@chromium.org
  • 14 edits
    1 move
    1 add
    1 delete in trunk/Source/WebCore

Rename names defined in ContentInclutionSelector to more intuitive names.
https://bugs.webkit.org/show_bug.cgi?id=78333

Reviewed by Hajime Morita.

This is just refactoring, renaming non-intuitive names to more intuitive names
so that they match the terms in the spec.

No tests. No change in behavior.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • dom/NodeRenderingContext.cpp:

(WebCore::NodeRenderingContext::NodeRenderingContext):
(WebCore::nextRendererOf):
(WebCore::previousRendererOf):
(WebCore::firstRendererOf):
(WebCore::lastRendererOf):
(WebCore::NodeRenderingContext::nextRenderer):
(WebCore::NodeRenderingContext::previousRenderer):

  • dom/NodeRenderingContext.h:

(NodeRenderingContext):
(WebCore::NodeRenderingContext::insertionPoint):

  • dom/ShadowRoot.cpp:

(WebCore::ShadowRoot::insertionPointFor):
(WebCore::ShadowRoot::isSelectorActive):
(WebCore::ShadowRoot::attach):
(WebCore::ShadowRoot::selector):
(WebCore::ShadowRoot::ensureSelector):

  • dom/ShadowRoot.h:

(WebCore):
(ShadowRoot):

  • html/shadow/ContentInclusionSelector.h: Removed.
  • html/shadow/HTMLContentElement.cpp:

(WebCore::HTMLContentElement::HTMLContentElement):
(WebCore::HTMLContentElement::attach):
(WebCore::HTMLContentElement::detach):

  • html/shadow/HTMLContentElement.h:

(WebCore):
(WebCore::HTMLContentElement::selections):
(WebCore::HTMLContentElement::hasSelection):
(HTMLContentElement):

  • html/shadow/HTMLContentSelector.cpp: Renamed from Source/WebCore/html/shadow/ContentInclusionSelector.cpp.

(WebCore):
(WebCore::HTMLContentSeleciton::append):
(WebCore::HTMLContentSeleciton::unlink):
(WebCore::HTMLContentSelectionList::HTMLContentSelectionList):
(WebCore::HTMLContentSelectionList::~HTMLContentSelectionList):
(WebCore::HTMLContentSelectionList::find):
(WebCore::HTMLContentSelectionList::clear):
(WebCore::HTMLContentSelectionList::append):
(WebCore::HTMLContentSelector::HTMLContentSelector):
(WebCore::HTMLContentSelector::~HTMLContentSelector):
(WebCore::HTMLContentSelector::select):
(WebCore::HTMLContentSelector::unselect):
(WebCore::HTMLContentSelector::findFor):
(WebCore::HTMLContentSelector::didSelect):
(WebCore::HTMLContentSelector::willSelectOver):

  • html/shadow/HTMLContentSelector.h: Added.

(WebCore):
(HTMLContentSeleciton):
(WebCore::HTMLContentSeleciton::insertionPoint):
(WebCore::HTMLContentSeleciton::node):
(WebCore::HTMLContentSeleciton::next):
(WebCore::HTMLContentSeleciton::previous):
(WebCore::HTMLContentSeleciton::HTMLContentSeleciton):
(WebCore::HTMLContentSeleciton::create):
(HTMLContentSelectionList):
(WebCore::HTMLContentSelectionList::first):
(WebCore::HTMLContentSelectionList::last):
(WebCore::HTMLContentSelectionList::isEmpty):
(HTMLContentSelectionSet):
(WebCore::HTMLContentSelectionSet::add):
(WebCore::HTMLContentSelectionSet::remove):
(WebCore::HTMLContentSelectionSet::isEmpty):
(Translator):
(WebCore::HTMLContentSelectionSet::Translator::hash):
(WebCore::HTMLContentSelectionSet::Translator::equal):
(WebCore::HTMLContentSelectionSet::Hash::hash):
(WebCore::HTMLContentSelectionSet::Hash::equal):
(Hash):
(WebCore::HTMLContentSelectionSet::find):
(HTMLContentSelector):
(WebCore::HTMLContentSelector::hasCandidates):

  • testing/Internals.cpp:

(WebCore::Internals::includerFor):

4:08 AM Changeset in webkit [107557] by pfeldman@chromium.org
  • 6 edits in branches/chromium/1025

Merge 107242 - Web Inspector: fix setOuterHTML for the case that adds / removes duplicate.
https://bugs.webkit.org/show_bug.cgi?id=78235

Reviewed by Yury Semikhatsky.

Source/WebCore:

  • inspector/DOMEditor.cpp:

(WebCore::DOMEditor::diff):
(WebCore::DOMEditor::innerPatchChildren):
(WebCore):
(WebCore::nodeName):
(WebCore::DOMEditor::dumpMap):

  • inspector/DOMEditor.h:

(DOMEditor):

LayoutTests:

  • inspector/elements/set-outer-html-2-expected.txt:
  • inspector/elements/set-outer-html-2.html:
  • inspector/elements/set-outer-html-expected.txt:
  • inspector/elements/set-outer-html.html:

TBR=pfeldman@chromium.org
BUG=113388
Review URL: https://chromiumcodereview.appspot.com/9389003

4:02 AM WebKitIDL edited by haraken@chromium.org
(diff)
4:00 AM RegressionTestResearch edited by Csaba Osztrogonác
(diff)
4:00 AM WebKitIDL edited by haraken@chromium.org
(diff)
3:57 AM WebKitIDL edited by haraken@chromium.org
(diff)
3:57 AM Changeset in webkit [107556] by noam.rosenthal@nokia.com
  • 2 edits in trunk/Source/WebCore

[Texmap] morphing-cubes animation appears too close when clicking the button
https://bugs.webkit.org/show_bug.cgi?id=78476

Fixed bug in TextureMapperAnimation that made transform animations that go to/from identity
to not work.

Reviewed by Simon Hausmann.

No behavior changes.

  • platform/graphics/texmap/TextureMapperAnimation.cpp:

(WebCore::applyTransformAnimation):

3:43 AM RegressionTestResearch created by beszedes@inf.u-szeged.hu
Adding regression test improvement pages
3:40 AM Top100Invariant created by beszedes@inf.u-szeged.hu
Adding regression test improvement pages
3:39 AM SelectiveTestEWS created by beszedes@inf.u-szeged.hu
3:36 AM SelectiveTestBuildBot created by beszedes@inf.u-szeged.hu
Adding regression test improvement pages
3:30 AM Improving Regression Tests edited by beszedes@inf.u-szeged.hu
(diff)
3:27 AM Improving Regression Tests created by beszedes@inf.u-szeged.hu
Adding regression test improvement pages
3:22 AM WikiStart edited by beszedes@inf.u-szeged.hu
Adding regression test improvement pages (diff)
3:01 AM Changeset in webkit [107555] by commit-queue@webkit.org
  • 28 edits in trunk/Source

[Forms] Use enum instead of bool for HTMLInputElement::setValue
https://bugs.webkit.org/show_bug.cgi?id=75217

Patch by Yosifumi Inoue <yosin@chromium.org> on 2012-02-13
Reviewed by Kent Tamura.

Source/WebCore:

Use TextFieldEventBehavior enum instead of sendChangeEvent bool
parameter for HTMLInputElement::setValue method. This new enum
parameter will be extended to dispatch input and change events
when user agent populates input field as specified in
"Common events behavior" of HTML5 standard.

This patch is required for fixing bug 75067 "[Forms] Spin buttons
of number input type should fire both input and change event."

No new tests. Existing tests cover this patch.

  • html/BaseButtonInputType.cpp:

(WebCore::BaseButtonInputType::setValue):

  • html/BaseButtonInputType.h:
  • html/BaseCheckableInputType.cpp:

(WebCore::BaseCheckableInputType::setValue):

  • html/BaseCheckableInputType.h:
  • html/BaseDateAndTimeInputType.cpp:

(WebCore::BaseDateAndTimeInputType::setValueAsNumber):

  • html/BaseDateAndTimeInputType.h:
  • html/CheckboxInputType.cpp:

(WebCore::CheckboxInputType::willDispatchClick):

  • html/ColorInputType.cpp:

(WebCore::ColorInputType::setValue):

  • html/ColorInputType.h:
  • html/FileInputType.cpp:

(WebCore::FileInputType::setValue):

  • html/FileInputType.h:
  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::applyStep):
(WebCore::HTMLInputElement::stepUp):
(WebCore::HTMLInputElement::stepDown):
(WebCore::HTMLInputElement::setChecked):
(WebCore::HTMLInputElement::setValueForUser):
(WebCore::HTMLInputElement::setValue):
(WebCore::HTMLInputElement::setValueInternal):
(WebCore::HTMLInputElement::setValueAsNumber):
(WebCore::HTMLInputElement::stepUpFromRenderer):

  • html/HTMLInputElement.h:
  • html/HTMLTextFormControlElement.h:
  • html/HiddenInputType.cpp:

(WebCore::HiddenInputType::setValue):

  • html/HiddenInputType.h:
  • html/InputType.cpp:

(WebCore::InputType::setValueAsNumber):
(WebCore::InputType::setValue):

  • html/InputType.h:
  • html/NumberInputType.cpp:

(WebCore::NumberInputType::setValueAsNumber):

  • html/NumberInputType.h:
  • html/RadioInputType.cpp:

(WebCore::RadioInputType::willDispatchClick):

  • html/RangeInputType.cpp:

(WebCore::RangeInputType::setValueAsNumber):
(WebCore::RangeInputType::handleKeydownEvent):
(WebCore::RangeInputType::setValue):

  • html/RangeInputType.h:
  • html/TextFieldInputType.cpp:

(WebCore::TextFieldInputType::setValue):

  • html/TextFieldInputType.h:

Source/WebKit/chromium:

  • src/WebInputElement.cpp:

(WebKit::WebInputElement::setValue): Use enum for HTMLInputElement::setValue

2:36 AM Changeset in webkit [107554] by kling@webkit.org
  • 67 edits in trunk/Source/WebCore

Move attribute style invalidation to attributeChanged().
<http://webkit.org/b/78461>

Reviewed by Antti Koivisto.

Moved attribute style invalidation out of the parseAttribute() overloads
and added an "isPresentationAttribute(Attribute*) virtual to StyledElement.
Returning true for a given Attribute will cause attribute style invalidation
when that attribute passes through attributeChanged().

Removed a couple of parseAttribute() overloads whose only remaining purpose
was invalidating attribute style.

For form elements that deliberately don't map the "align" attribute, added
short-circuits in isPresentationAttribute instead of falling back to the
respective base class (which may othweise then map "align")

  • dom/StyledElement.cpp:

(WebCore::StyledElement::attributeChanged):

  • dom/StyledElement.h:

(WebCore::StyledElement::isPresentationAttribute):

  • html/HTMLBRElement.cpp:

(WebCore::HTMLBRElement::isPresentationAttribute):

  • html/HTMLBRElement.h:
  • html/HTMLBodyElement.cpp:

(WebCore::HTMLBodyElement::isPresentationAttribute):
(WebCore::HTMLBodyElement::collectStyleForAttribute):
(WebCore::HTMLBodyElement::parseAttribute):

  • html/HTMLBodyElement.h:
  • html/HTMLButtonElement.cpp:

(WebCore::HTMLButtonElement::isPresentationAttribute):
(WebCore::HTMLButtonElement::parseAttribute):

  • html/HTMLButtonElement.h:
  • html/HTMLDivElement.cpp:

(WebCore::HTMLDivElement::isPresentationAttribute):

  • html/HTMLDivElement.h:
  • html/HTMLElement.cpp:

(WebCore::HTMLElement::isPresentationAttribute):
(WebCore::HTMLElement::parseAttribute):

  • html/HTMLElement.h:
  • html/HTMLEmbedElement.cpp:

(WebCore::HTMLEmbedElement::isPresentationAttribute):
(WebCore::HTMLEmbedElement::parseAttribute):

  • html/HTMLEmbedElement.h:
  • html/HTMLFontElement.cpp:

(WebCore::HTMLFontElement::isPresentationAttribute):

  • html/HTMLFontElement.h:
  • html/HTMLFrameSetElement.cpp:

(WebCore::HTMLFrameSetElement::isPresentationAttribute):
(WebCore::HTMLFrameSetElement::parseAttribute):

  • html/HTMLFrameSetElement.h:
  • html/HTMLHRElement.cpp:

(WebCore::HTMLHRElement::isPresentationAttribute):
(WebCore::HTMLHRElement::collectStyleForAttribute):

  • html/HTMLHRElement.h:
  • html/HTMLIFrameElement.cpp:

(WebCore::HTMLIFrameElement::isPresentationAttribute):
(WebCore::HTMLIFrameElement::collectStyleForAttribute):
(WebCore::HTMLIFrameElement::parseAttribute):

  • html/HTMLIFrameElement.h:
  • html/HTMLImageElement.cpp:

(WebCore::HTMLImageElement::isPresentationAttribute):
(WebCore::HTMLImageElement::collectStyleForAttribute):
(WebCore::HTMLImageElement::parseAttribute):

  • html/HTMLImageElement.h:
  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::isPresentationAttribute):
(WebCore::HTMLInputElement::collectStyleForAttribute):
(WebCore::HTMLInputElement::parseAttribute):

  • html/HTMLInputElement.h:
  • html/HTMLLIElement.cpp:

(WebCore::HTMLLIElement::isPresentationAttribute):
(WebCore::HTMLLIElement::parseAttribute):

  • html/HTMLLIElement.h:
  • html/HTMLMarqueeElement.cpp:

(WebCore::HTMLMarqueeElement::isPresentationAttribute):
(WebCore::HTMLMarqueeElement::collectStyleForAttribute):
(WebCore::HTMLMarqueeElement::parseAttribute):

  • html/HTMLMarqueeElement.h:
  • html/HTMLOListElement.cpp:

(WebCore::HTMLOListElement::isPresentationAttribute):
(WebCore::HTMLOListElement::parseAttribute):

  • html/HTMLOListElement.h:
  • html/HTMLObjectElement.cpp:

(WebCore::HTMLObjectElement::isPresentationAttribute):
(WebCore::HTMLObjectElement::parseAttribute):

  • html/HTMLObjectElement.h:
  • html/HTMLParagraphElement.cpp:

(WebCore::HTMLParagraphElement::isPresentationAttribute):

  • html/HTMLParagraphElement.h:
  • html/HTMLPlugInElement.cpp:

(WebCore::HTMLPlugInElement::isPresentationAttribute):
(WebCore::HTMLPlugInElement::collectStyleForAttribute):

  • html/HTMLPlugInElement.h:
  • html/HTMLPreElement.cpp:

(WebCore::HTMLPreElement::isPresentationAttribute):
(WebCore::HTMLPreElement::collectStyleForAttribute):

  • html/HTMLPreElement.h:
  • html/HTMLSelectElement.cpp:

(WebCore::HTMLSelectElement::isPresentationAttribute):
(WebCore::HTMLSelectElement::parseAttribute):

  • html/HTMLSelectElement.h:
  • html/HTMLTableCaptionElement.cpp:

(WebCore::HTMLTableCaptionElement::isPresentationAttribute):
(WebCore::HTMLTableCaptionElement::parseAttribute):

  • html/HTMLTableCaptionElement.h:
  • html/HTMLTableCellElement.cpp:

(WebCore::HTMLTableCellElement::isPresentationAttribute):
(WebCore::HTMLTableCellElement::collectStyleForAttribute):
(WebCore::HTMLTableCellElement::parseAttribute):

  • html/HTMLTableCellElement.h:
  • html/HTMLTableColElement.cpp:

(WebCore::HTMLTableColElement::isPresentationAttribute):
(WebCore::HTMLTableColElement::parseAttribute):

  • html/HTMLTableColElement.h:
  • html/HTMLTableElement.cpp:

(WebCore::HTMLTableElement::isPresentationAttribute):
(WebCore::HTMLTableElement::parseAttribute):

  • html/HTMLTableElement.h:
  • html/HTMLTablePartElement.cpp:

(WebCore::HTMLTablePartElement::isPresentationAttribute):
(WebCore::HTMLTablePartElement::collectStyleForAttribute):

  • html/HTMLTablePartElement.h:
  • html/HTMLTextAreaElement.cpp:

(WebCore::HTMLTextAreaElement::isPresentationAttribute):
(WebCore::HTMLTextAreaElement::parseAttribute):

  • html/HTMLTextAreaElement.h:
  • html/HTMLUListElement.cpp:

(WebCore::HTMLUListElement::isPresentationAttribute):
(WebCore::HTMLUListElement::collectStyleForAttribute):

  • html/HTMLUListElement.h:
  • html/HTMLVideoElement.cpp:

(WebCore::HTMLVideoElement::isPresentationAttribute):
(WebCore::HTMLVideoElement::parseAttribute):

  • html/HTMLVideoElement.h:
  • mathml/MathMLElement.cpp:

(WebCore::MathMLElement::isPresentationAttribute):
(WebCore::MathMLElement::collectStyleForAttribute):

  • mathml/MathMLElement.h:
  • svg/SVGImageElement.cpp:

(WebCore::SVGImageElement::isPresentationAttribute):
(WebCore::SVGImageElement::parseAttribute):

  • svg/SVGImageElement.h:
  • svg/SVGStyledElement.cpp:

(WebCore::SVGStyledElement::isPresentationAttribute):
(WebCore::SVGStyledElement::parseAttribute):

  • svg/SVGStyledElement.h:
  • svg/SVGTextContentElement.cpp:

(WebCore::SVGTextContentElement::isPresentationAttribute):
(WebCore::SVGTextContentElement::parseAttribute):

  • svg/SVGTextContentElement.h:
2:24 AM Changeset in webkit [107553] by haraken@chromium.org
  • 5 edits in trunk/Source/WebCore

Add [JSCustomToJSObject] IDL attribute to interfaces that have
custom toJS() but do not have custom toV8()
https://bugs.webkit.org/show_bug.cgi?id=78466

Reviewed by Adam Barth.

This is the second step to remove hard-coding in HasCustomToV8Implementation()
in CodeGeneratorV8.pm. This patch replaces [JSCustomToJS] with [JSCustomToJSObject]
for interfaces which have custom toJS() but do not have custom toV8().

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateHeader):
(GenerateImplementation):

  • bindings/scripts/CodeGeneratorV8.pm:

(HasCustomToV8Implementation): I found that AbstractWorker and CanvasRenderingContext
are the only IDL files to which I need to add [JSCustomToJSObject].
Other IDL files which had been listed here do not have [JSCustomToJS].

  • html/canvas/CanvasRenderingContext.idl:
  • workers/AbstractWorker.idl:
2:23 AM Changeset in webkit [107552] by Csaba Osztrogonác
  • 4 edits in trunk/LayoutTests

Unreviewed gardening after r107544.

  • fast/dom/wrapper-classes-expected.txt:
  • platform/gtk/fast/dom/prototype-inheritance-2-expected.txt:
  • platform/qt/fast/dom/prototype-inheritance-2-expected.txt:
2:09 AM Changeset in webkit [107551] by kling@webkit.org
  • 2 edits in trunk/Source/WebCore

Avoid unnecessary work when evaluating style sharing candidates.
<http://webkit.org/b/78220>

Reviewed by Antti Koivisto.

Do the cheap checks (bitfields, pointers) before calling virtuals and doing hash lookups.
Remove comparison of attributes that are reflected in the attribute styles (cellpadding.)
Moved comparison of "type" and "readonly" attributes into the more specific
canShareStyleWithControl() since they are only relevant for input elements. Don't bother
calling isFormControlElement() on both elements as they already have the same tagQName().

Altogether this knocks off ~8ms worth of samples per cycle of the "Moz" page cycler test.

  • css/CSSStyleSelector.cpp:

(WebCore::CSSStyleSelector::canShareStyleWithControl):
(WebCore::CSSStyleSelector::canShareStyleWithElement):
(WebCore::isCommonAttributeSelectorAttribute):

2:08 AM Changeset in webkit [107550] by podivilov@chromium.org
  • 2 edits in trunk/LayoutTests

2012-02-13 Pavel Podivilov <podivilov@chromium.org>

Unreviewed, mark dfg-put-by-id-prototype-check.html as failing in chromium (new test).

  • platform/chromium/test_expectations.txt:
2:08 AM Changeset in webkit [107549] by Patrick Gansterer
  • 2 edits in trunk/Source/JavaScriptCore

Unreviewed. Build fix for !ENABLE(JIT) after r107485.

  • bytecode/PolymorphicPutByIdList.cpp:
1:47 AM Changeset in webkit [107548] by commit-queue@webkit.org
  • 5 edits
    2 adds in trunk

<summary> is not keyboard accessible.
https://bugs.webkit.org/show_bug.cgi?id=75478

Patch by Arko Saha <arko@motorola.com> on 2012-02-13
Reviewed by Hajime Morita.

Source/WebCore:

Toggle the content of <details> element on pressing Enter or Spacebar
key on a focused <summary> element.

Test: fast/html/details-keyboard-show-hide.html

  • html/HTMLSummaryElement.cpp:

(WebCore::HTMLSummaryElement::supportsFocus):
(WebCore):
(WebCore::HTMLSummaryElement::defaultEventHandler):

  • html/HTMLSummaryElement.h:

(HTMLSummaryElement):

LayoutTests:

  • fast/html/details-keyboard-show-hide-expected.txt: Added.
  • fast/html/details-keyboard-show-hide.html: Added.
  • platform/chromium/test_expectations.txt: <summary> is now focusable and clicking

it draws a focus ring. So we need to rebase failed test cases.

1:37 AM Changeset in webkit [107547] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] REGRESSION(r107518): It broke many tests
https://bugs.webkit.org/show_bug.cgi?id=78471

  • platform/qt/Skipped: Unreviewed gardening, skip failing tests.
1:31 AM Changeset in webkit [107546] by podivilov@chromium.org
  • 1 edit
    1 add in trunk/LayoutTests

2012-02-13 Pavel Podivilov <podivilov@chromium.org>

Unreviewed, add new baseline for font-face-default-font.html on linux.

  • platform/chromium-linux/fast/css/font-face-default-font-expected.txt: Added.
1:30 AM Changeset in webkit [107545] by noel.gordon@gmail.com
  • 2 edits in trunk/LayoutTests

Rebaseline JPEG image results after r107389
https://bugs.webkit.org/show_bug.cgi?id=78454

Unreviewed. Preparation for a bunch of rebaselines.

  • platform/chromium/test_expectations.txt: unskip tests to allow bots to cycle and

produce the new JPEG image results.

1:28 AM Changeset in webkit [107544] by barraclough@apple.com
  • 29 edits in trunk

https://bugs.webkit.org/show_bug.cgi?id=78434
Unreviewed - temporarily reverting r107498 will I fix a couple of testcases.

Source/JavaScriptCore:

  • parser/Parser.cpp:

(JSC::::parseFunctionInfo):

  • runtime/ClassInfo.h:

(MethodTable):
(JSC):

  • runtime/JSCell.cpp:

(JSC):

  • runtime/JSCell.h:

(JSCell):

  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::reset):

  • runtime/JSGlobalObjectFunctions.cpp:

(JSC):

  • runtime/JSGlobalObjectFunctions.h:

(JSC):

  • runtime/JSObject.cpp:

(JSC::JSObject::put):
(JSC):
(JSC::JSObject::putDirectAccessor):
(JSC::JSObject::defineOwnProperty):

  • runtime/JSObject.h:

(JSC::JSObject::inlineGetOwnPropertySlot):
(JSC::JSValue::get):

  • runtime/JSString.cpp:

(JSC::JSString::getOwnPropertySlot):

  • runtime/JSValue.h:

(JSValue):

  • runtime/ObjectConstructor.cpp:

(JSC::objectConstructorGetPrototypeOf):

  • runtime/Structure.cpp:

(JSC::Structure::Structure):

  • runtime/Structure.h:

(JSC::Structure::setHasGetterSetterProperties):
(Structure):

Source/WebCore:

  • bindings/js/JSDOMWindowBase.cpp:

(WebCore):

  • bindings/js/JSDOMWindowBase.h:

(JSDOMWindowBase):

LayoutTests:

  • fast/js/Object-getOwnPropertyNames-expected.txt:
  • fast/js/cyclic-prototypes-expected.txt:
  • fast/js/parser-syntax-check-expected.txt:
  • fast/js/preventExtensions-expected.txt:
  • fast/js/prototypes-expected.txt:
  • fast/js/script-tests/Object-getOwnPropertyNames.js:
  • fast/js/script-tests/cyclic-prototypes.js:
  • fast/js/script-tests/parser-syntax-check.js:
  • fast/js/script-tests/preventExtensions.js:
  • fast/js/script-tests/prototypes.js:
1:22 AM WebKitIDL edited by haraken@chromium.org
(diff)
1:01 AM Changeset in webkit [107543] by podivilov@chromium.org
  • 2 edits in trunk/LayoutTests

2012-02-13 Pavel Podivilov <podivilov@chromium.org>

Unreviewed, remove missing test from expectations.

  • platform/chromium/test_expectations.txt:
12:53 AM Changeset in webkit [107542] by loislo@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: get rid of cycles in containment view of an object.
https://bugs.webkit.org/show_bug.cgi?id=78462

Reviewed by Yury Semikhatsky.

  • inspector/front-end/DetailedHeapshotGridNodes.js:

(WebInspector.HeapSnapshotObjectNode.prototype.updateHasChildren):
(WebInspector.HeapSnapshotObjectNode.prototype._prefixObjectCell):

12:48 AM WebKitIDL edited by haraken@chromium.org
(diff)
12:36 AM WebKitIDL edited by haraken@chromium.org
(diff)
12:18 AM Changeset in webkit [107541] by abarth@webkit.org
  • 6 edits
    3 adds in trunk/Source/WebCore

Remove ENABLE(MEDIA_STREAM) from Navigator.h
https://bugs.webkit.org/show_bug.cgi?id=78467

Reviewed by Kentaro Hara.

Navigator.webkitGetUser media doesn't really have anything to do with
Navigator.cpp. This patch moves it into the mediastream directory and
removes the ENABLE(MEDIA_STREAM) ifdefs in Navigator.h and
Navigator.cpp.

  • GNUmakefile.list.am:
  • WebCore.gypi:
  • mediastream/NavigatorMediaStream.cpp: Added.

(WebCore):
(WebCore::NavigatorMediaStream::NavigatorMediaStream):
(WebCore::NavigatorMediaStream::~NavigatorMediaStream):
(WebCore::NavigatorMediaStream::webkitGetUserMedia):

  • mediastream/NavigatorMediaStream.h: Added.

(WebCore):
(NavigatorMediaStream):

  • mediastream/NavigatorMediaStream.idl: Added.
  • page/Navigator.cpp:

(WebCore):

  • page/Navigator.h:

(WebCore):
(Navigator):

  • page/Navigator.idl:
12:17 AM Changeset in webkit [107540] by abarth@webkit.org
  • 3 edits in trunk/LayoutTests

This test is testing the argument handling behavior of this API. Now
that we autogenerate this code, we now throw consistent exceptions with
the rest of the platform. There shouldn't be a compat issue here
because this API hasn't shipped in production releases yet.

  • fast/dom/MediaStream/argument-types-expected.txt:
  • fast/dom/MediaStream/script-tests/argument-types.js:
12:10 AM Changeset in webkit [107539] by commit-queue@webkit.org
  • 2 edits
    178 adds in trunk/LayoutTests

[EFL][DRT] Add new expected layout results come from bug 78091.
https://bugs.webkit.org/show_bug.cgi?id=78188

Patch by Kangil Han <kangil.han@samsung.com> on 2012-02-13
Reviewed by Ryosuke Niwa.

Implemented zoomPageIn, zoomPageOut, textZoomIn and textZoomOut events on EFL DRT.
This patch will activate around 1,900 test cases from skipped list in EFL port.

  • platform/efl/Skipped:
  • platform/efl/svg/css/composite-shadow-example-expected.txt: Added.
  • platform/efl/svg/css/composite-shadow-text-expected.txt: Added.
  • platform/efl/svg/css/composite-shadow-with-opacity-expected.txt: Added.
  • platform/efl/svg/css/css-box-min-width-expected.txt: Added.
  • platform/efl/svg/css/group-with-shadow-expected.txt: Added.
  • platform/efl/svg/css/mask-with-shadow-expected.txt: Added.
  • platform/efl/svg/css/path-gradient-stroke-shadow-expected.txt: Added.
  • platform/efl/svg/css/path-with-shadow-expected.txt: Added.
  • platform/efl/svg/css/shadow-and-opacity-expected.txt: Added.
  • platform/efl/svg/css/shadow-changes-expected.txt: Added.
  • platform/efl/svg/css/shadow-with-large-radius-expected.txt: Added.
  • platform/efl/svg/css/shadow-with-negative-offset-expected.txt: Added.
  • platform/efl/svg/css/stars-with-shadow-expected.txt: Added.
  • platform/efl/svg/css/text-gradient-shadow-expected.txt: Added.
  • platform/efl/svg/css/text-shadow-multiple-expected.txt: Added.
  • platform/efl/svg/dom/SVGPathSegList-segment-modification-expected.txt: Added.
  • platform/efl/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.txt: Added.
  • platform/efl/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.txt: Added.
  • platform/efl/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt: Added.
  • platform/efl/svg/foreignObject/svg-document-as-direct-child-expected.txt: Added.
  • platform/efl/svg/foreignObject/svg-document-in-html-document-expected.txt: Added.
  • platform/efl/svg/hixie/cascade/001-broken-expected.txt: Added.
  • platform/efl/svg/hixie/cascade/002-expected.txt: Added.
  • platform/efl/svg/hixie/data-types/001-expected.txt: Added.
  • platform/efl/svg/hixie/data-types/002-expected.txt: Added.
  • platform/efl/svg/hixie/dynamic/002-expected.txt: Added.
  • platform/efl/svg/hixie/dynamic/003-expected.txt: Added.
  • platform/efl/svg/hixie/dynamic/004-expected.txt: Added.
  • platform/efl/svg/hixie/dynamic/005-expected.txt: Added.
  • platform/efl/svg/hixie/dynamic/006-expected.txt: Added.
  • platform/efl/svg/hixie/error/001-expected.txt: Added.
  • platform/efl/svg/hixie/error/002-expected.txt: Added.
  • platform/efl/svg/hixie/error/003-expected.txt: Added.
  • platform/efl/svg/hixie/error/006-expected.txt: Added.
  • platform/efl/svg/hixie/error/007-expected.txt: Added.
  • platform/efl/svg/hixie/error/008-expected.txt: Added.
  • platform/efl/svg/hixie/error/009-expected.txt: Added.
  • platform/efl/svg/hixie/error/010-expected.txt: Added.
  • platform/efl/svg/hixie/error/011-expected.txt: Added.
  • platform/efl/svg/hixie/error/012-expected.txt: Added.
  • platform/efl/svg/hixie/error/013-expected.txt: Added.
  • platform/efl/svg/hixie/error/014-expected.txt: Added.
  • platform/efl/svg/hixie/error/014-test-expected.txt: Added.
  • platform/efl/svg/hixie/error/015-expected.txt: Added.
  • platform/efl/svg/hixie/error/016-expected.txt: Added.
  • platform/efl/svg/hixie/error/017-expected.txt: Added.
  • platform/efl/svg/hixie/intrinsic/001-expected.txt: Added.
  • platform/efl/svg/hixie/intrinsic/002-expected.txt: Added.
  • platform/efl/svg/hixie/intrinsic/003-expected.txt: Added.
  • platform/efl/svg/hixie/links/002-expected.txt: Added.
  • platform/efl/svg/hixie/mixed/003-expected.txt: Added.
  • platform/efl/svg/hixie/mixed/004-expected.txt: Added.
  • platform/efl/svg/hixie/mixed/005-expected.txt: Added.
  • platform/efl/svg/hixie/mixed/006-expected.txt: Added.
  • platform/efl/svg/hixie/mixed/007-expected.txt: Added.
  • platform/efl/svg/hixie/mixed/008-expected.txt: Added.
  • platform/efl/svg/hixie/mixed/009-expected.txt: Added.
  • platform/efl/svg/hixie/mixed/010-expected.txt: Added.
  • platform/efl/svg/hixie/mixed/011-expected.txt: Added.
  • platform/efl/svg/hixie/painting/001-expected.txt: Added.
  • platform/efl/svg/hixie/perf/001-expected.txt: Added.
  • platform/efl/svg/hixie/perf/002-expected.txt: Added.
  • platform/efl/svg/hixie/perf/003-expected.txt: Added.
  • platform/efl/svg/hixie/perf/004-expected.txt: Added.
  • platform/efl/svg/hixie/perf/005-expected.txt: Added.
  • platform/efl/svg/hixie/perf/006-expected.txt: Added.
  • platform/efl/svg/hixie/perf/007-expected.txt: Added.
  • platform/efl/svg/hixie/processing-model/003-expected.txt: Added.
  • platform/efl/svg/hixie/processing-model/004-expected.txt: Added.
  • platform/efl/svg/hixie/processing-model/005-expected.txt: Added.
  • platform/efl/svg/hixie/rendering-model/001-expected.txt: Added.
  • platform/efl/svg/hixie/rendering-model/002-expected.txt: Added.
  • platform/efl/svg/hixie/rendering-model/003-expected.txt: Added.
  • platform/efl/svg/hixie/rendering-model/003a-expected.txt: Added.
  • platform/efl/svg/hixie/rendering-model/004-expected.txt: Added.
  • platform/efl/svg/hixie/shapes/path/001-expected.txt: Added.
  • platform/efl/svg/hixie/text/001-expected.txt: Added.
  • platform/efl/svg/hixie/text/002-expected.txt: Added.
  • platform/efl/svg/hixie/text/003-expected.txt: Added.
  • platform/efl/svg/hixie/text/003a-expected.txt: Added.
  • platform/efl/svg/hixie/text/003b-expected.txt: Added.
  • platform/efl/svg/hixie/transform/001-expected.txt: Added.
  • platform/efl/svg/hixie/use/001-expected.txt: Added.
  • platform/efl/svg/hixie/use/002-expected.txt: Added.
  • platform/efl/svg/hixie/use/002-test-expected.txt: Added.
  • platform/efl/svg/hixie/viewbox/001-expected.txt: Added.
  • platform/efl/svg/hixie/viewbox/004-expected.txt: Added.
  • platform/efl/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt: Added.
  • platform/efl/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt: Added.
  • platform/efl/svg/in-html/by-reference-expected.txt: Added.
  • platform/efl/svg/in-html/circle-expected.txt: Added.
  • platform/efl/svg/overflow/overflow-on-foreignObject-expected.txt: Added.
  • platform/efl/svg/overflow/overflow-on-inner-svg-element-defaults-expected.txt: Added.
  • platform/efl/svg/overflow/overflow-on-inner-svg-element-expected.txt: Added.
  • platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-auto-expected.txt: Added.
  • platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.txt: Added.
  • platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-hidden-expected.txt: Added.
  • platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-scroll-expected.txt: Added.
  • platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt: Added.
  • platform/efl/svg/repaint/filter-child-repaint-expected.txt: Added.
  • platform/efl/svg/repaint/filter-repaint-expected.txt: Added.
  • platform/efl/svg/stroke/zero-length-path-linecap-rendering-expected.txt: Added.
  • platform/efl/svg/stroke/zero-length-subpaths-linecap-rendering-expected.txt: Added.
  • platform/efl/svg/transforms/animated-path-inside-transformed-html-expected.txt: Added.
  • platform/efl/svg/transforms/svg-css-transforms-clip-path-expected.txt: Added.
  • platform/efl/svg/transforms/svg-css-transforms-expected.txt: Added.
  • platform/efl/svg/transforms/text-with-mask-with-svg-transform-expected.txt: Added.
  • platform/efl/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt: Added.
  • platform/efl/svg/transforms/text-with-pattern-with-svg-transform-expected.txt: Added.
  • platform/efl/svg/wicd/rightsizing-grid-expected.txt: Added.
  • platform/efl/svg/wicd/sizing-flakiness-expected.txt: Added.
  • platform/efl/svg/wicd/test-rightsizing-a-expected.txt: Added.
  • platform/efl/svg/wicd/test-rightsizing-b-expected.txt: Added.
  • platform/efl/svg/wicd/test-scalable-background-image1-expected.txt: Added.
  • platform/efl/svg/wicd/test-scalable-background-image2-expected.txt: Added.
  • platform/efl/svg/zoom/page/absolute-sized-document-no-scrollbars-expected.txt: Added.
  • platform/efl/svg/zoom/page/absolute-sized-document-scrollbars-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-background-image-tiled-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-background-images-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-foreignObject-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-hixie-mixed-008-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-hixie-mixed-009-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-hixie-rendering-model-004-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-mask-with-percentages-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-as-image-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-as-object-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-as-relative-image-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-float-border-padding-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.txt: Added.
  • platform/efl/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt: Added.
  • platform/efl/svg/zoom/text/absolute-sized-document-no-scrollbars-expected.txt: Added.
  • platform/efl/svg/zoom/text/absolute-sized-document-scrollbars-expected.txt: Added.
  • platform/efl/svg/zoom/text/relative-sized-document-scrollbars-expected.txt: Added.
  • platform/efl/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt: Added.
  • platform/efl/svg/zoom/text/zoom-foreignObject-expected.txt: Added.
  • platform/efl/svg/zoom/text/zoom-hixie-mixed-008-expected.txt: Added.
  • platform/efl/svg/zoom/text/zoom-hixie-mixed-009-expected.txt: Added.
  • platform/efl/svg/zoom/text/zoom-hixie-rendering-model-004-expected.txt: Added.
  • platform/efl/svg/zoom/text/zoom-svg-float-border-padding-expected.txt: Added.

Feb 12, 2012:

11:59 PM Changeset in webkit [107538] by Philippe Normand
  • 2 edits in trunk/LayoutTests

Unreviewed, skipping 2 tests failing because of bug 78434.

  • platform/gtk/Skipped:
11:30 PM Changeset in webkit [107537] by abarth@webkit.org
  • 5 edits
    2 deletes in trunk/Source/WebCore

Navigator.webkitGetUserMedia doesn't need to be custom
https://bugs.webkit.org/show_bug.cgi?id=78464

Reviewed by Eric Seidel.

The code generator has gotten smarter since this function was added.

  • GNUmakefile.list.am:
  • UseV8.cmake:
  • WebCore.gypi:
  • bindings/js/JSNavigatorCustom.cpp: Removed.
  • bindings/v8/custom/V8NavigatorCustom.cpp: Removed.
  • page/Navigator.idl:
11:03 PM Changeset in webkit [107536] by abarth@webkit.org
  • 14 edits
    2 adds in trunk/Source/WebCore

Move ENABLE(GAMEPAD) logic out of Navigator.h/cpp
https://bugs.webkit.org/show_bug.cgi?id=78457

Reviewed by Hajime Morita.

This patch moves GAMEPAD-specific logic out of Navigator by introducing
the concept of a NavigatorSupplement, analogous to the recently
introduced PageSupplement.

  • Modules/gamepad/NavigatorGamepad.cpp:

(WebCore::NavigatorGamepad::from):
(WebCore):
(WebCore::NavigatorGamepad::webkitGamepads):
(WebCore::NavigatorGamepad::gamepads):

  • Modules/gamepad/NavigatorGamepad.h:

(NavigatorGamepad):

  • WebCore.gypi:
  • dom/DeviceMotionController.cpp:

(WebCore::DeviceMotionController::supplementName):

  • page/Navigator.cpp:

(WebCore::Navigator::provideSupplement):
(WebCore):
(WebCore::Navigator::requireSupplement):

  • page/Navigator.h:

(Navigator):

  • page/Page.h:

(Page):

  • page/PageSupplement.h:
    • This patch cleans up some nits in PageSupplement.

(WebCore):
(PageSupplement):

11:00 PM Changeset in webkit [107535] by rniwa@webkit.org
  • 2 edits in trunk

Another perf-o-matic build fix.

  • Websites/webkit-perf.appspot.com/report_process_handler.py:

(ReportProcessHandler._create_build_if_possible):

10:47 PM Changeset in webkit [107534] by bashi@chromium.org
  • 4 edits
    1 move
    3 adds
    1 delete in trunk/LayoutTests

Unreviewed test expectations update after r107516.

  • platform/chromium-mac-leopard/fast/css/font-face-default-font-expected.png: Added.
  • platform/chromium-mac-leopard/fast/css/font-face-multiple-faces-expected.png:
  • platform/chromium-mac-snowleopard/fast/css/font-face-default-font-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/css/font-face-default-font-expected.txt: Added.
  • platform/chromium-mac-snowleopard/fast/css/font-face-multiple-faces-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/css/font-face-multiple-faces-expected.png.
  • platform/chromium-mac/fast/css/font-face-default-font-expected.png: Removed.
  • platform/chromium-win/fast/css/font-face-default-font-expected.png:
  • platform/chromium-win/fast/css/font-face-default-font-expected.txt:
10:41 PM Changeset in webkit [107533] by bashi@chromium.org
  • 1 edit
    18 deletes in trunk/LayoutTests

Remove fast/css/font-face-descriptor-multiple-values.html
https://bugs.webkit.org/show_bug.cgi?id=78456

The test is no longer needed because WebKit now follow the current
draft(*1) and doesn't accept multiple font-weight descriptors.
(*1) http://dev.w3.org/csswg/css3-fonts/#descdef-font-weight

Reviewed by Hajime Morita.

  • fast/css/font-face-descriptor-multiple-values.html: Removed.
  • fast/css/resources/font-face-descriptor-multiple-values-parsing.js: Removed.
  • platform/chromium-linux/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
  • platform/chromium-mac-leopard/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
  • platform/chromium-mac/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
  • platform/chromium-mac/fast/css/font-face-descriptor-multiple-values-parsing-expected.txt: Removed.
  • platform/chromium-win/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
  • platform/chromium-win/fast/css/font-face-descriptor-multiple-values-expected.txt: Removed.
  • platform/chromium-win/fast/css/font-face-descriptor-multiple-values-parsing-expected.txt: Removed.
  • platform/efl/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
  • platform/efl/fast/css/font-face-descriptor-multiple-values-expected.txt: Removed.
  • platform/gtk/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
  • platform/gtk/fast/css/font-face-descriptor-multiple-values-expected.txt: Removed.
  • platform/mac-leopard/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
  • platform/mac/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
  • platform/mac/fast/css/font-face-descriptor-multiple-values-expected.txt: Removed.
  • platform/qt/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
  • platform/qt/fast/css/font-face-descriptor-multiple-values-expected.txt: Removed.
10:26 PM WebKitIDL edited by haraken@chromium.org
(diff)
10:25 PM WebKitIDL edited by haraken@chromium.org
(diff)
10:21 PM WebKitIDL edited by haraken@chromium.org
(diff)
10:20 PM WebKitIDL edited by haraken@chromium.org
(diff)
10:20 PM Changeset in webkit [107532] by rniwa@webkit.org
  • 2 edits in trunk

Perf-o-matic build fix.

  • Websites/webkit-perf.appspot.com/report_handler.py:

(ReportHandler.post):

9:45 PM Changeset in webkit [107531] by rniwa@webkit.org
  • 5 edits in trunk

REGRESSION: Perf-o-matic adds duplicated test results
https://bugs.webkit.org/show_bug.cgi?id=78373

Reviewed by Hajime Morita.

Add TestResult inside a transaction. We use high replication databsae but this should prevent
the duplication in the most of the time.

Also fixed random bugs in Controller and ReportHandler.

  • Websites/webkit-perf.appspot.com/controller.py:

(get_persistent_cache):

  • Websites/webkit-perf.appspot.com/report_handler.py:

(ReportHandler.post):

  • Websites/webkit-perf.appspot.com/report_process_handler.py:

(ReportProcessHandler.post):
(ReportProcessHandler._add_test_if_needed):
(ReportProcessHandler):
(ReportProcessHandler._add_test_result_if_needed):
(ReportProcessHandler._add_test_result_if_needed._float_or_none):
(ReportProcessHandler._add_test_result_if_needed.execute):

9:35 PM Changeset in webkit [107530] by haraken@chromium.org
  • 17 edits in trunk/Source/WebCore

Add a [V8CustomToJSObject] IDL attribute
https://bugs.webkit.org/show_bug.cgi?id=78450

Reviewed by Adam Barth.

This is the first step to remove hard-coding in HasCustomToV8Implementation()
in CodeGeneratorV8.pm. This patch adds [V8CustomToJSObject]
to interfaces which have custom toV8() but do not have custom toJS().

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorV8.pm: Replaced hard-coding with [V8CustomToJSObject].

(HasCustomToV8Implementation):

  • css/CSSStyleSheet.idl: Added [V8CustomToJSObject].
  • dom/DOMStringMap.idl:
  • dom/Element.idl:
  • dom/NamedNodeMap.idl:
  • html/DOMTokenList.idl:
  • html/HTMLDocument.idl:
  • html/HTMLElement.idl:
  • html/canvas/CanvasPixelArray.idl:
  • inspector/ScriptProfile.idl:
  • inspector/ScriptProfileNode.idl:
  • page/DOMWindow.idl:
  • page/Location.idl:
  • svg/SVGDocument.idl:
  • svg/SVGElement.idl:
  • workers/WorkerContext.idl:
9:26 PM Changeset in webkit [107529] by commit-queue@webkit.org
  • 3 edits
    161 adds in trunk

[EFL][DRT] Implement zoomPage{In,Out} and textZoom{In,Out} events.
https://bugs.webkit.org/show_bug.cgi?id=78091

Patch by Kangil Han <kangil.han@samsung.com> on 2012-02-12
Reviewed by Hajime Morita.

Implemented zoomPageIn, zoomPageOut, textZoomIn and textZoomOut events on EFL DRT.
This patch will activate around 1,900 test cases from skipped list in EFL port.

Tools:

  • DumpRenderTree/efl/EventSender.cpp:

(textZoom):
(pageZoom):
(textZoomInCallback):
(textZoomOutCallback):
(zoomPageInCallback):
(zoomPageOutCallback):

LayoutTests:

  • platform/efl/fast/css/ignore-text-zoom-expected.txt: Added.
  • platform/efl/fast/css/preserve-user-specified-zoom-level-on-reload-expected.txt: Added.
  • platform/efl/fast/images/imagemap-focus-ring-zoom-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-anchor-no-markup-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-direction-ltr-expected.txt: Added.
  • platform/efl/svg/W3C-I18N/tspan-direction-rtl-expected.txt: Added.
  • platform/efl/svg/as-background-image/animated-svg-as-background-expected.txt: Added.
  • platform/efl/svg/as-background-image/background-image-preserveaspectRatio-support-expected.txt: Added.
  • platform/efl/svg/as-background-image/background-image-tiled-expected.txt: Added.
  • platform/efl/svg/as-background-image/same-image-two-instances-background-image-expected.txt: Added.
  • platform/efl/svg/as-background-image/svg-as-background-2-expected.txt: Added.
  • platform/efl/svg/as-background-image/svg-as-background-6-expected.txt: Added.
  • platform/efl/svg/as-background-image/svg-as-background-expected.txt: Added.
  • platform/efl/svg/as-background-image/svg-as-background-with-relative-size-expected.txt: Added.
  • platform/efl/svg/as-background-image/svg-as-background-with-viewBox-expected.txt: Added.
  • platform/efl/svg/as-background-image/svg-as-tiled-background-expected.txt: Added.
  • platform/efl/svg/as-background-image/svg-background-partial-redraw-expected.txt: Added.
  • platform/efl/svg/as-background-image/svg-width-100p-as-background-expected.txt: Added.
  • platform/efl/svg/as-border-image/svg-as-border-image-2-expected.txt: Added.
  • platform/efl/svg/as-border-image/svg-as-border-image-expected.txt: Added.
  • platform/efl/svg/as-image/animated-svg-as-image-expected.txt: Added.
  • platform/efl/svg/as-image/animated-svg-as-image-no-fixed-intrinsic-size-expected.txt: Added.
  • platform/efl/svg/as-image/animated-svg-as-image-same-image-expected.txt: Added.
  • platform/efl/svg/as-image/img-preserveAspectRatio-support-1-expected.txt: Added.
  • platform/efl/svg/as-image/img-preserveAspectRatio-support-2-expected.txt: Added.
  • platform/efl/svg/as-image/same-image-two-instances-expected.txt: Added.
  • platform/efl/svg/as-image/svg-as-image-expected.txt: Added.
  • platform/efl/svg/as-image/svg-as-relative-image-with-explicit-size-expected.txt: Added.
  • platform/efl/svg/as-image/svg-image-change-content-size-expected.txt: Added.
  • platform/efl/svg/batik/filters/feTile-expected.txt: Added.
  • platform/efl/svg/batik/filters/filterRegions-expected.txt: Added.
  • platform/efl/svg/batik/masking/maskRegions-expected.txt: Added.
  • platform/efl/svg/batik/paints/gradientLimit-expected.txt: Added.
  • platform/efl/svg/batik/paints/patternPreserveAspectRatioA-expected.txt: Added.
  • platform/efl/svg/batik/paints/patternRegionA-expected.txt: Added.
  • platform/efl/svg/batik/paints/patternRegions-expected.txt: Added.
  • platform/efl/svg/batik/paints/patternRegions-positioned-objects-expected.txt: Added.
  • platform/efl/svg/batik/text/longTextOnPath-expected.txt: Added.
  • platform/efl/svg/batik/text/smallFonts-expected.txt: Added.
  • platform/efl/svg/batik/text/textAnchor-expected.txt: Added.
  • platform/efl/svg/batik/text/textAnchor2-expected.txt: Added.
  • platform/efl/svg/batik/text/textAnchor3-expected.txt: Added.
  • platform/efl/svg/batik/text/textDecoration-expected.txt: Added.
  • platform/efl/svg/batik/text/textDecoration2-expected.txt: Added.
  • platform/efl/svg/batik/text/textEffect-expected.txt: Added.
  • platform/efl/svg/batik/text/textEffect2-expected.txt: Added.
  • platform/efl/svg/batik/text/textEffect3-expected.txt: Added.
  • platform/efl/svg/batik/text/textFeatures-expected.txt: Added.
  • platform/efl/svg/batik/text/textGlyphOrientationHorizontal-expected.txt: Added.
  • platform/efl/svg/batik/text/textLayout-expected.txt: Added.
  • platform/efl/svg/batik/text/textLayout2-expected.txt: Added.
  • platform/efl/svg/batik/text/textLength-expected.txt: Added.
  • platform/efl/svg/batik/text/textOnPath-expected.txt: Added.
  • platform/efl/svg/batik/text/textOnPath2-expected.txt: Added.
  • platform/efl/svg/batik/text/textOnPath3-expected.txt: Added.
  • platform/efl/svg/batik/text/textOnPathSpaces-expected.txt: Added.
  • platform/efl/svg/batik/text/textPCDATA-expected.txt: Added.
  • platform/efl/svg/batik/text/textPosition-expected.txt: Added.
  • platform/efl/svg/batik/text/textPosition2-expected.txt: Added.
  • platform/efl/svg/batik/text/textProperties-expected.txt: Added.
  • platform/efl/svg/batik/text/textProperties2-expected.txt: Added.
  • platform/efl/svg/batik/text/textStyles-expected.txt: Added.
  • platform/efl/svg/batik/text/verticalText-expected.txt: Added.
  • platform/efl/svg/batik/text/verticalTextOnPath-expected.txt: Added.
  • platform/efl/svg/batik/text/xmlSpace-expected.txt: Added.
  • platform/efl/svg/carto.net/button-expected.txt: Added.
  • platform/efl/svg/carto.net/colourpicker-expected.txt: Added.
  • platform/efl/svg/carto.net/combobox-expected.txt: Added.
  • platform/efl/svg/carto.net/scrollbar-expected.txt: Added.
  • platform/efl/svg/carto.net/selectionlist-expected.txt: Added.
  • platform/efl/svg/carto.net/slider-expected.txt: Added.
  • platform/efl/svg/carto.net/tabgroup-expected.txt: Added.
  • platform/efl/svg/carto.net/textbox-expected.txt: Added.
  • platform/efl/svg/carto.net/window-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-in-clip-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-in-mask-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-child-clipped-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-clipped-no-content-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-css-transform-1-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-css-transform-2-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-evenodd-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-evenodd-nonzero-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-nonzero-evenodd-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-nonzero-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-pixelation-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-recursive-call-by-child-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-recursive-call-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-text-and-shape-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-text-and-stroke-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-text-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-transform-1-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-tspan-and-stroke-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-use-as-child2-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-use-as-child3-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-use-as-child4-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-use-as-child5-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-with-container-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-with-different-unittypes-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-with-different-unittypes2-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-with-invisibile-child-expected.txt: Added.
  • platform/efl/svg/clip-path/clip-path-with-text-clipped-expected.txt: Added.
  • platform/efl/svg/clip-path/clipper-placement-issue-expected.txt: Added.
  • platform/efl/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt: Added.
  • platform/efl/svg/clip-path/deep-nested-clip-in-mask-expected.txt: Added.
  • platform/efl/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt: Added.
  • platform/efl/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: Added.
  • platform/efl/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: Added.
  • platform/efl/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: Added.
  • platform/efl/svg/css/arrow-with-shadow-expected.txt: Added.
  • platform/efl/svg/css/clippath-with-shadow-expected.txt: Added.
9:20 PM Applications using WebKit edited by wesley
(diff)
9:18 PM Applications using WebKit edited by wesley
(diff)
9:00 PM Changeset in webkit [107528] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

CSS3 currentColor on outline-color gets treated as inherit
https://bugs.webkit.org/show_bug.cgi?id=73180

Patch by David Barr <davidbarr@chromium.org> on 2012-02-12
Reviewed by Antti Koivisto.

Source/WebCore:

The CSS2 and CSS3 UI modules state that outline-color
is not inherited. Make it so.
http://www.w3.org/TR/CSS2/ui.html#propdef-outline-color
http://www.w3.org/TR/css3-ui/#outline-color

Test: fast/css/outline-currentcolor.html

  • css/CSSStyleApplyProperty.cpp:

(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):

LayoutTests:

Adapted fast/css/background-currentcolor.html dumpRenderTree test
for outline-color.

  • fast/css/outline-currentcolor-expected.txt: Added.
  • fast/css/outline-currentcolor.html: Added.
9:00 PM Changeset in webkit [107527] by commit-queue@webkit.org
  • 5 edits in trunk

KeywordLookupGenerator.py script fails in some cases
https://bugs.webkit.org/show_bug.cgi?id=77886

Patch by Ashod Nakashian <ashodnakashian@yahoo.com> on 2012-02-12
Reviewed by Benjamin Poulain.

Source/JavaScriptCore:

  • parser/Keywords.table: Converted to LF-only.

Tools:

  • Scripts/webkitpy/style/checker.py: New rule for Keywords.table to not have CR.
  • Scripts/webkitpy/style/checker_unittest.py: New UT for Keywords.table rule.

(GlobalVariablesTest.test_path_rules_specifier):

8:58 PM Changeset in webkit [107526] by Antti Koivisto
  • 8 edits in trunk/Source/WebCore

CSSPageRule should inherit from CSSRule instead of CSSStyleRule
https://bugs.webkit.org/show_bug.cgi?id=78452

Reviewed by Anders Carlsson.

This matches CSSOM and eliminates the only subclass of CSSStyleRule, enabling further refactoring.

  • css/CSSPageRule.cpp:

(WebCore::CSSPageRule::CSSPageRule):
(WebCore::CSSPageRule::~CSSPageRule):
(WebCore):
(WebCore::CSSPageRule::selectorText):
(WebCore::CSSPageRule::setSelectorText):
(WebCore::CSSPageRule::cssText):

  • css/CSSPageRule.h:

(CSSPageRule):
(WebCore::CSSPageRule::style):
(WebCore::CSSPageRule::selector):
(WebCore::CSSPageRule::properties):
(WebCore::CSSPageRule::adoptSelectorVector):
(WebCore::CSSPageRule::setDeclaration):

  • css/CSSRule.cpp:

(WebCore::CSSRule::cssText):

  • css/CSSStyleRule.cpp:

(WebCore::CSSStyleRule::generateSelectorText):

  • css/CSSStyleSelector.cpp:

(WebCore::RuleSet::pageRules):
(RuleSet):
(WebCore::RuleSet::addPageRule):
(WebCore::comparePageRules):
(WebCore::CSSStyleSelector::matchPageRules):
(WebCore::CSSStyleSelector::matchPageRulesForList):

  • css/CSSStyleSelector.h:

(CSSStyleSelector):

8:15 PM Changeset in webkit [107525] by commit-queue@webkit.org
  • 14 edits
    2 adds in trunk/Source

Introduce ShadowRootList.
https://bugs.webkit.org/show_bug.cgi?id=78069

Patch by Shinya Kawanaka <shinyak@google.com> on 2012-02-12
Reviewed by Hajime Morita.

Source/JavaScriptCore:

DoublyLinkedList should have tail() method to take the last element.

  • wtf/DoublyLinkedList.h:

(DoublyLinkedList):
(WTF::::tail):
(WTF):

Source/WebCore:

This is a step to implement multiple shadow subtrees.

This patch introduces a shadow root list. ShadowRootList is a doubly linked list,
and each shadow root now has a younger shadow root and older shadow root,
which are a previous element and a next element respectively.
Since a visual tree traversal, which will be introduced in coming patches, will need a older shadow root,
we make a shadow root list a doubly linked list.

However, ShadowRootList does not have more than one shadow root now.
This will be changed in a series of coming patches.

Element::shadowRoot(), setShadowRoot(), ensureShadowRoot(), and removeShadowRoot() are
emulated using ShadowRootList for a while. These API will be replaced to ShadowRootList API later.

No new tests, no change in behavior.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gypi:
  • WebCore.xcodeproj/project.pbxproj:
  • dom/DOMAllInOne.cpp:
  • dom/Element.cpp:

(WebCore::Element::hasShadowRoot):

Retruns true if an element has a shadowRoot.

(WebCore::Element::shadowRootList):

Gets shadow root list if any.

(WebCore::Element::shadowRoot):

Gets the first shadow root from the shadow root list.

(WebCore::Element::setShadowRoot):

Sets the first shadow root to the shadow root list.

(WebCore::Element::removeShadowRoot):

Removes all the shadow roots in the shadow root list.

  • dom/Element.h:

(WebCore):
(Element):

  • dom/ElementRareData.h:

(ElementRareData):
(WebCore::ElementRareData::ElementRareData):

Has shadow root lists instead of shadow root.

(WebCore::ElementRareData::~ElementRareData):

  • dom/ShadowRoot.cpp:

(WebCore::ShadowRoot::ShadowRoot):
(WebCore::ShadowRoot::~ShadowRoot):

  • dom/ShadowRoot.h:

(ShadowRoot):
(WebCore::ShadowRoot::youngerShadowRoot):
(WebCore::ShadowRoot::olderShadowRoot):

  • dom/ShadowRootList.cpp: Added.

(WebCore):
(WebCore::ShadowRootList::ShadowRootList):
(WebCore::ShadowRootList::~ShadowRootList):
(WebCore::ShadowRootList::pushShadowRoot):

Adds a shadow root into the list. Currently we limit the list can have only one shadow root.

(WebCore::ShadowRootList::popShadowRoot):

Removes and returns the youngest shadow root if any.

  • dom/ShadowRootList.h: Added.

(WebCore):
(ShadowRootList):
(WebCore::ShadowRootList::hasShadowRoot):
(WebCore::ShadowRootList::youngestShadowRoot):
(WebCore::ShadowRootList::oldestShadowRoot):

7:53 PM Changeset in webkit [107524] by commit-queue@webkit.org
  • 9 edits
    2 adds in trunk

INPUT shouldn't create ShadowRoot dynamically.
https://bugs.webkit.org/show_bug.cgi?id=77930

Patch by Shinya Kawanaka <shinyak@google.com> on 2012-02-12
Reviewed by Dimitri Glazkov.

Source/WebCore:

When input type is changed, ShadowRoot was being re-created. This makes it difficult to
support multiple shadow subtrees. This patch makes input re-use the existing shadow root
instead of re-creating a shaow root. A shadow root should be created when an element is created.

Since media control elements are implemented using input elements, these elements should also
create a shadow root in their construction phase.

Test: fast/dom/shadow/input-shadow-nochange.html
Tests related to media controls should be covered by existing tests.

  • html/ColorInputType.cpp:

(WebCore::ColorInputType::createShadowSubtree):

  • html/FileInputType.cpp:

(WebCore::FileInputType::createShadowSubtree):
(WebCore::FileInputType::multipleAttributeChanged):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::createShadowSubtree):

  • html/InputType.cpp:

(WebCore::InputType::destroyShadowSubtree):

  • html/RangeInputType.cpp:

(WebCore::RangeInputType::createShadowSubtree):

  • html/TextFieldInputType.cpp:

(WebCore::TextFieldInputType::createShadowSubtree):

  • html/shadow/MediaControlElements.cpp: Creates a shadow tree in the construction phase.

(WebCore::MediaControlPanelMuteButtonElement::create):
(WebCore::MediaControlVolumeSliderMuteButtonElement::create):
(WebCore::MediaControlPlayButtonElement::create):
(WebCore::MediaControlSeekForwardButtonElement::create):
(WebCore::MediaControlSeekBackButtonElement::create):
(WebCore::MediaControlRewindButtonElement::create):
(WebCore::MediaControlReturnToRealtimeButtonElement::create):
(WebCore::MediaControlToggleClosedCaptionsButtonElement::create):
(WebCore::MediaControlTimelineElement::create):
(WebCore::MediaControlVolumeSliderElement::create):
(WebCore::MediaControlFullscreenVolumeSliderElement::create):
(WebCore::MediaControlFullscreenButtonElement::create):
(WebCore::MediaControlFullscreenVolumeMinButtonElement::create):
(WebCore::MediaControlFullscreenVolumeMaxButtonElement::create):

LayoutTests:

Ensures cheaging input type does not cause shadow root recreation.

  • fast/dom/shadow/input-shadow-nochange.html: Added.
  • fast/dom/shadow/input-shadow-nochange-expected.txt: Added.
7:35 PM Changeset in webkit [107523] by commit-queue@webkit.org
  • 4 edits
    2 adds in trunk

SVGTRefElement shouldn't create a shadow root dynamically.
https://bugs.webkit.org/show_bug.cgi?id=77938

Patch by Shinya Kawanaka <shinyak@google.com> on 2012-02-12
Reviewed by Hajime Morita.

Source/WebCore:

SVGTRefElement creates a shadow root dynamically. This will cause a problem to support
multiple shadow subtrees. So it should be created in a constructor phase.

Test: svg/custom/tref-shadowdom.html

  • svg/SVGTRefElement.cpp:

(WebCore::SVGTRefElement::create):
(WebCore::SVGTRefElement::createShadowSubtree):
(WebCore):
(WebCore::SVGTRefElement::updateReferencedText):

  • svg/SVGTRefElement.h:

(SVGTRefElement):

LayoutTests:

Checks a shadow root exists of tref element in cases xlink:href is set and is not set.

  • svg/custom/tref-shadowdom-expected.txt: Added.
  • svg/custom/tref-shadowdom.html: Added.
7:15 PM Changeset in webkit [107522] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

Add toText and isTextNode helpers in Text class.
https://bugs.webkit.org/show_bug.cgi?id=78140

Unit test case for the new style checker introduced.

Patch by Joe Thomas <joethomas@motorola.com> on 2012-02-12
Reviewed by Adam Barth.

  • Scripts/webkitpy/style/checkers/cpp_unittest.py:

(CppStyleTest):
(CppStyleTest.test_static_cast_readability): Added a unit test case.

6:15 PM Changeset in webkit [107521] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/Tools

Enable features supported by EFL port in build-webkit.
https://bugs.webkit.org/show_bug.cgi?id=78348

Reviewed by Ryosuke Niwa.

Sync build-webkit with OptionEfl.cmake, as some features enabled in
OptionEfl.cmake are not enabled in build-webkit.

  • Scripts/build-webkit:
6:12 PM Changeset in webkit [107520] by haraken@chromium.org
  • 20 edits in trunk/Source/WebCore

Unreviewed. Rebaselined run-bindings-tests results.

  • bindings/scripts/test/JS/JSFloat64Array.cpp:

(WebCore):

  • bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:

(WebCore):
(WebCore::JSTestActiveDOMObject::destroy):
(WebCore::JSTestActiveDOMObject::~JSTestActiveDOMObject):

  • bindings/scripts/test/JS/JSTestActiveDOMObject.h:

(JSTestActiveDOMObject):

  • bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:

(WebCore):
(WebCore::JSTestCustomNamedGetter::destroy):
(WebCore::JSTestCustomNamedGetter::~JSTestCustomNamedGetter):

  • bindings/scripts/test/JS/JSTestCustomNamedGetter.h:

(JSTestCustomNamedGetter):

  • bindings/scripts/test/JS/JSTestEventConstructor.cpp:

(WebCore):
(WebCore::JSTestEventConstructor::destroy):
(WebCore::JSTestEventConstructor::~JSTestEventConstructor):

  • bindings/scripts/test/JS/JSTestEventConstructor.h:

(JSTestEventConstructor):

  • bindings/scripts/test/JS/JSTestEventTarget.cpp:

(WebCore):
(WebCore::JSTestEventTarget::destroy):
(WebCore::JSTestEventTarget::~JSTestEventTarget):

  • bindings/scripts/test/JS/JSTestEventTarget.h:

(JSTestEventTarget):

  • bindings/scripts/test/JS/JSTestInterface.cpp:

(WebCore):
(WebCore::JSTestInterface::destroy):
(WebCore::JSTestInterface::~JSTestInterface):

  • bindings/scripts/test/JS/JSTestInterface.h:

(JSTestInterface):

  • bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:

(WebCore):
(WebCore::JSTestMediaQueryListListener::destroy):
(WebCore::JSTestMediaQueryListListener::~JSTestMediaQueryListListener):

  • bindings/scripts/test/JS/JSTestMediaQueryListListener.h:

(JSTestMediaQueryListListener):

  • bindings/scripts/test/JS/JSTestNamedConstructor.cpp:

(WebCore):
(WebCore::JSTestNamedConstructor::destroy):
(WebCore::JSTestNamedConstructor::~JSTestNamedConstructor):

  • bindings/scripts/test/JS/JSTestNamedConstructor.h:

(JSTestNamedConstructor):

  • bindings/scripts/test/JS/JSTestObj.cpp:

(WebCore):
(WebCore::JSTestObj::destroy):
(WebCore::JSTestObj::~JSTestObj):

  • bindings/scripts/test/JS/JSTestObj.h:

(JSTestObj):

  • bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:

(WebCore):
(WebCore::JSTestSerializedScriptValueInterface::destroy):
(WebCore::JSTestSerializedScriptValueInterface::~JSTestSerializedScriptValueInterface):

  • bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:

(JSTestSerializedScriptValueInterface):

5:59 PM Changeset in webkit [107519] by inferno@chromium.org
  • 3 edits
    3 adds in trunk

Regression (r104528): Crash when moving nodes across documents.
https://bugs.webkit.org/show_bug.cgi?id=78432

Reviewed by Hajime Morita.

Source/WebCore:

Test: fast/dom/node-move-to-new-document-crash-main.html

  • dom/TreeScopeAdopter.cpp:

(WebCore::TreeScopeAdopter::moveTreeToNewScope):
(WebCore::TreeScopeAdopter::moveTreeToNewDocument):
(WebCore::TreeScopeAdopter::moveNodeToNewDocument):

LayoutTests:

  • fast/dom/node-move-to-new-document-crash-main-expected.txt: Added.
  • fast/dom/node-move-to-new-document-crash-main.html: Added.
  • fast/dom/resources/node-move-to-new-document-crash.svg: Added.
5:18 PM Changeset in webkit [107518] by commit-queue@webkit.org
  • 26 edits
    2 copies in trunk/Source

Page should have less intrusive way to associate API implementation objects.
https://bugs.webkit.org/show_bug.cgi?id=78085

Patch by Hajime Morrita <morrita@chromium.org> on 2012-02-12
Reviewed by Adam Barth.

Source/WebCore:

Introducing PageSupplement interface to attach behind-the-flag-ish
objects to Page instances.

This change aims to improve modularity of Modules/ entries. With
PageSupplement mechinary, we can eliminate ifdef conditionals from
Page.h/Page.cpp and are able to add Modules/ entries without
touching non-Module WebCore files. WebKit API classes like WebPage
can "provide" these objects dynamically during the Page setup phase.

In this change, DeviceMotionController and
DeviceOrientationController is updated to adopt PageSupplement
inteface for an illustrative purpose because they are going to
move into Modules/ shortly. Other Page associated API backing
objects also should be transformed to PageSupplement family.

Reviewed by Adam Barth.

No new tests. No behavior change.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • dom/DeviceMotionClient.h:

(WebCore):

  • dom/DeviceMotionController.cpp:

(WebCore::DeviceMotionController::supplementName):
(WebCore):
(WebCore::DeviceMotionController::isActiveAt):
(WebCore::provideDeviceMotionTo):

  • dom/DeviceMotionController.h:

(DeviceMotionController):
(WebCore::DeviceMotionController::from):

  • dom/DeviceOrientationClient.h:

(WebCore):

  • dom/DeviceOrientationController.cpp:

(WebCore::DeviceOrientationController::supplementName):
(WebCore):
(WebCore::DeviceOrientationController::isActiveAt):
(WebCore::provideDeviceOrientationTo):

  • dom/DeviceOrientationController.h:

(DeviceOrientationController):
(WebCore::DeviceOrientationController::from):

  • dom/Document.cpp:

(WebCore::Document::suspendActiveDOMObjects):
(WebCore::Document::resumeActiveDOMObjects):

  • history/PageCache.cpp:

(WebCore::logCanCachePageDecision):
(WebCore::PageCache::canCache):

  • page/DOMWindow.cpp:

(WebCore::DOMWindow::addEventListener):
(WebCore::DOMWindow::removeEventListener):
(WebCore::DOMWindow::removeAllEventListeners):

  • page/PageSupplement.cpp:

(WebCore::PageSupplement::~PageSupplement):
(WebCore::PageSupplement::provideTo):
(WebCore::PageSupplement::from):

  • page/PageSupplement.h:
  • page/Page.cpp:

(WebCore::Page::Page):
(WebCore::Page::~Page):
(WebCore::Page::provideSupplement):
(WebCore):
(WebCore::Page::requireSupplement):
(WebCore::Page::notifyDestroyedToSupplements):
(WebCore::Page::PageClients::PageClients):

  • page/Page.h:

(WebCore):
(PageClients):
(Page):

  • svg/graphics/SVGImage.cpp:

(WebCore::SVGImage::dataChanged):

Source/WebKit/chromium:

  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::WebViewImpl):

Source/WebKit/mac:

  • WebView/WebView.mm:

(-[WebView _commonInitializationWithFrameName:groupName:]):

Source/WebKit/qt:

  • Api/qwebpage.cpp:

(QWebPagePrivate::QWebPagePrivate):

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp:

(DumpRenderTreeSupportQt::setMockDeviceOrientation):

5:01 PM Changeset in webkit [107517] by commit-queue@webkit.org
  • 2 edits
    1 delete in trunk/Source/WebCore

[chromium/mac] Change the type of webkit_system_interface from static_library to none
https://bugs.webkit.org/show_bug.cgi?id=78441

This target exists only run an action and to add a dependency to the
action's output to targets depending on webkit_system_interface.
This is what target type 'none' is for. With this, no dummy source
file is needed, and no empty libwebkit_system_interface.a is created.
This also fixes this (harmless) libtool warning:

libtool: warning for library: libwebkit_system_interface.a the table
of contents is empty (no object file members in the library define
global symbols)

Patch by Nico Weber <nicolasweber@gmx.de> on 2012-02-12
Reviewed by Adam Barth.

  • WebCore.gyp/WebCore.gyp:
  • WebCore.gyp/mac/Empty.cpp: Removed.
4:43 PM Changeset in webkit [107516] by bashi@chromium.org
  • 6 edits
    2 adds
    2 deletes in trunk

If @font-face does not provide an explicit italic/bold variant, regular is used.
https://bugs.webkit.org/show_bug.cgi?id=34147

Reviewed by Dan Bernstein.

Source/WebCore:

Update @font-face handling code so that it matches @font-face behavior to the current draft of CSS3 Font spec. The original patch was written by yusukes@chromium.org.

  • Drops support for "bolder", "lighter", and "all" value. These are no longer allowed.
  • Only allows one value for font-style and font-weight.

Tests: fast/css/font-face-synthetic-bold-italic.html

fast/css/font-face-weight-matching.html

  • css/CSSFontSelector.cpp:

(WebCore::CSSFontSelector::addFontFaceRule): Removed "all", "lighter", "bolder" handling code.
(WebCore::compareFontFaces):Updated the weight matching algortihm.

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseValue): Replaced parseFontStyle() call with checking primitive values.
(WebCore::CSSParser::parseFontWeight): Changed to allow only primitive values.
(WebCore::CSSParser::createFontFaceRule): Removed checks for font-weight and font-style.
(WebCore::CSSParser::deleteFontFaceOnlyValues): Ditto.

  • css/CSSParser.h: Removed parseFontStyle().

LayoutTests:

Added two tests to make sure font matching algorithm matches the current draft of CSS Fonts Module Level 3, and removed a test which uses obsoleted 'all' value for font-weight and font-style.

  • fast/css/font-face-descriptor-multiple-values-parsing-expected.txt: Removed.
  • fast/css/font-face-descriptor-multiple-values-parsing.html: Removed.
  • fast/css/font-face-synthetic-bold-italic.html: Added.
  • fast/css/font-face-weight-matching.html: Added.
  • platform/chromium/test_expectations.txt: Needs rebaselines.
4:35 PM Writing Layout Tests for DumpRenderTree edited by pdr@google.com
Add missing parenthesis (diff)
3:53 PM Changeset in webkit [107515] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

[Chromium] Avoid unnecessary memset in per-tile layer updater.
https://bugs.webkit.org/show_bug.cgi?id=78426

Patch by David Reveman <reveman@chromium.org> on 2012-02-12
Reviewed by Stephen White.

Use our own SkBitmap and call SkBitmap::allocPixels() instead of
letting SkDevice construct a SkBitmap. This avoids an unnecessary
memset otherwise done by SkDevice.

No new tests.

  • platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp:

(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::prepareRect):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::updateRect):

  • platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.h:

(Texture):

3:51 PM Changeset in webkit [107514] by kubo@profusion.mobi
  • 2 edits in trunk/Source/JavaScriptCore

[CMake] Move source files in WTF_HEADERS to WTF_SOURCES.
https://bugs.webkit.org/show_bug.cgi?id=78436

Reviewed by Daniel Bates.

  • wtf/CMakeLists.txt: Move .cpp files from WTF_HEADERS to WTF_SOURCES,

and correctly sort the files which start with 'M'.

3:35 PM Changeset in webkit [107513] by weinig@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Move the NumberOfCores.h/cpp files into the WTF group of JavaScriptCore.xcodeproj.

Rubber-stamped by Anders Carlsson.

12:50 PM Changeset in webkit [107512] by kubo@profusion.mobi
  • 4 edits in trunk/Source/JavaScriptCore

[CMake] Remove unused or empty variable definitions.
https://bugs.webkit.org/show_bug.cgi?id=78437

Reviewed by Daniel Bates.

  • CMakeLists.txt: Remove unused JavaScriptCore_HEADERS definition.
  • shell/CMakeLists.txt: Remove unused JSC_HEADERS definition.
  • wtf/CMakeLists.txt: Remove empty WTF_LIBRARIES definition, it will

be defined later by Platform*.cmake via LIST(APPEND WTF_LIBRARIES).

10:39 AM Changeset in webkit [107511] by Csaba Osztrogonác
  • 3 edits in trunk/LayoutTests

[Qt] Unreviewed weekend gardening. Update expected files.

  • platform/qt/fast/dom/Window/window-properties-expected.txt:
  • platform/qt/fast/dom/prototype-inheritance-2-expected.txt:
6:14 AM Changeset in webkit [107510] by Carlos Garcia Campos
  • 2 edits in trunk

Unreviewed. Fix GTK+ build after r107454.

  • configure.ac: Disable Mutation observers build on GTK+ until it

can actually build.

3:27 AM Changeset in webkit [107509] by commit-queue@webkit.org
  • 37 edits in trunk

Add toText and isTextNode helpers in Text class.
https://bugs.webkit.org/show_bug.cgi?id=78140

Source/WebCore:

Added a new helper function toText() in dom/Text.h which does the type casting operation to Text object.
Modified the code to make use of this helper function.

Patch by Joe Thomas <joethomas@motorola.com> on 2012-02-12
Reviewed by Adam Barth.

No new tests.

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::accessibleNameForNode):

  • bindings/v8/custom/V8NodeCustom.cpp:

(WebCore::toV8Slow):

  • css/SelectorChecker.cpp:

(WebCore::SelectorChecker::checkOneSelector):

  • dom/Attr.cpp:

(WebCore::Attr::childrenChanged):

  • dom/Element.cpp:

(WebCore::Element::recalcStyle):

  • dom/Node.cpp:

(WebCore::Node::normalize):

  • dom/Position.cpp:

(WebCore::Position::containerText):
(WebCore::Position::leadingWhitespacePosition):

  • dom/Range.cpp:

(WebCore::Range::insertNode):
(WebCore::Range::getBorderAndTextQuads):

  • dom/ScriptElement.cpp:

(WebCore::ScriptElement::scriptContent):

  • dom/ShadowRoot.cpp:

(WebCore::ShadowRoot::recalcShadowTreeStyle):

  • dom/Text.h: Added new helper function toText.

(WebCore::toText): new helper function which does the type casting operation to Text object.
(WebCore):

  • editing/ApplyBlockElementCommand.cpp:

(WebCore::isNewLineAtPosition):
(WebCore::ApplyBlockElementCommand::endOfNextParagrahSplittingTextNodesIfNeeded):

  • editing/ApplyStyleCommand.cpp:

(WebCore::ApplyStyleCommand::splitTextAtEnd):
(WebCore::ApplyStyleCommand::splitTextElementAtEnd):
(WebCore::ApplyStyleCommand::joinChildTextNodes):

  • editing/BreakBlockquoteCommand.cpp:

(WebCore::BreakBlockquoteCommand::doApply):

  • editing/CompositeEditCommand.cpp:

(WebCore::CompositeEditCommand::insertNodeAt):
(WebCore::CompositeEditCommand::positionOutsideTabSpan):
(WebCore::CompositeEditCommand::canRebalance):
(WebCore::CompositeEditCommand::rebalanceWhitespaceAt):
(WebCore::CompositeEditCommand::prepareWhitespaceAtPositionForSplit):
(WebCore::CompositeEditCommand::deleteInsignificantText):
(WebCore::CompositeEditCommand::removePlaceholderAt):
(WebCore::CompositeEditCommand::cleanupAfterDeletion):
(WebCore::CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph):

  • editing/DeleteSelectionCommand.cpp:

(WebCore::DeleteSelectionCommand::handleGeneralDelete):
(WebCore::DeleteSelectionCommand::fixupWhitespace):

  • editing/Editor.cpp:

(WebCore::Editor::setComposition):

  • editing/InsertLineBreakCommand.cpp:

(WebCore::InsertLineBreakCommand::doApply):

  • editing/InsertParagraphSeparatorCommand.cpp:

(WebCore::InsertParagraphSeparatorCommand::doApply):

  • editing/InsertTextCommand.cpp:

(WebCore::InsertTextCommand::insertTab):

  • editing/MarkupAccumulator.cpp:

(WebCore::MarkupAccumulator::appendStartMarkup):

  • editing/ReplaceSelectionCommand.cpp:

(WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds):
(WebCore::ReplaceSelectionCommand::addSpacesForSmartReplace):
(WebCore::ReplaceSelectionCommand::insertAsListItems):
(WebCore::ReplaceSelectionCommand::performTrivialReplace):

  • editing/htmlediting.cpp:

(WebCore::lineBreakExistsAtPosition):

  • editing/visible_units.cpp:

(WebCore::startPositionForLine):
(WebCore::endPositionForLine):
(WebCore::startOfParagraph):
(WebCore::endOfParagraph):

  • html/HTMLElement.cpp:

(WebCore::replaceChildrenWithFragment):
(WebCore::replaceChildrenWithText):
(WebCore::mergeWithNextTextNode):

  • html/HTMLObjectElement.cpp:

(WebCore::HTMLObjectElement::hasFallbackContent):
(WebCore::HTMLObjectElement::updateDocNamedItem):

  • html/HTMLOptionElement.cpp:

(WebCore::HTMLOptionElement::setText):

  • html/HTMLScriptElement.cpp:

(WebCore::HTMLScriptElement::setText):

  • html/HTMLTextAreaElement.cpp:

(WebCore::HTMLTextAreaElement::defaultValue):

  • html/HTMLTextFormControlElement.cpp:

(WebCore::HTMLTextFormControlElement::innerTextValue):
(WebCore::HTMLTextFormControlElement::valueWithHardLineBreaks):

  • html/HTMLTitleElement.cpp:

(WebCore::HTMLTitleElement::text):
(WebCore::HTMLTitleElement::setText):

  • inspector/InspectorDOMAgent.cpp:

(WebCore::InspectorDOMAgent::setNodeValue):

  • rendering/RenderText.cpp:

(WebCore::RenderText::originalText):

  • rendering/RenderTextFragment.cpp:

(WebCore::RenderTextFragment::originalText):
(WebCore::RenderTextFragment::previousCharacter):

Tools:

Added a style checker to use toText rather than static_cast<Text*>.

Patch by Joe Thomas <joethomas@motorola.com> on 2012-02-12
Reviewed by Adam Barth.

  • Scripts/webkitpy/style/checkers/cpp.py:

(check_language): Style checker for static_cast<Text*>.

3:16 AM Changeset in webkit [107508] by haraken@chromium.org
  • 3 edits in trunk/Source/WebCore

Remove [CPPCustom] from CodeGeneratorCPP.pm
https://bugs.webkit.org/show_bug.cgi?id=78342

Reviewed by Adam Barth.

This patch removes [CPPCustom].

[CPPCustom] has been used in DOMWindow.location only to indicate that
DOMWindow.location should be ignored in CPP. However, there are many
other attributes and methods that CPP does not support (e.g. [CallWith=...],
[CustomSetter], etc), and they are not yet marked with [CPPCustom].
CPP just generates "meaningless" code for those unsupported attributes
and methods. Ideally we can mark all unsupported attributes and methods
with [CPPCustom], but it would not be so practical. Otherwise, removing
[CPPCustom] would make sense. The side effect of removing [CPPCustom]
is just that CPP will generate "meaningless" code for DOMWindow.location.

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorCPP.pm:

(ShouldSkipType):

  • page/DOMWindow.idl:
2:53 AM Changeset in webkit [107507] by Philippe Normand
  • 4 edits in trunk/LayoutTests

Unreviewed, rebaseline after r107483 and r107498.

  • fast/dom/wrapper-classes-expected.txt:
  • platform/gtk/fast/dom/Window/window-properties-expected.txt:
  • platform/gtk/fast/dom/prototype-inheritance-2-expected.txt:
2:41 AM Changeset in webkit [107506] by haraken@chromium.org
  • 3 edits in trunk/Source/WebCore

Rename [JSCustomPrototypeDefineOwnProperty] to [JSCustomDefineOwnPropertyOnPrototype]
https://bugs.webkit.org/show_bug.cgi?id=78354

Reviewed by Adam Barth.

This patch renames [JSCustomPrototypeDefineOwnProperty] to
[JSCustomDefineOwnPropertyOnPrototype], for naming consistency with
[JSCustomDefineOwnProperty] and [JSCustomNamedGetterOnPrototype].

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateHeader):

  • page/Location.idl:
2:23 AM Changeset in webkit [107505] by Philippe Normand
  • 2 edits in trunk/LayoutTests

Unreviewed, skip mutation tests on GTK again after r107504.

  • platform/gtk/Skipped:
2:13 AM Changeset in webkit [107504] by Philippe Normand
  • 2 edits in trunk/Tools

Unreviewed, disable Mutation observers build on GTK until it can
actually build.

  • Scripts/build-webkit:
Note: See TracTimeline for information about the timeline view.