[Chromium] Unreviewed gardening.

Rebaselining results after http://trac.webkit.org/changeset/139238.

* platform/chromium-linux/fast/borders/mixed-border-styles-radius-expected.png:
* platform/chromium-mac-lion/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.png:
* platform/chromium-mac-lion/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png:
* platform/chromium-mac-lion/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.png:
* platform/chromium-mac-lion/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.png:
* platform/chromium-mac-lion/svg/custom/svg-fonts-in-html-expected.png:
* platform/chromium-mac-snowleopard/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.png:
* platform/chromium-mac-snowleopard/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png:
* platform/chromium-mac-snowleopard/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.png:
* platform/chromium-mac-snowleopard/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/svg-fonts-in-html-expected.png:
* platform/chromium-mac/fast/backgrounds/border-radius-split-background-image-expected.png:
* platform/chromium-mac/fast/borders/border-radius-complex-inner-expected.png:
* platform/chromium-mac/fast/borders/border-radius-inset-outset-expected.png:
* platform/chromium-mac/fast/borders/border-radius-wide-border-05-expected.png:
* platform/chromium-mac/fast/borders/border-styles-split-expected.png:
* platform/chromium-mac/fast/borders/borderRadiusArcs01-expected.png:
* platform/chromium-mac/fast/borders/mixed-border-styles-radius-expected.png:
* platform/chromium-mac/fast/writing-mode/border-styles-vertical-lr-expected.png:
* platform/chromium-mac/fast/writing-mode/border-styles-vertical-rl-expected.png:
* platform/chromium-mac/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.png:
* platform/chromium-mac/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png:
* platform/chromium-mac/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.png:
* platform/chromium-mac/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.png:
* platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.png:
* platform/chromium-win/fast/backgrounds/border-radius-split-background-image-expected.png:
* platform/chromium-win/fast/borders/border-radius-complex-inner-expected.png:
* platform/chromium-win/fast/borders/border-radius-inset-outset-expected.png:
* platform/chromium-win/fast/borders/border-radius-wide-border-05-expected.png:
* platform/chromium-win/fast/borders/border-styles-split-expected.png:
* platform/chromium-win/fast/borders/borderRadiusArcs01-expected.png:
* platform/chromium-win/fast/borders/mixed-border-styles-radius-expected.png:
* platform/chromium-win/fast/writing-mode/border-styles-vertical-lr-expected.png:
* platform/chromium-win/fast/writing-mode/border-styles-vertical-rl-expected.png:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.png:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.png:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.png:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.png:
* platform/chromium-win/svg/custom/svg-fonts-in-html-expected.png:
* platform/chromium/TestExpectations:

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

Remove unnecessary platform expectations for now-passing test.

* platform/efl/media/video-controls-captions-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Resources] Make grid columns set configurable.
https://bugs.webkit.org/show_bug.cgi?id=105739

Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2013-01-11
Reviewed by Pavel Feldman.

Added context menu on grid header to hide/show grid columns.
Hidden columns set is persisted.

* inspector/front-end/DataGrid.js:
Fixed show/hide behavior, introduced weight control.
* inspector/front-end/NetworkPanel.js:
Added member to track visibility of columns in detailerd mode. Added
context menu for grid header.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Disable the unit tests timeout when running from make check
https://bugs.webkit.org/show_bug.cgi?id=106670

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-01-11
Reviewed by Philippe Normand.

* GNUmakefile.am: Pass --timeout=-1 to run-gtk-test.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Workspace should support several projects and should not have temporary UISourceCodes.
https://bugs.webkit.org/show_bug.cgi?id=105856

Reviewed by Pavel Feldman.

Source/WebCore:

Workspace now supports several projects with the networkProject being a main one.
Replaced temporary UISourceCodes with specific projects (debugger and liveedit).
The concept of workspace reset on navigation is now replaced with project reset concept instead.
Introduced snippets project (that is not reset on navigation).
Script mappings are now reset on GlobalObjectCleared event.

