[WK2] storage/domstorage/storage-close-database-on-idle.html failing on WK2
https://bugs.webkit.org/show_bug.cgi?id=91778

Unreviewed gardening. Add failing test to the mac-wk2 Skipped list.

* platform/mac-wk2/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] platform/qt/[scrollbars, transforms, transitions] directories need update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91271

Batch of expected result files reviewed. It comprises
scrollbars, transforms, transitions  directories.

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-19
Reviewed by Simon Hausmann.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/scrollbars/basic-scrollbar-expected.png: Added.
* platform/qt/scrollbars/basic-scrollbar-expected.txt:
* platform/qt/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
* platform/qt/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt:
* platform/qt/scrollbars/disabled-scrollbar-expected.png: Added.
* platform/qt/scrollbars/disabled-scrollbar-expected.txt:
* platform/qt/scrollbars/listbox-scrollbar-combinations-expected.png: Added.
* platform/qt/scrollbars/listbox-scrollbar-combinations-expected.txt:
* platform/qt/scrollbars/overflow-scrollbar-combinations-expected.png:
* platform/qt/scrollbars/overflow-scrollbar-combinations-expected.txt:
* platform/qt/scrollbars/scrollbar-buttons-expected.png: Added.
* platform/qt/scrollbars/scrollbar-buttons-expected.txt:
* platform/qt/scrollbars/scrollbar-orientation-expected.png: Added.
* platform/qt/scrollbars/scrollbar-orientation-expected.txt:
* platform/qt/scrollbars/scrollbars-on-positioned-content-expected.png:
* platform/qt/scrollbars/scrollbars-on-positioned-content-expected.txt:
* platform/qt/transforms/2d/compound-transforms-vs-containers-expected.png:
* platform/qt/transforms/2d/compound-transforms-vs-containers-expected.txt:
* platform/qt/transforms/2d/transform-borderbox-expected.png:
* platform/qt/transforms/2d/transform-borderbox-expected.txt:
* platform/qt/transforms/2d/transform-fixed-container-expected.png:
* platform/qt/transforms/2d/transform-fixed-container-expected.txt:
* platform/qt/transforms/2d/transform-origin-borderbox-expected.png:
* platform/qt/transforms/2d/transform-origin-borderbox-expected.txt:
* platform/qt/transforms/2d/zoom-menulist-expected.png:
* platform/qt/transforms/2d/zoom-menulist-expected.txt:
* platform/qt/transforms/3d/hit-testing/backface-hit-test-expected.png: Added.
* platform/qt/transforms/3d/hit-testing/backface-hit-test-expected.txt:
* platform/qt/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.png: Added.
* platform/qt/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.txt:
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-2-expected.png: Added.
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt:
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-3-expected.png: Added.
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-3-expected.txt:
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.png: Added.
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-coplanar-expected.txt:
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-expected.png: Added.
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-expected.txt:
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.png: Added.
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-overlapping-expected.txt:
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png: Added.
* platform/qt/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt:
* platform/qt/transforms/svg-vs-css-expected.png:
* platform/qt/transforms/svg-vs-css-expected.txt:
* platform/qt/transitions/cross-fade-background-image-expected.png:
* platform/qt/transitions/cross-fade-background-image-expected.txt:
* platform/qt/transitions/cross-fade-border-image-expected.png:
* platform/qt/transitions/cross-fade-border-image-expected.txt:
* platform/qt/transitions/move-after-transition-expected.png: Added.
* platform/qt/transitions/move-after-transition-expected.txt:
* platform/qt/transitions/svg-text-shadow-transition-expected.png:
* platform/qt/transitions/svg-text-shadow-transition-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make style bot handle underscores in names more reasonably
https://bugs.webkit.org/show_bug.cgi?id=91777

Reviewed by Gavin Barraclough.

This patch adds a naming/readability/underscores category for style errors.
That allows us to use underscores in those portions of JSC (and potentially
gtk?) without turning off all naming checks for the effected directories.
We also filter out the DFG_OPERATION warning, and a few other minor changes
to make the style bot less noisy when running over JSC at least.

