Unreviewed, gardening for chromium.
https://bugs.webkit.org/show_bug.cgi?id=110203

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143315 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Adding myself as a committer.

* Scripts/webkitpy/common/config/committers.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Native Memory Instrumentation: show user provided name property of the heap snapshot node.
https://bugs.webkit.org/show_bug.cgi?id=110124

Reviewed by Yury Semikhatsky.

Publish userProvidedName into grid node.

* inspector/front-end/HeapSnapshotGridNodes.js:
(WebInspector.HeapSnapshotGenericObjectNode):
(WebInspector.HeapSnapshotGenericObjectNode.prototype._createObjectCell):
(WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
* inspector/front-end/HeapSnapshotProxy.js:
(WebInspector.HeapSnapshotWorker):
* inspector/front-end/NativeHeapSnapshot.js:
(WebInspector.NativeHeapSnapshotNode.prototype.serialize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143317 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Text Autosizing] Combine narrow descendants of a cluster into groups that should be autosized with the same multiplier.
https://bugs.webkit.org/show_bug.cgi?id=109825

Source/WebCore:

Enhancement of the approach introduced in https://bugs.webkit.org/show_bug.cgi?id=109573.
Instead of using the same text size multiplier for all narrow descendants of any autosizing
cluster, group the descendants by how much narrower they are than the cluster's
|blockContainingAllText| and process each group separately with a different multiplier for
each one.
For example, we want nested comments on the page to be autosized as a group but separately
from a sidebar on the same page.

Patch by Anton Vayvod <avayvod@chromium.org> on 2013-02-19
Reviewed by Kenneth Rohde Christiansen.

Updated the existing test to verify the patch.

* rendering/TextAutosizer.cpp:
(WebCore::TextAutosizer::processClusterInternal):

    Splits the narrow descendants of the autosizing cluster into groups before processing
    each group individually.

(WebCore::TextAutosizer::getNarrowDescendantsGroupedByWidth):

    Sorts the narrow descendants of the given cluster into groups, combining them by the
    difference between their content widths. If sorted by width, two consecutive nodes
    belong to the same group if their width difference is no greater than 100 CSS units.

* rendering/TextAutosizer.h:

    New method definitions.

LayoutTests:

Verify that narrow descendants are grouped and autosized separately according to the
difference between the descendant's width and the width of its enclosing cluster's
|blockContainingAllText|.

Patch by Anton Vayvod <avayvod@chromium.org> on 2013-02-19
Reviewed by Kenneth Rohde Christiansen.

* fast/text-autosizing/narrow-descendants-combined-expected.html:
* fast/text-autosizing/narrow-descendants-combined.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Enable MathML
https://bugs.webkit.org/show_bug.cgi?id=110205

Reviewed by Simon Hausmann.

Tools:

    * qmake/mkspecs/features/features.pri:

LayoutTests:

    Baselines for the MathML tests.

    * platform/qt/mathml/presentation/attributes-expected.png: Added.
    * platform/qt/mathml/presentation/attributes-expected.txt: Added.
    * platform/qt/mathml/presentation/fenced-expected.png: Added.
    * platform/qt/mathml/presentation/fenced-expected.txt: Added.
    * platform/qt/mathml/presentation/fenced-mi-expected.png: Added.
    * platform/qt/mathml/presentation/fenced-mi-expected.txt: Added.
    * platform/qt/mathml/presentation/fractions-expected.png: Added.
    * platform/qt/mathml/presentation/fractions-expected.txt: Added.
    * platform/qt/mathml/presentation/fractions-vertical-alignment-expected.png: Added.
    * platform/qt/mathml/presentation/fractions-vertical-alignment-expected.txt: Added.
    * platform/qt/mathml/presentation/mo-expected.png: Added.
    * platform/qt/mathml/presentation/mo-expected.txt: Added.
    * platform/qt/mathml/presentation/mo-stretch-expected.png: Added.
    * platform/qt/mathml/presentation/mo-stretch-expected.txt: Added.
    * platform/qt/mathml/presentation/mroot-pref-width-expected.png: Added.
    * platform/qt/mathml/presentation/mroot-pref-width-expected.txt: Added.
    * platform/qt/mathml/presentation/over-expected.png: Added.
    * platform/qt/mathml/presentation/over-expected.txt: Added.
    * platform/qt/mathml/presentation/roots-expected.png: Added.
    * platform/qt/mathml/presentation/roots-expected.txt: Added.
    * platform/qt/mathml/presentation/row-alignment-expected.png: Added.
    * platform/qt/mathml/presentation/row-alignment-expected.txt: Added.
    * platform/qt/mathml/presentation/row-expected.png: Added.
    * platform/qt/mathml/presentation/row-expected.txt: Added.
    * platform/qt/mathml/presentation/style-expected.png: Added.
    * platform/qt/mathml/presentation/style-expected.txt: Added.
    * platform/qt/mathml/presentation/sub-expected.png: Added.
    * platform/qt/mathml/presentation/sub-expected.txt: Added.
    * platform/qt/mathml/presentation/subsup-expected.png: Added.
    * platform/qt/mathml/presentation/subsup-expected.txt: Added.
    * platform/qt/mathml/presentation/sup-expected.png: Added.
    * platform/qt/mathml/presentation/sup-expected.txt: Added.
    * platform/qt/mathml/presentation/tables-expected.png: Added.
    * platform/qt/mathml/presentation/tables-expected.txt: Added.
    * platform/qt/mathml/presentation/tokenElements-expected.png: Added.
    * platform/qt/mathml/presentation/tokenElements-expected.txt: Added.
    * platform/qt/mathml/presentation/under-expected.png: Added.
    * platform/qt/mathml/presentation/under-expected.txt: Added.
    * platform/qt/mathml/presentation/underover-expected.png: Added.
    * platform/qt/mathml/presentation/underover-expected.txt: Added.
    * platform/qt/mathml/xHeight-expected.png: Added.
    * platform/qt/mathml/xHeight-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix build broekn by r142988.
https://bugs.webkit.org/show_bug.cgi?id=109530

Unreviewed. Build fix.

Properly add shortMonthFormat() to the LocaleNone class.

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-02-19

* platform/text/LocaleNone.cpp:
(LocaleNone):
(WebCore::LocaleNone::shortMonthFormat):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143320 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviewed gardening.
New baselines for effect-reference.html and effect-reference-hw.html

* platform/chromium-linux-x86/css3/filters/effect-reference-expected.png: Added.
* platform/chromium-linux-x86/css3/filters/effect-reference-expected.txt: Copied from LayoutTests/platform/chromium-win/css3/filters/effect-reference-expected.txt.
* platform/chromium-linux/css3/filters/effect-reference-expected.png: Added.
* platform/chromium-linux/css3/filters/effect-reference-expected.txt: Copied from LayoutTests/platform/chromium-win/css3/filters/effect-reference-expected.txt.
* platform/chromium-linux/css3/filters/effect-reference-hw-expected.png:
* platform/chromium-mac-lion/css3/filters/effect-reference-expected.png: Added.
* platform/chromium-mac-lion/css3/filters/effect-reference-expected.txt: Renamed from LayoutTests/platform/chromium-mac-lion/css3/filters/effect-reference-hw-expected.txt.
* platform/chromium-mac-snowleopard/css3/filters/effect-reference-expected.png: Added.
* platform/chromium-mac-snowleopard/css3/filters/effect-reference-expected.txt: Renamed from LayoutTests/platform/chromium-mac-snowleopard/css3/filters/effect-reference-hw-expected.txt.
* platform/chromium-mac/css3/filters/effect-reference-expected.png:
* platform/chromium-mac/css3/filters/effect-reference-expected.txt:
* platform/chromium-mac/css3/filters/effect-reference-hw-expected.png:
* platform/chromium-mac/css3/filters/effect-reference-hw-expected.txt:
* platform/chromium-win-xp/css3/filters/effect-reference-expected.png: Added.
* platform/chromium-win-xp/css3/filters/effect-reference-expected.txt: Copied from LayoutTests/platform/chromium-win/css3/filters/effect-reference-expected.txt.
* platform/chromium-win/css3/filters/effect-reference-expected.png:
* platform/chromium-win/css3/filters/effect-reference-expected.txt:
* platform/chromium-win/css3/filters/effect-reference-hw-expected.png:
* platform/chromium-win/css3/filters/effect-reference-hw-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Regions] Assertion in RenderFlowThread::removeRenderBoxRegionInfo
https://bugs.webkit.org/show_bug.cgi?id=109914