* inspector/front-end/BreakpointManager.js:
(WebInspector.BreakpointManager):
(WebInspector.BreakpointManager.prototype._innerSetBreakpoint):
(WebInspector.BreakpointManager.prototype._filteredBreakpointLocations):
(WebInspector.BreakpointManager.prototype.toggleAllBreakpoints):
(WebInspector.BreakpointManager.prototype.removeAllBreakpoints):
(WebInspector.BreakpointManager.prototype._projectWillReset.get for):
(WebInspector.BreakpointManager.prototype._projectWillReset):
* inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleModel):
(WebInspector.CSSStyleModel.prototype._inspectedURLChanged):
(WebInspector.CSSStyleModel.prototype._resetSourceMappings):
(WebInspector.CSSStyleModelResourceBinding):
(WebInspector.CSSStyleModelResourceBinding.prototype._viaInspectorResourceURL):
(WebInspector.CSSStyleModelResourceBinding.prototype._reset):
* inspector/front-end/CompilerScriptMapping.js:
(WebInspector.CompilerScriptMapping):
(WebInspector.CompilerScriptMapping.prototype._debuggerReset):
* inspector/front-end/DebuggerScriptMapping.js:
* inspector/front-end/DefaultScriptMapping.js:
(WebInspector.DefaultScriptMapping):
(WebInspector.DefaultScriptMapping.prototype.addScript):
(WebInspector.DefaultScriptMapping.prototype._debuggerReset):
* inspector/front-end/ExtensionServer.js:
(WebInspector.ExtensionServer.prototype._onGetPageResources):
* inspector/front-end/FilteredItemSelectionDialog.js:
(WebInspector.OpenResourceDialog.show):
* inspector/front-end/LiveEditSupport.js:
(WebInspector.LiveEditSupport):
(WebInspector.LiveEditSupport.prototype.uiSourceCodeForLiveEdit):
(WebInspector.LiveEditSupport.prototype._debuggerReset):
* inspector/front-end/NetworkUISourceCodeProvider.js:
(WebInspector.NetworkUISourceCodeProvider):
(WebInspector.NetworkUISourceCodeProvider.prototype._mainFrameNavigated):
(WebInspector.NetworkUISourceCodeProvider.prototype._addFile):
(WebInspector.NetworkUISourceCodeProvider.prototype._reset):
* inspector/front-end/ResourceScriptMapping.js:
(WebInspector.ResourceScriptMapping):
(WebInspector.ResourceScriptMapping.prototype._uiSourceCodeAddedToWorkspace):
(WebInspector.ResourceScriptMapping.prototype._debuggerReset):
* inspector/front-end/RevisionHistoryView.js:
(WebInspector.RevisionHistoryView):
(WebInspector.RevisionHistoryView.prototype._projectWillReset):
* inspector/front-end/SASSSourceMapping.js:
(_bindUISourceCode):
* inspector/front-end/ScriptSnippetModel.js:
(WebInspector.ScriptSnippetModel):
(WebInspector.ScriptSnippetModel.prototype._addScriptSnippet):
(WebInspector.ScriptSnippetModel.prototype.reset):
* inspector/front-end/ScriptsNavigator.js:
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel):
(WebInspector.ScriptsPanel.prototype._addUISourceCode):
(WebInspector.ScriptsPanel.prototype._uiSourceCodeRemoved):
(WebInspector.ScriptsPanel.prototype._removeUISourceCodes):
(WebInspector.ScriptsPanel.prototype._debuggerWasDisabled):
(WebInspector.ScriptsPanel.prototype._debuggerReset):
(WebInspector.ScriptsPanel.prototype._projectWillReset):
(WebInspector.ScriptsPanel.prototype.canShowAnchorLocation):
(WebInspector.ScriptsPanel.prototype._revealExecutionLine):
(WebInspector.ScriptsPanel.prototype.showGoToSourceDialog):
* inspector/front-end/SimpleWorkspaceProvider.js:
(WebInspector.SimpleWorkspaceProvider):
(WebInspector.SimpleWorkspaceProvider.prototype.addFile):
(WebInspector.SimpleWorkspaceProvider.prototype.addFileForURL):
(WebInspector.SimpleWorkspaceProvider.prototype.reset):
* inspector/front-end/StylesSourceMapping.js:
(WebInspector.StylesSourceMapping):
(WebInspector.StylesSourceMapping.prototype._projectWillReset):
* inspector/front-end/TabbedEditorContainer.js:
(WebInspector.TabbedEditorContainer.prototype.reset):
* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype.project):
* inspector/front-end/Workspace.js:
(WebInspector.WorkspaceController):
(WebInspector.WorkspaceController.prototype._inspectedURLChanged):
(WebInspector.Project):
(WebInspector.Project.prototype.name):
(WebInspector.Project.prototype.isServiceProject):
(WebInspector.Project.prototype._reset):
(WebInspector.Workspace):
(WebInspector.Workspace.prototype.uiSourceCodeForURL):
(WebInspector.Workspace.prototype.uiSourceCodeForURI):
(WebInspector.Workspace.prototype.addProject):
(WebInspector.Workspace.prototype.project):
(WebInspector.Workspace.prototype.projects):
(WebInspector.Workspace.prototype.uiSourceCodes):
(WebInspector.Workspace.prototype.projectForUISourceCode):
(WebInspector.Workspace.prototype.requestFileContent):
(WebInspector.Workspace.prototype.setFileContent):
(WebInspector.Workspace.prototype.searchInFileContent):
* inspector/front-end/inspector.js:
* inspector/front-end/utilities.js:

