Refactored the interpreter and JIT so they don't dictate closure layout
https://bugs.webkit.org/show_bug.cgi?id=97221

Reviewed by Oliver Hunt.

Source/JavaScriptCore: 

Capture may change the location of an argument for space efficiency. This
patch removes static assumptions about argument location from the interpreter
and JIT.

* bytecode/CodeBlock.h:
(JSC::CodeBlock::argumentIndexAfterCapture):
(JSC::ExecState::argumentAfterCapture): Factored out a helper function
so the compiler could share this logic.

* bytecompiler/NodesCodegen.cpp:
(JSC::BracketAccessorNode::emitBytecode): Don't emit optimized bracket
access on arguments if a parameter has been captured by name. This case is
rare and, where I've seen it in the wild, the optimization mostly failed
anyway due to arguments escape, so I didn't feel like writing and testing
five copies of the code that would handle it in the baseline engines.

The DFG can still synthesize this optimization even if we don't emit the
optimized bytecode for it.

* dfg/DFGArgumentsSimplificationPhase.cpp:
(JSC::DFG::ArgumentsSimplificationPhase::run):
* dfg/DFGAssemblyHelpers.h:
(JSC::DFG::AssemblyHelpers::symbolTableFor):
(AssemblyHelpers): Use the right helper function to account for the fact
that a parameter may have been captured by name and moved.

* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock): ASSERT that we haven't inlined
a .apply on captured arguments. Once we do start inlining such things,
we'll need to do a little bit of math here to get them right.

* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile): Added support for bracket access on
an arguments object where arguments have also been captured by name. We
load the true index of the argument from a side vector. Arguments elision
is very powerful in the DFG, so I wanted to keep it working, even in this
rare case.

* interpreter/Interpreter.cpp:
(JSC::loadVarargs): Use the right helper function to account for the fact
that a parameter may have been captured by name and moved.

* jit/JITCall.cpp:
(JSC::JIT::compileLoadVarargs):
* jit/JITCall32_64.cpp:
(JSC::JIT::compileLoadVarargs): Don't use the inline copy loop if some
of our arguments have moved, since it would copy stale values. (We still
optimize the actual call, and elide the arguments object.)

LayoutTests: 

* fast/js/dfg-arguments-alias-activation-expected.txt: Added.
* fast/js/dfg-arguments-alias-activation.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fixed a missing semicolon in the C++ llint backend.
https://bugs.webkit.org/show_bug.cgi?id=97252.

Reviewed by Geoff Garen.

* offlineasm/cloop.rb:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
run-perf-tests should record individual value instead of statistics
https://bugs.webkit.org/show_bug.cgi?id=97155

Reviewed by Hajime Morita.

PerformanceTests: 

Report the list of values as "values" so that run-perf-tests can parse them.

* resources/runner.js:
(PerfTestRunner.computeStatistics):
(PerfTestRunner.printStatistics):

Tools: 

Parse the list of individual value reported by tests and include them as "values".
We strip "values" from the output JSON when uploading it to the perf-o-matic
since it doesn't know how to parse "values" or ignore it.

* Scripts/webkitpy/performance_tests/perftest.py:
(PerfTest):
(PerfTest.parse_output): Parse and report "values".
(PageLoadingPerfTest.run): Report indivisual page loading time in "values".
* Scripts/webkitpy/performance_tests/perftest_unittest.py:
(MainTest.test_parse_output):
(MainTest.test_parse_output_with_failing_line):
(TestPageLoadingPerfTest.test_run):
* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner._generate_and_show_results): Strip "values" from each result
until we update perf-o-matic.
* Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
(test_run_memory_test):
(test_run_with_json_output):
(test_run_with_description):
(test_run_with_slave_config_json):
(test_run_with_multiple_repositories):

LayoutTests: 

The expected result now contains individual value.

* fast/harness/perftests/runs-per-second-log-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Mark plugins/netscape-dom-access-and-reload.html as flakey
https://bugs.webkit.org/show_bug.cgi?id=82752

* platform/mac/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Remove unused copy of chromium compositor implementation files
https://bugs.webkit.org/show_bug.cgi?id=97255

Reviewed by Adam Barth.

Source/WebCore:

Now that use_libcc_for_compositor is set to 1 these files aren't used anywhere.

* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* platform/chromium/support/CCThreadImpl.cpp: Removed.
* platform/chromium/support/CCThreadImpl.h: Removed.
* platform/chromium/support/WebCompositorImpl.cpp: Removed.
* platform/chromium/support/WebCompositorImpl.h: Removed.
* platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.cpp: Removed.
* platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h: Removed.
* platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp: Removed.
* platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.h: Removed.
* platform/graphics/chromium/Canvas2DLayerBridge.cpp:
(WebCore::Canvas2DLayerBridge::Canvas2DLayerBridge):
(WebCore::Canvas2DLayerBridge::~Canvas2DLayerBridge):
* platform/graphics/chromium/CanvasLayerTextureUpdater.cpp: Removed.
* platform/graphics/chromium/CanvasLayerTextureUpdater.h: Removed.
* platform/graphics/chromium/ContentLayerChromium.cpp: Removed.
* platform/graphics/chromium/ContentLayerChromium.h: Removed.
* platform/graphics/chromium/ContentLayerChromiumClient.h: Removed.
* platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.cpp: Removed.
* platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.h: Removed.
* platform/graphics/chromium/GeometryBinding.cpp: Removed.
* platform/graphics/chromium/GeometryBinding.h: Removed.
* platform/graphics/chromium/GraphicsLayerChromium.cpp:
* platform/graphics/chromium/HeadsUpDisplayLayerChromium.cpp: Removed.
* platform/graphics/chromium/HeadsUpDisplayLayerChromium.h: Removed.
* platform/graphics/chromium/IOSurfaceLayerChromium.cpp: Removed.
* platform/graphics/chromium/IOSurfaceLayerChromium.h: Removed.
* platform/graphics/chromium/ImageLayerChromium.cpp: Removed.
* platform/graphics/chromium/ImageLayerChromium.h: Removed.
* platform/graphics/chromium/LayerChromium.cpp: Removed.
* platform/graphics/chromium/LayerChromium.h: Removed.
* platform/graphics/chromium/LayerTextureSubImage.cpp: Removed.
* platform/graphics/chromium/LayerTextureSubImage.h: Removed.
* platform/graphics/chromium/LayerTextureUpdater.h: Removed.
* platform/graphics/chromium/PlatformColor.h: Removed.
* platform/graphics/chromium/ProgramBinding.cpp: Removed.
* platform/graphics/chromium/ProgramBinding.h: Removed.
* platform/graphics/chromium/RateLimiter.cpp: Removed.
* platform/graphics/chromium/RateLimiter.h: Removed.
* platform/graphics/chromium/RenderSurfaceChromium.cpp: Removed.
* platform/graphics/chromium/RenderSurfaceChromium.h: Removed.
* platform/graphics/chromium/ScrollbarLayerChromium.cpp: Removed.
* platform/graphics/chromium/ScrollbarLayerChromium.h: Removed.
* platform/graphics/chromium/ShaderChromium.cpp: Removed.
* platform/graphics/chromium/ShaderChromium.h: Removed.
* platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.cpp: Removed.
* platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.h: Removed.
* platform/graphics/chromium/SolidColorLayerChromium.cpp: Removed.
* platform/graphics/chromium/SolidColorLayerChromium.h: Removed.
* platform/graphics/chromium/TextureCopier.cpp: Removed.
* platform/graphics/chromium/TextureCopier.h: Removed.
* platform/graphics/chromium/TextureLayerChromium.cpp: Removed.
* platform/graphics/chromium/TextureLayerChromium.h: Removed.
* platform/graphics/chromium/TextureLayerChromiumClient.h: Removed.
* platform/graphics/chromium/ThrottledTextureUploader.cpp: Removed.
* platform/graphics/chromium/ThrottledTextureUploader.h: Removed.
* platform/graphics/chromium/TiledLayerChromium.cpp: Removed.
* platform/graphics/chromium/TiledLayerChromium.h: Removed.
* platform/graphics/chromium/TreeSynchronizer.cpp: Removed.
* platform/graphics/chromium/TreeSynchronizer.h: Removed.
* platform/graphics/chromium/UnthrottledTextureUploader.h: Removed.
* platform/graphics/chromium/VideoLayerChromium.cpp: Removed.
* platform/graphics/chromium/VideoLayerChromium.h: Removed.
* platform/graphics/chromium/cc/CCActiveAnimation.cpp: Removed.
* platform/graphics/chromium/cc/CCActiveAnimation.h: Removed.
* platform/graphics/chromium/cc/CCAnimationCurve.cpp: Removed.
* platform/graphics/chromium/cc/CCAnimationCurve.h: Removed.
* platform/graphics/chromium/cc/CCAnimationEvents.h: Removed.
* platform/graphics/chromium/cc/CCAppendQuadsData.h: Removed.
* platform/graphics/chromium/cc/CCCheckerboardDrawQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCCheckerboardDrawQuad.h: Removed.
* platform/graphics/chromium/cc/CCCompletionEvent.h: Removed.
* platform/graphics/chromium/cc/CCDamageTracker.cpp: Removed.
* platform/graphics/chromium/cc/CCDamageTracker.h: Removed.
* platform/graphics/chromium/cc/CCDebugBorderDrawQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCDebugBorderDrawQuad.h: Removed.
* platform/graphics/chromium/cc/CCDebugRectHistory.cpp: Removed.
* platform/graphics/chromium/cc/CCDebugRectHistory.h: Removed.
* platform/graphics/chromium/cc/CCDelayBasedTimeSource.cpp: Removed.
* platform/graphics/chromium/cc/CCDelayBasedTimeSource.h: Removed.
* platform/graphics/chromium/cc/CCDirectRenderer.cpp: Removed.
* platform/graphics/chromium/cc/CCDirectRenderer.h: Removed.
* platform/graphics/chromium/cc/CCDrawQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCDrawQuad.h: Removed.
* platform/graphics/chromium/cc/CCFontAtlas.cpp: Removed.
* platform/graphics/chromium/cc/CCFontAtlas.h: Removed.
* platform/graphics/chromium/cc/CCFrameRateController.cpp: Removed.
* platform/graphics/chromium/cc/CCFrameRateController.h: Removed.
* platform/graphics/chromium/cc/CCFrameRateCounter.cpp: Removed.
* platform/graphics/chromium/cc/CCFrameRateCounter.h: Removed.
* platform/graphics/chromium/cc/CCGraphicsContext.h: Removed.
* platform/graphics/chromium/cc/CCHeadsUpDisplayLayerImpl.cpp: Removed.
* platform/graphics/chromium/cc/CCHeadsUpDisplayLayerImpl.h: Removed.
* platform/graphics/chromium/cc/CCIOSurfaceDrawQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCIOSurfaceDrawQuad.h: Removed.
* platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.cpp: Removed.
* platform/graphics/chromium/cc/CCIOSurfaceLayerImpl.h: Removed.
* platform/graphics/chromium/cc/CCInputHandler.h: Removed.
* platform/graphics/chromium/cc/CCKeyframedAnimationCurve.cpp: Removed.
* platform/graphics/chromium/cc/CCKeyframedAnimationCurve.h: Removed.
* platform/graphics/chromium/cc/CCLayerAnimationController.cpp: Removed.
* platform/graphics/chromium/cc/CCLayerAnimationController.h: Removed.
* platform/graphics/chromium/cc/CCLayerImpl.cpp: Removed.
* platform/graphics/chromium/cc/CCLayerImpl.h: Removed.
* platform/graphics/chromium/cc/CCLayerIterator.cpp: Removed.
* platform/graphics/chromium/cc/CCLayerIterator.h: Removed.
* platform/graphics/chromium/cc/CCLayerQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCLayerQuad.h: Removed.
* platform/graphics/chromium/cc/CCLayerSorter.cpp: Removed.
* platform/graphics/chromium/cc/CCLayerSorter.h: Removed.
* platform/graphics/chromium/cc/CCLayerTilingData.cpp: Removed.
* platform/graphics/chromium/cc/CCLayerTilingData.h: Removed.
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp: Removed.
* platform/graphics/chromium/cc/CCLayerTreeHost.h: Removed.
* platform/graphics/chromium/cc/CCLayerTreeHostClient.h: Removed.
* platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp: Removed.
* platform/graphics/chromium/cc/CCLayerTreeHostCommon.h: Removed.
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp: Removed.
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.h: Removed.
* platform/graphics/chromium/cc/CCMathUtil.cpp: Removed.
* platform/graphics/chromium/cc/CCMathUtil.h: Removed.
* platform/graphics/chromium/cc/CCOcclusionTracker.cpp: Removed.
* platform/graphics/chromium/cc/CCOcclusionTracker.h: Removed.
* platform/graphics/chromium/cc/CCOverdrawMetrics.cpp: Removed.
* platform/graphics/chromium/cc/CCOverdrawMetrics.h: Removed.
* platform/graphics/chromium/cc/CCPageScaleAnimation.cpp: Removed.
* platform/graphics/chromium/cc/CCPageScaleAnimation.h: Removed.
* platform/graphics/chromium/cc/CCPrioritizedTexture.cpp: Removed.
* platform/graphics/chromium/cc/CCPrioritizedTexture.h: Removed.
* platform/graphics/chromium/cc/CCPrioritizedTextureManager.cpp: Removed.
* platform/graphics/chromium/cc/CCPrioritizedTextureManager.h: Removed.
* platform/graphics/chromium/cc/CCPriorityCalculator.cpp: Removed.
* platform/graphics/chromium/cc/CCPriorityCalculator.h: Removed.
* platform/graphics/chromium/cc/CCProxy.cpp: Removed.
* platform/graphics/chromium/cc/CCProxy.h: Removed.
* platform/graphics/chromium/cc/CCQuadCuller.cpp: Removed.
* platform/graphics/chromium/cc/CCQuadCuller.h: Removed.
* platform/graphics/chromium/cc/CCQuadSink.h: Removed.
* platform/graphics/chromium/cc/CCRenderPass.cpp: Removed.
* platform/graphics/chromium/cc/CCRenderPass.h: Removed.
* platform/graphics/chromium/cc/CCRenderPassDrawQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCRenderPassDrawQuad.h: Removed.
* platform/graphics/chromium/cc/CCRenderPassSink.h: Removed.
* platform/graphics/chromium/cc/CCRenderSurface.cpp: Removed.
* platform/graphics/chromium/cc/CCRenderSurface.h: Removed.
* platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp: Removed.
* platform/graphics/chromium/cc/CCRenderSurfaceFilters.h: Removed.
* platform/graphics/chromium/cc/CCRenderer.h: Removed.
* platform/graphics/chromium/cc/CCRendererGL.cpp: Removed.
* platform/graphics/chromium/cc/CCRendererGL.h: Removed.
* platform/graphics/chromium/cc/CCRenderingStats.h: Removed.
* platform/graphics/chromium/cc/CCResourceProvider.cpp: Removed.
* platform/graphics/chromium/cc/CCResourceProvider.h: Removed.
* platform/graphics/chromium/cc/CCScheduler.cpp: Removed.
* platform/graphics/chromium/cc/CCScheduler.h: Removed.
* platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp: Removed.
* platform/graphics/chromium/cc/CCSchedulerStateMachine.h: Removed.
* platform/graphics/chromium/cc/CCScopedTexture.cpp: Removed.
* platform/graphics/chromium/cc/CCScopedTexture.h: Removed.
* platform/graphics/chromium/cc/CCScopedThreadProxy.h: Removed.
* platform/graphics/chromium/cc/CCScrollbarAnimationController.cpp: Removed.
* platform/graphics/chromium/cc/CCScrollbarAnimationController.h: Removed.
* platform/graphics/chromium/cc/CCScrollbarAnimationControllerLinearFade.cpp: Removed.
* platform/graphics/chromium/cc/CCScrollbarAnimationControllerLinearFade.h: Removed.
* platform/graphics/chromium/cc/CCScrollbarGeometryFixedThumb.cpp: Removed.
* platform/graphics/chromium/cc/CCScrollbarGeometryFixedThumb.h: Removed.
* platform/graphics/chromium/cc/CCScrollbarGeometryStub.cpp: Removed.
* platform/graphics/chromium/cc/CCScrollbarGeometryStub.h: Removed.
* platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp: Removed.
* platform/graphics/chromium/cc/CCScrollbarLayerImpl.h: Removed.
* platform/graphics/chromium/cc/CCSettings.cpp: Removed.
* platform/graphics/chromium/cc/CCSettings.h: Removed.
* platform/graphics/chromium/cc/CCSharedQuadState.cpp: Removed.
* platform/graphics/chromium/cc/CCSharedQuadState.h: Removed.
* platform/graphics/chromium/cc/CCSingleThreadProxy.cpp: Removed.
* platform/graphics/chromium/cc/CCSingleThreadProxy.h: Removed.
* platform/graphics/chromium/cc/CCSolidColorDrawQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCSolidColorDrawQuad.h: Removed.
* platform/graphics/chromium/cc/CCSolidColorLayerImpl.cpp: Removed.
* platform/graphics/chromium/cc/CCSolidColorLayerImpl.h: Removed.
* platform/graphics/chromium/cc/CCStreamVideoDrawQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCStreamVideoDrawQuad.h: Removed.
* platform/graphics/chromium/cc/CCTexture.cpp: Removed.
* platform/graphics/chromium/cc/CCTexture.h: Removed.
* platform/graphics/chromium/cc/CCTextureDrawQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCTextureDrawQuad.h: Removed.
* platform/graphics/chromium/cc/CCTextureLayerImpl.cpp: Removed.
* platform/graphics/chromium/cc/CCTextureLayerImpl.h: Removed.
* platform/graphics/chromium/cc/CCTextureUpdateController.cpp: Removed.
* platform/graphics/chromium/cc/CCTextureUpdateController.h: Removed.
* platform/graphics/chromium/cc/CCTextureUpdateQueue.cpp: Removed.
* platform/graphics/chromium/cc/CCTextureUpdateQueue.h: Removed.
* platform/graphics/chromium/cc/CCThread.h: Removed.
* platform/graphics/chromium/cc/CCThreadProxy.cpp: Removed.
* platform/graphics/chromium/cc/CCThreadProxy.h: Removed.
* platform/graphics/chromium/cc/CCThreadTask.h: Removed.
* platform/graphics/chromium/cc/CCTileDrawQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCTileDrawQuad.h: Removed.
* platform/graphics/chromium/cc/CCTiledLayerImpl.cpp: Removed.
* platform/graphics/chromium/cc/CCTiledLayerImpl.h: Removed.
* platform/graphics/chromium/cc/CCTimeSource.h: Removed.
* platform/graphics/chromium/cc/CCTimer.cpp: Removed.
* platform/graphics/chromium/cc/CCTimer.h: Removed.
* platform/graphics/chromium/cc/CCTimingFunction.cpp: Removed.
* platform/graphics/chromium/cc/CCTimingFunction.h: Removed.
* platform/graphics/chromium/cc/CCVideoLayerImpl.cpp: Removed.
* platform/graphics/chromium/cc/CCVideoLayerImpl.h: Removed.
* platform/graphics/chromium/cc/CCYUVVideoDrawQuad.cpp: Removed.
* platform/graphics/chromium/cc/CCYUVVideoDrawQuad.h: Removed.