Reviewed by David Hyatt.

Source/WebCore:

This patch moves a part of the invalidation operations inside the RenderFlowThread::invalidateRegions call. The maps
are cleared anyway at layout time but doing this earlier makes sure the flow thread is in a more consistent state
(the RenderFlowThread object has both the region chain invalidated and the regions information cleared).

RenderFlowThread::removeRenderBoxRegionInfo will check if the region chain is invalidated. If true, it means the
flow thread has a layout scheduled and the regions information is not yet reliable. In this case we just return from the
function and wait for the layout to cleanup the box information.

Test: fast/regions/remove-box-info-assert.html

* rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::removeRegionFromThread):
(WebCore::RenderFlowThread::invalidateRegions):
(WebCore):
(WebCore::RenderFlowThread::layout):
(WebCore::RenderFlowThread::removeRenderBoxRegionInfo):
* rendering/RenderFlowThread.h:
* rendering/RenderNamedFlowThread.cpp:
(WebCore::RenderNamedFlowThread::removeRegionFromThread):

LayoutTests:

The test creates a flow thread with two regions and a content node. We remove the region and the node from the flow thread
at the same time. When the style is updated, the region is first removed from the chain and range information for boxes
is cleared from the flow thread. When the node is removed from the flow thread it tries to delete its region box information.
The range information on the flow thread is gone so the range for the node's box is zero - nothing gets deleted. Afterwards,
an ASSERT is triggered because there's leftover box information inside the region chain.