LayoutTests:

* http/tests/inspector-enabled/dynamic-scripts.html:
* http/tests/inspector/compiler-script-mapping.html:
* http/tests/inspector/network/network-request-revision-content.html:
* http/tests/inspector/workspace-test.js:
(initialize_WorkspaceTest.InspectorTest.createWorkspace):
(initialize_WorkspaceTest.InspectorTest.addMockUISourceCodeToWorkspace):
* inspector/debugger/breakpoint-manager.html:
* inspector/debugger/dynamic-scripts.html:
* inspector/debugger/live-edit-breakpoints-expected.txt:
* inspector/debugger/live-edit-breakpoints.html:
* inspector/debugger/resource-script-mapping-expected.txt:
* inspector/debugger/resource-script-mapping.html:
* inspector/debugger/resources/edit-me-breakpoints.js: Added.
(f):
* inspector/debugger/script-snippet-model-expected.txt:
* inspector/debugger/script-snippet-model.html:
* inspector/debugger/scripts-panel-expected.txt:
* inspector/debugger/scripts-panel.html:
* inspector/debugger/watch-expressions-preserve-expansion-expected.txt:
* inspector/debugger/watch-expressions-preserve-expansion.html:
* inspector/uisourcecode-revisions.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Test Expectations update after Skia flag changes.

Unreviewed test expectations update.

These are still failing, not sure why as some of them are already in expectations.
Test lint passes.

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AX: Computed hierarchical level is not consistent with aria-level
https://bugs.webkit.org/show_bug.cgi?id=106638

Reviewed by Chris Fleizach.

Source/WebCore:

Make hierarchicalLevel computation 1-based to match the aria-level spec.

Extends an existing test: platform/mac/accessibility/aria-tree.html.

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::hierarchicalLevel):
* accessibility/AccessibilityObject.h:
(AccessibilityObject):
* accessibility/mac/WebAccessibilityObjectWrapper.mm:
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):

LayoutTests:

Extend aria-tree.html to check the hierarchicalLevel automatically
computed when aria-level is not provided. Make sure they're consistent.
Now, the mac disclosureLevel will be one less than the web aria-level.

* platform/mac/accessibility/aria-tree-expected.txt:
* platform/mac/accessibility/aria-tree.html:
* platform/mac/accessibility/aria-treegrid-expected.txt:
* platform/mac/accessibility/aria-treegrid.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[SVG] Suppress resource rebuilding for unattached and shadow elements
https://bugs.webkit.org/show_bug.cgi?id=106664

Reviewed by Dirk Schulze.

Source/WebCore:

SVGStyledElement::buildPendingResourcesIfNeeded() can be called while cloning a subtree
(as nodes are inserted into the clone, while still detached) or when elements are inserted
into the shadow tree. Both of these cases are problematic for SVGUseElement and can trigger
indirect recursion in SVGUseElement::buildPendingResource.

Since shadow and !inDocument() nodes are of no interest to ID dependents (they cannot be
found by ID in the document), the patch short-circuits buildPendingResource() for these
cases.

Test: svg/custom/use-rebuild-resources-crash.svg

* svg/SVGStyledElement.cpp:
(WebCore::SVGStyledElement::buildPendingResourcesIfNeeded):

LayoutTests:

* svg/custom/use-rebuild-resources-crash-expected.txt: Added.
* svg/custom/use-rebuild-resources-crash.svg: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8] Slightly optimize getWrapperFast()
https://bugs.webkit.org/show_bug.cgi?id=106667

Reviewed by Adam Barth.