Source/WebKit/chromium:

* WebKit.gyp:
* WebKit.gypi:
* WebKitUnitTests.gyp:
* src/WebAnimationCurveCommon.cpp: Removed.
* src/WebAnimationCurveCommon.h: Removed.
* src/WebAnimationImpl.cpp: Removed.
* src/WebAnimationImpl.h: Removed.
* src/WebContentLayerImpl.cpp: Removed.
* src/WebContentLayerImpl.h: Removed.
* src/WebExternalTextureLayerImpl.cpp: Removed.
* src/WebExternalTextureLayerImpl.h: Removed.
* src/WebFloatAnimationCurveImpl.cpp: Removed.
* src/WebFloatAnimationCurveImpl.h: Removed.
* src/WebIOSurfaceLayerImpl.cpp: Removed.
* src/WebIOSurfaceLayerImpl.h: Removed.
* src/WebImageLayerImpl.cpp: Removed.
* src/WebImageLayerImpl.h: Removed.
* src/WebLayerImpl.cpp: Removed.
* src/WebLayerImpl.h: Removed.
* src/WebLayerTreeViewImpl.cpp: Removed.
* src/WebLayerTreeViewImpl.h: Removed.
* src/WebScrollbarLayerImpl.cpp: Removed.
* src/WebScrollbarLayerImpl.h: Removed.
* src/WebSolidColorLayerImpl.cpp: Removed.
* src/WebSolidColorLayerImpl.h: Removed.
* src/WebToCCInputHandlerAdapter.cpp: Removed.
* src/WebToCCInputHandlerAdapter.h: Removed.
* src/WebTransformAnimationCurveImpl.cpp: Removed.
* src/WebTransformAnimationCurveImpl.h: Removed.
* src/WebVideoLayerImpl.cpp: Removed.
* src/WebVideoLayerImpl.h: Removed.
* tests/CCActiveAnimationTest.cpp: Removed.
* tests/CCAnimationTestCommon.cpp: Removed.
* tests/CCAnimationTestCommon.h: Removed.
* tests/CCDamageTrackerTest.cpp: Removed.
* tests/CCDelayBasedTimeSourceTest.cpp: Removed.
* tests/CCDrawQuadTest.cpp: Removed.
* tests/CCFrameRateControllerTest.cpp: Removed.
* tests/CCGeometryTestUtils.cpp: Removed.
* tests/CCGeometryTestUtils.h: Removed.
* tests/CCHeadsUpDisplayTest.cpp: Removed.
* tests/CCKeyframedAnimationCurveTest.cpp: Removed.
* tests/CCLayerAnimationControllerTest.cpp: Removed.
* tests/CCLayerImplTest.cpp: Removed.
* tests/CCLayerIteratorTest.cpp: Removed.
* tests/CCLayerQuadTest.cpp: Removed.
* tests/CCLayerSorterTest.cpp: Removed.
* tests/CCLayerTestCommon.cpp: Removed.
* tests/CCLayerTestCommon.h: Removed.
* tests/CCLayerTreeHostCommonTest.cpp: Removed.
* tests/CCLayerTreeHostImplTest.cpp: Removed.
* tests/CCLayerTreeHostTest.cpp: Removed.
* tests/CCMathUtilTest.cpp: Removed.
* tests/CCOcclusionTrackerTest.cpp: Removed.
* tests/CCOcclusionTrackerTestCommon.h: Removed.
* tests/CCPrioritizedTextureTest.cpp: Removed.
* tests/CCQuadCullerTest.cpp: Removed.
* tests/CCRenderPassTest.cpp: Removed.
* tests/CCRenderSurfaceFiltersTest.cpp: Removed.
* tests/CCRenderSurfaceTest.cpp: Removed.
* tests/CCRendererGLTest.cpp: Removed.
* tests/CCResourceProviderTest.cpp: Removed.
* tests/CCSchedulerStateMachineTest.cpp: Removed.
* tests/CCSchedulerTest.cpp: Removed.
* tests/CCSchedulerTestCommon.h: Removed.
* tests/CCScopedTextureTest.cpp: Removed.
* tests/CCScrollbarAnimationControllerLinearFadeTest.cpp: Removed.
* tests/CCSolidColorLayerImplTest.cpp: Removed.
* tests/CCTestCommon.h: Removed.
* tests/CCTextureUpdateControllerTest.cpp: Removed.
* tests/CCThreadTaskTest.cpp: Removed.
* tests/CCThreadedTest.cpp: Removed.
* tests/CCThreadedTest.h: Removed.
* tests/CCTiledLayerImplTest.cpp: Removed.
* tests/CCTiledLayerTestCommon.cpp: Removed.
* tests/CCTiledLayerTestCommon.h: Removed.
* tests/CCTimerTest.cpp: Removed.
* tests/ContentLayerChromiumTest.cpp: Removed.
* tests/FakeCCLayerTreeHostClient.h: Removed.
* tests/FakeGraphicsContext3DTest.cpp: Removed.
* tests/FakeWebScrollbarThemeGeometry.h: Removed.
* tests/FloatQuadTest.cpp: Removed.
* tests/GraphicsLayerChromiumTest.cpp:
* tests/ImageLayerChromiumTest.cpp:
* tests/LayerChromiumTest.cpp: Removed.
* tests/MockCCQuadCuller.h: Removed.
* tests/ScrollbarLayerChromiumTest.cpp: Removed.
* tests/TextureCopierTest.cpp: Removed.
* tests/TextureLayerChromiumTest.cpp: Removed.
* tests/ThrottledTextureUploaderTest.cpp: Removed.
* tests/TiledLayerChromiumTest.cpp: Removed.
* tests/TreeSynchronizerTest.cpp: Removed.
* tests/WebAnimationTest.cpp: Removed.
* tests/WebFloatAnimationCurveTest.cpp: Removed.
* tests/WebLayerTest.cpp: Removed.
* tests/WebLayerTreeViewTest.cpp: Removed.
* tests/WebTransformAnimationCurveTest.cpp: Removed.
* tests/WebTransformOperationsTest.cpp: Removed.
* tests/WebTransformationMatrixTest.cpp: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Results page should show indivisual value
https://bugs.webkit.org/show_bug.cgi?id=97178

