Android-chromium layout tests failing with GPU related crash
https://bugs.webkit.org/show_bug.cgi?id=92126

Reviewed by Adam Barth.

Remove support for the "--enable-hardware-gpu" flag from run_webkit_tests,
as it's not being used by any port anymore, and neither is being passed
on to the test runner. Instead, append the flag directly to DRT for the
Chromium Android port, which does rely on this functionality.

The ChromiumAndroidUnitTest tests didn't catch this as the property was
set to True, but it's unable to detect whether they'll actually be used.
No occurrances of "--enable-hardware-gpu" exist in either Tools/Scripts/
or Tools/BuildSlaveSupport/, so nothing upstream seems to rely on the flag.

* Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidPort.__init__):
* Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
(ChromiumAndroidPortTest.test_attributes):
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Provide more useful output when an injected bundle cannot be loaded
https://bugs.webkit.org/show_bug.cgi?id=92136

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-24
Reviewed by Kenneth Rohde Christiansen.

Call eina_error_get() in case an injected bundle cannot be
loaded in order to print more information about the error.

* WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp:
(WebKit::InjectedBundle::load):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r123417): It made tests assert/crash on 32 bit
https://bugs.webkit.org/show_bug.cgi?id=92088

Reviewed by Mark Hahnenberg.

The pointer arithmetic was wrong, because negative numbers are hard to think about.

* dfg/DFGRepatch.cpp:
(JSC::DFG::emitPutTransitionStub):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileReallocatePropertyStorage):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Enable conversion between WebFloatRect and gfx::RectF.
https://bugs.webkit.org/show_bug.cgi?id=92117

Reviewed by Adam Barth.

Introduce WebFloatRect <--> gfx::RectF conversion as we already do with WebRect <--> gfx::Rect.

* chromium/public/WebFloatRect.h:
(WebKit::WebFloatRect::WebFloatRect):
(WebFloatRect):
(WebKit::WebFloatRect::operator=):
(WebKit::WebFloatRect::operator gfx::RectF):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Throttle calls to request the virtual keyboard be shown.
https://bugs.webkit.org/show_bug.cgi?id=92138

Reviewed by Rob Buis.

PR 178465.

Do not request keyboard visibility change when
we are actively processing an input event.

Reviewed Internally by Gen Mak.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::focusedNodeChanged):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] platform, plugins and printing need rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92016

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-24
Reviewed by Alexis Menard.

Updating skipped tests inside platform, plugins and printing. The following tests
remain skipped:
/platform/qt/plugins/qt-qwidget-plugin.html (bug #92141)
/plugins/netscape-dom-access.html (already skipped inside qt/Skipped)

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/platform/qt/fast/forms/button-line-break-expected.png:
* platform/qt/platform/qt/fast/forms/button-line-break-expected.txt:
* platform/qt/platform/qt/plugins/application-plugin-plugins-disabled-expected.png: Added.
* platform/qt/platform/qt/plugins/application-plugin-plugins-disabled-expected.txt: Added.
* platform/qt/platform/qt/plugins/qt-qwidget-plugin-expected.png: Added.
* platform/qt/platform/qt/plugins/qt-qwidget-plugin-expected.txt:
* platform/qt/plugins/iframe-plugin-bgcolor-expected.txt:
* platform/qt/plugins/mouse-click-plugin-clears-selection-expected.txt:
* platform/qt/printing/compositing-layer-printing-expected.png:
* platform/qt/printing/compositing-layer-printing-expected.txt:
* platform/qt/printing/iframe-print-expected.png:
* platform/qt/printing/iframe-print-expected.txt:
* platform/qt/printing/media-queries-print-expected.png:
* platform/qt/printing/media-queries-print-expected.txt:
* platform/qt/printing/page-rule-in-media-query-expected.png:
* platform/qt/printing/page-rule-in-media-query-expected.txt:
* platform/qt/printing/simultaneous-position-float-change-expected.txt:
* platform/qt/printing/width-overflow-expected.png:
* platform/qt/printing/width-overflow-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac WK2] Improve text input logging
https://bugs.webkit.org/show_bug.cgi?id=92147

Reviewed by Andreas Kling.