* Scripts/webkitpy/style/checker.py:
* Scripts/webkitpy/style/checkers/cpp.py:
(check_identifier_name_in_declaration):
(CppChecker):
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(WebKitStyleTest.test_names):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening, marking three svg/W3C-SVG-1.1 tests as flaky.

* platform/gtk/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
test-webkitpy: fix executive_unittest nits, including a missing 'errno' import
https://bugs.webkit.org/show_bug.cgi?id=91770

Reviewed by Adam Barth.

The missing errno import is causing a flaky failure when run in
parallel on the bots.

* Scripts/webkitpy/common/system/executive_unittest.py:
(ExecutiveTest.assert_interpreter_for_content):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Added/updated missing fast/text results after rebaseline
https://bugs.webkit.org/show_bug.cgi?id=91570

Patch by Bruno de Oliveira Abinader <bruno.abinader@basyskom.com> on 2012-07-19
Reviewed by Noam Rosenthal.

The following tests were failing after r122971:
  fast/text/international/unicode-bidi-plaintext-in-textarea.html = TEXT
  fast/text/textIteratorNilRenderer.html = TEXT
  fast/text/whitespace/030.html = TEXT

This patch includes/updates the missing expectations.

* platform/qt-5.0-wk2/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png: Added.
* platform/qt-5.0-wk2/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt: Added.
* platform/qt-5.0-wk2/fast/text/textIteratorNilRenderer-expected.png: Added.
* platform/qt-5.0-wk2/fast/text/textIteratorNilRenderer-expected.txt: Added.
* platform/qt-5.0/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png: Added.
* platform/qt/fast/text/whitespace/030-expected.png:
* platform/qt/fast/text/whitespace/030-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Window top should not be replaceable
https://bugs.webkit.org/show_bug.cgi?id=91755

Reviewed by Adam Barth.

Window top is readonly and unforgable and should not be replaceable.

http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#the-window-object

This change brings JSC inline with all other browsers.

Source/WebCore:

No new tests. Modified existing tests.

* page/DOMWindow.idl:

LayoutTests:

* fast/dom/Window/get-set-properties-expected.txt:
* fast/dom/Window/get-set-properties.html:
* fast/dom/Window/window-property-shadowing-expected.txt:
* fast/dom/Window/window-property-shadowing.html:
* platform/chromium/fast/dom/Window/get-set-properties-expected.txt: Removed.
* platform/chromium/fast/dom/Window/window-property-shadowing-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
In flipped blocks writing modes, no flipping occurs when mapping RenderText’s local coordinates to absolute
https://bugs.webkit.org/show_bug.cgi?id=91780

Reviewed by Anders Carlsson.

Source/WebCore: 

Test: fast/writing-mode/flipped-blocks-text-map-local-to-container.html

When RenderObject::mapLocalToContainer() was called on a RenderText with ApplyContainerFlip,
it would not flip (if the container was not a box) but it would always pass
DoNotApplyContainerFlip when recurring to the parent. This meant that no one applied the flip.

* rendering/RenderInline.cpp:
(WebCore::RenderInline::mapLocalToContainer): Made the setting of applyContainerFlip to
false unconditional on the container actually being flipped.
* rendering/RenderObject.cpp:
(WebCore::RenderObject::mapLocalToContainer): Rather than always passing
DoNotApplyContainerFlip when recurring to the parent, changed this function to pass through
the value of applyContainerFlip it was called with, unless it applied the flip itself.

LayoutTests: 

* fast/writing-mode/flipped-blocks-text-map-local-to-container-expected.txt: Added.
* fast/writing-mode/flipped-blocks-text-map-local-to-container.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Bug fixes and enhancements for OfflineASM annotation system.
https://bugs.webkit.org/show_bug.cgi?id=91690

Patch by Mark Lam <mark.lam@apple.com> on 2012-07-19
Reviewed by Filip Pizlo.

* offlineasm/armv7.rb: added default handling of Instruction lower().
* offlineasm/asm.rb: added more support for annotations and more pretty printing.
* offlineasm/ast.rb: added more support for annotations.
* offlineasm/config.rb: added $preferredCommentStartColumn, simplified $enableInstrAnnotations.
* offlineasm/parser.rb: added more support for annotations.
* offlineasm/transform.rb: added more support for annotations.
* offlineasm/x86.rb: added default handling of Instruction lower().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] [Part 5] platform/qt/css1 tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91140