Reviewed by Tony Chang.

Show indivisual values instead of statistics (min, max, stdev).

* resources/results-template.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove empty directory.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
media/track/track-cue-rendering-inner-timestamps.html times out.
https://bugs.webkit.org/show_bug.cgi?id=97259

* platform/mac/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rename ContainerNode::parserAddChild "parserAppendChild" for consistency
https://bugs.webkit.org/show_bug.cgi?id=97254

Reviewed by Adam Barth.

No functional change, all the below changes are simple renames.

* dom/ContainerNode.cpp:
(WebCore::ContainerNode::takeAllChildrenFrom):
(WebCore::ContainerNode::parserAppendChild):
* dom/ContainerNode.h:
(ContainerNode):
* dom/DOMImplementation.cpp:
(WebCore::DOMImplementation::createDocument):
* editing/markup.cpp:
(WebCore::createFragmentForTransformToFragment):
* html/HTMLViewSourceDocument.cpp:
(WebCore::HTMLViewSourceDocument::createContainingTable):
(WebCore::HTMLViewSourceDocument::addSpanWithClassName):
(WebCore::HTMLViewSourceDocument::addLine):
(WebCore::HTMLViewSourceDocument::finishLine):
(WebCore::HTMLViewSourceDocument::addText):
(WebCore::HTMLViewSourceDocument::addBase):
(WebCore::HTMLViewSourceDocument::addLink):
* html/parser/HTMLConstructionSite.cpp:
(WebCore::executeTask):
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
* html/track/WebVTTParser.cpp:
(WebCore::WebVTTParser::constructTreeFromToken):
* xml/XMLErrors.cpp:
(WebCore::createXHTMLParserErrorHeader):
(WebCore::XMLErrors::insertErrorMessageBlock):
* xml/parser/XMLDocumentParser.cpp:
(WebCore::XMLDocumentParser::enterText):
(WebCore::XMLDocumentParser::parseDocumentFragment):
* xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::startElementNs):
(WebCore::XMLDocumentParser::processingInstruction):
(WebCore::XMLDocumentParser::cdataBlock):
(WebCore::XMLDocumentParser::comment):
(WebCore::XMLDocumentParser::internalSubset):
* xml/parser/XMLDocumentParserQt.cpp:
(WebCore::XMLDocumentParser::parseStartElement):
(WebCore::XMLDocumentParser::parseProcessingInstruction):
(WebCore::XMLDocumentParser::parseCdata):
(WebCore::XMLDocumentParser::parseComment):
(WebCore::XMLDocumentParser::parseDtd):
* xml/parser/XMLTreeBuilder.cpp:
(WebCore::XMLTreeBuilder::processDOCTYPE):
(WebCore::XMLTreeBuilder::processStartTag):
(WebCore::XMLTreeBuilder::add):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: Add String::numberToFixedPrecisionString()
https://bugs.webkit.org/show_bug.cgi?id=96330