* fast/regions/remove-box-info-assert-expected.txt: Added.
* fast/regions/remove-box-info-assert.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r143319.
http://trac.webkit.org/changeset/143319
https://bugs.webkit.org/show_bug.cgi?id=110214

Causes build issues on win32 (Requested by carewolf on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-02-19

Tools:

* qmake/mkspecs/features/features.pri:

LayoutTests:

* platform/qt/mathml/presentation/attributes-expected.png: Removed.
* platform/qt/mathml/presentation/attributes-expected.txt: Removed.
* platform/qt/mathml/presentation/fenced-expected.png: Removed.
* platform/qt/mathml/presentation/fenced-expected.txt: Removed.
* platform/qt/mathml/presentation/fenced-mi-expected.png: Removed.
* platform/qt/mathml/presentation/fenced-mi-expected.txt: Removed.
* platform/qt/mathml/presentation/fractions-expected.png: Removed.
* platform/qt/mathml/presentation/fractions-expected.txt: Removed.
* platform/qt/mathml/presentation/fractions-vertical-alignment-expected.png: Removed.
* platform/qt/mathml/presentation/fractions-vertical-alignment-expected.txt: Removed.
* platform/qt/mathml/presentation/mo-expected.png: Removed.
* platform/qt/mathml/presentation/mo-expected.txt: Removed.
* platform/qt/mathml/presentation/mo-stretch-expected.png: Removed.
* platform/qt/mathml/presentation/mo-stretch-expected.txt: Removed.
* platform/qt/mathml/presentation/mroot-pref-width-expected.png: Removed.
* platform/qt/mathml/presentation/mroot-pref-width-expected.txt: Removed.
* platform/qt/mathml/presentation/over-expected.png: Removed.
* platform/qt/mathml/presentation/over-expected.txt: Removed.
* platform/qt/mathml/presentation/roots-expected.png: Removed.
* platform/qt/mathml/presentation/roots-expected.txt: Removed.
* platform/qt/mathml/presentation/row-alignment-expected.png: Removed.
* platform/qt/mathml/presentation/row-alignment-expected.txt: Removed.
* platform/qt/mathml/presentation/row-expected.png: Removed.
* platform/qt/mathml/presentation/row-expected.txt: Removed.
* platform/qt/mathml/presentation/style-expected.png: Removed.
* platform/qt/mathml/presentation/style-expected.txt: Removed.
* platform/qt/mathml/presentation/sub-expected.png: Removed.
* platform/qt/mathml/presentation/sub-expected.txt: Removed.
* platform/qt/mathml/presentation/subsup-expected.png: Removed.
* platform/qt/mathml/presentation/subsup-expected.txt: Removed.
* platform/qt/mathml/presentation/sup-expected.png: Removed.
* platform/qt/mathml/presentation/sup-expected.txt: Removed.
* platform/qt/mathml/presentation/tables-expected.png: Removed.
* platform/qt/mathml/presentation/tables-expected.txt: Removed.
* platform/qt/mathml/presentation/tokenElements-expected.png: Removed.
* platform/qt/mathml/presentation/tokenElements-expected.txt: Removed.
* platform/qt/mathml/presentation/under-expected.png: Removed.
* platform/qt/mathml/presentation/under-expected.txt: Removed.
* platform/qt/mathml/presentation/underover-expected.png: Removed.
* platform/qt/mathml/presentation/underover-expected.txt: Removed.
* platform/qt/mathml/xHeight-expected.png: Removed.
* platform/qt/mathml/xHeight-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Canvas] UI: tweak replay control buttons behavior
https://bugs.webkit.org/show_bug.cgi?id=110207