Batch of expected result files reviewed. It comprises
/LayoutTests/platform/qt/css1/[pseudo, units] directories

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-19
Reviewed by Simon Hausmann.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt/css1/pseudo/anchor-expected.png:
* platform/qt/css1/pseudo/anchor-expected.txt:
* platform/qt/css1/pseudo/firstletter-expected.png:
* platform/qt/css1/pseudo/firstletter-expected.txt:
* platform/qt/css1/pseudo/firstline-expected.png:
* platform/qt/css1/pseudo/firstline-expected.txt:
* platform/qt/css1/pseudo/multiple_pseudo_elements-expected.png:
* platform/qt/css1/pseudo/multiple_pseudo_elements-expected.txt:
* platform/qt/css1/pseudo/pseudo_elements_in_selectors-expected.png:
* platform/qt/css1/pseudo/pseudo_elements_in_selectors-expected.txt:
* platform/qt/css1/units/color_units-expected.png:
* platform/qt/css1/units/color_units-expected.txt:
* platform/qt/css1/units/length_units-expected.png:
* platform/qt/css1/units/length_units-expected.txt:
* platform/qt/css1/units/percentage_units-expected.png:
* platform/qt/css1/units/percentage_units-expected.txt:
* platform/qt/css1/units/urls-expected.png:
* platform/qt/css1/units/urls-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Out of Memory is observed when a large object is passed to a Web Worker.
https://bugs.webkit.org/show_bug.cgi?id=91535.

Reviewed by Dave Levin.

No new tests because of no new behavior and lack of mechanism to monitor used memory.

* bindings/v8/SerializedScriptValue.cpp:
(WebCore::SerializedScriptValue::SerializedScriptValue):
(WebCore::SerializedScriptValue::registerMemoryAllocatedWithCurrentScriptContext):
(WebCore):
(WebCore::SerializedScriptValue::~SerializedScriptValue):
* bindings/v8/SerializedScriptValue.h:
(SerializedScriptValue):
Added a method to SerializedScriptValue to add memory pressure on GC proportional to the size of memory allocated in serialized data.

* dom/MessageEvent.cpp:
(WebCore::MessageEvent::MessageEvent):
(WebCore::MessageEvent::initMessageEvent):
Call the new method of SerializedScriptValue during creation of MessageEvent (presumably in the thread which contains the right V8 context).

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Enable CSS shaders in Qt (software mode)
https://bugs.webkit.org/show_bug.cgi?id=85140

Reviewed by Simon Hausmann.

Source/WebCore:

Added missing files to the Qt build.

No new tests, WebGL is still disabled by default in the bots.

* Target.pri:

Source/WebKit/qt:

Enable CSS Shaders in settings when WebGL is enabled.

* Api/qwebsettings.cpp:
(QWebSettingsPrivate::apply):

Source/WebKit2:

Add CSSCustomFilterEnabled to QWebPreferences. It's disabled by default.

* UIProcess/API/qt/qwebpreferences.cpp:
(QWebPreferencesPrivate::testAttribute):
(QWebPreferencesPrivate::setAttribute):
* UIProcess/API/qt/qwebpreferences_p_p.h:

Tools:

Enable CSS_SHADERS when WEBGL and CSS_FILTERS are enabled.

* qmake/mkspecs/features/features.prf:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Keep overlap testing on for descendants of an animating element
https://bugs.webkit.org/show_bug.cgi?id=91787

Reviewed by Beth Dakin.

Source/WebCore:

RenderLayerCompositor::computeCompositingRequirements() would turn off
overlap testing for descendants of a layer that has a 3D transform,
or has an animating transform. This could cause compositing changes
inside an animating element when transitions start and stop, which
is undesirable.

Instead, we can keep overlap testing on for descendants of that
animating element, but we have to turn it off for layers later
in z-order.

Also enhance the "IndirectCompositingReason" flags so that in
the compositing log output, we can distinguish between layers that
were composited as a result of overlap testing from those compositing
for stacking reasons.