Reviewed by Benjamin Poulain.

* platform/text/TextStream.cpp:
(WebCore::TextStream::operator<<): Use the new function instead of String::number() with flags.

Source/WebKit2: Add String::numberToStringFixedWidth()
https://bugs.webkit.org/show_bug.cgi?id=96330

Reviewed by Benjamin Poulain.

* win/WebKit2.def:
* win/WebKit2CFLite.def:

Source/WTF: Add String::numberToStringFixedWidth()
https://bugs.webkit.org/show_bug.cgi?id=96330

Reviewed by Benjamin Poulain.

Add this new function as replacement for the ShouldRoundDecimalPlaces flag of String::number()
and remove the now unnecessary branch in String::number() for the old flags.

* wtf/text/WTFString.cpp:
(WTF::String::number):
(WTF::String::numberToStringFixedWidth):
* wtf/text/WTFString.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-20  Nate Chapin  <japhet@chromium.org>

        Unreviewed, chromium win build fix.
        Remove spurious reference to the non-existent
        tests/LayerPainterChromium.h in WebKit.gypi.

        * WebKit.gypi:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
roll Chromium to r157829.

Unreviewed, deps change.

* DEPS:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CSP reports should send an empty "blocked-uri" rather than nothing.
https://bugs.webkit.org/show_bug.cgi?id=97256