* UIProcess/API/mac/WKView.mm:
(-[WKView insertText:replacementRange:]):
(-[WKView keyUp:]):
(-[WKView keyDown:]):
(-[WKView flagsChanged:]):
(-[WKView _executeSavedKeypressCommands]):
(-[WKView _notifyInputContextAboutDiscardedComposition]):
(-[WKView _interpretKeyEvent:savingCommandsTo:WebCore::]):
(-[WKView _updateSecureInputState]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Make sure that an AC sync is triggered when the canvas contents is updated.
https://bugs.webkit.org/show_bug.cgi?id=92128

Reviewed by Kenneth Rohde Christiansen.

This would cause missed frames when animating an accelerated 2D canvas without
touching the document.

* WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp:
(WebCore::WebGraphicsLayer::setContentsNeedsDisplay):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] svg/carto.net rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92152

Unreviewed.

* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt-5.0/svg/carto.net/window-expected.png: Removed.
* platform/qt-5.0/svg/carto.net/window-expected.txt: Removed.
* platform/qt/svg/carto.net/button-expected.png:
* platform/qt/svg/carto.net/button-expected.txt:
* platform/qt/svg/carto.net/colourpicker-expected.png:
* platform/qt/svg/carto.net/colourpicker-expected.txt:
* platform/qt/svg/carto.net/scrollbar-expected.png:
* platform/qt/svg/carto.net/scrollbar-expected.txt:
* platform/qt/svg/carto.net/selectionlist-expected.png:
* platform/qt/svg/carto.net/selectionlist-expected.txt:
* platform/qt/svg/carto.net/slider-expected.png:
* platform/qt/svg/carto.net/slider-expected.txt:
* platform/qt/svg/carto.net/tabgroup-expected.png:
* platform/qt/svg/carto.net/tabgroup-expected.txt:
* platform/qt/svg/carto.net/textbox-expected.png:
* platform/qt/svg/carto.net/textbox-expected.txt:
* platform/qt/svg/carto.net/window-expected.png:
* platform/qt/svg/carto.net/window-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium/mac] Add cursor resource pngs to the pak file.
https://bugs.webkit.org/show_bug.cgi?id=92148

Reviewed by Tony Chang.

Once https://chromiumcodereview.appspot.com/10817031/ has landed, they can be
removed from WebCore.gyp's mac_bundle_resources. Part of http://crbug.com/137588

* WebKit.grd:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] fast/block/basic needs rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92149

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-24
Reviewed by Alexis Menard.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/fast/block/basic/001-expected.png:
* platform/qt/fast/block/basic/001-expected.txt:
* platform/qt/fast/block/basic/002-expected.png:
* platform/qt/fast/block/basic/002-expected.txt:
* platform/qt/fast/block/basic/003-expected.png:
* platform/qt/fast/block/basic/003-expected.txt:
* platform/qt/fast/block/basic/004-expected.png:
* platform/qt/fast/block/basic/004-expected.txt:
* platform/qt/fast/block/basic/005-expected.png:
* platform/qt/fast/block/basic/005-expected.txt:
* platform/qt/fast/block/basic/006-expected.png:
* platform/qt/fast/block/basic/006-expected.txt:
* platform/qt/fast/block/basic/007-expected.png:
* platform/qt/fast/block/basic/007-expected.txt:
* platform/qt/fast/block/basic/008-expected.png:
* platform/qt/fast/block/basic/008-expected.txt:
* platform/qt/fast/block/basic/009-expected.png:
* platform/qt/fast/block/basic/009-expected.txt:
* platform/qt/fast/block/basic/010-expected.png:
* platform/qt/fast/block/basic/010-expected.txt:
* platform/qt/fast/block/basic/011-expected.png:
* platform/qt/fast/block/basic/011-expected.txt:
* platform/qt/fast/block/basic/012-expected.png:
* platform/qt/fast/block/basic/012-expected.txt:
* platform/qt/fast/block/basic/013-expected.png:
* platform/qt/fast/block/basic/013-expected.txt:
* platform/qt/fast/block/basic/014-expected.png:
* platform/qt/fast/block/basic/014-expected.txt:
* platform/qt/fast/block/basic/015-expected.png:
* platform/qt/fast/block/basic/015-expected.txt:
* platform/qt/fast/block/basic/016-expected.png:
* platform/qt/fast/block/basic/016-expected.txt:
* platform/qt/fast/block/basic/018-expected.png:
* platform/qt/fast/block/basic/018-expected.txt:
* platform/qt/fast/block/basic/019-expected.png:
* platform/qt/fast/block/basic/019-expected.txt:
* platform/qt/fast/block/basic/020-expected.txt:
* platform/qt/fast/block/basic/021-expected.png:
* platform/qt/fast/block/basic/021-expected.txt:
* platform/qt/fast/block/basic/adding-near-anonymous-block-expected.png:
* platform/qt/fast/block/basic/adding-near-anonymous-block-expected.txt:
* platform/qt/fast/block/basic/minheight-expected.png:
* platform/qt/fast/block/basic/minheight-expected.txt:
* platform/qt/fast/block/basic/percent-height-inside-anonymous-block-expected.png:
* platform/qt/fast/block/basic/percent-height-inside-anonymous-block-expected.txt:
* platform/qt/fast/block/basic/quirk-height-expected.png:
* platform/qt/fast/block/basic/quirk-height-expected.txt:
* platform/qt/fast/block/basic/truncation-rtl-expected.png:
* platform/qt/fast/block/basic/truncation-rtl-expected.txt:
* platform/qt/fast/block/basic/white-space-pre-wraps-expected.png:
* platform/qt/fast/block/basic/white-space-pre-wraps-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Add a bounding box member in WebGestureEvent
https://bugs.webkit.org/show_bug.cgi?id=92144

