[Chromium] LayoutTests/fast/js/string-replacement-outofmemory.html crashes
https://bugs.webkit.org/show_bug.cgi?id=103348

Reviewed by Abhishek Arya.

Add a comment to explain that the crash is expected and is performed in an
orderly fashion.

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Console: hovering node wrappers in object tree should highlight them on the page
https://bugs.webkit.org/show_bug.cgi?id=101150

Reviewed by Vsevolod Vlasov.

- Introduced a way to highlight nodes by object id in addition to node id.
- Decorated nodes in the object tree outline and added on-hover highlighting.

* inspector/Inspector.json:
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::highlightNode):
* inspector/InspectorDOMAgent.h:
(InspectorDOMAgent):
* inspector/front-end/ConsoleMessage.js:
(WebInspector.ConsoleMessageImpl.prototype._appendPropertyPreview):
* inspector/front-end/DOMAgent.js:
(WebInspector.DOMAgent.prototype.highlightDOMNode):
* inspector/front-end/DOMPresentationUtils.js:
(WebInspector.DOMPresentationUtils.createSpansForNodeTitle):
* inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.prototype.update):
(WebInspector.ObjectPropertyTreeElement.prototype._mouseMove):
(WebInspector.ObjectPropertyTreeElement.prototype._mouseOut):
* inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject.prototype.highlightAsDOMNode):
(WebInspector.RemoteObject.prototype.hideDOMNodeHighlight):
* inspector/front-end/TestController.js:
* inspector/front-end/externs.js:
* inspector/front-end/inspector.css:
(.console-formatted-node:hover):
* inspector/front-end/utilities.js:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: introduce fast case for within-chunk edit
https://bugs.webkit.org/show_bug.cgi?id=103545

Reviewed by Vsevolod Vlasov.

Special-casing edits within the chunk for faster operation.

* inspector/front-end/DOMExtension.js:
(removeSubsequentNodes):
* inspector/front-end/DefaultTextEditor.js:
(WebInspector.TextEditorMainPanel.prototype._updateChunksForRanges):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[New Multicolumn] Add minimum column height tracking and forced break tracking to column sets.
https://bugs.webkit.org/show_bug.cgi?id=103657

Reviewed by Simon Fraser.

* rendering/RenderMultiColumnSet.cpp:
(WebCore::RenderMultiColumnSet::RenderMultiColumnSet):
* rendering/RenderMultiColumnSet.h:
(WebCore::RenderMultiColumnSet::updateMinimumColumnHeight):
(WebCore::RenderMultiColumnSet::minimumColumnHeight):
(RenderMultiColumnSet):
(WebCore::RenderMultiColumnSet::forcedBreaksCount):
(WebCore::RenderMultiColumnSet::forcedBreakOffset):
(WebCore::RenderMultiColumnSet::maximumDistanceBetweenForcedBreaks):
(WebCore::RenderMultiColumnSet::clearForcedBreaks):
(WebCore::RenderMultiColumnSet::addForcedBreak):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Be consistent in handling of frameAtIndex (and related) returns.
https://bugs.webkit.org/show_bug.cgi?id=103207

Patch by Brent Fulgham <bfulgham@gmail.com> on 2012-11-29
Reviewed by David Hyatt.

Under various conditions, frameAtIndex (and therefore,
nativeImageForCurrentFrame) returns null. A series of bugs over
the years has ensured null returns are handled in some cases,
but there are a handful of remaining cases where this is still a
problem.

No new tests, as these low-level functions are covered by
numerous existing test cases.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Cookies in private mode should not have access to public cookies
https://bugs.webkit.org/show_bug.cgi?id=103649

Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-11-29
Reviewed by Rob Buis.

PR 253983

When CookieManager switches back from public to private mode,
we will clear the cookie tree so the browser won't have access
to the public cookies.

Tested using browser.swlab.rim.net cookie tests and the steps in
the PR.

* platform/blackberry/CookieManager.cpp:
(WebCore::CookieManager::setPrivateMode):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Typo in Color creation function name
https://bugs.webkit.org/show_bug.cgi?id=103464