Reviewed by Pavel Feldman.

Source/WebCore:

New behavior for control buttons in the Canvas profiler.
- The NextCall button (~StepInto) on a node group should expand it and move into its first child (instead of expanding and moving into the next node group)
- The NextDrawCall button (~StepOver) should move to a next node that has children (instead of just iterating call group nodes, ignoring frame nodes).
- The ReplayLast button should select the last expanded node (instead of always selecting last frame group node).

* inspector/front-end/CanvasProfileView.js:
(WebInspector.CanvasProfileView.prototype._onReplayStepClick):
(WebInspector.CanvasProfileView.prototype._onReplayDrawingCallClick):
(WebInspector.CanvasProfileView.prototype._onReplayLastStepClick):

LayoutTests:

Testing control buttons behavior.

* inspector/profiler/canvas2d/canvas-replay-log-grid-expected.txt:
* inspector/profiler/canvas2d/canvas-replay-log-grid.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Canvas] do not replace replay image with spinner icon
https://bugs.webkit.org/show_bug.cgi?id=110213

Reviewed by Pavel Feldman.

Otherwise it's visually hard to see changes in the replay image. Instead show a small spinner icon in the bottom right corner.

* inspector/front-end/CanvasProfileView.js:
(WebInspector.CanvasProfileView):
(WebInspector.CanvasProfileView.prototype._enableWaitIcon):
* inspector/front-end/canvasProfiler.css:
(#canvas-replay-image-container):
(.canvas-debug-info):
(.canvas-spinner-icon):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Skip the build with a warning if certain tools cannot be found in the PATH
https://bugs.webkit.org/show_bug.cgi?id=110215

Reviewed by Tor Arne Vestbø.

Check that gperf, python, ruby, perl, bison and flex are in the PATH before
continuing the build. Otherwise skip with an error message explaining which
programs are missing from the build.

* qmake/mkspecs/features/configure.prf:
* qmake/mkspecs/features/functions.prf:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Decouple various file system project implementation parts for better testability and cover with tests.
https://bugs.webkit.org/show_bug.cgi?id=110204

Reviewed by Pavel Feldman.

Source/WebCore:

Extracted FileSystemWorkspaceProvider from IsolatedFileSystemManager to take care of managing workspace projects and projectDelegates.
Replaced FileMapping.urlForURI with urlForPath method that does not need any information about workspace structure anymore.

Test: inspector/file-system-project.html

* inspector/front-end/FileMapping.js:
(WebInspector.FileMapping.prototype.urlForPath):
* inspector/front-end/FileSystemProjectDelegate.js:
(WebInspector.FileSystemProjectDelegate):
(WebInspector.FileSystemProjectDelegate.prototype.populate.filesLoaded):
(WebInspector.FileSystemProjectDelegate.prototype.populate):
(WebInspector.FileSystemWorkspaceProvider):
(WebInspector.FileSystemWorkspaceProvider.prototype._fileSystemAdded):
(WebInspector.FileSystemWorkspaceProvider.prototype._fileSystemRemoved):
* inspector/front-end/IsolatedFileSystem.js:
(WebInspector.IsolatedFileSystem):
(WebInspector.IsolatedFileSystem.prototype.name):
(WebInspector.IsolatedFileSystem.prototype.rootURL):
* inspector/front-end/IsolatedFileSystemManager.js:
(WebInspector.IsolatedFileSystemManager):
(WebInspector.IsolatedFileSystemManager.prototype._innerAddFileSystem):
(WebInspector.IsolatedFileSystemManager.prototype._fileSystemRemoved):
(WebInspector.IsolatedFileSystemManager.prototype._isolatedFileSystem):
(WebInspector.IsolatedFileSystemManager.prototype.requestDOMFileSystem):
* inspector/front-end/inspector.js:

LayoutTests:

* http/tests/inspector/inspector-test.js:
(initialize_InspectorTest):
(initialize_InspectorTest.):
* http/tests/inspector/workspace-test.js:
(initialize_WorkspaceTest.uiSourceCodeAdded):
(initialize_WorkspaceTest.InspectorTest.waitForWorkspaceUISourceCodeAddedEvent):
(initialize_WorkspaceTest.InspectorTest._defaultUISourceCodeProviderEventHandler):
* inspector/file-mapping-expected.txt:
* inspector/file-mapping.html:
* inspector/file-system-project-expected.txt: Added.
* inspector/file-system-project.html: Added.
* inspector/version-controller.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Canvas] use timeline's didBeginFrame for marking frame end calls
https://bugs.webkit.org/show_bug.cgi?id=110130