This patch improves an if condition in getWrapperFast(),
as commented in DOMDataStore.h.

This patch improves performance of div.firstChild from
15.1 ns to 14.0 ns (+7.8%), although I couldn't observe
performance improvement in Dromaeo/dom-traverse.

No tests. No change in behavior.

* bindings/v8/DOMDataStore.h:
(WebCore::DOMDataStore::getWrapperFast):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] WebGL typed array constructor crashes on exception
https://bugs.webkit.org/show_bug.cgi?id=106308

Reviewed by Kentaro Hara.

Source/WebCore:

Check for empty handles (indicating exception thrown) after calls
into V8 VM.

Added new case from Khronos typed array conformance tests to
fast/canvas/webgl/array-unit-tests.html.

* bindings/v8/custom/V8ArrayBufferViewCustom.h:
(WebCore::constructWebGLArray):
    Check for empty handles after calls into V8 VM.

LayoutTests:

Updated typed array tests to latest version from Khronos repository.

* fast/canvas/webgl/array-unit-tests-expected.txt:
* fast/canvas/webgl/array-unit-tests.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Try CRLF to LF change in r139407 again.

* BuildSlaveSupport/delete-stale-build-files:
(main):
(webkitBuildDirectory):
* BuildSlaveSupport/kill-old-processes:
(main):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
RenderLayerCompositor should let ScrollingCoordinator update main thread scrolling reasons after change of layers
https://bugs.webkit.org/show_bug.cgi?id=105652

Reviewed by Simon Fraser.

Source/WebCore:

Let ScrollingCoordinator know the change of ViewportConstrainedNotCompositedReason in time.
By the way moved RenderLayerCompositor::FixedPositionLayerNotCompositedReason to RenderLayer::ViewportConstrainedNotCompositedReason.

Tests: compositing/layer-creation/fixed-position-in-view-dynamic.html
       compositing/layer-creation/fixed-position-out-of-view-dynamic.html

* page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::hasVisibleSlowRepaintViewportConstrainedObjects):
(WebCore::ScrollingCoordinator::mainThreadScrollingReasons):
(WebCore::ScrollingCoordinator::mainThreadScrollingReasonsAsText):
* page/scrolling/ScrollingCoordinator.h:
(ScrollingCoordinator):
* page/scrolling/mac/ScrollingCoordinatorMac.h:
(WebCore::ScrollingCoordinatorMac::hasVisibleSlowRepaintViewportConstrainedObjects):
* page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
(WebCore::logThreadedScrollingMode):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::RenderLayer):
(WebCore::RenderLayer::paintLayer):
* rendering/RenderLayer.h:
(RenderLayer): Moved RenderLayerCompositor::FixedPositionLayerNotCompositedReason to here and renamed it to ViewportConstrainedNotCompositedReason.
(WebCore::RenderLayer::setViewportConstrainedNotCompositedReason):
(WebCore::RenderLayer::viewportConstrainedNotCompositedReason):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateCompositingLayers):
(WebCore::RenderLayerCompositor::updateBacking): Now updates ViewportConstrainedNotCompositedReason here instead of in computeCompositingRequirements before so that the reason is updated in time.
(WebCore::RenderLayerCompositor::computeCompositingRequirements):
(WebCore::RenderLayerCompositor::needsToBeComposited):
(WebCore::RenderLayerCompositor::requiresCompositingLayer):
(WebCore::RenderLayerCompositor::reasonForCompositing):
(WebCore::RenderLayerCompositor::requiresCompositingForPosition):
(WebCore::RenderLayerCompositor::reportMemoryUsage):
* rendering/RenderLayerCompositor.h:
(RenderLayerCompositor):

LayoutTests:

Tests to ensure mainThreadScrollingReasons are correctly updated after a fixed element is dynamically inserted into the DOM tree.

* compositing/layer-creation/fixed-position-in-view-dynamic-expected.txt: Added.
* compositing/layer-creation/fixed-position-in-view-dynamic.html: Added.
* compositing/layer-creation/fixed-position-out-of-view-dynamic-expected.txt: Added.
* compositing/layer-creation/fixed-position-out-of-view-dynamic.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening. Skipping accessibility/corresponding-control-deleted-crash.html on Mac since
it fails without Shadow DOM enabled.

* platform/mac/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Incoming synchronous messages can sometimes arrive out of order
https://bugs.webkit.org/show_bug.cgi?id=106677
<rdar://problem/12889499>