Patch by Helder Correia <helder.correia@nokia.com> on 2012-11-29
Reviewed by Alexey Proskuryakov.

Renaming createUnCheked() as createUnchecked().

No new tests.

* platform/graphics/Color.cpp:
(WebCore::colorFromPremultipliedARGB):
* platform/graphics/Color.h:
(WebCore::Color::createUnchecked):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Grid Layout] track sizing functions should have their own type
https://bugs.webkit.org/show_bug.cgi?id=103343

Reviewed by Tony Chang.

The current code uses a Length to represent the track sizing function. This is
fine as we only parse <length> | <percentage> but in order to support minmax
sizing, we have to store 2 Lengths. We could go with a pair but that would make
the code not very readable so this change introduces GridTrackSize.

Refactoring, covered by existing tests.

* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
Added GridTrackSize.h to all our build systems.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::valueForGridTrackBreadth):
(WebCore::valueForGridTrackList):
* css/StyleResolver.cpp:
(WebCore::createGridTrackBreadth):
(WebCore::createGridTrackList):
(WebCore::StyleResolver::applyProperty):
* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::computePreferredLogicalWidths):
(WebCore::RenderGrid::computedUsedBreadthOfGridTracks):
* rendering/style/RenderStyle.h:
Updated the above call sites to use GridTrackSize. While
touching them, changed the code to use an empty Vector to represent
'none' instead of Length(Undefined).

* rendering/style/StyleGridData.h:
Updated #include, removed a comment as it would have gone stale after
adding more grammar support and added a FIXME to rename some variables.

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::layoutGridItems):
Implemented a work-around to avoid crashing due to implicit columns / rows.

* rendering/style/GridTrackSize.h: Added.
(WebCore::GridTrackSize::GridTrackSize):
(WebCore::GridTrackSize::length):
(WebCore::GridTrackSize::setLength):
(WebCore::GridTrackSize::type):
(WebCore::GridTrackSize::operator==):
New class, it now only wraps a single Length.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=103577
TiledDrawingArea should recycle tiles
-and corresponding-
<rdar://problem/12714586>

Reviewed by Simon Fraser.

New class LayerPool will keep a list of layers to reuse so that 
we can avoid creating and destroying so many layer.

When removing layers, add them to the LayerPool
* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::revalidateTiles):

Before creating a new layer, try to get one of the appropriate size 
from the LayerPool.
(WebCore::TileCache::createTileLayer):

New class.
* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/ca/mac/LayerPool.h: Added.
(WebCore):
(LayerPool):
(WebCore::LayerPool::capacity):
(WebCore::LayerPool::canReuseLayerWithSize):
* platform/graphics/ca/mac/LayerPool.mm: Added.
(WebCore):
(WebCore::LayerPool:: LayerPool):
(WebCore::LayerPool::sharedPool):
(WebCore::LayerPool::bytesBackingLayerWithPixelSize):
(WebCore::LayerPool::listOfLayersWithSize):
(WebCore::LayerPool::addLayer):
(WebCore::LayerPool::takeLayerWithSize):
(WebCore::LayerPool::decayedCapacity):
(WebCore::LayerPool::schedulePrune):
(WebCore::LayerPool::prune):
(WebCore::LayerPool::drain):

If we're under memory pressure, drain the LayerPool
* platform/mac/MemoryPressureHandlerMac.mm:
(WebCore::MemoryPressureHandler::releaseMemory):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] [WebKit2] Embed the HTTP authentication dialog into the WebView
https://bugs.webkit.org/show_bug.cgi?id=103277

Patch by Martin Robinson <mrobinson@igalia.com> on 2012-11-29
Reviewed by Carlos Garcia Campos.

Source/WebCore:

Refactor the WebCore authentication dialog so that it can be reused for the WebKit2
embedded authentication dialog. The main purpose of this refactor is so that the
dialog does not rely on GtkDialog to add the action buttons to the dialog itself.
This also simplifies the structure of the dialog, using the GtkTable or GtkGrid to
contain more of the widget elements, greatly simplifying this code. We also expose
a new constructor that does not create the parent GtkDialog -- so that WebKit2
can embed the dialog directly into the WebView.