Reviewed by Pavel Feldman.

In Web Inspector canvas profiler use timeline's didBeginFrame for marking frame end calls instead of an ad-hoc timeout-based solution.

* inspector/InjectedScriptCanvasModule.cpp:
(WebCore::InjectedScriptCanvasModule::markFrameEnd):
(WebCore):
* inspector/InjectedScriptCanvasModule.h:
(InjectedScriptCanvasModule):
* inspector/InjectedScriptCanvasModuleSource.js:
(.):
* inspector/InspectorCanvasAgent.cpp:
(WebCore::InspectorCanvasAgent::hasUninstrumentedCanvases):
(WebCore::InspectorCanvasAgent::notifyRenderingContextWasWrapped):
(WebCore::InspectorCanvasAgent::findFramesWithUninstrumentedCanvases):
(WebCore::InspectorCanvasAgent::frameNavigated):
(WebCore::InspectorCanvasAgent::didBeginFrame):
(WebCore):
* inspector/InspectorCanvasAgent.h:
(InspectorCanvasAgent):
* inspector/InspectorController.cpp:
(WebCore::InspectorController::didBeginFrame):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Soup] Use synchronous calls to close completely processed streams
https://bugs.webkit.org/show_bug.cgi?id=107432

Reviewed by Martin Robinson.

There is no need to close already processed streams in asynchronous
calls since they won't block. Using the synchronous call will save
us some code and unnecessary asynchronous burden. This is kind of
a code refactor so no new tests needed.

* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore):
(WebCore::redirectSkipCallback):
(WebCore::readCallback):

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

* platform/gtk/TestExpectations: Adding a crash expectation for the layout test
added in r143303. The test is crashing due to missing bits of EventSender implementation.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
RenderGrid::computedUsedBreadthOfGridTracks can read past m_grid's size
https://bugs.webkit.org/show_bug.cgi?id=110126

Reviewed by Ojan Vafai.

Source/WebCore:

The issue comes from how we store the column information inside m_grid.
Because m_grid is a Vector of rows, we could lose the column information
if we had no row, no grid item but some columns defined in CSS. As the
logic would assume that our row / column size would be greater than what
the style defines explicitely, we would access past our Vector's boundary.

The fix is to ensure that we have at least a row so that we can store the
column information in every case. This fix is overly broad as it also forces
the grid to have one column, which shouldn't be an issue.

Test: fast/css-grid-layout/grid-element-empty-row-column.html

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::maximumIndexInDirection):
Forced this function to return at least one as the maximum index so that
m_grid has at least one row / column.

(WebCore::RenderGrid::placeItemsOnGrid):
Added a ASSERT that m_grid is bigger than the explicit grid-rows / grid-columns.
Also changed an existing ASSERT to use gridWasPopulated for consistency and changed
the code not to call gridRowCount as it would ASSERT (we are in the middle of populating
the grid).

* rendering/RenderGrid.h:
(WebCore::RenderGrid::gridWasPopulated):
Added this helper function.

(WebCore::RenderGrid::gridColumnCount):
Replaced a now unneeded branch with an ASSERT. As placeItemsOnGrid should be called
prior to read m_grid, this change should be fine.