Patch by Mike West <mkwst@chromium.org> on 2012-09-20
Reviewed by Adam Barth.

Source/WebCore:

In cases where a Content Security Policy violation report is generated
without blocking a resource at a particular URI (inline scripts, for
example), we currently leave the "blocked-uri" attribute out of the
report entirely. For the same reason that we included the "referrer"
attribute in webkit.org/b/97233, we should include an explicitly empty
"blocked-uri" in these cases.

This new behavior is covered by updates to existing test expectations
around the reporting functionality.

* page/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::reportViolation):
    If the 'blocked-uri' is invalid, add a "blocked-uri" attribute that
    is explicitly empty.

LayoutTests:

* http/tests/security/contentSecurityPolicy/report-and-enforce-expected.txt:
* http/tests/security/contentSecurityPolicy/report-only-expected.txt:
* http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt:
* http/tests/security/contentSecurityPolicy/report-uri-expected.txt:
* http/tests/security/contentSecurityPolicy/report-uri-from-child-frame-expected.txt:
    Updating test expectations to include an explicitly empty
    "blocked-uri" as opposed to leaving it off entirely.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Remove entries for deleted tests from Skipped list
https://bugs.webkit.org/show_bug.cgi?id=97213

Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-09-20
Reviewed by Simon Hausmann.

* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix IndexedDB unit tests
https://bugs.webkit.org/show_bug.cgi?id=97149

Reviewed by Tony Chang.

* tests/IDBDatabaseBackendTest.cpp:
Specify a desired version of -1 so that no version change transaction
is run.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
make Skip, WontFix be the only expectations on a line
https://bugs.webkit.org/show_bug.cgi?id=97225

Unreviewed, expectations change.

This change updates all of the expectations files, but doesn't
actually change the code to issue warnings in this case (that
will come in a subsequent patch).

* platform/chromium-android/TestExpectations:
* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk-wk2/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt-4.8/TestExpectations:
* platform/qt-arm/TestExpectations:
* platform/qt-mac/TestExpectations:
* platform/qt/TestExpectations:

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Replace RenderListBox::updateLogicalHeight with RenderListBox::computeLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=97263

Reviewed by Ojan Vafai.

This is part of making computeLogicalHeight virtual so with any RenderBox pointer, one
can compute the logical height without mutating the RenderBox.

No new tests, this is a refactor and existing list box tests should pass.

* rendering/RenderBox.h:
(RenderBox):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::layout): Move layout related logic here.
(WebCore::RenderListBox::computeLogicalHeight): Use const version and remove layout related code.
* rendering/RenderListBox.h:
(RenderListBox): Override computeLogicalHeight.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Improve glyph selection of HarfBuzzShaper
https://bugs.webkit.org/show_bug.cgi?id=97164