No new tests. This shouldn't change behavior, only slightly the look of the authentication
dialog.

* platform/gtk/GtkAuthenticationDialog.cpp:
(WebCore::GtkAuthenticationDialog::GtkAuthenticationDialog): Added this new constructor
which does not add the dialog contents to a GtkDialog.
(WebCore::packTwoColumnLayoutInBox): Added this generic method for creating a two column
layout in the style the dialog box needs (for both GTK+ 2.x and GTK+ 3.x).
(WebCore::createDialogLabel): Added this helper.
(WebCore::createDialogEntry): ditto.
(WebCore::GtkAuthenticationDialog::createContentsInContainer): Added this method which
can be used by subclasses to add the guts of the dialog to the parent container.
(WebCore::GtkAuthenticationDialog::show): Added some focus/default handling code that
GtkDialog was calling before.
(WebCore::GtkAuthenticationDialog::buttonClickedCallback): Added a button clicked handler.
Before GtkDialog handled this.
* platform/gtk/GtkAuthenticationDialog.h: Updated methods to reflect new functionality.
(WebCore::GtkAuthenticationDialog::~GtkAuthenticationDialog): Inline the default constructor.

Source/WebKit2:

Embed the WebKit2 HTTP authentication dialog into the WebView. Add the dialog as a child
of the WebKitWebViewBase container (like the web inspector).

We do not yet properly handle pages that require authentication for more than one resource.
As that is an uncommon situation, it will be handled in another patch.

* UIProcess/API/gtk/WebKit2GtkAuthenticationDialog.cpp:
(WebKit::drawSignal): We have to override the draw signal of the dialog to draw
a GtkWindow background on the widget. This is required because the widget doesn't
have a real GtkWindow to draw its background.
(WebKit::loadChangedSignal): When a new load starts in the WebView destroy the dialog. This
is so that the dialog doesn't stick around when the user chooses to navigate away from the
page requiring authentication.
(WebKit::WebKit2GtkAuthenticationDialog::WebKit2GtkAuthenticationDialog): Create an eventbox
and frame to hold the dialog contents. Also append the 'background' widget class to the
event box, so that it can draw a GtkWindow background in the draw signal handler.
(WebKit::WebKit2GtkAuthenticationDialog::~WebKit2GtkAuthenticationDialog): Disconnect the
load status changed signal handler.
(WebKit::WebKit2GtkAuthenticationDialog::show): When it's time to show the dialog, add it to
WebKitWebViewBase.
* UIProcess/API/gtk/WebKit2GtkAuthenticationDialog.h: Add some new methods for handling the
embedded dialog.
* UIProcess/API/gtk/WebKitLoaderClient.cpp:
(didReceiveAuthenticationChallengeInFrame): Collapse the creation of the dialog into one line.
* UIProcess/API/gtk/WebKitWebViewBase.cpp:
(_WebKitWebViewBasePrivate): Add the dialog as a property of the private structure.
(webkitWebViewChildIsInternalWidget): Added this helper used for determining when a child widget
is "internal" (ie the web inspector or the authentication dialog).
(webkitWebViewBaseContainerAdd): Only add non-internal widgets to the children map.
(webkitWebViewBaseAddAuthenticationDialog): Added.
(webkitWebViewBaseAddWebInspector): Added this more-foolproof method of adding a web inspector
to the WebView. This also aligns it with the way the authentication dialog is added.
(webkitWebViewBaseContainerRemove): When removing the authentication dialog, zero out the
field in the private structure.
(webkitWebViewBaseContainerForall): Add support for the authentication dialog here too.
(webkitWebViewBaseChildMoveResize): Don't pass on move_resize events to internal children.
(webkit_web_view_base_init): Zero out the authentication dialog member on init.
(webkitWebViewBaseDraw): If the authentication dialog is active, draw a shadow over web content.
(resizeWebKitWebViewBaseFromAllocation): Make the authentication dialog centered in the view.
(webkitWebViewBaseKeyPressEvent): Pass on key events to the authentication dialog if active.
(webkitWebViewBaseButtonPressEvent): If the authentication dialog is active don't pass button events
to web content.
(webkitWebViewBaseButtonReleaseEvent):  Ditto.
(webkitWebViewBaseScrollEvent): Ditto.
(webkitWebViewBaseMotionNotifyEvent): Ditto.
(webkitWebViewBaseFocus): Pass on focus events to the authentication dialog so that tabbing between
elements in the dialog works correctly.
(webkit_web_view_base_class_init): Hook up the focus event.
* UIProcess/API/gtk/WebKitWebViewBasePrivate.h: Add new methods for adding the authentication dialog
and the web inspector.
* UIProcess/gtk/WebInspectorProxyGtk.cpp:
(WebKit::WebInspectorProxy::createInspectorWindow): Use the new method for adding the web inspector.