Reviewed by Andreas Kling.

In cases where synchronous messages come in more than one connection at the same time, we can sometimes deliver
the synchronous messages before any pending asynchronous messages on that connection. This breaks FIFO ordering.

Fix this by separating the "dispatch all incoming synchronous messages" phase out into multiple phases, so we'll
schedule one call per connection instead of one call for all connections.

* Platform/CoreIPC/Connection.cpp:
(Connection::SyncMessageState):
(CoreIPC::Connection::SyncMessageState::SyncMessageState):
(CoreIPC::Connection::SyncMessageState::processIncomingMessage):
(CoreIPC::Connection::SyncMessageState::dispatchMessages):
(CoreIPC::Connection::SyncMessageState::dispatchMessageAndResetDidScheduleDispatchMessagesForConnection):
(CoreIPC::Connection::waitForSyncReply):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Fix make distcheck.

* GNUmakefile.list.am: Add missing header files.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Update NEWS and configure.ac for 1.11.4 release

.:

* configure.ac: Bump version numbers.

Source/WebKit/gtk:

* NEWS: Added release notes for 1.11.4.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[ Chromium ] New Mac rebaselines (some)

Unreviewed expectatiosn update after skia changes.

These are some of the Mac fixes, but mostly it addresses the issues
with TestExpectations, so hopefully we'll get green builds.

* platform/chromium-mac-lion/editing/deleting/4922367-expected.png:
* platform/chromium-mac-lion/editing/deleting/5099303-expected.png:
* platform/chromium-mac-lion/editing/deleting/5126166-expected.png:
* platform/chromium-mac-lion/editing/deleting/5144139-2-expected.png:
* platform/chromium-mac-lion/editing/deleting/5206311-1-expected.png:
* platform/chromium-mac-lion/editing/deleting/5272440-expected.png:
* platform/chromium-mac-lion/editing/deleting/5369009-expected.png:
* platform/chromium-mac-lion/editing/deleting/5433862-2-expected.png:
* platform/chromium-mac-lion/editing/deleting/5483370-expected.png:
* platform/chromium-mac-lion/editing/deleting/collapse-whitespace-3587601-fix-expected.png: Added.
* platform/chromium-mac-lion/editing/deleting/delete-3608445-fix-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-3608462-fix-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-4083333-fix-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-after-span-ws-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-after-span-ws-002-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-after-span-ws-003-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-and-undo-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-paragraph-boundaries-002-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-paragraph-boundaries-003-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-paragraph-boundaries-004-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-paragraph-boundaries-005-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-paragraph-boundaries-006-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-paragraph-boundaries-007-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-paragraph-boundaries-008-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-paragraph-boundaries-009-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-paragraph-boundaries-010-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-paragraph-boundaries-011-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-at-start-or-end-expected.png: Added.
* platform/chromium-mac-lion/editing/deleting/delete-block-contents-001-expected.png: Added.
* platform/chromium-mac-lion/editing/deleting/delete-block-contents-002-expected.png: Added.
* platform/chromium-mac-lion/editing/deleting/delete-block-contents-003-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-002-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-003-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-004-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-005-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-006-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-007-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-008-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-009-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-010-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-011-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-012-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-013-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-014-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-015-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-016-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-block-merge-contents-017-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-br-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-br-002-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-br-003-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-br-004-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-br-005-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-br-006-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-br-007-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-br-013-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-character-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-contiguous-ws-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-first-list-item-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-hr-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-image-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-image-002-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-image-003-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-image-004-expected.png: Added.
* platform/chromium-mac-lion/editing/deleting/delete-leading-ws-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-line-015-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-line-016-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-line-017-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-line-end-ws-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-line-end-ws-002-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-listitem-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-listitem-002-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-selection-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-tab-001-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-tab-002-expected.png:
* platform/chromium-mac-lion/editing/deleting/delete-tab-003-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/4922367-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/5099303-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/5126166-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/5144139-2-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/5206311-1-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/5272440-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/5369009-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/5433862-2-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/5483370-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/collapse-whitespace-3587601-fix-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-3608445-fix-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-3608462-fix-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-4083333-fix-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-after-span-ws-001-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-after-span-ws-002-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-after-span-ws-003-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-and-undo-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-paragraph-boundaries-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-paragraph-boundaries-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-paragraph-boundaries-004-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-paragraph-boundaries-005-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-paragraph-boundaries-006-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-paragraph-boundaries-007-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-paragraph-boundaries-008-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-paragraph-boundaries-009-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-paragraph-boundaries-010-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-paragraph-boundaries-011-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-at-start-or-end-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-contents-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-contents-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-contents-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-004-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-005-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-006-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-007-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-008-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-009-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-010-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-011-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-012-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-013-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-014-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-015-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-016-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-merge-contents-017-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-br-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-br-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-br-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-br-004-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-br-005-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-br-006-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-br-007-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-br-013-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-character-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-contiguous-ws-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-first-list-item-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-hr-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-image-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-image-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-image-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-image-004-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-leading-ws-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-line-015-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-line-016-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-line-017-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-line-end-ws-001-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-line-end-ws-002-expected.png:
* platform/chromium-mac-snowleopard/editing/deleting/delete-listitem-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-listitem-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-selection-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-tab-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-tab-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-tab-003-expected.png: Added.
* platform/chromium-win-xp/css2.1/20110323/replaced-min-max-001-expected.png: Added.
* platform/chromium-win/css2.1/20110323/replaced-min-max-001-expected.png:
* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening. Marking platform/chromium/virtual/gpu/fast/hidpi/image-set-background-dynamic.html
as slow on Debug builds.

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8] Do not create a local handle for a cached v8 string that is returned to V8 immediately
https://bugs.webkit.org/show_bug.cgi?id=106557