Patch by Terry Anderson <tdanderson@chromium.org> on 2012-07-24
Reviewed by Adam Barth.

The new |boundingBox| member will be used to store the touch region for a WebGestureEvent.
This will be useful for gesture target fuzzing across multiple different gesture types
(tap, long press, scroll, etc.)

* public/WebInputEvent.h:
(WebGestureEvent):
* src/WebInputEvent.cpp:
(SameSizeAsWebGestureEvent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rebaseline - gardening stuff.
        
Unreviewed.

* fast/canvas/webgl/framebuffer-object-attachment-expected.txt:
* fast/canvas/webgl/framebuffer-object-attachment.html:
* fast/canvas/webgl/resources/webgl-test-utils.js:
(WebGLTestUtils):
* platform/chromium-linux-x86/css3/selectors3/html: Removed.
* platform/chromium-linux-x86/css3/selectors3/xhtml: Removed.
* platform/chromium-linux-x86/css3/selectors3/xml: Removed.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/core: Removed.
* platform/chromium-linux/compositing/overflow/theme-affects-visual-overflow-expected.png:
* platform/chromium-linux/css1/box_properties/acid_test-expected.png:
* platform/chromium-linux/css2.1/t09-c5526c-display-00-e-expected.png:
* platform/chromium-linux/css3/selectors3/html/css3-modsel-25-expected.png:
* platform/chromium-linux/css3/selectors3/html/css3-modsel-70-expected.png:
* platform/chromium-linux/css3/selectors3/xhtml/css3-modsel-25-expected.png:
* platform/chromium-linux/css3/selectors3/xhtml/css3-modsel-70-expected.png:
* platform/chromium-linux/css3/selectors3/xml/css3-modsel-25-expected.png:
* platform/chromium-linux/css3/selectors3/xml/css3-modsel-70-expected.png:
* platform/chromium-linux/fast/block/basic/011-expected.png:
* platform/chromium-linux/fast/block/margin-collapse/103-expected.png:
* platform/chromium-linux/fast/css/non-standard-checkbox-size-expected.png:
* platform/chromium-linux/fast/forms/001-expected.png:
* platform/chromium-linux/fast/forms/basic-inputs-expected.png:
* platform/chromium-linux/fast/forms/box-shadow-override-expected.png:
* platform/chromium-linux/fast/forms/file/file-input-disabled-expected.png:
* platform/chromium-linux/fast/forms/form-element-geometry-expected.png:
* platform/chromium-linux/fast/forms/formmove-expected.png:
* platform/chromium-linux/fast/forms/formmove2-expected.png:
* platform/chromium-linux/fast/forms/indeterminate-expected.png:
* platform/chromium-linux/fast/forms/input-appearance-height-expected.png:
* platform/chromium-linux/fast/forms/input-value-expected.png:
* platform/chromium-linux/fast/inline/positionedLifetime-expected.png:
* platform/chromium-linux/fast/parser/bad-xml-slash-expected.png:
* platform/chromium-linux/fast/replaced/replaced-breaking-expected.png:
* platform/chromium-linux/fast/replaced/width100percent-checkbox-expected.png:
* platform/chromium-linux/fast/text/textIteratorNilRenderer-expected.png:
* platform/chromium-linux/fast/text/whitespace/normal-after-nowrap-breaking-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug1318-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug4527-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/core/captions1-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/core/captions2-expected.png:
* platform/chromium-mac-snowleopard/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Removed.
* platform/chromium-win-xp/fast/text/whitespace/normal-after-nowrap-breaking-expected.png: Removed.
* platform/mac-snowleopard/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Removed.
* platform/mac/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Removed.


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