Tools:

Skip the new WebKit2GtkAuthenticationDialog files so that they are not processed
during gtkdoc generation.

* gtk/generate-gtkdoc:
(get_webkit2_options):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Expectations update

Unreviewed expectation.

These expectations seem to have been rebaselined in error or missed
being rebaselined during the great Skia rebaseline of Thanksgiving
Day. This fixes some failing expectations and removes some incorrect
expectations that crept in.

* fast/repaint/bugzilla-6278-expected.png: Added.
* fast/repaint/invisible-objects-expected.png: Added.
* platform/chromium-mac-lion/fast/repaint/box-shadow-h-expected.png:
* platform/chromium-mac-lion/fast/repaint/box-shadow-v-expected.png:
* platform/chromium-mac-lion/fast/repaint/bugzilla-6278-expected.png: Added.
* platform/chromium-mac-lion/fast/repaint/invisible-objects-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/repaint/box-shadow-h-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/box-shadow-v-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/bugzilla-6278-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/text/line-initial-and-final-swashes-expected.png: Removed.
* platform/chromium-mac/fast/repaint/box-shadow-h-expected.png:
* platform/chromium-mac/fast/repaint/box-shadow-v-expected.png:
* platform/chromium-mac/fast/repaint/bugzilla-6278-expected.png: Added.
* platform/chromium-mac/fast/repaint/iframe-scroll-repaint-expected.png: Added.
* platform/chromium-win-xp/fast/repaint/box-shadow-h-expected.png:
* platform/chromium-win-xp/fast/repaint/box-shadow-v-expected.png:
* platform/chromium-win/fast/repaint/body-background-image-expected.png:
* platform/chromium-win/fast/repaint/box-shadow-h-expected.png:
* platform/chromium-win/fast/repaint/box-shadow-v-expected.png:
* platform/chromium-win/fast/repaint/invisible-objects-expected.png: Added.
* platform/chromium-win/fast/text/font-initial-expected.png:
* platform/chromium-win/fast/text/line-initial-and-final-swashes-expected.png: Removed.
* platform/chromium-win/fast/text/line-initial-and-final-swashes-expected.txt: Removed.
* platform/chromium/TestExpectations:
* platform/chromium/fast/js/date-toisostring-expected.txt: Removed.
* platform/chromium/fast/js/toString-and-valueOf-override-expected.txt: Removed.
* platform/chromium/fast/repaint/bugzilla-6278-expected.png: Removed.
* platform/chromium/fast/repaint/iframe-scroll-repaint-expected.png: Removed.
* platform/chromium/fast/repaint/invisible-objects-expected.png: Removed.
* platform/chromium/svg/custom/getBBox-path-expected.txt: Removed.
* platform/chromium/svg/custom/global-constructors-expected.txt: Removed.
* platform/efl/fast/repaint/bugzilla-6278-expected.png: Removed.
* platform/efl/fast/repaint/invisible-objects-expected.png: Removed.
* platform/gtk/fast/repaint/bugzilla-6278-expected.png: Removed.
* platform/gtk/fast/repaint/invisible-objects-expected.png: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PDFPlugin: Only plain text can be copied out of PDFs
https://bugs.webkit.org/show_bug.cgi?id=103591
<rdar://problem/12555161>