Reviewed by Adam Barth.

Currently we are always creating a local handle for a cached
V8 string returned to V8:

  Handle<Value> v8String(StringImpl* impl, Isolate* isolate) {
    ...;
    return Local<String>::New(isolate, m_cachedString);
  }

However, we don't need to create a local handle in a case
where it is guaranteed that no V8 object allocation is conducted
before a control flow returns back to V8. In particular, in a case
where a cached V8 string is immediately returned to V8, we don't
need to create a local handle:

  Handle<Value> xxxxAttrGetter() {
    ...;
    return v8String(imp->xxxx(), isolate);  // This can return a persistent handle safely.
  }

This patch improves performance of div.id by 9.2%.

No tests. No change in behavior.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateNormalAttrGetter):
(GenerateCallbackImplementation):
(GenerateFunctionCallString):
(NativeToJSValue):
* bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore::TestEventConstructorV8Internal::attr1AttrGetter):
(WebCore::TestEventConstructorV8Internal::attr2AttrGetter):
* bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::TestExceptionV8Internal::nameAttrGetter):
* bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrGetter):
(WebCore::TestInterfaceV8Internal::supplementalStr1AttrGetter):
(WebCore::TestInterfaceV8Internal::supplementalStr2AttrGetter):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::readOnlyStringAttrAttrGetter):
(WebCore::TestObjV8Internal::staticStringAttrAttrGetter):
(WebCore::TestObjV8Internal::stringAttrAttrGetter):
(WebCore::TestObjV8Internal::reflectedStringAttrAttrGetter):
(WebCore::TestObjV8Internal::reflectedURLAttrAttrGetter):
(WebCore::TestObjV8Internal::reflectedCustomURLAttrAttrGetter):
(WebCore::TestObjV8Internal::stringAttrWithGetterExceptionAttrGetter):
(WebCore::TestObjV8Internal::stringAttrWithSetterExceptionAttrGetter):
(WebCore::TestObjV8Internal::hashAttrGetter):
(WebCore::TestObjV8Internal::conditionalMethod1Callback):
* bindings/v8/V8Binding.h:
(WebCore::v8String):
(WebCore::v8StringOrNull):
(WebCore::v8StringOrUndefined):
* bindings/v8/V8ValueCache.cpp:
(WebCore::StringCache::v8ExternalStringSlow):
* bindings/v8/V8ValueCache.h:
(WebCore::StringCache::v8ExternalString):
(StringCache):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Heap-use-after-free in WebCore::RenderText::computePreferredLogicalWidths
https://bugs.webkit.org/show_bug.cgi?id=95901

Reviewed by Simon Fraser.

Prevent re-entrancy of view layout. Loading of SVG document during font load
causes it to re-enter layout and blowing the style away from underneath.

Test: Go to http://www.speckproducts.com and make sure crash does not happen.

* dom/Document.cpp:
(WebCore::Document::updateLayout):


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