Test: compositing/layer-creation/animation-overlap-with-children.html

* rendering/RenderLayer.h: New IndirectCompositingReason value to
distinguish overlap from stacking.
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::computeCompositingRequirements):
Use an IndirectCompositingReason enum rather than a bool to track whether
the layer starts as composited.
Remove the if (layer->has3DTransform() || isRunningAcceleratedTransformAnimation(layer->renderer()))
check that turned off overlap testing for descendants of this layer.
Use IndirectCompositingForStacking (somewhat arbitrarily) for reflection layers.
Turn overlap testing off for layers later in the z-order.
(WebCore::RenderLayerCompositor::requiresOwnBackingStore): Take IndirectCompositingForStacking into
account.
(WebCore::RenderLayerCompositor::reasonForCompositing): Improve the logging output.

LayoutTests:

Test with two layers inside an animating container; one should be composited
because of overlap, the other should not be.

* compositing/layer-creation/animation-overlap-with-children-expected.txt: Added.
* compositing/layer-creation/animation-overlap-with-children.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviewed gardening.  Rebaseline some tests after r115846.

* platform/chromium-mac-snowleopard/fast/repaint/inline-relative-positioned-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/repaint/lines-with-layout-delta-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/overflow-clip-subtree-layout-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/repaint/repaint-resized-overflow-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/subtree-layoutstate-transform-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/subtree-root-clip-2-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/repaint/subtree-root-clip-expected.png: Removed.
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] [Part 6] platform/qt/css1 tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91142

Batch of expected result files reviewed. It comprises
/LayoutTests/platform/qt/css1/text_properties directory

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-19
Reviewed by Simon Hausmann.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/css1/text_properties/letter_spacing-expected.txt: Removed.
* platform/qt-5.0/css1/text_properties/text_transform-expected.txt: Removed.
* platform/qt/css1/text_properties/letter_spacing-expected.png:
* platform/qt/css1/text_properties/letter_spacing-expected.txt:
* platform/qt/css1/text_properties/line_height-expected.png:
* platform/qt/css1/text_properties/line_height-expected.txt:
* platform/qt/css1/text_properties/text_align-expected.png:
* platform/qt/css1/text_properties/text_align-expected.txt:
* platform/qt/css1/text_properties/text_decoration-expected.png:
* platform/qt/css1/text_properties/text_decoration-expected.txt:
* platform/qt/css1/text_properties/text_indent-expected.png:
* platform/qt/css1/text_properties/text_indent-expected.txt:
* platform/qt/css1/text_properties/text_transform-expected.png:
* platform/qt/css1/text_properties/vertical_align-expected.png:
* platform/qt/css1/text_properties/vertical_align-expected.txt:
* platform/qt/css1/text_properties/word_spacing-expected.png:
* platform/qt/css1/text_properties/word_spacing-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Textures drawn during occlusion are incorrectly re-used when unoccluded.
https://bugs.webkit.org/show_bug.cgi?id=91537

Patch by Zeev Lieber <zlieber@chromium.org> on 2012-07-19
Reviewed by Adrienne Walker.

Source/WebCore:

Detecting if any external occlusion occurs when drawing a
texture. If external occlusion happens, the texture is marked as
"incomplete" in LayerRendererChromium, and is not being considered
for re-use.

Minor refactoring of CCQuadCuller - extracted interface
(CCQuadSink) and united append() and appendSurface() methods.

Added unit tests to verify this fix; also added test to try
clipping instead of occlusion.