Reviewed by Alexey Proskuryakov.

Enable rich data to be copied from PDFKit to the pasteboard.

* WebProcess/Plugins/PDF/PDFPlugin.h:
(PDFPlugin): Add writeItemsToPasteboard.
* WebProcess/Plugins/PDF/PDFPlugin.mm:
(-[WKPDFLayerControllerDelegate writeItemsToPasteboard:withTypes:]): Move implementation to PDFPlugin.
(WebKit::PDFPlugin::writeItemsToPasteboard): Don't round-trip through WebCore for pasteboard operations,
use WebContext directly. This provides a simple way to hand over a buffer for complex pasteboard types
(RTF, HTML, etc.). Use this interface for arbitrary non-plain-text pasteboard data that PDFKit hands us.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Rebaseline after SK_DISABLE_EXTRACTSUBSET_OPAQUE_FIX was removed

Unreviewed test expectations update.

* platform/chromium-linux-x86/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png: Removed.
* platform/chromium-linux-x86/svg/custom/clip-mask-negative-scale-expected.png: Removed.
* platform/chromium-linux/svg/transforms/text-with-mask-with-svg-transform-expected.png:
* platform/chromium-mac-lion/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png: Added.
* platform/chromium-mac-lion/fast/borders/border-image-rotate-transform-expected.png: Added.
* platform/chromium-mac-lion/fast/forms/select-style-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/clip-mask-negative-scale-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/focus-ring-expected.png: Added.
* platform/chromium-mac-lion/svg/transforms/animated-path-inside-transformed-html-expected.png: Added.
* 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-snowleopard/fast/forms/select-style-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/clip-mask-negative-scale-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/focus-ring-expected.png:
* platform/chromium-mac-snowleopard/svg/transforms/animated-path-inside-transformed-html-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-mac/fast/borders/border-image-side-reduction-expected.png:
* platform/chromium-mac/fast/forms/select-style-expected.png:
* platform/chromium-mac/svg/custom/clip-mask-negative-scale-expected.png:
* platform/chromium-mac/svg/custom/focus-ring-expected.png:
* platform/chromium-mac/svg/transforms/animated-path-inside-transformed-html-expected.png:
* platform/chromium-win-xp/svg/custom/clip-mask-negative-scale-expected.png: Removed.
* platform/chromium-win/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
* platform/chromium-win/fast/borders/border-image-rotate-transform-expected.png:
* platform/chromium-win/fast/borders/borderRadiusDashed06-expected.png:
* platform/chromium-win/svg/custom/clip-mask-negative-scale-expected.png:
* platform/chromium-win/svg/custom/focus-ring-expected.png:
* platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.png:
* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Rebaseline after removed double drawing of clipped hairlines at edges

Unreviewed expectations update

* platform/chromium-linux-x86/svg/hixie/perf/003-expected.png: Removed.
* platform/chromium-mac-lion/fast/repaint/list-marker-expected.png: Added.
* platform/chromium-mac-lion/svg/hixie/perf/001-expected.png: Added.
* platform/chromium-mac-lion/svg/hixie/perf/002-expected.png: Added.
* platform/chromium-mac-lion/svg/hixie/perf/003-expected.png:
* platform/chromium-mac-lion/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-mac-lion/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/list-marker-expected.png:
* platform/chromium-mac-snowleopard/svg/hixie/perf/001-expected.png:
* platform/chromium-mac-snowleopard/svg/hixie/perf/002-expected.png:
* platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
* platform/chromium-mac/fast/repaint/list-marker-expected.png:
* platform/chromium-mac/svg/hixie/perf/001-expected.png:
* platform/chromium-mac/svg/hixie/perf/002-expected.png:
* platform/chromium-mac/svg/hixie/perf/003-expected.png:
* platform/chromium-mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-mac/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
* platform/chromium-win/fast/repaint/list-marker-expected.png:
* platform/chromium-win/svg/hixie/perf/001-expected.png:
* platform/chromium-win/svg/hixie/perf/002-expected.png:
* platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-win/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
* platform/gtk/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Removed.
* platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Removed.
* svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Do not adjust scroll position on viewport resizes that are not orientation change related
https://bugs.webkit.org/show_bug.cgi?id=103659

