Timeline



Jul 30, 2012:

11:55 PM Changeset in webkit [124178] by commit-queue@webkit.org
  • 10 edits in trunk/Source

[Texmap] Remove the backing store after 'style.visibility' for an element sets 'hidden'.
https://bugs.webkit.org/show_bug.cgi?id=92492

Patch by Huang Dongsung <luxtella@company100.net> on 2012-07-30
Reviewed by Noam Rosenthal.

Source/WebCore:

This patch's purpose is to save vram memory.
When visibility of the element sets hidden, we do not need to draw the element,
so we do not need to keep a texture of the backing store.
Currently, Texmap does not draw the element with visibility:hidden because
RenderLayerBacking::paintIntoLayer does not draw anything.
This patch just removes unused textures.

No new tests - no new testable functionality.

  • platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:

(WebCore::GraphicsLayerTextureMapper::setContentsVisible):
(WebCore):

  • platform/graphics/texmap/GraphicsLayerTextureMapper.h:

(GraphicsLayerTextureMapper):

  • platform/graphics/texmap/TextureMapperLayer.cpp:

(WebCore::TextureMapperLayer::updateBackingStore):
(WebCore::TextureMapperLayer::paintSelf):
(WebCore::TextureMapperLayer::isVisible):
(WebCore::TextureMapperLayer::syncCompositingStateSelf):

  • platform/graphics/texmap/TextureMapperLayer.h:

(State):
(WebCore::TextureMapperLayer::State::State):

Source/WebKit2:

Texmap handles visibility:hidden in this patch, so WebGraphicsLayer
sends the LayerTreeCoordinatorProxyMessages with additional infomation
to UIProcess.

  • Shared/WebLayerTreeInfo.h:
  • UIProcess/WebLayerTreeRenderer.cpp:

(WebKit::WebLayerTreeRenderer::setLayerState):

  • WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp:

(WebCore::WebGraphicsLayer::setContentsVisible):
(WebCore):
(WebCore::WebGraphicsLayer::syncLayerState):

  • WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.h:

(WebGraphicsLayer):

11:52 PM Changeset in webkit [124177] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/gtk

[GTK] New lines automatically and repeatedly added to list items in Etherpad
https://bugs.webkit.org/show_bug.cgi?id=89971

Patch by Martin Robinson <mrobinson@igalia.com> on 2012-07-30
Reviewed by Ryosuke Niwa.

Disable the deletion UI by default. This UI, which was enabled as a side-effect
of the addition of the private editing API, seems to expose a bug in Etherpad
which causes the continuous insertion of bullet points.

  • WebCoreSupport/EditorClientGtk.cpp:

(WebKit::EditorClient::shouldShowDeleteInterface): Disable the deletion UI by default.

11:41 PM EFLWebKit edited by tmpsantos@gmail.com
(diff)
11:27 PM Changeset in webkit [124176] by keishi@webkit.org
  • 11 edits
    1 move
    4 adds
    3 deletes in trunk

Implement datalist UI for input type color for Chromium
https://bugs.webkit.org/show_bug.cgi?id=92075

Reviewed by Kent Tamura.

Source/Platform:

  • chromium/public/WebLocalizedString.h: Added OtherColorLabel.

Source/WebCore:

Test: platform/chromium/fast/forms/color/color-suggestion-picker-appearance.html

  • rendering/RenderThemeChromiumCommon.cpp:

(WebCore::RenderThemeChromiumCommon::supportsDataListUI): Added color to types supporting datalist.

Source/WebKit/chromium:

Integrated ColorChooserProxy and WebColorChooserClientImpl into ColorChooserUIController.
ColorChooserUIController can control whether to open the color suggestion picker
popup or the color chooser depending on the responses from ColorChooserClient.

  • WebKit.gyp:
  • src/ChromeClientImpl.cpp:

(WebKit::ChromeClientImpl::createColorChooser): Returns ColorChooserUIController which is a ColorChooser.
(WebKit::ChromeClientImpl::createWebColorChooser): Returns WebColorChooser that was created by Chromium.

  • src/ChromeClientImpl.h:

(WebKit):
(ChromeClientImpl):

  • src/ColorChooserProxy.cpp: Removed.
  • src/ColorChooserProxy.h: Removed.
  • src/ColorChooserUIController.cpp: Added.

(WebKit):
(WebKit::ColorChooserUIController::ColorChooserUIController): Controls the UI for color chooser. Opens the color suggestion picker popup or color chooser depending on the ColorChooserClient.
(WebKit::ColorChooserUIController::~ColorChooserUIController):
(WebKit::ColorChooserUIController::setSelectedColor):
(WebKit::ColorChooserUIController::endChooser): This is called by WebCore so we close both the popup and the color chooser.
(WebKit::ColorChooserUIController::didChooseColor):
(WebKit::ColorChooserUIController::didEndChooser):
(WebKit::ColorChooserUIController::contentSize): The popup will be resized later from JS so we return an arbitrary size.
(WebKit::ColorChooserUIController::writeDocument):
(WebKit::ColorChooserUIController::setValueAndClosePopup): Performs action based on the numValue.
(WebKit::ColorChooserUIController::didClosePopup):
(WebKit::ColorChooserUIController::openPopup): Opens color chooser suggestion popup.
(WebKit::ColorChooserUIController::closePopup):
(WebKit::ColorChooserUIController::openColorChooser): Opens color chooser.

  • src/ColorChooserUIController.h: Renamed from Source/WebKit/chromium/src/WebColorChooserClientImpl.h.

(WebCore):
(WebKit):
(ColorChooserUIController):

  • src/WebColorChooserClientImpl.cpp: Removed.

LayoutTests:

  • platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png: Added.
  • platform/chromium/TestExpectations:
  • platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.txt: Added.
  • platform/chromium/fast/forms/color/color-suggestion-picker-appearance.html: Added. Tests color suggestion picker popup appearance.
  • platform/chromium/fast/forms/datalist/input-list-expected.txt:
11:19 PM Changeset in webkit [124175] by rniwa@webkit.org
  • 2 edits in trunk

/api/test/runs/chart expires on perf-o-matic
https://bugs.webkit.org/show_bug.cgi?id=92714

Reviewed by Hajime Morita.

Don't update the entire JSON while generating the dashboard images.
This is a bug and not doing this will reduce the server load significantly.

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

(RunsChartHandler.post):

10:46 PM Changeset in webkit [124174] by commit-queue@webkit.org
  • 10 edits in trunk/Source/WebCore

Unreviewed, rolling out r124171.
http://trac.webkit.org/changeset/124171
https://bugs.webkit.org/show_bug.cgi?id=92712

Start failing fast/css/square-button-appearance.html
(Requested by yosin on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-30

  • css/SelectorChecker.cpp:

(WebCore::SelectorChecker::checkOneSelector):

  • dom/Element.cpp:
  • dom/Element.h:

(Element):
(WebCore::Element::isReadOnlyFormControl):

  • html/HTMLFormControlElement.h:

(WebCore::HTMLFormControlElement::isReadOnlyFormControl):

  • html/shadow/SliderThumbElement.cpp:

(WebCore::SliderThumbElement::isReadOnlyFormControl):
(WebCore::SliderThumbElement::willRespondToMouseMoveEvents):
(WebCore::SliderThumbElement::willRespondToMouseClickEvents):

  • html/shadow/SliderThumbElement.h:

(SliderThumbElement):

  • html/shadow/TextControlInnerElements.cpp:

(WebCore::SearchFieldCancelButtonElement::willRespondToMouseClickEvents):
(WebCore::SpinButtonElement::willRespondToMouseMoveEvents):
(WebCore::SpinButtonElement::willRespondToMouseClickEvents):
(WebCore::InputFieldSpeechButtonElement::willRespondToMouseClickEvents):

  • html/shadow/TextControlInnerElements.h:

(WebCore::SpinButtonElement::isReadOnlyFormControl):

  • rendering/RenderTheme.cpp:

(WebCore::RenderTheme::isReadOnlyControl):

10:28 PM Changeset in webkit [124173] by tkent@chromium.org
  • 3 edits in trunk/LayoutTests

[Chromium] Layout Test fast/forms/date/calendar-picker-appearance.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=92710

  • fast/forms/date/calendar-picker-appearance.html: Attempt to fix the flakiness.
  • platform/chromium/TestExpectations: Add an entry for calendar-picker-appearance.html.
9:20 PM Changeset in webkit [124172] by pkasting@chromium.org
  • 13 edits
    25 adds
    2 deletes in trunk/LayoutTests

[Chromium] Baseline and expectation followups after r124142.
https://bugs.webkit.org/show_bug.cgi?id=62754
https://bugs.webkit.org/show_bug.cgi?id=80531
http://crbug.com/47826

Unreviewed, test updates.

  • platform/chromium-linux-x86/css2.1/20110323: Added.
  • platform/chromium-linux-x86/css2.1/20110323/block-replaced-width-001-expected.png: Added.
  • platform/chromium-linux-x86/css2.1/20110323/block-replaced-width-001-expected.txt: Added.
  • platform/chromium-linux/css2.1/20110323/block-replaced-width-001-expected.png: Added.
  • platform/chromium-linux/fast/table/colspanMinWidth-vertical-expected.txt: Removed.
  • platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
  • platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/image-pattern-rotate-expected.png:
  • platform/chromium-mac-snowleopard/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt: Added.
  • platform/chromium-mac-snowleopard/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png:
  • platform/chromium-mac-snowleopard/fast/dom/HTMLMeterElement/meter-optimums-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/dom/HTMLMeterElement/meter-styles-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/table/colspanMinWidth-vertical-expected.png: Removed.
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png: Added.
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/image-pattern-rotate-expected.png: Added.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.png: Added.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt: Added.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png:
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-element-expected.png: Added.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-element-expected.txt: Added.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-optimums-expected.png: Added.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-optimums-expected.txt: Added.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png: Added.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt: Added.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-expected.png: Added.
  • platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt: Added.
  • platform/chromium-mac/fast/table/colspanMinWidth-vertical-expected.png: Added.
  • platform/chromium-mac/fast/table/colspanMinWidth-vertical-expected.txt:
  • platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
  • platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/image-pattern-rotate-expected.png:
  • platform/chromium-win-xp/css2.1/20110323/block-replaced-width-001-expected.png: Added.
  • platform/chromium-win/css2.1/20110323/block-replaced-width-001-expected.png: Added.
  • platform/chromium-win/css2.1/20110323/block-replaced-width-001-expected.txt: Added.
  • platform/chromium-win/fast/table/colspanMinWidth-vertical-expected.png:
  • platform/chromium-win/fast/table/colspanMinWidth-vertical-expected.txt:
  • platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
  • platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/image-pattern-rotate-expected.png:
  • platform/chromium/TestExpectations:
9:19 PM Changeset in webkit [124171] by yosin@chromium.org
  • 10 edits in trunk/Source/WebCore

[CSS] Change Element::isReadOnlyFormControl to shouldMatchReadWriteSelector or HTMLTextFormControlElement::readOnly
https://bugs.webkit.org/show_bug.cgi?id=92602

Reviewed by Kent Tamura.

This patch renames Element::isReadOnlyFormControl() to Element::shouldMatchReadWriteSelector()
or HTMLTextFormControlElement::readOnly() to make intention of
shouldMatchReadWriteSelector(was isReadOnlyFormControl) self descriptive.

No new tests. This patch doesn't change behavior.

  • css/SelectorChecker.cpp:

(WebCore::SelectorChecker::checkOneSelector): Replaced isReadOnlyFormControl() by shouldMatchReadWriteSelector().

  • dom/Element.cpp:

(WebCore::Element::shouldMatchReadWriteSelector): Added default implementation.

  • dom/Element.h:

(WebCore::Element::shouldMatchReadWriteSelector): Replaced isReadOnlyFormControl() by shouldMatchReadWriteSelector().

  • html/HTMLFormControlElement.h:
  • html/shadow/SliderThumbElement.cpp:

(WebCore::SliderThumbElement::shouldMatchReadWriteSelector): Replaced isReadOnlyFormControl() by shouldMatchReadWriteSelector().
(WebCore::SliderThumbElement::willRespondToMouseMoveEvents): Replaced isReadOnlyFormControl() by readOnly().
(WebCore::SliderThumbElement::willRespondToMouseClickEvents): ditto.

  • html/shadow/SliderThumbElement.h:

(SliderThumbElement): Replaced isReadOnlyFormControl() by shouldMatchReadWriteSelector().

  • html/shadow/TextControlInnerElements.cpp:

(WebCore::SearchFieldCancelButtonElement::willRespondToMouseClickEvents): Replaced isReadOnlyFormControl() by readOnly().
(WebCore::SpinButtonElement::willRespondToMouseMoveEvents): Replaced isReadOnlyFormControl() by readOnly().
(WebCore::SpinButtonElement::willRespondToMouseClickEvents): Replaced isReadOnlyFormControl() by readOnly().
(WebCore::InputFieldSpeechButtonElement::willRespondToMouseClickEvents): Replaced isReadOnlyFormControl() by readOnly().

  • html/shadow/TextControlInnerElements.h:
  • rendering/RenderTheme.cpp:

(WebCore::RenderTheme::isReadOnlyControl): Replaced isReadOnlyFormControl() by shouldMatchReadWriteSelector().

8:49 PM Changeset in webkit [124170] by tkent@chromium.org
  • 3 edits
    6 adds in trunk/LayoutTests

[Chromium] Add baseline files for calendar-picker-appearance.html
https://bugs.webkit.org/show_bug.cgi?id=84827

  • platform/chromium-linux-x86/fast/forms/date/calendar-picker-appearance-expected.png: Added.
  • platform/chromium-linux/fast/forms/date/calendar-picker-appearance-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/forms/date/calendar-picker-appearance-expected.png:
  • platform/chromium-mac/fast/forms/date/calendar-picker-appearance-expected.png: Added.
  • platform/chromium-win-xp/fast/forms/date/calendar-picker-appearance-expected.png: Added.
  • platform/chromium-win/fast/forms/date/calendar-picker-appearance-expected.png: Added.
  • platform/chromium/TestExpectations:
8:39 PM Changeset in webkit [124169] by weinig@apple.com
  • 2 edits
    1 add in trunk/Source/WebKit2

Add a proper umbrella header for the public WebKit2 API headers
https://bugs.webkit.org/show_bug.cgi?id=92708
<rdar://problem/11970825>

Reviewed by Dan Bernstein.

Create a new umbrella WebKit2.h and add the currently public (as decided by their
status in Xcode) Objective-C headers.

  • UIProcess/API/mac/WebKit2.h: Added.
  • WebKit2.xcodeproj/project.pbxproj:

While we are here, make WebKit2_C.h a private header.

8:38 PM Changeset in webkit [124168] by jchaffraix@webkit.org
  • 6 edits in trunk/Source/WebCore

Remove overflow: scroll handling in block flow layout methods
https://bugs.webkit.org/show_bug.cgi?id=92689

Reviewed by Simon Fraser.

The overflow: scroll scrollbars creation was done at layout time for all RenderBlocks and
descendants. This was not only wrong ('overflow' only changes at style change time) but it
was also introducing some code duplication.

The gist of this change is to share the code by moving it to RenderLayer::updateScrollbarsAfterStyleChange,
this includes the code from bug 69993 to special case list box part.

Covered by existing tests:

  • All fast/overflow ones.
  • For the list box change:

fast/forms/select-overflow-scroll-inherited.html
fast/forms/select-overflow-scroll.html

  • For the flexbox:

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

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::layoutBlock):

  • rendering/RenderDeprecatedFlexibleBox.cpp:

(WebCore::RenderDeprecatedFlexibleBox::layoutBlock):

  • rendering/RenderGrid.cpp:

(WebCore::RenderGrid::layoutBlock):

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::layoutBlock):
Removed the common code here.

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::computePreferredLogicalWidths):
Changed to an ASSERT now that the right scrollbars are created. This is
fine as overflow-x/y are physical coordinates and our access was following that.

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::invalidateScrollbarRect):
Added an early return here if we are not attached yet as RenderLayer::styleChanged
is called at attachment time before we are inserted in the tree. This is fine as the
scrollbars are part of the object which will be painted after the first layout.

(WebCore::overflowRequiresAScrollbar):
(WebCore::overflowDefinesAutomaticScrollbar):
Split the logic in those 2 functions.

(WebCore::RenderLayer::updateScrollbarsAfterLayout):
Updated to use the require / can-have functions. Also added
an early return for list box parts as required by bug 69993.

(WebCore::RenderLayer::updateScrollbarsAfterStyleChange):
Added an early return for list box parts as required by bug 69993,
also removed some unneeded NULL-checks that were added for list box parts.

8:36 PM Changeset in webkit [124167] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

Roll out the DEPS roll (r124164) for now since it broke Chromium Mac builds.

  • DEPS:
8:31 PM Changeset in webkit [124166] by abarth@webkit.org
  • 1 delete in branches/components

Removed old branch that is no longer needed (according to dglazkov).

8:22 PM Changeset in webkit [124165] by rniwa@webkit.org
  • 2 edits in trunk/Tools

Revert r124153 and land the "right" build fix per ap's comment on the bug 92676.

  • MiniBrowser/win/BrowserView.cpp:

(BrowserView::create):

8:17 PM Changeset in webkit [124164] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

Unreviewed. Rolled DEPS.

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-30

  • DEPS:
8:15 PM Changeset in webkit [124163] by weinig@apple.com
  • 19 edits
    1 move in trunk

Rename WebKit2.h to WebKit2_C.h
https://bugs.webkit.org/show_bug.cgi?id=92704

Reviewed by Dan Bernstein.

Source/WebKit2:

  • GNUmakefile.list.am:
  • Target.pri:
  • UIProcess/API/C/WebKit2_C.h: Renamed from Source/WebKit2/UIProcess/API/C/WebKit2.h.
  • UIProcess/API/gtk/WebKitBackForwardListPrivate.h:
  • UIProcess/API/gtk/WebKitPolicyDecisionPrivate.h:
  • UIProcess/API/gtk/WebKitPrivate.h:
  • UIProcess/API/gtk/WebKitSettingsPrivate.h:
  • UIProcess/API/gtk/WebKitWebViewPrivate.h:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:
  • win/WebKit2Generated.make:

Update for changed header file name.

Tools:

  • MiniBrowser/mac/MiniBrowser_Prefix.pch:
  • MiniBrowser/win/BrowserView.h:
  • TestWebKitAPI/config.h:
  • WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  • WebKitTestRunner/WebKitTestRunnerPrefix.h:
  • WebKitTestRunner/config.h:

Update for changed header file name.

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

fillWithEmptyClients method should also initialize chromeClient with EmptyChromeClient
https://bugs.webkit.org/show_bug.cgi?id=92703

Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-07-30
Reviewed by Kent Tamura.

fillWithEmptyClients should also intialize PageClients.chromeClient with EmptyChromeClient
as its required for creating a Empty page and to minimize the exported symbols.

No new tests as no change in functionality.

  • loader/EmptyClients.cpp:

(WebCore::fillWithEmptyClients):

8:10 PM Changeset in webkit [124161] by mitz@apple.com
  • 4 copies
    1 add in releases/Apple/Safari 6.0

Added a tag for the Safari 6.0 release.

Safari 6.0 includes JavaScriptCore-x536.24, WebCore-x536.24, WebKit-x536.25, and WebKit2-x536.25.

8:02 PM Changeset in webkit [124160] by enne@google.com
  • 6 edits
    2 adds in trunk/Source

[chromium] Wrap ScrollbarLayerChromium in WebScrollbarLayer
https://bugs.webkit.org/show_bug.cgi?id=91032

Reviewed by James Robinson.

Source/Platform:

Add WebScrollbarLayer class to the Platform API.

  • Platform.gypi:
  • chromium/public/WebScrollbarLayer.h: Added.

(WebCore):
(WebKit):
(WebScrollbarLayer):
(WebKit::WebScrollbarLayer::WebScrollbarLayer):
(WebKit::WebScrollbarLayer::~WebScrollbarLayer):
(WebKit::WebScrollbarLayer::operator=):

Source/WebCore:

Modify ScrollingCoordinatorChromium to operate on WebScrollbarLayer
instead of ScrollbarLayerChromium. This removes the dependency on
ScrollbarLayerChromium.

No change in functionality, so no new tests.

  • page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:

(WebCore::ScrollingCoordinatorPrivate::setScrollLayer):
(WebCore::ScrollingCoordinatorPrivate::setHorizontalScrollbarLayer):
(WebCore::ScrollingCoordinatorPrivate::setVerticalScrollbarLayer):
(ScrollingCoordinatorPrivate):
(WebCore::createScrollbarLayer):

Source/WebKit/chromium:

Add implementation of WebScrollbarLayer to the client API.

  • WebKit.gyp:
  • src/WebScrollbarLayer.cpp: Added.

(WebKit):
(WebKit::WebScrollbarLayer::setScrollLayer):
(WebKit::WebScrollbarLayer::create):
(WebKit::WebScrollbarLayer::WebScrollbarLayer):
(WebKit::WebScrollbarLayer::operator=):
(WebKit::WebScrollbarLayer::operator PassRefPtr<ScrollbarLayerChromium>):

7:57 PM Changeset in webkit [124159] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

Another Qt build fix attempt after r124098.
"interface" is a keyword. Don't use it.

  • dom/GestureEvent.cpp:

(WebCore::GestureEvent::interfaceName):

7:56 PM Changeset in webkit [124158] by dpranke@chromium.org
  • 1 edit
    1 delete in trunk/Tools

chromium win compile broken after removing webkit.py
https://bugs.webkit.org/show_bug.cgi?id=92549

Reviewed by Ryosuke Niwa.

Remove the stub file for webkit.py now that it's no longer
necessary.

  • Scripts/webkitpy/layout_tests/port/webkit.py: Removed.
7:56 PM Changeset in webkit [124157] by commit-queue@webkit.org
  • 8 edits
    2 adds in trunk

Make QuotesData use a Vector of pairs
https://bugs.webkit.org/show_bug.cgi?id=92448

Patch by Elliott Sprehn <Elliott Sprehn> on 2012-07-30
Reviewed by Julien Chaffraix.

Source/WebCore:

QuotesData::create returned an array of memory that contained in place instantiations
of a QuotesData and then String instances. This changes the code to use a Vector of
pairs making it safer and ensuring that quotes are always balanced. This also uses a
HashMap directly in the QuoteRenderer instead of building it on first access reducing
the amount of code needed for picking quotes by language.

Test: fast/css-generated-content/close-quote-negative-depth.html

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::collectMatchingRulesForList): Create pairs and use the new QuotesData API.

  • rendering/RenderQuote.cpp:

(WebCore):
(WebCore::quotesDataLanguageMap): New function that returns the HashMap of languages.
(WebCore::basicQuotesData): Returns the simple form of quotes, " and '.
(WebCore::defaultQuotes): Changed to use the new map.
(WebCore::RenderQuote::styleDidChange):
(WebCore::RenderQuote::originalText): Changed to use the new getOpenQuote and getCloseQuote which ensure bounds checks.

  • rendering/style/QuotesData.cpp:

(WebCore::QuotesData::create): Now returns a plain instance of QuotesData without the in place allocation.
(WebCore):
(WebCore::QuotesData::addPair): Adds an std::pair of strings ensuring quotes are always balanced.
(WebCore::QuotesData::getOpenQuote):
(WebCore::QuotesData::getCloseQuote):
(WebCore::QuotesData::equals): Renamed equals (added the s).

  • rendering/style/QuotesData.h:

(WebCore::QuotesData::create):
(QuotesData):
(WebCore::QuotesData::QuotesData):

  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::setQuotes):

  • rendering/style/StyleRareInheritedData.cpp:

(WebCore::StyleRareInheritedData::operator==):

LayoutTests:

Test that when quote depths go negative we do not output quotes. The expected result
is wrong right now because we output quotes in this case when we should not.

  • fast/css-generated-content/close-quote-negative-depth-expected.html: Added.
  • fast/css-generated-content/close-quote-negative-depth.html: Added.
7:48 PM Changeset in webkit [124156] by morrita@google.com
  • 3 edits
    2 adds in trunk

Node::replaceChild() can create bad DOM topology with MutationEvent
https://bugs.webkit.org/show_bug.cgi?id=92619

Reviewed by Ryosuke Niwa.

Source/WebCore:

Node::replaceChild() calls insertBeforeCommon() after dispatching
a MutationEvent event for removeChild(). But insertBeforeCommon()
expects call sites to check the invariant and doesn't have
suffient check. So a MutationEvent handler can let some bad tree
topology to slip into insertBeforeCommon().

This change adds a guard for checking the invariant using
checkReplaceChild() between removeChild() and insertBeforeCommon().

Test: fast/events/mutation-during-replace-child.html

  • dom/ContainerNode.cpp:

(WebCore::ContainerNode::replaceChild): Added a guard.

LayoutTests:

  • fast/events/mutation-during-replace-child-expected.txt: Added.
  • fast/events/mutation-during-replace-child.html: Added.
7:46 PM Changeset in webkit [124155] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

Qt Windows build fix attempt after r124098.

  • dom/GestureEvent.cpp:
7:46 PM Changeset in webkit [124154] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[Chromium] Enable web audio IPP for x86 chromium android
https://bugs.webkit.org/show_bug.cgi?id=91973

Patch by Wei James <james.wei@intel.com> on 2012-07-30
Reviewed by Tony Chang.

Include the IPP libraries at link-time for Android builds when
compiling the Web Audio API with IPP support.

  • WebCore.gyp/WebCore.gyp:
7:43 PM Changeset in webkit [124153] by rniwa@webkit.org
  • 2 edits in trunk/Tools

Windows build fix attempt after r124092.

  • MiniBrowser/win/BrowserView.cpp:

(BrowserView::create):

7:17 PM Changeset in webkit [124152] by Lucas Forschler
  • 2 edits in branches/safari-536.26-branch/Source/WebKit2

Merged r123658. <rdar://problem/11961131>

7:15 PM Changeset in webkit [124151] by Lucas Forschler
  • 2 edits in branches/safari-536.26-branch/Source/WebKit2

Merged r123649. <rdar://problem/11961125>

7:13 PM Changeset in webkit [124150] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r123637. <rdar://problem/11961127>

7:08 PM Changeset in webkit [124149] by Lucas Forschler
  • 2 edits in branches/safari-536.26-branch/Source/WebKit2

Merged r123630. <rdar://problem/11961135>

7:06 PM Changeset in webkit [124148] by rniwa@webkit.org
  • 2 edits in trunk/Tools

Remove erroneously committed debugging print call from a test.

  • Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:

(test_run_generates_results_page):

7:05 PM Changeset in webkit [124147] by Lucas Forschler
  • 2 edits in branches/safari-536.26-branch/Source/WebCore

Merged r123486. <rdar://problem/11954337>

7:01 PM Changeset in webkit [124146] by yosin@chromium.org
  • 7 edits in trunk/Source

[Forms] Get rid of Element::isReadOnlyFormControl other than CSS related
https://bugs.webkit.org/show_bug.cgi?id=92612

Reviewed by Kent Tamura.

Source/WebCore:

This patch replaces Element::isReadOnlyFormControl() not related to
CSS selector matching to HTMLFormControlElement::readOnly() for
preparation of introducing Element::shouldMatchReadWriteSelector(), bug 92602.

No new tests. This patch doesn't change behavior.

  • html/shadow/SliderThumbElement.cpp:

(WebCore::SliderThumbElement::defaultEventHandler): Changed isReadOnlyFormControl() to readOnly().

  • html/shadow/TextControlInnerElements.cpp:

(WebCore::SearchFieldCancelButtonElement::defaultEventHandler): Changed isReadOnlyFormControl() to readOnly().
(WebCore::SpinButtonElement::defaultEventHandler): ditto.
(WebCore::SpinButtonElement::step): ditto.
(WebCore::InputFieldSpeechButtonElement::defaultEventHandler): ditto.
(WebCore::InputFieldSpeechButtonElement::setRecognitionResult): ditto.

  • rendering/RenderTextControl.cpp:

(updateUserModifyProperty): Changed isReadOnlyFormControl() to readOnly().

  • rendering/RenderThemeMac.mm:

(WebCore::RenderThemeMac::paintSearchFieldCancelButton): Changed isReadOnlyFormControl() to readOnly().

Source/WebKit/blackberry:

This patch replaces Element::isReadOnlyFormControl() to
HTMLFormControlElement::readOnly() for preparation of introducing
Element::shouldMatchReadWriteSelector(), bug 92602.

  • WebKitSupport/DOMSupport.cpp:

(BlackBerry::WebKit::DOMSupport::isTextBasedContentEditableElement): Replaced isReadOnlyFormControl() by HTMLTextFormControlElement::readOnly().

7:00 PM Changeset in webkit [124145] by Lucas Forschler
  • 4 edits in branches/safari-536.26-branch

Merged r123415. <rdar://problem/11954336>

6:57 PM Changeset in webkit [124144] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

Fix a popup position issue of fast/forms/date/calendar-picker-appearance.html
https://bugs.webkit.org/show_bug.cgi?id=92609

Reviewed by Hajime Morita.

Force to lay out the document before opening a popup.

  • fast/forms/date/calendar-picker-appearance.html:
6:53 PM Changeset in webkit [124143] by Lucas Forschler
  • 3 edits
    1 copy in branches/safari-536.26-branch

Merged r123411. <rdar://problem/11954334>

6:50 PM Changeset in webkit [124142] by pkasting@chromium.org
  • 418 edits
    165 adds
    7 deletes in trunk/LayoutTests

[Chromium] Rebaselines and test expectation updates.
https://bugs.webkit.org/show_bug.cgi?id=62754
https://bugs.webkit.org/show_bug.cgi?id=63937
https://bugs.webkit.org/show_bug.cgi?id=70298
https://bugs.webkit.org/show_bug.cgi?id=74374
https://bugs.webkit.org/show_bug.cgi?id=77368
https://bugs.webkit.org/show_bug.cgi?id=79615
https://bugs.webkit.org/show_bug.cgi?id=80531
https://bugs.webkit.org/show_bug.cgi?id=80879
https://bugs.webkit.org/show_bug.cgi?id=81631
https://bugs.webkit.org/show_bug.cgi?id=83717
https://bugs.webkit.org/show_bug.cgi?id=87880
http://crbug.com/10350
http://crbug.com/26291
http://crbug.com/47826
http://crbug.com/131189

Unreviewed, test updates.

Most of the baselines here are for
http://trac.webkit.org/changeset/119431 and
http://trac.webkit.org/changeset/119748 , as well as some changes to
antialiasing (generally to improve it) for which I couldn't find a CL;
when these were originally landed and new baselines committed, a
Chromium test expectation override file was masking the fact that the
tests here needed new baselines as well.

There is also a small number of other changes mixed in.

  • platform/chromium-linux-x86/css1: Added.
  • platform/chromium-linux-x86/css1/basic: Added.
  • platform/chromium-linux-x86/css1/basic/class_as_selector-expected.png: Added.
  • platform/chromium-linux-x86/css1/basic/id_as_selector-expected.png: Added.
  • platform/chromium-linux-x86/css1/box_properties: Added.
  • platform/chromium-linux-x86/css1/box_properties/border_bottom-expected.png: Added.
  • platform/chromium-linux-x86/css1/box_properties/margin_left-expected.png: Added.
  • platform/chromium-linux-x86/css1/box_properties/padding_right-expected.png: Added.
  • platform/chromium-linux-x86/css1/pseudo: Added.
  • platform/chromium-linux-x86/css1/pseudo/anchor-expected.png: Added.
  • platform/chromium-linux-x86/editing/input: Added.
  • platform/chromium-linux-x86/editing/input/reveal-caret-of-multiline-contenteditable-expected.png: Added.
  • platform/chromium-linux-x86/editing/selection: Removed.
  • platform/chromium-linux-x86/fast/backgrounds/repeat: Added.
  • platform/chromium-linux-x86/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png: Added.
  • platform/chromium-linux-x86/fast/block/float: Added.
  • platform/chromium-linux-x86/fast/block/float/float-avoidance-expected.png: Added.
  • platform/chromium-linux-x86/fast/canvas/image-pattern-rotate-expected.png: Added.
  • platform/chromium-linux-x86/fast/events: Added.
  • platform/chromium-linux-x86/fast/events/autoscroll-expected.png: Added.
  • platform/chromium-linux-x86/fast/events/reveal-link-when-focused-expected.png: Added.
  • platform/chromium-linux-x86/fast/forms/textarea: Added.
  • platform/chromium-linux-x86/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
  • platform/chromium-linux-x86/fast/overflow: Added.
  • platform/chromium-linux-x86/fast/overflow/overflow-with-local-background-attachment-expected.png: Added.
  • platform/chromium-linux-x86/fast/selectors: Added.
  • platform/chromium-linux-x86/fast/selectors/166-expected.png: Added.
  • platform/chromium-linux-x86/fast/selectors/unqualified-hover-strict-expected.png: Added.
  • platform/chromium-linux-x86/fast/selectors/unqualified-hover-strict-expected.txt: Added.
  • platform/chromium-linux-x86/fast/transforms: Added.
  • platform/chromium-linux-x86/fast/transforms/rotated-transform-affects-scrolling-1-expected.png: Added.
  • platform/chromium-linux-x86/fonts: Added.
  • platform/chromium-linux-x86/fonts/monospace-expected.png: Added.
  • platform/chromium-linux-x86/http/tests/navigation: Added.
  • platform/chromium-linux-x86/http/tests/navigation/javascriptlink-frames-expected.png: Added.
  • platform/chromium-linux-x86/ietestcenter: Added.
  • platform/chromium-linux-x86/ietestcenter/css3: Added.
  • platform/chromium-linux-x86/ietestcenter/css3/bordersbackgrounds: Added.
  • platform/chromium-linux-x86/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png: Added.
  • platform/chromium-linux-x86/svg/as-image: Added.
  • platform/chromium-linux-x86/svg/as-image/image-respects-pageScaleFactor-expected.png: Added.
  • platform/chromium-linux-x86/svg/dom: Added.
  • platform/chromium-linux-x86/svg/dom/SVGTransformList-basics-expected.png: Added.
  • platform/chromium-linux-x86/svg/dom/css-transforms-expected.png: Added.
  • platform/chromium-linux-x86/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Added.
  • platform/chromium-linux-x86/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
  • platform/chromium-linux-x86/svg/wicd: Added.
  • platform/chromium-linux-x86/svg/wicd/test-rightsizing-b-expected.png: Added.
  • platform/chromium-linux-x86/tables/mozilla/marvin: Added.
  • platform/chromium-linux-x86/tables/mozilla/marvin/backgr_index-expected.png: Added.
  • platform/chromium-linux-x86/tables/mozilla/marvin/backgr_layers-opacity-expected.png: Added.
  • platform/chromium-linux-x86/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png: Added.
  • platform/chromium-linux-x86/transforms: Added.
  • platform/chromium-linux-x86/transforms/2d: Added.
  • platform/chromium-linux-x86/transforms/2d/hindi-rotated-expected.png: Added.
  • platform/chromium-linux-x86/transforms/2d/hindi-rotated-expected.txt: Added.
  • platform/chromium-linux/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png:
  • platform/chromium-linux/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png:
  • platform/chromium-linux/css1/basic/class_as_selector-expected.png:
  • platform/chromium-linux/css1/basic/id_as_selector-expected.png:
  • platform/chromium-linux/css1/box_properties/border_bottom-expected.png:
  • platform/chromium-linux/css1/box_properties/margin_left-expected.png:
  • platform/chromium-linux/css1/box_properties/padding_right-expected.png:
  • platform/chromium-linux/css1/pseudo/anchor-expected.png:
  • platform/chromium-linux/editing/input/reveal-caret-of-multiline-contenteditable-expected.png:
  • platform/chromium-linux/editing/selection/iframe-expected.png:
  • platform/chromium-linux/editing/selection/select-all-001-expected.png:
  • platform/chromium-linux/editing/selection/select-all-002-expected.png:
  • platform/chromium-linux/fast/backgrounds/background-leakage-transforms-expected.png:
  • platform/chromium-linux/fast/block/float/float-avoidance-expected.png:
  • platform/chromium-linux/fast/borders/border-radius-valid-border-clipping-expected.png:
  • platform/chromium-linux/fast/box-shadow/basic-shadows-expected.png:
  • platform/chromium-linux/fast/canvas/image-object-in-canvas-expected.png:
  • platform/chromium-linux/fast/canvas/image-pattern-rotate-expected.png:
  • platform/chromium-linux/fast/events/autoscroll-expected.png:
  • platform/chromium-linux/fast/events/reveal-link-when-focused-expected.png:
  • platform/chromium-linux/fast/forms/fieldset-align-expected.png:
  • platform/chromium-linux/fast/forms/input-appearance-selection-expected.png:
  • platform/chromium-linux/fast/forms/input-placeholder-paint-order-expected.png:
  • platform/chromium-linux/fast/forms/input-table-expected.png:
  • platform/chromium-linux/fast/forms/listbox-bidi-align-expected.png:
  • platform/chromium-linux/fast/forms/placeholder-position-expected.png:
  • platform/chromium-linux/fast/forms/select-overflow-scroll-expected.png:
  • platform/chromium-linux/fast/forms/select-overflow-scroll-inherited-expected.png:
  • platform/chromium-linux/fast/forms/textarea-scrollbar-expected.png:
  • platform/chromium-linux/fast/forms/textarea/textarea-placeholder-paint-order-expected.png:
  • platform/chromium-linux/fast/html/details-position-expected.png:
  • platform/chromium-linux/fast/html/details-writing-mode-expected.png:
  • platform/chromium-linux/fast/overflow/overflow-update-transform-expected.png:
  • platform/chromium-linux/fast/overflow/overflow-with-local-background-attachment-expected.png:
  • platform/chromium-linux/fast/replaced/width100percent-radio-expected.png: Added.
  • platform/chromium-linux/fast/selectors/166-expected.png:
  • platform/chromium-linux/fast/selectors/unqualified-hover-strict-expected.png:
  • platform/chromium-linux/fast/selectors/unqualified-hover-strict-expected.txt: Added.
  • platform/chromium-linux/fast/transforms/rotated-transform-affects-scrolling-1-expected.png:
  • platform/chromium-linux/fonts/monospace-expected.png:
  • platform/chromium-linux/http/tests/navigation/javascriptlink-frames-expected.png:
  • platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png:
  • platform/chromium-linux/svg/as-image/image-respects-pageScaleFactor-expected.png:
  • platform/chromium-linux/svg/custom/getscreenctm-in-scrollable-div-area-expected.png:
  • platform/chromium-linux/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.png:
  • platform/chromium-linux/svg/custom/getscreenctm-in-scrollable-svg-area-expected.png:
  • platform/chromium-linux/svg/custom/pattern-rotate-expected.png:
  • platform/chromium-linux/svg/dom/SVGTransformList-basics-expected.png:
  • platform/chromium-linux/svg/dom/css-transforms-expected.png:
  • platform/chromium-linux/svg/dynamic-updates/SVG-dynamic-css-transform-expected.png:
  • platform/chromium-linux/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.png:
  • platform/chromium-linux/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-userSpaceOnUse-expected.png:
  • platform/chromium-linux/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.png:
  • platform/chromium-linux/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.png:
  • platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
  • platform/chromium-linux/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
  • platform/chromium-linux/svg/wicd/test-rightsizing-b-expected.png:
  • platform/chromium-linux/svg/zoom/page/absolute-sized-document-scrollbars-expected.png:
  • platform/chromium-linux/svg/zoom/page/zoom-hixie-mixed-008-expected.png:
  • platform/chromium-linux/svg/zoom/page/zoom-mask-with-percentages-expected.png:
  • platform/chromium-linux/tables/mozilla/bugs/bug2479-3-expected.png:
  • platform/chromium-linux/tables/mozilla/marvin/backgr_index-expected.png:
  • platform/chromium-linux/tables/mozilla/marvin/backgr_layers-opacity-expected.png:
  • platform/chromium-linux/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png:
  • platform/chromium-linux/transforms/2d/hindi-rotated-expected.png:
  • platform/chromium-linux/transforms/2d/hindi-rotated-expected.txt:
  • platform/chromium-mac-snowleopard/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png:
  • platform/chromium-mac-snowleopard/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/canvas/image-object-in-canvas-expected.png:
  • platform/chromium-mac-snowleopard/fast/canvas/image-pattern-rotate-expected.png:
  • platform/chromium-mac-snowleopard/svg/as-border-image: Removed.
  • platform/chromium-mac-snowleopard/svg/as-border-image/svg-as-border-image-2-expected.png: Removed.
  • platform/chromium-mac-snowleopard/svg/as-border-image/svg-as-border-image-expected.png: Removed.
  • platform/chromium-mac-snowleopard/svg/custom/foreign-object-skew-expected.png:
  • platform/chromium-mac-snowleopard/svg/custom/pattern-rotate-expected.png:
  • platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
  • platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Added.
  • platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
  • platform/chromium-mac-snowleopard/transforms/2d/hindi-rotated-expected.png:
  • platform/chromium-mac/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png:
  • platform/chromium-mac/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png:
  • platform/chromium-mac/fast/borders/border-radius-valid-border-clipping-expected.png:
  • platform/chromium-mac/fast/canvas/canvas-imageSmoothingEnabled-patterns-expected.png:
  • platform/chromium-mac/fast/canvas/image-object-in-canvas-expected.png:
  • platform/chromium-mac/fast/canvas/image-pattern-rotate-expected.png:
  • platform/chromium-mac/svg/as-border-image/svg-as-border-image-2-expected.png:
  • platform/chromium-mac/svg/as-border-image/svg-as-border-image-expected.png:
  • platform/chromium-mac/svg/custom/non-scaling-stroke-expected.png:
  • platform/chromium-mac/svg/custom/pattern-rotate-expected.png:
  • platform/chromium-mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
  • platform/chromium-mac/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
  • platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
  • platform/chromium-mac/transforms/2d/hindi-rotated-expected.png: Added.
  • platform/chromium-mac/transforms/2d/hindi-rotated-expected.txt: Added.
  • platform/chromium-win-xp/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
  • platform/chromium-win-xp/css1: Added.
  • platform/chromium-win-xp/css1/basic: Added.
  • platform/chromium-win-xp/css1/basic/class_as_selector-expected.png: Added.
  • platform/chromium-win-xp/css1/basic/containment-expected.png: Added.
  • platform/chromium-win-xp/css1/basic/id_as_selector-expected.png: Added.
  • platform/chromium-win-xp/css1/box_properties: Added.
  • platform/chromium-win-xp/css1/box_properties/border_bottom-expected.png: Added.
  • platform/chromium-win-xp/css1/box_properties/border_left-expected.png: Added.
  • platform/chromium-win-xp/css1/box_properties/border_right_inline-expected.png: Added.
  • platform/chromium-win-xp/css1/box_properties/border_top-expected.png: Added.
  • platform/chromium-win-xp/css1/box_properties/clear_float-expected.png: Added.
  • platform/chromium-win-xp/css1/box_properties/margin_left-expected.png: Added.
  • platform/chromium-win-xp/css1/box_properties/margin_right-expected.png: Added.
  • platform/chromium-win-xp/css1/box_properties/padding_left-expected.png: Added.
  • platform/chromium-win-xp/css1/box_properties/padding_right-expected.png: Added.
  • platform/chromium-win-xp/css1/cascade: Added.
  • platform/chromium-win-xp/css1/cascade/cascade_order-expected.png: Added.
  • platform/chromium-win-xp/css1/classification: Added.
  • platform/chromium-win-xp/css1/classification/list_style_type-expected.png: Added.
  • platform/chromium-win-xp/css1/pseudo: Added.
  • platform/chromium-win-xp/css1/pseudo/anchor-expected.png: Added.
  • platform/chromium-win-xp/css3/selectors3: Added.
  • platform/chromium-win-xp/css3/selectors3/html: Added.
  • platform/chromium-win-xp/css3/selectors3/html/css3-modsel-161-expected.png: Added.
  • platform/chromium-win-xp/css3/selectors3/xhtml: Added.
  • platform/chromium-win-xp/css3/selectors3/xhtml/css3-modsel-161-expected.png: Added.
  • platform/chromium-win-xp/css3/selectors3/xml: Added.
  • platform/chromium-win-xp/css3/selectors3/xml/css3-modsel-161-expected.png: Added.
  • platform/chromium-win-xp/editing/input: Added.
  • platform/chromium-win-xp/editing/input/caret-at-the-edge-of-input-expected.png: Added.
  • platform/chromium-win-xp/editing/input/reveal-caret-of-multiline-contenteditable-expected.png: Added.
  • platform/chromium-win-xp/editing/input/reveal-caret-of-multiline-input-expected.png: Added.
  • platform/chromium-win-xp/fast/backgrounds/repeat: Removed.
  • platform/chromium-win-xp/fast/block/float: Added.
  • platform/chromium-win-xp/fast/block/float/float-avoidance-expected.png: Added.
  • platform/chromium-win-xp/fast/block/margin-collapse: Added.
  • platform/chromium-win-xp/fast/block/margin-collapse/103-expected.png: Added.
  • platform/chromium-win-xp/fast/events: Added.
  • platform/chromium-win-xp/fast/events/autoscroll-expected.png: Added.
  • platform/chromium-win-xp/fast/events/context-no-deselect-expected.png: Added.
  • platform/chromium-win-xp/fast/events/reveal-link-when-focused-expected.png: Added.
  • platform/chromium-win-xp/fast/forms/date: Added.
  • platform/chromium-win-xp/fast/forms/date/date-appearance-expected.png: Added.
  • platform/chromium-win-xp/fast/forms/select: Added.
  • platform/chromium-win-xp/fast/forms/select/optgroup-rendering-expected.png: Added.
  • platform/chromium-win-xp/fast/forms/textarea: Added.
  • platform/chromium-win-xp/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
  • platform/chromium-win-xp/fast/frames: Added.
  • platform/chromium-win-xp/fast/frames/take-focus-from-iframe-expected.png: Added.
  • platform/chromium-win-xp/fast/gradients: Added.
  • platform/chromium-win-xp/fast/gradients/background-clipped-expected.png: Added.
  • platform/chromium-win-xp/fast/html: Removed.
  • platform/chromium-win-xp/fast/html/details-writing-mode-expected.png: Removed.
  • platform/chromium-win-xp/fast/invalid: Added.
  • platform/chromium-win-xp/fast/invalid/014-expected.png: Added.
  • platform/chromium-win-xp/fast/layers: Added.
  • platform/chromium-win-xp/fast/layers/scroll-with-transform-composited-layer-expected.png: Added.
  • platform/chromium-win-xp/fast/layers/scroll-with-transform-layer-expected.png: Added.
  • platform/chromium-win-xp/fast/lists: Added.
  • platform/chromium-win-xp/fast/lists/008-expected.png: Added.
  • platform/chromium-win-xp/fast/lists/008-vertical-expected.png: Added.
  • platform/chromium-win-xp/fast/lists/dynamic-marker-crash-expected.png: Added.
  • platform/chromium-win-xp/fast/overflow: Added.
  • platform/chromium-win-xp/fast/overflow/overflow-rtl-expected.png: Added.
  • platform/chromium-win-xp/fast/overflow/overflow-rtl-vertical-expected.png: Added.
  • platform/chromium-win-xp/fast/selectors: Added.
  • platform/chromium-win-xp/fast/selectors/166-expected.png: Added.
  • platform/chromium-win-xp/fast/selectors/unqualified-hover-strict-expected.png: Added.
  • platform/chromium-win-xp/fast/selectors/unqualified-hover-strict-expected.txt: Added.
  • platform/chromium-win-xp/fast/speech: Added.
  • platform/chromium-win-xp/fast/speech/input-appearance-numberandspeech-expected.png: Added.
  • platform/chromium-win-xp/fast/speech/input-appearance-searchandspeech-expected.png: Added.
  • platform/chromium-win-xp/fast/speech/input-appearance-speechbutton-expected.png: Added.
  • platform/chromium-win-xp/fast/speech/speech-bidi-rendering-expected.png: Added.
  • platform/chromium-win-xp/fast/text/drawBidiText-expected.png:
  • platform/chromium-win-xp/fast/transforms: Added.
  • platform/chromium-win-xp/fast/transforms/rotated-transform-affects-scrolling-1-expected.png: Added.
  • platform/chromium-win-xp/fast/transforms/rotated-transform-affects-scrolling-2-expected.png: Added.
  • platform/chromium-win-xp/fast/transforms/transformed-focused-text-input-expected.png: Added.
  • platform/chromium-win-xp/fonts: Added.
  • platform/chromium-win-xp/fonts/monospace-expected.png: Added.
  • platform/chromium-win-xp/http/tests/misc: Added.
  • platform/chromium-win-xp/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.png: Added.
  • platform/chromium-win-xp/http/tests/navigation: Added.
  • platform/chromium-win-xp/http/tests/navigation/javascriptlink-frames-expected.png: Added.
  • platform/chromium-win-xp/plugins: Added.
  • platform/chromium-win-xp/plugins/mouse-click-plugin-clears-selection-expected.png: Added.
  • platform/chromium-win-xp/svg/as-image/image-respects-pageScaleFactor-expected.png: Removed.
  • platform/chromium-win-xp/svg/dom: Removed.
  • platform/chromium-win-xp/svg/hixie/mixed: Added.
  • platform/chromium-win-xp/svg/hixie/mixed/003-expected.png: Added.
  • platform/chromium-win-xp/svg/in-html: Added.
  • platform/chromium-win-xp/svg/in-html/circle-expected.png: Added.
  • platform/chromium-win-xp/svg/transforms: Added.
  • platform/chromium-win-xp/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Added.
  • platform/chromium-win-xp/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Added.
  • platform/chromium-win-xp/svg/wicd/test-rightsizing-b-expected.png:
  • platform/chromium-win-xp/svg/zoom/page/zoom-mask-with-percentages-expected.png: Added.
  • platform/chromium-win-xp/tables/mozilla/core: Added.
  • platform/chromium-win-xp/tables/mozilla/core/margins-expected.png: Added.
  • platform/chromium-win-xp/tables/mozilla/dom: Added.
  • platform/chromium-win-xp/tables/mozilla/dom/tableDom-expected.png: Added.
  • platform/chromium-win-xp/tables/mozilla/other: Added.
  • platform/chromium-win-xp/tables/mozilla/other/move_row-expected.png: Added.
  • platform/chromium-win-xp/tables/mozilla_expected_failures: Added.
  • platform/chromium-win-xp/tables/mozilla_expected_failures/bugs: Added.
  • platform/chromium-win-xp/tables/mozilla_expected_failures/bugs/bug1725-expected.png: Added.
  • platform/chromium-win-xp/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png: Added.
  • platform/chromium-win-xp/tables/mozilla_expected_failures/marvin: Added.
  • platform/chromium-win-xp/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png: Added.
  • platform/chromium-win-xp/tables/mozilla_expected_failures/marvin/backgr_layers-show-expected.png: Added.
  • platform/chromium-win-xp/transforms/2d/hindi-rotated-expected.png:
  • platform/chromium-win/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png:
  • platform/chromium-win/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png:
  • platform/chromium-win/css1/basic/class_as_selector-expected.png:
  • platform/chromium-win/css1/basic/containment-expected.png:
  • platform/chromium-win/css1/basic/id_as_selector-expected.png:
  • platform/chromium-win/css1/box_properties/border_bottom-expected.png:
  • platform/chromium-win/css1/box_properties/border_left-expected.png:
  • platform/chromium-win/css1/box_properties/border_right_inline-expected.png:
  • platform/chromium-win/css1/box_properties/border_top-expected.png:
  • platform/chromium-win/css1/box_properties/clear_float-expected.png:
  • platform/chromium-win/css1/box_properties/margin_left-expected.png:
  • platform/chromium-win/css1/box_properties/margin_right-expected.png:
  • platform/chromium-win/css1/box_properties/padding_left-expected.png:
  • platform/chromium-win/css1/box_properties/padding_right-expected.png:
  • platform/chromium-win/css1/cascade/cascade_order-expected.png:
  • platform/chromium-win/css1/classification/list_style_type-expected.png:
  • platform/chromium-win/css1/pseudo/anchor-expected.png:
  • platform/chromium-win/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png:
  • platform/chromium-win/css3/selectors3/html/css3-modsel-161-expected.png:
  • platform/chromium-win/css3/selectors3/xhtml/css3-modsel-161-expected.png:
  • platform/chromium-win/css3/selectors3/xml/css3-modsel-161-expected.png:
  • platform/chromium-win/editing/deleting/delete-after-span-ws-001-expected.png:
  • platform/chromium-win/editing/deleting/delete-after-span-ws-002-expected.png:
  • platform/chromium-win/editing/deleting/delete-after-span-ws-003-expected.png:
  • platform/chromium-win/editing/deleting/delete-line-end-ws-001-expected.png:
  • platform/chromium-win/editing/deleting/delete-line-end-ws-002-expected.png:
  • platform/chromium-win/editing/input/caret-at-the-edge-of-input-expected.png:
  • platform/chromium-win/editing/input/reveal-caret-of-multiline-contenteditable-expected.png:
  • platform/chromium-win/editing/input/reveal-caret-of-multiline-input-expected.png:
  • platform/chromium-win/editing/inserting/4960120-1-expected.png:
  • platform/chromium-win/editing/inserting/before-after-input-element-expected.png:
  • platform/chromium-win/editing/pasteboard/4806874-expected.png:
  • platform/chromium-win/editing/pasteboard/4944770-1-expected.png:
  • platform/chromium-win/editing/pasteboard/4944770-2-expected.png:
  • platform/chromium-win/editing/pasteboard/drop-text-without-selection-expected.png:
  • platform/chromium-win/editing/pasteboard/input-field-1-expected.png:
  • platform/chromium-win/editing/pasteboard/pasting-tabs-expected.png:
  • platform/chromium-win/editing/selection/3690703-2-expected.png:
  • platform/chromium-win/editing/selection/3690703-expected.png:
  • platform/chromium-win/editing/selection/3690719-expected.png:
  • platform/chromium-win/editing/selection/4397952-expected.png:
  • platform/chromium-win/editing/selection/4895428-3-expected.png:
  • platform/chromium-win/editing/selection/4975120-expected.png:
  • platform/chromium-win/editing/selection/caret-before-select-expected.png:
  • platform/chromium-win/editing/selection/drag-select-1-expected.png:
  • platform/chromium-win/editing/selection/iframe-expected.png:
  • platform/chromium-win/editing/selection/replaced-boundaries-3-expected.png:
  • platform/chromium-win/editing/selection/select-across-readonly-input-1-expected.png:
  • platform/chromium-win/editing/selection/select-across-readonly-input-2-expected.png:
  • platform/chromium-win/editing/selection/select-across-readonly-input-3-expected.png:
  • platform/chromium-win/editing/selection/select-across-readonly-input-4-expected.png:
  • platform/chromium-win/editing/selection/select-across-readonly-input-5-expected.png:
  • platform/chromium-win/editing/selection/select-all-001-expected.png:
  • platform/chromium-win/editing/selection/select-all-002-expected.png:
  • platform/chromium-win/editing/selection/select-box-expected.png:
  • platform/chromium-win/editing/selection/select-element-paragraph-boundary-expected.png:
  • platform/chromium-win/editing/selection/unrendered-001-expected.png:
  • platform/chromium-win/editing/selection/unrendered-002-expected.png:
  • platform/chromium-win/editing/selection/unrendered-003-expected.png:
  • platform/chromium-win/editing/selection/unrendered-004-expected.png:
  • platform/chromium-win/editing/selection/unrendered-005-expected.png:
  • platform/chromium-win/fast/backgrounds/background-inherit-color-bug-expected.png:
  • platform/chromium-win/fast/backgrounds/background-leakage-transforms-expected.png:
  • platform/chromium-win/fast/block/float/float-avoidance-expected.png:
  • platform/chromium-win/fast/block/margin-collapse/103-expected.png:
  • platform/chromium-win/fast/borders/border-radius-valid-border-clipping-expected.png:
  • platform/chromium-win/fast/borders/mixed-border-styles-radius2-expected.png:
  • platform/chromium-win/fast/box-shadow/basic-shadows-expected.png:
  • platform/chromium-win/fast/canvas/canvas-imageSmoothingEnabled-patterns-expected.png:
  • platform/chromium-win/fast/canvas/canvas-incremental-repaint-expected.png:
  • platform/chromium-win/fast/canvas/canvas-text-alignment-expected.png:
  • platform/chromium-win/fast/canvas/image-object-in-canvas-expected.png:
  • platform/chromium-win/fast/canvas/image-pattern-rotate-expected.png:
  • platform/chromium-win/fast/css/input-search-padding-expected.png:
  • platform/chromium-win/fast/css/line-height-expected.png:
  • platform/chromium-win/fast/css/nested-rounded-corners-expected.png:
  • platform/chromium-win/fast/css/text-input-with-webkit-border-radius-expected.png:
  • platform/chromium-win/fast/css/text-overflow-input-expected.png:
  • platform/chromium-win/fast/css/text-transform-select-expected.png:
  • platform/chromium-win/fast/dom/52776-expected.png:
  • platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.png:
  • platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.png:
  • platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.png:
  • platform/chromium-win/fast/dom/focus-contenteditable-expected.png:
  • platform/chromium-win/fast/dom/isindex-001-expected.png:
  • platform/chromium-win/fast/dom/isindex-002-expected.png:
  • platform/chromium-win/fast/events/autoscroll-expected.png:
  • platform/chromium-win/fast/events/context-no-deselect-expected.png:
  • platform/chromium-win/fast/events/reveal-link-when-focused-expected.png:
  • platform/chromium-win/fast/forms/001-expected.png:
  • platform/chromium-win/fast/forms/003-expected.png:
  • platform/chromium-win/fast/forms/004-expected.png:
  • platform/chromium-win/fast/forms/HTMLOptionElement_label01-expected.png:
  • platform/chromium-win/fast/forms/HTMLOptionElement_label02-expected.png:
  • platform/chromium-win/fast/forms/HTMLOptionElement_label03-expected.png:
  • platform/chromium-win/fast/forms/HTMLOptionElement_label04-expected.png:
  • platform/chromium-win/fast/forms/HTMLOptionElement_label05-expected.png:
  • platform/chromium-win/fast/forms/HTMLOptionElement_label06-expected.png:
  • platform/chromium-win/fast/forms/HTMLOptionElement_label07-expected.png:
  • platform/chromium-win/fast/forms/basic-buttons-expected.png:
  • platform/chromium-win/fast/forms/basic-inputs-expected.png:
  • platform/chromium-win/fast/forms/basic-selects-expected.png:
  • platform/chromium-win/fast/forms/button-generated-content-expected.png:
  • platform/chromium-win/fast/forms/button-inner-block-reuse-expected.png:
  • platform/chromium-win/fast/forms/control-clip-overflow-expected.png:
  • platform/chromium-win/fast/forms/control-restrict-line-height-expected.png:
  • platform/chromium-win/fast/forms/date/date-appearance-expected.png:
  • platform/chromium-win/fast/forms/disabled-select-change-index-expected.png:
  • platform/chromium-win/fast/forms/encoding-test-expected.png:
  • platform/chromium-win/fast/forms/fieldset-align-expected.png:
  • platform/chromium-win/fast/forms/floating-textfield-relayout-expected.png:
  • platform/chromium-win/fast/forms/form-element-geometry-expected.png:
  • platform/chromium-win/fast/forms/input-align-expected.png:
  • platform/chromium-win/fast/forms/input-appearance-default-bkcolor-expected.png:
  • platform/chromium-win/fast/forms/input-appearance-disabled-expected.png:
  • platform/chromium-win/fast/forms/input-appearance-focus-expected.png:
  • platform/chromium-win/fast/forms/input-appearance-height-expected.png:
  • platform/chromium-win/fast/forms/input-appearance-preventDefault-expected.png:
  • platform/chromium-win/fast/forms/input-appearance-readonly-expected.png:
  • platform/chromium-win/fast/forms/input-appearance-selection-expected.png:
  • platform/chromium-win/fast/forms/input-appearance-visibility-expected.png:
  • platform/chromium-win/fast/forms/input-appearance-width-expected.png:
  • platform/chromium-win/fast/forms/input-baseline-expected.png:
  • platform/chromium-win/fast/forms/input-disabled-color-expected.png:
  • platform/chromium-win/fast/forms/input-double-click-selection-gap-bug-expected.png:
  • platform/chromium-win/fast/forms/input-field-text-truncated-expected.png:
  • platform/chromium-win/fast/forms/input-placeholder-paint-order-expected.png:
  • platform/chromium-win/fast/forms/input-placeholder-visibility-1-expected.png:
  • platform/chromium-win/fast/forms/input-placeholder-visibility-3-expected.png:
  • platform/chromium-win/fast/forms/input-readonly-autoscroll-expected.png:
  • platform/chromium-win/fast/forms/input-readonly-dimmed-expected.png:
  • platform/chromium-win/fast/forms/input-readonly-empty-expected.png:
  • platform/chromium-win/fast/forms/input-spaces-expected.png:
  • platform/chromium-win/fast/forms/input-table-expected.png:
  • platform/chromium-win/fast/forms/input-text-click-inside-expected.png:
  • platform/chromium-win/fast/forms/input-text-click-outside-expected.png:
  • platform/chromium-win/fast/forms/input-text-double-click-expected.png:
  • platform/chromium-win/fast/forms/input-text-option-delete-expected.png:
  • platform/chromium-win/fast/forms/input-text-scroll-left-on-blur-expected.png:
  • platform/chromium-win/fast/forms/input-text-self-emptying-click-expected.png:
  • platform/chromium-win/fast/forms/input-text-word-wrap-expected.png:
  • platform/chromium-win/fast/forms/input-type-text-min-width-expected.png:
  • platform/chromium-win/fast/forms/input-value-expected.png:
  • platform/chromium-win/fast/forms/input-width-expected.png:
  • platform/chromium-win/fast/forms/listbox-bidi-align-expected.png:
  • platform/chromium-win/fast/forms/listbox-clip-expected.png:
  • platform/chromium-win/fast/forms/listbox-scrollbar-incremental-load-expected.png:
  • platform/chromium-win/fast/forms/listbox-width-change-expected.png:
  • platform/chromium-win/fast/forms/menulist-deselect-update-expected.png:
  • platform/chromium-win/fast/forms/menulist-narrow-width-expected.png:
  • platform/chromium-win/fast/forms/menulist-no-overflow-expected.png:
  • platform/chromium-win/fast/forms/menulist-restrict-line-height-expected.png:
  • platform/chromium-win/fast/forms/menulist-separator-painting-expected.png:
  • platform/chromium-win/fast/forms/menulist-style-color-expected.png:
  • platform/chromium-win/fast/forms/menulist-width-change-expected.png:
  • platform/chromium-win/fast/forms/minWidthPercent-expected.png:
  • platform/chromium-win/fast/forms/option-script-expected.png:
  • platform/chromium-win/fast/forms/option-strip-whitespace-expected.png:
  • platform/chromium-win/fast/forms/option-text-clip-expected.png:
  • platform/chromium-win/fast/forms/placeholder-position-expected.png:
  • platform/chromium-win/fast/forms/placeholder-pseudo-style-expected.png:
  • platform/chromium-win/fast/forms/plaintext-mode-2-expected.png:
  • platform/chromium-win/fast/forms/search-cancel-button-style-sharing-expected.png:
  • platform/chromium-win/fast/forms/search-display-none-cancel-button-expected.png:
  • platform/chromium-win/fast/forms/search-rtl-expected.png:
  • platform/chromium-win/fast/forms/searchfield-heights-expected.png:
  • platform/chromium-win/fast/forms/select-align-expected.png:
  • platform/chromium-win/fast/forms/select-background-none-expected.png:
  • platform/chromium-win/fast/forms/select-baseline-expected.png:
  • platform/chromium-win/fast/forms/select-block-background-expected.png:
  • platform/chromium-win/fast/forms/select-change-listbox-size-expected.png:
  • platform/chromium-win/fast/forms/select-change-listbox-to-popup-expected.png:
  • platform/chromium-win/fast/forms/select-change-popup-to-listbox-expected.png:
  • platform/chromium-win/fast/forms/select-dirty-parent-pref-widths-expected.png:
  • platform/chromium-win/fast/forms/select-disabled-appearance-expected.png:
  • platform/chromium-win/fast/forms/select-initial-position-expected.png:
  • platform/chromium-win/fast/forms/select-list-box-with-height-expected.png:
  • platform/chromium-win/fast/forms/select-listbox-multiple-no-focusring-expected.png:
  • platform/chromium-win/fast/forms/select-overflow-scroll-expected.png:
  • platform/chromium-win/fast/forms/select-overflow-scroll-inherited-expected.png:
  • platform/chromium-win/fast/forms/select-selected-expected.png:
  • platform/chromium-win/fast/forms/select-size-expected.png:
  • platform/chromium-win/fast/forms/select-style-expected.png:
  • platform/chromium-win/fast/forms/select-visual-hebrew-expected.png:
  • platform/chromium-win/fast/forms/select-writing-direction-natural-expected.png:
  • platform/chromium-win/fast/forms/select/optgroup-rendering-expected.png:
  • platform/chromium-win/fast/forms/selectlist-minsize-expected.png:
  • platform/chromium-win/fast/forms/stuff-on-my-optgroup-expected.png:
  • platform/chromium-win/fast/forms/tabbing-input-iframe-expected.png:
  • platform/chromium-win/fast/forms/text-style-color-expected.png:
  • platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.png:
  • platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.png:
  • platform/chromium-win/fast/forms/textarea-scrollbar-expected.png:
  • platform/chromium-win/fast/forms/textarea-scrolled-type-expected.png:
  • platform/chromium-win/fast/forms/textarea/textarea-placeholder-paint-order-expected.png:
  • platform/chromium-win/fast/forms/textfield-focus-ring-expected.png:
  • platform/chromium-win/fast/forms/textfield-overflow-expected.png:
  • platform/chromium-win/fast/forms/validation-message-appearance-expected.png:
  • platform/chromium-win/fast/forms/visual-hebrew-text-field-expected.png:
  • platform/chromium-win/fast/frames/take-focus-from-iframe-expected.png:
  • platform/chromium-win/fast/gradients/background-clipped-expected.png:
  • platform/chromium-win/fast/html/details-no-summary4-expected.png:
  • platform/chromium-win/fast/html/details-open-javascript-expected.png:
  • platform/chromium-win/fast/html/details-open2-expected.png:
  • platform/chromium-win/fast/html/details-open4-expected.png:
  • platform/chromium-win/fast/html/details-position-expected.png:
  • platform/chromium-win/fast/html/details-replace-summary-child-expected.png:
  • platform/chromium-win/fast/html/details-replace-text-expected.png:
  • platform/chromium-win/fast/html/details-writing-mode-expected.png:
  • platform/chromium-win/fast/html/keygen-expected.png:
  • platform/chromium-win/fast/invalid/014-expected.png:
  • platform/chromium-win/fast/layers/scroll-with-transform-composited-layer-expected.png:
  • platform/chromium-win/fast/layers/scroll-with-transform-layer-expected.png:
  • platform/chromium-win/fast/lists/008-expected.png:
  • platform/chromium-win/fast/lists/008-vertical-expected.png:
  • platform/chromium-win/fast/lists/dynamic-marker-crash-expected.png:
  • platform/chromium-win/fast/overflow/overflow-rtl-expected.png:
  • platform/chromium-win/fast/overflow/overflow-rtl-vertical-expected.png:
  • platform/chromium-win/fast/overflow/overflow-update-transform-expected.png:
  • platform/chromium-win/fast/overflow/overflow-with-local-background-attachment-expected.png:
  • platform/chromium-win/fast/parser/document-write-option-expected.png:
  • platform/chromium-win/fast/repaint/control-clip-expected.png:
  • platform/chromium-win/fast/repaint/moving-shadow-on-container-expected.png:
  • platform/chromium-win/fast/repaint/moving-shadow-on-path-expected.png:
  • platform/chromium-win/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png:
  • platform/chromium-win/fast/repaint/select-option-background-color-expected.png:
  • platform/chromium-win/fast/repaint/subtree-root-skipped-expected.png:
  • platform/chromium-win/fast/repaint/transform-absolute-in-positioned-container-expected.png:
  • platform/chromium-win/fast/replaced/replaced-breaking-expected.png:
  • platform/chromium-win/fast/replaced/replaced-breaking-mixture-expected.png:
  • platform/chromium-win/fast/replaced/three-selects-break-expected.png:
  • platform/chromium-win/fast/replaced/width100percent-searchfield-expected.png:
  • platform/chromium-win/fast/replaced/width100percent-textfield-expected.png:
  • platform/chromium-win/fast/selectors/166-expected.png:
  • platform/chromium-win/fast/selectors/unqualified-hover-strict-expected.png:
  • platform/chromium-win/fast/selectors/unqualified-hover-strict-expected.txt:
  • platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.png:
  • platform/chromium-win/fast/speech/input-appearance-searchandspeech-expected.png:
  • platform/chromium-win/fast/speech/input-appearance-speechbutton-expected.png:
  • platform/chromium-win/fast/speech/speech-bidi-rendering-expected.png:
  • platform/chromium-win/fast/table/003-expected.png:
  • platform/chromium-win/fast/table/colspanMinWidth-expected.png:
  • platform/chromium-win/fast/table/spanOverlapRepaint-expected.png:
  • platform/chromium-win/fast/table/text-field-baseline-expected.png:
  • platform/chromium-win/fast/text/drawBidiText-expected.png:
  • platform/chromium-win/fast/text/international/bidi-listbox-atsui-expected.png:
  • platform/chromium-win/fast/text/international/bidi-listbox-expected.png:
  • platform/chromium-win/fast/text/international/bidi-menulist-expected.png:
  • platform/chromium-win/fast/text/international/pop-up-button-text-alignment-and-direction-expected.png:
  • platform/chromium-win/fast/text/textIteratorNilRenderer-expected.png:
  • platform/chromium-win/fast/text/updateNewFont-expected.png:
  • platform/chromium-win/fast/transforms/rotated-transform-affects-scrolling-1-expected.png:
  • platform/chromium-win/fast/transforms/rotated-transform-affects-scrolling-2-expected.png:
  • platform/chromium-win/fast/transforms/transformed-focused-text-input-expected.png:
  • platform/chromium-win/fast/writing-mode/border-radius-clipping-vertical-lr-expected.png:
  • platform/chromium-win/fast/writing-mode/box-shadow-vertical-lr-expected.png:
  • platform/chromium-win/fast/writing-mode/box-shadow-vertical-rl-expected.png:
  • platform/chromium-win/fonts/monospace-expected.png:
  • platform/chromium-win/http/tests/misc/object-embedding-svg-delayed-size-negotiation-expected.png:
  • platform/chromium-win/http/tests/navigation/javascriptlink-frames-expected.png:
  • platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png:
  • platform/chromium-win/plugins/mouse-click-plugin-clears-selection-expected.png:
  • platform/chromium-win/svg/as-image/image-respects-pageScaleFactor-expected.png:
  • platform/chromium-win/svg/css/composite-shadow-example-expected.png:
  • platform/chromium-win/svg/css/composite-shadow-with-opacity-expected.png:
  • platform/chromium-win/svg/css/stars-with-shadow-expected.png:
  • platform/chromium-win/svg/custom/foreign-object-skew-expected.png:
  • platform/chromium-win/svg/custom/getscreenctm-in-scrollable-div-area-expected.png:
  • platform/chromium-win/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.png:
  • platform/chromium-win/svg/custom/getscreenctm-in-scrollable-svg-area-expected.png:
  • platform/chromium-win/svg/custom/inline-svg-in-xhtml-expected.png:
  • platform/chromium-win/svg/custom/non-scaling-stroke-expected.png:
  • platform/chromium-win/svg/custom/object-sizing-no-width-height-expected.png:
  • platform/chromium-win/svg/custom/pattern-rotate-expected.png:
  • platform/chromium-win/svg/dom/SVGTransformList-basics-expected.png:
  • platform/chromium-win/svg/dom/css-transforms-expected.png:
  • platform/chromium-win/svg/dynamic-updates/SVG-dynamic-css-transform-expected.png:
  • platform/chromium-win/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop-expected.png:
  • platform/chromium-win/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.png:
  • platform/chromium-win/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.png:
  • platform/chromium-win/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-userSpaceOnUse-expected.png:
  • platform/chromium-win/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.png:
  • platform/chromium-win/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.png:
  • platform/chromium-win/svg/hixie/mixed/003-expected.png:
  • platform/chromium-win/svg/in-html/circle-expected.png:
  • platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
  • platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
  • platform/chromium-win/svg/wicd/rightsizing-grid-expected.png:
  • platform/chromium-win/svg/wicd/test-rightsizing-b-expected.png:
  • platform/chromium-win/svg/wicd/test-scalable-background-image1-expected.png:
  • platform/chromium-win/svg/zoom/page/absolute-sized-document-scrollbars-expected.png:
  • platform/chromium-win/svg/zoom/page/zoom-hixie-mixed-008-expected.png:
  • platform/chromium-win/svg/zoom/page/zoom-mask-with-percentages-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/45621-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug1188-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug12384-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug18359-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug24200-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug2479-2-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug2479-3-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug28928-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug29326-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug30692-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug33855-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug4382-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug44505-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug4527-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug46368-1-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug46368-2-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug51037-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug55545-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug59354-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug7342-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug92647-2-expected.png:
  • platform/chromium-win/tables/mozilla/bugs/bug96334-expected.png:
  • platform/chromium-win/tables/mozilla/core/margins-expected.png:
  • platform/chromium-win/tables/mozilla/dom/tableDom-expected.png:
  • platform/chromium-win/tables/mozilla/marvin/backgr_index-expected.png:
  • platform/chromium-win/tables/mozilla/marvin/backgr_layers-opacity-expected.png:
  • platform/chromium-win/tables/mozilla/other/move_row-expected.png:
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug1725-expected.png:
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.png:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/backgr_layers-show-expected.png:
  • platform/chromium-win/transforms/2d/hindi-rotated-expected.png:
  • platform/chromium-win/transforms/2d/hindi-rotated-expected.txt:
  • platform/chromium-win/transforms/2d/zoom-menulist-expected.png:
  • platform/chromium/TestExpectations:
  • platform/efl/css2.1/20110323/block-replaced-width-001-expected.txt: Removed.
  • platform/gtk/css2.1/20110323/block-replaced-width-001-expected.txt: Removed.
6:48 PM Changeset in webkit [124141] by commit-queue@webkit.org
  • 11 edits in trunk/Source/JavaScriptCore

Unreviewed, rolling out r124123.
http://trac.webkit.org/changeset/124123
https://bugs.webkit.org/show_bug.cgi?id=92700

ASSERT crashes terminate webkit Layout tests (Requested by
msaboff on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-30

  • heap/Heap.cpp:
  • heap/Heap.h:

(Heap):

  • heap/IncrementalSweeper.cpp:

(JSC::IncrementalSweeper::doSweep):
(JSC::IncrementalSweeper::startSweeping):
(JSC::IncrementalSweeper::IncrementalSweeper):
(JSC):

  • heap/IncrementalSweeper.h:

(IncrementalSweeper):

  • heap/MarkedAllocator.cpp:

(JSC::MarkedAllocator::tryAllocateHelper):
(JSC::MarkedAllocator::addBlock):

  • heap/MarkedAllocator.h:

(JSC::MarkedAllocator::zapFreeList):

  • heap/MarkedBlock.cpp:

(JSC::MarkedBlock::sweepHelper):

  • heap/MarkedSpace.cpp:
  • heap/MarkedSpace.h:

(JSC::MarkedSpace::sweep):
(JSC):

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::~JSGlobalData):

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

webkit-patch: system keyring is not used to read my password
https://bugs.webkit.org/show_bug.cgi?id=92532

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2012-07-30
Reviewed by Dirk Pranke.

In case no username can be fetched from environment, git or keychain,
prompt for username, and try to get password from keyring associated
with that username.

  • Scripts/webkitpy/common/net/credentials.py:

(Credentials.read_credentials):

  • Scripts/webkitpy/common/net/credentials_unittest.py:

(test_keyring_without_git_repo_nor_keychain):
(test_keyring_without_git_repo_nor_keychain.MockKeyring):
(test_keyring_without_git_repo_nor_keychain.MockKeyring.get_password):
(test_keyring_without_git_repo_nor_keychain.FakeCredentials):
(test_keyring_without_git_repo_nor_keychain.FakeCredentials._credentials_from_keychain):
(test_keyring_without_git_repo_nor_keychain.FakeCredentials._credentials_from_environment):
(test_keyring_without_git_repo_nor_keychain.FakeUser):
(test_keyring_without_git_repo_nor_keychain.FakeUser.prompt):
(test_keyring_without_git_repo_nor_keychain.FakeUser.prompt_password):

6:40 PM Changeset in webkit [124139] by dpranke@chromium.org
  • 3 edits in trunk/Tools

nrwt: move the code that identifies the chunk of tests to run into finder
https://bugs.webkit.org/show_bug.cgi?id=92694

Reviewed by Ryosuke Niwa.

Another patch to make manager.py smaller and clearer; this patch moves
the handling of breaking the list of tests into chunks (--run-part,
--run-chunk) from manager.py to finder.py.

There are no functional changes and this is covered by existing tests.

  • Scripts/webkitpy/layout_tests/controllers/finder.py:

(Finder.init):
(Finder._read_test_files):
(Finder):
(Finder.split_into_chunks_if_necessary):

  • Scripts/webkitpy/layout_tests/controllers/manager.py:

(Manager.init):
(Manager._collect_tests):
(Manager._parse_expectations):
(Manager.prepare_lists_and_print_output):

6:34 PM Changeset in webkit [124138] by Lucas Forschler
  • 1 edit
    2 copies in branches/safari-536.26-branch/LayoutTests

Merged r122300. <rdar://problem/11932360>

6:26 PM Changeset in webkit [124137] by Lucas Forschler
  • 3 edits in branches/safari-536.26-branch

Merged r122271. <rdar://problem/11932360>

6:21 PM Changeset in webkit [124136] by Lucas Forschler
  • 3 edits in branches/safari-536.26-branch/Source/WebKit2

Merged r122520. <rdar://problem/11932354>

6:14 PM Changeset in webkit [124135] by eric@webkit.org
  • 15 edits in trunk/Source/WebCore

Grid Demo spends 1.5% of total time allocating Path objects in RenderBoxModelObject::paintBorderSides
https://bugs.webkit.org/show_bug.cgi?id=92252

Reviewed by Simon Fraser.

This change introduces the concept of a "null Path" very similar to a null WTF::String.
Just like String functions as a RefPtr around a StringImpl, Path (for most ports)
functions as an OwnPtr around a PlatformPathPtr.

In various places in the code, we declare a local Path variable, but don't necessarily
use that Path variable in all code paths, or might pass that Path variable along to GraphicsContext
functions, without ever actually adding points to that Path.
On most platforms, this Path default constructor was causing a malloc!
In some of these case, the code-path in question (like paintBorderSides) can be quite hot.
Introducing this null-Path and delaying instantiation of the PlatformPath object
until it's actually needed, saves a malloc for these hot paths.

To test this, I loaded a few popular pages, and added printfs to both the Path constructor
and destructor, logging during construction and destruction when the path was still null at destruction time.

This simple testing showed this to be a small win (avoiding mallocs) on many sites and a huge win for Google Spreadsheets:
apple.com: 147 Paths created, 9 (6%) destroyed null.
google.com: 58 Paths created, 26 (44%) destroyed null (google seems creating 5 paths every second after load? 1 of which is destroyed empty.)
amazon.com: 130 Paths created, 130 (100%) destroyed null.
Loading an empty spreadsheet from drive.google.com: 5237 created, 4861 destroyed null (92%!) :)

  • platform/graphics/Path.h:

(Path):
(WebCore::Path::isNull):
(WebCore::Path::ensurePlatformPath):

  • platform/graphics/cairo/CairoUtilities.cpp:

(WebCore::appendWebCorePathToCairoContext):

  • platform/graphics/cairo/GraphicsContextCairo.cpp:

(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::clipPath):
(WebCore::GraphicsContext::clip):

  • platform/graphics/cairo/PathCairo.cpp:

(WebCore::Path::Path):
(WebCore::Path::~Path):
(WebCore::Path::ensurePlatformPath):
(WebCore):
(WebCore::Path::operator=):
(WebCore::Path::clear):
(WebCore::Path::isEmpty):
(WebCore::Path::currentPoint):
(WebCore::Path::translate):
(WebCore::Path::moveTo):
(WebCore::Path::addLineTo):
(WebCore::Path::addRect):
(WebCore::Path::addQuadCurveTo):
(WebCore::Path::addBezierCurveTo):
(WebCore::Path::addArc):
(WebCore::Path::addArcTo):
(WebCore::Path::addEllipse):
(WebCore::Path::closeSubpath):
(WebCore::Path::boundingRect):
(WebCore::Path::strokeBoundingRect):
(WebCore::Path::contains):
(WebCore::Path::strokeContains):
(WebCore::Path::apply):
(WebCore::Path::transform):

  • platform/graphics/cg/GraphicsContextCG.cpp:

(WebCore::GraphicsContext::drawPath):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::clipPath):
(WebCore::GraphicsContext::clipOut):

  • platform/graphics/cg/PathCG.cpp:

(WebCore::Path::Path):
(WebCore::Path::~Path):
(WebCore):
(WebCore::Path::ensurePlatformPath):
(WebCore::Path::operator=):
(WebCore::Path::contains):
(WebCore::Path::strokeContains):
(WebCore::Path::translate):
(WebCore::Path::boundingRect):
(WebCore::Path::fastBoundingRect):
(WebCore::Path::strokeBoundingRect):
(WebCore::Path::moveTo):
(WebCore::Path::addLineTo):
(WebCore::Path::addQuadCurveTo):
(WebCore::Path::addBezierCurveTo):
(WebCore::Path::addArcTo):
(WebCore::Path::platformAddPathForRoundedRect):
(WebCore::Path::closeSubpath):
(WebCore::Path::addArc):
(WebCore::Path::addRect):
(WebCore::Path::addEllipse):
(WebCore::Path::clear):
(WebCore::Path::isEmpty):
(WebCore::Path::currentPoint):
(WebCore::Path::apply):

  • platform/graphics/gpu/LoopBlinnPathProcessor.cpp:

(WebCore):
(WebCore::LoopBlinnPathProcessor::buildContours):

  • platform/graphics/mac/GraphicsContextMac.mm:

(WebCore::GraphicsContext::drawFocusRing):

  • platform/graphics/openvg/PainterOpenVG.cpp:

(WebCore::PainterOpenVG::drawPath):

  • platform/graphics/skia/GraphicsContextSkia.cpp:

(WebCore::GraphicsContext::clip):
(WebCore::GraphicsContext::canvasClip):
(WebCore::GraphicsContext::clipOut):
(WebCore::GraphicsContext::clipPath):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):

  • platform/graphics/skia/PathSkia.cpp:

(WebCore::Path::Path):
(WebCore::Path::~Path):
(WebCore):
(WebCore::Path::ensurePlatformPath):
(WebCore::Path::operator=):
(WebCore::Path::isEmpty):
(WebCore::Path::hasCurrentPoint):
(WebCore::Path::currentPoint):
(WebCore::Path::contains):
(WebCore::Path::translate):
(WebCore::Path::boundingRect):
(WebCore::Path::moveTo):
(WebCore::Path::addLineTo):
(WebCore::Path::addQuadCurveTo):
(WebCore::Path::addBezierCurveTo):
(WebCore::Path::addArcTo):
(WebCore::Path::closeSubpath):
(WebCore::Path::addArc):
(WebCore::Path::addRect):
(WebCore::Path::addEllipse):
(WebCore::Path::clear):
(WebCore::Path::apply):
(WebCore::Path::transform):
(WebCore::Path::strokeBoundingRect):
(WebCore::Path::strokeContains):

  • platform/graphics/wince/GraphicsContextWinCE.cpp:

(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):

  • platform/graphics/wx/GraphicsContextWx.cpp:

(WebCore::GraphicsContext::clipPath):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):

  • platform/graphics/wx/PathWx.cpp:

(WebCore::Path::Path):
(WebCore::Path::~Path):
(WebCore::Path::boundingRect):
(WebCore::Path::operator=):
(WebCore::Path::ensurePlatformPath):
(WebCore):
(WebCore::Path::clear):
(WebCore::Path::moveTo):
(WebCore::Path::addLineTo):
(WebCore::Path::addQuadCurveTo):
(WebCore::Path::addBezierCurveTo):
(WebCore::Path::addArcTo):
(WebCore::Path::closeSubpath):
(WebCore::Path::addArc):
(WebCore::Path::addRect):
(WebCore::Path::addEllipse):
(WebCore::Path::transform):
(WebCore::Path::currentPoint):

6:13 PM Changeset in webkit [124134] by Patrick Gansterer
  • 2 edits in trunk/Source/WTF

Add WTF_EXPORT_PRIVATE to deleteOwnedPtr()
https://bugs.webkit.org/show_bug.cgi?id=92668

Reviewed by Hajime Morita.

When using export macros all non-inlined deleteOwnedPtr()
functions need to be declared with WTF_EXPORT_PRIVATE.

  • wtf/OwnPtrCommon.h:

(WTF):

6:07 PM Changeset in webkit [124133] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r122228. <rdar://problem/11932475>

6:02 PM Changeset in webkit [124132] by Lucas Forschler
  • 6 edits in branches/safari-536.26-branch

Merged r122152. <rdar://problem/11932481>

6:02 PM Changeset in webkit [124131] by dpranke@chromium.org
  • 3 edits
    1 add in trunk/Tools

nrwt: split test-finding code out from manager.py
https://bugs.webkit.org/show_bug.cgi?id=92693

Reviewed by Ryosuke Niwa.

In the interest of making manager.py smaller, this patch moves
the code that actually takes the command line arguments and
--test-file lists of tests to run and expands them into an
actual list of tests out into a separate module.

  • Scripts/webkitpy/layout_tests/controllers/finder.py: Added.

(LayoutTestFinder):
(LayoutTestFinder.init):
(LayoutTestFinder.find_tests):
(LayoutTestFinder._strip_test_dir_prefixes):
(LayoutTestFinder._strip_test_dir_prefix):
(LayoutTestFinder._read_test_names_from_file):

  • Scripts/webkitpy/layout_tests/controllers/manager.py:

(Manager._collect_tests):
(Manager._handle_finished_test):

  • Scripts/webkitpy/layout_tests/models/test_expectations.py:

(strip_comments):

5:58 PM Changeset in webkit [124130] by Lucas Forschler
  • 7 edits
    2 copies in branches/safari-536.26-branch

Merged r122082. <rdar://problem/11942018>

5:53 PM Changeset in webkit [124129] by Lucas Forschler
  • 4 edits
    2 copies in branches/safari-536.26-branch

Merged r121912. <rdar://problem/11932362>

5:49 PM Changeset in webkit [124128] by abarth@webkit.org
  • 2 edits in trunk/Tools

commit-queue is corrupting ChangeLogs
https://bugs.webkit.org/show_bug.cgi?id=92681

Reviewed by Tony Chang.

Some commits made with the commit-queue are ending up with duplicate
ChangeLog entries. I've hot-patched the servers to not use a special
merge driver for ChangeLogs, which should fix this issue. This patch
removes the merge driver from our cold-boot.sh script so that we won't
use it on new commit-queue instances.

  • EWSTools/cold-boot.sh:
5:48 PM Changeset in webkit [124127] by Lucas Forschler
  • 4 edits in branches/safari-536.26-branch/Source

Merged r121646. <rdar://problem/11932486> & <rdar://problem/11932354>

5:46 PM Changeset in webkit [124126] by msaboff@apple.com
  • 2 edits in trunk/LayoutTests

inspector/profiler/heap-snapshot-containment-show-all.html test crashing during WebView closing
<rdar://problem/11991881>

  • platform/mac-lion/Skipped:
5:42 PM Changeset in webkit [124125] by Lucas Forschler
  • 3 edits
    3 copies in branches/safari-536.26-branch

Merged r121645. <rdar://problem/11932384>

5:35 PM Changeset in webkit [124124] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r121643. <rdar://problem/11942168>

5:33 PM Changeset in webkit [124123] by mhahnenberg@apple.com
  • 11 edits in trunk/Source/JavaScriptCore

Structures should be swept after all other objects
https://bugs.webkit.org/show_bug.cgi?id=92679

Reviewed by Filip Pizlo.

In order to get rid of ClassInfo from our objects, we need to be able to safely get the
ClassInfo during the destruction of objects. We'd like to get the ClassInfo out of the
Structure, but currently it is not safe to do so because the order of destruction of objects
is not guaranteed to sweep objects before their corresponding Structure. We can fix this by
sweeping Structures after everything else.

  • heap/Heap.cpp:

(JSC::Heap::isSafeToSweepStructures): Add a function that checks if it is safe to sweep Structures.
If the Heap's IncrementalSweeper member is null, that means we're shutting down this VM and it is
safe to sweep structures since we'll always do Structures last anyways due to the ordering of
MarkedSpace::forEachBlock.
(JSC):
(JSC::Heap::didStartVMShutdown): Add this intermediate function to the Heap that ~JSGlobalData now
calls rather than calling the two HeapTimer objects individually. This allows the Heap to null out
these pointers after it has invalidated them to prevent accidental use-after-free in the sweep()
calls during lastChanceToFinalize().

  • heap/Heap.h:

(Heap):

  • heap/HeapTimer.h:

(HeapTimer):

  • heap/IncrementalSweeper.cpp:

(JSC::IncrementalSweeper::structuresCanBeSwept): Determines if it is currently safe to sweep Structures.
This decision is based on whether we have gotten to the end of the vector of blocks that need sweeping
the first time.
(JSC):
(JSC::IncrementalSweeper::doSweep): We add a second pass over the vector to sweep Structures after we
make our first pass. We now null out the slots as we sweep them so that we can quickly find the
Structures during the second pass.
(JSC::IncrementalSweeper::startSweeping): Initialize our new Structure sweeping index.
(JSC::IncrementalSweeper::willFinishSweeping): Callback that is called by MarkedSpace::sweep to notify
the IncrementalSweeper that we are going to sweep all of the remaining blocks in the Heap so it can
assume that everything is taken care of in the correct order. Since MarkedSpace::forEachBlock
iterates over the Structure blocks after all other blocks, the ordering property for sweeping Structures holds.
(JSC::IncrementalSweeper::IncrementalSweeper): Initialize Structure sweeping index.

  • heap/IncrementalSweeper.h: Add declarations for new stuff.

(IncrementalSweeper):

  • heap/MarkedAllocator.cpp:

(JSC::MarkedAllocator::tryAllocateHelper): We now check if the current block only contains structures and
if so and it isn't safe to sweep Structures according to the Heap, we just return early instead of doing
the normal lazy sweep. If this proves to be too much of a waste in the future we can add an extra clause that
will sweep some number of other blocks in place of the current block to mitigate the cost of the floating
Structure garbage.
(JSC::MarkedAllocator::addBlock):

  • heap/MarkedAllocator.h:

(JSC::MarkedAllocator::zapFreeList): When we zap the free list in the MarkedAllocator, the current block is no
longer valid to allocate from, so we set the current block to null.

  • heap/MarkedBlock.cpp:

(JSC::MarkedBlock::sweepHelper): Added a couple assertions to make sure that we weren't trying to sweep Structures
at an unsafe time.

  • heap/MarkedSpace.cpp:

(JSC::MarkedSpace::sweep): Notify the IncrementalSweeper that the MarkedSpace will finish all currently remaining sweeping.
(JSC):

  • heap/MarkedSpace.h:

(JSC):

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::~JSGlobalData): Call the new Heap::didStartVMShutdown.

5:28 PM Changeset in webkit [124122] by Lucas Forschler
  • 4 edits in branches/safari-536.26-branch/Source/WebKit2

Merged r121482. <rdar://problem/11932427>

5:24 PM Changeset in webkit [124121] by weinig@apple.com
  • 5 edits in trunk

Add ability to load from a string to the ObjC WK API
https://bugs.webkit.org/show_bug.cgi?id=92590

Reviewed by Dan Bernstein.

Source/WebKit2:

This adds an often used method to the new Objective-C API and will
be helpful for writing API tests.

  • UIProcess/API/mac/WKBrowsingContextController.h:
  • UIProcess/API/mac/WKBrowsingContextController.mm:

(-[WKBrowsingContextController loadHTMLString:baseURL:]):
Implement via calling down to WKPageLoadHTMLString.

Tools:

Add tests for [WKBrowsingContextController loadHTMLString:baseURL:]. We will be able
to greatly improve these tests (to test more than just not crashing) when methods to
access page content are added (soon!).

Adds:

Test: WKBrowsingContextLoadDelegateTest_SimpleLoadOfHTMLString
Test: WKBrowsingContextLoadDelegateTest_SimpleLoadOfHTMLString_NilBaseURL
Test: WKBrowsingContextLoadDelegateTest_SimpleLoadOfHTMLString_NilHTMLStringAndBaseURL

  • TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextLoadDelegateTest.mm:

Adds tests and refactors delegates to not use global state.

5:20 PM Changeset in webkit [124120] by abarth@webkit.org
  • 1 delete in branches/1018

This branch was created in error. kareng confirms it is safe to remove.

5:14 PM Changeset in webkit [124119] by Lucas Forschler
  • 3 edits
    3 copies in branches/safari-536.26-branch

Merged r121391. <rdar://problem/11932432>

5:11 PM Changeset in webkit [124118] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

[CMake] TestWebKitAPI bundle should link with WTF
https://bugs.webkit.org/show_bug.cgi?id=92616

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-30
Reviewed by Antonio Gomes.

Fixes build when shared core is disabled.

  • TestWebKitAPI/CMakeLists.txt:
5:11 PM Changeset in webkit [124117] by Lucas Forschler
  • 7 edits
    2 copies in branches/safari-536.26-branch

Merge 121299. <rdar://problem/11932473>

5:01 PM Changeset in webkit [124116] by dpranke@chromium.org
  • 9 edits in trunk/Tools

nrwt: clean up handling of 'expected' stats
https://bugs.webkit.org/show_bug.cgi?id=92527

Reviewed by Tony Chang.

This patch alters the way we compute and log the "expected"
results and how we treat skipped tests; we will now log the
number of skipped tests separately from the categories, e.g.:

Found 31607 tests; running 24464.
Expect: 23496 passes (23496 now, 0 wontfix)
Expect: 548 failures ( 543 now, 5 wontfix)
Expect: 420 flaky ( 245 now, 175 wontfix)

(so that the "expect" totals add up to the "running" totals);
in addition, the totals in the one-line-progress reflect the
number of tests we will actually run. If --iterations or
--repeat-each are specified, the number of tests we run are
multiplied as appropriate, but the "expect" numbers are
unchanged, since we don't count multiple invocations of the same
test multiple times. In addition, if we are using --run-part or
--run-chunk, the tests we don't run are treated as skipped
for consistency. We will also log the values for --iterations
and --repeat each as part of the found/running line.

Previously the code had parsed and re-parsed the
TestExpectations files several times in an attempt to come up
with some sane statistics, but this was expensive and lead to
confusing layer; treating files as skipped in the way described
above is more consistent and cleaner.

  • Scripts/webkitpy/layout_tests/controllers/manager.py:

(Manager._split_into_chunks_if_necessary):
(Manager.prepare_lists_and_print_output):
(Manager.run):

  • Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:

(ManagerTest.test_interrupt_if_at_failure_limits):
(ManagerTest.test_update_summary_with_result):
(ManagerTest.test_look_for_new_crash_logs):
(ResultSummaryTest.get_result_summary):

  • Scripts/webkitpy/layout_tests/models/result_summary.py:

(ResultSummary.init):

  • Scripts/webkitpy/layout_tests/models/test_expectations.py:

(TestExpectationParser.expectation_for_skipped_test):
(TestExpectations.init):
(TestExpectations.add_skipped_tests):

Here we make add_skipped_tests() public, so that we can update
the expectations for tests that we are skipping due to
--run-part or --run-chunk; we use the wontfix flag so that
the tests that are intentionally skipped aren't considered
"fixable".

  • Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:

(SkippedTests.check):

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(parse_args):

  • Scripts/webkitpy/layout_tests/views/printing.py:

(Printer.print_found):
(Printer):
(Printer.print_expected):
(Printer._print_result_summary):
(Printer._print_result_summary_entry):

Here we split out printing the number of tests found and run
from the expected results, to be clearer and so that we don't
have to reparse the expectations to update the stats.

  • Scripts/webkitpy/layout_tests/views/printing_unittest.py:

(Testprinter.get_result_summary):

4:53 PM Changeset in webkit [124115] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WTF

atomicDecrement() never reach 0 on Android so no deref() will be called
https://bugs.webkit.org/show_bug.cgi?id=92635

Patch by Wei James <james.wei@intel.com> on 2012-07-30
Reviewed by Adam Barth.

With Android NDK 7b and later, atomic_dec() is implemented by
sync_fetch_and_sub(), which will result in that atomicDecrement()
returns the old value instead of new one.

  • wtf/Atomics.h:

(WTF):
(WTF::atomicIncrement):
(WTF::atomicDecrement):

4:34 PM Changeset in webkit [124114] by rafael.lobo@openbossa.org
  • 2 edits in trunk/Source/WebKit2

[WK2] Kill the concept of secondary shared process
https://bugs.webkit.org/show_bug.cgi?id=92676

Reviewed by Alexey Proskuryakov.

Build fix after r124092.

  • UIProcess/qt/QtWebContext.cpp: Build fix for Qt. In exchange of the

method removed, I've used WebContext::create(String()).

4:19 PM Changeset in webkit [124113] by Lucas Forschler
  • 2 edits in branches/safari-536.26-branch/Source/WebCore

Merged r120954. <rdar://problem/11932588>

4:16 PM Changeset in webkit [124112] by Lucas Forschler
  • 3 edits
    1 copy in branches/safari-536.26-branch

Merged r120662. <rdar://problem/11942166>

4:13 PM Changeset in webkit [124111] by commit-queue@webkit.org
  • 4 edits
    1 add in trunk

Avoid Assertion Failure in HarfBuzzRun::characterIndexForXPosition
https://bugs.webkit.org/show_bug.cgi?id=92376

Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-07-30
Reviewed by Tony Chang.

.:

Added manual test to reliably reproduce assertion failure which is solved by this patch.

  • ManualTests/harfbuzz-mouse-selection-crash.html: Added.

Source/WebCore:

Previously, the if condition in offsetForPosition gating the call to
characterIndexForXPosition was comparing a different value than what was actually used
as the argument to calling it. In some cases, this can lead to a minuscule difference
when comparing the two floats - enough to trigger the assertion. To resolve this,
the accuracy of the index calculation is improved by changing the types from int
to floats and rephrasing the if condition to be exactly the same as what is checked
for in the assertion.

Manual test ManualTests/harfbuzz-mouse-selection-crash.html added
which reliably reproduces the assertion failure before this change.

  • platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:

(WebCore::HarfBuzzShaper::HarfBuzzRun::characterIndexForXPosition): Types changed to float.
(WebCore::HarfBuzzShaper::offsetForPosition): Types changed to float, if condition rephrased.

  • platform/graphics/harfbuzz/ng/HarfBuzzShaper.h:

(HarfBuzzRun):

4:12 PM Changeset in webkit [124110] by Lucas Forschler
  • 3 edits
    4 copies in branches/safari-536.26-branch

Merged r119409. <rdar://problem/11942162>

4:09 PM Changeset in webkit [124109] by Lucas Forschler
  • 4 edits
    2 copies in branches/safari-536.26-branch

Merged r119227. <rdar://problem/11942165>

4:06 PM Changeset in webkit [124108] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r119184. <rdar://problem/11942161>

3:45 PM Changeset in webkit [124107] by Lucas Forschler
  • 2 edits in branches/safari-536.26-branch/Source/WebCore

Merged r118542. <rdar://problem/11942034>

3:42 PM Changeset in webkit [124106] by Lucas Forschler
  • 6 edits
    2 adds in branches/safari-536.26-branch

Merged r118478. <rdar://problem/11942156>

3:37 PM Changeset in webkit [124105] by jamesr@google.com
  • 8 edits in trunk/Source

[chromium] Remove WebTransformationMatrix::mapPoint overrides
https://bugs.webkit.org/show_bug.cgi?id=90329

Reviewed by Adrienne Walker.

Source/Platform:

Remove clipping-unaware mapPoint functions from the WebTransformationMatrix interface.

  • chromium/public/WebTransformationMatrix.h:

(WebTransformationMatrix):

Source/WebCore:

Add more functionality for mapping points to CCMathUtil and use it in CCLayerSorter / drawTileQuad. These
mappings should never clip.

  • platform/chromium/support/WebTransformationMatrix.cpp:
  • platform/graphics/chromium/LayerRendererChromium.cpp:

(WebCore::LayerRendererChromium::drawTileQuad):

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

(WebCore::CCLayerSorter::LayerShape::LayerShape):

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

(WebCore::mapHomogeneousPoint):
(WebCore::CCMathUtil::mapPoint):
(WebCore):

  • platform/graphics/chromium/cc/CCMathUtil.h:

(WebCore::HomogeneousCoordinate::cartesianPoint3d):
(HomogeneousCoordinate):
(CCMathUtil):

3:33 PM Changeset in webkit [124104] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r118471. <rdar://problem/11942141>

3:29 PM Changeset in webkit [124103] by Lucas Forschler
  • 5 edits
    2 copies in branches/safari-536.26-branch

Merged r118420. <rdar://problem/11961148>

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

Crash in logging code if MIME type is null
https://bugs.webkit.org/show_bug.cgi?id=92683
<rdar://problem/11985295>

Reviewed by Dan Bernstein.

If the MIME type is null, try to figure it out from the URL extension. If this fails, return early instead of crashing
trying to insert the null string into a hash set.

  • loader/SubframeLoader.cpp:

(WebCore::logPluginRequest):

3:26 PM Changeset in webkit [124101] by Lucas Forschler
  • 3 edits
    4 copies in branches/safari-536.26-branch

Merged r118316. <rdar://problem/11942151>

3:21 PM Changeset in webkit [124100] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r118248. <rdar://problem/11942129>

3:18 PM Changeset in webkit [124099] by alexis.menard@openbossa.org
  • 5 edits in trunk/Source/WebCore

Build fix with newer bison 2.6.
https://bugs.webkit.org/show_bug.cgi?id=92264

Reviewed by Adam Barth.

As stated in http://www.gnu.org/software/bison/manual/html_node/Table-of-Symbols.html
YYLEX_PARAM and YYPARSE_PARAM are depecreated since version 1.875. So far all Mac OS
version I had access to as well as recent Linux runs at least version 2.3 so it's safe
to use the replacement of these deprecated macros in favor of %lex-param and %parse-param.
As announced http://lists.gnu.org/archive/html/info-gnu/2012-07/msg00011.html with the release
of version 2.6 YYLEX_PARAM and YYPARSE_PARAM are not supported anymore.

No new tests : build fix and the patch should not trigger any regressions

  • css/CSSGrammar.y:
  • css/CSSParser.cpp:
  • xml/XPathGrammar.y: Refactored a bit to not use an intermediate PARSER define.
  • xml/XPathParser.cpp: bison 2.6 declare xpathyyparse in the .h file now, i.e. XPathGrammar.h

therefore including this file within the namespace {} declarations leads to xpathyyparse being
defined part of WebCore::XPath namespaces but the actual implementation of xpathyyparse is in XPathGrammar.cpp
(generated) and not implemented within the WebCore::XPath so it lead to linking issues. Last, XPathGrammar.h needs
to be included after the other includes as it uses some XPath types. It breaks the style but CSSParser.cpp is doing the same.

3:13 PM Changeset in webkit [124098] by commit-queue@webkit.org
  • 20 edits
    4 adds in trunk

Propagate gesture events to plugins.
https://bugs.webkit.org/show_bug.cgi?id=92281

Patch by Sadrul Habib Chowdhury <sadrul@chromium.org> on 2012-07-30
Reviewed by Adam Barth.

Source/WebCore:

Propagate gesture events to plugins. This change does not expose the gesture events
to JavaScript, since there is no spec for that at the moment. Exposing gesture events
to JavaScript will be done separately, once there is a spec for it.

Test: platform/chromium/plugins/gesture-events.html

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

(WebCore):
(WebCore::EventNames::isGestureEventType):
(EventNames):

  • dom/GestureEvent.cpp: Added.

(WebCore):
(WebCore::GestureEvent::create):
(WebCore::GestureEvent::initGestureEvent):
(WebCore::GestureEvent::interfaceName):
(WebCore::GestureEvent::GestureEvent):
(WebCore::GestureEventDispatchMediator::GestureEventDispatchMediator):
(WebCore::GestureEventDispatchMediator::event):
(WebCore::GestureEventDispatchMediator::dispatchEvent):

  • dom/GestureEvent.h: Added.

(WebCore):
(GestureEvent):
(WebCore::GestureEvent::~GestureEvent):
(WebCore::GestureEvent::deltaX):
(WebCore::GestureEvent::deltaY):
(WebCore::GestureEvent::GestureEvent):
(GestureEventDispatchMediator):
(WebCore::GestureEventDispatchMediator::create):

  • dom/Node.cpp:

(WebCore):
(WebCore::Node::dispatchGestureEvent):

  • dom/Node.h:

(WebCore):
(Node):

  • page/EventHandler.cpp:

(WebCore::EventHandler::clear):
(WebCore::EventHandler::handleGestureEvent):

  • page/EventHandler.h:

Source/WebKit/chromium:

Propagate gesture events to plugins.

  • src/WebInputEventConversion.cpp:

(WebKit):
(WebKit::WebGestureEventBuilder::WebGestureEventBuilder):

  • src/WebInputEventConversion.h:

(WebCore):
(WebKit):
(WebGestureEventBuilder):

  • src/WebPluginContainerImpl.cpp:

(WebKit::WebPluginContainerImpl::handleEvent):

  • src/WebPluginContainerImpl.h:

(WebCore):
(WebPluginContainerImpl):

Tools:

Update TestWebPlugin to receive events, and output logs for the events.

  • DumpRenderTree/chromium/TestWebPlugin.cpp:

(TestWebPlugin::handleInputEvent):

  • DumpRenderTree/chromium/TestWebPlugin.h:

(TestWebPlugin::acceptsInputEvents):
(TestWebPlugin):

LayoutTests:

Added a layout test to show that the plugins receive the gesture events correctly.

  • platform/chromium/plugins/gesture-events-expected.txt: Added.
  • platform/chromium/plugins/gesture-events.html: Added.
3:04 PM Changeset in webkit [124097] by commit-queue@webkit.org
  • 15 edits in trunk/Source

Plumb vsync-enabled flag up to compositor thread and support disable-vsync
https://bugs.webkit.org/show_bug.cgi?id=92323

Patch by John Bates <jbates@google.com> on 2012-07-30
Reviewed by James Robinson.

Source/Platform:

  • chromium/public/WebLayerTreeView.h:

(WebKit::WebLayerTreeView::Settings::Settings):
(Settings):

Source/WebCore:

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

(WebCore::CCFrameRateController::CCFrameRateController):
(WebCore::CCFrameRateController::disableTimeSourceThrottling):
(WebCore):
(WebCore::CCFrameRateController::setActive):
(WebCore::CCFrameRateController::postManualTick):
(WebCore::CCFrameRateController::onTimerFired):
(WebCore::CCFrameRateController::didBeginFrame):
(WebCore::CCFrameRateController::didFinishFrame):

  • platform/graphics/chromium/cc/CCFrameRateController.h:

(WebCore):
(CCFrameRateController):

  • platform/graphics/chromium/cc/CCLayerTreeHost.h:

(WebCore::CCLayerTreeSettings::CCLayerTreeSettings):
(CCLayerTreeSettings):

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

(WebCore::CCThreadProxy::CCThreadProxy):
(WebCore::CCThreadProxy::initializeImplOnImplThread):

  • platform/graphics/chromium/cc/CCThreadProxy.h:

(CCThreadProxy):

Source/WebKit/chromium:

  • public/WebSettings.h:
  • tests/CCFrameRateControllerTest.cpp:
  • src/WebLayerTreeView.cpp:

(WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):

  • src/WebSettingsImpl.cpp:

(WebKit::WebSettingsImpl::WebSettingsImpl):
(WebKit::WebSettingsImpl::setRenderVSyncEnabled):
(WebKit):

  • src/WebSettingsImpl.h:

(WebSettingsImpl):
(WebKit::WebSettingsImpl::renderVSyncEnabled):

  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):

3:02 PM Changeset in webkit [124096] by Lucas Forschler
  • 4 edits
    2 copies in branches/safari-536.26-branch

Merged r118213. <rdar://problem/11942131>

2:53 PM Changeset in webkit [124095] by Patrick Gansterer
  • 2 edits in trunk/Source/WTF

Add function to calculate the day in year from a date
https://bugs.webkit.org/show_bug.cgi?id=92671

Reviewed by Ryosuke Niwa.

Replace monthToDayInYear() with dayInYear() which takes a whole
date for calculation and will be used for bug 92286 later.

  • wtf/DateMath.cpp:

(WTF::dayInYear):
(WTF::dateToDaysFrom1970):

2:35 PM Changeset in webkit [124094] by rakuco@webkit.org
  • 3 edits in trunk/Tools

[jhbuild] gnutls 2.12.14 does not build with glibc 2.16.0
https://bugs.webkit.org/show_bug.cgi?id=90643

Reviewed by Gustavo Noronha Silva.

The 2.x series of gnutls has a version of Gnulib that is
incompatible with glibc 2.16.0, which now does not define gets()
by default.

After talking to kov, mrobinson and philn, it looks like it makes
sense to simply remove gnutls from jhbuild.modules and rely on the
version installed on the system being recent enough.

This means at least version 2.12.8 for PKCS11 support, or at the
very least 2.11.0 (these are the minimum versions enforced by
glib-networking's configure.ac).

  • efl/jhbuild.modules: Do not build gnutls anymore, make

glib-networking depend on glib instead, and move the libgcrypt
dependency to eet, which is what currently needs it.

  • gtk/jhbuild.modules: Do not build gnutls anymore.
2:33 PM Changeset in webkit [124093] by jamesr@google.com
  • 6 edits in trunk/Source/WebCore

[chromium] Add miscellaneous missing includes and OVERRIDE declarations in compositor code
https://bugs.webkit.org/show_bug.cgi?id=92680

Reviewed by Adrienne Walker.

  • platform/graphics/chromium/TextureCopier.h:

(AcceleratedTextureCopier):

  • platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:

(CCLayerTreeHostImpl):

  • platform/graphics/chromium/cc/CCPrioritizedTextureManager.h:
  • platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:
  • platform/graphics/chromium/cc/CCResourceProvider.h:

(WebCore):

2:31 PM Changeset in webkit [124092] by ap@apple.com
  • 7 edits in trunk/Source/WebKit2

[WK2] Kill the concept of secondary shared process
https://bugs.webkit.org/show_bug.cgi?id=92676

Reviewed by Sam Weinig.

  • UIProcess/API/C/WKContext.cpp:
  • UIProcess/API/C/WKContext.h:
  • UIProcess/WebContext.cpp:
  • UIProcess/WebContext.h: Deleted shared process related code. We don't need to build the singleton into the cross-platform C API, platform-specific API wrappers are perfectly capable of doing that.
  • UIProcess/API/efl/ewk_context.cpp: (createDefaultEwkContext):
  • UIProcess/API/gtk/WebKitWebContext.cpp: (createDefaultWebContext): Use WKContextCreate() when creating default context.
2:19 PM WebKitGTK/WebKit2Roadmap edited by mario@webkit.org
(diff)
2:11 PM Changeset in webkit [124091] by enne@google.com
  • 19 edits
    1 copy
    7 adds in trunk

[chromium] Remove dependency on ScrollbarTheme from the compositor
https://bugs.webkit.org/show_bug.cgi?id=90528

Reviewed by James Robinson.

Source/Platform:

Flesh out WebScrollbar functions enough to be able to implement
the parts of ScrollbarThemeClient that Chromium uses.

Wrap ScrollbarThemeComposite in the Platform API via two different
classes: WebScrollbarThemePainter is the non-threadsafe version that
is used to paint parts of a scrollbar into a context. This is intended
to only be used on the main thread. WebScrollbarThemeGeometry is the
threadsafe version, used to get the location and sizes of scrollbar
parts on both threads, so they can be painted on the main thread and
composited on the compositor thread.

Unfortunately, there is no way to enforce these thread safety issues,
as other ports use the ScrollbarTheme hierarchy differently than
Chromium does. On the bright side, other than painting, the
ScrollbarTheme code is largely functional and we can enforce this
internally for the Chromium port.

  • Platform.gypi:
  • chromium/public/WebScrollbar.h:

(WebCore):
(WebKit):
(WebScrollbar):

  • chromium/public/WebScrollbarThemeGeometry.h: Added.

(WebCore):
(WebKit):
(WebScrollbarThemeGeometry):
(WebKit::WebScrollbarThemeGeometry::WebScrollbarThemeGeometry):
(WebKit::WebScrollbarThemeGeometry::~WebScrollbarThemeGeometry):
(WebKit::WebScrollbarThemeGeometry::operator=):
(WebKit::WebScrollbarThemeGeometry::isNull):

  • chromium/public/WebScrollbarThemePainter.h: Added.

(WebCore):
(WebKit):
(WebScrollbarThemePainter):
(WebKit::WebScrollbarThemePainter::WebScrollbarThemePainter):
(WebKit::WebScrollbarThemePainter::~WebScrollbarThemePainter):
(WebKit::WebScrollbarThemePainter::operator=):
(WebKit::WebScrollbarThemePainter::isNull):

Source/WebCore:

Tested by existing layout tests.

ScrollbarLayerChromium is modified to use the Platform API for
WebScrollbar, WebScrollbarThemePainter, and WebScrollbarThemeGeometry.
This prevents API dependencies from the compositor code into WebCore
scrollbar and theme code.

CCScrollbarLayerImpl::CCScrollbar now implements the WebScrollbar API
instead of the ScrollbarThemeClient API.

Also, CCScrollbarLayerImpl now no longer gets the theme from a static
accessor. It now gets a "copy" of the theme from the main thread via
WebScrollbarThemeGeometry, which is more correct for render theme
scrollbars which were previously using the native theme to get part
geometry. Using the correct theme unfortunately causes crashes due to
bad casts in RenderScrollbarTheme, so this patch turns back off the
use of ScrollbarLayerChromium for themed scrollbars until that can be
resolved.

  • page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:

(WebCore::createScrollbarLayer):

  • platform/ScrollbarThemeClient.h:

(ScrollbarThemeClient):

  • platform/graphics/chromium/ScrollbarLayerChromium.cpp:

(WebCore::ScrollbarLayerChromium::create):
(WebCore::ScrollbarLayerChromium::ScrollbarLayerChromium):
(WebCore::ScrollbarLayerChromium::pushPropertiesTo):
(WebCore::ScrollbarBackgroundPainter::create):
(WebCore::ScrollbarBackgroundPainter::ScrollbarBackgroundPainter):
(ScrollbarBackgroundPainter):
(WebCore::ScrollbarThumbPainter::create):
(WebCore::ScrollbarThumbPainter::ScrollbarThumbPainter):
(ScrollbarThumbPainter):
(WebCore::ScrollbarLayerChromium::createTextureUpdaterIfNeeded):
(WebCore::ScrollbarLayerChromium::setTexturePriorities):
(WebCore::ScrollbarLayerChromium::update):

  • platform/graphics/chromium/ScrollbarLayerChromium.h:

(ScrollbarLayerChromium):

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

(WebCore::CCScrollbarLayerImpl::CCScrollbarLayerImpl):
(WebCore::CCScrollbarLayerImpl::setScrollbarData):
(WebCore::toUVRect):
(WebCore::CCScrollbarLayerImpl::appendQuads):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::isOverlay):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::value):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::location):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::size):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::enabled):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::maximum):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::totalSize):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::isScrollViewScrollbar):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::isScrollableAreaActive):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::getTickmarks):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::controlSize):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::pressedPart):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::hoveredPart):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::scrollbarOverlayStyle):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::orientation):
(WebCore::CCScrollbarLayerImpl::CCScrollbar::isCustomScrollbar):

  • platform/graphics/chromium/cc/CCScrollbarLayerImpl.h:

(CCScrollbarLayerImpl):
(CCScrollbar):

Source/WebKit/chromium:

Add implementations for WebScrollbarThemeGeometry and
WebScrollbarThemePainter. Fill out additional API calls for
WebPluginScrollbarImpl since it derives from WebScrollbar.

Add WebScrollbarImpl to the client API to wrap and own an existing
WebCore Scrollbar object and provide the WebScrollbar interface.

By keeping WebScrollbar separate from WebScrollbarThemeGeometry, the
compositor thread can create its own thread-safe data bag version of a
WebScrollbar (CCScrollbarLayerImpl::CCScrollbar), but this requires
WebScrollbarThemeClientImpl.

WebScrollbarThemeClientImpl does the reverse of WebScrollbarImpl; it
wraps a WebScrollbar and provides the ScrollbarThemeClient interface.
This is so that a WebScrollbar can be passed to the geometry and
painter functions. Then, internally the WebScrollbarThemeClientImpl
can be used to adapt the WebScrollbar to the ScrollbarThemeClient
interface so the geometry and painter functions can call direct
functions on ScrollbarThemeComposite.

  • WebKit.gyp:
  • src/AssertMatchingEnums.cpp:
  • src/ExternalPopupMenu.h:

(WebKit):

  • src/WebPluginScrollbarImpl.cpp:

(WebKit::WebPluginScrollbarImpl::WebPluginScrollbarImpl):
(WebKit::WebPluginScrollbarImpl::location):
(WebKit):
(WebKit::WebPluginScrollbarImpl::size):
(WebKit::WebPluginScrollbarImpl::enabled):
(WebKit::WebPluginScrollbarImpl::maximum):
(WebKit::WebPluginScrollbarImpl::totalSize):
(WebKit::WebPluginScrollbarImpl::isScrollViewScrollbar):
(WebKit::WebPluginScrollbarImpl::isScrollableAreaActive):
(WebKit::WebPluginScrollbarImpl::getTickmarks):
(WebKit::WebPluginScrollbarImpl::controlSize):
(WebKit::WebPluginScrollbarImpl::pressedPart):
(WebKit::WebPluginScrollbarImpl::hoveredPart):
(WebKit::WebPluginScrollbarImpl::scrollbarOverlayStyle):
(WebKit::WebPluginScrollbarImpl::orientation):
(WebKit::WebPluginScrollbarImpl::isCustomScrollbar):
(WebKit::WebPluginScrollbarImpl::onMouseUp):
(WebKit::WebPluginScrollbarImpl::onMouseMove):
(WebKit::WebPluginScrollbarImpl::onMouseLeave):

  • src/WebPluginScrollbarImpl.h:

(WebPluginScrollbarImpl):

  • src/WebScrollbarImpl.cpp: Added.

(WebKit):
(WebKit::WebScrollbar::create):
(WebKit::WebScrollbarImpl::WebScrollbarImpl):
(WebKit::WebScrollbarImpl::isOverlay):
(WebKit::WebScrollbarImpl::value):
(WebKit::WebScrollbarImpl::location):
(WebKit::WebScrollbarImpl::size):
(WebKit::WebScrollbarImpl::enabled):
(WebKit::WebScrollbarImpl::maximum):
(WebKit::WebScrollbarImpl::totalSize):
(WebKit::WebScrollbarImpl::isScrollViewScrollbar):
(WebKit::WebScrollbarImpl::isScrollableAreaActive):
(WebKit::WebScrollbarImpl::getTickmarks):
(WebKit::WebScrollbarImpl::controlSize):
(WebKit::WebScrollbarImpl::pressedPart):
(WebKit::WebScrollbarImpl::hoveredPart):
(WebKit::WebScrollbarImpl::scrollbarOverlayStyle):
(WebKit::WebScrollbarImpl::orientation):
(WebKit::WebScrollbarImpl::isCustomScrollbar):

  • src/WebScrollbarImpl.h: Copied from Source/Platform/chromium/public/WebScrollbar.h.

(WebCore):
(WebKit):
(WebScrollbarImpl):

  • src/WebScrollbarThemeClientImpl.cpp: Added.

(WebKit):
(WebKit::WebScrollbarThemeClientImpl::WebScrollbarThemeClientImpl):
(WebKit::WebScrollbarThemeClientImpl::x):
(WebKit::WebScrollbarThemeClientImpl::y):
(WebKit::WebScrollbarThemeClientImpl::width):
(WebKit::WebScrollbarThemeClientImpl::height):
(WebKit::WebScrollbarThemeClientImpl::size):
(WebKit::WebScrollbarThemeClientImpl::location):
(WebKit::WebScrollbarThemeClientImpl::parent):
(WebKit::WebScrollbarThemeClientImpl::root):
(WebKit::WebScrollbarThemeClientImpl::setFrameRect):
(WebKit::WebScrollbarThemeClientImpl::frameRect):
(WebKit::WebScrollbarThemeClientImpl::invalidate):
(WebKit::WebScrollbarThemeClientImpl::invalidateRect):
(WebKit::WebScrollbarThemeClientImpl::scrollbarOverlayStyle):
(WebKit::WebScrollbarThemeClientImpl::getTickmarks):
(WebKit::WebScrollbarThemeClientImpl::isScrollableAreaActive):
(WebKit::WebScrollbarThemeClientImpl::isScrollViewScrollbar):
(WebKit::WebScrollbarThemeClientImpl::convertFromContainingWindow):
(WebKit::WebScrollbarThemeClientImpl::isCustomScrollbar):
(WebKit::WebScrollbarThemeClientImpl::orientation):
(WebKit::WebScrollbarThemeClientImpl::value):
(WebKit::WebScrollbarThemeClientImpl::currentPos):
(WebKit::WebScrollbarThemeClientImpl::visibleSize):
(WebKit::WebScrollbarThemeClientImpl::totalSize):
(WebKit::WebScrollbarThemeClientImpl::maximum):
(WebKit::WebScrollbarThemeClientImpl::controlSize):
(WebKit::WebScrollbarThemeClientImpl::lineStep):
(WebKit::WebScrollbarThemeClientImpl::pageStep):
(WebKit::WebScrollbarThemeClientImpl::pressedPart):
(WebKit::WebScrollbarThemeClientImpl::hoveredPart):
(WebKit::WebScrollbarThemeClientImpl::styleChanged):
(WebKit::WebScrollbarThemeClientImpl::enabled):
(WebKit::WebScrollbarThemeClientImpl::setEnabled):
(WebKit::WebScrollbarThemeClientImpl::isOverlayScrollbar):

  • src/WebScrollbarThemeClientImpl.h: Added.

(WebCore):
(WebKit):
(WebScrollbarThemeClientImpl):

  • src/WebScrollbarThemeGeometry.cpp: Added.

(WebKit):
(WebKit::WebScrollbarThemeGeometry::assign):
(WebKit::WebScrollbarThemeGeometry::thumbPosition):
(WebKit::WebScrollbarThemeGeometry::thumbLength):
(WebKit::WebScrollbarThemeGeometry::trackPosition):
(WebKit::WebScrollbarThemeGeometry::trackLength):
(WebKit::WebScrollbarThemeGeometry::hasButtons):
(WebKit::WebScrollbarThemeGeometry::hasThumb):
(WebKit::WebScrollbarThemeGeometry::trackRect):
(WebKit::WebScrollbarThemeGeometry::thumbRect):
(WebKit::WebScrollbarThemeGeometry::minimumThumbLength):
(WebKit::WebScrollbarThemeGeometry::scrollbarThickness):
(WebKit::WebScrollbarThemeGeometry::backButtonStartRect):
(WebKit::WebScrollbarThemeGeometry::backButtonEndRect):
(WebKit::WebScrollbarThemeGeometry::forwardButtonStartRect):
(WebKit::WebScrollbarThemeGeometry::forwardButtonEndRect):
(WebKit::WebScrollbarThemeGeometry::constrainTrackRectToTrackPieces):
(WebKit::WebScrollbarThemeGeometry::splitTrack):
(WebKit::WebScrollbarThemeGeometry::WebScrollbarThemeGeometry):

  • src/WebScrollbarThemePainter.cpp: Added.

(WebKit):
(WebKit::WebScrollbarThemePainter::assign):
(WebKit::WebScrollbarThemePainter::paintScrollbarBackground):
(WebKit::WebScrollbarThemePainter::paintTrackBackground):
(WebKit::WebScrollbarThemePainter::paintBackTrackPart):
(WebKit::WebScrollbarThemePainter::paintForwardTrackPart):
(WebKit::WebScrollbarThemePainter::paintBackButtonStart):
(WebKit::WebScrollbarThemePainter::paintBackButtonEnd):
(WebKit::WebScrollbarThemePainter::paintForwardButtonStart):
(WebKit::WebScrollbarThemePainter::paintForwardButtonEnd):
(WebKit::WebScrollbarThemePainter::paintTickmarks):
(WebKit::WebScrollbarThemePainter::paintThumb):
(WebKit::WebScrollbarThemePainter::WebScrollbarThemePainter):

  • tests/ScrollbarLayerChromiumTest.cpp:

(WebCore::MockScrollbar::convertFromContainingWindow):
(WebCore::MockScrollbar::isOverlayScrollbar):
(MockScrollbar):
(WebCore::TEST):

LayoutTests:

Mark custom-composited-different-track-parts.html as failing because
custom scrollbars no longer create ScrollbarLayerChromiums. This is
due to the unsafe casts in RenderThemeScrollbar.

  • platform/chromium/TestExpectations:
2:07 PM Changeset in webkit [124090] by dpranke@chromium.org
  • 3 edits in trunk/Tools

nrwt: --verbose logging does not work right on windows
https://bugs.webkit.org/show_bug.cgi?id=92673

Unreviewed, build fix.

The --verbose log level is not being propagated to the worker
processes on windows properly; this has been broken ever since I
refactored logging into the message pool directly :(.

Also, fixing this revealed that outputcapture wasn't saving and
restoring log levels correctly, so I had to fix that as well.

  • Scripts/webkitpy/common/message_pool.py:

(_MessagePool._start_workers):
(_MessagePool._worker_log_level):
(_Worker.init):
(_Worker._set_up_logging):
(_WorkerLogHandler.init):

  • Scripts/webkitpy/common/system/outputcapture.py:

(OutputCapture.capture_output):
(OutputCapture.restore_output):

2:06 PM Changeset in webkit [124089] by kling@webkit.org
  • 2 edits in trunk/Source/WebCore

REGRESSION(r123636): Heap-use-after-free in StyleResolver::collectMatchingRules.
<http://webkit.org/b/92430>

Reviewed by Antti Koivisto.

Don't hold on to a reference to StyledElement::classNames() as that may become
invalid after mutating the element's attribute data.

In this case it was happening below Element::hasAttributes() which is unfortunately
naive enough to always serialize lazy attributes. That is a minor inefficiency that
can be addressed in a separate patch.

Covered by valgrind on existing tests.

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::collectMatchingRules):

2:02 PM Changeset in webkit [124088] by tomhudson@google.com
  • 1 edit
    2 adds
    1 delete in trunk/LayoutTests

Baselines on additional platforms for fast/table/table-row-focus-ring-paint.
https://bugs.webkit.org/show_bug.cgi?id=85348

Unreviewed gardening.

  • platform/chromium-linux/fast/table/table-row-focus-ring-paint-expected.png: Removed.
  • platform/chromium-mac/fast/table/table-row-focus-ring-paint-expected.png: Added.
  • platform/chromium-win/fast/table/table-row-focus-ring-paint-expected.png: Added.
1:57 PM Changeset in webkit [124087] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[GTK] critical warning: gdk_window_get_cursor() called on a NULL window
https://bugs.webkit.org/show_bug.cgi?id=92651

Patch by Claudio Saavedra <Claudio Saavedra> on 2012-07-30
Reviewed by Martin Robinson.

PageClientImpl::setCursor() might get called before the
window is realized, so safeguard against it.

  • UIProcess/API/gtk/PageClientImpl.cpp:

(WebKit::PageClientImpl::setCursor): early return if the window is
not realized.

1:52 PM Changeset in webkit [124086] by rakuco@webkit.org
  • 2 edits in trunk/LayoutTests

[EFL] Unreviewed gardening.

Fix r124028 by adding the missing expectations to the added lines.

  • platform/efl/TestExpectations:
1:49 PM Changeset in webkit [124085] by senorblanco@chromium.org
  • 5 edits
    1 delete in trunk/LayoutTests

[chromium] Unreviewed gardening. Add new baselines for tests
affected by r124042.

  • platform/chromium-linux/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
  • platform/chromium-linux/fast/borders/border-image-rotate-transform-expected.png:
  • platform/chromium-win-xp/fast/backgrounds/repeat: Removed.
  • platform/chromium-win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
  • platform/chromium-win/fast/borders/border-image-rotate-transform-expected.png:
1:45 PM Changeset in webkit [124084] by pkasting@chromium.org
  • 2 edits in trunk/LayoutTests

Force Mac editing mode on new test so other platforms will pass it.
https://bugs.webkit.org/show_bug.cgi?id=92662

Reviewed by Ryosuke Niwa.

  • fast/writing-mode/flipped-blocks-hit-test-line-edges.html:
1:42 PM Changeset in webkit [124083] by Lucas Forschler
  • 2 edits in branches/safari-536.26-branch/LayoutTests

Merged r117801. <rdar://problem/11942076>

1:41 PM Changeset in webkit [124082] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r117792. <rdar://problem/11942076>

1:37 PM Changeset in webkit [124081] by Lucas Forschler
  • 1 edit
    2 copies
    2 deletes in branches/safari-536.26-branch/LayoutTests

Merged r116665. <rdar://problem/11942038>

1:35 PM Changeset in webkit [124080] by Lucas Forschler
  • 7 edits
    2 copies in branches/safari-536.26-branch

Merged r116653. <rdar://problem/11942038>

1:19 PM Changeset in webkit [124079] by Csaba Osztrogonác
  • 2 edits
    2 adds
    1 delete in trunk/LayoutTests

[Qt] Unreviewed gardening.

  • platform/qt-5.0/Skipped: Unskip now passing tests. (bug85203)
  • platform/qt-5.0/fast/js/global-constructors-expected.txt: Added. Same as platform/qt/...expected.txt, but has more attribute because of enabled SVG_FONTS.
  • platform/qt/fast/js/global-constructors-expected.png: Removed, it is text only test.
1:13 PM Changeset in webkit [124078] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r118005. <rdar://problem/11942082>

1:05 PM Changeset in webkit [124077] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

[chromium] CCThreadTask should not depend on CrossThreadTask and does not need to depend on CrossThreadCopier
https://bugs.webkit.org/show_bug.cgi?id=90132

Patch by James Robinson <jamesr@chromium.org> on 2012-07-30
Reviewed by David Levin.

CrossThreadTask is defined in WebCore/dom/ and depends on concepts like ScriptExecutionConcept. CCThreadTask,
being in WebCore/platform/, should not depend on /dom/ or anything from that layer.

CrossThreadCopier is not a layering violation per se, but it's also not at all helpful for CCThreadTask - we
never use any types for which it would be useful.

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

(WebCore::CCThreadProxy::compositeAndReadback):
(WebCore::CCThreadProxy::finishAllRendering):
(WebCore::CCThreadProxy::initializeContext):
(WebCore::CCThreadProxy::setVisible):
(WebCore::CCThreadProxy::initializeLayerRenderer):
(WebCore::CCThreadProxy::recreateContext):
(WebCore::CCThreadProxy::implSideRenderingStats):
(WebCore::CCThreadProxy::start):
(WebCore::CCThreadProxy::stop):
(WebCore::CCThreadProxy::forceSerializeOnSwapBuffers):
(WebCore::CCThreadProxy::beginFrame):
(WebCore::CCThreadProxy::acquireLayerTextures):

  • platform/graphics/chromium/cc/CCThreadTask.h:

(CCThreadTask1):
(WebCore::CCThreadTask1::create):
(WebCore::CCThreadTask1::CCThreadTask1):
(CCThreadTask2):
(WebCore::CCThreadTask2::create):
(WebCore::CCThreadTask2::CCThreadTask2):
(CCThreadTask3):
(WebCore::CCThreadTask3::create):
(WebCore::CCThreadTask3::CCThreadTask3):
(CCThreadTask4):
(WebCore::CCThreadTask4::create):
(WebCore::CCThreadTask4::CCThreadTask4):
(CCThreadTask5):
(WebCore::CCThreadTask5::create):
(WebCore::CCThreadTask5::CCThreadTask5):
(WebCore::createCCThreadTask):

1:04 PM Changeset in webkit [124076] by schenney@chromium.org
  • 1 edit
    2 copies in branches/chromium/1180

Merge 123377 - Crash when setting empty class name on a new element
https://bugs.webkit.org/show_bug.cgi?id=92024

Reviewed by Andreas Kling.

Source/WebCore:

Add a check for null attributeData() when setting the className to an
empty string on a newly created element. New SVG elements have null
attributeData() on baseVal upon creation.

Test: svg/custom/empty-className-baseVal-crash.html

  • dom/StyledElement.cpp:

(WebCore::StyledElement::classAttributeChanged): Add check for null attributeData()

LayoutTests:

Add a check for null attributeData() when setting the className to an
empty string on a newly created element.

  • svg/custom/empty-className-baseVal-crash-expected.txt: Added.
  • svg/custom/empty-className-baseVal-crash.html: Added.

TBR=schenney@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10824091

12:51 PM Changeset in webkit [124075] by senorblanco@chromium.org
  • 5 edits
    1 delete in trunk/LayoutTests

[chromium] Unreviewed gardening. Rebaseline another test affected by
r124042.

  • platform/chromium-linux-x86/fast/gradients: Removed.
  • platform/chromium-linux/fast/gradients/background-clipped-expected.png:
  • platform/chromium-mac-snowleopard/fast/gradients/background-clipped-expected.png:
  • platform/chromium-mac/fast/gradients/background-clipped-expected.png:
  • platform/chromium/TestExpectations:
12:49 PM Changeset in webkit [124074] by Lucas Forschler
  • 4 edits
    2 copies in branches/safari-536.26-branch

Merged r117957. <rdar://problem/11942079>

12:32 PM Changeset in webkit [124073] by Lucas Forschler
  • 3 edits in branches/safari-536.26-branch/Source/WebCore

Merged r117376. <rdar://problem/11942074>

12:26 PM Changeset in webkit [124072] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r117309. <rdar://problem/11942073>

12:24 PM WebKit Team edited by apavlov@chromium.org
Add apavlov to the reviewers list (diff)
11:55 AM Changeset in webkit [124071] by dpranke@chromium.org
  • 2 edits in trunk/Tools

After r123895, new-run-webkit-tests can fail with TypeError when a test crashes
https://bugs.webkit.org/show_bug.cgi?id=92664

Reviewed by Michael Saboff.

Updated to handle crash_logs being returned as a tuple of (stderr, crash_log).

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

(MacPort.look_for_new_crash_logs):

11:54 AM Changeset in webkit [124070] by pkasting@chromium.org
  • 19 edits
    1 delete in trunk/LayoutTests

[Chromium] Rebaseline tests for Skia changes.
http://crbug.com/130283
http://crbug.com/131188

Unreviewed, test expectations update.

  • platform/chromium-linux/css3/filters/effect-combined-hw-expected.png:
  • platform/chromium-linux/css3/filters/effect-saturate-hw-expected.png:
  • platform/chromium-linux/css3/filters/effect-sepia-hw-expected.png:
  • platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
  • platform/chromium-mac/css3/filters/effect-combined-hw-expected.png:
  • platform/chromium-mac/css3/filters/effect-grayscale-hw-expected.png:
  • platform/chromium-mac/css3/filters/effect-hue-rotate-hw-expected.png:
  • platform/chromium-mac/css3/filters/effect-saturate-hw-expected.png:
  • platform/chromium-mac/css3/filters/effect-sepia-hw-expected.png:
  • platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
  • platform/chromium-mac/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt: Removed.
  • platform/chromium-win/css3/filters/effect-combined-hw-expected.png:
  • platform/chromium-win/css3/filters/effect-grayscale-hw-expected.png:
  • platform/chromium-win/css3/filters/effect-hue-rotate-hw-expected.png:
  • platform/chromium-win/css3/filters/effect-saturate-hw-expected.png:
  • platform/chromium-win/css3/filters/effect-sepia-hw-expected.png:
  • platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
  • platform/chromium-win/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt:
11:53 AM Changeset in webkit [124069] by Patrick Gansterer
  • 5 edits in trunk/Source/WTF

Add special export macro for string related functions
https://bugs.webkit.org/show_bug.cgi?id=92624

Reviewed by Hajime Morita.

The windows port compiles string related code into every binary for performance reasons (see r59187).
Add the WTF_EXPORT_STRING_API define to allow this behaviour with export macros too.

  • wtf/ExportMacros.h:
  • wtf/text/AtomicString.h:

(AtomicString):

  • wtf/text/StringImpl.h:

(StringImpl):
(WTF):

  • wtf/text/WTFString.h:

(WTF):
(String):

11:49 AM Changeset in webkit [124068] by Patrick Gansterer
  • 3 edits in trunk/Source/WebKit2

Unreviewed, rolling out r123983.
http://trac.webkit.org/changeset/123983
https://bugs.webkit.org/show_bug.cgi?id=92663

EFL build is broken when unit tests are enabled (Requested by
paroga on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-30

  • CMakeLists.txt:
  • PlatformEfl.cmake:
11:49 AM Changeset in webkit [124067] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebCore

Web Inspector: Rename Databases to Web SQL
https://bugs.webkit.org/show_bug.cgi?id=92646

Patch by Paul Irish <paul.irish@gmail.com> on 2012-07-30
Reviewed by Pavel Feldman.

Renamed Databases to Web SQL. Drive-by fix for EmptyView
selection.

  • English.lproj/localizedStrings.js:
  • inspector/front-end/EmptyView.js:
  • inspector/front-end/ResourcesPanel.js:
11:46 AM Changeset in webkit [124066] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r117304. <rdar://problem/11942070>

11:44 AM Changeset in webkit [124065] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r117289. <rdar://problem/11932472>

11:39 AM Changeset in webkit [124064] by tony@chromium.org
  • 3 edits
    2 adds in trunk

new flexbox should ignore float set on flexitems
https://bugs.webkit.org/show_bug.cgi?id=70792

Reviewed by Ojan Vafai.

Source/WebCore:

Force flex items to not float.

Test: css3/flexbox/floated-flexitem.html

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::adjustRenderStyle): Force NoFloat on flex items.

LayoutTests:

Make an example in the spec into a ref test. Add some styles to make it a bit more clear what's happening.

  • css3/flexbox/floated-flexitem-expected.html: Added.
  • css3/flexbox/floated-flexitem.html: Added.
11:37 AM Changeset in webkit [124063] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r117161. <rdar://problem/11942062>

11:35 AM Changeset in webkit [124062] by Lucas Forschler
  • 6 edits
    4 copies in branches/safari-536.26-branch

Merged r117007. <rdar://problem/11942085>

11:33 AM Changeset in webkit [124061] by pkasting@chromium.org
  • 2 edits
    1 add in trunk/LayoutTests

[Chromium] New baselines and test expectations update.
https://bugs.webkit.org/show_bug.cgi?id=88939
https://bugs.webkit.org/show_bug.cgi?id=91485
http://crbug.com/139162

Unreviewed, test expectations update.

  • platform/chromium-linux-x86/svg/W3C-SVG-1.1/filters-example-01-b-expected.png: Added.
  • platform/chromium/TestExpectations:
11:30 AM Changeset in webkit [124060] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r116860. <rdar://problem/11942084>

11:27 AM Changeset in webkit [124059] by Lucas Forschler
  • 4 edits
    4 copies in branches/safari-536.26-branch

Merged r116827. <rdar://problem/11961140>

11:24 AM Changeset in webkit [124058] by Lucas Forschler
  • 2 edits in branches/safari-536.26-branch/Source/WebCore

Merged r116717. <rdar://problem/11942052>

11:22 AM Changeset in webkit [124057] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r116698. <rdar://problem/11942088>

11:20 AM Changeset in webkit [124056] by senorblanco@chromium.org
  • 6 edits in trunk/LayoutTests

[chromium] Unreviewed gardening. Add new mac baselines for tests
affected by r124042. Fix a typo in TestExpectations.

  • platform/chromium-mac-snowleopard/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
  • platform/chromium-mac-snowleopard/fast/borders/border-image-rotate-transform-expected.png:
  • platform/chromium-mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
  • platform/chromium-mac/fast/borders/border-image-rotate-transform-expected.png:
  • platform/chromium/TestExpectations:
11:17 AM Changeset in webkit [124055] by Lucas Forschler
  • 4 edits
    2 copies in branches/safari-536.26-branch

Merged r116683. <rdar://problem/11942090>

11:15 AM Changeset in webkit [124054] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r116669. <rdar://problem/11942055>

11:01 AM Changeset in webkit [124053] by zandobersek@gmail.com
  • 1 edit
    6 adds in trunk/LayoutTests

Unreviewed GTK gardening.

Adding platform-specific baselines that are required after r123793, r123912 and r123914.

  • platform/gtk/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Added.
  • platform/gtk/fast/hidpi/gradient-with-scaled-ancestor-expected.txt: Added.
  • platform/gtk/fast/table/table-row-outline-paint-expected.png: Added.
  • platform/gtk/fast/table/table-row-outline-paint-expected.txt: Added.
  • platform/gtk/svg/as-image/animated-svg-repaints-completely-in-hidpi-expected.png: Added.
  • platform/gtk/svg/as-image/animated-svg-repaints-completely-in-hidpi-expected.txt: Added.
11:00 AM Changeset in webkit [124052] by enne@google.com
  • 2 edits in trunk/Source/WebCore

[chromium] Turn back on ScrollbarLayerChromium for Windows
https://bugs.webkit.org/show_bug.cgi?id=92409

Reviewed by James Robinson.

This reverts r122791. As GDI issues were addressed in Chromium via
http://src.chromium.org/viewvc/chrome?view=rev&revision=148215,
scrollbar parts can now be composited on the thread.

  • page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:

(WebCore::createScrollbarLayer):

10:56 AM Changeset in webkit [124051] by senorblanco@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed gardening. Marking two accelerated painting
tests as crashing intermittently.
https://bugs.webkit.org/show_bug.cgi?id=92660

  • platform/chromium/TestExpectations:
10:48 AM Changeset in webkit [124050] by mifenton@rim.com
  • 5 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Optimize the generation of selection details generation.
https://bugs.webkit.org/show_bug.cgi?id=92522

Reviewed by Antonio Gomes.

PR 179264.

Reduce the number of times we generate selection details notifications.

This removes several notifications that are handled by the standard
notification path and makes skipping duplicate notifications the default
so that only those that must generate a response do.

Reviewed Internally by Gen Mak.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::notifyTransformedContentsSizeChanged):
(BlackBerry::WebKit::WebPagePrivate::updateDelegatedOverlays):

  • WebKitSupport/InputHandler.cpp:

(BlackBerry::WebKit::InputHandler::setElementUnfocused):

  • WebKitSupport/SelectionHandler.cpp:

(BlackBerry::WebKit::SelectionHandler::setCaretPosition):
(BlackBerry::WebKit::SelectionHandler::updateOrHandleInputSelection):
(BlackBerry::WebKit::SelectionHandler::setSelection):
(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):

  • WebKitSupport/SelectionHandler.h:

(SelectionHandler):

10:46 AM Changeset in webkit [124049] by commit-queue@webkit.org
  • 11 edits
    3 copies
    1 move
    4 deletes in trunk

Unreviewed, rolling out r124025.
http://trac.webkit.org/changeset/124025
https://bugs.webkit.org/show_bug.cgi?id=92658

Causes color-suggestion-picker-appearance layout test to time
out on all Chromium platforms (Requested by tomhudson_ on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-30

Source/Platform:

  • chromium/public/WebLocalizedString.h:

Source/WebCore:

  • rendering/RenderThemeChromiumCommon.cpp:

(WebCore::RenderThemeChromiumCommon::supportsDataListUI):

Source/WebKit/chromium:

  • WebKit.gyp:
  • src/ChromeClientImpl.cpp:

(WebKit::ChromeClientImpl::createColorChooser):

  • src/ChromeClientImpl.h:

(WebCore):
(ChromeClientImpl):

  • src/ColorChooserProxy.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.

(WebKit):
(WebKit::ColorChooserProxy::ColorChooserProxy):
(WebKit::ColorChooserProxy::~ColorChooserProxy):
(WebKit::ColorChooserProxy::setSelectedColor):
(WebKit::ColorChooserProxy::endChooser):

  • src/ColorChooserProxy.h: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.

(WebKit):
(ColorChooserProxy):

  • src/ColorChooserUIController.cpp: Removed.
  • src/WebColorChooserClientImpl.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.

(WebKit):
(WebKit::WebColorChooserClientImpl::WebColorChooserClientImpl):
(WebKit::WebColorChooserClientImpl::~WebColorChooserClientImpl):
(WebKit::WebColorChooserClientImpl::didChooseColor):
(WebKit::WebColorChooserClientImpl::didEndChooser):

  • src/WebColorChooserClientImpl.h: Renamed from Source/WebKit/chromium/src/ColorChooserUIController.h.

(WebCore):
(WebKit):
(WebColorChooserClientImpl):

LayoutTests:

  • platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png: Removed.
  • platform/chromium/TestExpectations:
  • platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.txt: Removed.
  • platform/chromium/fast/forms/color/color-suggestion-picker-appearance.html: Removed.
  • platform/chromium/fast/forms/datalist/input-list-expected.txt:
10:44 AM Changeset in webkit [124048] by zandobersek@gmail.com
  • 3 edits in trunk/LayoutTests

Unreviewed GTK gardening.

Skipping a test that utilizes unsupported isolated worlds and updating
one baseline after r123988.

  • platform/gtk/TestExpectations:
  • platform/gtk/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
10:41 AM Changeset in webkit [124047] by commit-queue@webkit.org
  • 1 edit
    4 adds in trunk/LayoutTests

REGRESSION: Focused TR element draws its focus outline in the wrong place
https://bugs.webkit.org/show_bug.cgi?id=85348

Patch by Pravin D <pravind.2k4@gmail.com> on 2012-07-30
Reviewed by Julien Chaffraix.

The focus ring used to be drawn around the first row of the table section irrespective of the row in focus.
The issue was fixed by the bug http://www.webkit.org/b/92389 .
Adding a regression test case.

  • fast/table/table-row-focus-ring-paint-expected.txt: Added.
  • fast/table/table-row-focus-ring-paint.html: Added.
  • platform/chromium-linux/fast/table/table-row-focus-ring-paint-expected.png: Added.
  • platform/qt-4.8/fast/table/table-row-focus-ring-paint-expected.png: Added.
10:40 AM Changeset in webkit [124046] by senorblanco@chromium.org
  • 2 edits in trunk/Tools

Added a SkiaGraphics definition to the watchlist file; cc'ed myself
to that group. Unreviewed.

  • Scripts/webkitpy/common/config/watchlist:
10:27 AM Changeset in webkit [124045] by commit-queue@webkit.org
  • 15 edits
    4 deletes in trunk

Unreviewed, rolling out r123966 and r123967.
http://trac.webkit.org/changeset/123966
http://trac.webkit.org/changeset/123967
https://bugs.webkit.org/show_bug.cgi?id=92656

This patch is causing assertion failures on the debug bot
(also rolling out a dependent patch) (Requested by mrobinson
on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-30

Source/WebCore:

  • GNUmakefile.am:
  • GNUmakefile.list.am:
  • platform/text/gtk/TextCheckerEnchant.cpp: Removed.
  • platform/text/gtk/TextCheckerEnchant.h: Removed.

Source/WebKit/gtk:

  • webkit/webkitspellcheckerenchant.cpp:

(_WebKitSpellCheckerEnchantPrivate):
(createEnchantBrokerIfNeeded):
(freeSpellCheckingLanguage):
(webkit_spell_checker_enchant_finalize):
(webkit_spell_checker_enchant_class_init):
(webkit_spell_checker_enchant_init):
(wordEndIsAContractionApostrophe):
(checkSpellingOfString):
(getGuessesForWord):
(getAvailableDictionariesCallback):
(updateSpellCheckingLanguages):
(learnWord):
(ignoreWord):

Source/WebKit2:

  • GNUmakefile.am:
  • GNUmakefile.list.am:
  • UIProcess/API/gtk/WebKitPrivate.h:
  • UIProcess/API/gtk/WebKitTextChecker.cpp: Removed.
  • UIProcess/API/gtk/WebKitTextChecker.h: Removed.
  • UIProcess/API/gtk/WebKitWebContext.cpp:

(_WebKitWebContextPrivate):
(createDefaultWebContext):

  • UIProcess/API/gtk/WebKitWebContext.h:
  • UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
  • UIProcess/API/gtk/tests/TestWebKitWebContext.cpp:

(beforeAll):

Tools:

  • gtk/generate-gtkdoc:

(get_webkit2_options):

10:24 AM Changeset in webkit [124044] by jchaffraix@webkit.org
  • 3 edits
    4 adds in trunk

ASSERTION FAILED: !rect.isEmpty() : void WebCore::GraphicsContext::drawRect(const WebCore::IntRect &)
https://bugs.webkit.org/show_bug.cgi?id=92187

Reviewed by Simon Fraser.

Source/WebCore:

The border painting logic (RenderBoxModelObject::paintOneBorderSide) would pass a rect with a 0px length
to RenderObject::drawLineForBoxSide. We do check the width (thickness) but not the length so we would pass
the rect to GraphicsContext and hit the ASSERT. This change adds a check for the length too as it is the safest
way, it means that we may still do unneeded operations before bailing out but that's an existing problem in the code.

Tests: fast/borders/0px-borders-no-line-height.html

fast/borders/double-1px-border-assert.html

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::drawLineForBoxSide):
Added a 0px length check. While renaming confusing variables and re-using others,
I also found a potential empty border that I fixed (tested by the 2nd case above).

LayoutTests:

  • fast/borders/0px-borders-no-line-height-expected.html: Added.
  • fast/borders/0px-borders-no-line-height.html: Added.
  • fast/borders/double-1px-border-assert-expected.html: Added.
  • fast/borders/double-1px-border-assert.html: Added.
10:24 AM Changeset in webkit [124043] by Lucas Forschler
  • 5 edits
    1 copy in branches/safari-536.26-branch

Merged r116647. <rdar://problem/11942030>

10:22 AM Changeset in webkit [124042] by senorblanco@chromium.org
  • 4 edits in trunk

[chromium] Refactor the computation of resampled bitmap size in
drawImage and drawPattern.
https://bugs.webkit.org/show_bug.cgi?id=92408

Reviewed by Adrienne Walker.

Source/WebCore:

We used to have a special-purpose function called TransformDimensions()
which did pretty much the same thing as SkRect::mapRect() does. This
change unifies the drawPattern code to use mapRect() in the same way
that drawImage() does.

Covered by existing tests, e.g., fast/backgrounds/size/*.

  • platform/graphics/skia/ImageSkia.cpp:

(WebCore):
(WebCore::Image::drawPattern):
Note: we're now doing using the original (float) source rect, and
converting to int only after applying the matrix transform. This
might result in different decisions about resampling mode, but it's
more correct anyway.

LayoutTests:

Mark a test as expected to fail (will need rebaseline).

  • platform/chromium/TestExpectations:
10:19 AM Changeset in webkit [124041] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

[EFL][DRT] fast/text/font-variant-ligatures.html fails with missing rendering output
https://bugs.webkit.org/show_bug.cgi?id=85606

Unreviewed, EFL gardening.

Unskip test that's passing after r123864 due to complex font support.

Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-07-30

  • platform/efl/TestExpectations: font-variant-ligatures.html unskipped.
10:18 AM Changeset in webkit [124040] by Lucas Forschler
  • 3 edits in branches/safari-536.26-branch/Source/WebCore

Merged r116642. <rdar://problem/11942097>

10:17 AM Changeset in webkit [124039] by Martin Robinson
  • 4 edits
    1 add
    1 delete in trunk/Tools

[GTK] Add a non-subprocess jhbuild environment and use it for run-gtk-tests
https://bugs.webkit.org/show_bug.cgi?id=92626

Reviewed by Gustavo Noronha Silva.

Instead of always shelling out to enter a jhbuild environment, add a Python
hook for entering a jhbuild environment directly. This avoids requiring a
script to be wrapped in jhbuild.

  • GNUmakefile.am: Remove gtk/run-api-tests from the distribution list.
  • Scripts/run-gtk-tests: Move most of the logic from run-api-tests here

with additional code for entering a jhbuild environment directly.

  • gtk/run-api-tests: Removed.
  • jhbuild/jhbuild-wrapper: Use the new helper methods defined in jhbuildutils.py.
  • jhbuild/jhbuildutils.py: Add some new helper methods here including

a method which can transform the current environment into a jhbuild-ified one.

10:12 AM Changeset in webkit [124038] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r116551. <rdar://problem/11942093>

10:07 AM Changeset in webkit [124037] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r116545. <rdar://problem/11942059>

10:04 AM Changeset in webkit [124036] by Lucas Forschler
  • 11 edits
    2 copies in branches/safari-536.26-branch

Merged r116476. <rdar://problem/11942023>

9:35 AM Changeset in webkit [124035] by apavlov@chromium.org
  • 2 edits in trunk/Tools

Unreviewed, upgrade apavlov to reviewer.
http://lists.webkit.org/mailman/private/webkit-committers/2012-July/000184.html

  • Scripts/webkitpy/common/config/committers.py:
9:32 AM Changeset in webkit [124034] by commit-queue@webkit.org
  • 9 edits in trunk/Source/WebCore

https://bugs.webkit.org/show_bug.cgi?id=92642
[Bindings]Remove custom JS/V8 bindings for WebSocket::close() using [Clamp]

Patch by Vineet Chaudhary <Vineet> on 2012-07-30
Reviewed by Kentaro Hara.

With support of [Clamp] as extended attribute we can replace custom bindings from WebSocket::close().
Spec for WebSocket::close() : http://www.whatwg.org/specs/web-apps/current-work/multipage/network.html#websocket

No new tests. There should be no behavioural changes
Existing tests under http/websocket/tests/hybi/ should cover this.

  • Modules/websockets/WebSocket.h:

(WebCore::WebSocket::close):

  • Modules/websockets/WebSocket.idl: Used [Clamp].
  • bindings/js/JSWebSocketCustom.cpp: Removed custom call close().

(WebCore):

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateParametersCheck):

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateParametersCheck):

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

(WebCore::jsTestObjPrototypeFunctionClassMethodWithClamp):

  • bindings/scripts/test/V8/V8TestObj.cpp:

(WebCore::TestObjV8Internal::classMethodWithClampCallback):

  • bindings/v8/custom/V8WebSocketCustom.cpp: Removed custom call close().

(WebCore):

9:19 AM Changeset in webkit [124033] by Csaba Osztrogonác
  • 3 edits in trunk/LayoutTests

[Qt] Unreviewed gardening. Unkskip more passing tests after bug85203.

  • platform/qt-5.0-wk1/Skipped:
  • platform/qt-5.0-wk2/Skipped:
8:58 AM Changeset in webkit [124032] by vsevik@chromium.org
  • 24 edits
    4 adds in trunk

Web Inspector: Resource agent's reference to cached resources should be weak.
https://bugs.webkit.org/show_bug.cgi?id=92108

Reviewed by Pavel Feldman.

.:

  • Source/autotools/symbols.filter:

Source/WebCore:

NetworkResourcesData now stores a raw pointer to CachedResource.
CachedResource now notifies InspectorInstrumentation that it will be destroyed.
InspectorInstrumentation stores a set of InstrumentingAgents and broadcasts willDestroyCachedResource event to all available resourceAgents.
Destroyed resources content is saved to NetworkResourcesData.

Tests: http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html

http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html

  • WebCore.exp.in:
  • inspector/InspectorController.cpp:

(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::inspectedPageDestroyed):

  • inspector/InspectorInstrumentation.cpp:

(WebCore):
(WebCore::InspectorInstrumentation::willDestroyCachedResourceImpl):
(WebCore::InspectorInstrumentation::registerInstrumentingAgents):
(WebCore::InspectorInstrumentation::unregisterInstrumentingAgents):

  • inspector/InspectorInstrumentation.h:

(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::willDestroyCachedResource):
(WebCore):

  • inspector/InspectorResourceAgent.cpp:

(WebCore::InspectorResourceAgent::didReceiveData):
(WebCore::InspectorResourceAgent::willDestroyCachedResource):
(WebCore):
(WebCore::InspectorResourceAgent::getResponseBody):

  • inspector/InspectorResourceAgent.h:

(InspectorResourceAgent):

  • inspector/NetworkResourcesData.cpp:

(WebCore::NetworkResourcesData::ResourceData::ResourceData):
(WebCore::NetworkResourcesData::ResourceData::setContent):
(WebCore::NetworkResourcesData::setResourceContent):
(WebCore::NetworkResourcesData::removeCachedResource):
(WebCore):

  • inspector/NetworkResourcesData.h:

(ResourceData):
(WebCore::NetworkResourcesData::ResourceData::base64Encoded):
(WebCore::NetworkResourcesData::ResourceData::cachedResource):
(NetworkResourcesData):

  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::~CachedResource):
(WebCore::CachedResource::removeClient):
(WebCore::CachedResource::deleteIfPossible):
(WebCore):

  • loader/cache/CachedResource.h:

(CachedResource):

  • loader/cache/CachedResourceLoader.cpp:

(WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired):
(WebCore::CachedResourceLoader::garbageCollectDocumentResources):
(WebCore::CachedResourceLoader::clearPreloads):

  • loader/cache/CachedResourceLoader.h:

(CachedResourceLoader):

  • loader/cache/MemoryCache.cpp:

(WebCore::MemoryCache::evict):

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

(WebCore::Internals::garbageCollectDocumentResources):
(WebCore):

  • testing/Internals.h:

(Internals):

  • testing/Internals.idl:

Source/WebKit2:

  • win/WebKit2.def:
  • win/WebKit2CFLite.def:

LayoutTests:

  • http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt: Added.
  • http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html: Added.
  • http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt: Added.
  • http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html: Added.
8:54 AM Changeset in webkit [124031] by commit-queue@webkit.org
  • 7 edits in trunk

[BlackBerry] Adapt to changes in the SharedArray platform API
https://bugs.webkit.org/show_bug.cgi?id=92631

Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2012-07-30
Reviewed by Rob Buis.

Adapt to changes in the SharedArray platform API. No behavioural change.

Source/WebKit/blackberry:

Reviewed internally by Joe Mason.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPage::getBackForwardList):

  • Api/WebPage.h:
  • Api/WebPageClient.h:
  • WebCoreSupport/ChromeClientBlackBerry.cpp:

(WebCore::ChromeClientBlackBerry::runOpenPanel):

Tools:

  • DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:

(LayoutTestController::webHistoryItemCount):

8:47 AM Changeset in webkit [124030] by Csaba Osztrogonác
  • 3 edits
    1 add in trunk/LayoutTests

[Qt] Gardening. Skip failing tests and add a Qt specific expected file.

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-07-30
Reviewed by Csaba Osztrogonác.

  • platform/qt-4.8/Skipped: Skip svg/custom/svg-features.html.
  • platform/qt/Skipped: Skip http/tests/security/contentSecurityPolicy/object-src-none-blocked.html.
  • platform/qt/http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt: Added because of a whitespace difference.
8:43 AM Changeset in webkit [124029] by Csaba Osztrogonác
  • 4 edits
    2 deletes in trunk/LayoutTests

[Qt] Default sizes for input-text and text-area are different when running DRT/WTR
https://bugs.webkit.org/show_bug.cgi?id=91990

Unreviewed gardening.

  • platform/qt-5.0-wk2/Skipped: Skip tests.
  • platform/qt-5.0/Skipped: Unskip accidentally skipped tests.
  • platform/qt.5-0/fast/text/whitespace/028-expected.png: Remove accidentally committed file.
  • platform/qt.5-0/fast/text/whitespace/028-expected.txt: Remove accidentally committed file.
  • platform/qt/Skipped: Unskip non-existing tests.
8:39 AM Changeset in webkit [124028] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

[EFL] Skip new compositing tests for EFL port
https://bugs.webkit.org/show_bug.cgi?id=92633

Unreviewed EFL gardening.

Skip new compositing layout tests until accelerated compositing is enabled.

Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-07-30

  • platform/efl/TestExpectations:
8:16 AM Changeset in webkit [124027] by shinyak@chromium.org
  • 18 edits in trunk

Prohibit having AuthorShadowDOM of input or textarea element for a while and having a flag to enable it in Internals.
https://bugs.webkit.org/show_bug.cgi?id=92611

Reviewed by Hajime Morita.

.:

  • Source/autotools/symbols.filter:

Source/WebCore:

Prohibit having AuthorShadowDOM of input elemnet unless a flag in RuntimeEnabledFeatures is not enabled.
The flag can be enabled in Internals.

The elements in UserAgentShadowDOM of input element assume that they have a renderer when the input
element has a renderer. However, this does not hold when AuthorShadowDOM is added to input element.
So until we fix the issue, we should disable to have AuthorShadowDOM for input element, because it may
cause crashes and security problems.

Tests: fast/dom/shadow/input-with-validation-without-shadow.html

fast/dom/shadow/input-with-validation.html
fast/dom/shadow/shadow-disable.html

  • bindings/generic/RuntimeEnabledFeatures.cpp:

(WebCore):

  • bindings/generic/RuntimeEnabledFeatures.h:

(RuntimeEnabledFeatures):
(WebCore::RuntimeEnabledFeatures::authorShadowDOMForAnyElementEnabled):
(WebCore::RuntimeEnabledFeatures::setAuthorShadowDOMForAnyElementEnabled):

  • dom/ShadowRoot.cpp:

(WebCore::allowsAuthorShadowRoot): The input element or textarea element does not allow to have a ShadowDOM unless
is a flag in RuntimeEnabledFeatures is not enabled.

  • html/HTMLInputElement.h:

(WebCore::isHTMLInputElement):
(WebCore):

  • html/HTMLTextAreaElement.h:

(WebCore::isHTMLTextAreaElement):
(WebCore):

  • testing/Internals.cpp:

(WebCore::Internals::setAuthorShadowDOMForAnyElementEnabled):
(WebCore):

  • testing/Internals.h:

(Internals):

  • testing/Internals.idl:

LayoutTests:

  • fast/dom/shadow/input-with-validation-without-shadow.html: Make the test runs even if

new WebKitShadowRoot() throws an exception.

  • fast/dom/shadow/input-with-validation.html: Sets a flag to make AuthorShadowDOM available.
  • fast/dom/shadow/shadow-disable-expected.txt:
  • fast/dom/shadow/shadow-disable.html: Makes it unavailable for input and textarea to have an AuthorShadowDOM.
8:12 AM Changeset in webkit [124026] by pfeldman@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: support --line-numbers mapping for SASS
https://bugs.webkit.org/show_bug.cgi?id=92400

Reviewed by Vsevolod Vlasov.

There is --debug-info and --line-numbers ways of referencing the source scss file, adding support for --line-numbers here.

  • inspector/front-end/SASSSourceMapping.js:

(WebInspector.SASSSourceMapping.prototype._resourceAdded.didRequestContent):
(WebInspector.SASSSourceMapping.prototype._resourceAdded):
(_bindUISourceCode):

7:32 AM Changeset in webkit [124025] by keishi@webkit.org
  • 11 edits
    1 move
    4 adds
    3 deletes in trunk

Implement datalist UI for input type color for Chromium
https://bugs.webkit.org/show_bug.cgi?id=92075

Reviewed by Kent Tamura.

Source/Platform:

  • chromium/public/WebLocalizedString.h: Added OtherColorLabel.

Source/WebCore:

Test: platform/chromium/fast/forms/color/color-suggestion-picker-appearance.html

  • rendering/RenderThemeChromiumCommon.cpp:

(WebCore::RenderThemeChromiumCommon::supportsDataListUI): Added color to types supporting datalist.

Source/WebKit/chromium:

Integrated ColorChooserProxy and WebColorChooserClientImpl into ColorChooserUIController.
ColorChooserUIController can control whether to open the color suggestion picker
popup or the color chooser depending on the responses from ColorChooserClient.

  • WebKit.gyp:
  • src/ChromeClientImpl.cpp:

(WebKit::ChromeClientImpl::createColorChooser): Returns ColorChooserUIController which is a ColorChooser.
(WebKit::ChromeClientImpl::createWebColorChooser): Returns WebColorChooser that was created by Chromium.

  • src/ChromeClientImpl.h:

(WebKit):
(ChromeClientImpl):

  • src/ColorChooserProxy.cpp: Removed.
  • src/ColorChooserProxy.h: Removed.
  • src/ColorChooserUIController.cpp: Added.

(WebKit):
(WebKit::ColorChooserUIController::ColorChooserUIController): Controls the UI for color chooser. Opens the color suggestion picker popup or color chooser depending on the ColorChooserClient.
(WebKit::ColorChooserUIController::~ColorChooserUIController):
(WebKit::ColorChooserUIController::setSelectedColor):
(WebKit::ColorChooserUIController::endChooser): This is called by WebCore so we close both the popup and the color chooser.
(WebKit::ColorChooserUIController::didChooseColor):
(WebKit::ColorChooserUIController::didEndChooser):
(WebKit::ColorChooserUIController::contentSize): The popup will be resized later from JS so we return an arbitrary size.
(WebKit::ColorChooserUIController::writeDocument):
(WebKit::ColorChooserUIController::setValueAndClosePopup): Performs action based on the numValue.
(WebKit::ColorChooserUIController::didClosePopup):
(WebKit::ColorChooserUIController::openPopup): Opens color chooser suggestion popup.
(WebKit::ColorChooserUIController::closePopup):
(WebKit::ColorChooserUIController::openColorChooser): Opens color chooser.

  • src/ColorChooserUIController.h: Renamed from Source/WebKit/chromium/src/WebColorChooserClientImpl.h.

(WebCore):
(WebKit):
(ColorChooserUIController):

  • src/WebColorChooserClientImpl.cpp: Removed.

LayoutTests:

  • platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png: Added.
  • platform/chromium/TestExpectations:
  • platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.txt: Added.
  • platform/chromium/fast/forms/color/color-suggestion-picker-appearance.html: Added. Tests color suggestion picker popup appearance.
  • platform/chromium/fast/forms/datalist/input-list-expected.txt:
7:23 AM Changeset in webkit [124024] by allan.jensen@nokia.com
  • 2 edits in trunk/Source/WebCore

Wheel events on a page with frames are not handled in fixed layout
https://bugs.webkit.org/show_bug.cgi?id=90550

Reviewed by Antonio Gomes.

Based on patch by Andras Becsi.

Frame-rect size is not the right value to check against to see if the document
can be contained within the full visible content rect, since it does not handle
fixedVisibleContentRect. Instead visibleContentRect(true) should be used which
returns the full visible content rect disregarding scrollbars, and which is
the same a frame-rect size when fixedVisibleContentRect is not set.

  • platform/ScrollView.cpp:

(WebCore::ScrollView::updateScrollbars):

7:11 AM Changeset in webkit [124023] by allan.jensen@nokia.com
  • 6 edits in trunk

Source/WebCore: There is no way to tell whether an element can be activated or not
https://bugs.webkit.org/show_bug.cgi?id=92093

Reviewed by Antonio Gomes.

This patch adds the willRespondToMouseClickEvents and willRespondToMouseMoveEvents
functions, named after similar functions in the iOS fork of WebKit.

Touch-adjustment will now use these two functions, which improves accuracy when
targeting shadow-dom elements, and also means touch adjustment will prefer enabled
form-elements over disabled ones.

Test: touchadjustment/disabled-formelements.html

  • dom/Node.cpp:

(WebCore::Node::willRespondToMouseMoveEvents):
(WebCore::Node::willRespondToMouseClickEvents):

  • dom/Node.h:

(Node):

  • editing/DeleteButton.h:
  • html/HTMLAnchorElement.cpp:

(WebCore::HTMLAnchorElement::willRespondToMouseClickEvents):

  • html/HTMLAnchorElement.h:

(HTMLAnchorElement):

  • html/HTMLButtonElement.cpp:

(WebCore::HTMLButtonElement::willRespondToMouseClickEvents):

  • html/HTMLButtonElement.h:

(HTMLButtonElement):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::willRespondToMouseClickEvents):

  • html/HTMLInputElement.h:

(HTMLInputElement):

  • html/HTMLLabelElement.cpp:

(WebCore::HTMLLabelElement::willRespondToMouseClickEvents):

  • html/HTMLLabelElement.h:

(HTMLLabelElement):

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::willRespondToMouseClickEvents):

  • html/HTMLMediaElement.h:
  • html/HTMLSummaryElement.cpp:

(WebCore::HTMLSummaryElement::willRespondToMouseClickEvents):

  • html/HTMLSummaryElement.h:

(HTMLSummaryElement):

  • html/shadow/CalendarPickerElement.cpp:

(WebCore::CalendarPickerElement::willRespondToMouseClickEvents):

  • html/shadow/CalendarPickerElement.h:

(CalendarPickerElement):

  • html/shadow/MediaControlElements.cpp:

(WebCore::MediaControlTimelineElement::willRespondToMouseClickEvents):
(WebCore::MediaControlTimelineElement::setPosition):
(WebCore::MediaControlVolumeSliderElement::willRespondToMouseMoveEvents):
(WebCore::MediaControlVolumeSliderElement::willRespondToMouseClickEvents):

  • html/shadow/MediaControlElements.h:

(MediaControlTimelineElement):
(MediaControlVolumeSliderElement):

  • html/shadow/MediaControlRootElement.h:
  • html/shadow/SliderThumbElement.cpp:

(WebCore::SliderThumbElement::willRespondToMouseMoveEvents):
(WebCore::SliderThumbElement::willRespondToMouseClickEvents):

  • html/shadow/SliderThumbElement.h:

(SliderThumbElement):

  • html/shadow/TextControlInnerElements.cpp:

(WebCore::SearchFieldResultsButtonElement::willRespondToMouseClickEvents):
(WebCore::SearchFieldCancelButtonElement::willRespondToMouseClickEvents):
(WebCore::SpinButtonElement::willRespondToMouseMoveEvents):
(WebCore::SpinButtonElement::willRespondToMouseClickEvents):
(WebCore::InputFieldSpeechButtonElement::willRespondToMouseClickEvents):

  • html/shadow/TextControlInnerElements.h:

(SearchFieldResultsButtonElement):
(SearchFieldCancelButtonElement):
(SpinButtonElement):

  • html/shadow/TextFieldDecorationElement.cpp:

(WebCore::TextFieldDecorationElement::willRespondToMouseClickEvents):

  • html/shadow/TextFieldDecorationElement.h:

(TextFieldDecorationElement):

  • page/TouchAdjustment.cpp:

(WebCore::TouchAdjustment::nodeRespondsToTapGesture):

Source/WebKit/gtk: [Gtk] Add WK1 API for snapshot retrieval
https://bugs.webkit.org/show_bug.cgi?id=92261

Reviewed by Martin Robinson.

Add API to WebKitWebView to retrieve a snapshot of its
visible contents as a cairo_surface_t.

  • docs/webkitgtk-sections.txt: Add new symbols.
  • webkit/webkitwebview.cpp:

(webkit_web_view_get_snapshot): New
method to paint a webview snapshot.

  • webkit/webkitwebview.h: Ditto.

LayoutTests: There is no way to tell whether an element can be activated or not
https://bugs.webkit.org/show_bug.cgi?id=92093

Reviewed by Antonio Gomes.

Tests that enabled formelements are now preferred over disabled formelements.

  • touchadjustment/disabled-formelements-expected.txt: Added.
  • touchadjustment/disabled-formelements.html: Added.
6:33 AM Changeset in webkit [124022] by allan.jensen@nokia.com
  • 29 edits
    2 adds in trunk

There is no way to tell whether an element can be activated or not
https://bugs.webkit.org/show_bug.cgi?id=92093

Reviewed by Antonio Gomes.

Source/WebCore:

This patch adds the willRespondToMouseClickEvents and willRespondToMouseMoveEvents
functions, named after similar functions in the iOS fork of WebKit.

Touch-adjustment will now use these two functions, which improves accuracy when
targeting shadow-dom elements, and also means touch adjustment will prefer enabled
form-elements over disabled ones.

Test: touchadjustment/disabled-formelements.html

  • dom/Node.cpp:

(WebCore::Node::willRespondToMouseMoveEvents):
(WebCore::Node::willRespondToMouseClickEvents):

  • dom/Node.h:

(Node):

  • editing/DeleteButton.h:
  • html/HTMLAnchorElement.cpp:

(WebCore::HTMLAnchorElement::willRespondToMouseClickEvents):

  • html/HTMLAnchorElement.h:

(HTMLAnchorElement):

  • html/HTMLButtonElement.cpp:

(WebCore::HTMLButtonElement::willRespondToMouseClickEvents):

  • html/HTMLButtonElement.h:

(HTMLButtonElement):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::willRespondToMouseClickEvents):

  • html/HTMLInputElement.h:

(HTMLInputElement):

  • html/HTMLLabelElement.cpp:

(WebCore::HTMLLabelElement::willRespondToMouseClickEvents):

  • html/HTMLLabelElement.h:

(HTMLLabelElement):

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::willRespondToMouseClickEvents):

  • html/HTMLMediaElement.h:
  • html/HTMLSummaryElement.cpp:

(WebCore::HTMLSummaryElement::willRespondToMouseClickEvents):

  • html/HTMLSummaryElement.h:

(HTMLSummaryElement):

  • html/shadow/CalendarPickerElement.cpp:

(WebCore::CalendarPickerElement::willRespondToMouseClickEvents):

  • html/shadow/CalendarPickerElement.h:

(CalendarPickerElement):

  • html/shadow/MediaControlElements.cpp:

(WebCore::MediaControlTimelineElement::willRespondToMouseClickEvents):
(WebCore::MediaControlTimelineElement::setPosition):
(WebCore::MediaControlVolumeSliderElement::willRespondToMouseMoveEvents):
(WebCore::MediaControlVolumeSliderElement::willRespondToMouseClickEvents):

  • html/shadow/MediaControlElements.h:

(MediaControlTimelineElement):
(MediaControlVolumeSliderElement):

  • html/shadow/MediaControlRootElement.h:
  • html/shadow/SliderThumbElement.cpp:

(WebCore::SliderThumbElement::willRespondToMouseMoveEvents):
(WebCore::SliderThumbElement::willRespondToMouseClickEvents):

  • html/shadow/SliderThumbElement.h:

(SliderThumbElement):

  • html/shadow/TextControlInnerElements.cpp:

(WebCore::SearchFieldResultsButtonElement::willRespondToMouseClickEvents):
(WebCore::SearchFieldCancelButtonElement::willRespondToMouseClickEvents):
(WebCore::SpinButtonElement::willRespondToMouseMoveEvents):
(WebCore::SpinButtonElement::willRespondToMouseClickEvents):
(WebCore::InputFieldSpeechButtonElement::willRespondToMouseClickEvents):

  • html/shadow/TextControlInnerElements.h:

(SearchFieldResultsButtonElement):
(SearchFieldCancelButtonElement):
(SpinButtonElement):

  • html/shadow/TextFieldDecorationElement.cpp:

(WebCore::TextFieldDecorationElement::willRespondToMouseClickEvents):

  • html/shadow/TextFieldDecorationElement.h:

(TextFieldDecorationElement):

  • page/TouchAdjustment.cpp:

(WebCore::TouchAdjustment::nodeRespondsToTapGesture):

LayoutTests:

Tests that enabled formelements are now preferred over disabled formelements.

  • touchadjustment/disabled-formelements-expected.txt: Added.
  • touchadjustment/disabled-formelements.html: Added.
6:29 AM Changeset in webkit [124021] by vsevik@chromium.org
  • 8 edits in trunk

Web Inspector: Content size variables in NetworkResourcesData should have size_t type instead of int.
https://bugs.webkit.org/show_bug.cgi?id=92618

Reviewed by Yury Semikhatsky.

Source/WebCore:

Changed content size variables type in NetworkResourcesData from int to size_t.
Drive-by: Switched String length calculation to recently added StringImpl's sizeInBytes.

  • inspector/NetworkResourcesData.cpp:

(WebCore::NetworkResourcesData::ResourceData::removeContent):
(WebCore::NetworkResourcesData::ResourceData::dataLength):
(WebCore::NetworkResourcesData::ResourceData::appendData):
(WebCore::NetworkResourcesData::ResourceData::decodeDataToContent):
(WebCore::NetworkResourcesData::setResourceContent):
(WebCore::NetworkResourcesData::maybeAddResourceData):
(WebCore::NetworkResourcesData::maybeDecodeDataToContent):
(WebCore::NetworkResourcesData::setResourcesDataSizeLimits):
(WebCore::NetworkResourcesData::ensureFreeSpace):

  • inspector/NetworkResourcesData.h:

(ResourceData):
(NetworkResourcesData):

LayoutTests:

  • http/tests/inspector/network/network-content-replacement-embed-expected.txt:
  • http/tests/inspector/network/network-content-replacement-embed.html:
  • http/tests/inspector/network/network-content-replacement-xhr-expected.txt:
  • http/tests/inspector/network/network-content-replacement-xhr.html:
6:21 AM Changeset in webkit [124020] by Csaba Osztrogonác
  • 2 edits in trunk/Tools

[Qt][NRWT] REGRESSION(123729): Forcing pixel tests with -p doesn't work
https://bugs.webkit.org/show_bug.cgi?id=92627

Patch by Balazs Kelemen <kbalazs@webkit.org> on 2012-07-30
Reviewed by Noam Rosenthal.

Remove the default behavior I added in r123729 so that we run all tests as pixel
test with -p. It was intentional but it seems like we don't have consensus on
that we want it.

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

(QtPort._supports_switching_pixel_tests_per_test):

6:20 AM Changeset in webkit [124019] by hayato@chromium.org
  • 3 edits in trunk/Source/WebCore

Remove an useless member variable, m_shouldPreventDispatch, from EventDispatcher.
https://bugs.webkit.org/show_bug.cgi?id=92625

Reviewed by Hajime Morita.

EventDispatcher::m_shouldPreventDispatch does not have any effects. We can remove that.

No new tests, no behavior change.

  • dom/EventDispatcher.cpp:

(WebCore::EventDispatcher::EventDispatcher):
(WebCore::EventDispatcher::dispatchEvent):

  • dom/EventDispatcher.h:

(EventDispatcher):

6:17 AM Changeset in webkit [124018] by Csaba Osztrogonác
  • 3 edits in trunk/LayoutTests

[Qt][WK1] Gardening after r123988. It made fast/writing-mode/flipped-blocks-hit-test-line-edges.html fail
https://bugs.webkit.org/show_bug.cgi?id=92636

Patch by János Badics <János Badics> on 2012-07-30
Reviewed by Csaba Osztrogonác.

  • platform/qt-4.8/Skipped:
  • platform/qt-5.0-wk1/Skipped:
5:59 AM Changeset in webkit [124017] by yurys@chromium.org
  • 10 edits
    1 add in trunk/Source/WebCore

Web Inspector: make MemoryInstrumentation methods private
https://bugs.webkit.org/show_bug.cgi?id=92379

Reviewed by Vsevolod Vlasov.

MemoryInstrumentation was refactored.

  • All reporting methods on MemoryInstrumentation except add*Object are private to enforce MemoryClassInfo usage.
  • MemoryInstrumentation::Add*Member methods renamed to Add*Object
  • String reporting is implemented directly in the MemoryInstrumentation, not in its descendants.
  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/v8/ScriptProfiler.cpp:

(WebCore::ScriptProfiler::collectBindingMemoryInfo):

  • dom/MemoryInstrumentation.cpp: Added.

(WebCore):
(WebCore::MemoryInstrumentation::addString):

  • dom/MemoryInstrumentation.h:

(WebCore::MemoryInstrumentation::addInstrumentedObject):
(WebCore::MemoryInstrumentation::addObject):
(MemoryInstrumentation):
(InstrumentedPointerBase):
(WebCore::MemoryInstrumentation::InstrumentedPointerBase::~InstrumentedPointerBase):
(InstrumentedPointer):
(WebCore::MemoryInstrumentation::InstrumentedPointer::InstrumentedPointer):
(WebCore::MemoryInstrumentation::OwningTraits::addInstrumentedObject):
(WebCore::MemoryInstrumentation::OwningTraits::addObject):
(WebCore::MemoryInstrumentation::addInstrumentedObjectImpl):
(WebCore::MemoryClassInfo::addInstrumentedMember):
(WebCore::MemoryClassInfo::addMember):
(WebCore):
(WebCore::MemoryInstrumentation::addObjectImpl):
(WebCore::MemoryInstrumentation::addInstrumentedCollection):
(WebCore::MemoryInstrumentation::calculateContainerSize):

  • inspector/InspectorMemoryAgent.cpp:

(WebCore):

5:51 AM Changeset in webkit [124016] by apavlov@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: [Styles] No color swatch for the SVG "fill" and "stroke" property values
https://bugs.webkit.org/show_bug.cgi?id=92638

Reviewed by Vsevolod Vlasov.

Added the "fill" and "stroke" properties to the list of color-aware properties.

  • inspector/front-end/CSSKeywordCompletions.js:
5:21 AM Changeset in webkit [124015] by vsevik@chromium.org
  • 24 edits
    4 deletes in trunk

Unreviewed, rolling out r124000.
http://trac.webkit.org/changeset/124000
https://bugs.webkit.org/show_bug.cgi?id=92632

seems to have broken chromium Range_InstanceSizeUnknown unit
test across many platforms (Requested by tomhudson on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-30

.:

  • Source/autotools/symbols.filter:

Source/WebCore:

  • WebCore.exp.in:
  • inspector/InspectorController.cpp:

(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::inspectedPageDestroyed):

  • inspector/InspectorInstrumentation.cpp:

(WebCore):

  • inspector/InspectorInstrumentation.h:

(InspectorInstrumentation):

  • inspector/InspectorResourceAgent.cpp:

(WebCore::InspectorResourceAgent::didReceiveData):
(WebCore::InspectorResourceAgent::getResponseBody):

  • inspector/InspectorResourceAgent.h:

(InspectorResourceAgent):

  • inspector/NetworkResourcesData.cpp:

(WebCore::NetworkResourcesData::ResourceData::ResourceData):
(WebCore::NetworkResourcesData::ResourceData::setContent):
(WebCore::NetworkResourcesData::setResourceContent):

  • inspector/NetworkResourcesData.h:

(ResourceData):
(WebCore::NetworkResourcesData::ResourceData::cachedResource):
(NetworkResourcesData):

  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::~CachedResource):
(WebCore::CachedResource::removeClient):
(WebCore::CachedResource::deleteIfPossible):
(WebCore):

  • loader/cache/CachedResource.h:

(CachedResource):

  • loader/cache/CachedResourceLoader.cpp:

(WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired):
(WebCore::CachedResourceLoader::clearPreloads):

  • loader/cache/CachedResourceLoader.h:

(CachedResourceLoader):

  • loader/cache/MemoryCache.cpp:

(WebCore::MemoryCache::evict):

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

(Internals):

  • testing/Internals.idl:

Source/WebKit2:

  • win/WebKit2.def:
  • win/WebKit2CFLite.def:

LayoutTests:

  • http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt: Removed.
  • http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html: Removed.
  • http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt: Removed.
  • http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html: Removed.
4:38 AM Changeset in webkit [124014] by hayato@chromium.org
  • 2 edits in trunk/Source/WebCore

Remove an unused member variable, m_originalTarget, from EventDispatcher.
https://bugs.webkit.org/show_bug.cgi?id=92614

Reviewed by Andreas Kling.

No one uses EventDispatcher::m_originalTarget.

No new tests, no behavior change.

  • dom/EventDispatcher.h:

(EventDispatcher):

4:33 AM Changeset in webkit [124013] by jocelyn.turcotte@nokia.com
  • 11 edits in trunk/Source/WebKit2

[Qt] Remove accurateVisibleContentsPosition and use a FloatRect for visibleContentsRect instead
https://bugs.webkit.org/show_bug.cgi?id=92536

Reviewed by Noam Rosenthal.

AccurateVisibleContentsPosition carries the same information as visibleContentsRect.location() and
is needed for fixed layer position updates.
This patch instead uses a FloatRect for the visible contents rect from the web view down to the
LayerCoordinatorProxy, and converts it to an IntRect at this moment, before sending it to the
web process.
This also moves the check to prevent sending the same rect to the moment of the conversion
in LayerTreeCoordinatorProxy to fix a bug where the fixed layer deltas wouldn't be updated
unless the integer part of position components changed.

  • UIProcess/API/qt/qquickwebview.cpp:

(QQuickWebViewLegacyPrivate::updateViewportSize):

  • UIProcess/DrawingAreaProxy.h:

(WebKit::DrawingAreaProxy::setVisibleContentsRect):

  • UIProcess/DrawingAreaProxyImpl.cpp:

(WebKit::DrawingAreaProxyImpl::setVisibleContentsRect):

  • UIProcess/DrawingAreaProxyImpl.h:

(DrawingAreaProxyImpl):

  • UIProcess/LayerTreeCoordinatorProxy.cpp:

(WebKit::LayerTreeCoordinatorProxy::LayerTreeCoordinatorProxy):
(WebKit::LayerTreeCoordinatorProxy::setVisibleContentsRect):

  • UIProcess/LayerTreeCoordinatorProxy.h:

(LayerTreeCoordinatorProxy):

  • UIProcess/WebLayerTreeRenderer.cpp:

(WebKit::WebLayerTreeRenderer::WebLayerTreeRenderer):
(WebKit::WebLayerTreeRenderer::setVisibleContentsRect):
(WebKit::WebLayerTreeRenderer::adjustPositionForFixedLayers):

  • UIProcess/WebLayerTreeRenderer.h:

(WebLayerTreeRenderer):

  • UIProcess/qt/QtViewportHandler.cpp:

(WebKit::QtViewportHandler::visibleContentsRect):
(WebKit::QtViewportHandler::informVisibleContentChange):

  • UIProcess/qt/QtViewportHandler.h:

(QtViewportHandler):

4:31 AM Changeset in webkit [124012] by jocelyn.turcotte@nokia.com
  • 5 edits in trunk/Source

[Qt] Fix issues remaining with fixed positioned layers
https://bugs.webkit.org/show_bug.cgi?id=92528

Reviewed by Noam Rosenthal.

Source/WebCore:

  • platform/graphics/texmap/TextureMapperLayer.cpp:

(WebCore::TextureMapperLayer::syncCompositingStateSelf):
Make sure that the delta is used when syncCompositingStateSelf is called afterward.
(WebCore::TextureMapperLayer::setScrollPositionDeltaIfNeeded):

  • platform/graphics/texmap/TextureMapperLayer.h:

Use a FloatSize instead of an IntPoint for the delta.
(TextureMapperLayer):
(WebCore::TextureMapperLayer::adjustedPosition):

Source/WebKit2:

This partially fixes jittering of fixed layers when zoomed in and the
blurriness of rendered tiles of the non-composited contents layer.

  • UIProcess/WebLayerTreeRenderer.cpp:

(WebKit::boundedScrollPosition):
(WebKit::WebLayerTreeRenderer::paintToCurrentGLContext):
Remove the adjustment on the root layer. This cancels setPixelAligned and causes the blurriness.
(WebKit::WebLayerTreeRenderer::adjustPositionForFixedLayers):
Use m_accurateVisibleContentsPosition to calculate the delta.
(WebKit::WebLayerTreeRenderer::didChangeScrollPosition):

3:33 AM Changeset in webkit [124011] by Kaustubh Atrawalkar
  • 4 edits in trunk/Source/WebKit/chromium

[DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Hajime Morita.

Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.

  • public/WebFrame.h:

(WebFrame):

  • src/WebFrameImpl.cpp:

(WebKit):

  • src/WebFrameImpl.h:

(WebFrameImpl):

3:25 AM Changeset in webkit [124010] by Patrick Gansterer
  • 13 edits
    3 adds
    2 deletes in trunk

Replace UnicodeWinCE with UnicodeWchar https://bugs.webkit.org/show_bug.cgi?id=92539

Reviewed by Ryosuke Niwa.

UnicodeWinCE never contained WinCE specific code. UnicodeWchar
is a replacement for it, which is mainly based on the functions
from <wchar.h>. It is ment as a minimal Unicode backend, which
can be used very easy and has no external dependencies.

.:

  • Source/cmake/OptionsWinCE.cmake:

Source/WebCore:

  • platform/text/TextEncoding.cpp:

(WebCore::TextEncoding::encode):

  • platform/text/TextEncodingRegistry.cpp:

(WebCore::extendTextCodecMaps):

Source/WebKit/blackberry:

  • WebCoreSupport/AboutDataUseFeatures.in:

Source/WTF:

  • WTF.gyp/WTF.gyp:
  • WTF.gypi:
  • wtf/Platform.h:
  • wtf/PlatformWinCE.cmake:
  • wtf/unicode/Unicode.h:
  • wtf/unicode/wchar/UnicodeWchar.cpp: Added.

(Unicode):
(WTF::Unicode::category):
(WTF::Unicode::combiningClass):
(WTF::Unicode::direction):
(WTF::Unicode::decompositionType):
(WTF::Unicode::hasLineBreakingPropertyComplexContext):
(WTF::Unicode::mirroredChar):
(WTF::Unicode::convertWithFunction):
(WTF::Unicode::foldCase):
(WTF::Unicode::toLower):
(WTF::Unicode::toUpper):

  • wtf/unicode/wchar/UnicodeWchar.h: Added.

(Unicode):
(WTF::Unicode::isAlphanumeric):
(WTF::Unicode::isDigit):
(WTF::Unicode::isLetter):
(WTF::Unicode::isLower):
(WTF::Unicode::isPrintableChar):
(WTF::Unicode::isPunct):
(WTF::Unicode::isSpace):
(WTF::Unicode::isUpper):
(WTF::Unicode::isArabicChar):
(WTF::Unicode::isSeparatorSpace):
(WTF::Unicode::foldCase):
(WTF::Unicode::toLower):
(WTF::Unicode::toUpper):
(WTF::Unicode::toTitleCase):
(WTF::Unicode::umemcasecmp):

  • wtf/unicode/wince/UnicodeWinCE.cpp: Removed.
  • wtf/unicode/wince/UnicodeWinCE.h: Removed.
2:45 AM Changeset in webkit [124009] by hayato@chromium.org
  • 2 edits in trunk/Source/WebCore

Remove unnecessary code which set event's target from EventDispatcher::dispatchEvent.
https://bugs.webkit.org/show_bug.cgi?id=92613

Reviewed by Hajime Morita.

EventContext::handleLocalEvents does all required jobs so we don't
need to set target in EventDispacher::dispatchEvent() for TARGET phase.

No new tests, no behavior change.

  • dom/EventDispatcher.cpp:

(WebCore::EventDispatcher::dispatchEvent):

2:29 AM Changeset in webkit [124008] by commit-queue@webkit.org
  • 11 edits
    3 copies
    1 move
    4 deletes in trunk

Unreviewed, rolling out r124004.
http://trac.webkit.org/changeset/124004
https://bugs.webkit.org/show_bug.cgi?id=92622

Broke Android build (Requested by keishi on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-30

Source/Platform:

  • chromium/public/WebLocalizedString.h:

Source/WebCore:

  • rendering/RenderThemeChromiumCommon.cpp:

(WebCore::RenderThemeChromiumCommon::supportsDataListUI):

Source/WebKit/chromium:

  • WebKit.gyp:
  • src/ChromeClientImpl.cpp:

(WebKit::ChromeClientImpl::createColorChooser):

  • src/ChromeClientImpl.h:

(WebCore):
(ChromeClientImpl):

  • src/ColorChooserProxy.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.

(WebKit):
(WebKit::ColorChooserProxy::ColorChooserProxy):
(WebKit::ColorChooserProxy::~ColorChooserProxy):
(WebKit::ColorChooserProxy::setSelectedColor):
(WebKit::ColorChooserProxy::endChooser):

  • src/ColorChooserProxy.h: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.

(WebKit):
(ColorChooserProxy):

  • src/ColorChooserUIController.cpp: Removed.
  • src/WebColorChooserClientImpl.cpp: Copied from Source/WebKit/chromium/src/ColorChooserUIController.h.

(WebKit):
(WebKit::WebColorChooserClientImpl::WebColorChooserClientImpl):
(WebKit::WebColorChooserClientImpl::~WebColorChooserClientImpl):
(WebKit::WebColorChooserClientImpl::didChooseColor):
(WebKit::WebColorChooserClientImpl::didEndChooser):

  • src/WebColorChooserClientImpl.h: Renamed from Source/WebKit/chromium/src/ColorChooserUIController.h.

(WebCore):
(WebKit):
(WebColorChooserClientImpl):

LayoutTests:

  • platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png: Removed.
  • platform/chromium/TestExpectations:
  • platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.txt: Removed.
  • platform/chromium/fast/forms/color/color-suggestion-picker-appearance.html: Removed.
  • platform/chromium/fast/forms/datalist/input-list-expected.txt:
2:25 AM Changeset in webkit [124007] by pfeldman@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: element tag disappears after editing
https://bugs.webkit.org/show_bug.cgi?id=92385

Reviewed by Vsevolod Vlasov.

This has regressed when we started hiding elements panel upon
batch updates. Narrowing hiding cases, updating selection
in on-screen mode only.

  • inspector/front-end/ElementsTreeOutline.js:

(WebInspector.ElementsTreeElement.prototype.updateSelection):

2:05 AM Changeset in webkit [124006] by yurys@chromium.org
  • 5 edits in trunk/Source

Web Inspector: move StringImpl size calculation to StringImpl
https://bugs.webkit.org/show_bug.cgi?id=92359

Reviewed by Pavel Feldman.

Moved stringSize(StringImpl*) implementation from InspectorMemoryAgent to
StringImpl::sizeInBytes();

Source/WebCore:

  • inspector/InspectorMemoryAgent.cpp:

(WebCore):

Source/WTF:

  • wtf/text/StringImpl.cpp:

(WTF::StringImpl::sizeInBytes):
(WTF):

  • wtf/text/StringImpl.h:

(StringImpl):

1:57 AM Changeset in webkit [124005] by pfeldman@chromium.org
  • 3 edits in trunk/Source/WebCore

Web Inspector: workers inspector is broken in the remote debugging mode
https://bugs.webkit.org/show_bug.cgi?id=92540

Reviewed by Yury Semikhatsky.

The problem was that worker manager re-used complete url with query parameters
for spin-off worker front-ends. As a result, in case of remote debugging, newly
created front-ends were connecting to the same web socket (because of the ws parameter).

  • inspector/front-end/WorkerManager.js:

(WebInspector.WorkerManager.isDedicatedWorkerFrontend):

  • inspector/front-end/inspector.js:
1:33 AM Changeset in webkit [124004] by keishi@webkit.org
  • 11 edits
    1 move
    7 adds
    3 deletes in trunk

Implement datalist UI for input type color for Chromium
https://bugs.webkit.org/show_bug.cgi?id=92075

Reviewed by Kent Tamura.

Source/Platform:

  • chromium/public/WebLocalizedString.h: Added OtherColorLabel.

Source/WebCore:

Test: platform/chromium/fast/forms/color/color-suggestion-picker-appearance.html

  • rendering/RenderThemeChromiumCommon.cpp:

(WebCore::RenderThemeChromiumCommon::supportsDataListUI): Added color to types supporting datalist.

Source/WebKit/chromium:

Integrated ColorChooserProxy and WebColorChooserClientImpl into ColorChooserUIController.
ColorChooserUIController can control whether to open the color suggestion picker
popup or the color chooser depending on the responses from ColorChooserClient.

  • WebKit.gyp:
  • src/ChromeClientImpl.cpp:

(WebKit::ChromeClientImpl::createColorChooser): Returns ColorChooserUIController which is a ColorChooser.
(WebKit::ChromeClientImpl::createWebColorChooser): Returns WebColorChooser that was created by Chromium.

  • src/ChromeClientImpl.h:

(WebKit):
(ChromeClientImpl):

  • src/ColorChooserProxy.cpp: Removed.
  • src/ColorChooserProxy.h: Removed.
  • src/ColorChooserUIController.cpp: Added.

(WebKit):
(WebKit::ColorChooserUIController::ColorChooserUIController): Controls the UI for color chooser. Opens the color suggestion picker popup or color chooser depending on the ColorChooserClient.
(WebKit::ColorChooserUIController::~ColorChooserUIController):
(WebKit::ColorChooserUIController::setSelectedColor):
(WebKit::ColorChooserUIController::endChooser): This is called by WebCore so we close both the popup and the color chooser.
(WebKit::ColorChooserUIController::didChooseColor):
(WebKit::ColorChooserUIController::didEndChooser):
(WebKit::ColorChooserUIController::contentSize): The popup will be resized later from JS so we return an arbitrary size.
(WebKit::ColorChooserUIController::writeDocument):
(WebKit::ColorChooserUIController::setValueAndClosePopup): Performs action based on the numValue.
(WebKit::ColorChooserUIController::didClosePopup):
(WebKit::ColorChooserUIController::openPopup): Opens color chooser suggestion popup.
(WebKit::ColorChooserUIController::closePopup):
(WebKit::ColorChooserUIController::openColorChooser): Opens color chooser.

  • src/ColorChooserUIController.h: Renamed from Source/WebKit/chromium/src/WebColorChooserClientImpl.h.

(WebCore):
(WebKit):
(ColorChooserUIController):

  • src/WebColorChooserClientImpl.cpp: Removed.

LayoutTests:

  • platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png: Added.
  • platform/chromium/TestExpectations:
  • platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.txt: Added.
  • platform/chromium/fast/forms/color/color-suggestion-picker-appearance.html: Added. Tests color suggestion picker popup appearance.
  • platform/chromium/fast/forms/datalist/input-list-expected.txt:
1:28 AM Changeset in webkit [124003] by mario@webkit.org
  • 4 edits in trunk

REGRESSION (r123767): platform/gtk/accessibility/object-with-title.html failing on GTK
https://bugs.webkit.org/show_bug.cgi?id=92477

Reviewed by Chris Fleizach.

Source/WebCore:

Consider title and accessibilityDescription together with helpText to
decide whether an object should be exposed in the accessibility tree.

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::accessibilityIsIgnored):

LayoutTests:

Remove passing test from TestExpectations.

  • platform/gtk/TestExpectations:
1:18 AM Changeset in webkit [124002] by Simon Hausmann
  • 2 edits in trunk/Source/WebKit

Unreviewed Qt/Mac build fix: Use libWebKitSystemInterfaceMountainLion.a
on Mountain Lion.

  • WebKit1.pri:
12:58 AM Changeset in webkit [124001] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

[EFL][WTR] Enforce SHIFT modifier to upper case keys in event sender.
https://bugs.webkit.org/show_bug.cgi?id=92366

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-30
Reviewed by Antonio Gomes.

Add SHIFT modifier for capital letters as VK_
codes do not distinguish between lows and caps and also to be consistent
with other ports which send caps as lowercase letters with the shift key down.

  • WebKitTestRunner/efl/EventSenderProxyEfl.cpp:

(WTR::EventSenderProxy::keyDown):

12:54 AM Changeset in webkit [124000] by vsevik@chromium.org
  • 24 edits
    4 adds in trunk

Web Inspector: Resource agent's reference to cached resources should be weak.
https://bugs.webkit.org/show_bug.cgi?id=92108

Reviewed by Pavel Feldman.

.:

  • Source/autotools/symbols.filter:

Source/WebCore:

NetworkResourcesData now stores a raw pointer to CachedResource.
CachedResource now notifies InspectorInstrumentation that it will be destroyed.
InspectorInstrumentation stores a set of InstrumentingAgents and broadcasts willDestroyCachedResource event to all available resourceAgents.
Destroyed resources content is saved to NetworkResourcesData.

Tests: http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html

http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html

  • WebCore.exp.in:
  • inspector/InspectorController.cpp:

(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::inspectedPageDestroyed):

  • inspector/InspectorInstrumentation.cpp:

(WebCore):
(WebCore::InspectorInstrumentation::willDestroyCachedResourceImpl):
(WebCore::InspectorInstrumentation::registerInstrumentingAgents):
(WebCore::InspectorInstrumentation::unregisterInstrumentingAgents):

  • inspector/InspectorInstrumentation.h:

(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::willDestroyCachedResource):
(WebCore):

  • inspector/InspectorResourceAgent.cpp:

(WebCore::InspectorResourceAgent::didReceiveData):
(WebCore::InspectorResourceAgent::willDestroyCachedResource):
(WebCore):
(WebCore::InspectorResourceAgent::getResponseBody):

  • inspector/InspectorResourceAgent.h:

(InspectorResourceAgent):

  • inspector/NetworkResourcesData.cpp:

(WebCore::NetworkResourcesData::ResourceData::ResourceData):
(WebCore::NetworkResourcesData::ResourceData::setContent):
(WebCore::NetworkResourcesData::setResourceContent):
(WebCore::NetworkResourcesData::removeCachedResource):
(WebCore):

  • inspector/NetworkResourcesData.h:

(ResourceData):
(WebCore::NetworkResourcesData::ResourceData::base64Encoded):
(WebCore::NetworkResourcesData::ResourceData::cachedResource):
(NetworkResourcesData):

  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::~CachedResource):
(WebCore::CachedResource::removeClient):
(WebCore::CachedResource::deleteIfPossible):
(WebCore):

  • loader/cache/CachedResource.h:

(CachedResource):

  • loader/cache/CachedResourceLoader.cpp:

(WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired):
(WebCore::CachedResourceLoader::garbageCollectDocumentResources):
(WebCore::CachedResourceLoader::clearPreloads):

  • loader/cache/CachedResourceLoader.h:

(CachedResourceLoader):

  • loader/cache/MemoryCache.cpp:

(WebCore::MemoryCache::evict):

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

(WebCore::Internals::garbageCollectDocumentResources):
(WebCore):

  • testing/Internals.h:

(Internals):

  • testing/Internals.idl:

Source/WebKit2:

  • win/WebKit2.def:
  • win/WebKit2CFLite.def:

LayoutTests:

  • http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt: Added.
  • http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html: Added.
  • http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt: Added.
  • http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html: Added.
12:29 AM WebKitIDL edited by haraken@chromium.org
(diff)
12:10 AM WebKitIDL edited by Vineet
Support for [Clamp] extended attribute. (diff)

Jul 29, 2012:

11:25 PM Changeset in webkit [123999] by commit-queue@webkit.org
  • 11 edits in trunk/Source/WebCore

[WK2][EFL] Accelerated compositing support using TextureMapper on Efl WebKit2
https://bugs.webkit.org/show_bug.cgi?id=91583

Patch by YoungTaeck Song <youngtaeck.song@samsung.com> on 2012-07-29
Reviewed by Noam Rosenthal.

This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
This patch adds Texture Mapper related files to PlatformEfl.cmake.
And wrapped TextureMapperLayer and TextureMapperBackingStore with USE(ACCELERATED_COMPOSITING) for fixing building error when disable ACCELERATED_COMPOSITING.

  • CMakeLists.txt:
  • PlatformEfl.cmake:
  • platform/graphics/GraphicsLayer.cpp:

(WebCore):

  • platform/graphics/GraphicsLayer.h:

(GraphicsLayer):

  • platform/graphics/GraphicsLayerAnimation.cpp:
  • platform/graphics/GraphicsLayerAnimation.h:
  • platform/graphics/PlatformLayer.h:

(WebCore):

  • platform/graphics/texmap/TextureMapperBackingStore.cpp:
  • platform/graphics/texmap/TextureMapperBackingStore.h:
  • platform/graphics/texmap/TextureMapperLayer.h:
11:09 PM Changeset in webkit [123998] by commit-queue@webkit.org
  • 10 edits in trunk/Source

[WK2][EFL] TILED_BACKING_STORE support on Efl WebKit2
https://bugs.webkit.org/show_bug.cgi?id=91582

Patch by YoungTaeck Song <youngtaeck.song@samsung.com> on 2012-07-29
Reviewed by Noam Rosenthal.

Source/WebCore:

This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
This patch adds TILED_BACKING_STORE related files to CMakeLists.txt and PlatformEfl.cmake

  • CMakeLists.txt:
  • PlatformEfl.cmake:

Source/WebKit/efl:

Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.

  • WebCoreSupport/ChromeClientEfl.cpp:

(WebCore):
(WebCore::ChromeClientEfl::delegatedScrollRequested):

  • WebCoreSupport/ChromeClientEfl.h:

(ChromeClientEfl):

Source/WebKit2:

This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.

  • UIProcess/API/efl/PageClientImpl.cpp:

(WebKit):
(WebKit::PageClientImpl::pageDidRequestScroll):

  • UIProcess/API/efl/PageClientImpl.h:

(PageClientImpl):

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::contentsSizeChanged):

10:49 PM Changeset in webkit [123997] by keishi@webkit.org
  • 3 edits in trunk/Source/WebCore

Fix removing invalid values from color input suggestions
https://bugs.webkit.org/show_bug.cgi?id=92502

Reviewed by Kent Tamura.

Make ColorInputType::typeMismatchFor() return false for invalid color
values so that they don't appear in the list of suggestions that
ColorInputType::suggestions() returns.

No new tests. Tests to be added in Bug 92075.

  • html/ColorInputType.cpp:

(WebCore::ColorInputType::typeMismatchFor):
(WebCore):

  • html/ColorInputType.h:

(ColorInputType):

10:28 PM Changeset in webkit [123996] by commit-queue@webkit.org
  • 5 edits
    2 adds in trunk

getChannelData should raise exception when index is more than numberOfChannels.
https://bugs.webkit.org/show_bug.cgi?id=92223

Patch by Li Yin <li.yin@intel.com> on 2012-07-29
Reviewed by Kentaro Hara.

Source/WebCore:

Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBuffer-section
In getChannelData function, the index value MUST be less than numberOfChannels
or an exception will be thrown.

Test: webaudio/audiobuffer.html

  • Modules/webaudio/AudioBuffer.cpp:

(WebCore::AudioBuffer::getChannelData):
(WebCore):

  • Modules/webaudio/AudioBuffer.h:

(WebCore):
(AudioBuffer):

  • Modules/webaudio/AudioBuffer.idl: raise exception when index is not less than numberOfChannels.

LayoutTests:

Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBuffer-section
Add test to cover basic attributes of AudioBuffer.

  • webaudio/audiobuffer-expected.txt: Added.
  • webaudio/audiobuffer.html: Added.
10:22 PM Changeset in webkit [123995] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

forward-delete in the last cell of a table moves the caret after the table
https://bugs.webkit.org/show_bug.cgi?id=24250

Patch by Sukolsak Sakshuwong <sukolsak@google.com> on 2012-07-29
Reviewed by Ryosuke Niwa.

Source/WebCore:

The ForwardDelete command moved the cursor after the table when it's invoked
in an empty cell that is the last cell of a table. It also removed the break
element when invoked in an empty cell that is not the last cell of a table.
Make it do nothing inside an empty table cell.

Test: editing/deleting/forward-delete-empty-table-cell.html

  • editing/TypingCommand.cpp:

(WebCore::TypingCommand::forwardDeleteKeyPressed):

LayoutTests:

  • editing/deleting/forward-delete-empty-table-cell-expected.txt: Added.
  • editing/deleting/forward-delete-empty-table-cell.html: Added.
10:17 PM Changeset in webkit [123994] by tkent@chromium.org
  • 3 edits in trunk/LayoutTests

REGRESSION(r123993): fast/forms/date/calendar-picker-type-change-onclick.html fails

  • fast/forms/date/calendar-picker-appearance-expected.txt:
  • fast/forms/date/calendar-picker-appearance.html:

Clear webkitTransitionEnd event handler before notifyDone().

9:19 PM Changeset in webkit [123993] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

Fix opacity issue of fast/forms/date/calendar-picker-appearance.html
https://bugs.webkit.org/show_bug.cgi?id=92605

Reviewed by Hajime Morita.

We need to wait for pixel dumping until CSS transition completion for
the 'main' element, which has transition from opacity:0 to opacity:1.

  • fast/forms/date/calendar-picker-appearance.html:
6:58 PM Changeset in webkit [123992] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Remove unused method HTMLConstructionSiteTask::take(HTMLConstructionSiteTask&)
https://bugs.webkit.org/show_bug.cgi?id=92601

Patch by Kwang Yul Seo <skyul@company100.net> on 2012-07-29
Reviewed by Adam Barth.

This method was introduced in r104000, but has never been used from the beginning.

No functional change.

  • html/parser/HTMLConstructionSite.h:
6:46 PM Changeset in webkit [123991] by bashi@chromium.org
  • 5 edits in trunk/Source/WebCore

[Chromium] HarfBuzzShaper can't handle segmented text run
https://bugs.webkit.org/show_bug.cgi?id=92445

Reviewed by Tony Chang.

Pass the range to be displayed to HarfBuzzShaper. The shaper calculates positions and advances of each glyph
regardless of the range, but only add glyphs which are in the range.

No new tests. platform/chromium-linux/fast/text/international/draw-complex-text-from-to.html should
work as expected once we move to use harfbuzz-ng on linux. Note that the current expectation will need to be rebaselined
because the old hb shaper (ComplexTextController) mishandles the range. |to| should be exclusive. I'll rebaseline
the expectation later.

  • platform/graphics/harfbuzz/FontHarfBuzz.cpp:

(WebCore::Font::drawComplexText): Call shaper.setDrawRange().

  • platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:

(WebCore::HarfBuzzShaper::HarfBuzzShaper):
(WebCore::HarfBuzzShaper::setDrawRange): Added.
(WebCore):
(WebCore::HarfBuzzShaper::shouldDrawCharacterAt): Added.
(WebCore::HarfBuzzShaper::shapeHarfBuzzRuns): Added variables that hold pending advances.
(WebCore::HarfBuzzShaper::setGlyphPositionsForHarfBuzzRun): Add only glyphs which are in the given range to glyphBuffer.

  • platform/graphics/harfbuzz/ng/HarfBuzzShaper.h:

(HarfBuzzShaper):

  • platform/graphics/mac/FontComplexTextMac.cpp:

(WebCore::Font::drawComplexText): Call shaper.setDrawRange().

6:17 PM UsingGitHub edited by morrita@google.com
(diff)
6:13 PM FeatureFlags edited by tkent@chromium.org
Add CSS_COMPOSITING (diff)
5:44 PM Changeset in webkit [123990] by mitz@apple.com
  • 5 edits
    2 adds in trunk

Hit testing in the gap between pages returns incorrect results in flipped blocks writing modes
https://bugs.webkit.org/show_bug.cgi?id=92600

Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/multicol/hit-test-gap-between-pages-flipped.html

  • rendering/RenderBlock.h:

(WebCore::RenderBlock): Promoted offsetForContents() from private to protected, and demoted
adjustPointToColumnContents() back to private.

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::hitTest): Changed to flip the point passed to updateHitTestResults().

  • rendering/RenderView.cpp:

(WebCore::RenderView::updateHitTestResult): Changed to call offsetForContents(), which, as
of r123977, correctly accounts for flippedness.

LayoutTests:

  • fast/multicol/hit-test-gap-between-pages-flipped-expected.txt: Added.
  • fast/multicol/hit-test-gap-between-pages-flipped.html: Added.
4:15 PM Changeset in webkit [123989] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

PropertyNameArray::m_shouldCache is only assigned and never used
https://bugs.webkit.org/show_bug.cgi?id=92598

Reviewed by Dan Bernstein.

  • runtime/PropertyNameArray.h:

(JSC::PropertyNameArray::PropertyNameArray):
(PropertyNameArray):

3:55 PM Changeset in webkit [123988] by mitz@apple.com
  • 9 edits in trunk

In flipped blocks, a point on the top edge of a text box is considered outside the box (and vice versa)
https://bugs.webkit.org/show_bug.cgi?id=92597

Reviewed by Ryosuke Niwa.

Source/WebCore:

This is similar to <http://webkit.org/b/92593> except for RenderText. Fixing this required
fixing some code that creates a point inside a box by setting its y coordinate to the
logical top of the box. In a flipped block, this would be just outside the box.

Enhanced fast/writing-mode/flipped-blocks-hit-test-line-edges.html to cover this.

  • editing/visible_units.cpp:

(WebCore::absoluteLineDirectionPointToLocalPointInBlock): Changed to use
RootInlineBox::blockDirectionPointInLine in the vertical case as well.

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::positionForPointWithInlineChildren): Changed to use
RootInlineBox::blockDirectionPointInLine.

  • rendering/RenderText.cpp:

(WebCore::RenderText::positionForPoint): Changed the strictness of y inequalities based on
the flippedness of the block. This fixes the bug.

  • rendering/RootInlineBox.cpp:

(WebCore::RootInlineBox::blockDirectionPointInLine): Moved the implementation here from the
header, and made it return the bottom in the flipped block case, so that the returned point
is inside the line in that case as well.

  • rendering/RootInlineBox.h:

LayoutTests:

Added hits inside the text to this test.

  • fast/writing-mode/flipped-blocks-hit-test-line-edges-expected.txt:
  • fast/writing-mode/flipped-blocks-hit-test-line-edges.html:
3:36 PM Changeset in webkit [123987] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

[chromium] pass acceleratePainting info to settings
https://bugs.webkit.org/show_bug.cgi?id=92467

Patch by Lu Guanqun <guanqun.lu@intel.com> on 2012-07-29
Reviewed by Eric Seidel.

The acceleratePainting info is not passed into settings correctly so
that GPU composition would not use the code path of accelerated painting.

  • src/WebLayerTreeView.cpp:

(WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):

3:26 PM Changeset in webkit [123986] by rakuco@webkit.org
  • 2 edits in trunk/Tools

[EFL][jhbuild] Make run-with-jhbuild become the jhbuild process itself.
https://bugs.webkit.org/show_bug.cgi?id=92592

Reviewed by Eric Seidel.

Adapt to the changes made to GTK+'s run-with-jhbuild in r123979
and make EFL's run-with-jhbuild call os.execve() instead of
launching a subprocess as well.

This should make it possible to interrupt execution of jhbuild
cleanly.

  • efl/run-with-jhbuild:
3:03 PM Changeset in webkit [123985] by rniwa@webkit.org
  • 4 edits
    1 add in trunk

run-perf-tests should generate a results page
https://bugs.webkit.org/show_bug.cgi?id=92575

Reviewed by Eric Seidel.

PerformanceTests:

Add a results page template. This page includes flot and flot.fillbetween.
jQuery and the json that contains test results are injected by run-perf-tests.

  • resources/results-template.html: Added.

Tools:

Added the ability to generate a results page that summarizes performance test results from
multiple runs of run-perf-tests when --output-json-path is specified and --test-results-server
is not specified. We cannot generate a results page when --test-results-server is specified
because perf-o-matic cannot parse the new JSON format.

The new JSON format is simply an array of the old JSON output. This JSON is then merged into
results-template.html along with jQuery and copied as a HTML file of the same filename as
the output JSON file with a .html extension.

We merge all scripts and the JSON output into the results page as opposed to including them
with the src content attribute to make it standalone so that we may post it on Bugzilla or
e-mail it to someone else without breaking it.

  • Scripts/webkitpy/performance_tests/perftestsrunner.py:

(PerfTestsRunner.run):
(PerfTestsRunner._generate_json): Merge "contents" with the existing JSON file when generating
a results page, and generate the results page from results-template.html merged with jQuery and
the generated JSON output.

  • Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:

(_test_run_with_json_output): Extracted from test_run_with_upload_json to be shared with
several test cases.
(_test_run_with_json_output.mock_upload_json): Ditto.
(test_run_with_json_output): Refactored to use _test_run_with_json_output.
(test_run_generates_results_page): Added. Tests the new feature.
(test_run_with_json_source): Refactored to use _test_run_with_json_output.
(test_run_with_multiple_repositories): Ditto.
(test_run_with_upload_json): Ditto.

2:59 PM Changeset in webkit [123984] by commit-queue@webkit.org
  • 18 edits in trunk

.: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553

Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.

Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html

  • Source/cmake/WebKitFeatures.cmake:
  • Source/cmakeconfig.h.cmake:
  • configure.ac:

Source/JavaScriptCore: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553

Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.

Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html

  • Configurations/FeatureDefines.xcconfig:

Source/WebCore: ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553

Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.

Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html

  • GNUmakefile.am:
  • Configurations/FeatureDefines.xcconfig:

Source/WebKit/chromium: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553

Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.

Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html

  • features.gypi:

Source/WebKit/mac: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553

Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.

Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html

  • Configurations/FeatureDefines.xcconfig:

Tools: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553

Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.

Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html

  • Scripts/webkitperl/FeatureList.pm:

WebKitLibraries: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553

Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.

Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html

  • win/tools/vsprops/FeatureDefines.vsprops:
  • win/tools/vsprops/FeatureDefinesCairo.vsprops:
2:46 PM Changeset in webkit [123983] by Patrick Gansterer
  • 3 edits in trunk/Source/WebKit2

[CMake] Use WEBKIT_CREATE_FORWARDING_HEADERS to generate WK2 forwarding headers
https://bugs.webkit.org/show_bug.cgi?id=83579

Reviewed by Daniel Bates.

Using a list of directories in combination with the WEBKIT_CREATE_FORWARDING_HEADERS
macro allows us to share the common generation of forwarding headers across ports.

  • CMakeLists.txt:
  • PlatformEfl.cmake:
2:02 PM Changeset in webkit [123982] by Patrick Gansterer
  • 2 edits in trunk/Source/WTF

[WIN] Add missing export macro to friend decleration.

Since the declspec is part of the function signature
on windows, we need it at all friend declerations too.

  • wtf/MediaTime.h:
2:02 PM Changeset in webkit [123981] by Patrick Gansterer
  • 2 edits in trunk/Source/WTF

[CMake] Add missing MediaTime files after r123878.

  • wtf/CMakeLists.txt:
10:27 AM Changeset in webkit [123980] by mitz@apple.com
  • 3 edits
    4 adds in trunk

In flipped blocks, a point on the top edge of a box is considered outside the box (and vice versa)
https://bugs.webkit.org/show_bug.cgi?id=92593

Reviewed by Simon Fraser.

Source/WebCore:

With respect to hit testing, boxes should always behave as half-open intervals which include
the physical top and left edges and not the bottom and right edges.
RenderBlock::positionForPoint was not adhering to this, since it was comparing flipped
coordinates.

Tests: fast/writing-mode/flipped-blocks-hit-test-box-edges.html

fast/writing-mode/flipped-blocks-hit-test-line-edges.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::positionForPointWithInlineChildren): When blocks are flipped, changed
strict inequalities of y coordinates into non-strict ones and non-strict inequalities into
strict ones.
(WebCore::RenderBlock::positionForPoint): Ditto, except for the test for being under the top
of the last candidate box, which was made non-strict in the unflipped case and remained
strict.

LayoutTests:

  • fast/writing-mode/flipped-blocks-hit-test-box-edges-expected.txt: Added.
  • fast/writing-mode/flipped-blocks-hit-test-box-edges.html: Added.
  • fast/writing-mode/flipped-blocks-hit-test-line-edges-expected.txt: Added.
  • fast/writing-mode/flipped-blocks-hit-test-line-edges.html: Added.
7:49 AM Changeset in webkit [123979] by kov@webkit.org
  • 3 edits in trunk/Tools

Reviewed by Martin Robinson.

Make the jhbuild wrapper scripts become the jhbuild process
instead of starting it as a child. This should make it possible to
interrupt execution of jhbuild cleanly.

  • gtk/run-with-jhbuild:
  • jhbuild/jhbuild-wrapper:
4:26 AM WebKitGTK/WebKit2Roadmap edited by mario@webkit.org
(diff)
3:17 AM BuildingGtk edited by Philippe Normand
(diff)
2:49 AM Changeset in webkit [123978] by commit-queue@webkit.org
  • 8 edits
    1 add in trunk

Extend application/x-webkit-test-netscape plugins to better support multiple frames.
https://bugs.webkit.org/show_bug.cgi?id=92478

Patch by Mike West <mkwst@chromium.org> on 2012-07-29
Reviewed by Adam Barth.

Tools:

DumpRenderTree currently understands
<object src="data:application/x-webkit-test-netscape,alertwhenloaded">.
It would be useful if it understood logifloaded, which could give
more context regarding test expectations, and can be written in such
as way as to support plugins loaded into multiple iframes in a single
test.

  • DumpRenderTree/TestNetscapePlugIn/main.cpp:

(NPP_New):

Adding support for logifloaded.

LayoutTests:

  • http/tests/plugins/resources/mock-plugin-logger.js:

Exciting JS "framework" for use when logging via logifloaded.

  • http/tests/security/contentSecurityPolicy/object-src-none-allowed.html:
  • http/tests/security/contentSecurityPolicy/object-src-none-allowed-expected.html:
  • http/tests/security/contentSecurityPolicy/object-src-none-blocked.html:
  • http/tests/security/contentSecurityPolicy/object-src-none-blocked-expected.html:

Adjusting these tests to use the newly created logifloaded plugin mock.

  • http/tests/security/contentSecurityPolicy/resources/echo-object-data.pl:

Loading mock-plugin-logger.js, and adding a log attribute for logifloaded.

Jul 28, 2012:

9:59 PM Changeset in webkit [123977] by mitz@apple.com
  • 3 edits
    4 adds in trunk

Source/WebCore: RenderBlock::offsetForContents() is wrong in flipped blocks writing modes
https://bugs.webkit.org/show_bug.cgi?id=92588

Reviewed by Sam Weinig.

Tests: fast/multicol/hit-test-block-axis-flipped.html

fast/writing-mode/flipped-blocks-hit-test-overflow-scroll.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::offsetForContents): Flip the point, which puts it back in unflipped
coordinates, before adding the scroll offset and adjusting for columns, then flip it back.
(WebCore::RenderBlock::adjustPointToColumnContents): Changed the inline-axis cases to
work with an unflipped point.

LayoutTests: Hit test results are wrong in flipped blocks writing modes with block column axis
https://bugs.webkit.org/show_bug.cgi?id=92588

Reviewed by Sam Weinig.

  • fast/multicol/hit-test-block-axis-flipped-expected.txt: Added.
  • fast/multicol/hit-test-block-axis-flipped.html: Added.
8:38 PM Changeset in webkit [123976] by weinig@apple.com
  • 2 edits in trunk/Source/WebKit2

Stop copying unnecessary files in WebKit2 build
https://bugs.webkit.org/show_bug.cgi?id=92587

Reviewed by Dan Bernstein.

  • WebKit2.xcodeproj/project.pbxproj:

We were accidentally copying ColorSpaceData.h and EventDispatcher.messages.in into the
build products. Stop this.

6:35 PM Changeset in webkit [123975] by pkasting@chromium.org
  • 2 edits
    14 adds in trunk/LayoutTests

[Chromium] New baselines and test expectations update.
https://bugs.webkit.org/show_bug.cgi?id=72039
https://bugs.webkit.org/show_bug.cgi?id=92569
https://bugs.webkit.org/show_bug.cgi?id=92583

Unreviewed, test expectations update.

  • platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt: Added.
  • platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
  • platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Added.
  • platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt: Added.
  • platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
  • platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Added.
  • platform/chromium-mac-snowleopard/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
  • platform/chromium-mac/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
  • platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt: Added.
  • platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
  • platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Added.
  • platform/chromium-win/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt: Added.
  • platform/chromium-win/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
  • platform/chromium-win/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Added.
  • platform/chromium/TestExpectations:
4:28 PM Changeset in webkit [123974] by ryuan.choi@samsung.com
  • 3 edits in trunk/Source/WebKit2

[WK2][EFL] Add ewk_view_scale_{get|set} to EwkView.
https://bugs.webkit.org/show_bug.cgi?id=92446

Reviewed by Kenneth Rohde Christiansen.

Add methods to Ewk_View to get or set the scale factor of page.

  • UIProcess/API/efl/ewk_view.cpp:

(ewk_view_scale_set):
(ewk_view_scale_get):

  • UIProcess/API/efl/ewk_view.h:
2:40 PM Changeset in webkit [123973] by mitz@apple.com
  • 5 edits in trunk

In flipped lines writing modes, hit testing at the beginning of a column may return a result from the previous column
https://bugs.webkit.org/show_bug.cgi?id=92566

Reviewed by Simon Fraser.

Source/WebCore:

Enhanced the fix for <http://webkit.org/b/92524> to work with flipped lines.

Extended fast/multicol/hit-test-end-of-column-with-line-height.html.

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::positionForPointWithInlineChildren): For flipped lines, check if the
hit line is the last one before a page break, and in that case, check if the hit point was
after the break.

LayoutTests:

  • fast/multicol/hit-test-end-of-column-with-line-height-expected.txt: Updated.
  • fast/multicol/hit-test-end-of-column-with-line-height.html: Extended with tests for

horizontal-bt.

2:32 PM Changeset in webkit [123972] by Simon Fraser
  • 3 edits
    4 adds in trunk

Size changes on a layer with negative z-index children don't repaint correctly
https://bugs.webkit.org/show_bug.cgi?id=92583

Reviewed by Dean Jackson.

Source/WebCore:

Negative z-index descendants cause a composited layer to have a separate
layer for foreground content. If something caused that foreground layer
to change size (like toggling visibility on a descendant), we failed to
repaint the foreground layer, resulting in stretched content.

Test: compositing/geometry/bounds-ignores-hidden-dynamic-negzindex.html

  • rendering/RenderLayerBacking.cpp:

(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): Repaint the foreground
layer if its size changes, like we do for the main layer.

LayoutTests:

Test that causes a composited layer with a foreground layer (by virtue of having
negative z-index children) to resize.

Add missing pixel result for bounds-ignores-hidden-dynamic.html too.

  • compositing/geometry/bounds-ignores-hidden-dynamic-expected.png: Added.
  • compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
  • compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Added.
  • compositing/geometry/bounds-ignores-hidden-dynamic-negzindex.html: Added.
12:44 PM Changeset in webkit [123971] by Simon Fraser
  • 5 edits
    6 adds in trunk

Ignore visibility:hidden elements when computing compositing layer bounds
https://bugs.webkit.org/show_bug.cgi?id=92569

Reviewed by Dan Bernstein.

Source/WebCore:

When computing the bounds of compositing layers, we would take into account
layers with no visible content (visibility:hidden, and no non-hidden descendants).
This caused some huge layers in mobile Google maps.

Tests: compositing/geometry/bounds-ignores-hidden-composited-descendant.html

compositing/geometry/bounds-ignores-hidden-dynamic.html
compositing/geometry/bounds-ignores-hidden.html

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::calculateLayerBounds): If the ExcludeHiddenDescendants flag is set, return
the empty rect for layers with no visible content or descendants, as long as the layer is not
the root of the subtree whose bounds are being computed.
calculateLayerBounds() currently (I think incorrectly) passes the default flags to the recursive calls.
It should probably just pass 'flags', but to make this change safe, OR in the ExcludeHiddenDescendants
flag.

  • rendering/RenderLayer.h: Add an ExcludeHiddenDescendants flag to the CalculateLayerBoundsFlags.
  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::calculateCompositedBounds): Pass the ExcludeHiddenDescendants
flag.

LayoutTests:

Tests related to visibility:hidden's affect on composited layer bounds.

  • compositing/geometry/bounds-ignores-hidden-composited-expected.txt: Added.
  • compositing/geometry/bounds-ignores-hidden-composited-descendant.html: Added.

Test with visibility:visible descendants of a visibility:hidden element in a
compositing layer.

  • compositing/geometry/bounds-ignores-hidden-dynamic-expected.txt: Added.
  • compositing/geometry/bounds-ignores-hidden-dynamic.html: Added.

Test that changes visibility on descendants of a compositing layer, to test dynamic changes.

  • compositing/geometry/bounds-ignores-hidden-expected.txt: Added.
  • compositing/geometry/bounds-ignores-hidden.html: Added.

Test with a compositing layer having visibility:hidden descendants, which dumps
layer tree information.

12:35 PM Changeset in webkit [123970] by pkasting@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Widen expectation for crashing test.
http://crbug.com/139493

Unreviewed, test expectations update.

  • platform/chromium/TestExpectations:
12:23 PM Changeset in webkit [123969] by commit-queue@webkit.org
  • 17 edits
    2 adds in trunk/Source/WebCore

Add an overlay play button to media controls on android
https://bugs.webkit.org/show_bug.cgi?id=92132

Patch by Min Qin <qinmin@chromium.org> on 2012-07-28
Reviewed by Adam Barth.

This change adds an overlay play button to the media controls for android.
No tests for now as this setting is not being used by other port.
Will add a test and adjust all the test expectations when we upstream the layout tests for android.

  • WebCore.gypi:
  • css/CSSPrimitiveValueMappings.h:

(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):

  • css/CSSValueKeywords.in:
  • css/mediaControls.css:

(audio::-webkit-media-controls-overlay-play-button, video::-webkit-media-controls-overlay-play-button):

  • css/mediaControlsChromiumAndroid.css:

(audio::-webkit-media-controls-overlay-enclosure):
(video::-webkit-media-controls-overlay-enclosure):
(audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
(video::-webkit-media-controls-overlay-play-button):

  • html/shadow/MediaControlElements.cpp:

(WebCore::MediaControlOverlayPlayButtonElement::MediaControlOverlayPlayButtonElement):
(WebCore):
(WebCore::MediaControlOverlayPlayButtonElement::create):
(WebCore::MediaControlOverlayPlayButtonElement::defaultEventHandler):
(WebCore::MediaControlOverlayPlayButtonElement::updateDisplayType):
(WebCore::MediaControlOverlayPlayButtonElement::shadowPseudoId):

  • html/shadow/MediaControlElements.h:

(MediaControlOverlayPlayButtonElement):
(WebCore):

  • html/shadow/MediaControlRootElementChromium.cpp:

(WebCore::MediaControlPanelEnclosureElement::MediaControlPanelEnclosureElement):
(WebCore::MediaControlPanelEnclosureElement::create):
(WebCore):
(WebCore::MediaControlPanelEnclosureElement::shadowPseudoId):
(WebCore::MediaControlRootElementChromium::create):
(WebCore::MediaControlRootElementChromium::initializeControls):

  • html/shadow/MediaControlRootElementChromium.h:

(MediaControlChromiumEnclosureElement):
(WebCore):
(MediaControlPanelEnclosureElement):
(MediaControlRootElementChromium):

  • html/shadow/MediaControlRootElementChromiumAndroid.cpp: Added.

(WebCore):
(WebCore::MediaControlOverlayEnclosureElement::MediaControlOverlayEnclosureElement):
(WebCore::MediaControlOverlayEnclosureElement::create):
(WebCore::MediaControlOverlayEnclosureElement::shadowPseudoId):
(WebCore::MediaControlRootElementChromiumAndroid::MediaControlRootElementChromiumAndroid):
(WebCore::MediaControls::create):
(WebCore::MediaControlRootElementChromiumAndroid::create):
(WebCore::MediaControlRootElementChromiumAndroid::setMediaController):
(WebCore::MediaControlRootElementChromiumAndroid::playbackStarted):
(WebCore::MediaControlRootElementChromiumAndroid::playbackStopped):

  • html/shadow/MediaControlRootElementChromiumAndroid.h: Added.

(WebCore):
(MediaControlOverlayEnclosureElement):
(MediaControlRootElementChromiumAndroid):

  • platform/ThemeTypes.h:
  • rendering/RenderMediaControlsChromium.cpp:

(WebCore::paintMediaOverlayPlayButton):
(WebCore):
(WebCore::RenderMediaControlsChromium::paintMediaControlsPart):

  • rendering/RenderTheme.cpp:

(WebCore::RenderTheme::paint):

  • rendering/RenderTheme.h:

(WebCore::RenderTheme::paintMediaOverlayPlayButton):

  • rendering/RenderThemeChromiumAndroid.cpp:

(WebCore::RenderThemeChromiumAndroid::paintMediaOverlayPlayButton):
(WebCore):

  • rendering/RenderThemeChromiumAndroid.h:
12:22 PM Changeset in webkit [123968] by pkasting@chromium.org
  • 2 edits in trunk/Tools

Fix Chromium/Win compile.
https://bugs.webkit.org/show_bug.cgi?id=88787

Unreviewed, build fix.

Chromium/Win needs _USE_MATH_DEFINES but doesn't define PLATFORM(WIN).
The other files in WebKit that define this macro (both in
WebCore/platform/graphics/cg) do it by unconditionally #defining it to 1
above the #include of "config.h", so copy that pattern here.

  • TestWebKitAPI/Tests/WTF/MediaTime.cpp:
11:45 AM Changeset in webkit [123967] by mario@webkit.org
  • 10 edits
    2 adds in trunk

[WK2][GTK] Implement a new spell checker API for WebKit2GTK+
https://bugs.webkit.org/show_bug.cgi?id=90268

Reviewed by Martin Robinson.

Source/WebKit2:

Add a simple spell checking API to WK2, allowing to enable/disable
this feature and to define a list of languages associated to it.

  • GNUmakefile.am: Add flags to handle the SPELLCHECK feature.
  • GNUmakefile.list.am: Added new files

Added new internal class that will act both as the implementation
of TextCheckerClient and as the object WebKitWebContext will
depend on to implement the newly added API.

  • UIProcess/API/gtk/WebKitTextChecker.cpp: Added.

(toTextChecker):
(continuousSpellCheckingEnabledCallback):
(setContinuousSpellCheckingEnabledCallback):
(checkSpellingOfStringCallback):
(guessesForWordCallback):
(learnWordCallback):
(ignoreWordCallback):
(WebKitTextChecker::~WebKitTextChecker):
(WebKitTextChecker::create):
(WebKitTextChecker::WebKitTextChecker):
(WebKitTextChecker::checkSpellingOfString):
(WebKitTextChecker::getGuessesForWord):
(WebKitTextChecker::learnWord):
(WebKitTextChecker::ignoreWord):
(WebKitTextChecker::setSpellCheckingEnabled):
(WebKitTextChecker::setSpellCheckingLanguages):

  • UIProcess/API/gtk/WebKitTextChecker.h: Added.

(WebKitTextChecker):
(WebKitTextChecker::isSpellCheckingEnabled):
(WebKitTextChecker::getSpellCheckingLanguages):

Added WKTextChecker to WebKitPrivate.h, needed in WebKitTextChecker.

  • UIProcess/API/gtk/WebKitPrivate.h:

Add new API to WebKitWebContext to allow enabling/disabling this
spell checking feature, and to set/get the list of languages used
to decide which dictionaries will be consulted.

  • UIProcess/API/gtk/WebKitWebContext.cpp:

(_WebKitWebContextPrivate):
(createDefaultWebContext):
(webkit_web_context_get_spell_checking_enabled): New API.
(webkit_web_context_set_spell_checking_enabled): Ditto.
(webkit_web_context_get_spell_checking_languages): Ditto.
(webkit_web_context_set_spell_checking_languages): Ditto.

  • UIProcess/API/gtk/WebKitWebContext.h:

New tests for checking the new API added to WebKitWebContext.

  • UIProcess/API/gtk/tests/TestWebKitWebContext.cpp:

(testWebContextSpellChecker):
(beforeAll):

Update documentation with new sections and symbols.

  • UIProcess/API/gtk/docs/webkit2gtk-docs.sgml:
  • UIProcess/API/gtk/docs/webkit2gtk-sections.txt:

Tools:

Ignore WebKitTextChecker.* private files for gtk-doc.

  • gtk/generate-gtkdoc:

(get_webkit2_options):

11:28 AM Changeset in webkit [123966] by mario@webkit.org
  • 5 edits
    2 adds in trunk/Source

[GTK] Add a new and reusable enchant-based spellchecker in WebCore
https://bugs.webkit.org/show_bug.cgi?id=90269

Reviewed by Martin Robinson.

Source/WebCore:

Move enchant specific code down to WebCore, into a new class
TextCheckerEnchant, that we can use from WK1 and WK2.

  • GNUmakefile.am: Add flags to handle the SPELLCHECK feature.
  • GNUmakefile.list.am: Added new files.
  • platform/text/gtk/TextCheckerEnchant.cpp: Added.

(getAvailableDictionariesCallback):
(TextCheckerEnchant::TextCheckerEnchant):
(TextCheckerEnchant::~TextCheckerEnchant):
(TextCheckerEnchant::ignoreWord):
(TextCheckerEnchant::learnWord):
(TextCheckerEnchant::checkSpellingOfString):
(TextCheckerEnchant::getGuessesForWord):
(TextCheckerEnchant::updateSpellCheckingLanguages):
(TextCheckerEnchant::freeEnchantBrokerDictionaries):

  • platform/text/gtk/TextCheckerEnchant.h: Added.

(WebCore):
(TextCheckerEnchant):
(WebCore::TextCheckerEnchant::create):

Source/WebKit/gtk:

Remove enchant specific code from WebKitSpellCheckerEnchant and
implement it relying in the new TextCheckerEnchant class in WebCore.

  • webkit/webkitspellcheckerenchant.cpp:

(_WebKitSpellCheckerEnchantPrivate):
(webkit_spell_checker_enchant_finalize):
(webkit_spell_checker_enchant_class_init):
(webkit_spell_checker_enchant_init):
(checkSpellingOfString):
(getGuessesForWord):
(updateSpellCheckingLanguages):
(learnWord):
(ignoreWord):

11:05 AM Changeset in webkit [123965] by pkasting@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

Sigh. Just disable all the AutoResize tests after the first three.
https://bugs.webkit.org/show_bug.cgi?id=92318

Unreviewed, making bots happier.

  • tests/WebViewTest.cpp:
10:36 AM Changeset in webkit [123964] by pkasting@chromium.org
  • 15 edits
    13 adds
    2 deletes in trunk/LayoutTests

[Chromium] Rebaselining and test expectations update.
https://bugs.webkit.org/show_bug.cgi?id=77188
https://bugs.webkit.org/show_bug.cgi?id=85856
https://bugs.webkit.org/show_bug.cgi?id=87844
https://bugs.webkit.org/show_bug.cgi?id=91756
http://crbug.com/10364
http://crbug.com/138159
http://crbug.com/139162
http://crbug.com/139493

Unreviewed, test expectations update.

  • fast/overflow/unreachable-overflow-rtl-bug-expected.txt: Added.
  • platform/chromium-linux-x86/platform/chromium: Added.
  • platform/chromium-linux-x86/platform/chromium/virtual: Added.
  • platform/chromium-linux-x86/platform/chromium/virtual/gpu: Added.
  • platform/chromium-linux-x86/platform/chromium/virtual/gpu/fast: Added.
  • platform/chromium-linux-x86/platform/chromium/virtual/gpu/fast/canvas: Added.
  • platform/chromium-linux-x86/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png: Added.
  • platform/chromium-linux-x86/platform/chromium/virtual/gpu/fast/canvas/gradient-add-second-start-end-stop-expected.png: Added.
  • platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
  • platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/gradient-add-second-start-end-stop-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
  • platform/chromium-mac-snowleopard/fast/block/float/026-expected.png:
  • platform/chromium-mac-snowleopard/fast/block/float/028-expected.png:
  • platform/chromium-mac-snowleopard/fast/forms/datalist: Added.
  • platform/chromium-mac-snowleopard/fast/forms/datalist/input-appearance-range-with-datalist-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png: Added.
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
  • platform/chromium-mac/fast/block/float/026-expected.png:
  • platform/chromium-mac/fast/block/float/028-expected.png:
  • platform/chromium-mac/fast/overflow/unreachable-overflow-rtl-bug-expected.png:
  • platform/chromium-mac/fast/overflow/unreachable-overflow-rtl-bug-expected.txt:
  • platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
  • platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/gradient-add-second-start-end-stop-expected.png: Added.
  • platform/chromium-win/fast/forms/box-shadow-override-expected.png:
  • platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
  • platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/gradient-add-second-start-end-stop-expected.png:
  • platform/chromium/TestExpectations:
  • platform/efl/fast/overflow/unreachable-overflow-rtl-bug-expected.txt: Removed.
  • platform/gtk/fast/overflow/unreachable-overflow-rtl-bug-expected.txt: Removed.
9:19 AM Changeset in webkit [123963] by pkasting@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

Try disabling different test in hopes of tracking down the real problem.
https://bugs.webkit.org/show_bug.cgi?id=92318

Unreviewed, making bots happier.

  • tests/WebViewTest.cpp:
9:11 AM Changeset in webkit [123962] by commit-queue@webkit.org
  • 11 edits in trunk/Source/WebCore

[Clamp] support in binding generator.
https://bugs.webkit.org/show_bug.cgi?id=77605

Patch by Vineet Chaudhary <Vineet> on 2012-07-28
Reviewed by Kentaro Hara.

Currently [Clamp] extended attribute in IDL files.
Spec: http://www.w3.org/TR/2012/CR-WebIDL-20120419/#Clamp

Tests: TestObj.idl

  • bindings/scripts/CodeGeneratorCPP.pm:

(SkipFunction): Skips methods with [Clamp] parameters.

  • bindings/scripts/CodeGeneratorGObject.pm:

(SkipFunction): Skips methods with [Clamp] parameters.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateParametersCheck): Support [Clamp] for JSBindings.

  • bindings/scripts/CodeGeneratorObjC.pm:

(SkipFunction): Skips methods with [Clamp] parameters.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateParametersCheck): Support [Clamp] for V8Bindings.

  • bindings/scripts/IDLAttributes.txt: Added [Clamp] to attributes list.
  • bindings/scripts/test/JS/JSTestObj.cpp: Test.

(WebCore::jsTestObjPrototypeFunctionClassMethodWithClamp):

  • bindings/scripts/test/JS/JSTestObj.h:
  • bindings/scripts/test/TestObj.idl:
  • bindings/scripts/test/V8/V8TestObj.cpp:

(WebCore::TestObjV8Internal::classMethodWithClampCallback):
(TestObjV8Internal):

8:18 AM Changeset in webkit [123961] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] Unreviewed gardening.

  • platform/qt-4.8/Skipped: Unskip now passing tests. (bug85203)
6:54 AM Changeset in webkit [123960] by Philippe Normand
  • 2 edits in trunk/LayoutTests

Unreviewed, GTK rebaseline after r123937.

  • platform/gtk/fast/dom/navigator-detached-no-crash-expected.txt:
6:09 AM Changeset in webkit [123959] by Philippe Normand
  • 2 edits in trunk/Tools

[GTK] Transparent Media controls timeline and panel
https://bugs.webkit.org/show_bug.cgi?id=85279

Reviewed by Martin Robinson.

  • gtk/jhbuild.modules: Provide gnome-themes-standard build

support, this is necessary so the media controls panel colors are
properly initialized from the GTK+ theme.

5:34 AM Changeset in webkit [123958] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WTF

Remove obsolete functions from WTF::Unicode
https://bugs.webkit.org/show_bug.cgi?id=92571

Patch by Patrick Gansterer <Patrick Gansterer> on 2012-07-28
Reviewed by Kentaro Hara.

Remove hasLineBreakingPropertyComplexContextOrIdeographic() and digitValue(),
since they are never used and defined for a few Unicode backends only.

  • wtf/unicode/glib/UnicodeGLib.h:
  • wtf/unicode/icu/UnicodeIcu.h:
12:50 AM EFLWebKit edited by kangil.han@samsung.com
(diff)

Jul 27, 2012:

11:55 PM Changeset in webkit [123957] by pkasting@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

Disable failing test.
https://bugs.webkit.org/show_bug.cgi?id=92318

Unreviewed, making bots happier.

  • tests/WebViewTest.cpp:
11:55 PM Changeset in webkit [123956] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

[WebGL] Align contents of drawbuffer-test.html layout test with the one in the WebGL conformance suite.
https://bugs.webkit.org/show_bug.cgi?id=92375

Patch by Nayan Kumar K <nayankk@motorola.com> on 2012-07-27
Reviewed by Kenneth Russell.

  • fast/canvas/webgl/drawingbuffer-test-expected.txt:
  • fast/canvas/webgl/drawingbuffer-test.html:
11:16 PM Changeset in webkit [123955] by pkasting@chromium.org
  • 2 edits in trunk/LayoutTests

Chromium rebaseline after r123285.
https://bugs.webkit.org/show_bug.cgi?id=90624

Unreviewed, rebaselining.

  • platform/chromium-mac/fast/borders/border-image-rotate-transform-expected.png:
11:11 PM Changeset in webkit [123954] by msaboff@apple.com
  • 2 edits in trunk/LayoutTests

https://bugs.webkit.org/show_bug.cgi?id=92573
Mac Lion: http/tests/misc/submit-post-keygen.html fails on buildbots

  • platform/mac-lion/Skipped:
11:00 PM Changeset in webkit [123953] by commit-queue@webkit.org
  • 8 edits in trunk

[EFL] Support for HTML media capture
https://bugs.webkit.org/show_bug.cgi?id=91842

Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-07-27
Reviewed by Ryosuke Niwa.

.:

Add HTML media capture feature, and enable that on the Efl port.

  • Source/cmake/OptionsEfl.cmake:
  • Source/cmake/WebKitFeatures.cmake:
  • Source/cmakeconfig.h.cmake:

Tools:

Add HTML media capture feature to the feature list.
In addition, enable that on the Efl port.

  • Scripts/webkitperl/FeatureList.pm:

LayoutTests:

Remove file-input-capture.html from skipped list.

  • platform/efl/Skipped:
10:48 PM Changeset in webkit [123952] by commit-queue@webkit.org
  • 16 edits
    2 deletes in trunk/Source/WebCore

Unreviewed, rolling out r123908.
http://trac.webkit.org/changeset/123908
https://bugs.webkit.org/show_bug.cgi?id=92572

Broke Chromium Linux compile (Requested by pkasting on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-27

  • WebCore.gypi:
  • css/CSSPrimitiveValueMappings.h:

(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):

  • css/CSSValueKeywords.in:
  • css/mediaControls.css:
  • css/mediaControlsChromiumAndroid.css:

(audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):

  • html/shadow/MediaControlElements.cpp:

(WebCore):

  • html/shadow/MediaControlElements.h:

(WebCore):

  • html/shadow/MediaControlRootElementChromium.cpp:

(WebCore::MediaControlChromiumEnclosureElement::create):
(WebCore):
(WebCore::MediaControlChromiumEnclosureElement::shadowPseudoId):
(WebCore::MediaControls::create):
(WebCore::MediaControlRootElementChromium::create):

  • html/shadow/MediaControlRootElementChromium.h:

(MediaControlChromiumEnclosureElement):
(MediaControlRootElementChromium):

  • html/shadow/MediaControlRootElementChromiumAndroid.cpp: Removed.
  • html/shadow/MediaControlRootElementChromiumAndroid.h: Removed.
  • platform/ThemeTypes.h:
  • rendering/RenderMediaControlsChromium.cpp:

(WebCore::RenderMediaControlsChromium::paintMediaControlsPart):

  • rendering/RenderTheme.cpp:

(WebCore::RenderTheme::paint):

  • rendering/RenderTheme.h:
  • rendering/RenderThemeChromiumAndroid.cpp:
  • rendering/RenderThemeChromiumAndroid.h:
10:12 PM Changeset in webkit [123951] by pkasting@chromium.org
  • 2 edits in trunk/LayoutTests

Mark three tests as flakily timing out.
https://bugs.webkit.org/show_bug.cgi?id=92570

Unreviewed, Chromium test expectations update.

  • platform/chromium/TestExpectations:
9:30 PM Changeset in webkit [123950] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebCore

[BlackBerry] Use new LocaleHandler.
https://bugs.webkit.org/show_bug.cgi?id=92548

Patch by Eli Fidler <efidler@rim.com> on 2012-07-27
Reviewed by Yong Li.

RIM PR 128381

  • platform/blackberry/LocalizedStringsBlackBerry.cpp:

(WebCore::platformLanguage):

  • platform/network/blackberry/ResourceRequestBlackBerry.cpp:

(WebCore::ResourceRequest::initializePlatformRequest):

  • platform/text/blackberry/TextBreakIteratorInternalICUBlackBerry.cpp:

(WebCore::currentSearchLocaleID):
(WebCore::currentTextBreakLocaleID):

9:29 PM Changeset in webkit [123949] by pkasting@chromium.org
  • 2 edits in trunk/LayoutTests

Fix broken script reference after test move.
https://bugs.webkit.org/show_bug.cgi?id=92111

Unreviewed, fixing bad test move.

  • platform/win/fast/events/panScroll-click-hyperlink.html:
9:20 PM Changeset in webkit [123948] by pkasting@chromium.org
  • 1 edit
    8 adds in trunk/LayoutTests

Chromium rebaselines after r123912.
https://bugs.webkit.org/show_bug.cgi?id=92327

Unreviewed, rebaselining.

  • platform/chromium-linux-x86/fast/hidpi: Added.
  • platform/chromium-linux-x86/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Added.
  • platform/chromium-linux/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Added.
  • platform/chromium-mac-snowleopard/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Added.
  • platform/chromium-mac/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Added.
  • platform/chromium-win-xp/fast/hidpi: Added.
  • platform/chromium-win-xp/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Added.
  • platform/chromium-win/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Added.
9:12 PM Changeset in webkit [123947] by pkasting@chromium.org
  • 2 edits in trunk/LayoutTests

Chromium rebaseline after r123706.
https://bugs.webkit.org/show_bug.cgi?id=92236

Unreviewed, rebaselining.

  • platform/chromium-win/fast/dom/HTMLProgressElement/progress-element-expected.png:
8:19 PM Changeset in webkit [123946] by pkasting@chromium.org
  • 1 edit
    10 adds in trunk/LayoutTests

Chromium rebaselines after r123790.
https://bugs.webkit.org/show_bug.cgi?id=92059

Unreviewed, rebaselining.

  • platform/chromium-linux-x86/css3/filters/effect-brightness-clamping-expected.txt: Added.
  • platform/chromium-linux-x86/css3/filters/effect-brightness-clamping-hw-expected.txt: Added.
  • platform/chromium-linux/css3/filters/effect-brightness-clamping-expected.txt: Added.
  • platform/chromium-linux/css3/filters/effect-brightness-clamping-hw-expected.txt: Added.
  • platform/chromium-win-xp/css3: Added.
  • platform/chromium-win-xp/css3/filters: Added.
  • platform/chromium-win-xp/css3/filters/effect-brightness-clamping-expected.txt: Added.
  • platform/chromium-win-xp/css3/filters/effect-brightness-clamping-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-brightness-clamping-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-brightness-clamping-hw-expected.txt: Added.
6:23 PM Changeset in webkit [123945] by commit-queue@webkit.org
  • 32 edits in trunk/Source/WebCore

Change constructor with explicit constructor in WebCore/Modules
https://bugs.webkit.org/show_bug.cgi?id=92529

Patch by Gyuyoung Kim <gyuyoung.kim@samsung.com> on 2012-07-27
Reviewed by Kentaro Hara.

As a step to let *explicit* keyword add to constructors which have a parameter,
*explicit* keyword is added to Source/WebCore/Modules in order to avoid implicit
type conversion.

No new tests. Covered by existing tests.

  • Modules/filesystem/LocalFileSystem.h:

(WebCore::LocalFileSystem::LocalFileSystem):

  • Modules/filesystem/Metadata.h:

(WebCore::Metadata::Metadata):

  • Modules/filesystem/SyncCallbackHelper.h:

(WebCore::SyncCallbackHelper::SuccessCallbackImpl::SuccessCallbackImpl):
(WebCore::SyncCallbackHelper::ErrorCallbackImpl::ErrorCallbackImpl):

  • Modules/mediastream/IceCandidate.h:

(IceCandidate):

  • Modules/mediastream/NavigatorUserMediaError.h:

(WebCore::NavigatorUserMediaError::NavigatorUserMediaError):

  • Modules/mediastream/SessionDescription.h:

(SessionDescription):

  • Modules/mediastream/UserMediaController.h:

(UserMediaController):

  • Modules/notifications/NotificationController.h:

(NotificationController):

  • Modules/speech/SpeechRecognition.h:

(SpeechRecognition):

  • Modules/speech/SpeechRecognitionController.h:

(SpeechRecognitionController):

  • Modules/speech/SpeechRecognitionEvent.h:

(SpeechRecognitionEvent):

  • Modules/speech/SpeechRecognitionResultList.h:

(SpeechRecognitionResultList):

  • Modules/vibration/Vibration.h:

(Vibration):

  • Modules/webaudio/AudioBuffer.h:

(AudioBuffer):

  • Modules/webaudio/AudioContext.h:

(AudioContext):

  • Modules/webaudio/AudioNodeInput.h:

(AudioNodeInput):

  • Modules/webaudio/AudioSummingJunction.h:

(AudioSummingJunction):

  • Modules/webaudio/BiquadDSPKernel.h:

(WebCore::BiquadDSPKernel::BiquadDSPKernel):

  • Modules/webaudio/DefaultAudioDestinationNode.h:

(DefaultAudioDestinationNode):

  • Modules/webaudio/DelayDSPKernel.h:

(DelayDSPKernel):

  • Modules/webaudio/OfflineAudioCompletionEvent.h:

(OfflineAudioCompletionEvent):

  • Modules/webaudio/WaveShaperDSPKernel.h:

(WebCore::WaveShaperDSPKernel::WaveShaperDSPKernel):

  • Modules/webaudio/WaveShaperNode.h:

(WaveShaperNode):

  • Modules/webaudio/WaveTable.h:

(WaveTable):

  • Modules/webdatabase/DatabaseAuthorizer.h:

(DatabaseAuthorizer):

  • Modules/webdatabase/DatabaseTask.h:

(Database::DatabaseTransactionTask):

  • Modules/webdatabase/DatabaseTracker.h:

(DatabaseTracker):

  • Modules/webdatabase/SQLCallbackWrapper.h:

(WebCore::SQLCallbackWrapper::SafeReleaseTask::SafeReleaseTask):

  • Modules/webdatabase/SQLException.h:

(WebCore::SQLException::SQLException):

  • Modules/websockets/WebSocket.h:
  • Modules/websockets/WebSocketExtensionProcessor.h:

(WebCore::WebSocketExtensionProcessor::WebSocketExtensionProcessor):

6:21 PM Changeset in webkit [123944] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

[V8] Optimize Element::getAttributeNS() by replacing String with AtomicString
https://bugs.webkit.org/show_bug.cgi?id=90276

Patch by Kentaro Hara <haraken@chromium.org> on 2012-07-27
Reviewed by Adam Barth.

In r121439, we changed the argument type of Element::getAttribute()
from String to AtomicString for optimization. This patch changes the
argument type of Element::getAttributeNS() from String to AtomicString.

Actually this change affects V8 performance only.

[JSC without the patch]
The binding code converts a given JavaScript string to a String
-> the String is passed to getAttributeNS()
-> the String is converted to an AtomicString when it is passed to
QualifiedName() constructor.

[JSC with the patch]
The binding code converts a given JavaScript string to a String
-> the String is converted to an AtomicString when it is passed to
getAttributeNS()
-> the AtomicString is passed to QualifiedName() constructor.

[V8 without the patch]
The binding code retrieves a cached external String for a given
JavaScript string
-> the String is passed to getAttributeNS()
-> the String is converted to AtomicString when it is passed to
QualifiedName() constructor.

[V8 with the patch]
The binding code retrieves a cached external AtomicString for a given
JavaScript string
-> the AtomicString is passed to getAttributeNS()
-> the AtomicString is passed to QualifiedName() constructor.

In this way, in JSC, the change affects where a String is converted to
an AtomicString. On the other hand, in V8, (since the AtomicString is already
cached,) we can skip the conversion step.

Performance test: https://bugs.webkit.org/attachment.cgi?id=150158

getAttributeNS (Chromium/Linux):
577.80ms => 454.60ms

  • dom/Element.cpp:

(WebCore::Element::getAttributeNS):

  • dom/Element.h:

(Element):

6:02 PM Changeset in webkit [123943] by commit-queue@webkit.org
  • 12 edits in trunk/Source

Unreviewed, rolling out r123679.
http://trac.webkit.org/changeset/123679
https://bugs.webkit.org/show_bug.cgi?id=92565

Slowed down HTML parsing by 3.6% (Requested by abarth on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-27

Source/WebCore:

  • html/FTPDirectoryDocument.cpp:

(WebCore::FTPDirectoryDocumentParser::append):

  • html/parser/HTMLEntityParser.cpp:

(WebCore::HTMLEntityParser::consumeNamedEntity):

  • html/parser/HTMLParserIdioms.cpp:

(WebCore::stripLeadingAndTrailingHTMLSpaces):

  • html/parser/HTMLSourceTracker.cpp:

(WebCore::HTMLSourceTracker::sourceForToken):

  • loader/cache/CachedScript.cpp:

(WebCore::CachedScript::script):

  • platform/text/SegmentedString.cpp:

(WebCore::SegmentedString::SegmentedString):
(WebCore::SegmentedString::operator=):
(WebCore::SegmentedString::clear):
(WebCore::SegmentedString::append):
(WebCore::SegmentedString::prepend):
(WebCore::SegmentedString::advanceSubstring):
(WebCore::SegmentedString::advance):
(WebCore::SegmentedString::advanceSlowCase):
(WebCore::SegmentedString::advanceAndUpdateLineNumberSlowCase):

  • platform/text/SegmentedString.h:

(WebCore::SegmentedSubstring::SegmentedSubstring):
(WebCore::SegmentedSubstring::clear):
(WebCore::SegmentedSubstring::appendTo):
(SegmentedSubstring):
(WebCore::SegmentedString::SegmentedString):
(WebCore::SegmentedString::push):
(WebCore::SegmentedString::isEmpty):
(WebCore::SegmentedString::lookAhead):
(WebCore::SegmentedString::lookAheadIgnoringCase):
(WebCore::SegmentedString::advance):
(WebCore::SegmentedString::advanceAndASSERT):
(WebCore::SegmentedString::advanceAndASSERTIgnoringCase):
(WebCore::SegmentedString::advancePastNewlineAndUpdateLineNumber):
(SegmentedString):
(WebCore::SegmentedString::advancePastNonNewline):
(WebCore::SegmentedString::advanceAndUpdateLineNumber):
(WebCore::SegmentedString::operator*):
(WebCore::SegmentedString::operator->):
(WebCore::SegmentedString::current):
(WebCore::SegmentedString::equalsLiterally):
(WebCore::SegmentedString::equalsIgnoringCase):
(WebCore::SegmentedString::lookAheadInline):
(WebCore::SegmentedString::lookAheadSlowCase):

  • xml/parser/CharacterReferenceParserInlineMethods.h:

(WebCore::consumeCharacterReference):

  • xml/parser/MarkupTokenizerBase.h:

(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::nextInputCharacter):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::peek):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::advance):

Source/WTF:

  • wtf/text/WTFString.h:
5:41 PM Changeset in webkit [123942] by jer.noble@apple.com
  • 4 edits in trunk/Source/WebCore

Reset the set of "seen" plugins when the main frame load is committed.
https://bugs.webkit.org/show_bug.cgi?id=92564

Reviewed by Anders Carlsson.

Because the Page object is re-used across navigation and reload, reset the list
of seen plugins when the main frame load commits. This gives a good baseline to
compare against the number of pages loaded.

No new tests; the "seen" plugin list is for diagnostic purposes only.

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::dispatchDidCommitLoad):

  • page/Page.cpp:

(WebCore::Page::resetSeenPlugins):

  • page/Page.h:
5:34 PM Changeset in webkit [123941] by dpranke@chromium.org
  • 3 edits in trunk/Tools

"webkit-patch rebaseline <test>" fails with exit_code 1
https://bugs.webkit.org/show_bug.cgi?id=91560

Reviewed by Adam Barth.

webkit-patch rebaseline-json crashes in an svn checkout if it
tries to add files and there are no files to add; arguably
svn.add() should be robust against this, but rebaseline-json
shouldn't be calling it, either. This patch fixes the latter and
adds better debugging info to garden-o-matic so we can see what
caused the crash.

  • Scripts/webkitpy/tool/commands/rebaseline.py:

(AbstractParallelRebaselineCommand._rebaseline):

  • Scripts/webkitpy/tool/servers/gardeningserver.py:

(GardeningHTTPRequestHandler.rebaselineall):
(GardeningHTTPRequestHandler.rebaselineall.error_handler):
(GardeningHTTPRequestHandler):

5:32 PM Changeset in webkit [123940] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

execCommand copies the backgroung-color of the enclosing element to the element being edited.
https://bugs.webkit.org/show_bug.cgi?id=91783

Patch by Sukolsak Sakshuwong <sukolsak@google.com> on 2012-07-27
Reviewed by Ryosuke Niwa.

Source/WebCore:

InsertListCommand and some other edit commands remove redundant
style properties after their DOM modification by using
StylePropertySet::removeEquivalentProperties. However, this method
does not remove redundant background-color properties such as
"background-color: white" and "background-color: #fff" because
it compares them using cssText and thus treats them as different.
Add code to convert background colors to RGBA and then compare them.

Test: editing/style/redundant-background-color.html

  • editing/EditingStyle.cpp:

(WebCore::getRGBABackgroundColor):
(WebCore):
(WebCore::getPropertiesNotIn):

LayoutTests:

This tests to make sure that WebKit removes redundant "background-color"
property after execCommand.

  • editing/style/redundant-background-color-expected.txt: Added.
  • editing/style/redundant-background-color.html: Added.
5:30 PM Changeset in webkit [123939] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[EFL] Return 0 when network is offline
https://bugs.webkit.org/show_bug.cgi?id=92454

Patch by Gyuyoung Kim <gyuyoung.kim@samsung.com> on 2012-07-27
Reviewed by Kenneth Rohde Christiansen.

Network Info latest spec says 0 is returned when network is offline.
r123769 modified to return infinity value when network is offiline.

  • platform/efl/NetworkInfoProviderEfl.cpp:

(WebCore::NetworkInfoProviderEfl::bandwidth):

5:08 PM Changeset in webkit [123938] by rniwa@webkit.org
  • 5 edits in trunk

Unreviewed perf-o-matic build fix for dashboard image generation.
Also, only show Parser/html5-full-render on the dashboard by default
so that it won't take forever to load it.

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

(schedule_runs_update):
(RunsChartHandler.post):

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

(Runs.chart_params):
(DashboardImage.get_image):

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

(RunsTest.test_chart_params_with_value):

4:51 PM Changeset in webkit [123937] by commit-queue@webkit.org
  • 13 edits in trunk

Change navigator.webkitGamepads[] to navigator.webkitGetGamepads()
https://bugs.webkit.org/show_bug.cgi?id=92533

Patch by Scott Graham <scottmg@chromium.org> on 2012-07-27
Reviewed by Adam Barth.

Source/WebCore:

Per discussion on public-webapps. Pages that enumerate navigator were
causing background resources to be created to poll hardware
unintentionally. By changing to an explicit function call, this is
avoided (and the API becomes more clear too). This change updates the
implementation to match the current ED spec.

  • Modules/gamepad/NavigatorGamepad.cpp:

(WebCore::NavigatorGamepad::webkitGetGamepads):

  • Modules/gamepad/NavigatorGamepad.h:

(NavigatorGamepad):

  • Modules/gamepad/NavigatorGamepad.idl:
  • bindings/generic/RuntimeEnabledFeatures.h:

(WebCore::RuntimeEnabledFeatures::setWebkitGetGamepadsEnabled):
(WebCore::RuntimeEnabledFeatures::webkitGetGamepadsEnabled):

Source/WebKit/chromium:

Renames for updated access point.

  • src/WebRuntimeFeatures.cpp:

(WebKit::WebRuntimeFeatures::enableGamepad):
(WebKit::WebRuntimeFeatures::isGamepadEnabled):

LayoutTests:

Updates for renamed access point.

  • gamepad/gamepad-api-expected.txt:
  • gamepad/gamepad-api.html:
  • gamepad/gamepad-polling-access-expected.txt:
  • gamepad/gamepad-polling-access.html:
  • platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt:
4:44 PM Changeset in webkit [123936] by beidson@apple.com
  • 14 edits
    3 adds in trunk

Plugins should not be allowed to override standard properties/attributes in non-standard worlds
<rdar://problem/11975252> and https://bugs.webkit.org/show_bug.cgi?id=92519

Reviewed by Anders Carlsson.

Source/WebCore:

Change the 3 plugin-owning element's custom bindings to prefer built-in properties if they exist.
When they do they don't give the plugin a chance to override.

Test: plugins/npruntime/overrides-all-properties.html

Add plugin custom functions to prefer built-in properties over plugin scriptable object properties:

  • bindings/js/JSPluginElementFunctions.h:

(WebCore::pluginElementCustomGetOwnPropertySlot):
(WebCore::pluginElementCustomGetOwnPropertyDescriptor):

Use those new custom functions for getting properties:

  • bindings/js/JSHTMLAppletElementCustom.cpp:

(WebCore::JSHTMLAppletElement::getOwnPropertySlotDelegate):
(WebCore::JSHTMLAppletElement::getOwnPropertyDescriptorDelegate):

  • bindings/js/JSHTMLEmbedElementCustom.cpp:

(WebCore::JSHTMLEmbedElement::getOwnPropertySlotDelegate):
(WebCore::JSHTMLEmbedElement::getOwnPropertyDescriptorDelegate):

  • bindings/js/JSHTMLObjectElementCustom.cpp:

(WebCore::JSHTMLObjectElement::getOwnPropertySlotDelegate):
(WebCore::JSHTMLObjectElement::getOwnPropertyDescriptorDelegate):

Tools:

Add a test plugin which overrides all properties it is asked about:

  • DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableObjectOverridesAllProperties.cpp: Added.

(PluginScriptableObjectOverridesAllProperties):
(PluginScriptableObjectOverridesAllProperties::PluginScriptableObjectOverridesAllProperties):
(PluginObject):
(PluginScriptableObjectOverridesAllProperties::PluginObject::PluginObject):
(PluginScriptableObjectOverridesAllProperties::PluginObject::~PluginObject):
(PluginScriptableObjectOverridesAllProperties::PluginObject::hasProperty):
(PluginScriptableObjectOverridesAllProperties::PluginObject::getProperty):
(PluginScriptableObjectOverridesAllProperties::NPP_GetValue):

Expose NPN_MemAlloc to the test plugin:

  • DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:

(PluginTest::NPN_MemAlloc):

  • DumpRenderTree/TestNetscapePlugIn/PluginTest.h:

(PluginTest):

  • DumpRenderTree/DumpRenderTree.gypi:
  • DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  • DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  • DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:

LayoutTests:

  • plugins/npruntime/overrides-all-properties-expected.txt: Added.
  • plugins/npruntime/overrides-all-properties.html: Added.
  • platform/chromium/TestExpectations: Test behaves different in V8, so skip on chromium
4:32 PM Changeset in webkit [123935] by commit-queue@webkit.org
  • 14 edits
    3 adds in trunk

use createUninitialized when creating TypedArray from another array
https://bugs.webkit.org/show_bug.cgi?id=92518

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2012-07-27
Reviewed by Kenneth Russell.

PerformanceTests:

  • Bindings/typed-array-construct-from-array.html: Added.

Source/WebCore:

When creating a Typed Array from another array, we fill it with values
from the source array. So, we can create it uninitialized. This is
make constructor about 35% faster when constructed with another typed
array.

Test: fast/canvas/webgl/array-constructor.html

  • bindings/js/JSArrayBufferViewHelper.h:

(WebCore::constructArrayBufferViewWithTypedArrayArgument):
(WebCore::constructArrayBufferView):

Source/WTF:

Expose a createUninitialized static method on TypedArray classes.

  • wtf/Float32Array.h:

(Float32Array):
(WTF::Float32Array::createUninitialized):
(WTF):

  • wtf/Float64Array.h:

(Float64Array):
(WTF::Float64Array::createUninitialized):
(WTF):

  • wtf/Int16Array.h:

(Int16Array):
(WTF::Int16Array::createUninitialized):
(WTF):

  • wtf/Int32Array.h:

(Int32Array):
(WTF::Int32Array::createUninitialized):
(WTF):

  • wtf/Int8Array.h:

(Int8Array):
(WTF::Int8Array::createUninitialized):
(WTF):

  • wtf/Uint16Array.h:

(Uint16Array):
(WTF::Uint16Array::createUninitialized):
(WTF):

  • wtf/Uint32Array.h:

(Uint32Array):
(WTF::Uint32Array::createUninitialized):
(WTF):

  • wtf/Uint8Array.h:

(Uint8Array):
(WTF::Uint8Array::createUninitialized):
(WTF):

  • wtf/Uint8ClampedArray.h:

(Uint8ClampedArray):

LayoutTests:

Add test to check that constructing a Typed Array with nan values does
not result in random values.

  • fast/canvas/webgl/array-constructor-expected.txt: Added.
  • fast/canvas/webgl/array-constructor.html: Added.
4:29 PM Changeset in webkit [123934] by commit-queue@webkit.org
  • 4 edits in trunk/Source

[BlackBerry] Adapt to change in the FontInfo platform API.
https://bugs.webkit.org/show_bug.cgi?id=92547

Patch by Eli Fidler <efidler@rim.com> on 2012-07-27
Reviewed by Yong Li

RIM PR 161263

Source/WebCore:

  • page/blackberry/SettingsBlackBerry.cpp:

(WebCore::Settings::initializeDefaultFontFamilies):

Source/WebKit/blackberry:

  • Api/WebSettings.cpp:

(BlackBerry::WebKit::WebSettings::standardSettings):

4:12 PM Changeset in webkit [123933] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[EFL][WK2] Assertion hit in ewk_cookie_manager.cpp
https://bugs.webkit.org/show_bug.cgi?id=92544

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-27
Reviewed by Kenneth Rohde Christiansen.

Removed wrong assertion in ewk_cookie_manager.cpp
and replace it by an if check. The assertion was
sometimes hit by our unit tests.

  • UIProcess/API/efl/ewk_cookie_manager.cpp:

(cookiesDidChange):

4:02 PM Changeset in webkit [123932] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[chromium] Fix color matrix filter computation so that filters that don't need clamping are correctly detected as such
https://bugs.webkit.org/show_bug.cgi?id=92452

Patch by Antoine Labour <piman@chromium.org> on 2012-07-27
Reviewed by Stephen White.

Because of precision issues, some filters were returning true to
matrixNeedsClamping when they can return false. This fixes it.

No new tests in this CL, a follow-up change refactors the code to add
several tests.

  • platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp:
3:59 PM Changeset in webkit [123931] by mhahnenberg@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

Split functionality of MarkedAllocator::m_currentBlock
https://bugs.webkit.org/show_bug.cgi?id=92550

Reviewed by Filip Pizlo.

MarkedAllocator::m_currentBlock serves two purposes right now; it indicates the block that is currently
being used for allocation and the beginning of the list of blocks that need to be swept. We should split
these two functionalities into two separate fields.

  • heap/MarkedAllocator.cpp:

(JSC::MarkedAllocator::tryAllocateHelper): Use m_blocksToSweep instead of m_currentBlock as the
initializer/reference of the loop. Only change m_currentBlock when we know what the result will be.
(JSC::MarkedAllocator::addBlock): When we add a new block we know that both m_blocksToSweep and
m_currentBlock are null. In order to preserve the invariant that m_currentBlock <= m_blocksToSweep,
we assign both of them to point to the new block.
(JSC::MarkedAllocator::removeBlock): We need a separate check to see if the block we're removing is
m_blocksToSweep and if so, advance it to the next block in the list.

  • heap/MarkedAllocator.h:

(MarkedAllocator): Initialize m_blocksToSweep.
(JSC::MarkedAllocator::MarkedAllocator):
(JSC::MarkedAllocator::reset): We set m_blocksToSweep to be the head of our list. This function is called
at the end of a collection, so all of the blocks in our allocator need to be swept. We need to sweep a
block before we can start allocating, so m_currentBlock is set to null. We also set the freeList to
the empty FreeList to emphasize the fact that we can't start allocating until we do some sweeping.

3:58 PM Changeset in webkit [123930] by jer.noble@apple.com
  • 8 edits in trunk/Source/WebCore

Add diagnostic logging for plugins-per-page.
https://bugs.webkit.org/show_bug.cgi?id=92538

Reviewed by Anders Carlsson.

Add some diagnostic logging for whether a page has seen a plugin, and
whether a page has seen a plugin of a specific type.

Move the diagnostic logging out of the elemements themselves:

  • html/HTMLEmbedElement.cpp:

(WebCore::HTMLEmbedElement::updateWidget):

  • html/HTMLObjectElement.cpp:

(WebCore::HTMLObjectElement::updateWidget):

Instead, log when the plugin is requested, thereby catching plugins which are
rejected because, e.g., Java is disabled or not installed:

  • loader/SubframeLoader.cpp:

(WebCore::logPluginRequest):
(WebCore::SubframeLoader::requestObject):
(WebCore::SubframeLoader::createJavaAppletWidget):

Add new diagnostic key values:

  • page/DiagnosticLoggingKeys.cpp:

(WebCore::DiagnosticLoggingKeys::pageContainsPluginKey):
(WebCore::DiagnosticLoggingKeys::pageContainsAtLeastOnePluginKey):

  • page/DiagnosticLoggingKeys.h:

Add a map of plugin types seen per-page for diagnostic purposes:

  • page/Page.cpp:

(WebCore::Page::hasSeenAnyPlugin):
(WebCore::Page::hasSeenPlugin):
(WebCore::Page::sawPlugin):

  • page/Page.h:
3:46 PM Changeset in webkit [123929] by commit-queue@webkit.org
  • 4 edits in trunk/Source

[WINCE] Use macros from ICU instead of defining the same functionality again
https://bugs.webkit.org/show_bug.cgi?id=92530

Patch by Patrick Gansterer <Patrick Gansterer> on 2012-07-27
Reviewed by Ryosuke Niwa.

Replace isHighSurrogate() with U16_IS_LEAD(), isLowSurrogate() with
U16_IS_TRAIL() and surrogateToUcs4() with U16_GET_SUPPLEMENTARY().

Source/WebCore:

  • html/FTPDirectoryDocument.cpp:

(WebCore::processFileDateString):

  • loader/archive/mhtml/MHTMLArchive.cpp:

(WebCore::MHTMLArchive::generateMHTMLData):

  • platform/graphics/wince/FontWinCE.cpp:

(WebCore::generateComponents):

Source/WTF:

  • wtf/unicode/wince/UnicodeWinCE.h:
3:41 PM Changeset in webkit [123928] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Build warning in CSSPrimitiveValueMappings.h when CSS_STICKY_POSITION is disabled
https://bugs.webkit.org/show_bug.cgi?id=92523

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-27
Reviewed by Simon Fraser.

Move #ifdef in CSSPrimitiveValueMappings.h to silent compilation warning
when CSS_STICKY_POSITION is disabled.

No new tests, no behavior change.

  • css/CSSPrimitiveValueMappings.h:

(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):

3:37 PM Changeset in webkit [123927] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

DragController should ascertain dragClient to be non-null
https://bugs.webkit.org/show_bug.cgi?id=92474

Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-07-27
Reviewed by Tony Chang.

The DragController must always ensure a valid dragClient object. Hence
adding the ASSERT to assure that.

No new tests. Added assertion for PageClient.dragClient.

  • page/DragController.cpp:

(WebCore::DragController::DragController):

3:30 PM Changeset in webkit [123926] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

[chromium] Clean up LayerRendererChromium::drawTexturedQuad
https://bugs.webkit.org/show_bug.cgi?id=91823

Patch by Adrienne Walker <enne@google.com> on 2012-07-27
Reviewed by James Robinson.

LayerRendererChromium::drawTexturedQuad has been around forever and
over time has developed several problems:

  • Confusingly named relative to drawTextureQuad
  • All but one callers identically manipulate the transform matrix
  • Lots of optional parameters that only few functions use

This patch breaks up drawTexturedQuad into setShaderOpacity (for
optional opacity values sent to the shader), setShaderFloatQuad (the
full FloatQuad used by AA shaders), and drawQuadGeometry (actually
draw the geometry, and wrap the transform logic that was duplicated
everywhere).

No new tests; no change in functionality.

  • platform/graphics/chromium/LayerRendererChromium.cpp:

(WebCore::LayerRendererChromium::drawCheckerboardQuad):
(WebCore::LayerRendererChromium::drawBackgroundFilters):
(WebCore::LayerRendererChromium::drawRenderPassQuad):
(WebCore::LayerRendererChromium::drawSolidColorQuad):
(WebCore::LayerRendererChromium::drawTileQuad):
(WebCore::LayerRendererChromium::drawYUVVideoQuad):
(WebCore::LayerRendererChromium::drawStreamVideoQuad):
(WebCore::LayerRendererChromium::drawTextureQuad):
(WebCore::LayerRendererChromium::drawIOSurfaceQuad):
(WebCore::LayerRendererChromium::drawHeadsUpDisplay):
(WebCore::LayerRendererChromium::setShaderFloatQuad):
(WebCore::LayerRendererChromium::setShaderOpacity):
(WebCore::LayerRendererChromium::drawQuadGeometry):
(WebCore::LayerRendererChromium::copyTextureToFramebuffer):

  • platform/graphics/chromium/LayerRendererChromium.h:

(LayerRendererChromium):

3:20 PM Changeset in webkit [123925] by caio.oliveira@openbossa.org
  • 2 edits in trunk/Source/WTF

[Qt] Fix build after r123917
https://bugs.webkit.org/show_bug.cgi?id=92555

Unreviewed.

  • wtf/GregorianDateTime.h: Needs string.h for memset().
3:10 PM Changeset in webkit [123924] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

"webkit-patch upload" should strip colors from patch if necessary
https://bugs.webkit.org/show_bug.cgi?id=92306

Patch by Rafael Brandao <rafael.lobo@openbossa.org> on 2012-07-27
Reviewed by Adam Barth.

  • Scripts/webkitpy/common/checkout/scm/git.py: Explicity remove colors from diff.
3:07 PM Changeset in webkit [123923] by caio.oliveira@openbossa.org
  • 26 edits
    2 deletes in trunk/LayoutTests

[Qt] Remaining rebaselines after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92552

Unreviewed.

Unskip a bunch of tests, organize the remaining skips. The mentions to bug 85203 were
removed now. A last batch of WK1 results were associated with the bug 91610.

  • platform/qt-5.0-wk1/Skipped:
  • platform/qt-5.0-wk2/Skipped:
  • platform/qt-5.0-wk2/fullscreen/full-screen-placeholder-expected.txt:
  • platform/qt-5.0/Skipped:
  • platform/qt/editing/input/caret-at-the-edge-of-input-expected.txt:
  • platform/qt/editing/input/reveal-caret-of-multiline-input-expected.txt:
  • platform/qt/http/tests/cache/cancel-during-revalidation-succeeded-expected.txt: Removed.
  • platform/qt/http/tests/misc/object-embedding-svg-delayed-size-negotiation-2-expected.txt:
  • platform/qt/http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt: Removed.
  • platform/qt/svg/text/select-textLength-spacing-squeeze-1-expected.txt:
  • platform/qt/svg/text/select-textLength-spacing-squeeze-2-expected.txt:
  • platform/qt/svg/text/select-textLength-spacing-squeeze-3-expected.txt:
  • platform/qt/svg/text/select-textLength-spacing-squeeze-4-expected.txt:
  • platform/qt/svg/text/select-textLength-spacing-stretch-1-expected.txt:
  • platform/qt/svg/text/select-textLength-spacing-stretch-2-expected.txt:
  • platform/qt/svg/text/select-textLength-spacing-stretch-3-expected.txt:
  • platform/qt/svg/text/select-textLength-spacing-stretch-4-expected.txt:
  • platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt:
  • platform/qt/svg/text/select-x-list-1-expected.txt:
  • platform/qt/svg/text/select-x-list-2-expected.txt:
  • platform/qt/svg/text/select-x-list-3-expected.txt:
  • platform/qt/svg/text/select-x-list-4-expected.txt:
  • platform/qt/svg/text/select-x-list-with-tspans-1-expected.txt:
  • platform/qt/svg/text/select-x-list-with-tspans-2-expected.txt:
  • platform/qt/svg/text/select-x-list-with-tspans-3-expected.txt:
  • platform/qt/svg/text/select-x-list-with-tspans-4-expected.txt:
  • platform/qt/svg/text/selection-doubleclick-expected.txt:
3:07 PM Changeset in webkit [123922] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r116357. <rdar://problem/11942044>

3:04 PM Changeset in webkit [123921] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[chromium] CCLayerTreeHost placeholder scissor should be deviceViewportSize instead of viewportSize
https://bugs.webkit.org/show_bug.cgi?id=92469

Patch by Shawn Singh <shawnsingh@chromium.org> on 2012-07-27
Reviewed by Adrienne Walker.

We were accidentally using viewportSize instead of
deviceViewportSize in a particular place in code. Recent
refactoring to use tighter scissor rects exposed this problem.

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

(WebCore::CCLayerTreeHost::updateLayers):

2:56 PM Changeset in webkit [123920] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

clean-pending-commit throws exception when encountering Ossy
https://bugs.webkit.org/show_bug.cgi?id=92534

Patch by Eric Seidel <eric@webkit.org> on 2012-07-27
Reviewed by Adam Barth.

Mark a couple strings as unicode so that reviewers with unicode names do not cause
clean-pending-commit to barf.

  • Scripts/webkitpy/tool/commands/upload.py:

(CleanPendingCommit._flags_to_clear_on_patch):
(CleanPendingCommit.execute):
(AssignToCommitter._assign_bug_to_last_patch_attacher):

2:49 PM Changeset in webkit [123919] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

Search cancel button is hard to activate with a tap gesture even if touch adjustment is enabled.
https://bugs.webkit.org/show_bug.cgi?id=91894

Patch by Kevin Ellis <kevers@chromium.org> on 2012-07-27
Reviewed by Antonio Gomes.

Source/WebCore:

Update check for determining if a node responds to tap gestures.
Previously, the cancel button was being discarded as a candidate for
touch adjustment if the touch area clipped the text input region
because the candidate pruning process failed to account for the cancel
button having a default mouse handler. Possibly an interim fix,
depending on resolution to 92093.

Test: touchadjustment/search-cancel.html

  • page/TouchAdjustment.cpp:

(TouchAdjustment):
(WebCore::TouchAdjustment::nodeRespondsToTapGesture):

LayoutTests:

Add test for touch adjustment in the vicinity of a search cancel button.
Prior to the patch, the cancel button was pruned as a candidate if the
touch area clipped the input field.

  • touchadjustment/search-cancel-expected.txt: Added.
  • touchadjustment/search-cancel.html: Added.
2:48 PM Changeset in webkit [123918] by dpranke@chromium.org
  • 1 edit
    1 add in trunk/Tools

chromium win compile broken after removing webkit.py
https://bugs.webkit.org/show_bug.cgi?id=92549

Unreviewed, build fix.

It turns out that this file is listed in the chromium downstream
'browser_tests.isolate' file, and so deleting it broke gyp.
Adding a stub file back in until we can remove the entry from
the file.

  • Scripts/webkitpy/layout_tests/port/webkit.py: Added.
2:40 PM Changeset in webkit [123917] by Patrick Gansterer
  • 2 edits in trunk/Source/WTF

MinGW build fails because of missing header in GregorianDateTime.h
https://bugs.webkit.org/show_bug.cgi?id=92531

Patch by Paweł Forysiuk <tuxator@o2.pl> on 2012-07-27

  • wtf/GregorianDateTime.h: Include time.h
2:10 PM CommitterTips edited by peter@chromium.org
Clarify that new committers should manually commit the change to … (diff)
2:04 PM Changeset in webkit [123916] by dpranke@chromium.org
  • 13 edits
    2 deletes in trunk/Tools

nrwt: remove 'webkit.py' and the 'WebKitPort'
https://bugs.webkit.org/show_bug.cgi?id=92450

Reviewed by Ryosuke Niwa.

This patch finishes the work of merging WebKitPort into Port.
Now Port is way too big :).

This is all cutting and pasting; no new functionality and
no changes in the tests.

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

(ApplePort):
(ApplePort.init):

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

(Port.skipped_layout_tests):
(Port):
(Port._port_flag_for_scripts):
(Port._arguments_for_configuration):
(Port._run_script):
(Port._build_driver):
(Port._build_driver_flags):
(Port._tests_for_other_platforms):
(Port._runtime_feature_list):
(Port.nm_command):
(Port._modules_to_search_for_symbols):
(Port._symbols_string):
(Port._missing_feature_to_skipped_tests):
(Port._missing_symbol_to_skipped_tests):
(Port._has_test_in_directories):
(Port._skipped_tests_for_unsupported_features):
(Port._wk2_port_name):
(Port._skipped_file_search_paths):

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

(ChromiumPort):

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

(ChromiumPortTestCase.test_check_build):

  • Scripts/webkitpy/layout_tests/port/driver_unittest.py:
  • Scripts/webkitpy/layout_tests/port/efl.py:

(EflPort):
(EflPort.init):

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

(GtkPort):
(GtkPort.setup_environ_for_server):

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

(TestWebKitPort):
(TestWebKitPort.init):
(TestWebKitPort.all_test_configurations):
(TestWebKitPort._symbols_string):
(TestWebKitPort._tests_for_other_platforms):
(TestWebKitPort._tests_for_disabled_features):
(PortTestCase):
(PortTestCase.test_diff_image):
(PortTestCase.test_path_to_test_expectations_file):
(PortTestCase.test_skipped_directories_for_symbols):
(test_skipped_directories_for_features):
(test_skipped_directories_for_features_no_matching_tests_in_test_list):
(test_skipped_tests_for_unsupported_features_empty_test_list):
(test_skipped_layout_tests):
(test_skipped_file_search_paths):
(test_root_option):
(test_test_expectations):
(test_build_driver):
(_assert_config_file_for_platform):
(test_linux_distro_detection):
(test_apache_config_file_name_for_platform):
(test_path_to_apache_config_file):

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

(QtPort):
(QtPort.init):
(QtPort.setup_environ_for_server):

  • Scripts/webkitpy/layout_tests/port/webkit.py: Removed.
  • Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Removed.
  • Scripts/webkitpy/tool/servers/rebaselineserver.py:

(get_test_baselines.AllPlatformsPort):
(get_test_baselines.AllPlatformsPort.init):

  • Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:

(get_test_config.TestMacPort):

1:48 PM Changeset in webkit [123915] by andersca@apple.com
  • 2 edits in trunk/Source/WebKit2

Don't use an NSUserDefault for disabling the web process sandbox
https://bugs.webkit.org/show_bug.cgi?id=92542
<rdar://problem/11976060>

Reviewed by Mark Rowe.

The user default was really helpful during WebKit2 bringup, but we no longer need to pay the IPC cost of initializing NSUserDefaults at startup,
so get rid of the preference and use a good old #ifdef instead.

  • WebProcess/mac/WebProcessMac.mm:

(WebKit::initializeSandbox):

1:43 PM Changeset in webkit [123914] by commit-queue@webkit.org
  • 4 edits
    4 adds in trunk

Animated SVGs do not clear previous frame completely in hidpi mode.
https://bugs.webkit.org/show_bug.cgi?id=92395

Patch by Varun Jain <varunjain@chromium.org> on 2012-07-27
Reviewed by Darin Adler.

Source/WebCore:

The rect thats is cleared in subsequent frames needed to be scaled with device scale.

Test: svg/as-image/animated-svg-repaints-completely-in-hidpi.html

  • svg/graphics/SVGImage.cpp:

(WebCore::SVGImage::drawSVGToImageBuffer):

LayoutTests:

  • platform/chromium/TestExpectations:
  • platform/mac/svg/as-image/animated-svg-repaints-completely-in-hidpi-expected.png: Added.
  • platform/mac/svg/as-image/animated-svg-repaints-completely-in-hidpi-expected.txt: Added.
  • svg/as-image/animated-svg-repaints-completely-in-hidpi.html: Added.
  • svg/as-image/resources/animated-rect-fixed-size-3.svg: Added.
1:41 PM Changeset in webkit [123913] by mitz@apple.com
  • 2 edits in trunk/Source/WebCore

Fix COMPILE_ASSERT for InlineFlowBox growing
https://bugs.webkit.org/show_bug.cgi?id=92541

Patch by Scott Graham <scottmg@chromium.org> on 2012-07-27
Reviewed by Dan Bernstein.

Use unsigned instead of bool to keep size small on Windows.

No new tests.

  • rendering/InlineFlowBox.h:

(InlineFlowBox):

1:33 PM Changeset in webkit [123912] by Beth Dakin
  • 13 edits
    3 adds in trunk

https://bugs.webkit.org/show_bug.cgi?id=92327
-webkit-background-clip:text is blurry in WebKit 1 apps when
deviceScaleFactor > 1
-and corresponding-
<rdar://problem/11683788>

Reviewed by Simon Fraser.

Source/WebCore:

The bug here is that the code to make createCompatibleBuffer() HiDPI-savvy
assumed that the deviceScaleFactor would always be baked into the CTM of the
GraphicsContext. But that is NOT the case in WebKit 1.

createCompatibleBuffer() is used for clip text and gradients.

Now getCTM() takes a parameter indicating whether the result should definitely
include the device scale, or if it should possibly included the device scale,
which is the option that matches old behavior.

  • platform/graphics/GraphicsContext.h:

(GraphicsContext):

  • platform/graphics/cairo/GraphicsContextCairo.cpp:

(WebCore::GraphicsContext::getCTM):

  • platform/graphics/openvg/GraphicsContextOpenVG.cpp:

(WebCore::GraphicsContext::getCTM):

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::getCTM):

  • platform/graphics/skia/GraphicsContextSkia.cpp:

(WebCore::GraphicsContext::getCTM):

  • platform/graphics/wince/GraphicsContextWinCE.cpp:

(WebCore::GraphicsContext::getCTM):

  • platform/graphics/wx/GraphicsContextWx.cpp:

(WebCore::GraphicsContext::getCTM):

Actually use the new parameter in the CG implementation. Use CG API to get a
matrix that definitely includes the device scale when that is required.

  • platform/graphics/cg/GraphicsContextCG.cpp:

(WebCore::GraphicsContext::getCTM):

Remove some symbol cruft that doesn't seem to require a replacement.

  • WebCore.exp.in:

Use DefinitelyIncludeDeviceScale when getting the CTM in the buggy spot.

  • platform/graphics/GraphicsContext.cpp:

(WebCore::GraphicsContext::createCompatibleBuffer):

The ImageBuffer for gradients is created using createCompatibleBuffer(), and since
createCompatibleBuffer() now uses getCTM(DefinitelyIncludeDeviceScale) to
determine appropriate sizing, drawPattern() should use that same matrix to
determine pattern sizing.

  • platform/graphics/GeneratorGeneratedImage.cpp:

(WebCore::GeneratorGeneratedImage::drawPattern):

LayoutTests:

  • fast/hidpi/gradient-with-scaled-ancestor.html: Added.
  • platform/mac/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Added.
  • platform/mac/fast/hidpi/gradient-with-scaled-ancestor-expected.txt: Added.
1:10 PM Changeset in webkit [123911] by commit-queue@webkit.org
  • 10 edits in trunk

[WK2][WTR] LayoutTestController.deliverWebIntent() needs to be implemented
https://bugs.webkit.org/show_bug.cgi?id=92228

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-27
Reviewed by Anders Carlsson.

Source/WebKit2:

Add C API to create a WKIntentData and to deliver
it to a frame. This is needed by WebKitTestRunner
to implement LayoutTestController.deliverWebIntent().

  • UIProcess/API/C/WKIntentData.cpp:

(WKIntentDataCreate):

  • UIProcess/API/C/WKIntentData.h:
  • WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:

(WKBundlePageDeliverIntentToFrame):

  • WebProcess/InjectedBundle/API/c/WKBundlePage.h:
  • WebProcess/WebPage/WebPage.h:

(WebPage): Make deliverIntentToFrame() public so that it can
be used by WKBundlePage.

Tools:

Implement LayoutTestController.deliverWebIntent() to
allow test cases to deliver a Web intent and test this
functionality.

This functionality is needed by:

  • webintents/web-intents-delivery.html
  • WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:

(WTR::LayoutTestController::deliverWebIntent):
(WTR):

  • WebKitTestRunner/InjectedBundle/LayoutTestController.h:

(LayoutTestController):

12:49 PM Changeset in webkit [123910] by bweinstein@apple.com
  • 1 edit
    1 add in trunk/LayoutTests

Add Mac results for fast/table/table-row-outline-paint.html.

  • platform/mac/fast/table/table-row-outline-paint-expected.txt: Added.
12:46 PM Changeset in webkit [123909] by commit-queue@webkit.org
  • 5 edits
    2 adds in trunk

Source/WebCore: flex-wrap: wrap not wrapping for % sized items in column flow
https://bugs.webkit.org/show_bug.cgi?id=92324

Patch by Tony Chang <tony@chromium.org> on 2012-07-27
Reviewed by Ojan Vafai.

We were using trying to use the value of contentLogicalHeight() before having called computeLogicalHeight()
in a few places. Fix this in mainAxisContentExtent() rather than at the callers.

Test: css3/flexbox/percentage-heights.html

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::mainAxisContentExtent):
(WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild): If we haven't called computeLogicalHeight, we try to compute
the height based on the fixed flexbox value. min/max don't matter here since percent values are only based on height/width.

  • rendering/RenderFlexibleBox.h: Drop const because computeContentLogicalHeightUsing is not const. I can

try making computeContentLogicalHeightUsing const in a follow up change (might be non-trivial).

Source/WebKit2: Show the unavailable plug-in indicator for Java applets as well
https://bugs.webkit.org/show_bug.cgi?id=92521

Patch by Anders Carlsson <andersca@apple.com> on 2012-07-27
Reviewed by Sam Weinig.

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::unavailablePluginButtonClicked):
This can now be called on applet elements as well.

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::createJavaAppletWidget):
Get the MIME type from the applet element.

LayoutTests: flex-wrap: wrap not wrapping for % sized items in column flow
https://bugs.webkit.org/show_bug.cgi?id=92324

Patch by Tony Chang <tony@chromium.org> on 2012-07-27
Reviewed by Ojan Vafai.

Test cases for column flow with percentage heights. There are three
test cases for the three callers of mainAxisContentExtent() that were
broken by this.

  • css3/flexbox/percentage-heights-expected.txt: Added.
  • css3/flexbox/percentage-heights.html: Added.
12:38 PM Changeset in webkit [123908] by commit-queue@webkit.org
  • 16 edits
    2 adds in trunk/Source/WebCore

Add an overlay play button to media controls on android
https://bugs.webkit.org/show_bug.cgi?id=92132

Patch by Min Qin <qinmin@chromium.org> on 2012-07-27
Reviewed by Adam Barth.

This change adds an overlay play button to the media controls for android.
No tests for now as this setting is not being used by other port.
Will add a test and adjust all the test expectations when we upstream the layout tests for android.

  • WebCore.gypi:
  • css/CSSPrimitiveValueMappings.h:

(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):

  • css/CSSValueKeywords.in:
  • css/mediaControls.css:

(audio::-webkit-media-controls-overlay-play-button, video::-webkit-media-controls-overlay-play-button):

  • css/mediaControlsChromiumAndroid.css:

(audio::-webkit-media-controls-overlay-enclosure):
(video::-webkit-media-controls-overlay-enclosure):
(audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
(video::-webkit-media-controls-overlay-play-button):

  • html/shadow/MediaControlElements.cpp:

(WebCore::MediaControlOverlayPlayButtonElement::MediaControlOverlayPlayButtonElement):
(WebCore):
(WebCore::MediaControlOverlayPlayButtonElement::create):
(WebCore::MediaControlOverlayPlayButtonElement::defaultEventHandler):
(WebCore::MediaControlOverlayPlayButtonElement::updateDisplayType):
(WebCore::MediaControlOverlayPlayButtonElement::shadowPseudoId):

  • html/shadow/MediaControlElements.h:

(MediaControlOverlayPlayButtonElement):
(WebCore):

  • html/shadow/MediaControlRootElementChromium.cpp:

(WebCore::MediaControlPanelEnclosureElement::MediaControlPanelEnclosureElement):
(WebCore::MediaControlPanelEnclosureElement::create):
(WebCore):
(WebCore::MediaControlPanelEnclosureElement::shadowPseudoId):
(WebCore::MediaControlRootElementChromium::create):
(WebCore::MediaControlRootElementChromium::initializeControls):

  • html/shadow/MediaControlRootElementChromium.h:

(MediaControlChromiumEnclosureElement):
(WebCore):
(MediaControlPanelEnclosureElement):
(MediaControlRootElementChromium):

  • html/shadow/MediaControlRootElementChromiumAndroid.cpp: Added.

(WebCore):
(WebCore::MediaControlOverlayEnclosureElement::MediaControlOverlayEnclosureElement):
(WebCore::MediaControlOverlayEnclosureElement::create):
(WebCore::MediaControlOverlayEnclosureElement::shadowPseudoId):
(WebCore::MediaControlRootElementChromiumAndroid::MediaControlRootElementChromiumAndroid):
(WebCore::MediaControls::create):
(WebCore::MediaControlRootElementChromiumAndroid::create):
(WebCore::MediaControlRootElementChromiumAndroid::setMediaController):
(WebCore::MediaControlRootElementChromiumAndroid::playbackStarted):
(WebCore::MediaControlRootElementChromiumAndroid::playbackStopped):

  • html/shadow/MediaControlRootElementChromiumAndroid.h: Added.

(WebCore):
(MediaControlOverlayEnclosureElement):
(MediaControlRootElementChromiumAndroid):

  • platform/ThemeTypes.h:
  • rendering/RenderMediaControlsChromium.cpp:

(WebCore::paintMediaOverlayPlayButton):
(WebCore):
(WebCore::RenderMediaControlsChromium::paintMediaControlsPart):

  • rendering/RenderTheme.cpp:

(WebCore::RenderTheme::paint):

  • rendering/RenderTheme.h:

(WebCore::RenderTheme::paintMediaOverlayPlayButton):

  • rendering/RenderThemeChromiumAndroid.cpp:

(WebCore::RenderThemeChromiumAndroid::paintMediaOverlayPlayButton):
(WebCore):

  • rendering/RenderThemeChromiumAndroid.h:
12:30 PM Changeset in webkit [123907] by andersca@apple.com
  • 9 edits in trunk/Source

Show the unavailable plug-in indicator for Java applets as well
https://bugs.webkit.org/show_bug.cgi?id=92521

Reviewed by Sam Weinig.

Source/WebCore:

Now that <applet> behaves more like <embed> and <object>, make sure that we show the unavailable plug-in indicator
and call the correct error callbacks if we fail to instantiate the plug-in.

  • WebCore.exp.in:

Export a symbol needed by WebKit2.

  • html/HTMLAppletElement.cpp:

(WebCore::HTMLAppletElement::HTMLAppletElement):
Set the correct service type.

  • loader/SubframeLoader.cpp:

(WebCore::SubframeLoader::createJavaAppletWidget):
Enable the unavailable plug-in indicator if we fail to create the java applet widget.

Source/WebKit/mac:

Check if the Java plug-in is blocked before trying to instantiate it.

  • WebCoreSupport/WebFrameLoaderClient.mm:

Source/WebKit2:

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::unavailablePluginButtonClicked):
This can now be called on applet elements as well.

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::createJavaAppletWidget):
Get the MIME type from the applet element.

12:30 PM Changeset in webkit [123906] by jer.noble@apple.com
  • 4 edits in trunk

Unreviewed build fix.

Source/WTF:

Use MathExtras.h and the non std:: versions of isnan and signbit.

  • wtf/MediaTime.cpp:

(WTF::MediaTime::createWithFloat):
(WTF::MediaTime::createWithDouble):

Tools:

Wrap MSVC-specific fixes is a COMPILER() check, not a PLATFORM() check.

  • TestWebKitAPI/Tests/WTF/MediaTime.cpp:
12:29 PM Changeset in webkit [123905] by mhahnenberg@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

Increase inline storage for JSFinalObjects by one
https://bugs.webkit.org/show_bug.cgi?id=92526

Reviewed by Geoffrey Garen.

Now that we've removed the inheritorID from objects, we can increase our inline storage for JSFinalObjects on
64-bit platforms by 1.

  • llint/LowLevelInterpreter.asm: Change the constant.
  • runtime/PropertyOffset.h: Change the constant.

(JSC):

12:25 PM Changeset in webkit [123904] by mitz@apple.com
  • 5 edits
    2 adds in trunk

Hit testing near a column break can return a result from an adjacent column when there is leading
https://bugs.webkit.org/show_bug.cgi?id=92524

Reviewed by Anders Carlsson.

Source/WebCore:

The fix for <http://webkit.org/b/92311> relied on the existence of a pagination strut for
detecting that a line was at the beginning of a new column. However, when a line naturally
falls at the beginning of a column, there is no pagination strut, and the check failed.

Test: fast/multicol/hit-test-end-of-column-with-line-height.html

  • rendering/InlineFlowBox.h:

(WebCore::InlineFlowBox::InlineFlowBox): Added initializer for new member variable.
(InlineFlowBox): Added m_isFirstAfterPageBreak member variable.

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::positionForPointWithInlineChildren): Changed the test for whether a
line was at the beginning of a column from relying on a pagination strut to checking
isFirstAfterPageBreak(). Also refined the hit test itself to include the leading above such
a line.
(WebCore::RenderBlock::adjustLinePositionForPagination): Added calls to
setIsFirstAfterPageBreak() to first reset this flag, then set it to true if necessary.

  • rendering/RootInlineBox.h:

(WebCore::RootInlineBox::isFirstAfterPageBreak): Added this accessor.
(WebCore::RootInlineBox::setIsFirstAfterPageBreak): Ditto.

LayoutTests:

  • fast/multicol/hit-test-end-of-column-with-line-height-expected.txt: Added.
  • fast/multicol/hit-test-end-of-column-with-line-height.html: Added.
12:03 PM Changeset in webkit [123903] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[WK2] Fix build warning in WebEventConversion.cpp
https://bugs.webkit.org/show_bug.cgi?id=92517

Patch by Gyuyoung Kim <gyuyoung.kim@samsung.com> on 2012-07-27
Reviewed by Darin Adler.

There is a build warning related to comparison between signed and unsigned integer expressions.

  • Shared/WebEventConversion.cpp:

(WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent):

12:02 PM Changeset in webkit [123902] by commit-queue@webkit.org
  • 3 edits in trunk/Source

Web Inspector: Allow front_end to be loaded into an iframe
https://bugs.webkit.org/show_bug.cgi?id=92437

Patch by John J. Barton <johnjbarton@johnjbarton.com> on 2012-07-27
Reviewed by Pavel Feldman.

This change only affects 'embedders' of the inspector/front_end. No change of function for WebKit ports.

  • inspector/front-end/ExtensionAPI.js:

Replace window.top with window.parent two places. When WebInspector is loaded as the main window content,
then extension iframes have window.top === window.parent; when WebInspector is loaded as an iframe, then
extensions are iframes in iframes and we need to use a relative address window.parent.
(injectedExtensionAPI.ExtensionViewImpl.dispatchShowEvent):
(injectedExtensionAPI.ExtensionViewImpl):
(injectedExtensionAPI.ExtensionServerClient):
WebKit/chromium/scripts/generate_devtools_extension_api.py:
The current number of frames is used in a dynamically created identifier. Again we replace 'top' by
window.parent.

11:54 AM Changeset in webkit [123901] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: InspectorPageAgent should ascertain document to be non-null in updateViewMetrics()
https://bugs.webkit.org/show_bug.cgi?id=92476

Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-07-27
Reviewed by Pavel Feldman.

InspectorPageAgent should check for document object being null. As pages created with blank URL might
not have the document object, this causes a crash.

No new tests as added null check.

  • inspector/InspectorPageAgent.cpp:

(WebCore::InspectorPageAgent::updateViewMetrics):

11:42 AM Changeset in webkit [123900] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

[Chromium-Android] NRWT better handling of DRT deadlocks and crashes
https://bugs.webkit.org/show_bug.cgi?id=92299

Patch by Xianzhu Wang <wangxianzhu@chromium.org> on 2012-07-27
Reviewed by Dirk Pranke.

  1. Changed the deadlock detector thread target from a method of driver to a function to avoid its reference to the current driver (see the bug for the problem of the reference.
  2. Let the deadlock detector thread exit early when the normal_startup_event is set to avoid it from blocking the main thread when the main thread is exiting.
  3. Extracted common loop until timeout logic into ChromiumAndroidDriver._loop_with_timeout().
  4. Use the "for i in range(n)" style suggested by dpranke in https://bugs.webkit.org/show_bug.cgi?id=89124 in several functions.
  • Scripts/webkitpy/layout_tests/port/chromium_android.py:

(ChromiumAndroidPort.init):
(ChromiumAndroidPort._run_adb_command): Reduced the verbose output.
(ChromiumAndroidDriver.init):
(ChromiumAndroidDriver._loop_with_timeout): Extracted common loop until timeout logic here.
(ChromiumAndroidDriver._all_pipes_created):
(ChromiumAndroidDriver._remove_all_pipes):
(ChromiumAndroidDriver._start): Changed the retry loop style.
(ChromiumAndroidDriver._start_once): Changed the loop style and code related to deadlock detector.
(ChromiumAndroidDriver._start_once.deadlock_detector): Moved the original ChromiumAndroidDriver._deadlock_detector() here.
(ChromiumAndroidDriver.stop): Changed the loop style.

11:38 AM Changeset in webkit [123899] by commit-queue@webkit.org
  • 4 edits
    2 adds in trunk

CSP directives containing invalid characters should log an error.
https://bugs.webkit.org/show_bug.cgi?id=92487

Patch by Mike West <mkwst@chromium.org> on 2012-07-27
Reviewed by Adam Barth.

Source/WebCore:

Unknown directive names are currently logged, but we exit the directive
parser early without logging if we hit an invalid character inside a
directive. script-src: ..., for example, was ignored without letting
the developer know what happened. This patch changes that behavior,
logging the whole name (in this case script-src:) as an unknown
directive.

Test: http/tests/security/contentSecurityPolicy/directive-parsing-04.html

  • page/ContentSecurityPolicy.cpp:

(WebCore::CSPDirectiveList::parseDirective):

LayoutTests:

  • http/tests/security/contentSecurityPolicy/directive-parsing-03-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/directive-parsing-04-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/directive-parsing-04.html: Added.

Adding a test specifically for script-src: ... which bit me, and
updating test #3, which now has a better error message.

11:26 AM Changeset in webkit [123898] by dpranke@chromium.org
  • 4 edits in trunk/Tools

nrwt: move collect_tests(), parse_expectations() into manager
https://bugs.webkit.org/show_bug.cgi?id=92423

Reviewed by Ojan Vafai.

This is the first in a series of patches refactoring
run_webkit_tests.py and manager.py to make them more
maintainable; all this patch does is move a couple of functions
into manager.run_tests() so manager's public interface is
simple.

  • Scripts/webkitpy/layout_tests/controllers/manager.py:

(Manager._collect_tests):
(Manager._parse_expectations):
(Manager._split_into_chunks_if_necessary):
(Manager.run):
(read_test_files):

  • Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:

(ManagerTest.test_http_locking):
(ManagerTest.test_perf_locking):
(ManagerTest.integration_test_needs_servers.get_manager_with_tests):
(ManagerTest.test_look_for_new_crash_logs.get_manager_with_tests):

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(run):

11:25 AM Changeset in webkit [123897] by commit-queue@webkit.org
  • 1 edit
    5 adds in trunk/PerformanceTests

Add more Russian replay performance tests
https://bugs.webkit.org/show_bug.cgi?id=92462

Patch by Ryosuke Niwa <rniwa@webkit.org> on 2012-07-27
Reviewed by Tony Chang.

Add more Russian sites as suggested by loislo.

  • Replay/Russian/lenta.ru.replay: Added.
  • Replay/Russian/www.ixbt.com.replay: Added.
  • Replay/Russian/www.kp.ru.replay: Added.
  • Replay/Russian/www.liveinternet.ru.replay: Added.
  • Replay/Russian/www.pravda.ru.replay: Added.
11:25 AM Changeset in webkit [123896] by commit-queue@webkit.org
  • 404 edits
    2 copies
    1 move
    10 adds
    23 deletes in trunk/LayoutTests

[Qt] platform/qt/svg/custom tests needs update after font change.
https://bugs.webkit.org/show_bug.cgi?id=91090.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-27
Reviewed by Zoltan Herczeg.

  • platform/qt-5.0-wk1/Skipped:
  • platform/qt-5.0-wk2/Skipped:
  • platform/qt-5.0-wk2/svg/custom/altglyph-expected.png: Removed.
  • platform/qt-5.0-wk2/svg/custom/altglyph-expected.txt: Removed.
  • platform/qt-5.0-wk2/svg/custom/font-face-simple-expected.png: Removed.
  • platform/qt-5.0-wk2/svg/custom/font-face-simple-expected.txt: Removed.
  • platform/qt-5.0-wk2/svg/custom/inline-svg-in-xhtml-expected.png: Added.
  • platform/qt-5.0-wk2/svg/custom/inline-svg-in-xhtml-expected.txt: Copied from LayoutTests/platform/qt/svg/custom/inline-svg-in-xhtml-expected.txt.
  • platform/qt-5.0/Skipped:
  • platform/qt-5.0/svg/custom/glyph-selection-arabic-forms-expected.png: Removed.
  • platform/qt-5.0/svg/custom/glyph-selection-arabic-forms-expected.txt: Removed.
  • platform/qt-5.0/svg/custom/glyph-selection-bidi-mirror-expected.png: Removed.
  • platform/qt-5.0/svg/custom/glyph-selection-bidi-mirror-expected.txt: Removed.
  • platform/qt-5.0/svg/custom/glyph-selection-non-bmp-expected.txt: Removed.
  • platform/qt-5.0/svg/custom/glyph-transformation-with-hkern-expected.png: Removed.
  • platform/qt-5.0/svg/custom/glyph-transformation-with-hkern-expected.txt: Removed.
  • platform/qt-5.0/svg/custom/preserve-aspect-ratio-syntax-expected.png: Removed.
  • platform/qt-5.0/svg/custom/preserve-aspect-ratio-syntax-expected.txt: Removed.
  • platform/qt-5.0/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png: Removed.
  • platform/qt-5.0/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt: Removed.
  • platform/qt-5.0/svg/custom/svg-features-expected.txt: Removed.
  • platform/qt-5.0/svg/custom/svg-fonts-in-html-expected.png: Removed.
  • platform/qt-5.0/svg/custom/svg-fonts-in-html-expected.txt: Removed.
  • platform/qt-5.0/svg/custom/svg-fonts-in-text-controls-expected.txt: Removed.
  • platform/qt-5.0/svg/custom/svg-fonts-segmented-expected.png: Removed.
  • platform/qt-5.0/svg/custom/svg-fonts-segmented-expected.txt: Removed.
  • platform/qt-5.0/svg/custom/text-linking-expected.png: Removed.
  • platform/qt-5.0/svg/custom/text-linking-expected.txt: Removed.
  • platform/qt/svg/custom/SVGMatrix-interface-expected.png:
  • platform/qt/svg/custom/SVGMatrix-interface-expected.txt:
  • platform/qt/svg/custom/SVGPoint-matrixTransform-expected.png:
  • platform/qt/svg/custom/SVGPoint-matrixTransform-expected.txt:
  • platform/qt/svg/custom/absolute-sized-content-with-resources-expected.png:
  • platform/qt/svg/custom/absolute-sized-content-with-resources-expected.txt:
  • platform/qt/svg/custom/absolute-sized-svg-in-xhtml-expected.png:
  • platform/qt/svg/custom/absolute-sized-svg-in-xhtml-expected.txt:
  • platform/qt/svg/custom/alignment-baseline-modes-expected.png:
  • platform/qt/svg/custom/alignment-baseline-modes-expected.txt:
  • platform/qt/svg/custom/altglyph-expected.png:
  • platform/qt/svg/custom/altglyph-expected.txt:
  • platform/qt/svg/custom/baseval-animval-equality-expected.png:
  • platform/qt/svg/custom/baseval-animval-equality-expected.txt:
  • platform/qt/svg/custom/broken-internal-references-expected.txt:
  • platform/qt/svg/custom/bug45331-expected.png: Added.
  • platform/qt/svg/custom/bug45331-expected.txt: Added.
  • platform/qt/svg/custom/bug86119-expected.txt:
  • platform/qt/svg/custom/circle-move-invalidation-expected.png:
  • platform/qt/svg/custom/circle-move-invalidation-expected.txt:
  • platform/qt/svg/custom/clip-path-referencing-use-expected.png:
  • platform/qt/svg/custom/clip-path-referencing-use-expected.txt:
  • platform/qt/svg/custom/clip-path-referencing-use2-expected.png:
  • platform/qt/svg/custom/clip-path-referencing-use2-expected.txt:
  • platform/qt/svg/custom/clone-element-with-animated-svg-properties-expected.png:
  • platform/qt/svg/custom/clone-element-with-animated-svg-properties-expected.txt:
  • platform/qt/svg/custom/container-opacity-clip-viewBox-expected.png:
  • platform/qt/svg/custom/container-opacity-clip-viewBox-expected.txt:
  • platform/qt/svg/custom/coords-relative-units-transforms-expected.png:
  • platform/qt/svg/custom/coords-relative-units-transforms-expected.txt:
  • platform/qt/svg/custom/createImageElement2-expected.png: Added.
  • platform/qt/svg/custom/createImageElement2-expected.txt:
  • platform/qt/svg/custom/dominant-baseline-hanging-expected.png:
  • platform/qt/svg/custom/dominant-baseline-hanging-expected.txt:
  • platform/qt/svg/custom/dominant-baseline-modes-expected.png:
  • platform/qt/svg/custom/dominant-baseline-modes-expected.txt:
  • platform/qt/svg/custom/dynamic-svg-document-creation-expected.png:
  • platform/qt/svg/custom/dynamic-svg-document-creation-expected.txt:
  • platform/qt/svg/custom/embedding-external-svgs-expected.png:
  • platform/qt/svg/custom/embedding-external-svgs-expected.txt:
  • platform/qt/svg/custom/empty-clip-path-expected.png:
  • platform/qt/svg/custom/empty-clip-path-expected.txt:
  • platform/qt/svg/custom/empty-mask-expected.png: Added.
  • platform/qt/svg/custom/empty-mask-expected.txt:
  • platform/qt/svg/custom/external-paintserver-reference-expected.png:
  • platform/qt/svg/custom/external-paintserver-reference-expected.txt:
  • platform/qt/svg/custom/fill-SVGPaint-interface-expected.png:
  • platform/qt/svg/custom/fill-SVGPaint-interface-expected.txt:
  • platform/qt/svg/custom/fill-fallback-expected.png:
  • platform/qt/svg/custom/fill-fallback-expected.txt:
  • platform/qt/svg/custom/focus-ring-expected.png:
  • platform/qt/svg/custom/focus-ring-expected.txt:
  • platform/qt/svg/custom/font-face-cascade-order-expected.png:
  • platform/qt/svg/custom/font-face-cascade-order-expected.txt:
  • platform/qt/svg/custom/font-face-simple-expected.png:
  • platform/qt/svg/custom/font-face-simple-expected.txt:
  • platform/qt/svg/custom/foreign-object-skew-expected.png:
  • platform/qt/svg/custom/foreign-object-skew-expected.txt:
  • platform/qt/svg/custom/foreignObject-crash-on-hover-expected.png:
  • platform/qt/svg/custom/foreignObject-crash-on-hover-expected.txt:
  • platform/qt/svg/custom/getPresentationAttribute-expected.png:
  • platform/qt/svg/custom/getPresentationAttribute-expected.txt:
  • platform/qt/svg/custom/getTransformToElement-expected.png:
  • platform/qt/svg/custom/getTransformToElement-expected.txt:
  • platform/qt/svg/custom/getscreenctm-in-mixed-content-expected.png:
  • platform/qt/svg/custom/getscreenctm-in-mixed-content-expected.txt:
  • platform/qt/svg/custom/getscreenctm-in-scrollable-div-area-expected.png:
  • platform/qt/svg/custom/getscreenctm-in-scrollable-div-area-expected.txt:
  • platform/qt/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.png:
  • platform/qt/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.txt:
  • platform/qt/svg/custom/getscreenctm-in-scrollable-svg-area-expected.png:
  • platform/qt/svg/custom/getscreenctm-in-scrollable-svg-area-expected.txt:
  • platform/qt/svg/custom/getsvgdocument-expected.png:
  • platform/qt/svg/custom/getsvgdocument-expected.txt:
  • platform/qt/svg/custom/glyph-selection-arabic-forms-expected.png: Added.
  • platform/qt/svg/custom/glyph-selection-arabic-forms-expected.txt:
  • platform/qt/svg/custom/glyph-selection-bidi-mirror-expected.png: Copied from LayoutTests/platform/qt-5.0/svg/custom/glyph-selection-non-bmp-expected.png.
  • platform/qt/svg/custom/glyph-selection-bidi-mirror-expected.txt:
  • platform/qt/svg/custom/glyph-selection-non-bmp-expected.png: Renamed from LayoutTests/platform/qt-5.0/svg/custom/glyph-selection-non-bmp-expected.png.
  • platform/qt/svg/custom/glyph-selection-non-bmp-expected.txt:
  • platform/qt/svg/custom/glyph-transformation-with-hkern-expected.png:
  • platform/qt/svg/custom/glyph-transformation-with-hkern-expected.txt:
  • platform/qt/svg/custom/gradient-cycle-detection-expected.png:
  • platform/qt/svg/custom/gradient-cycle-detection-expected.txt:
  • platform/qt/svg/custom/gradient-deep-referencing-expected.png:
  • platform/qt/svg/custom/gradient-deep-referencing-expected.txt:
  • platform/qt/svg/custom/gradient-with-1d-boundingbox-expected.png: Added.
  • platform/qt/svg/custom/gradient-with-1d-boundingbox-expected.txt:
  • platform/qt/svg/custom/hit-test-path-expected.png:
  • platform/qt/svg/custom/hit-test-path-expected.txt:
  • platform/qt/svg/custom/hit-test-path-stroke-expected.png:
  • platform/qt/svg/custom/hit-test-path-stroke-expected.txt:
  • platform/qt/svg/custom/hit-test-unclosed-subpaths-expected.png:
  • platform/qt/svg/custom/hit-test-unclosed-subpaths-expected.txt:
  • platform/qt/svg/custom/image-parent-translation-expected.png:
  • platform/qt/svg/custom/image-parent-translation-expected.txt:
  • platform/qt/svg/custom/image-rescale-clip-expected.png:
  • platform/qt/svg/custom/image-rescale-clip-expected.txt:
  • platform/qt/svg/custom/image-rescale-scroll-expected.png:
  • platform/qt/svg/custom/image-rescale-scroll-expected.txt:
  • platform/qt/svg/custom/image-small-width-height-expected.png:
  • platform/qt/svg/custom/image-small-width-height-expected.txt:
  • platform/qt/svg/custom/image-with-transform-clip-filter-expected.png:
  • platform/qt/svg/custom/image-with-transform-clip-filter-expected.txt:
  • platform/qt/svg/custom/inline-svg-in-xhtml-expected.png:
  • platform/qt/svg/custom/inline-svg-in-xhtml-expected.txt:
  • platform/qt/svg/custom/invalid-css-expected.png:
  • platform/qt/svg/custom/invalid-css-expected.txt:
  • platform/qt/svg/custom/invalid-fill-expected.png:
  • platform/qt/svg/custom/invalid-fill-expected.txt:
  • platform/qt/svg/custom/invalid-fill-hex-expected.png:
  • platform/qt/svg/custom/invalid-fill-hex-expected.txt:
  • platform/qt/svg/custom/invalid-lengthlist-expected.png:
  • platform/qt/svg/custom/invalid-lengthlist-expected.txt:
  • platform/qt/svg/custom/invalid-stroke-hex-expected.png: Added.
  • platform/qt/svg/custom/invalid-stroke-hex-expected.txt:
  • platform/qt/svg/custom/invalid-uri-stroke-expected.png: Added.
  • platform/qt/svg/custom/invalid-uri-stroke-expected.txt:
  • platform/qt/svg/custom/invisible-text-after-scrolling-expected.png:
  • platform/qt/svg/custom/invisible-text-after-scrolling-expected.txt:
  • platform/qt/svg/custom/js-late-clipPath-and-object-creation-expected.png:
  • platform/qt/svg/custom/js-late-clipPath-and-object-creation-expected.txt:
  • platform/qt/svg/custom/js-late-clipPath-creation-expected.png:
  • platform/qt/svg/custom/js-late-clipPath-creation-expected.txt:
  • platform/qt/svg/custom/js-late-gradient-and-object-creation-expected.png:
  • platform/qt/svg/custom/js-late-gradient-and-object-creation-expected.txt:
  • platform/qt/svg/custom/js-late-gradient-creation-expected.png:
  • platform/qt/svg/custom/js-late-gradient-creation-expected.txt:
  • platform/qt/svg/custom/js-update-stop-linked-gradient-expected.png:
  • platform/qt/svg/custom/js-update-stop-linked-gradient-expected.txt:
  • platform/qt/svg/custom/linking-a-03-b-preserveAspectRatio-expected.png:
  • platform/qt/svg/custom/linking-a-03-b-preserveAspectRatio-expected.txt:
  • platform/qt/svg/custom/linking-a-03-b-transform-expected.png:
  • platform/qt/svg/custom/linking-a-03-b-transform-expected.txt:
  • platform/qt/svg/custom/linking-a-03-b-viewBox-expected.png:
  • platform/qt/svg/custom/linking-a-03-b-viewBox-expected.txt:
  • platform/qt/svg/custom/linking-a-03-b-viewBox-transform-expected.png:
  • platform/qt/svg/custom/linking-a-03-b-viewBox-transform-expected.txt:
  • platform/qt/svg/custom/linking-a-03-b-viewTarget-expected.png:
  • platform/qt/svg/custom/linking-a-03-b-viewTarget-expected.txt:
  • platform/qt/svg/custom/linking-a-03-b-zoomAndPan-expected.png:
  • platform/qt/svg/custom/linking-a-03-b-zoomAndPan-expected.txt:
  • platform/qt/svg/custom/linking-base-external-reference-expected.png:
  • platform/qt/svg/custom/linking-base-external-reference-expected.txt:
  • platform/qt/svg/custom/linking-uri-01-b-expected.png:
  • platform/qt/svg/custom/linking-uri-01-b-expected.txt:
  • platform/qt/svg/custom/marker-default-width-height-expected.png:
  • platform/qt/svg/custom/marker-default-width-height-expected.txt:
  • platform/qt/svg/custom/marker-overflow-clip-expected.png:
  • platform/qt/svg/custom/marker-overflow-clip-expected.txt:
  • platform/qt/svg/custom/mouse-move-on-svg-container-expected.png:
  • platform/qt/svg/custom/mouse-move-on-svg-container-expected.txt:
  • platform/qt/svg/custom/mouse-move-on-svg-container-standalone-expected.png:
  • platform/qt/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
  • platform/qt/svg/custom/mouse-move-on-svg-root-expected.png:
  • platform/qt/svg/custom/mouse-move-on-svg-root-expected.txt:
  • platform/qt/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
  • platform/qt/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
  • platform/qt/svg/custom/no-inherited-dashed-stroke-expected.png:
  • platform/qt/svg/custom/no-inherited-dashed-stroke-expected.txt:
  • platform/qt/svg/custom/non-opaque-filters-expected.png:
  • platform/qt/svg/custom/non-opaque-filters-expected.txt:
  • platform/qt/svg/custom/object-no-size-attributes-expected.png:
  • platform/qt/svg/custom/object-no-size-attributes-expected.txt:
  • platform/qt/svg/custom/object-sizing-expected.png:
  • platform/qt/svg/custom/object-sizing-expected.txt:
  • platform/qt/svg/custom/object-sizing-explicit-height-expected.png:
  • platform/qt/svg/custom/object-sizing-explicit-height-expected.txt:
  • platform/qt/svg/custom/object-sizing-explicit-width-expected.png:
  • platform/qt/svg/custom/object-sizing-explicit-width-expected.txt:
  • platform/qt/svg/custom/object-sizing-explicit-width-height-expected.png:
  • platform/qt/svg/custom/object-sizing-explicit-width-height-expected.txt:
  • platform/qt/svg/custom/object-sizing-height-50p-on-target-svg-absolute-expected.png:
  • platform/qt/svg/custom/object-sizing-height-50p-on-target-svg-absolute-expected.txt:
  • platform/qt/svg/custom/object-sizing-height-50p-on-target-svg-expected.png:
  • platform/qt/svg/custom/object-sizing-height-50p-on-target-svg-expected.txt:
  • platform/qt/svg/custom/object-sizing-no-width-height-expected.png:
  • platform/qt/svg/custom/object-sizing-no-width-height-expected.txt:
  • platform/qt/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-absolute-expected.png:
  • platform/qt/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-absolute-expected.txt:
  • platform/qt/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-expected.png:
  • platform/qt/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-expected.txt:
  • platform/qt/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.txt:
  • platform/qt/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-expected.txt:
  • platform/qt/svg/custom/object-sizing-width-50p-on-target-svg-absolute-expected.png:
  • platform/qt/svg/custom/object-sizing-width-50p-on-target-svg-absolute-expected.txt:
  • platform/qt/svg/custom/object-sizing-width-50p-on-target-svg-expected.png:
  • platform/qt/svg/custom/object-sizing-width-50p-on-target-svg-expected.txt:
  • platform/qt/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-absolute-expected.txt:
  • platform/qt/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-expected.png:
  • platform/qt/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-expected.txt:
  • platform/qt/svg/custom/path-textPath-simulation-expected.png:
  • platform/qt/svg/custom/path-textPath-simulation-expected.txt:
  • platform/qt/svg/custom/pattern-cycle-detection-expected.png:
  • platform/qt/svg/custom/pattern-cycle-detection-expected.txt:
  • platform/qt/svg/custom/pattern-deep-referencing-expected.png:
  • platform/qt/svg/custom/pattern-deep-referencing-expected.txt:
  • platform/qt/svg/custom/pattern-incorrect-tiling-expected.png:
  • platform/qt/svg/custom/pattern-incorrect-tiling-expected.txt:
  • platform/qt/svg/custom/pattern-rotate-expected.png:
  • platform/qt/svg/custom/pattern-rotate-expected.txt:
  • platform/qt/svg/custom/pattern-rotate-gaps-expected.png:
  • platform/qt/svg/custom/pattern-rotate-gaps-expected.txt:
  • platform/qt/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png:
  • platform/qt/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt:
  • platform/qt/svg/custom/pattern-with-transformation-expected.png:
  • platform/qt/svg/custom/pattern-with-transformation-expected.txt:
  • platform/qt/svg/custom/percentage-of-html-parent-expected.png:
  • platform/qt/svg/custom/percentage-of-html-parent-expected.txt:
  • platform/qt/svg/custom/pointer-events-image-css-transform-expected.png:
  • platform/qt/svg/custom/pointer-events-image-css-transform-expected.txt:
  • platform/qt/svg/custom/pointer-events-image-expected.png:
  • platform/qt/svg/custom/pointer-events-image-expected.txt:
  • platform/qt/svg/custom/pointer-events-path-expected.png:
  • platform/qt/svg/custom/pointer-events-path-expected.txt:
  • platform/qt/svg/custom/pointer-events-text-css-transform-expected.png:
  • platform/qt/svg/custom/pointer-events-text-css-transform-expected.txt:
  • platform/qt/svg/custom/pointer-events-text-expected.png:
  • platform/qt/svg/custom/pointer-events-text-expected.txt:
  • platform/qt/svg/custom/preserve-aspect-ratio-syntax-expected.png:
  • platform/qt/svg/custom/preserve-aspect-ratio-syntax-expected.txt:
  • platform/qt/svg/custom/recursive-clippath-expected.png:
  • platform/qt/svg/custom/recursive-clippath-expected.txt:
  • platform/qt/svg/custom/recursive-filter-expected.png:
  • platform/qt/svg/custom/recursive-filter-expected.txt:
  • platform/qt/svg/custom/recursive-gradient-expected.png:
  • platform/qt/svg/custom/recursive-gradient-expected.txt:
  • platform/qt/svg/custom/recursive-mask-expected.png:
  • platform/qt/svg/custom/recursive-mask-expected.txt:
  • platform/qt/svg/custom/recursive-pattern-expected.png:
  • platform/qt/svg/custom/recursive-pattern-expected.txt:
  • platform/qt/svg/custom/relative-sized-content-expected.png: Added.
  • platform/qt/svg/custom/relative-sized-content-expected.txt:
  • platform/qt/svg/custom/relative-sized-content-with-resources-expected.png:
  • platform/qt/svg/custom/relative-sized-content-with-resources-expected.txt:
  • platform/qt/svg/custom/relative-sized-deep-shadow-tree-content-expected.png:
  • platform/qt/svg/custom/relative-sized-deep-shadow-tree-content-expected.txt:
  • platform/qt/svg/custom/relative-sized-image-expected.png:
  • platform/qt/svg/custom/relative-sized-image-expected.txt:
  • platform/qt/svg/custom/relative-sized-inner-svg-expected.png:
  • platform/qt/svg/custom/relative-sized-inner-svg-expected.txt:
  • platform/qt/svg/custom/relative-sized-shadow-tree-content-expected.png:
  • platform/qt/svg/custom/relative-sized-shadow-tree-content-expected.txt:
  • platform/qt/svg/custom/relative-sized-shadow-tree-content-with-symbol-expected.png:
  • platform/qt/svg/custom/relative-sized-shadow-tree-content-with-symbol-expected.txt:
  • platform/qt/svg/custom/relative-sized-use-on-symbol-expected.png:
  • platform/qt/svg/custom/relative-sized-use-on-symbol-expected.txt:
  • platform/qt/svg/custom/relative-sized-use-without-attributes-on-symbol-expected.png:
  • platform/qt/svg/custom/relative-sized-use-without-attributes-on-symbol-expected.txt:
  • platform/qt/svg/custom/rootmost-svg-xy-attrs-expected.png:
  • platform/qt/svg/custom/rootmost-svg-xy-attrs-expected.txt:
  • platform/qt/svg/custom/scroll-hit-test-expected.png:
  • platform/qt/svg/custom/scroll-hit-test-expected.txt:
  • platform/qt/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
  • platform/qt/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
  • platform/qt/svg/custom/second-inline-text-expected.png:
  • platform/qt/svg/custom/second-inline-text-expected.txt:
  • platform/qt/svg/custom/shape-rendering-expected.png:
  • platform/qt/svg/custom/shape-rendering-expected.txt:
  • platform/qt/svg/custom/shapes-supporting-markers-expected.png:
  • platform/qt/svg/custom/shapes-supporting-markers-expected.txt:
  • platform/qt/svg/custom/simple-text-double-shadow-expected.png:
  • platform/qt/svg/custom/simple-text-double-shadow-expected.txt:
  • platform/qt/svg/custom/simpleCDF-expected.png:
  • platform/qt/svg/custom/simpleCDF-expected.txt:
  • platform/qt/svg/custom/stroke-fallback-expected.png:
  • platform/qt/svg/custom/stroke-fallback-expected.txt:
  • platform/qt/svg/custom/stroke-width-large-expected.png:
  • platform/qt/svg/custom/stroke-width-large-expected.txt:
  • platform/qt/svg/custom/stroked-pattern-expected.png:
  • platform/qt/svg/custom/stroked-pattern-expected.txt:
  • platform/qt/svg/custom/style-attribute-font-size-expected.png:
  • platform/qt/svg/custom/style-attribute-font-size-expected.txt:
  • platform/qt/svg/custom/svg-curve-with-relative-cordinates-expected.png:
  • platform/qt/svg/custom/svg-curve-with-relative-cordinates-expected.txt:
  • platform/qt/svg/custom/svg-features-expected.txt:
  • platform/qt/svg/custom/svg-float-border-padding-expected.png:
  • platform/qt/svg/custom/svg-float-border-padding-expected.txt:
  • platform/qt/svg/custom/svg-fonts-in-html-expected.png:
  • platform/qt/svg/custom/svg-fonts-in-html-expected.txt:
  • platform/qt/svg/custom/svg-fonts-in-text-controls-expected.txt:
  • platform/qt/svg/custom/svg-fonts-segmented-expected.png:
  • platform/qt/svg/custom/svg-fonts-segmented-expected.txt:
  • platform/qt/svg/custom/svg-fonts-without-missing-glyph-expected.png:
  • platform/qt/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
  • platform/qt/svg/custom/svg-fonts-word-spacing-expected.png:
  • platform/qt/svg/custom/svg-fonts-word-spacing-expected.txt:
  • platform/qt/svg/custom/svg-overflow-types-expected.png:
  • platform/qt/svg/custom/svg-overflow-types-expected.txt:
  • platform/qt/svg/custom/text-clip-expected.png:
  • platform/qt/svg/custom/text-clip-expected.txt:
  • platform/qt/svg/custom/text-ctm-expected.png:
  • platform/qt/svg/custom/text-ctm-expected.txt:
  • platform/qt/svg/custom/text-decoration-visibility-expected.png:
  • platform/qt/svg/custom/text-decoration-visibility-expected.txt:
  • platform/qt/svg/custom/text-dom-01-f-expected.png:
  • platform/qt/svg/custom/text-dom-01-f-expected.txt:
  • platform/qt/svg/custom/text-filter-expected.png:
  • platform/qt/svg/custom/text-filter-expected.txt:
  • platform/qt/svg/custom/text-hit-test-expected.png:
  • platform/qt/svg/custom/text-hit-test-expected.txt:
  • platform/qt/svg/custom/text-image-opacity-expected.png:
  • platform/qt/svg/custom/text-image-opacity-expected.txt:
  • platform/qt/svg/custom/text-letter-spacing-expected.png:
  • platform/qt/svg/custom/text-letter-spacing-expected.txt:
  • platform/qt/svg/custom/text-linking-expected.png:
  • platform/qt/svg/custom/text-linking-expected.txt:
  • platform/qt/svg/custom/text-repaint-including-stroke-expected.png:
  • platform/qt/svg/custom/text-repaint-including-stroke-expected.txt:
  • platform/qt/svg/custom/text-rotated-gradient-expected.png:
  • platform/qt/svg/custom/text-rotated-gradient-expected.txt:
  • platform/qt/svg/custom/text-rotation-expected.png:
  • platform/qt/svg/custom/text-rotation-expected.txt:
  • platform/qt/svg/custom/text-tref-03-b-change-href-dom-expected.png:
  • platform/qt/svg/custom/text-tref-03-b-change-href-dom-expected.txt:
  • platform/qt/svg/custom/text-tref-03-b-change-href-expected.png:
  • platform/qt/svg/custom/text-tref-03-b-change-href-expected.txt:
  • platform/qt/svg/custom/text-tref-03-b-referenced-element-removal-expected.png:
  • platform/qt/svg/custom/text-tref-03-b-referenced-element-removal-expected.txt:
  • platform/qt/svg/custom/text-tref-03-b-tref-removal-expected.png:
  • platform/qt/svg/custom/text-tref-03-b-tref-removal-expected.txt:
  • platform/qt/svg/custom/text-whitespace-handling-expected.png:
  • platform/qt/svg/custom/text-whitespace-handling-expected.txt:
  • platform/qt/svg/custom/text-x-dx-lists-expected.png:
  • platform/qt/svg/custom/text-x-dx-lists-expected.txt:
  • platform/qt/svg/custom/text-x-dy-lists-expected.png:
  • platform/qt/svg/custom/text-x-dy-lists-expected.txt:
  • platform/qt/svg/custom/text-x-override-in-tspan-child-expected.png:
  • platform/qt/svg/custom/text-x-override-in-tspan-child-expected.txt:
  • platform/qt/svg/custom/text-xy-updates-SVGList-expected.png:
  • platform/qt/svg/custom/text-xy-updates-SVGList-expected.txt:
  • platform/qt/svg/custom/text-xy-updates-expected.png:
  • platform/qt/svg/custom/text-xy-updates-expected.txt:
  • platform/qt/svg/custom/tref-own-content-removal-expected.png:
  • platform/qt/svg/custom/tref-own-content-removal-expected.txt:
  • platform/qt/svg/custom/tref-update-expected.png:
  • platform/qt/svg/custom/tref-update-expected.txt:
  • platform/qt/svg/custom/use-clipped-hit-expected.png:
  • platform/qt/svg/custom/use-clipped-hit-expected.txt:
  • platform/qt/svg/custom/use-detach-expected.png:
  • platform/qt/svg/custom/use-detach-expected.txt:
  • platform/qt/svg/custom/use-dynamic-append-expected.png:
  • platform/qt/svg/custom/use-dynamic-append-expected.txt:
  • platform/qt/svg/custom/use-elementInstance-event-target-expected.png:
  • platform/qt/svg/custom/use-elementInstance-event-target-expected.txt:
  • platform/qt/svg/custom/use-elementInstance-methods-expected.png:
  • platform/qt/svg/custom/use-elementInstance-methods-expected.txt:
  • platform/qt/svg/custom/use-event-handler-on-referenced-element-expected.png:
  • platform/qt/svg/custom/use-event-handler-on-referenced-element-expected.txt:
  • platform/qt/svg/custom/use-event-handler-on-use-element-expected.png:
  • platform/qt/svg/custom/use-event-handler-on-use-element-expected.txt:
  • platform/qt/svg/custom/use-events-crash-expected.png:
  • platform/qt/svg/custom/use-events-crash-expected.txt:
  • platform/qt/svg/custom/use-instanceRoot-modifications-expected.png:
  • platform/qt/svg/custom/use-instanceRoot-modifications-expected.txt:
  • platform/qt/svg/custom/use-modify-container-in-target-expected.png:
  • platform/qt/svg/custom/use-modify-container-in-target-expected.txt:
  • platform/qt/svg/custom/use-modify-target-container-expected.png:
  • platform/qt/svg/custom/use-modify-target-container-expected.txt:
  • platform/qt/svg/custom/use-modify-target-symbol-expected.png:
  • platform/qt/svg/custom/use-modify-target-symbol-expected.txt:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-1-expected.png:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-1-expected.txt:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-2-expected.png:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-2-expected.txt:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-3-expected.png:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-3-expected.txt:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-4-expected.png:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-4-expected.txt:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-5-expected.png:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-5-expected.txt:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-6-expected.png:
  • platform/qt/svg/custom/use-on-disallowed-foreign-object-6-expected.txt:
  • platform/qt/svg/custom/use-on-g-containing-symbol-expected.png:
  • platform/qt/svg/custom/use-on-g-containing-symbol-expected.txt:
  • platform/qt/svg/custom/use-on-g-containing-use-expected.png:
  • platform/qt/svg/custom/use-on-g-containing-use-expected.txt:
  • platform/qt/svg/custom/use-on-g-expected.png:
  • platform/qt/svg/custom/use-on-g-expected.txt:
  • platform/qt/svg/custom/use-on-non-svg-namespaced-element-expected.png:
  • platform/qt/svg/custom/use-on-non-svg-namespaced-element-expected.txt:
  • platform/qt/svg/custom/use-on-rect-expected.png:
  • platform/qt/svg/custom/use-on-rect-expected.txt:
  • platform/qt/svg/custom/use-on-symbol-expected.png:
  • platform/qt/svg/custom/use-on-symbol-expected.txt:
  • platform/qt/svg/custom/use-on-text-expected.png:
  • platform/qt/svg/custom/use-on-text-expected.txt:
  • platform/qt/svg/custom/use-on-use-expected.png:
  • platform/qt/svg/custom/use-on-use-expected.txt:
  • platform/qt/svg/custom/use-property-changes-through-dom-expected.png:
  • platform/qt/svg/custom/use-property-changes-through-dom-expected.txt:
  • platform/qt/svg/custom/use-property-changes-through-svg-dom-expected.png:
  • platform/qt/svg/custom/use-property-changes-through-svg-dom-expected.txt:
  • platform/qt/svg/custom/use-recursion-1-expected.png:
  • platform/qt/svg/custom/use-recursion-1-expected.txt:
  • platform/qt/svg/custom/use-recursion-2-expected.png:
  • platform/qt/svg/custom/use-recursion-2-expected.txt:
  • platform/qt/svg/custom/use-recursion-3-expected.png:
  • platform/qt/svg/custom/use-recursion-3-expected.txt:
  • platform/qt/svg/custom/use-recursion-4-expected.png:
  • platform/qt/svg/custom/use-recursion-4-expected.txt:
  • platform/qt/svg/custom/use-referencing-nonexisting-symbol-expected.png:
  • platform/qt/svg/custom/use-referencing-nonexisting-symbol-expected.txt:
  • platform/qt/svg/custom/use-setAttribute-crash-expected.png:
  • platform/qt/svg/custom/use-setAttribute-crash-expected.txt:
  • platform/qt/svg/custom/use-transform-expected.png:
  • platform/qt/svg/custom/use-transform-expected.txt:
  • platform/qt/svg/custom/viewbox-syntax-expected.png:
  • platform/qt/svg/custom/viewbox-syntax-expected.txt:
  • platform/qt/svg/custom/viewport-em-expected.png:
  • platform/qt/svg/custom/viewport-em-expected.txt:
11:23 AM Changeset in webkit [123895] by dpranke@chromium.org
  • 10 edits in trunk/Tools

nrwt: print filtered stderr after a crash correctly
https://bugs.webkit.org/show_bug.cgi?id=92428

Reviewed by Adam Barth.

Some ports will run the stderr output from DRT/WTR through a
filter after a crash in order to print a more useful stack
trace; while that gets written to the crash log correctly, we
don't log it to the debug output properly. This change fixes
that and makes it clearer that we're logging stderr, not the
crash log.

  • Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:

(SingleTestRunner._handle_error):

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

(Port._get_crash_log):

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

(ChromiumPort._get_crash_log):

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

(ChromiumAndroidPortTest.test_get_crash_log):

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

(Driver.run_test):

  • Scripts/webkitpy/layout_tests/port/gtk.py:
  • Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
  • Scripts/webkitpy/layout_tests/port/mac.py:

(MacPort._get_crash_log):

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

(PortTestCase.test_get_crash_log):

11:22 AM Changeset in webkit [123894] by noam.rosenthal@nokia.com
  • 2 edits in trunk/Source/WebCore

[Texmap] Performance regression in texture uploads after r121223
https://bugs.webkit.org/show_bug.cgi?id=91897

Reviewed by Jocelyn Turcotte.

Rolling out r121223, with some conflict fixes.

  • platform/graphics/texmap/TextureMapperGL.cpp:

(WebCore::swizzleBGRAToRGBA):
(WebCore):
(WebCore::driverSupportsBGRASwizzling):
(WebCore::BitmapTextureGL::didReset):
(WebCore::BitmapTextureGL::updateContents):

11:21 AM Changeset in webkit [123893] by dpranke@chromium.org
  • 10 edits
    3 adds in trunk/Tools

nrwt: move image diffing code to a separate module
https://bugs.webkit.org/show_bug.cgi?id=92447

Reviewed by Ryosuke Niwa.

This patch moves the code to talk to ImageDiff into its own
module, and adds more tests for it. In addition, the patch
modifies diff_image() so that we don't automatically stop
ImageDiff after a single invocation, and thus subsequent
diffs may be slightly faster. (Note that the chromium ports
don't use any of this code; that is not changed by this patch).

The main motivation for this change is to move more "generic"
code out of the port/* classes, and in particular to move more
code out of webkit.py so that we can eventually eliminate it by
merging it into base.py.

This patch also splits MockServerProcess out from driver_unittest.py
so that it can be re-used.

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

(Port.init):
(Port.diff_image):
(Port.clean_up_test_run):

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

(Driver.init):
(Driver._start):

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

(DriverTest.test_stop_cleans_up_properly):
(DriverTest.test_two_starts_cleans_up_properly):
(DriverTest.test_start_actually_starts):

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

(EflPort.clean_up_test_run):

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

(GtkPort.clean_up_test_run):

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

(ImageDiffer):
(ImageDiffer.init):
(ImageDiffer.diff_image):
(ImageDiffer._start):
(ImageDiffer._read):
(ImageDiffer.stop):

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

(for):
(FakePort):
(FakePort.init):
(FakePort._path_to_image_diff):
(FakePort.setup_environ_for_server):
(TestImageDiffer):
(TestImageDiffer.test_diff_image):

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

(MockDRTPortTest.test_diff_image):

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

(PortTestCase.test_diff_imagemissing_both):
(PortTestCase.test_diff_image):
(PortTestCase.test_diff_image.make_proc):

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

(ServerProcess._start):

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

(MockServerProcess):
(MockServerProcess.init):
(MockServerProcess.write):
(MockServerProcess.has_crashed):
(MockServerProcess.read_stdout_line):
(MockServerProcess.read_stdout):
(MockServerProcess.pop_all_buffered_stderr):
(MockServerProcess.read_either_stdout_or_stderr_line):
(MockServerProcess.start):
(MockServerProcess.stop):
(MockServerProcess.kill):

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

(WebKitPort._build_driver_flags):
(WebKitPort._symbols_string):

11:17 AM Changeset in webkit [123892] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

Activate committer bit granted April 6th so I can garden.
https://bugs.webkit.org/show_bug.cgi?id=92500

Patch by Tom Hudson <hudson@google.com> on 2012-07-27
Reviewed by Jochen Eisinger.

  • Scripts/webkitpy/common/config/committers.py:
11:13 AM Changeset in webkit [123891] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Should support onbeforeunload event and show confirmation dialog
https://bugs.webkit.org/show_bug.cgi?id=92510

Patch by Yong Li <yoli@rim.com> on 2012-07-27
Reviewed by Antonio Gomes.

RIM PR# 155878.

  1. Export dispatchBeforeUnloadEvent() so client can call it before going to close the page.
  2. Forward runBeforeUnloadConfirmPanel() call to client so it can show a dialog.
  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPage::dispatchBeforeUnloadEvent):
(WebKit):

  • Api/WebPage.h:
  • Api/WebPageClient.h:
  • WebCoreSupport/ChromeClientBlackBerry.cpp:

(WebCore::ChromeClientBlackBerry::canRunBeforeUnloadConfirmPanel):
(WebCore::ChromeClientBlackBerry::runBeforeUnloadConfirmPanel):

11:04 AM Changeset in webkit [123890] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[BlackBerry] Update NetworkJob::sendRequestWithCredentials to use new getProxyAddress API
https://bugs.webkit.org/show_bug.cgi?id=92457

Patch by Joe Mason <jmason@rim.com> on 2012-07-27
Reviewed by Yong Li.

getProxyAddress now returns "host:port", and getProxyPort is gone. Update NetworkJob to use
the new interface.

RIM PR: 176166
Internally reviewed by Jonathan Dong <Jonathan Dong>

  • platform/network/blackberry/NetworkJob.cpp:

(WebCore::NetworkJob::sendRequestWithCredentials):

10:59 AM Changeset in webkit [123889] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

Improve touch adjustment for targetting small controls.
https://bugs.webkit.org/show_bug.cgi?id=92293

Patch by Kevin Ellis <kevers@chromium.org> on 2012-07-27
Reviewed by Antonio Gomes.

Source/WebCore:

Modifies the touch adjustment algorithm to better discriminate small targets without introducing
a bias towards shorter links. The revised scoring algorihtm uses a normalized distance to
center-line score and a normalized overlap score. The better of the two scores is used for
determining the best candidate for target adjustment. The center-line score works well
for discriminating elements with partial overlaps, where relying solely on percent overlap
could bias towards the smaller element. Conversely, a high percentage in overlap provides a
strong measure of confidence in a candidate target. An additonal tie-break algorithm is
introduced to minimize the adjustment distance if two equally suitable candidates are found.

Test: touchadjustment/small-target-test.html

  • page/TouchAdjustment.cpp:

(TouchAdjustment):
(WebCore::TouchAdjustment::nodeRespondsToTapGesture):
(WebCore::TouchAdjustment::hybridDistanceFunction):
(WebCore::TouchAdjustment::findNodeWithLowestDistanceMetric):
(WebCore::findBestClickableCandidate):

LayoutTests:

Adds a test for cases that were problematic for the touch adjustment algorithm. Each example
in the test involves a small control immediately adjacent to a larger control. When the touch
area is significantly larger than the small control, it was possible for the touch element to
completely overlap the control yet select an adjacent element with a partial overlap.

  • touchadjustment/small-target-test-expected.txt: Added.
  • touchadjustment/small-target-test.html: Added.
10:56 AM Changeset in webkit [123888] by commit-queue@webkit.org
  • 4 edits in trunk/Source

[chromium] Calendar for input type=date should be larger on devices that support touch input.
https://bugs.webkit.org/show_bug.cgi?id=92424

Patch by Kevin Ellis <kevers@chromium.org> on 2012-07-27
Reviewed by Kent Tamura.

Source/WebCore:

Adds touch specific CSS rules to enlarge entries in the calendar on
screens that support touch input.

Manually tested with touch support enabled/disabled.

  • Resources/calendarPicker.css:

(@media (pointer:coarse)):

  • html/shadow/CalendarPickerElement.cpp:

(WebCore::CalendarPickerElement::contentSize):

Source/WebKit/chromium:

Plumbs the deviceSupportsTouch setting through to the popup page so
that the Calendar popup can be enlarged on screens that support touch
input.

  • src/WebPagePopupImpl.cpp:

(WebKit::WebPagePopupImpl::initPage):

10:50 AM Changeset in webkit [123887] by commit-queue@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

[EFL] Add missing baselines for fast/table/table-row-outline-paint.html
https://bugs.webkit.org/show_bug.cgi?id=92509

Unreviewed EFL gardening, add missing results for
fast/table/table-row-outline-paint.html after r123793.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-27

  • platform/efl/fast/table/table-row-outline-paint-expected.png: Added.
  • platform/efl/fast/table/table-row-outline-paint-expected.txt: Added.
10:48 AM Changeset in webkit [123886] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

Lose a timer in prerender-remove-after-stop.html
https://bugs.webkit.org/show_bug.cgi?id=92425

Patch by Gavin Peters <gavinp@chromium.org> on 2012-07-27
Reviewed by Nate Chapin.

japhet suggested that the timer wasn't needed, and testing revealed that the test works without it. I've tested that if the bug is reintroduced
that it crashes, and of course it doesn't crash with the fix. So bye-bye setTimeout!

  • fast/dom/HTMLLinkElement/prerender-remove-after-stop.html:
10:39 AM Changeset in webkit [123885] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Switch InputHandler malloc use to fastMalloc for cases that should never fail
https://bugs.webkit.org/show_bug.cgi?id=92508

Patch by Mike Fenton <mifenton@rim.com> on 2012-07-27
Reviewed by Yong Li.

Replace common uses of malloc with fastMalloc rather
than trying to recover gracefully. If we are truly
out of memory, crash before corruption occurs.

  • WebKitSupport/InputHandler.cpp:

(BlackBerry::WebKit::InputHandler::spannableTextInRange):
(BlackBerry::WebKit::InputHandler::extractedTextRequest):

10:39 AM Changeset in webkit [123884] by Chris Fleizach
  • 2 edits in trunk/Source/WebCore

WebKit should expose @title as label (AXTitle or AXDescription) sometimes instead of AXHelp, according to the ARIA text alt computation
https://bugs.webkit.org/show_bug.cgi?id=91911

Reviewed by Darin Adler.

Update comments around code to explain rationale.

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::helpText):
(WebCore::AccessibilityRenderObject::accessibilityDescription):

10:34 AM Changeset in webkit [123883] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/efl

[EFL] Regression(r123858): Default navigation policy decision was switched to "reject"
https://bugs.webkit.org/show_bug.cgi?id=92507

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-27
Reviewed by Kentaro Hara.

After r92466, the default navigation policy is to reject the request if the
client does not make a decision explicitly. The default policy should be
to accept. This broke ewk_view unit tests.

  • ewk/ewk_view.cpp:

(ewk_view_navigation_policy_decision):

10:24 AM Changeset in webkit [123882] by commit-queue@webkit.org
  • 15 edits
    7 adds in trunk/Source/WebKit2

[EFL][WK2] Add download client for Ewk_Context
https://bugs.webkit.org/show_bug.cgi?id=91345

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-27
Reviewed by Kenneth Rohde Christiansen.

Add download client for Ewk_Context so that
information about downloads can be reported
to the client application via Ewk_View signals.

The client application needs to listen for
"download,request" signal on the view and set
the download path for the download in the
callback in order to accept it. If the signal
is ignored or if the download path is not set
the download will fail.

A new Ewk_Download_Job type is introduced to provide
information relative to a download to the client
and to allow the client to interact with it (e.g.
set its download path, cancel it, ...).

  • PlatformEfl.cmake:
  • UIProcess/API/efl/EWebKit2.h:
  • UIProcess/API/efl/PageClientImpl.cpp:

(WebKit::PageClientImpl::handleDownloadRequest):
(WebKit):

  • UIProcess/API/efl/PageClientImpl.h:

(PageClientImpl):

  • UIProcess/API/efl/ewk_context.cpp:

(_Ewk_Context):
(_Ewk_Context::_Ewk_Context):
(_Ewk_Context::~_Ewk_Context):
(ewk_context_download_job_add):
(ewk_context_download_job_get):
(ewk_context_download_job_remove):

  • UIProcess/API/efl/ewk_context_download_client.cpp: Added.

(toEwkContext):
(decideDestinationWithSuggestedFilename):
(didReceiveResponse):
(didCreateDestination):
(didReceiveData):
(didFail):
(didCancel):
(didFinish):
(ewk_context_download_client_attach):

  • UIProcess/API/efl/ewk_context_download_client_private.h: Added.
  • UIProcess/API/efl/ewk_context_private.h:
  • UIProcess/API/efl/ewk_download_job.cpp: Added.

(_Ewk_Download_Job):
(_Ewk_Download_Job::_Ewk_Download_Job):
(_Ewk_Download_Job::~_Ewk_Download_Job):
(ewk_download_job_ref):
(ewk_download_job_unref):
(ewk_download_job_id_get):
(ewk_download_job_view_get):
(ewk_download_job_state_get):
(ewk_download_job_request_get):
(ewk_download_job_response_get):
(ewk_download_job_destination_get):
(ewk_download_job_destination_set):
(ewk_download_job_suggested_filename_get):
(ewk_download_job_cancel):
(ewk_download_job_estimated_progress_get):
(ewk_download_job_elapsed_time_get):
(ewk_download_job_response_set):
(ewk_download_job_suggested_filename_set):
(ewk_download_job_received_data):
(ewk_download_job_state_set):
(ewk_download_job_new):

  • UIProcess/API/efl/ewk_download_job.h: Added.
  • UIProcess/API/efl/ewk_download_job_private.h: Added.

(WebKit):

  • UIProcess/API/efl/ewk_url_response.cpp:

(ewk_url_response_content_length_get): Add a function to
retrieve the content length of a URL response.

  • UIProcess/API/efl/ewk_url_response.h:
  • UIProcess/API/efl/ewk_view.cpp:

(ewk_view_download_job_cancelled):
(ewk_view_download_job_requested):
(ewk_view_download_job_failed):
(ewk_view_download_job_finished):

  • UIProcess/API/efl/ewk_view.h:
  • UIProcess/API/efl/ewk_view_private.h:
  • UIProcess/API/efl/tests/resources/test.pdf: Added.
  • UIProcess/API/efl/tests/test_ewk2_download_job.cpp: Added. This tests

the download functionality.
(DownloadTestData):
(fileExists):
(serverCallback):
(on_download_requested):
(on_download_cancelled):
(on_download_failed):
(on_download_finished):
(TEST_F):

  • UIProcess/PageClient.h:

(PageClient):

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::receivedPolicyDecision):
(WebKit):
(WebKit::WebPageProxy::handleDownloadRequest):

  • UIProcess/WebPageProxy.h:

(WebPageProxy):

10:19 AM Changeset in webkit [123881] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebCore

Add runtime flag to enable/disable JS memory information
https://bugs.webkit.org/show_bug.cgi?id=92479

Patch by Zoltan Horvath <zoltan@webkit.org> on 2012-07-27
Reviewed by Simon Hausmann.

We need console.memory JS object to be accessible because of the memory consumption
measurements of the performance tests, so I added a toggle to InternalSettings.

  • testing/InternalSettings.cpp:

(WebCore::InternalSettings::setMemoryInfoEnabled):
(WebCore):

  • testing/InternalSettings.h:

(InternalSettings):

  • testing/InternalSettings.idl:
10:17 AM Changeset in webkit [123880] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Microdata: Remove toJs() and toV8Object() custom methods from JSHTMLElementCustom.cpp and V8HTMLElementCustom.cpp respectively.
https://bugs.webkit.org/show_bug.cgi?id=92482

Patch by Arko Saha <arko@motorola.com> on 2012-07-27
Reviewed by Kentaro Hara.

Removed custom methods toJS() and toV8Object(). We should use toJS() method defined in
JSMicroDataItemValueCustom.cpp and toV8() method defined in V8MicroDataItemValueCustom.cpp
in place of custom toJs() and toV8Object().

Existing tests :

fast/dom/MicroData/itemvalue-reflects-data-attr-on-object-element.html
fast/dom/MicroData/itemvalue-reflects-href-attr.html
fast/dom/MicroData/itemvalue-reflects-src-attribute-on-img-element.html
fast/dom/MicroData/itemvalue-reflects-the-content-attr-on-meta-element.html
fast/dom/MicroData/itemvalue-reflects-the-src-attr.html
fast/dom/MicroData/itemvalue-returns-element-itself.html
fast/dom/MicroData/itemvalue-returns-null.html
fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-001.html
fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-002.html

  • bindings/js/JSHTMLElementCustom.cpp:

(WebCore):

  • bindings/v8/custom/V8HTMLElementCustom.cpp:

(WebCore):
(WebCore::V8HTMLElement::itemValueAccessorGetter):

10:14 AM Changeset in webkit [123879] by commit-queue@webkit.org
  • 3 edits in trunk/Source

Source/WebKit: [EFL] WebKit API unit tests needs a timeout
https://bugs.webkit.org/show_bug.cgi?id=92496

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-27
Reviewed by Antonio Gomes.

Added the same timeout value that we have for WebKit2.

  • PlatformEfl.cmake:

Source/WTF: Support a rational time class for use by media elements.
https://bugs.webkit.org/show_bug.cgi?id=88787

Patch by Jer Noble <jer.noble@apple.com> on 2012-07-27
Reviewed by Eric Carlson.

Add a new MediaTime class which implements rational math operations.

Add common constructors and assignment operators:

  • wtf/MediaTime.cpp: Added.

(WTF::MediaTime::MediaTime):
(WTF::MediaTime::~MediaTime):
(WTF::MediaTime::operator=):

Add common math operators:

  • wtf/MediaTime.cpp:

(WTF::MediaTime::operator+):
(WTF::MediaTime::operator-):
(WTF::MediaTime::operator<):
(WTF::MediaTime::operator>):
(WTF::MediaTime::operator==):
(WTF::MediaTime::operator>=):
(WTF::MediaTime::operator<=):

Add functions to check the MeiaTime time type flags:

  • wtf/MediaTime.h:

(WTF::MediaTime::isValid):
(WTF::MediaTime::isInvalid):
(WTF::MediaTime::hasBeenRounde):
(WTF::MediaTime::isPositiveInfinite):
(WTF::MediaTime::isNegativeInfinite):
(WTF::MediaTime::isIndefinite):

Add constants for commonly used MediaTime values:
(WTF::MediaTime::zeroTime):
(WTF::MediaTime::invalidTime):
(WTF::MediaTime::positiveInfiniteTime):
(WTF::MediaTime::negativeInfiniteTime):
(WTF::MediaTime::indefiniteTime):

Add explicit conversion functions to convert to and from floating point values.

  • wtf/MediaTime.cpp:

(WTF::MediaTime::createWithFloat):
(WTF::MediaTime::createWithDouble):
(WTF::MediaTime::toFloat):
(WTF::MediaTime::toDouble):

Add some useful exported functions:

  • wtf/MediaTime.cpp:

(WTF::MediaTime::compare): Master function for the comparison operators above.
(WTF::MediaTime::setTimeScale): Rescale the time value to a new time scale.
(WTF::abs): Return an absolute value for the current MediaTime.

Static utility functions to implement the above:

  • wtf/MediaTime.cpp:

(WTF::greatestCommonDivisor):
(WTF::leastCommonMultiple):
(WTF::signum):

Windows-only implementations of isinf and signbit:

  • wtf/MediaTime.cpp:

(std::isinf):
(std::signbit):

Add the new class to platform build files:

  • GNUmakefile.list.am:
  • WTF.gypi:
  • WTF.pro:
  • WTF.vcproj/WTF.vcproj:
  • WTF.xcodeproj/project.pbxproj:
9:31 AM Changeset in webkit [123878] by jer.noble@apple.com
  • 14 edits
    3 adds in trunk

Support a rational time class for use by media elements.
https://bugs.webkit.org/show_bug.cgi?id=88787

Source/JavaScriptCore:

Re-export WTF::MediaTime from JavaScriptCore.

Reviewed by Eric Carlson.

Source/WTF:

Reviewed by Eric Carlson.

Add a new MediaTime class which implements rational math operations.

Add common constructors and assignment operators:

  • wtf/MediaTime.cpp: Added.

(WTF::MediaTime::MediaTime):
(WTF::MediaTime::~MediaTime):
(WTF::MediaTime::operator=):

Add common math operators:

  • wtf/MediaTime.cpp:

(WTF::MediaTime::operator+):
(WTF::MediaTime::operator-):
(WTF::MediaTime::operator<):
(WTF::MediaTime::operator>):
(WTF::MediaTime::operator==):
(WTF::MediaTime::operator>=):
(WTF::MediaTime::operator<=):

Add functions to check the MeiaTime time type flags:

  • wtf/MediaTime.h:

(WTF::MediaTime::isValid):
(WTF::MediaTime::isInvalid):
(WTF::MediaTime::hasBeenRounde):
(WTF::MediaTime::isPositiveInfinite):
(WTF::MediaTime::isNegativeInfinite):
(WTF::MediaTime::isIndefinite):

Add constants for commonly used MediaTime values:
(WTF::MediaTime::zeroTime):
(WTF::MediaTime::invalidTime):
(WTF::MediaTime::positiveInfiniteTime):
(WTF::MediaTime::negativeInfiniteTime):
(WTF::MediaTime::indefiniteTime):

Add explicit conversion functions to convert to and from floating point values.

  • wtf/MediaTime.cpp:

(WTF::MediaTime::createWithFloat):
(WTF::MediaTime::createWithDouble):
(WTF::MediaTime::toFloat):
(WTF::MediaTime::toDouble):

Add some useful exported functions:

  • wtf/MediaTime.cpp:

(WTF::MediaTime::compare): Master function for the comparison operators above.
(WTF::MediaTime::setTimeScale): Rescale the time value to a new time scale.
(WTF::abs): Return an absolute value for the current MediaTime.

Static utility functions to implement the above:

  • wtf/MediaTime.cpp:

(WTF::greatestCommonDivisor):
(WTF::leastCommonMultiple):
(WTF::signum):

Windows-only implementations of isinf and signbit:

  • wtf/MediaTime.cpp:

(std::isinf):
(std::signbit):

Add the new class to platform build files:

  • GNUmakefile.list.am:
  • WTF.gypi:
  • WTF.pro:
  • WTF.vcproj/WTF.vcproj:
  • WTF.xcodeproj/project.pbxproj:

Tools:

Add unit tests for the WTF::MediaTime class.

Reviewed by Eric Carlson.

  • TestWebKitAPI/GNUmakefile.am:
  • TestWebKitAPI/TestWebKitAPI.gypi:
  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  • TestWebKitAPI/Tests/WTF/MediaTime.cpp: Added.
  • TestWebKitAPI/win/TestWebKitAPI.vcproj:

(WTF::operator<<):
(TestWebKitAPI):
(TestWebKitAPI::TEST):

9:22 AM Changeset in webkit [123877] by kbalazs@webkit.org
  • 2 edits in trunk/Tools

[NRWT] should have a way to restrict pixel tests for individual directories
https://bugs.webkit.org/show_bug.cgi?id=91754

Unreviewed attempt to fix the chaos I introduced.

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp:

(WebCore::DumpRenderTree::processLine):

7:15 AM Changeset in webkit [123876] by zherczeg@webkit.org
  • 2 edits in trunk/LayoutTests

[Qt][WK2] Gardening after r123786. It made 5 fast/animation tests fail
https://bugs.webkit.org/show_bug.cgi?id=92490

Patch by Balazs Ankes <bank@inf.u-szeged.hu> on 2012-07-27
Rubber stamped by Zoltan Herczeg.

  • platform/qt-5.0-wk2/Skipped:
7:14 AM Changeset in webkit [123875] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WTF

set WTF_USE_LOCKFREE_THREADSAFEREFCOUNTED for chromium android
https://bugs.webkit.org/show_bug.cgi?id=91746

Patch by Wei James <james.wei@intel.com> on 2012-07-27
Reviewed by Adam Barth.

This patch is part of efforts to enable web audio for chromium android.
Web audio component needs to use atomicIncrement and atomicDecrement,
which are enabled by this MACRO.

As mentioned in https://bugs.webkit.org/show_bug.cgi?id=89428#c19, make
this patch standalone.

  • wtf/Atomics.h:

(WTF):

7:04 AM Changeset in webkit [123874] by commit-queue@webkit.org
  • 61 edits in trunk/LayoutTests

[EFL] Rebaseline after harfbuzz-ng complex font support is enabled
https://bugs.webkit.org/show_bug.cgi?id=92120

Unreviewed, EFL rebaselining.

Now that we have complex font support using harfbuzz, we need a couple of new expected results.

Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-07-27

  • platform/efl/TestExpectations:
  • platform/efl/fast/dom/52776-expected.png:
  • platform/efl/fast/dom/52776-expected.txt:
  • platform/efl/fast/text/atsui-kerning-and-ligatures-expected.png:
  • platform/efl/fast/text/atsui-kerning-and-ligatures-expected.txt:
  • platform/efl/fast/text/atsui-multiple-renderers-expected.png:
  • platform/efl/fast/text/atsui-multiple-renderers-expected.txt:
  • platform/efl/fast/text/atsui-negative-spacing-features-expected.png:
  • platform/efl/fast/text/atsui-negative-spacing-features-expected.txt:
  • platform/efl/fast/text/atsui-partial-selection-expected.png:
  • platform/efl/fast/text/atsui-partial-selection-expected.txt:
  • platform/efl/fast/text/atsui-pointtooffset-calls-cg-expected.png:
  • platform/efl/fast/text/atsui-pointtooffset-calls-cg-expected.txt:
  • platform/efl/fast/text/atsui-rtl-override-selection-expected.png:
  • platform/efl/fast/text/atsui-rtl-override-selection-expected.txt:
  • platform/efl/fast/text/atsui-small-caps-punctuation-size-expected.png:
  • platform/efl/fast/text/atsui-small-caps-punctuation-size-expected.txt:
  • platform/efl/fast/text/atsui-spacing-features-expected.png:
  • platform/efl/fast/text/atsui-spacing-features-expected.txt:
  • platform/efl/fast/text/cg-vs-atsui-expected.png:
  • platform/efl/fast/text/cg-vs-atsui-expected.txt:
  • platform/efl/fast/text/complex-preferred-logical-widths-expected.png:
  • platform/efl/fast/text/complex-preferred-logical-widths-expected.txt:
  • platform/efl/fast/text/justify-ideograph-leading-expansion-expected.png:
  • platform/efl/fast/text/justify-ideograph-leading-expansion-expected.txt:
  • platform/efl/fast/text/midword-break-before-surrogate-pair-2-expected.png:
  • platform/efl/fast/text/midword-break-before-surrogate-pair-2-expected.txt:
  • platform/efl/fast/text/should-use-atsui-expected.png:
  • platform/efl/fast/text/should-use-atsui-expected.txt:
  • platform/efl/fast/text/stroking-decorations-expected.png:
  • platform/efl/fast/text/stroking-decorations-expected.txt:
  • platform/efl/fast/text/stroking-expected.png:
  • platform/efl/fast/text/stroking-expected.txt:
  • platform/efl/fast/text/wide-zero-width-space-expected.png:
  • platform/efl/fast/text/wide-zero-width-space-expected.txt:
  • platform/efl/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt:
  • platform/efl/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt:
  • platform/efl/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt:
  • platform/efl/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt:
  • platform/efl/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt:
  • platform/efl/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-direction-ltr-expected.txt:
  • platform/efl/svg/W3C-I18N/tspan-direction-rtl-expected.txt:
  • platform/efl/transforms/2d/hindi-rotated-expected.png:
  • platform/efl/transforms/2d/hindi-rotated-expected.txt:
6:56 AM Changeset in webkit [123873] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

REGRESSION(r123856): Breaks the build when disabling inspector
https://bugs.webkit.org/show_bug.cgi?id=92493

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-27
Reviewed by Kentaro Hara.

  • bindings/js/ScriptGCEvent.h:

(WebCore):

  • bindings/v8/ScriptGCEvent.h:

(WebCore):

6:45 AM Changeset in webkit [123872] by commit-queue@webkit.org
  • 8 edits
    1 copy in trunk

[WK2][EFL] Add an ACCELERATED_COMPOSITING implementation for Efl WebKit2
https://bugs.webkit.org/show_bug.cgi?id=91581

Patch by YoungTaeck Song <youngtaeck.song@samsung.com> on 2012-07-27
Reviewed by Noam Rosenthal.

Source/WebKit2:

This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
When enter accelerated compositing mode, create evas_gl, evas_gl_context, and evas_gl_surface.

  • PlatformEfl.cmake:
  • Shared/LayerTreeContext.h:

(LayerTreeContext):

  • UIProcess/API/efl/PageClientImpl.cpp:

(WebKit::PageClientImpl::viewSize):
(WebKit::PageClientImpl::enterAcceleratedCompositingMode):
(WebKit::PageClientImpl::exitAcceleratedCompositingMode):

  • UIProcess/API/efl/ewk_view.cpp:

(_Ewk_View_Private_Data):
(_Ewk_View_Private_Data::_Ewk_View_Private_Data):
(ewk_view_size_get):
(ewk_view_create_gl_surface):
(ewk_view_enter_accelerated_compositing_mode):
(ewk_view_exit_accelerated_compositing_mode):
(_ewk_view_smart_calculate):

  • UIProcess/API/efl/ewk_view_private.h:

Tools:

Add a MiniBrowser's option for selecting evas engine.

  • MiniBrowser/efl/main.c:

(browserCreate):
(main):

6:41 AM Changeset in webkit [123871] by kbalazs@webkit.org
  • 14 edits in trunk/Tools

Unreviewed, rolling out r123869.
http://trac.webkit.org/changeset/123869
https://bugs.webkit.org/show_bug.cgi?id=92501

"it did not fix anything but made things even worst"
(Requested by kbalazs on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-27

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp:

(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::processLine):
(WebCore::DumpRenderTree::setDumpPixelsForAllTests):
(WebCore::DumpRenderTree::dump):

  • DumpRenderTree/qt/DumpRenderTreeQt.h:

(DumpRenderTree):

  • DumpRenderTree/qt/main.cpp:

(main):

  • Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:

(SingleTestRunner._should_fetch_expected_checksum):
(SingleTestRunner._overwrite_baselines):
(SingleTestRunner._compare_output):

  • Scripts/webkitpy/layout_tests/controllers/worker.py:

(Worker._update_test_input):

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

(Port.supports_switching_pixel_tests_per_test):
(Port):
(Port._supports_switching_pixel_tests_per_test):
(Port.should_run_as_pixel_test):
(Port._should_run_as_pixel_test):

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

(Driver.cmd_line):
(Driver._command_from_driver_input):

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

(QtPort.check_sys_deps):
(QtPort):
(QtPort._supports_switching_pixel_tests_per_test):
(QtPort._should_run_as_pixel_test):
(QtPort._default_pixel_test_directories):

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

(TestPort.supports_switching_pixel_tests_per_test):

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(_set_up_derived_options):
(parse_args):

  • Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:

(MainTest.test_run_singly_actually_runs_tests):
(MainTest.test_pixel_test_directories):

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::TestController):
(WTR::TestController::initialize):
(WTR::TestController::runTest):

  • WebKitTestRunner/TestController.h:

(TestController):

6:39 AM Changeset in webkit [123870] by commit-queue@webkit.org
  • 7 edits in trunk/Source

[EFL][WK2] Add API to Ewk_Cookie_Manager to watch for cookie changes
https://bugs.webkit.org/show_bug.cgi?id=92484

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-27
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Make use of soup/CookieStorageSoup.cpp for EFL port instead
of defining empty implementations for cookie storage
functions.

No new tests, no behavior change.

  • PlatformEfl.cmake:
  • platform/efl/TemporaryLinkStubs.cpp:

Source/WebKit2:

Add API tp Ewk_Cookie_Manager so that the client can watch
for cookie changes.

  • UIProcess/API/efl/ewk_cookie_manager.cpp:
  • UIProcess/API/efl/ewk_cookie_manager.h:
  • UIProcess/API/efl/tests/test_ewk2_cookie_manager.cpp: Add unit tests

for cookie changes watching.

6:11 AM Changeset in webkit [123869] by kbalazs@webkit.org
  • 14 edits in trunk/Tools

[NRWT] should have a way to restrict pixel tests for individual directories
https://bugs.webkit.org/show_bug.cgi?id=91754

Reviewed by Zoltan Herczeg.

Rollout r123729 because it made Qt debug bots crasy.

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp:

(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::processLine):
(WebCore::DumpRenderTree::setDumpPixels):
(WebCore::DumpRenderTree::dump):

  • DumpRenderTree/qt/DumpRenderTreeQt.h:

(DumpRenderTree):

  • DumpRenderTree/qt/main.cpp:

(main):

  • Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:

(SingleTestRunner._should_fetch_expected_checksum):
(SingleTestRunner._overwrite_baselines):
(SingleTestRunner._compare_output):

  • Scripts/webkitpy/layout_tests/controllers/worker.py:

(Worker._update_test_input):

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

(Port.lookup_virtual_test_args):

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

(Driver.cmd_line):
(Driver._command_from_driver_input):

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

(QtPort.check_sys_deps):

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

(TestPort.virtual_test_suites):

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(_set_up_derived_options):
(parse_args):

  • Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:

(MainTest.test_run_singly_actually_runs_tests):
(MainTest.test_missing_and_unexpected_results):

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::TestController):
(WTR::TestController::initialize):
(WTR::TestController::runTest):

  • WebKitTestRunner/TestController.h:

(TestController):

5:51 AM Changeset in webkit [123868] by zherczeg@webkit.org
  • 2 edits in trunk/LayoutTests

[Qt] Gardening after r123786. It made 3 fast/animation tests fail
https://bugs.webkit.org/show_bug.cgi?id=92490

Patch by János Badics <János Badics> on 2012-07-27
Rubber stamped by Zoltan Herczeg.

  • platform/qt/Skipped:
5:27 AM Changeset in webkit [123867] by keishi@webkit.org
  • 4 edits in trunk/Source/WebCore

Replace ColorChooserClient::elementRectRelativeToWindow with elementRectRelativeToRootView
https://bugs.webkit.org/show_bug.cgi?id=92488

Reviewed by Kent Tamura.

Changing ColorChooserClient interface to return element rectangle that is relative to root view instead of window.

No new tests. Method is not used yet.

  • html/ColorInputType.cpp:

(WebCore::ColorInputType::elementRectRelativeToRootView): Replaced elementRectRelativeToWindow. Returns element rectangle relative to root view.

  • html/ColorInputType.h:

(ColorInputType):

  • platform/ColorChooserClient.h:

(ColorChooserClient):

5:25 AM EFLWebKit edited by dominik.rottsches@intel.com
ragel (diff)
4:52 AM Changeset in webkit [123866] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[EFL][WK2] Stop using C API to interact with the page in Ewk_View
https://bugs.webkit.org/show_bug.cgi?id=92463

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-27
Reviewed by Simon Hausmann.

Stop using C API to interact with the PageProxy in Ewk_View
and use the PageProxy object directly. This avoids useless
converting to WK type using toAPI() all the time.

  • UIProcess/API/efl/ewk_view.cpp:

(ewk_view_base_add):
(ewk_view_uri_update):
(ewk_view_uri_set):
(ewk_view_reload):
(ewk_view_reload_bypass_cache):
(ewk_view_stop):
(ewk_view_load_progress_get):
(ewk_view_device_pixel_ratio_set):
(ewk_view_theme_get):
(ewk_view_cursor_set):
(ewk_view_back):
(ewk_view_forward):
(ewk_view_intent_deliver):
(ewk_view_back_possible):
(ewk_view_forward_possible):
(ewk_view_setting_encoding_custom_get):
(ewk_view_setting_encoding_custom_set):

4:42 AM Changeset in webkit [123865] by abarth@webkit.org
  • 3 edits in trunk/Tools

webkit.review.bot should run clean-review-queue and clean-pending-commit periodically
https://bugs.webkit.org/show_bug.cgi?id=92472

Reviewed by Eric Seidel.

We need to run these command periodically to keep cruft from
accumulating in bugs.webkit.org. Rather than running them manually, we
should just have a bot run them. This patch has the style-queue run the
commands, which admittedly is a bit odd but it doesn't seem worthwhile
to create another bot specifically for this purposes.

  • Scripts/webkitpy/tool/commands/queues.py:

(AbstractReviewQueue):
(StyleQueue.begin_work_queue):
(StyleQueue):
(StyleQueue.clean_bugzilla):

  • Scripts/webkitpy/tool/commands/queues_unittest.py:

(StyleQueueTest.test_style_queue_with_style_exception):
(test_style_queue_with_watch_list_exception):

4:32 AM Changeset in webkit [123864] by commit-queue@webkit.org
  • 15 edits
    3 adds
    1 delete in trunk

[Cairo] Add complex font drawing using HarfbuzzNG
https://bugs.webkit.org/show_bug.cgi?id=91864

Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-07-27
Reviewed by Simon Hausmann and Martin Robinson.

.:

Configuring Freetype backend to use HarfBuzz by default.

  • Source/cmake/FindHarfBuzz.cmake: Added pkgconfig based discovery of HarfBuzz.
  • Source/cmake/OptionsEfl.cmake: Adding Harfbuzz configuration.

Source/WebCore:

Adding Harfbuzz support to EFL by implementing it with the help of cairo and cairo-ft.
Reusing Chromium's Harfbuzz-NG support.

No new tests, complex font support is covered by existing tests.

  • CMakeLists.txt: Adding new cairo based implementations, removing emtpy FontEfl.cpp
  • WebCore.gypi: Removing FontEfl.cpp
  • platform/graphics/cairo/FontCairoHarfbuzzNG.cpp: Added. New implementation that implements cairo & harfbuzz-ng based complex font drawing.

(WebCore):
(WebCore::Font::drawComplexText):
(WebCore::Font::drawEmphasisMarksForComplexText):
(WebCore::Font::canReturnFallbackFontsForComplexText):
(WebCore::Font::canExpandAroundIdeographsInComplexText):
(WebCore::Font::floatWidthForComplexText):
(WebCore::Font::offsetForPositionForComplexText):
(WebCore::Font::selectionRectForComplexText):

  • platform/graphics/efl/FontEfl.cpp: Removed.
  • platform/graphics/freetype/FontPlatformData.h: Adding a getter that retrieves a harfbuzz face.

(FontPlatformData):

  • platform/graphics/freetype/FontPlatformDataFreeType.cpp: Adding a getter that retrieves a harfbuzz face.

(WebCore::FontPlatformData::operator=):
(WebCore::FontPlatformData::FontPlatformData):
(WebCore):
(WebCore::FontPlatformData::harfbuzzFace):

  • platform/graphics/harfbuzz/ng/HarfBuzzNGFaceCairo.cpp: Added. Cairo-freetype based approach to get complex font metrics.

(WebCore):
(CairoFtFaceLocker):
(WebCore::CairoFtFaceLocker::CairoFtFaceLocker):
(WebCore::CairoFtFaceLocker::lock):
(WebCore::CairoFtFaceLocker::~CairoFtFaceLocker):
(WebCore::floatToHarfBuzzPosition):
(WebCore::doubleToHarfBuzzPosition):
(WebCore::CairoGetGlyphWidthAndExtents):
(WebCore::harfbuzzGetGlyph):
(WebCore::harfbuzzGetGlyphHorizontalAdvance):
(WebCore::harfbuzzGetGlyphHorizontalOrigin):
(WebCore::harfbuzzGetGlyphExtents):
(WebCore::harfbuzzCairoTextGetFontFuncs):
(WebCore::harfbuzzCairoGetTable):
(WebCore::HarfBuzzNGFace::createFace):
(WebCore::HarfBuzzNGFace::createFont):
(WebCore::HarfBuzzShaper::createGlyphBufferAdvance):

Source/WebKit:

Adding includes for harfbuzz folders.

  • CMakeLists.txt:

Source/WebKit2:

Adding includes for harfbuzz folders.

  • CMakeLists.txt:

Tools:

Bringing Harfbuzz support to EFL with this patch, so we need HarfBuzz in the pulled in jhbuild dependencies.

  • WebKitTestRunner/CMakeLists.txt: Adding additional header include directories.
  • efl/jhbuild.modules: Adding source for HarfBuzz release version 0.9.0.
4:12 AM Changeset in webkit [123863] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebKit2

[EFL][WK2] Add more Ewk_View unit tests
https://bugs.webkit.org/show_bug.cgi?id=92407

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-27
Reviewed by Kenneth Rohde Christiansen.

Add more unit tests for WebKit2 Ewk_View API.
In particular, navigation, HTML loading and
device pixel ratio functions are now tested.

  • UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp:

(EWK2UnitTest::EWK2UnitTestBase::SetUp): Call ewk_init() instead
of duplicating initialization code.
(EWK2UnitTest::EWK2UnitTestBase::TearDown): call ewk_shutdown().
(TitleChangedData):
(EWK2UnitTest):
(EWK2UnitTest::onTitleChanged):
(EWK2UnitTest::EWK2UnitTestBase::waitUntilTitleChangedTo): Add convenience
method to wait until the view main frame title changes to a given value.

  • UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.h:

(EWK2UnitTestBase):

  • UIProcess/API/efl/tests/test_ewk2_view.cpp:

(TEST_F):
(serverCallbackNavigation):

4:09 AM Changeset in webkit [123862] by commit-queue@webkit.org
  • 114 edits
    1 copy
    46 adds
    9 deletes in trunk/LayoutTests

[Qt] platform/qt/editing/pasteboard tests needs update after font change.
https://bugs.webkit.org/show_bug.cgi?id=91399.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-27
Reviewed by Csaba Osztrogonác.

  • platform/qt-5.0-wk1/Skipped:
  • platform/qt-5.0-wk2/Skipped:
  • platform/qt-5.0-wk2/editing/pasteboard/4806874-expected.txt: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/4944770-1-expected.png: Removed.
  • platform/qt-5.0-wk2/editing/pasteboard/4944770-1-expected.txt: Removed.
  • platform/qt-5.0-wk2/editing/pasteboard/4944770-2-expected.png: Removed.
  • platform/qt-5.0-wk2/editing/pasteboard/4944770-2-expected.txt: Removed.
  • platform/qt-5.0-wk2/editing/pasteboard/input-field-1-expected.txt: Copied from LayoutTests/platform/qt/editing/pasteboard/input-field-1-expected.txt.
  • platform/qt-5.0/Skipped:
  • platform/qt-5.0/editing/pasteboard/4944770-1-expected.png: Removed.
  • platform/qt-5.0/editing/pasteboard/4944770-1-expected.txt: Removed.
  • platform/qt-5.0/editing/pasteboard/4944770-2-expected.png: Removed.
  • platform/qt-5.0/editing/pasteboard/4944770-2-expected.txt: Removed.
  • platform/qt-5.0/editing/pasteboard/paste-text-at-tabspan-003-expected.txt: Removed.
  • platform/qt/editing/pasteboard/3976872-expected.png: Added.
  • platform/qt/editing/pasteboard/3976872-expected.txt:
  • platform/qt/editing/pasteboard/4076267-2-expected.png:
  • platform/qt/editing/pasteboard/4076267-2-expected.txt:
  • platform/qt/editing/pasteboard/4076267-3-expected.png:
  • platform/qt/editing/pasteboard/4076267-3-expected.txt:
  • platform/qt/editing/pasteboard/4076267-expected.png:
  • platform/qt/editing/pasteboard/4076267-expected.txt:
  • platform/qt/editing/pasteboard/4242293-expected.png: Added.
  • platform/qt/editing/pasteboard/4242293-expected.txt:
  • platform/qt/editing/pasteboard/4631972-expected.png: Added.
  • platform/qt/editing/pasteboard/4631972-expected.txt:
  • platform/qt/editing/pasteboard/4641033-expected.png:
  • platform/qt/editing/pasteboard/4641033-expected.txt:
  • platform/qt/editing/pasteboard/4806874-expected.png:
  • platform/qt/editing/pasteboard/4806874-expected.txt:
  • platform/qt/editing/pasteboard/4944770-1-expected.png:
  • platform/qt/editing/pasteboard/4944770-1-expected.txt:
  • platform/qt/editing/pasteboard/4944770-2-expected.png:
  • platform/qt/editing/pasteboard/4944770-2-expected.txt:
  • platform/qt/editing/pasteboard/4989774-expected.png: Added.
  • platform/qt/editing/pasteboard/4989774-expected.txt:
  • platform/qt/editing/pasteboard/5006779-expected.png: Added.
  • platform/qt/editing/pasteboard/5006779-expected.txt:
  • platform/qt/editing/pasteboard/5028447-expected.png: Added.
  • platform/qt/editing/pasteboard/5028447-expected.txt:
  • platform/qt/editing/pasteboard/5032095-expected.png: Added.
  • platform/qt/editing/pasteboard/5032095-expected.txt:
  • platform/qt/editing/pasteboard/5071074-2-expected.png: Added.
  • platform/qt/editing/pasteboard/5071074-2-expected.txt:
  • platform/qt/editing/pasteboard/5071074-expected.png: Added.
  • platform/qt/editing/pasteboard/5071074-expected.txt:
  • platform/qt/editing/pasteboard/5075944-expected.png: Added.
  • platform/qt/editing/pasteboard/5075944-expected.txt:
  • platform/qt/editing/pasteboard/5134759-expected.png: Added.
  • platform/qt/editing/pasteboard/5134759-expected.txt:
  • platform/qt/editing/pasteboard/5156401-1-expected.png: Added.
  • platform/qt/editing/pasteboard/5156401-1-expected.txt:
  • platform/qt/editing/pasteboard/5247341-expected.png: Added.
  • platform/qt/editing/pasteboard/5247341-expected.txt:
  • platform/qt/editing/pasteboard/5387578-expected.png:
  • platform/qt/editing/pasteboard/5387578-expected.txt:
  • platform/qt/editing/pasteboard/5478250-expected.png:
  • platform/qt/editing/pasteboard/5478250-expected.txt:
  • platform/qt/editing/pasteboard/5601583-1-expected.png: Added.
  • platform/qt/editing/pasteboard/5601583-1-expected.txt:
  • platform/qt/editing/pasteboard/5780697-2-expected.txt:
  • platform/qt/editing/pasteboard/7955-expected.png: Added.
  • platform/qt/editing/pasteboard/7955-expected.txt:
  • platform/qt/editing/pasteboard/8145-1-expected.png: Added.
  • platform/qt/editing/pasteboard/8145-1-expected.txt:
  • platform/qt/editing/pasteboard/8145-2-expected.png: Added.
  • platform/qt/editing/pasteboard/8145-2-expected.txt:
  • platform/qt/editing/pasteboard/8145-3-expected.png:
  • platform/qt/editing/pasteboard/8145-3-expected.txt:
  • platform/qt/editing/pasteboard/bad-placeholder-expected.png:
  • platform/qt/editing/pasteboard/bad-placeholder-expected.txt:
  • platform/qt/editing/pasteboard/block-wrappers-necessary-expected.txt:
  • platform/qt/editing/pasteboard/cut-text-001-expected.png:
  • platform/qt/editing/pasteboard/cut-text-001-expected.txt:
  • platform/qt/editing/pasteboard/displaced-generic-placeholder-expected.png: Added.
  • platform/qt/editing/pasteboard/displaced-generic-placeholder-expected.txt:
  • platform/qt/editing/pasteboard/displaced-placeholder-expected.png: Added.
  • platform/qt/editing/pasteboard/displaced-placeholder-expected.txt:
  • platform/qt/editing/pasteboard/emacs-cntl-y-001-expected.png: Added.
  • platform/qt/editing/pasteboard/emacs-cntl-y-001-expected.txt:
  • platform/qt/editing/pasteboard/innerText-inline-table-expected.png:
  • platform/qt/editing/pasteboard/innerText-inline-table-expected.txt:
  • platform/qt/editing/pasteboard/input-field-1-expected.png:
  • platform/qt/editing/pasteboard/input-field-1-expected.txt:
  • platform/qt/editing/pasteboard/merge-after-delete-1-expected.png: Added.
  • platform/qt/editing/pasteboard/merge-after-delete-1-expected.txt:
  • platform/qt/editing/pasteboard/merge-after-delete-2-expected.png: Added.
  • platform/qt/editing/pasteboard/merge-after-delete-2-expected.txt:
  • platform/qt/editing/pasteboard/merge-after-delete-expected.png: Added.
  • platform/qt/editing/pasteboard/merge-after-delete-expected.txt:
  • platform/qt/editing/pasteboard/merge-end-blockquote-expected.png:
  • platform/qt/editing/pasteboard/merge-end-blockquote-expected.txt:
  • platform/qt/editing/pasteboard/merge-end-borders-expected.png:
  • platform/qt/editing/pasteboard/merge-end-borders-expected.txt:
  • platform/qt/editing/pasteboard/merge-start-blockquote-expected.png: Added.
  • platform/qt/editing/pasteboard/merge-start-blockquote-expected.txt:
  • platform/qt/editing/pasteboard/merge-start-list-expected.png: Added.
  • platform/qt/editing/pasteboard/merge-start-list-expected.txt:
  • platform/qt/editing/pasteboard/paste-4035648-fix-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-4035648-fix-expected.txt:
  • platform/qt/editing/pasteboard/paste-4038267-fix-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-4038267-fix-expected.txt:
  • platform/qt/editing/pasteboard/paste-blockquote-after-blockquote-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt:
  • platform/qt/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt:
  • platform/qt/editing/pasteboard/paste-line-endings-001-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-line-endings-001-expected.txt:
  • platform/qt/editing/pasteboard/paste-line-endings-002-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-line-endings-002-expected.txt:
  • platform/qt/editing/pasteboard/paste-line-endings-003-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-line-endings-003-expected.txt:
  • platform/qt/editing/pasteboard/paste-line-endings-004-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-line-endings-004-expected.txt:
  • platform/qt/editing/pasteboard/paste-line-endings-005-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-line-endings-005-expected.txt:
  • platform/qt/editing/pasteboard/paste-line-endings-006-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-line-endings-006-expected.txt:
  • platform/qt/editing/pasteboard/paste-line-endings-007-expected.png:
  • platform/qt/editing/pasteboard/paste-line-endings-007-expected.txt:
  • platform/qt/editing/pasteboard/paste-line-endings-008-expected.png:
  • platform/qt/editing/pasteboard/paste-line-endings-008-expected.txt:
  • platform/qt/editing/pasteboard/paste-line-endings-009-expected.png:
  • platform/qt/editing/pasteboard/paste-line-endings-009-expected.txt:
  • platform/qt/editing/pasteboard/paste-line-endings-010-expected.png:
  • platform/qt/editing/pasteboard/paste-line-endings-010-expected.txt:
  • platform/qt/editing/pasteboard/paste-match-style-001-expected.png:
  • platform/qt/editing/pasteboard/paste-match-style-001-expected.txt:
  • platform/qt/editing/pasteboard/paste-match-style-002-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-match-style-002-expected.txt:
  • platform/qt/editing/pasteboard/paste-table-003-expected.png:
  • platform/qt/editing/pasteboard/paste-table-003-expected.txt:
  • platform/qt/editing/pasteboard/paste-table-cells-expected.png:
  • platform/qt/editing/pasteboard/paste-table-cells-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-004-expected.png:
  • platform/qt/editing/pasteboard/paste-text-004-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-005-expected.png:
  • platform/qt/editing/pasteboard/paste-text-005-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-006-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-text-006-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-007-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-text-007-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-008-expected.png:
  • platform/qt/editing/pasteboard/paste-text-008-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-009-expected.png:
  • platform/qt/editing/pasteboard/paste-text-009-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-013-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-text-013-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-014-expected.png:
  • platform/qt/editing/pasteboard/paste-text-014-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-016-expected.png: Added.
  • platform/qt/editing/pasteboard/paste-text-016-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-019-expected.png:
  • platform/qt/editing/pasteboard/paste-text-019-expected.txt:
  • platform/qt/editing/pasteboard/paste-text-at-tabspan-003-expected.png:
  • platform/qt/editing/pasteboard/paste-text-at-tabspan-003-expected.txt:
  • platform/qt/editing/pasteboard/pasting-object-expected.png:
  • platform/qt/editing/pasteboard/pasting-object-expected.txt:
  • platform/qt/editing/pasteboard/quirks-mode-br-1-expected.png: Added.
  • platform/qt/editing/pasteboard/quirks-mode-br-1-expected.txt:
  • platform/qt/editing/pasteboard/smart-paste-004-expected.txt: Added.
  • platform/qt/editing/pasteboard/smart-paste-007-expected.png:
  • platform/qt/editing/pasteboard/smart-paste-007-expected.txt:
  • platform/qt/editing/pasteboard/styled-element-markup-expected.png: Added.
  • platform/qt/editing/pasteboard/styled-element-markup-expected.txt:
  • platform/qt/editing/pasteboard/undoable-fragment-removes-expected.png: Added.
  • platform/qt/editing/pasteboard/undoable-fragment-removes-expected.txt:
  • platform/qt/editing/pasteboard/unrendered-br-expected.png: Added.
  • platform/qt/editing/pasteboard/unrendered-br-expected.txt:
4:04 AM Changeset in webkit [123861] by peter@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

Unreviewed. Rolled DEPS.

  • DEPS:
3:47 AM Changeset in webkit [123860] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[EFL][WK2] Keyboard events miss key location data.
https://bugs.webkit.org/show_bug.cgi?id=92235

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-27
Reviewed by Simon Hausmann.

EFL WK2 did not initialize WebKeyboardEvent::m_isKeypad field.
This caused failure of fast/events/keydown-numpad-keys.html test.

  • Shared/efl/WebEventFactory.cpp: WebKeyboardEvent::m_isKeypad is initialized.

(WebKit::WebEventFactory::createWebKeyboardEvent):

3:44 AM Changeset in webkit [123859] by commit-queue@webkit.org
  • 2 edits
    1 add in trunk/Tools

[WK2][EFL][WTR] TestNetscapePlugin is required.
https://bugs.webkit.org/show_bug.cgi?id=88756

Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-07-27
Reviewed by Simon Hausmann.

libTestNetscapePlugin.so should be required for DRT/WTR/EFL.

  • CMakeLists.txt:
  • DumpRenderTree/TestNetscapePlugin/CMakeList.txt:
2:55 AM Changeset in webkit [123858] by gyuyoung.kim@samsung.com
  • 6 edits in trunk/Source

[EFL] Fix wrong return value in EWK_VIEW_XXX macro.
https://bugs.webkit.org/show_bug.cgi?id=92466

Reviewed by Simon Hausmann.

There are wrong return values in EWK_VIEW_XXX macros. The wrong return values
should be fixed. In addition, API description is also modified according to returned
value change.

Source/WebKit/efl:

  • ewk/ewk_view.cpp:

(ewk_view_setting_minimum_timer_interval_get):
(ewk_view_navigation_policy_decision):
(ewk_view_page_rect_get):
(ewk_view_setting_enable_xss_auditor_get):

  • ewk/ewk_view.h:

Source/WebKit2:

  • UIProcess/API/efl/ewk_view.cpp:

(ewk_view_uri_set):
(ewk_view_load_progress_get):
(ewk_view_device_pixel_ratio_get):

  • UIProcess/API/efl/ewk_view.h:
2:41 AM Changeset in webkit [123857] by zandobersek@gmail.com
  • 2 edits in trunk/LayoutTests

Unreviewed GTK gardening, adding a text failure expectation for an accessibility
test that started failing after r123767.

  • platform/gtk/TestExpectations:
2:37 AM Changeset in webkit [123856] by abarth@webkit.org
  • 12 edits
    1 copy in trunk/Source

Add a Setting to expose quantized, rate-limited MemoryInfo values
https://bugs.webkit.org/show_bug.cgi?id=80444

Reviewed by Eric Seidel.

We do not currently expose real MemoryInfo objects to the web unless
the user opts in because we're worried that this memory information
could be used in side-channel attacks.

We've gotten feedback from a number of web app developers that this
information is very useful in tracking the performance of their
applications. These developers use the setting in their testing labs
and regression harnesses to catch memory leaks and regressiosn early in
their development cycle.

Some of these developers have experimented with enabling this feature
within their enterprise and have found the memory data from the field
extremely useful in tracking down memory issues that slip through their
testing.

Based on this experience, they've asked whether we can enable this
functionality on a wider scale so they catch even more problems
including problems that don't manifest within their enterprise.
Because we're still worried about side-channel attacks, we don't want
to expose the raw data, so we've talked with these folks in more detail
to understand what information they find most valuable.

This patch is the result of those discussions. In particular, this
patch adds an option to expose quantized and rate-limited memory
information to web pages. Web pages can only learn new data every 20
minutes, which helps mitigate attacks where the attacker compares two
or readings to extract side-channel information. The patch also only
reports 100 distinct memory values, which (combined with the rate
limts) makes it difficult for attackers to learn about small changes in
memory use.

  • page/MemoryInfo.cpp:

(WebCore):
(HeapSizeCache):
(WebCore::HeapSizeCache::HeapSizeCache):
(WebCore::HeapSizeCache::getCachedHeapSize):
(WebCore::HeapSizeCache::maybeUpdate):
(WebCore::HeapSizeCache::update):
(WebCore::HeapSizeCache::quantize):
(WebCore::MemoryInfo::MemoryInfo):

  • page/Settings.cpp:

(WebCore::Settings::Settings):

  • page/Settings.h:

(WebCore::Settings::setQuantizedMemoryInfoEnabled):
(WebCore::Settings::quantizedMemoryInfoEnabled):
(Settings):

2:36 AM Changeset in webkit [123855] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

[chromium] Fix issues in visiblePositionForWindowPoint (offscreen points / iframes).
https://bugs.webkit.org/show_bug.cgi?id=79117

Fix two issues in WebFrameImpl::visiblePositionForWindowPoint.

1) If the point is off-screen, the visiblePosition is clipped to the screen.

  • The fix is to add HitTestRequest::IgnoreClipping.

2) The result is incorrect if the point is within an iframe.

  • This is because we are calling convertFromContainingWindow twice: once in windowToContents, and then explicitly as well.
  • This patch removes the explicit call to convertFromContainingWindow.

Patch by Oli Lan <olilan@chromium.org> on 2012-07-27
Reviewed by Adam Barth.

  • src/WebFrameImpl.cpp:

(WebKit::WebFrameImpl::visiblePositionForWindowPoint):

2:32 AM Changeset in webkit [123854] by peter@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

Unreviewed. Rolled DEPS.

  • DEPS:
2:26 AM Changeset in webkit [123853] by vsevik@chromium.org
  • 4 edits in trunk

Source/WebCore: Web Inspector: Move formatting support from JavaScriptSource to UISourceCode.
https://bugs.webkit.org/show_bug.cgi?id=92373

Reviewed by Pavel Feldman.

Moved formatting support from JavaScriptSource to UISourceCode.
Extracted Formatter interface from ScriptFormatter and created IdentityFormatter
implememntation and Formatter.createFormatter(contentType) formatter factory.
Introduced virtual formattedChanged() method on UISourceCode.

  • inspector/front-end/JavaScriptSource.js:

(WebInspector.JavaScriptSource):
(WebInspector.JavaScriptSource.prototype.uiLocationToRawLocation):
(WebInspector.JavaScriptSource.prototype.breakpointStorageId):
(WebInspector.JavaScriptSource.prototype.searchInContent):
(WebInspector.JavaScriptSource.prototype.formattedChanged):

  • inspector/front-end/ScriptFormatter.js:

(WebInspector.Formatter):
(WebInspector.Formatter.createFormatter):
(WebInspector.Formatter.locationToPosition):
(WebInspector.Formatter.positionToLocation):
(WebInspector.Formatter.prototype.formatContent):
(WebInspector.ScriptFormatter):
(WebInspector.IdentityFormatter):
(WebInspector.IdentityFormatter.prototype.formatContent):
(WebInspector.FormatterSourceMappingImpl.prototype.originalToFormatted):
(WebInspector.FormatterSourceMappingImpl.prototype.formattedToOriginal):

  • inspector/front-end/UISourceCode.js:

(WebInspector.UISourceCode):
(WebInspector.UISourceCode.prototype.requestContent):
(WebInspector.UISourceCode.prototype._fireContentAvailable):
(WebInspector.UISourceCode.prototype.uiLocationToRawLocation):
(WebInspector.UISourceCode.prototype.overrideLocation):
(WebInspector.UISourceCode.prototype.togglingFormatter):
(WebInspector.UISourceCode.prototype.formatted):
(WebInspector.UISourceCode.prototype.setFormatted.if):
(WebInspector.UISourceCode.prototype.setFormatted.didGetContent.formattedChanged):
(WebInspector.UISourceCode.prototype.setFormatted.didGetContent):
(WebInspector.UISourceCode.prototype.setFormatted):
(WebInspector.UISourceCode.prototype.createFormatter):
(WebInspector.UISourceCode.prototype.formattedChanged):

Source/WebKit2: [EFL][WK2] Add unit tests for Ewk_View form client
https://bugs.webkit.org/show_bug.cgi?id=92468

Reviewed by Simon Hausmann.

Add unit test for form client functionality in
Ewk_View.

  • UIProcess/API/efl/tests/test_ewk2_view.cpp:

(onFormAboutToBeSubmitted):
(TEST_F):

LayoutTests: Web Inspector: Move formatting support from JavaScriptSource to UISourceCode.
https://bugs.webkit.org/show_bug.cgi?id=92373

Reviewed by Pavel Feldman.

  • inspector/debugger/script-formatter.html:
1:50 AM Changeset in webkit [123852] by vsevik@chromium.org
  • 6 edits in trunk

Web Inspector: Move formatting support from JavaScriptSource to UISourceCode.
https://bugs.webkit.org/show_bug.cgi?id=92373

Reviewed by Pavel Feldman.

Source/WebCore:

Moved formatting support from JavaScriptSource to UISourceCode.
Extracted Formatter interface from ScriptFormatter and created IdentityFormatter
implememntation and Formatter.createFormatter(contentType) formatter factory.
Introduced virtual formattedChanged() method on UISourceCode.

  • inspector/front-end/JavaScriptSource.js:

(WebInspector.JavaScriptSource):
(WebInspector.JavaScriptSource.prototype.uiLocationToRawLocation):
(WebInspector.JavaScriptSource.prototype.breakpointStorageId):
(WebInspector.JavaScriptSource.prototype.searchInContent):
(WebInspector.JavaScriptSource.prototype.formattedChanged):

  • inspector/front-end/ScriptFormatter.js:

(WebInspector.Formatter):
(WebInspector.Formatter.createFormatter):
(WebInspector.Formatter.locationToPosition):
(WebInspector.Formatter.positionToLocation):
(WebInspector.Formatter.prototype.formatContent):
(WebInspector.ScriptFormatter):
(WebInspector.IdentityFormatter):
(WebInspector.IdentityFormatter.prototype.formatContent):
(WebInspector.FormatterSourceMappingImpl.prototype.originalToFormatted):
(WebInspector.FormatterSourceMappingImpl.prototype.formattedToOriginal):

  • inspector/front-end/UISourceCode.js:

(WebInspector.UISourceCode):
(WebInspector.UISourceCode.prototype.requestContent):
(WebInspector.UISourceCode.prototype._fireContentAvailable):
(WebInspector.UISourceCode.prototype.uiLocationToRawLocation):
(WebInspector.UISourceCode.prototype.overrideLocation):
(WebInspector.UISourceCode.prototype.togglingFormatter):
(WebInspector.UISourceCode.prototype.formatted):
(WebInspector.UISourceCode.prototype.setFormatted.if):
(WebInspector.UISourceCode.prototype.setFormatted.didGetContent.formattedChanged):
(WebInspector.UISourceCode.prototype.setFormatted.didGetContent):
(WebInspector.UISourceCode.prototype.setFormatted):
(WebInspector.UISourceCode.prototype.createFormatter):
(WebInspector.UISourceCode.prototype.formattedChanged):

LayoutTests:

  • inspector/debugger/script-formatter.html:
1:41 AM Changeset in webkit [123851] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

[EFL] Memory leaks in EFL DRT
https://bugs.webkit.org/show_bug.cgi?id=92347

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-27
Reviewed by Simon Hausmann.

Fix a memory leak in EFL's DRT code by adopting an allocation
of JSString created with JSStringCreateWithUTF8CString.

  • DumpRenderTree/efl/DumpRenderTreeChrome.cpp:

(DumpRenderTreeChrome::onWindowObjectCleared):

1:34 AM Changeset in webkit [123850] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Page object should ascertain EditorClient to be non-null
https://bugs.webkit.org/show_bug.cgi?id=92458

Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-07-27
Reviewed by Ryosuke Niwa.

The EditorClient should always be available in Page object. Added the assertion to ascertain this.

No new tests. Added assertion to make sure EditorClient always exist.

  • page/Page.cpp:

(WebCore::Page::Page):

1:28 AM Changeset in webkit [123849] by zherczeg@webkit.org
  • 1 edit
    4 adds in trunk/LayoutTests

[Qt] Unreviewed, rebaseline for tests introduced in r123790

Patch by János Badics <János Badics> on 2012-07-27
Rubber stamped by Zoltan Herczeg.

  • platform/qt/css3/filters/effect-brightness-clamping-expected.png: Added.
  • platform/qt/css3/filters/effect-brightness-clamping-expected.txt: Added.
  • platform/qt/css3/filters/effect-brightness-clamping-hw-expected.png: Added.
  • platform/qt/css3/filters/effect-brightness-clamping-hw-expected.txt: Added.
1:25 AM Changeset in webkit [123848] by commit-queue@webkit.org
  • 9 edits in trunk/Source/WebCore

Gather the duplicated timer code into CachedResource.
https://bugs.webkit.org/show_bug.cgi?id=92332

Patch by Huang Dongsung <luxtella@company100.net> on 2012-07-27
Reviewed by Nate Chapin.

Internal review by Jae Hyun Park.

When all clients are removed, CachedImage, CachedScript and CachedCSSStyleSheet
start the timer to destroy decoded data. Those three classes have their own
timer.
Changed CachedCSSStyleSheet::didAddClient to call super class method in order to
stop the timer. This change does not have any side effect because
CachedResource::didAddClient only stops the timer in this case.

No new tests - no new testable functionality.

  • loader/cache/CachedCSSStyleSheet.cpp:

(WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet):
(WebCore::CachedCSSStyleSheet::didAddClient):

  • loader/cache/CachedCSSStyleSheet.h:

(CachedCSSStyleSheet):

  • loader/cache/CachedImage.cpp:

(WebCore::CachedImage::CachedImage):
(WebCore::CachedImage::didAddClient):
(WebCore::CachedImage::allClientsRemoved):

  • loader/cache/CachedImage.h:

(CachedImage):

  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::CachedResource):
(WebCore::CachedResource::didAddClient):
(WebCore::CachedResource::removeClient):
(WebCore::CachedResource::destroyDecodedDataIfNeeded):
(WebCore):
(WebCore::CachedResource::decodedDataDeletionTimerFired):

  • loader/cache/CachedResource.h:

(CachedResource):

  • loader/cache/CachedScript.cpp:

(WebCore::CachedScript::CachedScript):

  • loader/cache/CachedScript.h:

(CachedScript):

12:56 AM Changeset in webkit [123847] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebKit/efl

[EFL] Change prototype of run_open_panel
https://bugs.webkit.org/show_bug.cgi?id=91956

Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-07-27
Reviewed by Kentaro Hara.

In order to support all of the file chooser attributes,
change the types of parameters in run_open_panel method.
i.e., change "Eina_Bool allows_multiple_files, Eina_List *accept_types"
to "Ewk_File_Chooser *file_chooser"
In addition, Efl can support the capture attribute for HTML media capture.

  • WebCoreSupport/ChromeClientEfl.cpp:

(WebCore::ChromeClientEfl::runOpenPanel):

  • ewk/ewk_view.cpp:

(ewk_view_run_open_panel):

  • ewk/ewk_view.h:
  • ewk/ewk_view_private.h:
12:51 AM Changeset in webkit [123846] by abarth@webkit.org
  • 2 edits in trunk/Websites/webkit.org

Writing a blog post for new reviewers doesn't add value to the blog
https://bugs.webkit.org/show_bug.cgi?id=92305

Reviewed by Eric Seidel.

Now that we have Peter posting weekly updates to the blog, having an
announcement on the blog for each reviewer is more noise than signal.

  • coding/commit-review-policy.html:
12:48 AM Changeset in webkit [123845] by abarth@webkit.org
  • 4 edits in trunk/Tools

Simplify ExpectedFailures
https://bugs.webkit.org/show_bug.cgi?id=92216

Reviewed by Eric Seidel.

This patch simplifies the ExpectedFailures class we use to remember
which tests are currently failing on the bots. When we wrote this code
originally, we weren't entirely sure how it would work. Now that we
understand it more clearly, we can write the code more clearly.

  • Scripts/webkitpy/tool/bot/expectedfailures.py:

(_has_failures):
(_is_trustworthy):
(ExpectedFailures.init):
(ExpectedFailures.failures_were_expected):
(ExpectedFailures.unexpected_failures_observed):
(ExpectedFailures.update):

  • Scripts/webkitpy/tool/bot/expectedfailures_unittest.py:

(ExpectedFailuresTest._assert_can_trust):
(ExpectedFailuresTest.test_failures_were_expected):
(ExpectedFailuresTest.test_unexpected_failures_observed):
(ExpectedFailuresTest.test_unexpected_failures_observed_when_tree_is_hosed):

  • Scripts/webkitpy/tool/bot/patchanalysistask.py:

(PatchAnalysisTask._test):
(PatchAnalysisTask._build_and_test_without_patch):
(PatchAnalysisTask._test_patch):

12:44 AM Changeset in webkit [123844] by danakj@chromium.org
  • 2 edits in trunk/Source/WebCore

[chromium] Don't add a HUD layer when there is no rootLayer
https://bugs.webkit.org/show_bug.cgi?id=92442

Reviewed by Adrienne Walker.

When the compositor is shutting down in threaded mode, it does a commit
without a root layer. We should not try stick the hud layer onto the
null root layer.

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

(WebCore::CCLayerTreeHost::willCommit):

12:30 AM Changeset in webkit [123843] by commit-queue@webkit.org
  • 31 edits
    3 adds in trunk

IndexedDB: inject index keys on cursor/objectstore/index get success handlers
https://bugs.webkit.org/show_bug.cgi?id=91123

Patch by Alec Flett <alecflett@chromium.org> on 2012-07-27
Reviewed by Tony Chang.

Source/WebCore:

Move key-injection into the frontend, by injecting the key into
the value on get rather than set for autoincremented keys. This
gives a potential performance win by avoiding an IPC call to the
V8 utility process on chromium, and generally cleans up the key
management.

Note that this duplicates the logic of generateIndexKeys into the
frontend until that method can be expunged from the backend. This
will be cleaned up in a later patch.

In order to account for both old data (which has the duplicate
primary key already injected and serialized) and any new data, an
assertion was removed from IDBBindingUtilities.

This also includes some minor refactoring such as the deprecation
of IDBCursorBackendInterface::update in favor of a direct call to
IDBObjectStoreBackendImpl::put, and removal of the now-defunct
IDBBackingStore::getObjectViaIndex.

Tests: storage/indexdb/index-duplicate-keypaths.html

  • Modules/indexeddb/IDBBackingStore.h:

(IDBBackingStore):

  • Modules/indexeddb/IDBCursor.cpp:

(WebCore::IDBCursor::update):
(WebCore::IDBCursor::setValueReady):

  • Modules/indexeddb/IDBCursorBackendImpl.cpp:

(WebCore::IDBCursorBackendImpl::update):

  • Modules/indexeddb/IDBIndexBackendImpl.cpp:

(WebCore::IDBIndexBackendImpl::getInternal):

  • Modules/indexeddb/IDBLevelDBBackingStore.cpp:
  • Modules/indexeddb/IDBLevelDBBackingStore.h:

(IDBLevelDBBackingStore):

  • Modules/indexeddb/IDBObjectStore.cpp:

(WebCore::generateIndexKeysForValue):
(WebCore):
(WebCore::IDBObjectStore::add):
(WebCore::IDBObjectStore::put):

  • Modules/indexeddb/IDBObjectStore.h:

(IDBObjectStore):

  • Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:

(WebCore::IDBObjectStoreBackendImpl::put):
(WebCore::IDBObjectStoreBackendImpl::putWithIndexKeys):
(WebCore):
(WebCore::IDBObjectStoreBackendImpl::putInternal):

  • Modules/indexeddb/IDBRequest.cpp:

(WebCore::IDBRequest::onSuccess):

  • bindings/v8/IDBBindingUtilities.cpp:

(WebCore):

Source/WebKit/chromium:

Remove method no longer used.

  • tests/IDBFakeBackingStore.h:

LayoutTests:

One new test to make sure that indexes with the same keypath as an
autoIncrement'ed objectStore still index their values. Also minor
tweaks to tests to make it easier to figure out which key is being
updated.

  • storage/indexeddb/index-duplicate-keypaths-expected.txt: Added.
  • storage/indexeddb/index-duplicate-keypaths.html: Added.
  • storage/indexeddb/mozilla/autoincrement-indexes-expected.txt:
  • storage/indexeddb/mozilla/resources/autoincrement-indexes.js:
  • storage/indexeddb/resources/index-duplicate-keypaths.js: Added.
12:27 AM Changeset in webkit [123842] by tony@chromium.org
  • 4 edits
    2 adds in trunk

changing -webkit-order should change the paint order of flex items
https://bugs.webkit.org/show_bug.cgi?id=92041

Reviewed by Ojan Vafai.

Source/WebCore:

Override paintChildren and use the flex order iterator to determine the order to paint the children.

Test: css3/flexbox/order-painting.html

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::layoutBlock): Save a reference to the order iterator.
(WebCore::RenderFlexibleBox::paintChildren):

  • rendering/RenderFlexibleBox.h:

(RenderFlexibleBox): Hold a reference to the order iterator so we don't have to recreate it at paint time.

Also mark all the virtual methods with OVERRIDE.

LayoutTests:

Use a ref test since this is testing paint behavior.

  • css3/flexbox/order-painting-expected.html: Added.
  • css3/flexbox/order-painting.html: Added.
12:10 AM Changeset in webkit [123841] by Csaba Osztrogonác
  • 7 edits in trunk

[Qt][WK2] REGRESSION(r119127): resetting window.internals settings between tests doesn't work properly
https://bugs.webkit.org/show_bug.cgi?id=88064

Reviewed by Zoltan Herczeg.

Source/WebKit/qt:

Add missing DumpRenderTreeSupportQt::resetInternalsObject(JSContextRef context) function.

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp:

(DumpRenderTreeSupportQt::resetInternalsObject):

  • WebCoreSupport/DumpRenderTreeSupportQt.h:

Tools:

Use resetInternalsObject() instead of injectInternalsObject().

  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:

(WTR::InjectedBundlePage::resetAfterTest):

LayoutTests:

  • platform/qt-5.0-wk2/Skipped: Unskip now passing tests.

Jul 26, 2012:

11:35 PM Changeset in webkit [123840] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebCore

Unreviewed, rolling out r123820.
http://trac.webkit.org/changeset/123820
https://bugs.webkit.org/show_bug.cgi?id=92465

It made all tests crash on all port (Requested by Ossy_home on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26

  • dom/EventNames.cpp:

(WebCore):

11:21 PM Changeset in webkit [123839] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

Qt build fix after r123788. Fixed the typo.

  • xml/parser/XMLDocumentParserQt.cpp:

(WebCore::handleElementAttributes):

10:53 PM Changeset in webkit [123838] by hbono@chromium.org
  • 2 edits in trunk/Source/WebCore

[Qt] Build fix for Qt after r123811
https://bugs.webkit.org/show_bug.cgi?id=92460

Reviewed by Ryosuke Niwa.

This change explicitly converts from AtomicString to String to avoid ambiguities
when compiling HTMLAppletWidget.cpp on Qt.

No new tests because it is a build fix.

  • html/HTMLAppletElement.cpp:

(WebCore::HTMLAppletElement::updateWidget):

9:32 PM Changeset in webkit [123837] by mikelawther@chromium.org
  • 4 edits
    2 adds in trunk

Make transitions work between different Length types
https://bugs.webkit.org/show_bug.cgi?id=92220

Reviewed by Simon Fraser.

Source/WebCore:

Use the existing CSS calc machinery for blending between two calculations
to blend between two Lengths of differing types.

Test: transitions/mixed-type.html

  • platform/Length.cpp:

(WebCore::Length::blendMixedTypes):

  • platform/Length.h:

(WebCore::Length::blend):
(Length):

LayoutTests:

  • transitions/mixed-type-expected.txt: Added.
  • transitions/mixed-type.html: Added.
9:07 PM Changeset in webkit [123836] by yosin@chromium.org
  • 1 edit
    16 moves in trunk/LayoutTests

[Tests] Rename fast/forms/{number,time}/*-validity-state-* to *-validity-*
https://bugs.webkit.org/show_bug.cgi?id=92449

Reviewed by Kent Tamura.

This patch renames test files in fast/forms/{number,time} for matching
with IDL attribute names.

  • fast/forms/number/number-validity-rangeoverflow-expected.txt: Copied from LayoutTests/fast/forms/number/number-validitystate-range-overflow-expected.txt.
  • fast/forms/number/number-validity-rangeoverflow.html: Copied from LayoutTests/fast/forms/number/number-validitystate-range-overflow.html.
  • fast/forms/number/number-validity-rangeunderflow-expected.txt: Copied from LayoutTests/fast/forms/number/number-validity-state-range-underflow-expected.txt.
  • fast/forms/number/number-validity-rangeunderflow.html: Copied from LayoutTests/fast/forms/number/number-validity-state-range-underflow.html.
  • fast/forms/number/number-validity-state-range-underflow-expected.txt: Removed.
  • fast/forms/number/number-validity-state-range-underflow.html: Removed.
  • fast/forms/number/number-validity-state-step-mismatch-expected.txt: Removed.
  • fast/forms/number/number-validity-state-step-mismatch.html: Removed.
  • fast/forms/number/number-validity-state-type-mismatch-expected.txt: Removed.
  • fast/forms/number/number-validity-state-type-mismatch.html: Removed.
  • fast/forms/number/number-validity-stepmismatch-expected.txt: Copied from LayoutTests/fast/forms/number/number-validity-state-step-mismatch-expected.txt.
  • fast/forms/number/number-validity-stepmismatch.html: Copied from LayoutTests/fast/forms/number/number-validity-state-step-mismatch.html.
  • fast/forms/number/number-validity-typemismatch-expected.txt: Copied from LayoutTests/fast/forms/number/number-validity-state-type-mismatch-expected.txt.
  • fast/forms/number/number-validity-typemismatch.html: Copied from LayoutTests/fast/forms/number/number-validity-state-type-mismatch.html.
  • fast/forms/number/number-validitystate-range-overflow-expected.txt: Removed.
  • fast/forms/number/number-validitystate-range-overflow.html: Removed.
  • fast/forms/time/time-validity-rangeoverflow-expected.txt: Copied from LayoutTests/fast/forms/time/time-validity-state-range-overflow-expected.txt.
  • fast/forms/time/time-validity-rangeoverflow.html: Copied from LayoutTests/fast/forms/time/time-validity-state-range-overflow.html.
  • fast/forms/time/time-validity-rangeunderflow-expected.txt: Copied from LayoutTests/fast/forms/time/time-validity-state-range-underflow-expected.txt.
  • fast/forms/time/time-validity-rangeunderflow.html: Copied from LayoutTests/fast/forms/time/time-validity-state-range-underflow.html.
  • fast/forms/time/time-validity-state-range-overflow-expected.txt: Removed.
  • fast/forms/time/time-validity-state-range-overflow.html: Removed.
  • fast/forms/time/time-validity-state-range-underflow-expected.txt: Removed.
  • fast/forms/time/time-validity-state-range-underflow.html: Removed.
  • fast/forms/time/time-validity-state-step-mismatch-expected.txt: Removed.
  • fast/forms/time/time-validity-state-step-mismatch.html: Removed.
  • fast/forms/time/time-validity-state-type-mismatch-expected.txt: Removed.
  • fast/forms/time/time-validity-state-type-mismatch.html: Removed.
  • fast/forms/time/time-validity-stepmismatch-expected.txt: Copied from LayoutTests/fast/forms/time/time-validity-state-step-mismatch-expected.txt.
  • fast/forms/time/time-validity-stepmismatch.html: Copied from LayoutTests/fast/forms/time/time-validity-state-step-mismatch.html.
  • fast/forms/time/time-validity-typemismatch-expected.txt: Copied from LayoutTests/fast/forms/time/time-validity-state-type-mismatch-expected.txt.
  • fast/forms/time/time-validity-typemismatch.html: Copied from LayoutTests/fast/forms/time/time-validity-state-type-mismatch.html.
8:48 PM Changeset in webkit [123835] by mitz@apple.com
  • 3 edits
    2 adds in trunk

Blocks with reverse column progression don’t have layout overflow for overflowing columns
https://bugs.webkit.org/show_bug.cgi?id=92440

Reviewed by Sam Weinig.

Source/WebCore:

Test: fast/multicol/progression-reverse-overflow.html

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::addLayoutOverflow): If column progression is reversed, then allow
layout overflow to go in the opposite direction than it would normally be allowed to go.
For example, in a block with writing-mode: horizontal-tb, direction: ltr and
column-progression: reverse, columns overflow to the left, so layout overflow would go on
the left.

LayoutTests:

  • fast/multicol/progression-reverse-overflow-expected.html: Added.
  • fast/multicol/progression-reverse-overflow.html: Added.
8:24 PM Changeset in webkit [123834] by mitz@apple.com
  • 3 edits in trunk

When Safari 6 is launched via the WebKit Xcode workspace, it does not link against the built frameworks
https://bugs.webkit.org/show_bug.cgi?id=92331

Reviewed by Mark Rowe.

Changed references to the Safari executable to the SafariForWebKitDevelopment binary.

  • WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme:
  • WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
8:21 PM Changeset in webkit [123833] by keishi@webkit.org
  • 4 edits
    3 adds in trunk

Implement ColorSuggestionPicker page popup
https://bugs.webkit.org/show_bug.cgi?id=92109

Reviewed by Kent Tamura.

.:

  • ManualTests/forms/color-suggestion-picker.html: Added. Tests colorSuggestionPicker.{js,css}

Source/WebCore:

Implements ColorSuggestionPicker page popup. This will be used in
certain ports as the datalist UI for <input type=color>.

No new tests because there is no way to open the popup yet.

  • Resources/colorSuggestionPicker.css: Added.

(body):
(#main):
(.color-swatch):
(.color-swatch:hover):
(.color-swatch-container):
(.other-color):

  • Resources/colorSuggestionPicker.js: Added.

(getScrollbarWidth):When there are more than 20 colors we need to
increase the window width to accommodate the scroll bar.
(createElement):
(handleMessage):
(initialize):
(handleArgumentsTimeout):
(validateArguments):
(submitValue): Calls setValueAndClosePopup with a numValue of 0.
(handleCancel): Calls setValueAndClosePopup with a numValue of -1.
(chooseOtherColor): Calls setValueAndClosePopup with a numValue of -2.
(ColorPicker):
(ColorPicker.prototype._layout): Lays out the color swatches in a 5x4
grid.
(ColorPicker.prototype._handleSwatchClick):

  • WebCore.gyp/WebCore.gyp: Added ColorSuggestionPicker action.
  • make-file-arrays.py:

(main): Windows gets confused when "&&" is in the command, so we will replace " AND " with " && " internally.

7:49 PM Changeset in webkit [123832] by ryuan.choi@samsung.com
  • 2 edits in trunk/Tools

[EFL] Remove forwarding headers from MiniBrowser/Efl.
https://bugs.webkit.org/show_bug.cgi?id=91627

Reviewed by Kentaro Hara.

  • MiniBrowser/efl/CMakeLists.txt: Remove unnecessary forwarding headers.
7:41 PM Changeset in webkit [123831] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/efl

[EFL] Highlight the element under mouse on web inspector
https://bugs.webkit.org/show_bug.cgi?id=91592

Patch by Seokju Kwon <seokju.kwon@samsung.com> on 2012-07-26
Reviewed by Kentaro Hara.

Implement highlighting the nodes when using the web inspector.

  • WebCoreSupport/InspectorClientEfl.cpp:

(WebCore::InspectorClientEfl::highlight):
(WebCore::InspectorClientEfl::hideHighlight):
(WebCore::InspectorClientEfl::invalidateView):
(WebCore):

  • WebCoreSupport/InspectorClientEfl.h:

(InspectorClientEfl):

  • ewk/ewk_paint_context.cpp:

(ewk_paint_context_paint_contents):

7:30 PM Changeset in webkit [123830] by commit-queue@webkit.org
  • 8 edits
    1 add in trunk/Source/WebCore

De-virtualize WrapShape classes
https://bugs.webkit.org/show_bug.cgi?id=90998

Patch by Anish Bhayani <anish.bhayani@gmail.com> on 2012-07-26
Reviewed by Andreas Kling.

The destructor for WrapShapes classes did not need to use a virtual
pointer. WrapShapes.cpp is created to cast the WrapShape destructor
to the subclass type saving memory and avoiding virtual calls.

There are existing tests that cover the validity of shapes. The
added changes merely change the destructor of the shape objects
which is also tested by LayoutTests/fast/exclusions.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • rendering/style/WrapShapes.cpp: Added.

(WebCore):
(WebCore::WrapShape::destroy):

  • rendering/style/WrapShapes.h:

(WebCore::WrapShape::deref):
(WrapShape):
(WebCore::WrapShape::type):
(WebCore::WrapShape::setType):
(WrapShapeRectangle):
(WebCore::WrapShapeRectangle::WrapShapeRectangle):
(WebCore::WrapShapeCircle::WrapShapeCircle):
(WebCore::WrapShapeEllipse::WrapShapeEllipse):
(WebCore::WrapShapePolygon::WrapShapePolygon):
(WrapShapePolygon):

6:48 PM Changeset in webkit [123829] by commit-queue@webkit.org
  • 9 edits in trunk/Source/WebCore

Unreviewed, rolling out r123808.
http://trac.webkit.org/changeset/123808
https://bugs.webkit.org/show_bug.cgi?id=92443

Broke Apple Mac debug tests ASSERTION FAILED: !hasClients()
(Requested by msaboff_ on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26

  • loader/cache/CachedCSSStyleSheet.cpp:

(WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet):
(WebCore::CachedCSSStyleSheet::didAddClient):
(WebCore::CachedCSSStyleSheet::allClientsRemoved):
(WebCore::CachedCSSStyleSheet::decodedDataDeletionTimerFired):
(WebCore):

  • loader/cache/CachedCSSStyleSheet.h:

(CachedCSSStyleSheet):

  • loader/cache/CachedImage.cpp:

(WebCore::CachedImage::CachedImage):
(WebCore::CachedImage::decodedDataDeletionTimerFired):
(WebCore):
(WebCore::CachedImage::didAddClient):
(WebCore::CachedImage::allClientsRemoved):

  • loader/cache/CachedImage.h:

(CachedImage):

  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::CachedResource):
(WebCore::CachedResource::didAddClient):
(WebCore::CachedResource::removeClient):

  • loader/cache/CachedResource.h:

(CachedResource):

  • loader/cache/CachedScript.cpp:

(WebCore::CachedScript::CachedScript):
(WebCore::CachedScript::didAddClient):
(WebCore):
(WebCore::CachedScript::allClientsRemoved):
(WebCore::CachedScript::decodedDataDeletionTimerFired):

  • loader/cache/CachedScript.h:

(CachedScript):

6:41 PM Changeset in webkit [123828] by tony@chromium.org
  • 2 edits in trunk/Source/WebCore

[chromium] Remove some unreachable code in ClipboardChromium.cpp
https://bugs.webkit.org/show_bug.cgi?id=92427

Reviewed by Adam Barth.

convertURIListToURL does the same thing (implementation in ClipboardUtilitiesChromium.*).

No new tests, just deleting unused code.

  • platform/chromium/ClipboardChromium.cpp:

(WebCore::ClipboardChromium::getData):

6:28 PM Changeset in webkit [123827] by commit-queue@webkit.org
  • 15 edits
    2 adds in trunk

Implement undoscope attribute.
https://bugs.webkit.org/show_bug.cgi?id=88793

Patch by Sukolsak Sakshuwong <sukolsak@google.com> on 2012-07-26
Reviewed by Ryosuke Niwa.

Source/WebCore:

undoscope attribute support as specified at
http://dvcs.w3.org/hg/undomanager/raw-file/tip/undomanager.html

Test: editing/undomanager/undoscope-attribute.html

  • Target.pri:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • dom/Document.cpp:

(WebCore::Document::~Document):

  • dom/Element.cpp:

(WebCore):
(WebCore::Element::undoScope):
(WebCore::Element::setUndoScope):
(WebCore::Element::undoManager):
(WebCore::Element::disconnectUndoManager):
(WebCore::Element::disconnectUndoManagersInSubtree):

  • dom/Element.h:

(Element):

  • dom/Element.idl:
  • dom/ElementRareData.h:

(ElementRareData):

  • editing/UndoManager.cpp:

(WebCore::UndoManager::disconnect):
(WebCore::UndoManager::transact):
(WebCore::UndoManager::undo):
(WebCore::UndoManager::redo):
(WebCore::UndoManager::clearUndo):
(WebCore):
(WebCore::UndoManager::clearRedo):
(WebCore::UndoManager::clearUndoRedo):
(WebCore::UndoManager::isConnected):

  • editing/UndoManager.h:

(WebCore):
(UndoManager):
(WebCore::UndoManager::length):

  • editing/UndoManager.idl:
  • html/HTMLAttributeNames.in:
  • html/HTMLElement.cpp:

(WebCore::HTMLElement::parseAttribute):
(WebCore::HTMLElement::setContentEditable):

LayoutTests:

  • editing/undomanager/undoscope-attribute-expected.txt: Added.
  • editing/undomanager/undoscope-attribute.html: Added.
6:27 PM Changeset in webkit [123826] by yosin@chromium.org
  • 14 edits in trunk

[Forms] Introduce runtime feature flags for input type datetime, datetimelocal, month, time, week
https://bugs.webkit.org/show_bug.cgi?id=92339

Reviewed by Kent Tamura.

Source/WebCore:

To detect compilation errors and test failure earlier, I would like
build and run tests for input type datetime, datetime-local, month,
time and week with runtime feature flags to avoid behavior changes
other than test shell.

This patch adds runtime features for input types, datetime, datetime-local,
month, time and week and integrates them into InputType::createInputTypeFactoryMap
to follow runtime feature flags.

At this time, these runtime features are enabled by default for all
ports define ENABLE_INPUT_TYPE_XXX except for Chromium port other than
Android. I'll remove these #if after I update Chromium browser for
disabling them for non-Android.

No new tests. Enabling disabled tests (fast/forms/datetime, fast/forms/dattimelocal,
fast/forms/month, fast/forms/time, fast/forms/week)

  • bindings/generic/RuntimeEnabledFeatures.cpp: Added initializations of

variables for runtime features of input types.

  • bindings/generic/RuntimeEnabledFeatures.h:

(WebCore::RuntimeEnabledFeatures::inputTypeDateTimeEnabled): Added.
(WebCore::RuntimeEnabledFeatures::setInputTypeDateTimeEnabled): Added.
(WebCore::RuntimeEnabledFeatures::inputTypeDateTimeLocalEnabled): Added.
(WebCore::RuntimeEnabledFeatures::setInputTypeDateTimeLocalEnabled): Added.
(WebCore::RuntimeEnabledFeatures::inputTypeMonthEnabled): Added.
(WebCore::RuntimeEnabledFeatures::setInputTypeMonthEnabled): Added.
(WebCore::RuntimeEnabledFeatures::inputTypeTimeEnabled): Added.
(WebCore::RuntimeEnabledFeatures::setInputTypeTimeEnabled): Added.
(WebCore::RuntimeEnabledFeatures::inputTypeWeekEnabled): Added.
(WebCore::RuntimeEnabledFeatures::setInputTypeWeekEnabled): Added.

  • html/InputType.cpp:

(WebCore::createInputTypeFactoryMap): Register input types datetime,
datetime-local, month, time and week if corresponding runtime feature
flag is enabled.

  • html/InputType.h: Changed indentation to force building *InputType.cpp for

making Chromium-win bots to be happy.

Source/WebKit/chromium:

To detect compilation errors and test failure earlier, I would like
build and run tests for input type datetime, datetime-local, month,
time and week with runtime feature flags to avoid behavior changes
on chromium browser.

This patch adds query and change functions for runtime features of
input type datetime, datetime-local, month, time and week to WebRuntimeFeatures
class for exposing DRT and chromium browser expermental flags.

  • features.gypi: Turn on ENABLE_INPUT_TYPE_DATETIME, ENABLE_INPUT_TYPE_DATETIMELOCAL,

ENABLE_INPUT_TYPE_MONTH, ENABLE_INPUT_TYPE_TIME, and ENABLE_INPUT_TYPE_WEEK for all OS.

  • public/WebRuntimeFeatures.h:

(WebRuntimeFeatures):

  • src/WebRuntimeFeatures.cpp:

(WebKit::WebRuntimeFeatures::enableInputTypeDateTime): Added.
(WebKit::WebRuntimeFeatures::isInputTypeDateTimeEnabled): Added.
(WebKit::WebRuntimeFeatures::enableInputTypeDateTimeLocal): Added.
(WebKit::WebRuntimeFeatures::isInputTypeDateTimeLocalEnabled): Added.
(WebKit::WebRuntimeFeatures::enableInputTypeMonth): Added.
(WebKit::WebRuntimeFeatures::isInputTypeMonthEnabled): Added.
(WebKit::WebRuntimeFeatures::enableInputTypeTime): Added.
(WebKit::WebRuntimeFeatures::isInputTypeTimeEnabled): Added.
(WebKit::WebRuntimeFeatures::enableInputTypeWeek): Added.
(WebKit::WebRuntimeFeatures::isInputTypeWeekEnabled): Added.

Tools:

This patch enables runtime features for input type datetime, datetime-local,
month, time and week for Chromium DRT.

  • DumpRenderTree/chromium/TestShell.cpp:

(TestShell::TestShell): Call enableInputType{DateTime,DateTimeLocal,Month,Time,Week}.

LayoutTests:

This patch enables tests for input type datetime, datetime-local,
month, time and week for Chromium ports.

  • platform/chromium/TestExpectations: Removed disabled directives for

input type datetime, datetime-local, month, time and week.

  • platform/chromium/fast/forms/datalist/input-list-expected.txt: Updated

expecations for input type datetime, datetime-local, month, time and week
to null for IDL list attribute. So far, these expectations specified
HTMLDataListElement for input type "text" as unsupported input types.

6:07 PM Changeset in webkit [123825] by wangxianzhu@chromium.org
  • 3 edits in trunk/Source/WebCore

[Chromium-Android] Don't overlay scrollbars in layout test mode
https://bugs.webkit.org/show_bug.cgi?id=92419

Reviewed by Adam Barth.

No new tests. This fixes failures of existing tests, e.g. css1/box_properties/border.html and many others.

  • platform/chromium/ScrollbarThemeChromiumAndroid.cpp:

(WebCore::ScrollbarThemeChromiumAndroid::usesOverlayScrollbars): Returns false in layout test mode.
(WebCore):
(WebCore::ScrollbarThemeChromiumAndroid::hasThumb): Returns false in layout test mode (to match pixel test expectations).

  • platform/chromium/ScrollbarThemeChromiumAndroid.h:

(ScrollbarThemeChromiumAndroid):

6:00 PM Changeset in webkit [123824] by bweinstein@apple.com
  • 1 edit
    2 adds in trunk/LayoutTests

Unreviewed rebaseline after r123790.

  • platform/mac/css3/filters/effect-brightness-clamping-expected.txt: Added.
  • platform/mac/css3/filters/effect-brightness-clamping-hw-expected.txt: Added.
5:52 PM Changeset in webkit [123823] by jpfau@apple.com
  • 6 edits
    1 add in trunk

Reloading substitute-data/alternate html string for unreachableURL will add an item to the back-forward-history for each reload
https://bugs.webkit.org/show_bug.cgi?id=84041

Reviewed by Brady Eidson.

Source/WebCore:

Previously, loadAlternateHTMLString:baseURL:forUnreachableURL: would insert a new history item, regardless of
the load type of the original frame load. This could cause navigation to a broken website to make back and
forward navigation difficult to use. This change ensures that a reload type makes it through all the way.

Added API test 'mac/BackForwardList.mm'.

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::load): Prevent m_loadType from being overwritten early and check if it's a reload.

  • loader/HistoryController.cpp:

(WebCore::HistoryController::updateForCommit): Amend check when committing the provisional item for a reload.
(WebCore::HistoryController::isReloadTypeWithProvisionalItem): Check that a reload type has a provisional item.
(WebCore):

  • loader/HistoryController.h:

(HistoryController): Add prototype for isReloadTypeWithProvisionalItem.

Tools:

  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  • TestWebKitAPI/Tests/mac/BackForwardList.mm: Added.

(-[BackForwardListTest webView:didFinishLoadForFrame:]):
(-[BackForwardListTest webView:didFailProvisionalLoadWithError:forFrame:]):
(TestWebKitAPI):
(TestWebKitAPI::TEST):

5:48 PM Changeset in webkit [123822] by commit-queue@webkit.org
  • 4 edits
    2 adds in trunk

[Chromium] Regression: Global-buffer-overflow in WebCore::mediaControlElementType
https://bugs.webkit.org/show_bug.cgi?id=91333

Patch by Silvia Pfeiffer <silviapf@chromium.org> on 2012-07-26
Reviewed by Eric Seidel.

Source/WebCore:

MediaControlChromiumEnclosureElement now is a subclass of MediaControlElement, which
fixes the broken cast detected in the bug.
The displayType() of MediaControlChromiumEnclosureElement is set to 'MediaControlsPanel',
since the Panel element is sufficiently close in functionality to the Enclosure element.
By reusing this type, we do not need to introduce a Chromium-specific constant into
the generally used MediaControlElementType.

Test: accessibility/media-controls.html

  • html/shadow/MediaControlRootElementChromium.cpp:

(WebCore::MediaControlChromiumEnclosureElement::MediaControlChromiumEnclosureElement):
Subclass MediaControlChromiumEnclosureElement from MediaControlElement.
(WebCore::MediaControlChromiumEnclosureElement::displayType):
Give the enclosure the MediaPanels type.

  • html/shadow/MediaControlRootElementChromium.h:

Add the MediaControlElement.h header file.
(MediaControlChromiumEnclosureElement):
Subclass MediaControlChromiumEnclosureElement from MediaControlElement.

LayoutTests:

This new test assures that the creation of a audio element with controls does not
break when accessibility is turned on.

  • accessibility/media-controls-expected.txt: Added.
  • accessibility/media-controls.html: Added.
5:41 PM Changeset in webkit [123821] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

[GTK] avoid unneeded object creation when calling Vector::append
https://bugs.webkit.org/show_bug.cgi?id=88805

Patch by Arnaud Renevier <arno@renevier.net> on 2012-07-26
Reviewed by Alexey Proskuryakov.

No new tests: no change in functionality.

  • platform/gtk/ContextMenuGtk.cpp:

(WebCore::contextMenuItemVector):

  • platform/gtk/KeyBindingTranslator.h:

(WebCore::KeyBindingTranslator::addPendingEditorCommand):

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

Initialize the Event Names' strings from read only memory
https://bugs.webkit.org/show_bug.cgi?id=92435

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-07-26
Reviewed by Anders Carlsson.

Similarily to r123689, we can initialize the event names' strings from memory without copying the data.
This saves us memory and initialization time.

  • dom/EventNames.cpp:

(WebCore):

5:25 PM Changeset in webkit [123819] by commit-queue@webkit.org
  • 20 edits
    2 adds in trunk

constructing TypedArray from another TypedArray is slow
https://bugs.webkit.org/show_bug.cgi?id=90838

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2012-07-26
Reviewed by Kenneth Russell.

PerformanceTests:

  • Bindings/typed-array-construct-from-same-type.html: Added.
  • Bindings/typed-array-construct-from-typed.html: Added.

Source/WebCore:

When constructing a typed array from an array like element, try to
determine if the argument is a typed array. If so, cast the argument
to a typed array, and read each element with .item() method. That
avoid reading the value as a JSValue, and speedups construction by
approximatively 3x (even 30x if TypedArrays are both the same type).

In order to achieve that, we use virtual getType method. We can use
this information to cast the TypedArray to the actual type, and then
read the values from the source.

Introduce constructArrayBufferViewWithTypedArrayArgument template
function which returns a new typed array if first argument is a typed
array, or 0 otherwise.

This patch also replaces previous is<Type>Array() calls with new
getType method.

  • bindings/js/JSArrayBufferViewHelper.h:

(WebCore::constructArrayBufferViewWithTypedArrayArgument):
(WebCore):
(WebCore::constructArrayBufferView):

  • bindings/v8/SerializedScriptValue.cpp:
  • html/canvas/DataView.h:

(DataView):
(WebCore::DataView::getType):

  • html/canvas/WebGLRenderingContext.cpp:

(WebCore):
(WebCore::WebGLRenderingContext::readPixels):
(WebCore::WebGLRenderingContext::validateTexFuncData):

  • page/Crypto.cpp:

Source/WTF:

Introduce virtual method getType on ArrayBufferView. It returns the actual
type of the view. This method replaces previous is<Type>Array() methods.

  • wtf/ArrayBufferView.h:
  • wtf/Float32Array.h:

(WTF::Float32Array::getType):
(Float32Array):

  • wtf/Float64Array.h:

(WTF::Float64Array::getType):
(Float64Array):

  • wtf/Int16Array.h:

(WTF::Int16Array::getType):
(Int16Array):

  • wtf/Int32Array.h:

(WTF::Int32Array::getType):
(Int32Array):

  • wtf/Int8Array.h:

(WTF::Int8Array::getType):
(Int8Array):

  • wtf/IntegralTypedArrayBase.h:
  • wtf/TypedArrayBase.h:

(TypedArrayBase):
(WTF::TypedArrayBase::item):

  • wtf/Uint16Array.h:

(WTF::Uint16Array::getType):
(Uint16Array):

  • wtf/Uint32Array.h:

(WTF::Uint32Array::getType):
(Uint32Array):

  • wtf/Uint8Array.h:

(WTF::Uint8Array::getType):
(Uint8Array):

  • wtf/Uint8ClampedArray.h:

(WTF::Uint8ClampedArray::getType):
(Uint8ClampedArray):

5:22 PM Changeset in webkit [123818] by commit-queue@webkit.org
  • 6 edits
    4 deletes in trunk

Added binding and updated chromium tests.

[CSS Filters] Add V8 binding for WebKitCSSFilterValue
https://bugs.webkit.org/show_bug.cgi?id=92391

Patch by Max Vujovic <mvujovic@adobe.com> on 2012-07-26
Reviewed by Adam Barth.

Source/WebCore:

No new tests. This fixes test cases in:

platform/chromium/css3/filters/custom/custom-filter-property-computed-style-expected.txt
platform/chromium/css3/filters/custom/custom-filter-property-parsing-expected.txt
platform/chromium/css3/filters/filter-property-computed-style-expected.txt
platform/chromium/css3/filters/filter-property-parsing-expected.txt

  • bindings/v8/custom/V8CSSValueCustom.cpp:

(WebCore::toV8):

LayoutTests:

  • platform/chromium-linux/css3/filters/custom/custom-filter-property-computed-style-expected.txt:

Removed. The chromium-linux expectations are (and were) exactly the same as the chromium expectations.

  • platform/chromium-linux/css3/filters/custom/custom-filter-property-parsing-invalid-expected.txt:

Removed. Ditto.

  • platform/chromium-linux/css3/filters/custom/custom-filter-property-parsing-expected.txt:

Removed. Ditto.

  • platform/chromium/css3/filters/custom/custom-filter-property-computed-style-expected.txt:

Many test cases are now expected to pass instead of fail.

  • platform/chromium/css3/filters/custom/custom-filter-property-parsing-expected.txt:

Ditto.

  • platform/chromium/css3/filters/filter-property-computed-style-expected.txt:

Removed. We can use the platform-independent results now.

  • platform/chromium/css3/filters/filter-property-parsing-expected.txt:

Many test cases are now expected to pass instead of fail.

5:11 PM Changeset in webkit [123817] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

JSObject::reallocateStorageIfNecessary is neither used nor defined
https://bugs.webkit.org/show_bug.cgi?id=92417

Reviewed by Mark Rowe.

  • runtime/JSObject.h:

(JSObject):

5:05 PM Changeset in webkit [123816] by nayankk@motorola.com
  • 6 edits in trunk

[WebGL] Initial size of canvas can be larger than MAX_VIEWPORT_DIMS.
https://bugs.webkit.org/show_bug.cgi?id=91976

Reviewed by Kenneth Russell.

From section 2.2 of the spec the WebGL implementation says initial size of
the canvas can be larger than MAX_VIEWPORT_DIMS. With the current WebGL
implementation, we get error when initial size if greater than MAX_VIEWPORT_DIMS.
This change limits the width and height of drawingbuffer to MAX_VIEWPORT_DIMS
when given initial size exceeds it.

Source/WebCore:

Added tests to LayoutTests/fast/canvas/webgl/drawingbuffer-test.html

  • html/canvas/WebGLRenderingContext.cpp:

(WebCore):
(WebCore::WebGLRenderingContext::WebGLRenderingContext):
(WebCore::WebGLRenderingContext::initializeNewContext):
(WebCore::WebGLRenderingContext::markContextChanged):

LayoutTests:

  • fast/canvas/webgl/drawingbuffer-test-expected.txt:
  • fast/canvas/webgl/drawingbuffer-test.html:
5:01 PM Changeset in webkit [123815] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Remove synchronous spellchecking code
https://bugs.webkit.org/show_bug.cgi?id=92415

Removing synchronous spellchecking code path.

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

Internally reviewed by Mike Fenton.

  • Api/WebPageClient.h:
  • WebCoreSupport/EditorClientBlackBerry.cpp:

(WebCore::EditorClientBlackBerry::checkSpellingOfString):

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

[chromium] When computing surface content scale, use top level device scale
https://bugs.webkit.org/show_bug.cgi?id=92328

Reviewed by Kenneth Russell.

Previously, surface scale was calculated with layer->contentsScale(),
however this value is 1 for any layer that is not ContentLayerChromium
because of layer->needsContentsScale(). This would cause any surface
created with a non-content owner layer to look fuzzy on a high DPI
device. Fix by using the top level device scale.

Additionally, remove contentsScale from CCLayerImpl as it is no longer
used.

  • platform/graphics/chromium/LayerChromium.cpp:

(WebCore::LayerChromium::pushPropertiesTo):

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

(WebCore::CCLayerImpl::CCLayerImpl):

  • platform/graphics/chromium/cc/CCLayerImpl.h:

(CCLayerImpl):

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

(WebCore::calculateDrawTransformsInternal):
(WebCore::CCLayerTreeHostCommon::calculateDrawTransforms):

4:27 PM Changeset in webkit [123813] by mhahnenberg@apple.com
  • 9 edits in trunk/Source/JavaScriptCore

Allocate Structures in a separate part of the Heap
https://bugs.webkit.org/show_bug.cgi?id=92420

Reviewed by Filip Pizlo.

To fix our issue with destruction/finalization of Structures before their objects, we can move Structures to a separate
part of the Heap that will be swept after all other objects. This first patch will just be separating Structures
out into their own separate MarkedAllocator. Everything else will behave identically.

  • heap/Heap.h: New function to allocate Structures in the Heap.

(Heap):
(JSC):
(JSC::Heap::allocateStructure):

  • heap/MarkedAllocator.cpp: Pass whether or not we're allocated Structures to the MarkedBlock.

(JSC::MarkedAllocator::allocateBlock):

  • heap/MarkedAllocator.h: Add tracking for whether or not we're allocating only Structures.

(JSC::MarkedAllocator::onlyContainsStructures):
(MarkedAllocator):
(JSC::MarkedAllocator::MarkedAllocator):
(JSC::MarkedAllocator::init):

  • heap/MarkedBlock.cpp: Add tracking for whether or not we're allocating only Structures. We need this to be able to

distinguish the various MarkedBlock types in MarkedSpace::allocatorFor(MarkedBlock*).
(JSC::MarkedBlock::create):
(JSC::MarkedBlock::MarkedBlock):

  • heap/MarkedBlock.h:

(MarkedBlock):
(JSC::MarkedBlock::onlyContainsStructures):
(JSC):

  • heap/MarkedSpace.cpp: Include the new Structure allocator in all the places that all the other allocators are used/modified.

(JSC::MarkedSpace::MarkedSpace):
(JSC::MarkedSpace::resetAllocators):
(JSC::MarkedSpace::canonicalizeCellLivenessData):
(JSC::MarkedSpace::isPagedOut):

  • heap/MarkedSpace.h: Add new MarkedAllocator just for Structures.

(MarkedSpace):
(JSC::MarkedSpace::allocatorFor):
(JSC::MarkedSpace::allocateStructure):
(JSC):
(JSC::MarkedSpace::forEachBlock):

  • runtime/Structure.h: Move all of the functions that call allocateCell<Structure> down below the explicit template specialization

for allocateCell<Structure>. The new inline specialization for allocateCell directly calls the allocateStructure() function in the
Heap.
(Structure):
(JSC::Structure):
(JSC):
(JSC::Structure::create):
(JSC::Structure::createStructure):

4:10 PM Changeset in webkit [123812] by atwilson@chromium.org
  • 1 edit
    1 move
    2 adds in trunk/LayoutTests

Unreviewed chromium expectations update for table-row-outline-paint.html from r123793.

  • platform/chromium-mac/fast/table/table-row-outline-paint-expected.png: Added.
  • platform/chromium-win/fast/table/table-row-outline-paint-expected.png: Added.
  • platform/chromium/fast/table/table-row-outline-paint-expected.txt: Renamed from LayoutTests/platform/chromium-linux/fast/table/table-row-outline-paint-expected.txt.
4:08 PM Changeset in webkit [123811] by andersca@apple.com
  • 15 edits in trunk/Source/WebCore

HTMLAppletElement should inherit from HTMLPlugInImageElement
https://bugs.webkit.org/show_bug.cgi?id=92320

Reviewed by Eric Seidel.

In order to simplify the class hierarchy and eventually merge HTMLPlugInImageElement and HMTLPlugInElement,
make HTMLAppletElement inherit from HTMLPlugInImageElement. While this does mean that HTMLAppletElement will grow by
a couple of words, in practice it won't matter.

Also, make RenderApplet inherit from RenderEmbeddedObject and move the plug-in instantiation to HTMLAppletElement which matches
both HTMLEmbedElement and HTMLObjectElement.

  • html/HTMLAppletElement.cpp:

(WebCore::HTMLAppletElement::HTMLAppletElement):
(WebCore::HTMLAppletElement::create):
(WebCore::HTMLAppletElement::parseAttribute):
(WebCore::HTMLAppletElement::rendererIsNeeded):
(WebCore::HTMLAppletElement::createRenderer):
(WebCore):
(WebCore::HTMLAppletElement::renderWidgetForJSBindings):
(WebCore::HTMLAppletElement::updateWidget):

  • html/HTMLAppletElement.h:

(HTMLAppletElement):

  • html/HTMLTagNames.in:
  • loader/SubframeLoader.cpp:

(WebCore::SubframeLoader::createJavaAppletWidget):

  • loader/SubframeLoader.h:

(SubframeLoader):

  • page/FrameView.cpp:

(WebCore::FrameView::updateWidget):

  • rendering/RenderApplet.cpp:

(WebCore::RenderApplet::RenderApplet):

  • rendering/RenderApplet.h:

(RenderApplet):

  • rendering/RenderEmbeddedObject.h:

(WebCore::toRenderEmbeddedObject):

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::shouldBeNormalFlowOnly):
(WebCore::RenderLayer::shouldBeSelfPaintingLayer):

  • rendering/RenderLayerBacking.cpp:

(WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):

  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::requiresCompositingForPlugin):

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::setStyle):

  • rendering/RenderObject.h:
4:06 PM Changeset in webkit [123810] by commit-queue@webkit.org
  • 19 edits
    4 deletes in trunk

Unreviewed, rolling out r123799.
http://trac.webkit.org/changeset/123799
https://bugs.webkit.org/show_bug.cgi?id=92431

broke the Apple Mac build (Requested by bweinstein on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26

Source/WebCore:

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gypi:
  • dom/EventNames.h:

(WebCore):

  • dom/GestureEvent.cpp: Removed.
  • dom/GestureEvent.h: Removed.
  • dom/Node.cpp:
  • dom/Node.h:

(WebCore):
(Node):

  • page/EventHandler.cpp:

(WebCore::EventHandler::clear):
(WebCore::EventHandler::handleGestureEvent):

  • page/EventHandler.h:

Source/WebKit/chromium:

  • src/WebInputEventConversion.cpp:

(WebKit):

  • src/WebInputEventConversion.h:

(WebKit):

  • src/WebPluginContainerImpl.cpp:

(WebKit::WebPluginContainerImpl::handleEvent):

  • src/WebPluginContainerImpl.h:

(WebPluginContainerImpl):

Tools:

  • DumpRenderTree/chromium/TestWebPlugin.cpp:
  • DumpRenderTree/chromium/TestWebPlugin.h:

(TestWebPlugin::acceptsInputEvents):
(TestWebPlugin::handleInputEvent):

LayoutTests:

  • platform/chromium/plugins/gesture-events-expected.txt: Removed.
  • platform/chromium/plugins/gesture-events.html: Removed.
4:05 PM Changeset in webkit [123809] by commit-queue@webkit.org
  • 11 edits in trunk/Source

[BlackBerry] Support async spellcheck for the blackberry port
https://bugs.webkit.org/show_bug.cgi?id=92160

Source/WebCore:

Set USE_UNIFIED_TEXT_CHECKING for PLATFORM(BLACKBERRY) to use the
asynchronous spellchecking code path.

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

Internally reviewed by Mike Fenton.

  • platform/text/TextChecking.h:

(WebCore):

Source/WebKit/blackberry:

PR124517
Implementing support for async spellcheck.

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

Internally reviewed by Mike Fenton.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPage::spellCheckingRequestCancelled):
(WebKit):
(BlackBerry::WebKit::WebPage::spellCheckingRequestProcessed):
(BlackBerry::WebKit::WebPagePrivate::didChangeSettings):

  • Api/WebPage.h:
  • Api/WebSettings.cpp:

(WebKit):
(BlackBerry::WebKit::WebSettings::standardSettings):
(BlackBerry::WebKit::WebSettings::isAsynchronousSpellCheckingEnabled):
(BlackBerry::WebKit::WebSettings::setAsynchronousSpellCheckingEnabled):

  • Api/WebSettings.h:
  • WebCoreSupport/EditorClientBlackBerry.cpp:

(WebCore):
(WebCore::EditorClientBlackBerry::requestCheckingOfString):
(WebCore::EditorClientBlackBerry::checkTextOfParagraph):

  • WebCoreSupport/EditorClientBlackBerry.h:

(EditorClientBlackBerry):

  • WebKitSupport/InputHandler.cpp:

(BlackBerry::WebKit::InputHandler::requestCheckingOfString):
(BlackBerry::WebKit::InputHandler::convertTransactionIdToSequenceId):
(WebKit):
(BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed):
(BlackBerry::WebKit::InputHandler::spellCheckingRequestCancelled):
(BlackBerry::WebKit::InputHandler::getSpellChecker):

  • WebKitSupport/InputHandler.h:

(WebCore):
(InputHandler):

4:03 PM Changeset in webkit [123808] by kseo@webkit.org
  • 9 edits in trunk/Source/WebCore

Gather the duplicated timer code into CachedResource.
https://bugs.webkit.org/show_bug.cgi?id=92332

Patch by Huang Dongsung <luxtella@company100.net> on 2012-07-26
Reviewed by Nate Chapin.

Internal review by Jae Hyun Park.

When all clients are removed, CachedImage, CachedScript and CachedCSSStyleSheet
start the timer to destroy decoded data. Those three classes have their own
timer.
Changed CachedCSSStyleSheet::didAddClient to call super class method in order to
stop the timer. This change does not have any side effect because
CachedResource::didAddClient only stops the timer in this case.

No new tests - no new testable functionality.

  • loader/cache/CachedCSSStyleSheet.cpp:

(WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet):
(WebCore::CachedCSSStyleSheet::didAddClient):

  • loader/cache/CachedCSSStyleSheet.h:

(CachedCSSStyleSheet):

  • loader/cache/CachedImage.cpp:

(WebCore::CachedImage::CachedImage):
(WebCore::CachedImage::didAddClient):
(WebCore::CachedImage::allClientsRemoved):

  • loader/cache/CachedImage.h:

(CachedImage):

  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::CachedResource):
(WebCore::CachedResource::didAddClient):
(WebCore::CachedResource::removeClient):
(WebCore::CachedResource::destroyDecodedDataIfNeeded):
(WebCore):
(WebCore::CachedResource::decodedDataDeletionTimerFired):

  • loader/cache/CachedResource.h:

(CachedResource):

  • loader/cache/CachedScript.cpp:

(WebCore::CachedScript::CachedScript):

  • loader/cache/CachedScript.h:

(CachedScript):

4:01 PM Changeset in webkit [123807] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

JSArray has methods that are neither used nor defined
https://bugs.webkit.org/show_bug.cgi?id=92416

Reviewed by Simon Fraser.

  • runtime/JSArray.h:

(JSArray):

4:00 PM Changeset in webkit [123806] by piman@chromium.org
  • 2 edits
    6 adds in trunk/LayoutTests

Unreviewed, rebaseline for tests introduced in r123790

  • platform/chromium-mac/css3/filters/effect-brightness-clamping-expected.png: Added.
  • platform/chromium-mac/css3/filters/effect-brightness-clamping-expected.txt: Added.
  • platform/chromium-mac/css3/filters/effect-brightness-clamping-hw-expected.png: Added.
  • platform/chromium-mac/css3/filters/effect-brightness-clamping-hw-expected.txt: Added.
  • platform/chromium-win/css3/filters/effect-brightness-clamping-expected.png: Added.
  • platform/chromium-win/css3/filters/effect-brightness-clamping-hw-expected.png: Added.
  • platform/chromium/TestExpectations:
4:00 PM Changeset in webkit [123805] by dpranke@chromium.org
  • 2 edits in trunk/Tools

nrwt: pass --verbose twice on the bots to ensure getting the debug output for now
https://bugs.webkit.org/show_bug.cgi?id=92172

Reviewed by Tony Chang.

Right now new-run-webkit-tests --verbose prints out too much
information (it's like --verbose + debugging). I plan to fix
this in bug 88702, and also clean up and simplify all of the
--print options, but in preparation for these changes I need to
pass --verbose twice to get the same level of output
temporarily (for compatibility).

  • Scripts/run-webkit-tests:
3:41 PM Changeset in webkit [123804] by benjamin@webkit.org
  • 4 edits in trunk/Source/WebCore

Use the constant count of Tags/Attributes names instead of getting the size when obtaining the tags/attributes
https://bugs.webkit.org/show_bug.cgi?id=92411

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-07-26
Reviewed by Julien Chaffraix.

Since r123582, the number of tags and attributes per "namespace" is exposed in a constant in the header file.
This makes it possible to access this value through two ways:
1) The constant.
2) The first parameter of the tags/attributes getter function.

Having two ways to access the value is error prone. This patches changes the code to have all accesses done
through the constant.

  • dom/make_names.pl:

(printNamesHeaderFile):
(printNamesCppFile):
Change the code generator to not provide the size in the getter function.

  • html/HTMLObjectElement.cpp:

(WebCore::isRecognizedTagName):

  • html/parser/HTMLTreeBuilder.cpp:

(WebCore::adjustSVGTagNameCase):
(WebCore):
(WebCore::adjustAttributes):
(WebCore::adjustSVGAttributes):
(WebCore::adjustMathMLAttributes):
(WebCore::adjustForeignAttributes):

3:40 PM Changeset in webkit [123803] by igor.o@sisa.samsung.com
  • 2 edits
    5 deletes in trunk/LayoutTests

[Qt] Reskip fast/table WK2 added results
https://bugs.webkit.org/show_bug.cgi?id=91621

Patch by Bruno de Oliveira Abinader <Bruno de Oliveira Abinader>
Reviewed by Noam Rosenthal.

This patch reverts the added WK2 layout test results from r123229 "[Qt]
Added/updated missing fast/table results after rebaseline". As discussed with
Caio, these expectations are actually caused by an erroneous input-text and
text-area default size diff between WK1 and WK2 (handled in bug 91990). These
tests were reskipped and reassigned to proper bugs.

  • platform/qt-5.0-wk2/Skipped:
  • platform/qt-5.0-wk2/fast/table/colspanMinWidth-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/table/colspanMinWidth-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/table/spanOverlapRepaint-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/table/text-field-baseline-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/table/text-field-baseline-expected.txt: Removed.
3:31 PM Changeset in webkit [123802] by annacc@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Removing http/tests/media/media-source/video-media-source-add-and-remove-ids.html from TestExpectations

Unreviewed gardening.

Recent chromium patch fixes this problem:
http://src.chromium.org/viewvc/chrome?view=rev&revision=148473

  • platform/chromium/TestExpectations:
3:22 PM Changeset in webkit [123801] by igor.o@sisa.samsung.com
  • 2 edits
    5 deletes in trunk/LayoutTests

[Qt] Reskip fast/text WK2 added results
https://bugs.webkit.org/show_bug.cgi?id=91570

Patch by Bruno de Oliveira Abinader <Bruno de Oliveira Abinader>
Unreviewed gardening.

This patch reverts the added WK2 layout test results from r123144 "[Qt]
Added/updated missing fast/text results after rebaseline". As discussed with
Caio, these expectations are actually caused by an erroneous input-text and
text-area default size diff between WK1 and WK2 (handled in bug 91990). These
tests were reskipped and reassigned to proper bugs.

  • platform/qt-5.0-wk2/Skipped:
  • platform/qt-5.0-wk2/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/text/textIteratorNilRenderer-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/text/textIteratorNilRenderer-expected.txt: Removed.
  • platform/qt-5.0/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png: Removed.
3:15 PM Changeset in webkit [123800] by commit-queue@webkit.org
  • 7 edits in trunk/Source/WebCore

Support constructor-type static readonly attribute for CodeGenerator.
https://bugs.webkit.org/show_bug.cgi?id=92413.

Patch by Chang Shu <cshu@webkit.org> on 2012-07-26
Reviewed by Adam Barth.

Added support for constructor-type static readonly attribute for CodeGenerator.
This is achieved by putting the attribute entry in the table where static properties
belong to but leave the implementation same as a non-static constructor-type attribute.

Tested by running run-bindings-tests.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateImplementation):

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

(WebCore::jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr):
(WebCore::jsTestInterfaceConstructorSupplementalStaticAttr):

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

(WebCore):
(WebCore::jsTestObjConstructorStaticReadOnlyLongAttr):
(WebCore::jsTestObjConstructorStaticStringAttr):
(WebCore::jsTestObjConstructorTestSubObj):

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

(WebCore):

  • bindings/scripts/test/TestObj.idl:
  • bindings/scripts/test/V8/V8TestObj.cpp:

(WebCore):

3:10 PM Changeset in webkit [123799] by commit-queue@webkit.org
  • 19 edits
    4 adds in trunk

Propagate gesture events to plugins.
https://bugs.webkit.org/show_bug.cgi?id=92281

Patch by Sadrul Habib Chowdhury <sadrul@chromium.org> on 2012-07-26
Reviewed by Adam Barth.

Source/WebCore:

Propagate gesture events to plugins. This change does not expose the gesture events
to JavaScript, since there is no spec for that at the moment. Exposing gesture events
to JavaScript will be done separately, once there is a spec for it.

Test: platform/chromium/plugins/gesture-events.html

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gypi:
  • dom/EventNames.h:

(WebCore):
(WebCore::EventNames::isGestureEventType):
(EventNames):

  • dom/GestureEvent.cpp: Added.

(WebCore):
(WebCore::GestureEvent::create):
(WebCore::GestureEvent::initGestureEvent):
(WebCore::GestureEvent::interfaceName):
(WebCore::GestureEvent::GestureEvent):
(WebCore::GestureEventDispatchMediator::GestureEventDispatchMediator):
(WebCore::GestureEventDispatchMediator::event):
(WebCore::GestureEventDispatchMediator::dispatchEvent):

  • dom/GestureEvent.h: Added.

(WebCore):
(GestureEvent):
(WebCore::GestureEvent::~GestureEvent):
(WebCore::GestureEvent::deltaX):
(WebCore::GestureEvent::deltaY):
(WebCore::GestureEvent::GestureEvent):
(GestureEventDispatchMediator):
(WebCore::GestureEventDispatchMediator::create):

  • dom/Node.cpp:

(WebCore):
(WebCore::Node::dispatchGestureEvent):

  • dom/Node.h:

(WebCore):
(Node):

  • page/EventHandler.cpp:

(WebCore::EventHandler::clear):
(WebCore::EventHandler::handleGestureEvent):

  • page/EventHandler.h:

Source/WebKit/chromium:

Propagate gesture events to plugins.

  • src/WebInputEventConversion.cpp:

(WebKit):
(WebKit::WebGestureEventBuilder::WebGestureEventBuilder):

  • src/WebInputEventConversion.h:

(WebCore):
(WebKit):
(WebGestureEventBuilder):

  • src/WebPluginContainerImpl.cpp:

(WebKit::WebPluginContainerImpl::handleEvent):

  • src/WebPluginContainerImpl.h:

(WebCore):
(WebPluginContainerImpl):

Tools:

Update TestWebPlugin to receive events, and output logs for the events.

  • DumpRenderTree/chromium/TestWebPlugin.cpp:

(TestWebPlugin::handleInputEvent):

  • DumpRenderTree/chromium/TestWebPlugin.h:

(TestWebPlugin::acceptsInputEvents):
(TestWebPlugin):

LayoutTests:

Added a layout test to show that the plugins receive the gesture events correctly.

  • platform/chromium/plugins/gesture-events-expected.txt: Added.
  • platform/chromium/plugins/gesture-events.html: Added.
3:07 PM Changeset in webkit [123798] by gavinp@chromium.org
  • 3 edits
    3 adds in trunk

Guard Prerenderer against inserting prerenders into detached documents.
https://bugs.webkit.org/show_bug.cgi?id=92401

Reviewed by Adam Barth.

Source/WebCore:

If the document is detached, we should not launch a prerender.

Test: fast/dom/HTMLLinkElement/prerender-insert-after-stop.html

  • loader/Prerenderer.cpp:

(WebCore::Prerenderer::render):

LayoutTests:

If the document is detached, we should just not launch a prerender.

  • fast/dom/HTMLLinkElement/prerender-insert-after-stop-expected.txt: Added.
  • fast/dom/HTMLLinkElement/prerender-insert-after-stop.html: Added.
  • fast/dom/HTMLLinkElement/resources/empty2.html: Added.
3:03 PM Changeset in webkit [123797] by mifenton@rim.com
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Improve the logs in Selection Handler.
https://bugs.webkit.org/show_bug.cgi?id=92405

Reviewed by Rob Buis.

Clean up selection logging, fix priority and style
of helper function.

Reviewed Internally by Nima Ghanavatian.

  • WebKitSupport/SelectionHandler.cpp:

(BlackBerry::WebKit::SelectionHandler::cancelSelection):
(BlackBerry::WebKit::SelectionHandler::shouldUpdateSelectionOrCaretForPoint):
(BlackBerry::WebKit::SelectionHandler::setCaretPosition):
(BlackBerry::WebKit::SelectionHandler::updateOrHandleInputSelection):
(BlackBerry::WebKit::SelectionHandler::setSelection):
(BlackBerry::WebKit::SelectionHandler::selectObject):
(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
(BlackBerry::WebKit::SelectionHandler::caretPositionChanged):

2:46 PM Changeset in webkit [123796] by zeno.albisser@nokia.com
  • 6 edits in trunk/Source

Unreviewed Qt buildfix after r123786.

Qt-minimal builds with ENABLE_REQUEST_ANIMATION_FRAME=0.
Therefore adding #ifdefs to allow for that configuration.

Source/WebKit/qt:

  • WebCoreSupport/ChromeClientQt.cpp:

(WebCore):

  • WebCoreSupport/ChromeClientQt.h:

(ChromeClientQt):

Source/WebKit2:

  • WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp:

(WebKit):

  • WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.h:

(LayerTreeCoordinator):

2:37 PM Changeset in webkit [123795] by atwilson@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed chromium expectations change to fix lint err.

  • platform/chromium/TestExpectations:
2:23 PM Changeset in webkit [123794] by commit-queue@webkit.org
  • 3 edits
    2 deletes in trunk

Unreviewed, rolling out r123525.
http://trac.webkit.org/changeset/123525
https://bugs.webkit.org/show_bug.cgi?id=92421

it needed to be rolled out after r123779 too (Requested by
jchaffraix on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26

Source/WebCore:

  • rendering/RenderObjectChildList.cpp:

(WebCore::RenderObjectChildList::insertChildNode):

LayoutTests:

  • fast/table/crash-table-section-layoutRows-expected.txt: Removed.
  • fast/table/crash-table-section-layoutRows.html: Removed.
2:18 PM Changeset in webkit [123793] by commit-queue@webkit.org
  • 3 edits
    3 adds in trunk

Outline is always painted on the first table row regardless of the row it's set on
https://bugs.webkit.org/show_bug.cgi?id=92389

Patch by Pravin D <pravind.2k4@gmail.com> on 2012-07-26
Reviewed by Eric Seidel.

Source/WebCore:

The outlines of all the rows are drawn on the row instead of their respective rows.
The paint offset for the outlines does not take the row location into account.

Test: fast/table/table-row-outline-paint.html

  • rendering/RenderTableRow.cpp:

(WebCore::RenderTableRow::paintOutlineForRowIfNeeded):
The row's location is taken into account for calculating the correct paint offset
for its outline.

LayoutTests:

  • fast/table/table-row-outline-paint.html: Added.
  • platform/chromium-linux/fast/table/table-row-outline-paint-expected.png: Added.
  • platform/chromium-linux/fast/table/table-row-outline-paint-expected.txt: Added. Paint phase issue.
2:16 PM Changeset in webkit [123792] by atwilson@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed chromium expectations change to mark inspector tests as SLOW.

  • platform/chromium/TestExpectations:
2:00 PM Changeset in webkit [123791] by Lucas Forschler
  • 3 edits
    2 copies in branches/safari-536.26-branch

Merged r116325. <rdar://problem/11942095>

1:54 PM Changeset in webkit [123790] by piman@chromium.org
  • 3 edits
    6 adds in trunk

[chromium] Combine color matrix filters and apply them in a single pass.
https://bugs.webkit.org/show_bug.cgi?id=92059

Reviewed by Stephen White.

Sequential color matrix filters can easily be combined, by simply
multiplying the color matrices and applying it in a single pass. This
helps dramatically with performance (bandwidth savings by avoiding extra
copy & clear, also saves fragment shader processing).

Covered by css3/filters layout tests, added effect-brightness-clamping
and effect-brightness-clamping-hw.

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

(WebCore::CCRenderSurfaceFilters::apply):

1:52 PM Changeset in webkit [123789] by eae@chromium.org
  • 5 edits
    2 adds
    2 deletes in trunk/LayoutTests

Unreviewed chromium mac/win rebaseline post r123782.

  • css2.1/t080301-c411-vt-mrgn-00-b-expected.txt: Added.
  • platform/chromium-mac-snowleopard/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt: Added.
  • platform/chromium-mac-snowleopard/svg/custom/svg-fonts-in-html-expected.png:
  • platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.png:
  • platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.txt:
  • platform/chromium-win/svg/custom/svg-fonts-in-html-expected.png:
  • platform/efl/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt: Removed.
  • platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt: Removed.
1:23 PM Changeset in webkit [123788] by rniwa@webkit.org
  • 8 edits in trunk

Href attribute with javascript protocol is stripped when content is pasted into a XML doucment
https://bugs.webkit.org/show_bug.cgi?id=92310

Reviewed by Adam Barth.

Source/WebCore:

The bug was caused by setAttributeNS's stripping attributes for which isAttributeToRemove
return true instead of setting an empty string. Changing this in setAttributeNS is problematic
because it will trigger a logic, in HTMLAnchorElement for example, to resolve the URL.

Fixed the bug by making XML parsers call parserSetAttributes instead of setAttributeNS.
After this patch, handleNamespaceAttributes and handleElementAttributes simply fills up a Vector
with which startElementNs (or parseStartElement in Qt) calls parserSetAttributes.

  • dom/Element.cpp:

(WebCore::Element::parserSetAttributes): Sets emptyAtom instead of nullAtom as nullAtom can be
turned into "null".
(WebCore::Element::parseAttributeName): Extracted from setAttributeNS.
(WebCore::Element::setAttributeNS): No longer takes FragmentScriptingPermission.

  • dom/Element.h:

(Element):

  • editing/markup.cpp:

(WebCore::completeURLs): Don't resolve URLs when it's empty since empty attribute has a canonical
meaning in some cases. e.g. <frame src=""></iframe>

  • xml/parser/XMLDocumentParserLibxml2.cpp:

(WebCore::handleNamespaceAttributes): Renamed from handleElementNamespaces. Call
parserSetAttributes even when exiting early to be maintain the same behavior.
(WebCore::handleElementAttributes):
(WebCore::XMLDocumentParser::startElementNs):

  • xml/parser/XMLDocumentParserQt.cpp:

(WebCore::handleNamespaceAttributes): Use XMLNSNames::xmlnsNamespaceURI. Call parserSetAttributes
even when exiting early to be maintain the same behavior.
(WebCore::handleElementAttributes):
(WebCore::XMLDocumentParser::parseStartElement):

LayoutTests:

Rebaseline a test that catches this bug.

  • editing/pasteboard/paste-noscript-xhtml-expected.txt:
1:19 PM Changeset in webkit [123787] by mifenton@rim.com
  • 3 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Add timing logs to SelectionHandler.
https://bugs.webkit.org/show_bug.cgi?id=92404

Reviewed by Rob Buis.

Add selection timing logs.

Reviewed Internally by Nima Ghanavatian.

  • WebKitSupport/SelectionHandler.cpp:

(BlackBerry::WebKit::SelectionHandler::setSelection):
(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):

  • WebKitSupport/SelectionHandler.h:

(SelectionHandler):

1:15 PM Changeset in webkit [123786] by zeno.albisser@nokia.com
  • 11 edits in trunk/Source

[Qt] requestAnimationFrame should only trigger when a new frame can be displayed.
https://bugs.webkit.org/show_bug.cgi?id=88638

Source/WebKit/qt:

Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
the servicing of scripted animations to the renderNextFrame call for WK2.
For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.

Reviewed by Jocelyn Turcotte.

  • WebCoreSupport/ChromeClientQt.cpp:

(RefreshAnimation):

Add a RefreshAnimation that is based on QAbstractAnimation
and drives the servicing of the scripted animations for WK1.

(WebCore::RefreshAnimation::RefreshAnimation):
(WebCore::RefreshAnimation::duration):
(WebCore::RefreshAnimation::scheduleAnimation):

Set m_animationScheduled to true and start the animation
timer in case it is not running yet.

(WebCore::RefreshAnimation::updateCurrentTime):

Call serviceScriptedAnimations if m_animationScheduled is true.
If this is not the case, the animation timer can be stopped,
because no animation needs to be scheduled anymore.

(WebCore):
(WebCore::ChromeClientQt::scheduleAnimation):

Create and start the RefreshAnimation instance with the
first call to scheduleAnimation.

  • WebCoreSupport/ChromeClientQt.h:

(WebCore):
(ChromeClientQt):

Source/WebKit2:

Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
the servicing of scripted animations to layer syncing for WK2.
For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.

Reviewed by Jocelyn Turcotte.

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit):
(WebKit::WebChromeClient::scheduleAnimation):

  • WebProcess/WebCoreSupport/WebChromeClient.h:

(WebChromeClient):

  • WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp:

(WebKit::LayerTreeCoordinator::performScheduledLayerFlush):
(WebKit::LayerTreeCoordinator::scheduleAnimation):
(WebKit):

  • WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.h:

(LayerTreeCoordinator):

  • WebProcess/WebPage/LayerTreeHost.h:

(LayerTreeHost):

Source/WTF:

Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
the servicing of scripted animations to layer syncing for WK2.
For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.

Reviewed by Jocelyn Turcotte.

  • wtf/Platform.h:
1:10 PM Changeset in webkit [123785] by mitz@apple.com
  • 3 edits
    2 adds in trunk

<svg> element with no intrinsic size and max-width gets sized incorrectly
https://bugs.webkit.org/show_bug.cgi?id=92410

Reviewed by Dean Jackson.

Source/WebCore:

Test: svg/css/max-width-2.html

  • rendering/RenderReplaced.cpp:

(WebCore::RenderReplaced::computeReplacedLogicalWidth): The rule for computing the width for
elements whose computed width and height are both auto and which have no intrinsic size, but
have an intrinsic ratio was applied only to elements with a content renderer (such as <img>
with an SVG source). Removed the requirement to have a content renderer, so that it will
apply to all elements including <svg>.

LayoutTests:

  • svg/css/max-width-2-expected.html: Added.
  • svg/css/max-width-2.html: Added.
1:02 PM Changeset in webkit [123784] by mifenton@rim.com
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] InputHandler failure logs should be logAlways and critical.
https://bugs.webkit.org/show_bug.cgi?id=92403

Reviewed by Rob Buis.

Update Log level for failures and fix mask in log.

Reviewed Internally by Nima Ghanavatian.

  • WebKitSupport/InputHandler.cpp:

(BlackBerry::WebKit::convertStringToWchar):
(BlackBerry::WebKit::convertStringToWcharVector):
(BlackBerry::WebKit::convertSpannableStringToString):
(BlackBerry::WebKit::InputHandler::spannableTextInRange):
(BlackBerry::WebKit::InputHandler::setTextAttributes):

12:56 PM Changeset in webkit [123783] by tony@chromium.org
  • 7 edits in trunk

Regression: r123696 made css3/flexbox tests failing
https://bugs.webkit.org/show_bug.cgi?id=92352

Reviewed by Levi Weintraub.

Source/WebCore:

Use roundedLayoutUnit so ports without subpixel layout still pass existing tests.

Covered by css3/flexbox/flex-algorithm-min-max.html which should pass again.

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::resolveFlexibleLengths):

LayoutTests:

Skip css3/flexbox/flex-rounding.html on ports that don't enable subpixel layout.

  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
12:54 PM Changeset in webkit [123782] by eae@chromium.org
  • 20 edits
    2 adds in trunk

Source/WebCore: Contained div with right 0 sometimes overlaps parent div
https://bugs.webkit.org/show_bug.cgi?id=91521

Reviewed by Levi Weintraub.

Due to unnecessary rounding in clientLogicalWidth and clientLogicalHeight
we lost precision when computing the width and position of render boxes.
Change clientLogicalWidth/Height to return values with subpixel precision
to avoid this.

Test: fast/sub-pixel/position-right-aligns-with-container.html

  • rendering/RenderBox.h:

(WebCore::RenderBox::clientLogicalWidth):
(WebCore::RenderBox::clientLogicalHeight):
Remove unnecessary rounding.

Source/WebKit2: Add a ChromeClient method to send diagnostic logging messages from WebCore to the client.
https://bugs.webkit.org/show_bug.cgi?id=92340

Reviewed by Anders Carlsson.

Pipe the ChromeClient logDiagnosticMessage() function through WebKit2 to a new bundle class
InjectedBundlePageDiagnosticLoggingClient, to be implemented by the client.

  • WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:

(WKBundlePageSetDiagnosticLoggingClient): Added.

  • WebProcess/InjectedBundle/API/c/WKBundlePage.h:
  • WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp: Added.

(WebKit::InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage):

  • WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h: Added.

(InjectedBundlePageDiagnosticLoggingClient):

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::logDiagnosticMessage):

  • WebProcess/WebCoreSupport/WebChromeClient.h:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::initializeInjectedBundleDiagnosticLoggingClient):

  • WebProcess/WebPage/WebPage.h:

(WebKit::WebPage::injectedBundleDiagnosticLoggingClient):

Add a convenience class to retrieve the diagnostic message keys:

  • WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp: Added.

(WebKit::InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage):

  • WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h: Added.

(InjectedBundlePageDiagnosticLoggingClient):

Add the InjectedBundlePageDiagnosticLoggingClient.cpp,h files.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • win/WebKit2.vcproj:
  • WebKit2.xcodeproj/project.pbxproj:

Tools: [nrwt] get rid of --skip-pixel-test-if-no-baseline
https://bugs.webkit.org/show_bug.cgi?id=92377

Reviewed by Adam Barth.

Remove the option and all code paths that handled it.

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

(Port.should_run_as_pixel_test):

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(_set_up_derived_options):
(parse_args):

  • Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:

(MainTest.test_repeat_each):

LayoutTests: Contained div with right 0 sometimes overlaps parent div
https://bugs.webkit.org/show_bug.cgi?id=91521

Reviewed by Levi Weintraub.

Add test for elements positioned based on the right edge and update two
existing tests that where affected by the rounding.

  • fast/sub-pixel/position-right-aligns-with-container-expected.html: Added.
  • fast/sub-pixel/position-right-aligns-with-container.html: Added.
  • platform/chromium-linux/svg/custom/svg-fonts-in-html-expected.png:
  • platform/chromium-win/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt:
  • platform/chromium-win/svg/custom/svg-fonts-in-html-expected.txt:
  • platform/mac-lion/Skipped:
  • platform/mac-snowleopard/Skipped:
  • platform/mac-wk2/Skipped:
  • platform/mac/Skipped:
  • platform/qt-4.8/Skipped:
  • platform/qt-5.0-wk2/Skipped:
  • platform/qt/Skipped:
  • platform/win-wk2/Skipped:
  • platform/win-xp/Skipped:
  • platform/win/Skipped:
  • platform/wincairo/Skipped:
  • platform/wk2/Skipped:

Mark new subpixel test as skipped on platforms that do not enable
subpixel layout.

12:10 PM Changeset in webkit [123781] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Build broken when svg is disabled.
https://bugs.webkit.org/show_bug.cgi?id=92393.

Patch by Chang Shu <cshu@webkit.org> on 2012-07-26
Reviewed by Laszlo Gombos.

Need to surpress unused parameters warning.

  • rendering/FilterEffectRenderer.cpp:

(WebCore::FilterEffectRenderer::buildReferenceFilter):

12:01 PM Changeset in webkit [123780] by jer.noble@apple.com
  • 4 edits in trunk/Source/WebCore

Add diagnostic messages when media and plugins load or fail to load.
https://bugs.webkit.org/show_bug.cgi?id=92341

Reviewed by Anders Carlsson.

Send diagnostic messages when a media or plugin element loads or fails to load. Include in
the trace the media engine description, error code, or plugin mime type.

  • html/HTMLEmbedElement.cpp:

(WebCore::HTMLEmbedElement::updateWidget): Send a diagnostic message.

  • html/HTMLMediaElement.cpp:

(WebCore::stringForNetworkState): Added convenience function to stringify network states.
(WebCore::HTMLMediaElement::mediaLoadingFailed): Send a diagnostic message.
(WebCore::HTMLMediaElement::setReadyState): Send a diagnostic message.

  • html/HTMLObjectElement.cpp:

(WebCore::HTMLObjectElement::updateWidget): Send a diagnostic message.

11:50 AM Changeset in webkit [123779] by commit-queue@webkit.org
  • 13 edits
    1 move
    2 adds
    12 deletes in trunk

Unreviewed, rolling out r123159, r123165, r123168, r123492,
and r123650.
http://trac.webkit.org/changeset/123159
http://trac.webkit.org/changeset/123165
http://trac.webkit.org/changeset/123168
http://trac.webkit.org/changeset/123492
http://trac.webkit.org/changeset/123650
https://bugs.webkit.org/show_bug.cgi?id=92406

allowing inline-table anonymous wrappers is a bad idea due to
tons of corner cases that should be properly handled
(Requested by jchaffraix on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26

Source/WebCore:

  • rendering/RenderInline.cpp:

(WebCore::RenderInline::addChildIgnoringContinuation):

  • rendering/RenderTable.cpp:

(WebCore::RenderTable::createAnonymousWithParentRenderer):

LayoutTests:

  • css2.1/20110323/inline-table-002b-expected.htm: Removed.
  • css2.1/20110323/inline-table-002b.html: Removed.
  • fast/dynamic/insert-before-table-part-in-continuation-expected.txt: Removed.
  • fast/table/inline-block-generates-table-wrapper-expected.html: Removed.
  • fast/table/inline-block-generates-table-wrapper.html: Removed.
  • fast/table/inline-table-in-continuation-expected.html: Removed.
  • fast/table/inline-table-in-continuation.html: Removed.
  • fast/table/inline-table-with-caption-expected.html: Removed.
  • fast/table/inline-table-with-caption.html: Removed.
  • platform/chromium-linux/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
  • platform/chromium-mac-snowleopard/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
  • platform/chromium-mac/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
  • platform/chromium-win/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
  • platform/chromium-win/fast/dynamic/insert-before-table-part-in-continuation-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug3037-1-expected.txt:
  • platform/efl/fast/dynamic/insert-before-table-part-in-continuation-expected.txt: Added.
  • platform/efl/tables/mozilla/bugs/bug3037-1-expected.txt: Renamed from LayoutTests/tables/mozilla/bugs/bug3037-1-expected.txt.
  • platform/gtk/fast/dynamic/insert-before-table-part-in-continuation-expected.txt: Added.
  • platform/gtk/tables/mozilla/bugs/bug3037-1-expected.txt:
  • platform/mac-wk2/fast/dynamic/insert-before-table-part-in-continuation-expected.txt: Removed.
  • platform/mac-wk2/mathml/msub-anonymous-child-render-crash-expected.txt: Removed.
  • platform/mac-wk2/tables/mozilla/bugs/bug3037-1-expected.txt: Removed.
  • platform/mac/fast/dynamic/insert-before-table-part-in-continuation-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug3037-1-expected.txt:
11:45 AM Changeset in webkit [123778] by jer.noble@apple.com
  • 20 edits
    4 adds in trunk/Source

Add a ChromeClient method to send diagnostic logging messages from WebCore to the client.
https://bugs.webkit.org/show_bug.cgi?id=92340

Reviewed by Anders Carlsson.

Source/WebCore:

Add a new ChromeClient menthod, to be implemented by WebKit and WebKit2, which sends
a diagnostic logging message up to the client.

  • page/ChromeClient.h:

(WebCore::ChromeClient::logDiagnosticMessage):

  • page/ChromeClient.h:

(WebCore::ChromeClient::logDiagnosticMessage):
(ChromeClient):

  • page/DiagnosticLoggingKeys.cpp: Added.

(WebCore::DiagnosticLoggingKeys::mediaLoadedKey):
(WebCore::DiagnosticLoggingKeys::mediaLoadingFailedKey):
(WebCore::DiagnosticLoggingKeys::pluginLoadedKey):
(WebCore::DiagnosticLoggingKeys::pluginLoadingFailedKey):
(WebCore::DiagnosticLoggingKeys::passKey):
(WebCore::DiagnosticLoggingKeys::failKey):
(WebCore::DiagnosticLoggingKeys::noopKey):

  • page/DiagnosticLoggingKeys.h: Added.

(DiagnosticLoggingKeys):

Add the new files DiagnosticLoggingKeys.cpp,h to the project:

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

Source/WebKit2:

Pipe the ChromeClient logDiagnosticMessage() function through WebKit2 to a new bundle class
InjectedBundlePageDiagnosticLoggingClient, to be implemented by the client.

  • WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:

(WKBundlePageSetDiagnosticLoggingClient): Added.

  • WebProcess/InjectedBundle/API/c/WKBundlePage.h:
  • WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp: Added.

(WebKit::InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage):

  • WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h: Added.

(InjectedBundlePageDiagnosticLoggingClient):

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::logDiagnosticMessage):

  • WebProcess/WebCoreSupport/WebChromeClient.h:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::initializeInjectedBundleDiagnosticLoggingClient):

  • WebProcess/WebPage/WebPage.h:

(WebKit::WebPage::injectedBundleDiagnosticLoggingClient):

Add a convenience class to retrieve the diagnostic message keys:

  • WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp: Added.

(WebKit::InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage):

  • WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h: Added.

(InjectedBundlePageDiagnosticLoggingClient):

Add the InjectedBundlePageDiagnosticLoggingClient.cpp,h files.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • win/WebKit2.vcproj:
  • WebKit2.xcodeproj/project.pbxproj:
11:27 AM Changeset in webkit [123777] by reed@google.com
  • 2 edits in trunk/LayoutTests

expectations change for skia rev. 4771
https://bugs.webkit.org/show_bug.cgi?id=92402

Reviewed by NOBODY : expectations change only

  • platform/chromium/TestExpectations:
11:26 AM Changeset in webkit [123776] by kbalazs@webkit.org
  • 4 edits in trunk/Tools

[nrwt] get rid of --skip-pixel-test-if-no-baseline
https://bugs.webkit.org/show_bug.cgi?id=92377

Reviewed by Adam Barth.

Remove the option and all code paths that handled it.

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

(Port.should_run_as_pixel_test):

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(_set_up_derived_options):
(parse_args):

  • Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:

(MainTest.test_repeat_each):

11:26 AM Changeset in webkit [123775] by jer.noble@apple.com
  • 13 edits in trunk/Source

Add setting to enable and disable diagnostic logging.
https://bugs.webkit.org/show_bug.cgi?id=92337

Reviewed by Anders Carlsson.

Source/WebCore:

Add a new entry in Settings, defaulting to false.

  • page/Settings.cpp:

(WebCore::Settings::Settings): Default the new setting to false.

  • page/Settings.h:

(WebCore::Settings::setDiagnosticLoggingEnabled): Simple accessor.
(WebCore::Settings::diagnosticLoggingEnabled): Ditto.

Source/WebKit/mac:

Add a WebKit WebPreferences API to set set the WebCore diagnosticLoggingEnabled setting.

  • WebView/WebPreferenceKeysPrivate.h:
  • WebView/WebPreferences.mm:

(+[WebPreferences initialize]): Register the default value to false.
(-[WebPreferences diagnosticLoggingEnabled]): Simple userDefaults accessor.
(-[WebPreferences setDiagnosticLoggingEnabled:]): Ditto.

  • WebView/WebPreferencesPrivate.h:
  • WebView/WebView.mm:

(-[WebView _preferencesChanged:]): Ensure this preference is propagated to Settings

whenever the preferences change.

Source/WebKit2:

Add a WebKit2 WKPreferences API to set set the WebCore diagnosticLoggingEnabled setting.

  • Shared/WebPreferencesStore.h:
  • UIProcess/API/C/WKPreferences.cpp:

(WKPreferencesSetDiagnosticLoggingEnabled):
(WKPreferencesGetDiagnosticLoggingEnabled):

  • UIProcess/API/C/WKPreferencesPrivate.h:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::updatePreferences): Ensure this preference is propagated to Settings

whenever the preferences change.

11:18 AM Changeset in webkit [123774] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[EFL][WK2] Regression(r123731): Linking errors due to efreet functions
https://bugs.webkit.org/show_bug.cgi?id=92378

Unreviewed build fix.

The library list created by PlatformEfl.cmake was being erased by a
SET called after including the platform specific file. Luckily the
dependencies were fulfilled by other targets until efreet was add.

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-26

  • CMakeLists.txt:
11:16 AM Changeset in webkit [123773] by commit-queue@webkit.org
  • 16 edits
    4 adds in trunk

Add FastMalloc statistics in window.internals
https://bugs.webkit.org/show_bug.cgi?id=91274

Patch by Olivier Blin <Olivier Blin> on 2012-07-26
Reviewed by Ryosuke Niwa.

Source/WebCore:

Test: fast/harness/fastmallocstatistics-object.html

  • CMakeLists.txt:
  • DerivedSources.make:
  • DerivedSources.pri:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
  • WebCore.vcproj/WebCoreTestSupport.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • testing/FastMallocStatistics.h: Added.

(WebCore):
(FastMallocStatistics):
(WebCore::FastMallocStatistics::create):
(WebCore::FastMallocStatistics::reservedVMBytes):
(WebCore::FastMallocStatistics::committedVMBytes):
(WebCore::FastMallocStatistics::freeListBytes):
(WebCore::FastMallocStatistics::FastMallocStatistics):

  • testing/FastMallocStatistics.idl: Added.
  • testing/Internals.cpp:

(WebCore::Internals::fastMallocStatistics):
(WebCore):

  • testing/Internals.h:

(WebCore):
(Internals):

  • testing/Internals.idl:

Tools:

  • GNUmakefile.am:

LayoutTests:

  • fast/harness/fastmallocstatistics-object-expected.txt: Added.
  • fast/harness/fastmallocstatistics-object.html: Added.
11:02 AM Changeset in webkit [123772] by enne@google.com
  • 21 edits in trunk

Source/WebCore: [chromium] Remove redundant surface origin transforms
https://bugs.webkit.org/show_bug.cgi?id=91815

Reviewed by Stephen White.

Bug 91417 changed draw transforms to become equivalent to origin
transforms for surfaces. This change removes them as they are no
longer needed for anything.

No new tests. Just a refactoring.

  • platform/graphics/chromium/RenderSurfaceChromium.h:

(RenderSurfaceChromium):

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

(WebCore::CCDamageTracker::extendDamageForRenderSurface):

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

(WebCore::computeScrollCompensationMatrixForChildren):
(WebCore::calculateDrawTransformsInternal):

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

(WebCore::::leaveToRenderTarget):
(WebCore::::unoccludedContributingSurfaceContentRect):

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

(WebCore::CCRenderPassDrawQuad::create):
(WebCore::CCRenderPassDrawQuad::CCRenderPassDrawQuad):

  • platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:

(CCRenderPassDrawQuad):

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

(WebCore::CCRenderSurface::createSharedQuadState):
(WebCore::CCRenderSurface::createReplicaSharedQuadState):
(WebCore::CCRenderSurface::appendQuads):

  • platform/graphics/chromium/cc/CCRenderSurface.h:

(CCRenderSurface):

Source/WebKit2: [EFL][WK2] Compilation warning in EWK2UnitTestServer.cpp
https://bugs.webkit.org/show_bug.cgi?id=92387

Reviewed by Kenneth Rohde Christiansen.

Fix compilation warning in EWK2UnitTestServer.cpp.

  • UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestServer.cpp:

(EWK2UnitTestServer::EWK2UnitTestServer):

LayoutTests: [Qt] css3/filters, editing/undo, fast/block/lineboxcontain, fast/js and tables/layering tests need update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=92292

Reviewed by Alexis Menard.

  • platform/qt-5.0/Skipped:
  • platform/qt/css3/filters/effect-blur-expected.txt:
  • platform/qt/css3/filters/effect-blur-hw-expected.txt:
  • platform/qt/css3/filters/regions-expanding-expected.txt:
  • platform/qt/editing/undo/5378473-expected.txt:
  • platform/qt/editing/undo/undo-misspellings-expected.txt:
  • platform/qt/fast/block/lineboxcontain/inline-box-expected.png:
  • platform/qt/fast/block/lineboxcontain/inline-box-expected.txt:
  • platform/qt/fast/block/lineboxcontain/inline-box-vertical-expected.png:
  • platform/qt/fast/block/lineboxcontain/inline-box-vertical-expected.txt:
  • platform/qt/fast/block/lineboxcontain/inline-replaced-expected.png:
  • platform/qt/fast/block/lineboxcontain/inline-replaced-expected.txt:
  • platform/qt/fast/block/lineboxcontain/none-expected.png:
  • platform/qt/fast/block/lineboxcontain/none-expected.txt:
  • platform/qt/fast/block/lineboxcontain/parsing-invalid-expected.png:
  • platform/qt/fast/block/lineboxcontain/parsing-invalid-expected.txt:
  • platform/qt/fast/block/lineboxcontain/replaced-expected.png:
  • platform/qt/fast/block/lineboxcontain/replaced-expected.txt:
10:59 AM Changeset in webkit [123771] by enne@google.com
  • 13 edits in trunk/Source

[chromium] Remove redundant surface origin transforms
https://bugs.webkit.org/show_bug.cgi?id=91815

Reviewed by Stephen White.

Source/WebCore:

Bug 91417 changed draw transforms to become equivalent to origin
transforms for surfaces. This change removes them as they are no
longer needed for anything.

No new tests. Just a refactoring.

  • platform/graphics/chromium/RenderSurfaceChromium.h:

(RenderSurfaceChromium):

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

(WebCore::CCDamageTracker::extendDamageForRenderSurface):

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

(WebCore::computeScrollCompensationMatrixForChildren):
(WebCore::calculateDrawTransformsInternal):

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

(WebCore::::leaveToRenderTarget):
(WebCore::::unoccludedContributingSurfaceContentRect):

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

(WebCore::CCRenderPassDrawQuad::create):
(WebCore::CCRenderPassDrawQuad::CCRenderPassDrawQuad):

  • platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:

(CCRenderPassDrawQuad):

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

(WebCore::CCRenderSurface::createSharedQuadState):
(WebCore::CCRenderSurface::createReplicaSharedQuadState):
(WebCore::CCRenderSurface::appendQuads):

  • platform/graphics/chromium/cc/CCRenderSurface.h:

(CCRenderSurface):

Source/WebKit/chromium:

Clean up use of origin transforms in tests. Where possible, test
against the equivalent draw transform.

  • tests/CCLayerTreeHostCommonTest.cpp:
  • tests/CCLayerTreeHostImplTest.cpp:
  • tests/CCRenderSurfaceTest.cpp:
10:55 AM Changeset in webkit [123770] by caseq@chromium.org
  • 10 edits in trunk/Source/WebCore

Web Inspector: simplify handling of status bar items
https://bugs.webkit.org/show_bug.cgi?id=92143

Reviewed by Pavel Feldman.

  • split status bars into "global" (always in the bottom) and "panel"

(on top of the drawer when drawer is shown)

  • use "inner" status bar section in global status bar to display either

panel status bar items or drawer view items (depending on drawer visibility)

  • let panels/views manage their counters as part of their status bar

items, not through special interface members;

  • get rid of absolute positioning in the status bars where possible;
  • inspector/front-end/AdvancedSearchController.js:

(WebInspector.SearchView.prototype.get statusBarItems):

  • inspector/front-end/Drawer.js:

(WebInspector.Drawer):
(WebInspector.Drawer.prototype.show.animationFinished):
(WebInspector.Drawer.prototype.show):
(WebInspector.Drawer.prototype.hide.animationFinished):
(WebInspector.Drawer.prototype.hide):
(WebInspector.Drawer.prototype._startStatusBarDragging):

  • inspector/front-end/Panel.js:

(WebInspector.Panel.prototype.wasShown):

  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelinePanel.prototype.get statusBarItems):
(WebInspector.TimelinePanel.prototype.willHide):

  • inspector/front-end/elementsPanel.css:

(.crumbs):

  • inspector/front-end/inspector.css:

(#main):
(body.drawer-visible #main-panels):
(.status-bar):
(.status-bar-item):
(#panel-status-bar-placeholder):
(body.drawer-visible #panel-status-bar-placeholder):
(#panel-status-bar-resizer):
(#panel-status-bar):
(#panel-status-bar > div):
(#error-warning-count):
(#drawer):
(#drawer-contents):
(.status-bar-items):
(.drawer-header):
(#inner-status-bar):
(.search-status-bar-item):
(.search-status-bar-message):
(.search-status-bar-progress):
(body:not(.platform-mac) .search-status-bar-progress):
(body.platform-mac .search-status-bar-progress):
(.search-status-bar-stop-button-item):
(.search-status-bar-stop-button .glyph):
(.search-results-status-bar-message):

  • inspector/front-end/inspector.html:
  • inspector/front-end/inspector.js:

(WebInspector._createGlobalStatusBarItems):
(WebInspector.showViewInDrawer):
(WebInspector._closePreviousDrawerView):

  • inspector/front-end/timelinePanel.css:

(.timeline-records-counter):

10:47 AM Changeset in webkit [123769] by commit-queue@webkit.org
  • 11 edits
    1 copy
    3 adds in trunk/Source

[EFL][WK2] Implement Network Information provider
https://bugs.webkit.org/show_bug.cgi?id=92343

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-26
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Moved Network Information provider code from WebKit1
to WebCore so that it can be shared with WebKit2.

No new tests, no behavior change.

  • PlatformEfl.cmake:
  • platform/efl/NetworkInfoProviderEfl.cpp: Copied from Source/WebKit/efl/WebCoreSupport/NetworkInfoClientEfl.cpp.

(WebCore):
(WebCore::NetworkInfoProviderEfl::NetworkInfoProviderEfl):
(WebCore::NetworkInfoProviderEfl::startUpdating):
(WebCore::NetworkInfoProviderEfl::stopUpdating):
(WebCore::NetworkInfoProviderEfl::bandwidth):

  • platform/efl/NetworkInfoProviderEfl.h: Added.

(WebCore):
(NetworkInfoProviderEfl):

Source/WebKit:

WebKit EFL not longer needs to link against EEZE
library since the Network Information provider
was moved to WebCore.

  • CMakeLists.txt:
  • PlatformEfl.cmake:

Source/WebKit/efl:

Make NetworkInfoClientEfl use NetworkInfoProviderEfl
from WebCore to avoid code duplication with WebKit2.

  • WebCoreSupport/NetworkInfoClientEfl.cpp:

(WebCore::NetworkInfoClientEfl::startUpdating):
(WebCore::NetworkInfoClientEfl::stopUpdating):
(WebCore::NetworkInfoClientEfl::bandwidth):
(WebCore::NetworkInfoClientEfl::metered):
(WebCore):

  • WebCoreSupport/NetworkInfoClientEfl.h:

(WebCore):
(NetworkInfoClientEfl):

Source/WebKit2:

Add Network Information provider for WebKit2 EFL
by using NetworkInfoProviderEfl class from
WebCore.

  • CMakeLists.txt:
  • PlatformEfl.cmake:
  • UIProcess/API/efl/NetworkInfoProvider.cpp: Added.

(toNetworkInfoProvider):
(startUpdatingCallback):
(stopUpdatingCallback):
(getBandwidthCallback):
(isMeteredCallback):
(NetworkInfoProvider::create):
(NetworkInfoProvider::NetworkInfoProvider):
(NetworkInfoProvider::~NetworkInfoProvider):
(NetworkInfoProvider::bandwidth):
(NetworkInfoProvider::metered):
(NetworkInfoProvider::startUpdating):
(NetworkInfoProvider::stopUpdating):

  • UIProcess/API/efl/NetworkInfoProvider.h: Added.

(NetworkInfoProvider):

10:25 AM Changeset in webkit [123768] by pfeldman@chromium.org
  • 14 edits
    1 add in trunk/Source/WebCore

Web Inspector: SASS source mapping straw man (behind experiment)
https://bugs.webkit.org/show_bug.cgi?id=92265

Reviewed by Vsevolod Vlasov.

This change introduces SASS mapping support (behind the experiment).

  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/compile-front-end.py:
  • inspector/front-end/CSSStyleModel.js:

(WebInspector.CSSStyleModel):
(WebInspector.CSSStyleModel.prototype.resourceBinding):
(WebInspector.CSSStyleModel.prototype.setSourceMapping):
(WebInspector.CSSStyleModel.prototype.resetSourceMappings):
(WebInspector.CSSStyleModel.prototype._rawLocationToUILocation):
(WebInspector.CSSLocation):
(WebInspector.CSSRule):
(WebInspector.CSSRule.prototype.get isRegular):
(WebInspector.CSSRule.prototype.uiLocation):

  • inspector/front-end/ContentProviders.js:

(WebInspector.StaticContentProvider.prototype.contentType):

  • inspector/front-end/SASSSourceMapping.js: Added.

(WebInspector.SASSSourceMapping):
(WebInspector.SASSSourceMapping.prototype._populate):
(WebInspector.SASSSourceMapping.prototype._resourceAdded.didRequestContent):
(WebInspector.SASSSourceMapping.prototype._resourceAdded):
(rawLocationToUILocation):
(uiLocationToRawLocation):
(uiSourceCodes):
(reset):
(WebInspector.SASSSource):
(WebInspector.SASSSource.prototype.isEditable):

  • inspector/front-end/ScriptsPanel.js:

(WebInspector.ScriptsPanel.prototype._createSourceFrame):

  • inspector/front-end/Settings.js:

(WebInspector.ExperimentsSettings):

  • inspector/front-end/StylesPanel.js:

(WebInspector.StylesUISourceCodeProvider):
(WebInspector.StylesUISourceCodeProvider.prototype.rawLocationToUILocation):
(WebInspector.StylesUISourceCodeProvider.prototype.uiLocationToRawLocation):
(WebInspector.StylesUISourceCodeProvider.prototype._resourceAdded):
(WebInspector.StylesUISourceCodeProvider.prototype.reset):

  • inspector/front-end/StylesSidebarPane.js:

(WebInspector.StylePropertyTreeElement.prototype):

  • inspector/front-end/UISourceCode.js:

(WebInspector.UILocation.prototype.uiLocationToRawLocation):
(WebInspector.UILocation.prototype.url):

  • inspector/front-end/Workspace.js:

(WebInspector.Workspace):

  • inspector/front-end/inspector.html:
10:23 AM Changeset in webkit [123767] by Chris Fleizach
  • 3 edits
    2 adds in trunk

WebKit should expose @title as label (AXTitle or AXDescription) sometimes instead of AXHelp, according to the ARIA text alt computation
https://bugs.webkit.org/show_bug.cgi?id=91911

Reviewed by Anders Carlsson.

Source/WebCore:

The ARIA spec states that the title attribute should be used as the last resort for a description of an element. WebKit needs to honor that.

Test: platform/mac/accessibility/title-attribute-used-as-last-resort.html

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::helpText):
(WebCore::AccessibilityRenderObject::accessibilityDescription):

LayoutTests:

  • platform/mac/accessibility/title-attribute-used-as-last-resort-expected.txt: Added.
  • platform/mac/accessibility/title-attribute-used-as-last-resort.html: Added.
9:59 AM Changeset in webkit [123766] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[EFL][WK2] Compilation warning in EWK2UnitTestServer.cpp
https://bugs.webkit.org/show_bug.cgi?id=92387

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-26
Reviewed by Kenneth Rohde Christiansen.

Fix compilation warning in EWK2UnitTestServer.cpp.

  • UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestServer.cpp:

(EWK2UnitTestServer::EWK2UnitTestServer):

9:54 AM Changeset in webkit [123765] by vsevik@chromium.org
  • 3 edits in trunk/Source/WebCore

Unreviewed r123761 follow-up, inspector closure compilation fix.

  • inspector/front-end/Script.js:

(WebInspector.Script.Location.prototype.uiLocation):

  • inspector/front-end/ScriptSnippetModel.js:
9:50 AM Changeset in webkit [123764] by Patrick Gansterer
  • 3 edits in trunk/Source/WebCore

Cleanup GraphicsContext::(getWindowsContext|releaseWindowsContext)
https://bugs.webkit.org/show_bug.cgi?id=92113

Reviewed by Simon Hausmann.

Cleanup the definition of the two methods across different ports and
replace the calls to them with LocalWindowsContext where possible.

  • platform/graphics/GraphicsContext.h:

(GraphicsContext):

  • platform/win/ScrollbarThemeWin.cpp:

(WebCore::ScrollbarThemeWin::paintThumb):

9:45 AM Changeset in webkit [123763] by kbalazs@webkit.org
  • 2 edits in trunk/LayoutTests

[Qt] Unreviewed gardening. Fix after r123733.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-26

  • platform/qt/Skipped:
9:44 AM Changeset in webkit [123762] by commit-queue@webkit.org
  • 2 edits
    54 deletes in trunk/LayoutTests

[Qt] Reskip fast/forms WK2 added results
https://bugs.webkit.org/show_bug.cgi?id=91504

Patch by Bruno de Oliveira Abinader <Bruno de Oliveira Abinader> on 2012-07-26
Reviewed by Alexis Menard.

This patch reverts the added WK2 layout test results from r123156 "[Qt]
Added/updated missing fast/forms results after rebaseline". As discussed with
Caio, almost all of these additions were due to an erroneous input-text and
text-area default size diff between WK1 and WK2 (handled in bug 91990), and a
few ones that are still failing independent of font changes (handled in bug
91610). These tests were reskipped and reassigned to proper bugs.

  • platform/qt-5.0-wk2/Skipped:
  • platform/qt-5.0-wk2/fast/forms/basic-inputs-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/basic-inputs-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/control-restrict-line-height-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/control-restrict-line-height-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/encoding-test-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-bkcolor-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-default-bkcolor-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-default-bkcolor-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-disabled-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-disabled-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-focus-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-focus-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-preventDefault-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-readonly-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-readonly-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-appearance-visibility-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-baseline-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-baseline-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-double-click-selection-gap-bug-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-double-click-selection-gap-bug-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-placeholder-visibility-1-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-placeholder-visibility-3-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-readonly-dimmed-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-readonly-empty-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-spaces-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-text-click-inside-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-text-double-click-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-text-option-delete-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-text-self-emptying-click-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-text-word-wrap-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/input-width-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/placeholder-position-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/placeholder-position-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/search-cancel-button-style-sharing-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/search-display-none-cancel-button-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/search-rtl-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/search-rtl-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/search-vertical-alignment-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/search-vertical-alignment-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/text-style-color-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/text-style-color-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.png: Removed.
  • platform/qt-5.0-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/textarea-placeholder-visibility-1-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/textarea-placeholder-visibility-2-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/textfield-focus-ring-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/textfield-outline-expected.txt: Removed.
  • platform/qt-5.0-wk2/fast/forms/textfield-overflow-expected.txt: Removed.
9:42 AM Changeset in webkit [123761] by vsevik@chromium.org
  • 4 edits in trunk/Source/WebCore

Web Inspector: Introduce generic LiveLocation, make Script.Location inherit it.
https://bugs.webkit.org/show_bug.cgi?id=92388

Reviewed by Pavel Feldman.

Introduced abstract LiveLocation implemented by Script.Location.

  • inspector/front-end/Script.js:

(WebInspector.Script.Location):
(WebInspector.Script.Location.prototype.uiLocation):
(WebInspector.Script.Location.prototype.dispose):

  • inspector/front-end/UISourceCode.js:

(WebInspector.UISourceCode):
(WebInspector.LiveLocation):
(WebInspector.LiveLocation.prototype.update):
(WebInspector.LiveLocation.prototype.rawLocation):
(WebInspector.LiveLocation.prototype.uiLocation):
(WebInspector.LiveLocation.prototype.dispose):

  • inspector/front-end/inspector.html:
9:40 AM Changeset in webkit [123760] by rafael.lobo@openbossa.org
  • 3 edits
    2 deletes in trunk/LayoutTests

[Qt] platform/qt/tables/mozilla tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91242

Reviewed by Alexis Menard.

Some leftovers were removed from qt-5.0-wk1 and wk2. If some of them
fail on qt-5.0-wk2, then they should be skipped again, but creating
proper bug reports for them.

  • platform/qt-5.0-wk1/Skipped:
  • platform/qt-5.0-wk2/Skipped:
  • platform/qt-5.0/tables/mozilla/bugs/bug3037-1-expected.png: Removed.
  • platform/qt-5.0/tables/mozilla/bugs/bug3037-1-expected.txt: Removed.
9:34 AM Changeset in webkit [123759] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[BlackBerry] readPixels on FBOs are limited to canvas size on SGX platforms
https://bugs.webkit.org/show_bug.cgi?id=92301

Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-26
Reviewed by Rob Buis.

This fixes fast/canvas/webgl/uninitialized-test.html on BlackBerry, no new tests.

  • platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:

(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary):

9:26 AM Changeset in webkit [123758] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: reduce auto refresh rate of the live native memory diagram
https://bugs.webkit.org/show_bug.cgi?id=92372

Patch by Alexei Filippov <alexeif@chromium.org> on 2012-07-26
Reviewed by Pavel Feldman.

  • inspector/front-end/NativeMemorySnapshotView.js:

(WebInspector.NativeMemoryBarChart.prototype.wasShown):

9:23 AM Changeset in webkit [123757] by zecke@webkit.org
  • 2 edits in trunk/Tools

buildbot: Remove the configuration of hfreyther*
https://bugs.webkit.org/show_bug.cgi?id=91849

Reviewed by Adam Roben.

The machine running these configs was decommissioned and
there is no replacement at this point. Remove them from the
configuration.

  • BuildSlaveSupport/build.webkit.org-config/config.json: Remove hfreyther* from

the config. The Qt Linux SH4 and Qt Linux MIPS schedulers are orphaned, remove
them too.

9:22 AM Changeset in webkit [123756] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Refactor BackingStorePrivate::BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion() to avoid touching tile frontbuffer
https://bugs.webkit.org/show_bug.cgi?id=92095

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-07-26
Reviewed by George Staikos.

PR: 141439
Specifically, we want to avoid changing the rendered region of the
front buffer without proper synchronization.

The method is trying to force checkerboard to appear on screen because
an area was invalidated but the render job was dropped, so the tile
contents are now invalid.

Unfortunately it did this in a way which is not thread safe. Fixed by
making it thread safe, in a way that minimizes memory bandwidth usage.

Instead of using the customary sequence of copy-back, modify and swap,
we send a synchronous message to the compositing thread to avoid the
copy-back step and save memory bandwidth. The trade-off is that the
WebKit thread might wait a little longer for the compositing thread
than it would from a waitForCurrentMessage() call.

The way we synchronize this is rather expensive for the WebKit thread,
and this method is called rather carelessly, so add various early
returns to avoid doing it redundantly.

Internally reviewed by Jakob Petsovits and Adam Treat.

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::BackingStorePrivate::indexOfTile):
(BlackBerry::WebKit::BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion):

  • Api/BackingStore_p.h:

(BackingStorePrivate):

9:17 AM Changeset in webkit [123755] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Web Inspector: add GC button to the profiles panel toolbar.
https://bugs.webkit.org/show_bug.cgi?id=92369

Patch by Alexei Filippov <alexeif@chromium.org> on 2012-07-26
Reviewed by Pavel Feldman.

  • inspector/front-end/ProfilesPanel.js:

(WebInspector.ProfilesPanel.prototype.get statusBarItems):
(WebInspector.ProfilesPanel.prototype._garbageCollectButtonClicked):

  • inspector/front-end/profilesPanel.css:

(.garbage-collect-status-bar-item .glyph):

9:15 AM Changeset in webkit [123754] by allan.jensen@nokia.com
  • 10 edits in trunk/Source/WebCore

Move region from HitTestResult to HitTestPoint.
https://bugs.webkit.org/show_bug.cgi?id=92367

Reviewed by Antonio Gomes.

Moves the region to HitTestPoint where it makes more sense, and use this
change to simplify hit-testing a new region in RenderFlowThread.

No new functionality. No new tests.

  • rendering/HitTestResult.cpp:

(WebCore::HitTestPoint::HitTestPoint):
(WebCore::HitTestPoint::operator=):
(WebCore::HitTestResult::HitTestResult):
(WebCore::HitTestResult::operator=):

  • rendering/HitTestResult.h:

(HitTestPoint):
(WebCore::HitTestPoint::region):
(HitTestResult):

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::nodeAtPoint):

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::nodeAtPoint):

  • rendering/RenderFlowThread.cpp:

(WebCore::RenderFlowThread::hitTestRegion):

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::hitTestLayer):

  • rendering/RenderRegion.cpp:

(WebCore::RenderRegion::nodeAtPoint):

  • rendering/RenderTable.cpp:

(WebCore::RenderTable::nodeAtPoint):

  • rendering/RenderTableSection.cpp:

(WebCore::RenderTableSection::nodeAtPoint):

9:12 AM Changeset in webkit [123753] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Web Inspector: ExtensionView constructor shouldn't take parent argument
https://bugs.webkit.org/show_bug.cgi?id=92326

Patch by Jan Keromnes <janx@linux.com> on 2012-07-26
Reviewed by Pavel Feldman.

ExtensionView's constructor took a parent element parameter and auto-
showed itself in the constructor. This didn't allow lazy showing and
was confusing because it didn't work like a classic View object. Fixed.

No new tests needed: Refactoring with no behavior changes.

  • inspector/front-end/ExtensionPanel.js:

(WebInspector.ExtensionPanel):
(WebInspector.ExtensionSidebarPane.prototype.setPage):

  • inspector/front-end/ExtensionView.js:

(WebInspector.ExtensionView):

9:04 AM Changeset in webkit [123752] by commit-queue@webkit.org
  • 4 edits
    1 add in trunk/Source/WebKit2

[EFL][WK2] Add unit tests for Ewk_Context
https://bugs.webkit.org/show_bug.cgi?id=92005

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-26
Reviewed by Antonio Gomes.

Add unit tests for WebKit2 Ewk_Context.

  • PlatformEfl.cmake:
  • UIProcess/API/efl/ewk_url_scheme_request.cpp:

(ewk_url_scheme_request_finish):

  • UIProcess/API/efl/ewk_url_scheme_request.h: Mark content_data

argument as const.

  • UIProcess/API/efl/tests/test_ewk2_context.cpp: Added.

(TEST_F):
(schemeRequestCallback):

9:00 AM Changeset in webkit [123751] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Refactor BackingStorePrivate::render() to avoid touching tile frontbuffer
https://bugs.webkit.org/show_bug.cgi?id=91989

Patch by Arvid Nilsson <anilsson@rim.com> on 2012-07-26
Reviewed by George Staikos.

PR: 141439
Specifically, we want to avoid changing the rendered region of the
front buffer. The code only touched the front buffer rendered region
if the tile was not committed.

Instead of immediately marking the tile as committed, and clearing the
front buffer's rendered region to make it appear as checkerboard, we
leave the front buffer alone and only mark the tile as committed once
the front buffer has valid content. Un-committed tiles will also be
rendered as checkerboard, so leaving it uncommitted is equivalent to
clearing the front buffer rendered region here.

In addition to the main change, some related changes follow naturally.

The copyPreviousContentsToBackSurfaceOfTile() call only makes sense if
the tile is committed, and the front buffer has valid content.
Otherwise, clearing the back buffer is equivalent. The code has been
updated to this effect.

Since copyPreviousContentsToBackSurfaceOfTile() always sets the
rendered region to the union of the front and back buffer regions,
there is no point in the "backBufferIsValid" check. It has been turned
into an ASSERT instead, just to make sure.

Internally reviewed by Jakob Petsovits.

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::BackingStorePrivate::render):

8:51 AM Changeset in webkit [123750] by commit-queue@webkit.org
  • 39 edits in trunk/LayoutTests

[Qt] editing/selection tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=92186

Patch by Bruno de Oliveira Abinader <Bruno de Oliveira Abinader> on 2012-07-26
Reviewed by Alexis Menard.

After the rebaseline from changeset 121971 - [Qt] DumpRenderTree does not use
'monospace' font when directed, editing/selection tests directory needs to be
updated.

It is important to notice some Qt WK2 layout tests are still failing, some
requires more investigation (handled in bug 91610) and others have a known cause
(input text and text areas differ in WK2 - bug 91990).

  • platform/qt-5.0-wk2/Skipped:
  • platform/qt-5.0-wk2/editing/selection/select-box-expected.png:
  • platform/qt-5.0-wk2/editing/selection/select-box-expected.txt:
  • platform/qt-5.0-wk2/editing/selection/select-element-paragraph-boundary-expected.png:
  • platform/qt-5.0-wk2/editing/selection/select-element-paragraph-boundary-expected.txt:
  • platform/qt-5.0/Skipped:
  • platform/qt-5.0/editing/selection/editable-html-element-expected.txt:
  • platform/qt-5.0/editing/selection/extend-by-word-001-expected.txt:
  • platform/qt-5.0/editing/selection/select-box-expected.png:
  • platform/qt-5.0/editing/selection/select-box-expected.txt:
  • platform/qt-5.0/editing/selection/select-element-paragraph-boundary-expected.png:
  • platform/qt-5.0/editing/selection/select-element-paragraph-boundary-expected.txt:
  • platform/qt-5.0/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt:
  • platform/qt-5.0/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt:
  • platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt:
  • platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt:
  • platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
  • platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt:
  • platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt:
  • platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
  • platform/qt-5.0/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt:
  • platform/qt-5.0/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt:
  • platform/qt/editing/selection/5825350-1-expected.txt:
  • platform/qt/editing/selection/5825350-2-expected.txt:
  • platform/qt/editing/selection/drag-start-event-client-x-y-expected.txt:
  • platform/qt/editing/selection/fake-doubleclick-expected.png:
  • platform/qt/editing/selection/fake-doubleclick-expected.txt:
  • platform/qt/editing/selection/hit-test-on-text-with-line-height-expected.txt:
  • platform/qt/editing/selection/unrendered-001-expected.png:
  • platform/qt/editing/selection/unrendered-001-expected.txt:
  • platform/qt/editing/selection/unrendered-002-expected.png:
  • platform/qt/editing/selection/unrendered-002-expected.txt:
  • platform/qt/editing/selection/unrendered-003-expected.png:
  • platform/qt/editing/selection/unrendered-003-expected.txt:
  • platform/qt/editing/selection/unrendered-004-expected.png:
  • platform/qt/editing/selection/unrendered-004-expected.txt:
  • platform/qt/editing/selection/unrendered-005-expected.png:
  • platform/qt/editing/selection/unrendered-005-expected.txt:
8:25 AM Changeset in webkit [123749] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

[WebGL] ANGLEWebKitBridge should support ESSL platforms
https://bugs.webkit.org/show_bug.cgi?id=92295

Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-26
Reviewed by Rob Buis.

This tells ANGLEWebKitBridge to output ESSL code for the BlackBerry
platform. This eliminates the need for a previous hack. In addition,
some (GLSL) ANGLE output that could not be compiled (for example,
glsl-mat4-to-mat3.html) now compiles.

  • platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:

(WebCore::GraphicsContext3D::GraphicsContext3D):

  • platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:

(WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):

8:21 AM Changeset in webkit [123748] by pfeldman@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: replace "textInput" keyboard event listener breakpoint with "input"
https://bugs.webkit.org/show_bug.cgi?id=92384

Reviewed by Vsevolod Vlasov.

  • inspector/front-end/BreakpointsSidebarPane.js:

(WebInspector.EventListenerBreakpointsSidebarPane):

8:10 AM Changeset in webkit [123747] by jer.noble@apple.com
  • 11 edits in trunk/Source/WebCore

Add a MediaPlayer API to retrieve the description of the current media engine.
https://bugs.webkit.org/show_bug.cgi?id=92336

Reviewed by Eric Carlson.

Add a utility function which retrieves, for diagnostic purposes, a brief description
of the current media engine. Stubs have been added for each of the MediaPlayerPrivate
subclasses which return the name of the class.

  • platform/graphics/MediaPlayer.cpp:

(WebCore::MediaPlayer::engineDescription):

  • platform/graphics/MediaPlayer.h:
  • platform/graphics/MediaPlayerPrivate.h:

(WebCore::MediaPlayerPrivateInterface::engineDescription):

  • platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:

(WebCore::MediaPlayerPrivateAVFoundation::engineDescription):

  • platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:

(WebCore::MediaPlayerPrivate::engineDescription):

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:

(WebCore::MediaPlayerPrivateGStreamer::engineDescription):

  • platform/graphics/mac/MediaPlayerPrivateQTKit.h:

(WebCore::MediaPlayerPrivateQTKit::engineDescription):

  • platform/graphics/qt/MediaPlayerPrivateQt.h:

(WebCore::MediaPlayerPrivateQt::engineDescription):

  • platform/graphics/wince/MediaPlayerPrivateWinCE.h:

(WebCore::MediaPlayerPrivate::engineDescription):

  • platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:

(WebCore::MediaPlayerPrivateQuickTimeVisualContext::engineDescription):

8:08 AM Changeset in webkit [123746] by pfeldman@chromium.org
  • 3 edits
    2 adds in trunk

Web Inspector: Edits of styles declared after invalid selector are not applied
https://bugs.webkit.org/show_bug.cgi?id=92382

Reviewed by Vsevolod Vlasov.

Source/WebCore:

Now popping selectorless rules as well.

Test: inspector/styles/styles-edit-property-after-invalid-rule.html

  • css/CSSParser.cpp:

(WebCore::CSSParser::createStyleRule):

LayoutTests:

Additional information of the change such as approach, rationale.

  • inspector/styles/styles-edit-property-after-invalid-rule-expected.txt: Added.
  • inspector/styles/styles-edit-property-after-invalid-rule.html: Added.
7:54 AM Changeset in webkit [123745] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[WebGL] GraphicsContext3D::readPixels has extraneous code from GraphicsContext3D::readPixelsIMG
https://bugs.webkit.org/show_bug.cgi?id=92302

Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-26
Reviewed by Noam Rosenthal.

This undoes a mistake from https://bugs.webkit.org/show_bug.cgi?id=90567.

No new tests, because it introduces no new functionality, but it makes the WebGL aquarium demo
run quite a bit smoother on SGX :)

  • platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:

(WebCore::GraphicsContext3D::readPixels):

7:49 AM Changeset in webkit [123744] by yurys@chromium.org
  • 6 edits in trunk/Source

Unreviewed. Revert r123740 as it breaks AppleMac compilation.

Source/WebCore:

  • WebCore.exp.in:
  • inspector/InspectorMemoryAgent.cpp:

(WebCore):

Source/WTF:

  • wtf/text/StringImpl.cpp:
  • wtf/text/StringImpl.h:
7:40 AM Changeset in webkit [123743] by yurys@chromium.org
  • 2 edits in trunk/Source/WebCore

Unreviewed. Fix AppleMac compilation after r123740.

  • WebCore.exp.in: Added missing symbol.
6:28 AM Changeset in webkit [123742] by commit-queue@webkit.org
  • 6 edits
    5 adds in trunk/Source/WebKit2

[EFL][WK2] Add form client for Ewk_View
https://bugs.webkit.org/show_bug.cgi?id=92358

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-26
Reviewed by Kenneth Rohde Christiansen.

Implement a form client for EFL port in order to
send a "form,request,new" signal on the Ewk_View
whenever a form will be submitted.

The Ewk_Form_Submission_Request type is
introduced to provide the client with information
about the form (e.g. text fields contained in the
form) and to submit it.

This is typically used to store login information
that can be used later to pre-fill the form.

  • PlatformEfl.cmake:
  • UIProcess/API/efl/EWebKit2.h:
  • UIProcess/API/efl/ewk_form_submission_request.cpp: Added.

(_Ewk_Form_Submission_Request):
(_Ewk_Form_Submission_Request::_Ewk_Form_Submission_Request):
(_Ewk_Form_Submission_Request::~_Ewk_Form_Submission_Request):
(ewk_form_submission_request_ref):
(ewk_form_submission_request_unref):
(ewk_form_submission_request_field_names_get):
(ewk_form_submission_request_field_value_get):
(ewk_form_submission_request_submit):
(ewk_form_submission_request_new):

  • UIProcess/API/efl/ewk_form_submission_request.h: Added.
  • UIProcess/API/efl/ewk_form_submission_request_private.h: Added.
  • UIProcess/API/efl/ewk_view.cpp:

(ewk_view_base_add):
(ewk_view_form_submission_request_new):

  • UIProcess/API/efl/ewk_view.h:
  • UIProcess/API/efl/ewk_view_form_client.cpp: Added.

(willSubmitForm):
(ewk_view_form_client_attach):

  • UIProcess/API/efl/ewk_view_form_client_private.h: Added.
  • UIProcess/API/efl/ewk_view_private.h:
6:20 AM Changeset in webkit [123741] by kkristof@inf.u-szeged.hu
  • 1 edit
    5 adds in trunk/LayoutTests

[Qt] Unreviewed gardening. Added Qt5 specific expected results after r123670.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-26

  • platform/qt-5.0/tables/mozilla/bugs/bug3037-1-expected.png: Added after r123670.
  • platform/qt-5.0/tables/mozilla/bugs/bug3037-1-expected.txt: Added after r123670.
6:17 AM Changeset in webkit [123740] by yurys@chromium.org
  • 5 edits in trunk/Source

Web Inspector: move StringImpl size calculation to StringImpl
https://bugs.webkit.org/show_bug.cgi?id=92359

Reviewed by Pavel Feldman.

Moved stringSize(StringImpl*) implementation from InspectorMemoryAgent to
StringImpl::sizeInBytes();

Source/WebCore:

  • inspector/InspectorMemoryAgent.cpp:

(WebCore):

Source/WTF:

  • wtf/text/StringImpl.cpp:

(WTF::StringImpl::sizeInBytes):
(WTF):

  • wtf/text/StringImpl.h:

(StringImpl):

6:03 AM Changeset in webkit [123739] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

[EFL] Gardening after r123696
https://bugs.webkit.org/show_bug.cgi?id=92361

Unreviewed gardening. r123696 made css3/flexbox tests failing on EFL and QT.

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-26

  • platform/efl/TestExpectations:
5:43 AM Changeset in webkit [123738] by kbalazs@webkit.org
  • 2 edits in trunk/Tools

Unreviewed speculative Mac buildfix after r123729 - 2nd attempt.

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::runTest):

5:38 AM Changeset in webkit [123737] by zandobersek@gmail.com
  • 2 edits in trunk/LayoutTests

Unreviewed GTK gardening, adding text failure expectations for two
CSS3 Flexbox tests introduced in r123696.

  • platform/gtk/TestExpectations:
5:32 AM Changeset in webkit [123736] by kbalazs@webkit.org
  • 2 edits in trunk/Tools

Unreviewed speculative buildfix after r123729.

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::runTest): Fix sign errors.

5:29 AM Changeset in webkit [123735] by zherczeg@webkit.org
  • 3 edits in trunk/Source/JavaScriptCore

[Qt][ARM]ARMAssembler needs buildfix afert r123417
https://bugs.webkit.org/show_bug.cgi?id=92086

Reviewed by Csaba Osztrogonác.

The ARM implementation of this should be optimized code path
is covered by a non-optimized code path. This patch fixes this,
and adds a new function which returns with the offset range.

  • assembler/ARMAssembler.h:

(JSC::ARMAssembler::readPointer):
(ARMAssembler):
(JSC::ARMAssembler::repatchInt32):
(JSC::ARMAssembler::repatchCompact):

  • assembler/MacroAssemblerARM.h:

(MacroAssemblerARM):
(JSC::MacroAssemblerARM::isCompactPtrAlignedAddressOffset):
(JSC::MacroAssemblerARM::load32WithCompactAddressOffsetPatch):

5:26 AM WikiStart edited by kseo@webkit.org
(diff)
5:21 AM Changeset in webkit [123734] by charles.wei@torchmobile.com.cn
  • 2 edits in trunk/Source/WebCore

Remove redundant include of PageGroup.h in FrameLoader.cpp
https://bugs.webkit.org/show_bug.cgi?id=92357

Reviewed by Kentaro Hara.

No new tests, just remove redundant include file.

  • loader/FrameLoader.cpp:
5:11 AM Changeset in webkit [123733] by kkristof@inf.u-szeged.hu
  • 2 edits in trunk/LayoutTests

[Qt] Unreviewed gardening. Skip a failing tests.
https://bugs.webkit.org/show_bug.cgi?id=92355.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-26

  • platform/qt/Skipped:
5:10 AM Changeset in webkit [123732] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[WK2] WebPage::handleEditingKeyboardEvent does not check whether the node allows editing.
https://bugs.webkit.org/show_bug.cgi?id=92364

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-26
Reviewed by Kenneth Rohde Christiansen.

Added a check whether the input node allows editing. If editing is not allowed
text input event will not be emitted.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::handleEditingKeyboardEvent):

5:01 AM Changeset in webkit [123731] by commit-queue@webkit.org
  • 13 edits in trunk

[EFL] EFL port should use XDG paths
https://bugs.webkit.org/show_bug.cgi?id=91719

Patch by Zoltan Nyul <zoltan.nyul@intel.com> on 2012-07-26
Reviewed by Kenneth Rohde Christiansen.

.:

Efreet library added.

  • Source/cmake/FindEFL.cmake:

Source/WebKit:

Add efreet library to get the xdg paths.

  • PlatformEfl.cmake:

Source/WebKit/efl:

Using xdg paths instead of home/.webkit directory for application
cache, web-database and local-storage.

  • ewk/ewk_main.cpp:

(_ewk_init_body):

Source/WebKit2:

Setting xdg paths for application cache, web-database and local-storage.

  • PlatformEfl.cmake:
  • UIProcess/efl/WebContextEfl.cpp:

(WebKit::WebContext::applicationCacheDirectory):
(WebKit::WebContext::platformDefaultDatabaseDirectory):
(WebKit::WebContext::platformDefaultLocalStorageDirectory):

Tools:

The appcache/localstorage/webdatabase path should be set in the
ewk_main.cpp instead of the DumpRenderTree, and the XDG_DATA_HOME and
XDG_CACHE_HOME should be set to different directory for each processes
for the layout-tests.

  • DumpRenderTree/efl/DumpRenderTreeChrome.cpp:

(DumpRenderTreeChrome::initialize):

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

(EflPort.setup_environ_for_server):

  • efl/jhbuild.modules:
4:52 AM Changeset in webkit [123730] by eric@webkit.org
  • 2 edits in trunk/Source/WebCore

2% of all samples running grid demo show up in StyleResolver::canShareStyleWithElement, 20% of those due to getAttribute instead of fastGetAttribute
https://bugs.webkit.org/show_bug.cgi?id=92257

Reviewed by Andreas Kling.

This check was added 7 years ago by hyatt in:
http://trac.webkit.org/changeset/10984
And then later made slow after triggering an ASSERT added:
http://trac.webkit.org/changeset/97670

SVG uses a "type" attribute (and it is animatable), but only when
used on filter elements:
http://www.w3.org/TR/SVG/attindex.html
In any case, this does not apply here, and is certainly not what
this check was originally intended for.

I've moved the check to canShareStyleWithControl
as it is only needed when the elements in question are both input elements.

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::collectMatchingRulesForList):

4:40 AM Changeset in webkit [123729] by kbalazs@webkit.org
  • 14 edits in trunk/Tools

[NRWT] should have a way to restrict pixel tests for individual directories
https://bugs.webkit.org/show_bug.cgi?id=91754

Reviewed by Dirk Pranke.

Added --pixel-test-directories option to nrwt. It implies --pixel-tests.
If the platform supports this option only tests from these directories will
be executed as pixel tests. Furthermore, platforms can have a default set of
pixel test directories. To support the feature the test harness have to be
able to inform the driver whether to dump pixels for each tests. For this
purpose I changed WTR and the Qt DRT to handle a --pixel-test argument from
the standard output and made NRWT use this argument with these drivers.

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp:

(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::processLine):
(WebCore::DumpRenderTree::setDumpPixelsForAllTests):
(WebCore::DumpRenderTree::dump):

  • DumpRenderTree/qt/DumpRenderTreeQt.h:

(DumpRenderTree):

  • DumpRenderTree/qt/main.cpp:

(main):
Handle the --pixel-test argument.

  • Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:

(SingleTestRunner._should_fetch_expected_checksum):
(SingleTestRunner._overwrite_baselines):
(SingleTestRunner._compare_output):

  • Scripts/webkitpy/layout_tests/controllers/worker.py:

(Worker._update_test_input):

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

(Port.supports_switching_pixel_tests_per_test): Ports can override this to inform
the harness that --pixel-test argument is supported. True for WTR, otherwise calls
private version that can be overridden by the actual platform. Only true with WTR
and Qt DRT currently. This supposed to exist only temporary until there are ports
that doesn't support the feature in their DRT's.
(Port):
(Port._supports_switching_pixel_tests_per_test):
(Port.should_run_as_pixel_test):
(Port._should_run_as_pixel_test): Ports can override this to define their
default set of pixel tests directories.

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

(Driver.cmd_line): Don't pass --pixel-tests if the platform supports per test
--pixel-test.
(Driver._command_from_driver_input): Pass --pixel-test if it is supported and pixel
tests are enabled.

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

(QtPort.check_sys_deps):
(QtPort):
(QtPort._supports_switching_pixel_tests_per_test):
(QtPort._should_run_as_pixel_test):
(QtPort._default_pixel_test_directories): Only compositing will be our default pixel
test directory for the time being.

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

(TestPort.supports_switching_pixel_tests_per_test):

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(_set_up_derived_options):
(parse_args):
Handle the --pixel-test-directory option. It expect a directory below LayoutTests
and can be specified multiple times. Added fixme's that we should improve how we
handle these arguments.

  • Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:

(MainTest.test_run_singly_actually_runs_tests):
(MainTest.test_pixel_test_directories):
Added an integration test for the feature.

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::TestController):
(WTR::TestController::initialize):
(WTR::TestController::runTest):

  • WebKitTestRunner/TestController.h:

(TestController):
Handle the --pixel-test argument.

4:38 AM Changeset in webkit [123728] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

[EFL] Gardening after r123634
https://bugs.webkit.org/show_bug.cgi?id=92351

Unreviewed gardening.

Newly added inspector tests failing on EFL port due to missing Geolocation support (bug 82140).
Moved Geolocation tests to TestExpectations from Skipped.

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-26

  • platform/efl/Skipped:
  • platform/efl/TestExpectations:
4:32 AM Changeset in webkit [123727] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[EFL] [WK2] Memory leak in ewk_view_resource_load_client.cpp
https://bugs.webkit.org/show_bug.cgi?id=92099

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-26
Reviewed by Kentaro Hara.

Fix a memory leak by clearing the loadingResources HashMap on exit.

  • UIProcess/API/efl/ewk_view.cpp:

(_Ewk_View_Private_Data::~_Ewk_View_Private_Data):
(_ewk_view_priv_loading_resources_clear):
(ewk_view_load_provisional_started):

3:42 AM Changeset in webkit [123726] by yurys@chromium.org
  • 5 edits in trunk/Source/WebCore

Web Inspector: add memory reporting routine to StyleResolver
https://bugs.webkit.org/show_bug.cgi?id=92259

Reviewed by Vsevolod Vlasov.

SyleResolver::reportMemoryUsage is added for estimating StyleResolver
memory footprint.

  • css/StyleResolver.cpp:

(RuleData):
(RuleSet):
(RuleSetSelectorPair):
(WebCore::StyleResolver::Features::reportMemoryUsage):
(WebCore):
(WebCore::StyleResolver::collectMatchingRulesForList):

  • css/StyleResolver.h:

(Features):
(StyleResolver):

  • dom/Document.cpp:

(WebCore::Document::reportMemoryUsage):

  • dom/MemoryInstrumentation.h:

(MemoryInstrumentation):
(WebCore::MemoryClassInfo::addInstrumentedHashSet):
(WebCore::MemoryClassInfo::addInstrumentedVector):
(WebCore::MemoryInstrumentation::addHashMap):
(WebCore):
(WebCore::MemoryInstrumentation::addInstrumentedCollection):

3:35 AM Changeset in webkit [123725] by gyuyoung.kim@samsung.com
  • 3 edits in trunk/Source/WebKit2

[DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Kentaro Hara.

Missing a symbol filter for Mac win port.

  • win/WebKit2.def:
  • win/WebKit2CFLite.def:
3:34 AM Changeset in webkit [123724] by tommyw@google.com
  • 25 edits
    13 deletes in trunk

MediaStream API: Remove DeprecatedPeerConnection
https://bugs.webkit.org/show_bug.cgi?id=92106

Reviewed by Adam Barth.

Source/WebCore:

Since we are getting ready to add an updated PeerConnection
the old DeprecatedPeerConnection will have to go.

No new tests, and old tests converted to use PeerConnection00.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Modules/mediastream/DOMWindowMediaStream.idl:
  • Modules/mediastream/DeprecatedPeerConnection.cpp: Removed.
  • Modules/mediastream/DeprecatedPeerConnection.h: Removed.
  • Modules/mediastream/DeprecatedPeerConnection.idl: Removed.
  • Modules/mediastream/SignalingCallback.h: Removed.
  • Modules/mediastream/SignalingCallback.idl: Removed.
  • PlatformBlackBerry.cmake:
  • PlatformEfl.cmake:
  • UseJSC.cmake:
  • WebCore.gypi:
  • bindings/generic/RuntimeEnabledFeatures.h:
  • bindings/js/JSDeprecatedPeerConnectionCustom.cpp: Removed.
  • dom/EventTargetFactory.in:
  • platform/mediastream/DeprecatedPeerConnectionHandler.h: Removed.
  • platform/mediastream/DeprecatedPeerConnectionHandlerClient.h: Removed.
  • platform/mediastream/blackberry/DeprecatedPeerConnectionHandler.cpp: Removed.
  • platform/mediastream/chromium/DeprecatedPeerConnectionHandler.cpp: Removed.
  • platform/mediastream/chromium/DeprecatedPeerConnectionHandlerInternal.cpp: Removed.
  • platform/mediastream/chromium/DeprecatedPeerConnectionHandlerInternal.h: Removed.
  • platform/mediastream/gstreamer/DeprecatedPeerConnectionHandler.cpp: Removed.

LayoutTests:

Changed all usages of DeprecatedPeerConnection to PeerConnection00.

  • fast/dom/call-a-constructor-as-a-function-expected.txt:
  • fast/dom/call-a-constructor-as-a-function.html:
  • fast/mediastream/peerconnection-addstream-expected.txt:
  • fast/mediastream/peerconnection-argument-types-expected.txt:
  • fast/mediastream/peerconnection-eventlistener-optional-argument.html:
  • fast/mediastream/peerconnection-mediastreamlist.html:
  • fast/mediastream/peerconnection-removestream-expected.txt:
  • fast/mediastream/script-tests/peerconnection-addstream.js:
  • fast/mediastream/script-tests/peerconnection-argument-types.js:
  • fast/mediastream/script-tests/peerconnection-removestream.js:
  • platform/chromium/fast/dom/call-a-constructor-as-a-function-expected.txt:
  • platform/gtk/fast/dom/call-a-constructor-as-a-function-expected.txt:
  • platform/gtk/fast/js/global-constructors-expected.txt:
  • platform/win/fast/dom/call-a-constructor-as-a-function-expected.txt:
3:07 AM Changeset in webkit [123723] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

[EFL] Regression(r123604): webintents/web-intents-obj-constructor.html is crashing
https://bugs.webkit.org/show_bug.cgi?id=92349

Patch by Christophe Dumez <Christophe Dumez> on 2012-07-26
Reviewed by Kentaro Hara.

Fix crash occurring after r123604, which replaced strdup()
usage with eina_stringshare_add(). Unfortunately, the DRT
was not updated accordingly to use eina_stringshare_del()
instead of free() on the values returned by Ewk_Intent
getters and it was causing
webintents/web-intents-obj-constructor.html to crash.

  • DumpRenderTree/efl/DumpRenderTreeChrome.cpp:

(DumpRenderTreeChrome::onFrameIntentNew):

2:49 AM Changeset in webkit [123722] by commit-queue@webkit.org
  • 15 edits
    26 adds in trunk

Source/WebCore: CSP 1.1: Implement the Content Security Policy script interface.
https://bugs.webkit.org/show_bug.cgi?id=91707

Patch by Mike West <mkwst@chromium.org> on 2012-07-26
Reviewed by Adam Barth.

The CSP 1.1 editor's draft defines a script interface that gives
developers the ability to query a document regarding the restrictions
set by it's currently active content security policy[1]. This patch
exposes that API in terms of a new DOMSecurityPolicy object.

Data for the API is gathered from the existing ContentSecurityPolicy
object on the containing document. CSP's various methods have been
extended with a reportingStatus parameter which, unsurprisingly,
determines whether a violation report should be sent for blocked
resources. This allows us to reuse the same codepaths by simply using
ContentSecurityPolicy::SuppressReport when querying on behalf of the
API, and ContentSecurityPolicy::SendReport when checking resources a
page wants to load.

This feature is gated on the CSP_NEXT flag, which is currently disabled
for all ports other than Chromium.

[1]: https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#script-interfaces--experimental

Tests: http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto.html

http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi.html

  • CMakeLists.txt:
  • DerivedSources.cpp:
  • DerivedSources.make:
  • DerivedSources.pri:
  • GNUmakefile.list.am:
  • WebCore.gypi:
  • bindings/gobject/GNUmakefile.am:
  • WebCore.xcodeproj/project.pbxproj:

We added a new object, so let's tell _everyone!_

  • dom/Document.cpp:

(WebCore::Document::securityPolicy):

Expose the SecurityPolicy object via Document, gated on CSP_NEXT.

(WebCore):

  • dom/Document.h:

(WebCore):
(Document):

  • dom/Document.idl:

Adding the SecurityPolicy object to the document, gated on CSP_NEXT.

  • page/ContentSecurityPolicy.cpp:

(CSPDirectiveList):
(WebCore::CSPDirectiveList::checkInline):
(WebCore::CSPDirectiveList::checkNonce):
(WebCore::CSPDirectiveList::checkSource):

Extracting the core checks out into separate methods.

(WebCore::CSPDirectiveList::checkEvalAndReportViolation):

Use checkEval.

(WebCore::CSPDirectiveList::checkNonceAndReportViolation):

Use checkNonce.

(WebCore::CSPDirectiveList::checkInlineAndReportViolation):

Use checkInline.

(WebCore::CSPDirectiveList::checkSourceAndReportViolation):

Use checkSource.

(WebCore::CSPDirectiveList::allowJavaScriptURLs):
(WebCore::CSPDirectiveList::allowInlineEventHandlers):
(WebCore::CSPDirectiveList::allowInlineScript):
(WebCore::CSPDirectiveList::allowInlineStyle):
(WebCore::CSPDirectiveList::allowEval):
(WebCore::CSPDirectiveList::allowScriptFromSource):
(WebCore::CSPDirectiveList::allowObjectFromSource):
(WebCore::CSPDirectiveList::allowChildFrameFromSource):
(WebCore::CSPDirectiveList::allowImageFromSource):
(WebCore::CSPDirectiveList::allowStyleFromSource):
(WebCore::CSPDirectiveList::allowFontFromSource):
(WebCore::CSPDirectiveList::allowMediaFromSource):
(WebCore::CSPDirectiveList::allowConnectToSource):

These methods now branch on reportingStatus: if SendReoport,
they call checkXAndReportViolation, otherwise, they call checkX.

(WebCore::CSPDirectiveList::gatherReportURIs):

New method that gathers the violation report URIs into a DOMStringList.

(WebCore::isAllowedByAllWithCallStack):
(WebCore::isAllowedByAllWithContext):
(WebCore::isAllowedByAllWithURL):

These now pass reportingStatus through to the various allowX methods.

(WebCore::ContentSecurityPolicy::allowJavaScriptURLs):
(WebCore::ContentSecurityPolicy::allowInlineEventHandlers):
(WebCore::ContentSecurityPolicy::allowInlineScript):
(WebCore::ContentSecurityPolicy::allowInlineStyle):
(WebCore::ContentSecurityPolicy::allowEval):
(WebCore::ContentSecurityPolicy::allowScriptFromSource):
(WebCore::ContentSecurityPolicy::allowObjectFromSource):
(WebCore::ContentSecurityPolicy::allowChildFrameFromSource):
(WebCore::ContentSecurityPolicy::allowImageFromSource):
(WebCore::ContentSecurityPolicy::allowStyleFromSource):
(WebCore::ContentSecurityPolicy::allowFontFromSource):
(WebCore::ContentSecurityPolicy::allowMediaFromSource):
(WebCore::ContentSecurityPolicy::allowConnectToSource):

These accept a new reportingStatus parameter, which is passed through
to the CSPDirectiveList methods.

(WebCore::ContentSecurityPolicy::isActive):

New method that returns true if policy is active.

(WebCore::ContentSecurityPolicy::gatherReportURIs):

New method that returns a DOMStringList of violation report URIs.

  • page/ContentSecurityPolicy.h:

(WebCore):

  • page/DOMSecurityPolicy.cpp: Added.

(WebCore::DOMSecurityPolicy::DOMSecurityPolicy):
(WebCore):
(WebCore::DOMSecurityPolicy::~DOMSecurityPolicy):
(WebCore::DOMSecurityPolicy::isActive):
(WebCore::DOMSecurityPolicy::reportURIs):
(WebCore::DOMSecurityPolicy::allowsInlineScript):
(WebCore::DOMSecurityPolicy::allowsInlineStyle):
(WebCore::DOMSecurityPolicy::allowsEval):
(WebCore::DOMSecurityPolicy::allowsConnectionTo):
(WebCore::DOMSecurityPolicy::allowsFontFrom):
(WebCore::DOMSecurityPolicy::allowsFrameFrom):
(WebCore::DOMSecurityPolicy::allowsImageFrom):
(WebCore::DOMSecurityPolicy::allowsMediaFrom):
(WebCore::DOMSecurityPolicy::allowsObjectFrom):
(WebCore::DOMSecurityPolicy::allowsScriptFrom):
(WebCore::DOMSecurityPolicy::allowsStyleFrom):

  • page/DOMSecurityPolicy.h: Added.

(WebCore):
(DOMSecurityPolicy):
(WebCore::DOMSecurityPolicy::create):

  • page/DOMSecurityPolicy.idl: Added.

LayoutTests: Implement the experimental Content Security Policy script interface.
https://bugs.webkit.org/show_bug.cgi?id=91707

Patch by Mike West <mkwst@chromium.org> on 2012-07-26
Reviewed by Adam Barth.

  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi.html: Added.
  • http/tests/security/contentSecurityPolicy/resources/securitypolicy-tests-base.js: Added.

(log):
(injectPolicy):

2:46 AM Changeset in webkit [123721] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/Source/WebCore

Unreviewed. Fix build break on mac win port by r123716.

  • platform/KURL.h:

(KURL):

2:36 AM Changeset in webkit [123720] by kkristof@inf.u-szeged.hu
  • 2 edits
    7 adds in trunk/LayoutTests

[Qt] Unreviewed gardening. Added Qt5 specific expected results and png.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-26

  • platform/qt-5.0-wk2/fast/block/float/overhanging-tall-block-expected.png: Added after r123551.
  • platform/qt-5.0-wk2/fast/block/float/overhanging-tall-block-expected.txt: Added after r123551.
  • platform/qt-5.0-wk2/platform/qt/plugins/application-plugin-plugins-disabled-expected.png: Added after r123514.
  • platform/qt-5.0-wk2/platform/qt/plugins/application-plugin-plugins-disabled-expected.txt: Update after r123514.
  • platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.png: Added after r123631.
  • platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.txt: Added after r123631.
  • platform/qt-5.0/css2.1/t0905-c5525-fltblck-00-d-ag-expected.png: Added after r123631.
  • platform/qt-5.0/css2.1/t0905-c5525-fltblck-00-d-ag-expected.txt: Added after r123631.
2:32 AM Changeset in webkit [123719] by vsevik@chromium.org
  • 17 edits
    4 deletes in trunk

Unreviewed, rolling out r123715.
http://trac.webkit.org/changeset/123715
https://bugs.webkit.org/show_bug.cgi?id=92356

Breaks compilation on multiple platforms (Requested by vsevik
on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26

Source/WebCore:

  • inspector/InspectorController.cpp:

(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::inspectedPageDestroyed):

  • inspector/InspectorInstrumentation.cpp:

(WebCore):

  • inspector/InspectorInstrumentation.h:

(InspectorInstrumentation):

  • inspector/InspectorResourceAgent.cpp:

(WebCore::InspectorResourceAgent::didReceiveData):
(WebCore::InspectorResourceAgent::getResponseBody):

  • inspector/InspectorResourceAgent.h:

(InspectorResourceAgent):

  • inspector/NetworkResourcesData.cpp:

(WebCore::NetworkResourcesData::ResourceData::ResourceData):
(WebCore::NetworkResourcesData::ResourceData::setContent):
(WebCore::NetworkResourcesData::ResourceData::dataLength):
(WebCore::NetworkResourcesData::ResourceData::appendData):
(WebCore::NetworkResourcesData::ResourceData::decodeDataToContent):
(WebCore::NetworkResourcesData::setResourceContent):
(WebCore::NetworkResourcesData::maybeAddResourceData):
(WebCore::NetworkResourcesData::maybeDecodeDataToContent):
(WebCore::NetworkResourcesData::setResourcesDataSizeLimits):
(WebCore::NetworkResourcesData::ensureFreeSpace):

  • inspector/NetworkResourcesData.h:

(ResourceData):
(WebCore::NetworkResourcesData::ResourceData::cachedResource):
(NetworkResourcesData):

  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::~CachedResource):
(WebCore::CachedResource::removeClient):
(WebCore::CachedResource::deleteIfPossible):

  • loader/cache/CachedResource.h:

(CachedResource):

  • loader/cache/CachedResourceLoader.cpp:

(WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired):
(WebCore::CachedResourceLoader::clearPreloads):

  • loader/cache/CachedResourceLoader.h:

(CachedResourceLoader):

  • loader/cache/MemoryCache.cpp:

(WebCore::MemoryCache::evict):

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

(Internals):

LayoutTests:

  • http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt: Removed.
  • http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html: Removed.
  • http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt: Removed.
  • http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html: Removed.
2:28 AM Changeset in webkit [123718] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/Source/WebKit/win

[Mac] Fix build break on Apple win bot after r123711
https://bugs.webkit.org/show_bug.cgi?id=92354

Reviewed by Adam Barth.

Missing return value.

  • WebFrame.cpp:

(WebFrame::pageNumberForElementById):

2:09 AM Changeset in webkit [123717] by kkristof@inf.u-szeged.hu
  • 2 edits in trunk/LayoutTests

[Qt] Unreviewed gardening. Skip the failing tests.

  • platform/qt/Skipped:
1:55 AM Changeset in webkit [123716] by gyuyoung.kim@samsung.com
  • 22 edits in trunk/Source/WebCore

Add *explicit* keyword to constructors in WebCore/platform
https://bugs.webkit.org/show_bug.cgi?id=92238

Reviewed by Kentaro Hara.

As a step to let *explicit* keyword add to constructors which have a parameter,
*explicit* keyword is added to Source/WebCore/platform in order to avoid implicit
type conversion.

Some files in platform directory can't use explicit keyword because of build breaks.

No new tests. Covered by existing tests.

  • platform/AutodrainedPool.h:

(AutodrainedPool):

  • platform/ContentType.h:

(ContentType):

  • platform/ContextMenu.h:

(ContextMenu):

  • platform/ContextMenuItem.h:

(ContextMenuItem):

  • platform/Cursor.h:

(WebCore::SharedCursor::SharedCursor):
(Cursor):

  • platform/KURL.h:

(WebCore::KURL::KURL):
(KURL):

  • platform/KURLGooglePrivate.h:

(KURLGooglePrivate):

  • platform/PODRedBlackTree.h:

(WebCore::PODRedBlackTree::PODRedBlackTree):

  • platform/Pasteboard.h:

(Pasteboard):

  • platform/PlatformEvent.h:

(WebCore::PlatformEvent::PlatformEvent):

  • platform/PlatformKeyboardEvent.h:

(PlatformKeyboardEvent):

  • platform/PlatformMouseEvent.h:

(PlatformMouseEvent):

  • platform/PlatformPasteboard.h:

(PlatformPasteboard):

  • platform/PlatformTouchEvent.h:

(PlatformTouchEvent):

  • platform/PlatformWheelEvent.h:

(PlatformWheelEvent):

  • platform/RunLoop.h:

(TimerBase):

  • platform/ScrollAnimator.h:

(ScrollAnimator):

  • platform/ScrollAnimatorNone.h:

(ScrollAnimatorNone):

  • platform/SharedBuffer.h:

(SharedBuffer):

  • platform/WheelFlingPlatformGestureCurve.h:

(WheelFlingPlatformGestureCurve):

  • platform/Widget.h:

(Widget):

1:48 AM Changeset in webkit [123715] by vsevik@chromium.org
  • 17 edits
    4 adds in trunk

Web Inspector: Resource agent's reference to cached resources should be weak.
https://bugs.webkit.org/show_bug.cgi?id=92108

Reviewed by Pavel Feldman.

Source/WebCore:

NetworkResourcesData now stores a raw pointer to CachedResource.
CachedResource now notifies InspectorInstrumentation that it will be destroyed.
InspectorInstrumentation stores a set of InstrumentingAgents and broadcasts willDestroyCachedResource event to all available resourceAgents.
Destroyed resources content is saved to NetworkResourcesData.
Changed content size variables type in NetworkResourcesData from int to size_t.

Tests: http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html

http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html

  • inspector/InspectorController.cpp:

(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::inspectedPageDestroyed):

  • inspector/InspectorInstrumentation.cpp:

(WebCore):
(WebCore::InspectorInstrumentation::willDestroyCachedResourceImpl):
(WebCore::InspectorInstrumentation::registerInstrumentingAgents):
(WebCore::InspectorInstrumentation::unregisterInstrumentingAgents):

  • inspector/InspectorInstrumentation.h:

(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::willDestroyCachedResource):
(WebCore):

  • inspector/InspectorResourceAgent.cpp:

(WebCore::InspectorResourceAgent::didReceiveData):
(WebCore::InspectorResourceAgent::willDestroyCachedResource):
(WebCore):
(WebCore::InspectorResourceAgent::getResponseBody):

  • inspector/InspectorResourceAgent.h:

(InspectorResourceAgent):

  • inspector/NetworkResourcesData.cpp:

(WebCore::NetworkResourcesData::ResourceData::ResourceData):
(WebCore::NetworkResourcesData::ResourceData::setContent):
(WebCore::NetworkResourcesData::ResourceData::dataLength):
(WebCore::NetworkResourcesData::ResourceData::appendData):
(WebCore::NetworkResourcesData::ResourceData::decodeDataToContent):
(WebCore::NetworkResourcesData::setResourceContent):
(WebCore::NetworkResourcesData::maybeAddResourceData):
(WebCore::NetworkResourcesData::maybeDecodeDataToContent):
(WebCore::NetworkResourcesData::removeCachedResource):
(WebCore):
(WebCore::NetworkResourcesData::setResourcesDataSizeLimits):
(WebCore::NetworkResourcesData::ensureFreeSpace):

  • inspector/NetworkResourcesData.h:

(ResourceData):
(WebCore::NetworkResourcesData::ResourceData::base64Encoded):
(WebCore::NetworkResourcesData::ResourceData::cachedResource):
(NetworkResourcesData):

  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::~CachedResource):
(WebCore::CachedResource::removeClient):
(WebCore::CachedResource::deleteIfPossible):

  • loader/cache/CachedResource.h:

(CachedResource):

  • loader/cache/CachedResourceLoader.cpp:

(WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired):
(WebCore::CachedResourceLoader::garbageCollectDocumentResources):
(WebCore::CachedResourceLoader::clearPreloads):

  • loader/cache/CachedResourceLoader.h:

(CachedResourceLoader):

  • loader/cache/MemoryCache.cpp:

(WebCore::MemoryCache::evict):

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

(WebCore::Internals::garbageCollectDocumentResources):
(WebCore):

  • testing/Internals.h:

(Internals):

LayoutTests:

  • http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt: Added.
  • http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html: Added.
  • http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt: Added.
  • http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html: Added.
1:32 AM Changeset in webkit [123714] by macpherson@chromium.org
  • 2 edits
    2 adds in trunk

Fix null ptr deref in CSSParser::storeVariableDeclaration().
https://bugs.webkit.org/show_bug.cgi?id=92333

Reviewed by Andreas Kling.

Fix null pointer deref that occurs if the CSSParserValue couldn't be converted to a CSSValue.

Test fast/css/variables/variable-unparseable-value-crash.html added.

  • css/CSSParser.cpp:

(WebCore::CSSParser::storeVariableDeclaration):

1:11 AM Changeset in webkit [123713] by shinyak@chromium.org
  • 14 edits
    48 adds in trunk

Source/WebCore: Add UserAgentShadowDOM to FormControlElement just before adding AuthorShadowDOM
https://bugs.webkit.org/show_bug.cgi?id=90866

Reviewed by Hajime Morita.

It ensures that UserAgentShadowDOM is the oldest ShadowDOM.

To show ValidationMessage, WebKit adds a Shadow DOM to some of FormControlElements.
ValidationMessage assumes that the added Shadow DOM is the oldest, however, there was a case
that a page author might add a Shadow DOM before ValidationMessage adds a Shadow DOM.
It will break the assumption that the Shadow DOM added by ValidationMessage is the oldest.
So we have prohibited a page author adding a Shadow DOM to FormControlElement.

To add UserAgentShadowDOM, we use a callback which is called before a page author adding a Shadow DOM.
It adds a UserAgentShadowDOM if it does not exist, so we can ensure that UserAgentShadowDOM is the oldest.

Tests: fast/dom/shadow/input-with-validation-without-shadow.html

fast/dom/shadow/input-with-validation.html
fast/dom/shadow/shadowdom-for-button-complex-shadow.html
fast/dom/shadow/shadowdom-for-button-only-shadow.html
fast/dom/shadow/shadowdom-for-button-without-shadow.html
fast/dom/shadow/shadowdom-for-fieldset-complex-shadow.html
fast/dom/shadow/shadowdom-for-fieldset-only-shadow.html
fast/dom/shadow/shadowdom-for-fieldset-without-shadow.html
fast/dom/shadow/shadowdom-for-form-associated-element-useragent.html
fast/dom/shadow/shadowdom-for-keygen-complex-shadow.html
fast/dom/shadow/shadowdom-for-keygen-only-shadow.html
fast/dom/shadow/shadowdom-for-keygen-without-shadow.html
fast/dom/shadow/shadowdom-for-object-complex-shadow.html
fast/dom/shadow/shadowdom-for-object-only-shadow.html
fast/dom/shadow/shadowdom-for-object-without-shadow.html
fast/dom/shadow/shadowdom-for-output-complex-shadow.html
fast/dom/shadow/shadowdom-for-output-only-shadow.html
fast/dom/shadow/shadowdom-for-output-without-shadow.html
fast/dom/shadow/shadowdom-for-select-complex-shadow.html
fast/dom/shadow/shadowdom-for-select-only-shadow.html
fast/dom/shadow/shadowdom-for-select-without-shadow.html
fast/dom/shadow/shadowdom-for-textarea-complex-shadow.html
fast/dom/shadow/shadowdom-for-textarea-only-shadow.html
fast/dom/shadow/shadowdom-for-textarea-without-shadow.html

  • dom/ShadowRoot.cpp:

(WebCore::allowsAuthorShadowRoot):

  • html/FormAssociatedElement.cpp:

(WebCore::FormAssociatedElement::ensureUserAgentShadowRoot): Ensures the existence of a UserAgentShadowRoot.
If it does not exist, we create it with empty content.
(WebCore):

  • html/FormAssociatedElement.h:

(FormAssociatedElement):

  • html/HTMLFormControlElement.cpp:

(WebCore::HTMLFormControlElement::willAddAuthorShadowRoot):
(WebCore):

  • html/HTMLFormControlElement.h:

(HTMLFormControlElement):

  • html/ValidationMessage.cpp:

(WebCore::adjustBubblePosition): When AuthroShadowRoot does not a shadow element, ValidationMessage
does not have a renderer. So we have to check the existence of renderer.
(WebCore::ValidationMessage::buildBubbleTree):

LayoutTests: Add UserAgentShadowDOM to FormControlElement just before ading UserShadowDOM
https://bugs.webkit.org/show_bug.cgi?id=90866

Reviewed by Hajime Morita.

Added a lot of tests of ShadowDOM for replaced elements. They don't crash,
but many of them are not rendered correctly. Please see Bug 82313,
which is a meta bug of Shadow DOM for replaced elements.

  • fast/dom/shadow/input-with-validation-expected.html: Added.
  • fast/dom/shadow/input-with-validation-without-shadow-expected.html: Added.
  • fast/dom/shadow/input-with-validation-without-shadow.html: Added.
  • fast/dom/shadow/input-with-validation.html: Added.
  • fast/dom/shadow/shadow-disable-expected.txt:
  • fast/dom/shadow/shadow-disable.html:
  • fast/dom/shadow/shadowdom-for-button-complex-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-button-complex-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-button-only-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-button-only-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-button-without-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-button-without-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-fieldset-complex-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-fieldset-complex-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-fieldset-only-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-fieldset-only-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-fieldset-without-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-fieldset-without-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-form-associated-element-useragent-expected.txt: Added.
  • fast/dom/shadow/shadowdom-for-form-associated-element-useragent.html: Added.
  • fast/dom/shadow/shadowdom-for-keygen-complex-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-keygen-complex-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-keygen-only-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-keygen-only-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-keygen-without-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-keygen-without-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-object-complex-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-object-complex-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-object-only-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-object-only-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-object-without-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-object-without-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-output-complex-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-output-complex-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-output-only-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-output-only-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-output-without-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-output-without-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-select-complex-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-select-complex-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-select-only-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-select-only-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-select-without-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-select-without-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-textarea-complex-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-textarea-complex-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-textarea-only-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-textarea-only-shadow.html: Added.
  • fast/dom/shadow/shadowdom-for-textarea-without-shadow-expected.html: Added.
  • fast/dom/shadow/shadowdom-for-textarea-without-shadow.html: Added.
  • platform/chromium/TestExpectations:
  • platform/efl/TestExpectations:
  • platform/qt/Skipped:
  • platform/wincairo/Skipped:
12:48 AM Changeset in webkit [123712] by abarth@webkit.org
  • 2 edits in trunk/Tools

Unreviewed attempt to fix the chromium-win build.

  • DumpRenderTree/chromium/TestRunner/TestRunner.cpp:
12:06 AM Changeset in webkit [123711] by Kaustubh Atrawalkar
  • 37 edits in trunk

.: [DRT] LTC:: pageNumberForElementById() could be moved to Internals.
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Adam Barth.

Exporting Internals::pageNumber symbols for the Gtk build.

  • Source/autotools/symbols.filter:

Source/WebCore: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Adam Barth.

Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.

Covered by existing test cases.

  • testing/Internals.cpp:

(WebCore::Internals::counterValue):
(WebCore):
(WebCore::Internals::pageNumber):

  • testing/Internals.h:

(Internals):
(WebCore::Internals::pageNumber):

  • testing/Internals.idl:

Source/WebKit/efl: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Adam Barth.

Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.

  • WebCoreSupport/DumpRenderTreeSupportEfl.cpp:

Source/WebKit/gtk: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Adam Barth.

Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
  • WebCoreSupport/DumpRenderTreeSupportGtk.h:

(DumpRenderTreeSupportGtk):

Source/WebKit/qt: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Adam Barth.

Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  • WebCoreSupport/DumpRenderTreeSupportQt.h:

Source/WebKit/win: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Adam Barth.

Moved the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.

  • WebFrame.cpp: Added comment for removing the function. Removed implementation.

Tools: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Adam Barth.

Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.

  • DumpRenderTree/LayoutTestController.cpp:

(LayoutTestController::staticFunctions):

  • DumpRenderTree/LayoutTestController.h:

(LayoutTestController):

  • DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
  • DumpRenderTree/chromium/LayoutTestController.cpp:

(LayoutTestController::LayoutTestController):
(LayoutTestController::setPrinting):

  • DumpRenderTree/chromium/LayoutTestController.h:

(LayoutTestController):

  • DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  • DumpRenderTree/mac/LayoutTestControllerMac.mm:
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  • DumpRenderTree/qt/LayoutTestControllerQt.h:

(LayoutTestController):

  • DumpRenderTree/win/LayoutTestControllerWin.cpp:
  • DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  • WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:

(WTR):

  • WebKitTestRunner/InjectedBundle/LayoutTestController.h:

(LayoutTestController):

LayoutTests: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091

Reviewed by Adam Barth.

Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.

  • printing/pageNumerForElementById-expected.txt:
  • printing/resources/paged-media-test-utils.js:

(pageNumberForElementShouldBe):

  • printing/return-from-printing-mode.html:
  • printing/script-tests/pageNumerForElementById.js:
Note: See TracTimeline for information about the timeline view.