* platform/graphics/chromium/LayerRendererChromium.cpp:
(LayerRendererChromium::CachedTexture):
(WebCore::LayerRendererChromium::CachedTexture::create):
(WebCore::LayerRendererChromium::CachedTexture::~CachedTexture):
(WebCore::LayerRendererChromium::CachedTexture::isComplete):
(WebCore::LayerRendererChromium::CachedTexture::setIsComplete):
(WebCore::LayerRendererChromium::CachedTexture::CachedTexture):
(WebCore):
(WebCore::LayerRendererChromium::decideRenderPassAllocationsForFrame):
(WebCore::LayerRendererChromium::haveCachedResourcesForRenderPassId):
(WebCore::LayerRendererChromium::drawRenderPassQuad):
* platform/graphics/chromium/LayerRendererChromium.h:
(LayerRendererChromium):
* platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.cpp:
(WebCore::CCIOSurfaceLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.h:
(CCIOSurfaceLayerImpl):
* platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::appendDebugBorderQuad):
* platform/graphics/chromium/cc/CCLayerImpl.h:
(WebCore):
(WebCore::CCLayerImpl::appendQuads):
(CCLayerImpl):
* platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::::unoccludedContentRect):
(WebCore::::unoccludedContributingSurfaceContentRect):
(WebCore):
* platform/graphics/chromium/cc/CCOcclusionTracker.h:
(CCOcclusionTrackerBase):
* platform/graphics/chromium/cc/CCQuadCuller.cpp:
(WebCore::CCQuadCuller::CCQuadCuller):
(WebCore::CCQuadCuller::append):
* platform/graphics/chromium/cc/CCQuadCuller.h:
(WebCore):
(CCQuadCuller):
(WebCore::CCQuadCuller::~CCQuadCuller):
(WebCore::CCQuadCuller::hasExternalOcclusion):
* platform/graphics/chromium/cc/CCQuadSink.h:
(WebKit):
(WebCore):
(CCQuadSink):
(WebCore::CCQuadSink::~CCQuadSink):
* platform/graphics/chromium/cc/CCRenderPass.cpp:
(WebCore::CCRenderPass::CCRenderPass):
(WebCore::CCRenderPass::appendQuadsForLayer):
(WebCore::CCRenderPass::appendQuadsForRenderSurfaceLayer):
* platform/graphics/chromium/cc/CCRenderPassDrawQuad.cpp:
(WebCore::CCRenderPassDrawQuad::create):
(WebCore::CCRenderPassDrawQuad::CCRenderPassDrawQuad):
* platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:
(CCRenderPassDrawQuad):
(WebCore::CCRenderPassDrawQuad::hasExternalOcclusion):
* platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::CCRenderSurface):
(WebCore::CCRenderSurface::appendQuads):
* platform/graphics/chromium/cc/CCRenderSurface.h:
(WebCore):
(WebCore::CCRenderSurface::setHasExternalOcclusion):
(WebCore::CCRenderSurface::hasExternalOcclusion):
(CCRenderSurface):
* platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp:
(WebCore::CCScrollbarLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCScrollbarLayerImpl.h:
(CCScrollbarLayerImpl):
* platform/graphics/chromium/cc/CCSolidColorLayerImpl.cpp:
(WebCore::CCSolidColorLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCSolidColorLayerImpl.h:
(CCSolidColorLayerImpl):
* platform/graphics/chromium/cc/CCTextureLayerImpl.cpp:
(WebCore::CCTextureLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCTextureLayerImpl.h:
(CCTextureLayerImpl):
* platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
(WebCore::CCTiledLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCTiledLayerImpl.h:
(CCTiledLayerImpl):
* platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
(WebCore::CCVideoLayerImpl::appendQuads):
* platform/graphics/chromium/cc/CCVideoLayerImpl.h:
(CCVideoLayerImpl):

Source/WebKit/chromium:

Added unit tests to test texture caching with clipping and
occlusion. Removed some minor code duplication when initializing
layers for various scenarios.

MockCCQuadCuller can now implement CCQuadSink.

* tests/CCLayerTreeHostImplTest.cpp:
* tests/CCQuadCullerTest.cpp:
* tests/MockCCQuadCuller.h:
(WebCore::MockCCQuadCuller::MockCCQuadCuller):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] [WK2] Add a callback to handle delete request in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=91483

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-19
Reviewed by Dirk Pranke.

Add a callback to handle delete request and quit the main loop when
window is asked to be deleted so that all the resources allocated
for the window will be freed properly.

* MiniBrowser/efl/main.c:
(closeWindow):
(browserCreate):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Added/updated missing fast/forms results after rebaseline
https://bugs.webkit.org/show_bug.cgi?id=91504

Patch by Bruno de Oliveira Abinader <bruno.abinader@basyskom.com> on 2012-07-19
Reviewed by Noam Rosenthal.

The following tests were failing after r122879:
  fast/forms/HTMLOptionElement_label06.html = TEXT
  fast/forms/HTMLOptionElement_label07.html = TEXT
  fast/forms/basic-inputs.html = TEXT
  fast/forms/basic-textareas-quirks.html = TEXT
  fast/forms/box-shadow-override.html = TEXT
  fast/forms/control-restrict-line-height.html = TEXT
  fast/forms/encoding-test.html = TEXT
  fast/forms/fieldset-align.html = TEXT
  fast/forms/form-element-geometry.html = TEXT
  fast/forms/input-appearance-bkcolor.html = TEXT
  fast/forms/input-appearance-default-bkcolor.html = TEXT
  fast/forms/input-appearance-disabled.html = TEXT
  fast/forms/input-appearance-focus.html = TEXT
  fast/forms/input-appearance-preventDefault.html = TEXT
  fast/forms/input-appearance-readonly.html = TEXT
  fast/forms/input-appearance-selection.html = TEXT
  fast/forms/input-appearance-visibility.html = TEXT
  fast/forms/input-baseline.html = TEXT
  fast/forms/input-disabled-color.html = TEXT
  fast/forms/input-double-click-selection-gap-bug.html = TEXT
  fast/forms/input-placeholder-visibility-1.html = TEXT
  fast/forms/input-placeholder-visibility-3.html = TEXT
  fast/forms/input-readonly-dimmed.html = TEXT
  fast/forms/input-readonly-empty.html = TEXT
  fast/forms/input-spaces.html = TEXT
  fast/forms/input-text-click-inside.html = TEXT
  fast/forms/input-text-double-click.html = TEXT
  fast/forms/input-text-option-delete.html = TEXT
  fast/forms/input-text-self-emptying-click.html = TEXT
  fast/forms/input-text-word-wrap.html = TEXT
  fast/forms/input-width.html = TEXT
  fast/forms/menulist-separator-painting.html = TEXT
  fast/forms/number/input-appearance-number-rtl.html = TEXT
  fast/forms/number/input-appearance-spinbutton-disabled-readonly.html = TEXT
  fast/forms/number/input-appearance-spinbutton-layer.html = TEXT
  fast/forms/placeholder-position.html = TEXT
  fast/forms/placeholder-pseudo-style.html = TEXT
  fast/forms/search-cancel-button-style-sharing.html = TEXT
  fast/forms/search-display-none-cancel-button.html = TEXT
  fast/forms/search-rtl.html = TEXT
  fast/forms/search-vertical-alignment.html = TEXT
  fast/forms/select-background-none.html = TEXT
  fast/forms/select-baseline.html = TEXT
  fast/forms/selectlist-minsize.html = TEXT
  fast/forms/text-style-color.html = TEXT
  fast/forms/textarea-align.html = TEXT
  fast/forms/textarea-placeholder-pseudo-style.html = TEXT
  fast/forms/textarea-placeholder-visibility-1.html = TEXT
  fast/forms/textarea-placeholder-visibility-2.html = TEXT
  fast/forms/textarea-setinnerhtml.html = TEXT
  fast/forms/textfield-focus-ring.html = TEXT
  fast/forms/textfield-outline.html = TEXT
  fast/forms/textfield-overflow.html = TEXT

This patch includes/updates the missing expectations.

* platform/qt-5.0-wk2/fast/forms/HTMLOptionElement_label06-expected.png:
* platform/qt-5.0-wk2/fast/forms/HTMLOptionElement_label06-expected.txt:
* platform/qt-5.0-wk2/fast/forms/HTMLOptionElement_label07-expected.png:
* platform/qt-5.0-wk2/fast/forms/HTMLOptionElement_label07-expected.txt:
* platform/qt-5.0-wk2/fast/forms/basic-inputs-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/basic-inputs-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/box-shadow-override-expected.png:
* platform/qt-5.0-wk2/fast/forms/box-shadow-override-expected.txt:
* platform/qt-5.0-wk2/fast/forms/control-restrict-line-height-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/control-restrict-line-height-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/encoding-test-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/form-element-geometry-expected.png:
* platform/qt-5.0-wk2/fast/forms/form-element-geometry-expected.txt:
* platform/qt-5.0-wk2/fast/forms/input-appearance-bkcolor-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-default-bkcolor-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-default-bkcolor-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-disabled-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-disabled-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-focus-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-focus-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-preventDefault-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-readonly-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-readonly-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-appearance-visibility-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-baseline-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-baseline-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-disabled-color-expected.png:
* platform/qt-5.0-wk2/fast/forms/input-disabled-color-expected.txt:
* platform/qt-5.0-wk2/fast/forms/input-double-click-selection-gap-bug-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/input-double-click-selection-gap-bug-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-placeholder-visibility-1-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-placeholder-visibility-3-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-readonly-dimmed-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-readonly-empty-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-spaces-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-text-click-inside-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-text-double-click-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-text-option-delete-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-text-self-emptying-click-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-text-word-wrap-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/input-width-expected.txt: Copied from LayoutTests/platform/qt-5.0-wk2/fast/forms/textarea-setinnerhtml-expected.txt.
* platform/qt-5.0-wk2/fast/forms/menulist-separator-painting-expected.txt:
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-number-rtl-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-number-rtl-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/number/input-appearance-spinbutton-layer-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/placeholder-position-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/placeholder-position-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/placeholder-pseudo-style-expected.png:
* platform/qt-5.0-wk2/fast/forms/placeholder-pseudo-style-expected.txt:
* platform/qt-5.0-wk2/fast/forms/search-cancel-button-style-sharing-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/search-display-none-cancel-button-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/search-rtl-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/search-rtl-expected.txt:
* platform/qt-5.0-wk2/fast/forms/search-vertical-alignment-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/search-vertical-alignment-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/select-background-none-expected.txt:
* platform/qt-5.0-wk2/fast/forms/select-baseline-expected.png:
* platform/qt-5.0-wk2/fast/forms/select-baseline-expected.txt:
* platform/qt-5.0-wk2/fast/forms/selectlist-minsize-expected.txt:
* platform/qt-5.0-wk2/fast/forms/text-style-color-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/text-style-color-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textarea-align-expected.png:
* platform/qt-5.0-wk2/fast/forms/textarea-align-expected.txt:
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.png: Added.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-visibility-1-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-visibility-2-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textarea-setinnerhtml-expected.txt:
* platform/qt-5.0-wk2/fast/forms/textfield-focus-ring-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textfield-outline-expected.txt: Added.
* platform/qt-5.0-wk2/fast/forms/textfield-overflow-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: WebKit should pass <title> element value as the default description for web views
https://bugs.webkit.org/show_bug.cgi?id=91763

Reviewed by Anders Carlsson.

Update the logic for determining the description for the AXWebArea to include the document's title.

Test: platform/mac/accessibility/document-title-used-for-description.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::webAreaAccessibilityDescription):
   Move web area description handling into a separate method.
(WebCore::AccessibilityRenderObject::accessibilityDescription):
* accessibility/AccessibilityRenderObject.h:
(AccessibilityRenderObject):

LayoutTests: WebKit should pass <title> element value as the default AXTitle for web views
https://bugs.webkit.org/show_bug.cgi?id=91763

Reviewed by Anders Carlsson.

* platform/mac/accessibility/document-title-used-for-description-expected.txt: Added.
* platform/mac/accessibility/document-title-used-for-description.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2] Add Vibration API integration to WebContext and WebPage
https://bugs.webkit.org/show_bug.cgi?id=91081

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-19
Reviewed by Anders Carlsson.

Integrate Vibration API to WebPage, WebContext and properly route
messages to the WebVibrationProxy.

* UIProcess/API/C/WKContext.cpp:
(WKContextGetVibration):
* UIProcess/API/C/WKContext.h:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::disconnectProcess):
(WebKit::WebContext::didReceiveMessage):
* UIProcess/WebContext.h:
(WebKit):
(WebContext):
(WebKit::WebContext::vibrationProxy):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didReceiveMessage):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):

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