Patch by Andrew Lo <anlo@rim.com> on 2012-11-29
Reviewed by Rob Buis.
Internally reviewed by Gen Mak.

Internal PR253893.
Only adjust scroll position during an orientation change
when setting viewport size.
We don't want the scroll position jumping around when opening
& closing the VKB.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setViewportSize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
run-perf-tests --chromium-android should not require adb in my path
https://bugs.webkit.org/show_bug.cgi?id=103581

Reviewed by Eric Seidel.

Remove the need to have "adb" available in the path for Layout and Performance
tests. We'll determine the versions of the "adb" version in path (if any) and
the one provided in the Chromium Android checkout. Unless the "adb" available
in the path is newer, the provided version will be used.

Some other minor nits addressed:
- The path_to_forwarder/path_to_md5sum should not be in the "private overrides"
  section, as they're not overriding anything and are used by the driver.
- Make _restart_adb_as_root slightly more robust by waiting for the device
  to come back online regardless of the output.

* Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidPort.__init__):
(ChromiumAndroidPort.check_build):
(ChromiumAndroidPort.path_to_adb):
(ChromiumAndroidPort):
(ChromiumAndroidPort.path_to_forwarder):
(ChromiumAndroidPort.path_to_md5sum):
(ChromiumAndroidPort._path_to_helper):
(ChromiumAndroidPort._determine_adb_version):
(ChromiumAndroidPort._get_devices):
(ChromiumAndroidDriver.__init__):
(ChromiumAndroidDriver._setup_md5sum_and_push_data_if_needed):
(ChromiumAndroidDriver._push_executable):
(ChromiumAndroidDriver._restart_adb_as_root):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Windows, WinCairo] Unreviewed build fix.  Build was failing
because the export definition file included a debug-only
symbol.  It's not needed and shouldn't be included for export.

* win/WebKit2.def: Don't require notSolidColor to be exported.
* win/WebKit2CFLite.def: Ditto.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Skia rebaseline after we made kSrc_Mode go faster

Unreviewed expectations update.

Some of these are still crashing on Debug.

* platform/chromium-mac-lion/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/chromium-mac-lion/svg/carto.net/colourpicker-expected.png:
* platform/chromium-mac-lion/svg/custom/invalid-uri-stroke-expected.png:
* platform/chromium-mac-lion/svg/wicd/test-scalable-background-image1-expected.png:
* platform/chromium-mac-lion/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/chromium-mac-snowleopard/svg/carto.net/colourpicker-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/invalid-uri-stroke-expected.png:
* platform/chromium-mac-snowleopard/svg/wicd/test-scalable-background-image1-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/chromium-mac/svg/carto.net/colourpicker-expected.png:
* platform/chromium-mac/svg/custom/gradient-stop-corner-cases-expected.png:
* platform/chromium-mac/svg/custom/invalid-uri-stroke-expected.png:
* platform/chromium-mac/svg/wicd/test-scalable-background-image1-expected.png:
* platform/chromium-mac/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/chromium-win-xp/svg/carto.net: Added.
* platform/chromium-win-xp/svg/carto.net/colourpicker-expected.png: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/chromium-win/svg/custom/invalid-uri-stroke-expected.png:
* platform/chromium-win/svg/wicd/test-scalable-background-image1-expected.png:
* platform/chromium-win/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, WebKit gardening.

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Modifying GeoClientBlackBerry to switch between high and low accuracy
https://bugs.webkit.org/show_bug.cgi?id=103666

Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-11-29
Reviewed by Yong Li.

Internally reviewed by Yong Li.

PR 243420

Updating GeolocationClientBlackBerry to switch accuracy when GeolocationController
calls setEnableHighAccuracy.

* WebCoreSupport/GeolocationClientBlackBerry.cpp:
(GeolocationClientBlackBerry::startUpdating):
(GeolocationClientBlackBerry::setEnableHighAccuracy):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136162 268f45cc-cd09-0410-ab3c-d52691b4dbfc