Reviewed by Tony Chang.

Source/WebCore:

Take into account clusters for selection.

Test: fast/text/international/hebrew-selection.html

* platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::HarfBuzzRun::applyShapeResult): Removed m_logClusters.
m_logCluster is no longer used.
(WebCore::HarfBuzzShaper::HarfBuzzRun::characterIndexForXPosition):
- If targetX is in the left side of the first cluster, return the leftmost character index.
- If targetX is in the right side of the last cluster, return the rightmost character index.
- If targetX is between the right side of the cluster N and the left side of the cluster N+1, then:
  - return N+1 for LTR.
  - return N for RTL.
(WebCore::HarfBuzzShaper::HarfBuzzRun::xPositionForOffset):
Find the cluster of index in question, then:
- return the left side boundary of the cluster for LTR.
- return the right side boundary of the cluster for RTL.
* platform/graphics/harfbuzz/ng/HarfBuzzShaper.h:
(HarfBuzzRun):

LayoutTests:

Added a test for complex text selection.

* fast/text/international/hebrew-selection-expected.html: Added.
* fast/text/international/hebrew-selection.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Kerning never occurs between a space and the following glyph
https://bugs.webkit.org/show_bug.cgi?id=97269

Reviewed by Tim Horton.

Source/WebCore: 

Covered by several existing tests.

* platform/graphics/mac/ComplexTextController.cpp:
(WebCore::ComplexTextController::adjustGlyphsAndAdvances): Changed to not reset the advance
of a space, and added a comment about how this also needs to be fixed for other characters
that are treated as spaces.

LayoutTests: 

* platform/mac/fast/text/emphasis-expected.png:
* platform/mac/fast/text/emphasis-expected.txt:
* platform/mac/fast/text/sticky-typesetting-features-expected.png:
* platform/mac/fast/text/sticky-typesetting-features-expected.txt:
* platform/mac/fast/text/thai-combining-mark-positioning-expected.png:
* platform/mac/fast/text/thai-combining-mark-positioning-expected.txt:
* platform/mac/fast/writing-mode/text-orientation-basic-expected.png:
* platform/mac/fast/writing-mode/text-orientation-basic-expected.txt:



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