(WebCore::RenderGrid::gridRowCount):
Added an ASSERT.

LayoutTests:

* fast/css-grid-layout/grid-element-empty-row-column-expected.txt: Added.
* fast/css-grid-layout/grid-element-empty-row-column.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143331 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Regression(r143273): Caused a lot of tests to time out
https://bugs.webkit.org/show_bug.cgi?id=110212

Reviewed by Anders Carlsson.

StorageManager::destroySessionStorageNamespace() and StorageManager::cloneSessionStorageNamespace()
should call their respective "*Internal" equivalent instead of calling themselves. This lead to
a lot of time outs on our build bots.

* UIProcess/Storage/StorageManager.cpp:
(WebKit::StorageManager::destroySessionStorageNamespace):
(WebKit::StorageManager::cloneSessionStorageNamespace):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r142975.
http://trac.webkit.org/changeset/142975
https://bugs.webkit.org/show_bug.cgi?id=110225

Introduces hard-to-reproduce crashes upon inspected page
navigation on Mac (Requested by apavlov on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-02-19

Source/WebCore:

* dom/DocumentStyleSheetCollection.cpp:
(WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
* inspector/Inspector.json:
* inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::InspectorCSSAgent):
(WebCore::InspectorCSSAgent::clearFrontend):
(WebCore::InspectorCSSAgent::enable):
(WebCore::InspectorCSSAgent::getAllStyleSheets):
(WebCore::InspectorCSSAgent::collectStyleSheets):
(WebCore::InspectorCSSAgent::bindStyleSheet):
(WebCore::InspectorCSSAgent::viaInspectorStyleSheet):
(WebCore::InspectorCSSAgent::detectOrigin):
(WebCore::InspectorCSSAgent::buildObjectForRule):
* inspector/InspectorCSSAgent.h:
(InspectorCSSAgent):
* inspector/InspectorInstrumentation.cpp:
(WebCore):
* inspector/InspectorInstrumentation.h:
(WebCore):
(InspectorInstrumentation):
* inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleModel.prototype.getViaInspectorResourceForRule):
(WebInspector.CSSStyleModelResourceBinding.prototype.):
(WebInspector.CSSStyleModelResourceBinding.prototype.requestStyleSheetIdForResource):
(WebInspector.CSSStyleModelResourceBinding.prototype.requestResourceURLForStyleSheetId):
(WebInspector.CSSStyleModelResourceBinding.prototype._styleSheetIdForResource):
(WebInspector.CSSStyleModelResourceBinding.prototype._loadStyleSheetHeaders):
(WebInspector.CSSStyleModelResourceBinding.prototype.headersLoaded):
(WebInspector.CSSStyleModelResourceBinding.prototype._requestViaInspectorResource):
(WebInspector.CSSStyleModelResourceBinding.prototype._getOrCreateInspectorResource):
(WebInspector.CSSStyleModelResourceBinding.prototype._reset):
* inspector/front-end/SASSSourceMapping.js:
(WebInspector.SASSSourceMapping.prototype._styleSheetChanged.callback):
(WebInspector.SASSSourceMapping.prototype._styleSheetChanged):
* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype._createRuleOriginNode.callback):
(WebInspector.StylePropertiesSection.prototype._createRuleOriginNode):
* inspector/front-end/StylesSourceMapping.js:
(WebInspector.StyleContentBinding.prototype.callback):
(WebInspector.StyleContentBinding.prototype.setStyleContent):
(WebInspector.StyleContentBinding.prototype.):
(WebInspector.StyleContentBinding.prototype._innerStyleSheetChanged):

LayoutTests:

* inspector/styles/resources/stylesheet-tracking.css: Removed.
* inspector/styles/stylesheet-tracking-expected.txt: Removed.
* inspector/styles/stylesheet-tracking.html: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: release backtrace object group on each step.
https://bugs.webkit.org/show_bug.cgi?id=110223

Reviewed by Pavel Feldman.

* inspector/InspectorDebuggerAgent.cpp:
(WebCore):
(WebCore::InspectorDebuggerAgent::stepOver):
(WebCore::InspectorDebuggerAgent::stepInto):
(WebCore::InspectorDebuggerAgent::stepOut):

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