WebKit-https.git
9 years agoFix regression on fast/table/table-row-compositing-repaint-crash.html
shawnsingh@chromium.org [Mon, 12 Mar 2012 19:24:45 +0000 (19:24 +0000)]
Fix regression on fast/table/table-row-compositing-repaint-crash.html
https://bugs.webkit.org/show_bug.cgi?id=80804

Reviewed by Simon Fraser.

Covered by existing tests.

http://trac.webkit.org/changeset/110401/ accidentally caused
fast/table/table-row-compositing-repaint-crash.html to fail.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateBacking):

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

9 years agoCSS3 calc: enable mixed percent/absolute for font
mikelawther@chromium.org [Mon, 12 Mar 2012 19:20:56 +0000 (19:20 +0000)]
CSS3 calc: enable mixed percent/absolute for font
https://bugs.webkit.org/show_bug.cgi?id=80813

Reviewed by Ojan Vafai.

Source/WebCore:

Add support for mixed percent/absolute expressions to the font handling class.

* css/CSSStyleApplyProperty.cpp:
(WebCore::ApplyPropertyFontSize::applyValue):

LayoutTests:

* css3/calc/font-expected.txt:
* css3/calc/font-size-expected.txt:

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

9 years agoMinor DataLog fixes
laszlo.1.gombos@nokia.com [Mon, 12 Mar 2012 19:18:14 +0000 (19:18 +0000)]
Minor DataLog fixes
https://bugs.webkit.org/show_bug.cgi?id=80826

Reviewed by Andreas Kling.

* bytecode/ExecutionCounter.cpp:
Do not include DataLog.h, it is not used.

* jit/ExecutableAllocator.cpp:
Ditto.

* wtf/DataLog.cpp:
(WTF::initializeLogFileOnce):
Add missing semi-colon to the code path where DATA_LOG_FILENAME is defined.

* wtf/HashTable.cpp:
Include DataLog as it is used.

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

9 years agoupdate expectations in preparation for bitmap-sampling fix in skia
reed@google.com [Mon, 12 Mar 2012 18:58:47 +0000 (18:58 +0000)]
update expectations in preparation for bitmap-sampling fix in skia
https://bugs.webkit.org/show_bug.cgi?id=80837

Unreviewed

* platform/chromium/test_expectations.txt:

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

9 years agoRestore Attr::style() functionality.
kling@webkit.org [Mon, 12 Mar 2012 18:51:32 +0000 (18:51 +0000)]
Restore Attr::style() functionality.
<http://webkit.org/b/80678>
<rdar://problem/10933904>

Reviewed by Antti Koivisto.

The neutering of Attr::style() in r106740 broke some internal clients of the Obj-C API,
so this was definitely premature.

Since we no longer have a per-Attribute style object, synthesize one in style() and
hang it off of the Attr. This grows Attr by one pointer, but it's a low-volume object
so it shouldn't matter much.

We recreate the StylePropertySet object on every call to style(), to avoid complicating
things with custom invalidation code.

* dom/Attr.cpp:
(WebCore::Attr::style):
* dom/Attr.h:
* dom/StyledElement.h:
(WebCore::StyledElement::collectStyleForAttribute):

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

9 years agoREGRESSION(r109285): Crash in WebCore::Document::nodeChildrenWillBeRemoved
rniwa@webkit.org [Mon, 12 Mar 2012 18:38:12 +0000 (18:38 +0000)]
REGRESSION(r109285): Crash in WebCore::Document::nodeChildrenWillBeRemoved
https://bugs.webkit.org/show_bug.cgi?id=80578

Reviewed by Andreas Kling.

Source/WebCore:

Test: svg/css/style-change-crash.html

* dom/Element.cpp:
(WebCore::Element::setAttribute):
(WebCore::Element::setAttributeInternal):
* dom/Element.h:
(Element):
* dom/ElementAttributeData.cpp:
(WebCore::ElementAttributeData::addAttribute):
(WebCore::ElementAttributeData::removeAttribute):
* dom/ElementAttributeData.h:
(ElementAttributeData):
* dom/StyledElement.cpp:
(WebCore::StyledElement::updateStyleAttribute):

LayoutTests:

* fast/regions/select-in-region-crash-expected.txt: Rebaselined.
* svg/css/style-change-crash-expected.txt: Added.
* svg/css/style-change-crash.html: Added.

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

9 years agoTouch event handler count is not updated when adding handlers to the window.
commit-queue@webkit.org [Mon, 12 Mar 2012 18:28:40 +0000 (18:28 +0000)]
Touch event handler count is not updated when adding handlers to the window.
https://bugs.webkit.org/show_bug.cgi?id=80756

Source/WebCore:

Touch event handlers added to the window needs to be included when counting the number of touch event
handlers. This makes touch event handler counting identical to wheel event handler counting.

Patch by Sadrul Habib Chowdhury <sadrul@chromium.org> on 2012-03-12
Reviewed by Anders Carlsson.

Test: fast/events/touch/touch-handler-count.html

* dom/EventNames.h:
(EventNames):
(WebCore::EventNames::isTouchEventType):
* dom/Node.cpp:
(WebCore):
(WebCore::tryAddEventListener):
(WebCore::tryRemoveEventListener):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::addEventListener):
(WebCore::DOMWindow::removeEventListener):
* testing/Internals.cpp:
(WebCore::Internals::touchEventHandlerCount):
(WebCore):
* testing/Internals.h:
(Internals):
* testing/Internals.idl:

LayoutTests:

Patch by Sadrul Habib Chowdhury <sadrul@chromium.org> on 2012-03-12
Reviewed by Anders Carlsson.

The new layout tests add and remove touch event handlers on the window, document, and a div in the
document, and tests that the count is updated correctly when handlers are added and/or removed.

* fast/events/touch/touch-handler-count-expected.txt: Added.
* fast/events/touch/touch-handler-count.html: Added.

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

9 years ago[Qt][WK2] Add support for rudimentary scroll indicators in MiniBrowser
abecsi@webkit.org [Mon, 12 Mar 2012 18:02:58 +0000 (18:02 +0000)]
[Qt][WK2] Add support for rudimentary scroll indicators in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=80832

Reviewed by Tor Arne Vestbø.

Source/WebKit2:

Since the ScrollDecorator QML component requires a Flickable in its API
we need to expose the Flickable in QML for now and we also need to add
a notifier because we instantiate the internal Flickable only when the
WebView component completes construction.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewFlickablePrivate::onComponentComplete):
(QQuickWebViewExperimental::flickable):
* UIProcess/API/qt/qquickwebview_p.h:

Tools:

Add a basic scroll indicator component to MiniBrowser so that it
behaves similar to the ScrollDecorator QML component.

* MiniBrowser/qt/MiniBrowser.qrc:
* MiniBrowser/qt/qml/BrowserWindow.qml:
* MiniBrowser/qt/qml/ScrollIndicator.qml: Added.

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

9 years ago[GTK] r110296 included an extra $ in @$(AM_V_GEN)
commit-queue@webkit.org [Mon, 12 Mar 2012 17:50:50 +0000 (17:50 +0000)]
[GTK] r110296 included an extra $ in @$(AM_V_GEN)
https://bugs.webkit.org/show_bug.cgi?id=80809

Patch by C Anthony Risinger <anthony@xtfx.me> on 2012-03-12
Reviewed by Philippe Normand.

* GNUmakefile.am: Add `$` to @(AM_V_GEN), else /bin/sh syntax error

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

9 years agoWeb Inspector: extract ResourceScriptMapping from MainScriptMapping.
podivilov@chromium.org [Mon, 12 Mar 2012 17:43:51 +0000 (17:43 +0000)]
Web Inspector: extract ResourceScriptMapping from MainScriptMapping.
https://bugs.webkit.org/show_bug.cgi?id=80834

Reviewed by Vsevolod Vlasov.

* inspector/front-end/ScriptMapping.js:
(WebInspector.ResourceScriptMapping):
(WebInspector.ResourceScriptMapping.prototype._uiSourceCodeListChanged):
(WebInspector.ResourceScriptMapping.prototype.reset):
(WebInspector.MainScriptMapping):
(WebInspector.MainScriptMapping.prototype.rawLocationToUILocation):
(WebInspector.MainScriptMapping.prototype.createLiveLocation):
(WebInspector.MainScriptMapping.prototype._registerLiveLocation):
(WebInspector.MainScriptMapping.prototype._unregisterLiveLocation):
(WebInspector.MainScriptMapping.prototype._updateLiveLocations):
(WebInspector.MainScriptMapping.prototype.uiSourceCodeList):
(WebInspector.MainScriptMapping.prototype.addScript):
(WebInspector.MainScriptMapping.prototype._handleUISourceCodeListChanged):
(WebInspector.MainScriptMapping.prototype.setFormatSource):
(WebInspector.MainScriptMapping.prototype.forceUpdateSourceMapping):
(WebInspector.MainScriptMapping.prototype.reset):

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

9 years ago[Chromium] fast/filesystem/op-restricted-chars.html fails on Windows
ericu@chromium.org [Mon, 12 Mar 2012 17:42:36 +0000 (17:42 +0000)]
[Chromium] fast/filesystem/op-restricted-chars.html fails on Windows
https://bugs.webkit.org/show_bug.cgi?id=75110

Reviewed by Ryosuke Niwa.

Remove expectation now that it's fixed.
* platform/chromium/test_expectations.txt:

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

9 years agoInteger overflow check code in arithmetic operation in classic interpreter
commit-queue@webkit.org [Mon, 12 Mar 2012 17:31:26 +0000 (17:31 +0000)]
Integer overflow check code in arithmetic operation in classic interpreter
https://bugs.webkit.org/show_bug.cgi?id=80465

Patch by SangGyu Lee <sg5.lee@samsung.com> on 2012-03-12
Reviewed by Gavin Barraclough.

* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):

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

9 years agoUnreviewed, unskip a media test in GTK.
philn@webkit.org [Mon, 12 Mar 2012 17:17:18 +0000 (17:17 +0000)]
Unreviewed, unskip a media test in GTK.

* platform/gtk/Skipped: media/video-volume-slider.html was fixed
in r86535.
* platform/gtk/media/video-volume-slider-expected.txt:

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

9 years agoWeb Inspector: recognize Float*Array and Int*Array as arrays.
pfeldman@chromium.org [Mon, 12 Mar 2012 17:14:39 +0000 (17:14 +0000)]
Web Inspector: recognize Float*Array and Int*Array as arrays.
https://bugs.webkit.org/show_bug.cgi?id=80850

Reviewed by Vsevolod Vlasov.

Source/WebCore:

Test: inspector/console/console-external-array.html

* bindings/js/JSInjectedScriptHostCustom.cpp:
(WebCore::JSInjectedScriptHost::type):
* bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::typeCallback):

LayoutTests:

* inspector/console/console-external-array-expected.txt: Added.
* inspector/console/console-external-array.html: Added.

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

9 years agoAdd tests for dynamic attribute changes for mapping of lang/xml:lang to -webkit-locale
commit-queue@webkit.org [Mon, 12 Mar 2012 17:13:07 +0000 (17:13 +0000)]
Add tests for dynamic attribute changes for mapping of lang/xml:lang to -webkit-locale
https://bugs.webkit.org/show_bug.cgi?id=80658

Patch by Matt Falkenhagen <falken@chromium.org> on 2012-03-12
Reviewed by Alexey Proskuryakov.

* fast/text/lang-mapped-to-webkit-locale-dynamic-expected.txt: Added.
* fast/text/lang-mapped-to-webkit-locale-dynamic.xhtml: Added.

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

9 years ago[TexMapGL] Pixel-align the transform of textures that fit pixel-for-pixel on the...
jocelyn.turcotte@nokia.com [Mon, 12 Mar 2012 17:09:35 +0000 (17:09 +0000)]
[TexMapGL] Pixel-align the transform of textures that fit pixel-for-pixel on the frame buffer.
https://bugs.webkit.org/show_bug.cgi?id=80848

Reviewed by Noam Rosenthal.

When rendering a transformed texture on the screen with a fractional
coordinate with linear filtering, the resulting pixel will be blended from
the texels around this fractional position according to their cover ratio.
This produces a slight blur of pixels which give no benefit when rendering
a texture that isn't scaled.

This patch offsets the transform by rounding the translation part of the
layer's transform to align the result to integer coordinates.
Applying the adjustment on the layer transform makes sure that all the tiles
get the same adjustment.

* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3DPrivate::paintToTextureMapper):
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::drawTexture):
* platform/graphics/texmap/TextureMapperGL.h:
(WebCore::BitmapTextureGL::textureSize):

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

9 years ago[TexMapGL] Use textures sized exactly to their contents.
jocelyn.turcotte@nokia.com [Mon, 12 Mar 2012 17:08:18 +0000 (17:08 +0000)]
[TexMapGL] Use textures sized exactly to their contents.
https://bugs.webkit.org/show_bug.cgi?id=80845

Reviewed by Noam Rosenthal.

This fixes a regression introduced in r108273 as well as the bug it fixed.
The regressing behavior was that textures were rendered shrunk by 1 pixel
and thus would appear blurry on the screen.
The original problem was that garbage contents would appear on filtered
textures since we would reuse textures of different sizes by giving them
a slightly bigger size.

This patch will reuse the texture only if the size matches exactly to allow
edge clamping to work properly when redering with linear filtering.
Reusing textures would only saves us the allocation of graphic memory
anyway, which is negligeable compared to texture upload.

* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3DPrivate::paintToTextureMapper):
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::drawTexture):
(WebCore::BitmapTextureGL::didReset):
* platform/graphics/texmap/TextureMapperGL.h:
(BitmapTextureGL):
* platform/graphics/texmap/TextureMapperShaderManager.cpp:
(WebCore::TextureMapperShaderProgramOpacityAndMask::TextureMapperShaderProgramOpacityAndMask):
(WebCore::TextureMapperShaderProgramOpacityAndMask::prepare):
* platform/graphics/texmap/TextureMapperShaderManager.h:
(TextureMapperShaderProgramOpacityAndMask):

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

9 years ago[TexMap] Remove BitmapTexture::destroy.
jocelyn.turcotte@nokia.com [Mon, 12 Mar 2012 17:06:44 +0000 (17:06 +0000)]
[TexMap] Remove BitmapTexture::destroy.
https://bugs.webkit.org/show_bug.cgi?id=80844

Reviewed by Noam Rosenthal.

Use the destructor directly instead.

* platform/graphics/texmap/TextureMapper.h:
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::BitmapTextureGL::~BitmapTextureGL):
* platform/graphics/texmap/TextureMapperGL.h:
(BitmapTextureGL):
* platform/graphics/texmap/TextureMapperImageBuffer.h:
(WebCore::BitmapTextureImageBuffer::~BitmapTextureImageBuffer):

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

9 years ago[Qt] Make sure we set the right library version for Qt 4
vestbo@webkit.org [Mon, 12 Mar 2012 16:39:38 +0000 (16:39 +0000)]
[Qt] Make sure we set the right library version for Qt 4

r110272 accedentally pruned the variable that ensures this.

Reviewed by Simon Hausmann.

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

9 years agoUnreviewed, slight Skipped list reorganization and unskip a bunch
philn@webkit.org [Mon, 12 Mar 2012 16:06:15 +0000 (16:06 +0000)]
Unreviewed, slight Skipped list reorganization and unskip a bunch
of inspector tests on GTK.

* platform/gtk/Skipped:

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

9 years agoWeb Inspector: DebuggerModel.Location should have scriptId property.
podivilov@chromium.org [Mon, 12 Mar 2012 15:56:06 +0000 (15:56 +0000)]
Web Inspector: DebuggerModel.Location should have scriptId property.
https://bugs.webkit.org/show_bug.cgi?id=80830

Reviewed by Vsevolod Vlasov.

Source/WebCore:

* inspector/front-end/CompilerSourceMapping.js:
(WebInspector.ClosureCompilerSourceMapping.prototype.sourceLocationToCompiledLocation):
* inspector/front-end/ConsoleMessage.js:
(WebInspector.ConsoleMessageImpl.prototype.location):
* inspector/front-end/DebuggerModel.js:
(WebInspector.DebuggerModel.Location):
(WebInspector.DebuggerModel.prototype._failedToParseScriptSource):
(WebInspector.DebuggerModel.prototype.createRawLocation):
(WebInspector.DebuggerModel.prototype.createRawLocationByURL):
* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype._consoleMessageAdded):
(WebInspector.DebuggerPresentationModel.prototype._addConsoleMessageToScript):
(WebInspector.DebuggerPresentationModel.prototype._addPendingConsoleMessagesToScript):
(WebInspector.DebuggerPresentationModelResourceBinding.prototype._uiSourceCodeForResource):
(WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyLocation):
* inspector/front-end/RawSourceCode.js:
(WebInspector.RawSourceCode.PlainSourceMapping.prototype.uiLocationToRawLocation):
(WebInspector.RawSourceCode.FormattedSourceMapping.prototype.rawLocationToUILocation):
(WebInspector.RawSourceCode.FormattedSourceMapping.prototype.uiLocationToRawLocation):
(WebInspector.RawSourceCode.CompilerSourceMapping.prototype.uiLocationToRawLocation):
* inspector/front-end/ScriptFormatter.js:
(WebInspector.ScriptFormatter.locationToPosition):
(WebInspector.ScriptFormatter.positionToLocation):
(WebInspector.FormattedSourceMapping.prototype.originalToFormatted):
(WebInspector.FormattedSourceMapping.prototype.formattedToOriginal):

LayoutTests:

* http/tests/inspector/compiler-source-mapping.html:
* http/tests/inspector/debugger-test.js:
(initialize_DebuggerTest):
* http/tests/inspector/search/search-in-concatenated-script.html:
* http/tests/inspector/search/search-in-script.html:
* inspector/debugger/debugger-scripts.html:
* inspector/debugger/linkifier.html:
* inspector/debugger/raw-source-code.html:
* inspector/debugger/script-formatter.html:

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

9 years ago[chromium] Clean up culling tests and templatize to test impl constructs
commit-queue@webkit.org [Mon, 12 Mar 2012 15:50:27 +0000 (15:50 +0000)]
[chromium] Clean up culling tests and templatize to test impl constructs
https://bugs.webkit.org/show_bug.cgi?id=80613

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-12
Reviewed by Adrienne Walker.

* tests/CCOcclusionTrackerTest.cpp:
(WebCore::TestContentLayerChromium::TestContentLayerChromium):
(WebCore::TestContentLayerChromium::opaqueContentsRegion):
(WebCore::TestContentLayerChromium::setOpaqueContentsRect):
(TestContentLayerChromium):
(TestContentLayerImpl):
(WebCore::TestContentLayerImpl::TestContentLayerImpl):
(WebCore::TestContentLayerImpl::opaqueContentsRegion):
(WebCore::TestContentLayerImpl::setOpaqueContentsRect):
(WebCore):
(WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
(WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
(WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
(WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
(WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
(WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
(WebCore::TestDamageClient::damageRect):
(CCOcclusionTrackerTestMainThreadTypes):
(WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
(WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
(CCOcclusionTrackerTestImplThreadTypes):
(WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
(WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
(CCOcclusionTrackerTest):
(WebCore::CCOcclusionTrackerTest::TearDown):
(WebCore::CCOcclusionTrackerTest::createRoot):
(WebCore::CCOcclusionTrackerTest::createLayer):
(WebCore::CCOcclusionTrackerTest::createSurface):
(WebCore::CCOcclusionTrackerTest::createDrawingLayer):
(WebCore::CCOcclusionTrackerTest::createDrawingSurface):
(WebCore::CCOcclusionTrackerTest::calcDrawEtc):
(WebCore::CCOcclusionTrackerTest::setBaseProperties):
(WebCore::CCOcclusionTrackerTest::setProperties):
(CCOcclusionTrackerTestIdentityTransforms):
(WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
(CCOcclusionTrackerTestRotatedChild):
(WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
(CCOcclusionTrackerTestTranslatedChild):
(WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
(CCOcclusionTrackerTestChildInRotatedChild):
(WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
(CCOcclusionTrackerTestVisitTargetTwoTimes):
(WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
(CCOcclusionTrackerTestSurfaceRotatedOffAxis):
(WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
(CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
(WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
(CCOcclusionTrackerTestOverlappingSurfaceSiblings):
(WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
(CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
(WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
(CCOcclusionTrackerTestFilters):
(WebCore::CCOcclusionTrackerTestFilters::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectOutsideChild):
(WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectOutsideChild):
(WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
(CCOcclusionTrackerTestDamageRectOutsideChild):
(WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectOverChild):
(WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectOverChild):
(WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
(CCOcclusionTrackerTestDamageRectOverChild):
(WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
(WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
(WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
(CCOcclusionTrackerTestDamageRectPartlyOverChild):
(WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectOverNothing):
(WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectOverNothing):
(WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
(CCOcclusionTrackerTestDamageRectOverNothing):
(WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
(WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
(CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
(WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
(CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
(WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):

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

9 years ago[chromium] A couple early-outs for occlusion tracker
commit-queue@webkit.org [Mon, 12 Mar 2012 15:47:40 +0000 (15:47 +0000)]
[chromium] A couple early-outs for occlusion tracker
https://bugs.webkit.org/show_bug.cgi?id=80742

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-12
Reviewed by Adrienne Walker.

Covered by existing tests.

* platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::::occluded):
(WebCore::::unoccludedContentRect):

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

9 years ago[Qt][Mac] Build fails after adding WebCoreCFAutorelease(CFTypeRef) (r110360).
zeno.albisser@nokia.com [Mon, 12 Mar 2012 15:45:43 +0000 (15:45 +0000)]
[Qt][Mac] Build fails after adding WebCoreCFAutorelease(CFTypeRef) (r110360).
https://bugs.webkit.org/show_bug.cgi?id=80840

CoreFoundation/CFBase.h needs to be included to define the type CFTypeRef.

Reviewed by Tor Arne Vestbø.

* platform/mac/WebCoreObjCExtras.h:

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

9 years ago[Qt][Mac] Build fails after enabling LLINT when JIT is disabled (r109863)
zeno.albisser@nokia.com [Mon, 12 Mar 2012 15:34:50 +0000 (15:34 +0000)]
[Qt][Mac] Build fails after enabling LLINT when JIT is disabled (r109863)
https://bugs.webkit.org/show_bug.cgi?id=80827

Qt on Mac uses OS(DARWIN) as well, but we do not want to enable LLINT.

Reviewed by Simon Hausmann.

* wtf/Platform.h:

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

9 years agoRemove unused global static variable for BlackBerry.
staikos@webkit.org [Mon, 12 Mar 2012 15:32:47 +0000 (15:32 +0000)]
Remove unused global static variable for BlackBerry.
https://bugs.webkit.org/show_bug.cgi?id=80790

Reviewed by Alexey Proskuryakov.

* platform/graphics/gpu/DrawingBuffer.cpp:
(WebCore):

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

9 years agoCorrect usage of NDEBUG to fix warnings on BlackBerry.
staikos@webkit.org [Mon, 12 Mar 2012 15:28:48 +0000 (15:28 +0000)]
Correct usage of NDEBUG to fix warnings on BlackBerry.
https://bugs.webkit.org/show_bug.cgi?id=80790

Reviewed by Alexey Proskuryakov.

* platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.cpp:
(WebCore::CookieDatabaseBackingStore::sendChangesToDatabase):
* platform/blackberry/CookieManager.cpp:
(WebCore::CookieManager::initiateCookieLimitCleanUp):

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

9 years ago[BlackBerry] build-webkit doesn't recognize "--cmakearg" for the BlackBerry port
commit-queue@webkit.org [Mon, 12 Mar 2012 14:52:15 +0000 (14:52 +0000)]
[BlackBerry] build-webkit doesn't recognize "--cmakearg" for the BlackBerry port
https://bugs.webkit.org/show_bug.cgi?id=80812

Patch by Ming Xie <mxie@rim.com> on 2012-03-12
Reviewed by Rob Buis.

* Scripts/build-webkit: Add $cmakeArgs to buildCMakeProjectOrExit()
* Scripts/webkitdirs.pm:
(blackberryCMakeArguments): Remove "PUBLIC_BUILD=0" define

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

9 years agoUnreviewed prospective Qt/Mac build fix
hausmann@webkit.org [Mon, 12 Mar 2012 14:43:52 +0000 (14:43 +0000)]
Unreviewed prospective Qt/Mac build fix

* runtime/JSGlobalData.cpp: use #USE(CF) instead of PLATFORM(MAC) to determine
whether to include CoreFoundation headers, used for JIT configuration in JSGlobalData
constructor.

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

9 years agoUpdate how the Web Inspector resources are loaded.
timothy@apple.com [Mon, 12 Mar 2012 14:36:17 +0000 (14:36 +0000)]
Update how the Web Inspector resources are loaded.

https://bugs.webkit.org/show_bug.cgi?id=80814
rdar://problem/10359959

Reviewed by John Sullivan.

* Shared/WebPreferencesStore.h:
(WebKit): Added InspectorUsesWebKitUserInterface.
* Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::encode): Removed webInspectorLocalizedStringsPath.
(WebKit::WebProcessCreationParameters::decode): Ditto.
* Shared/WebProcessCreationParameters.h: Ditto.
(WebProcessCreationParameters): Ditto.
* UIProcess/API/C/WKContext.cpp:
* UIProcess/API/C/WKContextPrivate.h:
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetInspectorUsesWebKitUserInterface): Added.
(WKPreferencesGetInspectorUsesWebKitUserInterface): Added.
* UIProcess/API/C/WKPreferencesPrivate.h:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::ensureWebProcess): Removed webInspectorLocalizedStringsPath.
* UIProcess/WebContext.h:
(WebContext): Ditto.
* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::inspectorReallyUsesWebKitUserInterface): Added.
(WebKit::WebInspectorProxy::createInspectorWindow): Use inspectorReallyUsesWebKitUserInterface
to determine if texture should be used.
(WebKit::WebInspectorProxy::inspectorPageURL): Choose the right path.
(WebKit::WebInspectorProxy::inspectorBaseURL): Ditto.
* WebProcess/WebPage/WebInspector.h:
* WebProcess/WebPage/mac/WebInspectorMac.mm:
(WebKit::inspectorReallyUsesWebKitUserInterface):
(WebKit::WebInspector::setInspectorUsesWebKitUserInterface): Added.
(WebKit::WebInspector::localizedStringsURL):
* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::platformPreferencesDidChange): Call WebInspector::setInspectorUsesWebKitUserInterface.
* WebProcess/mac/WebProcessMac.mm:
(WebKit::WebProcess::platformInitializeWebProcess): Removed call to WebInspector::setLocalizedStringsPath.

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

9 years ago[Qt] REGRESSION(r110401): fast/table/table-row-compositing-repaint-crash.html asserts
ossy@webkit.org [Mon, 12 Mar 2012 14:33:32 +0000 (14:33 +0000)]
[Qt] REGRESSION(r110401): fast/table/table-row-compositing-repaint-crash.html asserts
https://bugs.webkit.org/show_bug.cgi?id=80833

Unreviewed gardening.

* platform/qt/Skipped: Skip fast/table/table-row-compositing-repaint-crash.html to paint the bot green.

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

9 years agoRe-apply the patch after v8 roll to r11000.
loislo@chromium.org [Mon, 12 Mar 2012 13:59:47 +0000 (13:59 +0000)]
Re-apply the patch after v8 roll to r11000.

Web Inspector: move heap snapshot nodes data to external array.
https://bugs.webkit.org/show_bug.cgi?id=79911

Reviewed by Vsevolod Vlasov.

Source/WebCore:

Tests:
heap-shapshot.html
heap-shapshot-loader.html

* inspector/front-end/HeapSnapshot.js:
(WebInspector.Int32Array):
(WebInspector.Int32Array.prototype.get array):
(WebInspector.HeapSnapshotLoader.prototype._parseNodes):
(WebInspector.HeapSnapshotLoader.prototype.pushJSONChunk):
(WebInspector.HeapSnapshot):
(WebInspector.HeapSnapshot.prototype._init):

LayoutTests:

* inspector/profiler/heap-snapshot-loader.html:
* inspector/profiler/heap-snapshot-test.js:
(initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockRaw):
(initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMock):
(initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockWithDOM):

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

9 years ago[Qt] Fix build with newer Qt 5.
hausmann@webkit.org [Mon, 12 Mar 2012 12:57:31 +0000 (12:57 +0000)]
[Qt] Fix build with newer Qt 5.

Reviewed by Tor Arne Vestbø.

Source/WebCore:

* platform/qt/RenderThemeQt.cpp:
(WebCore::RenderThemeQt::fileListNameForWidth): Use DefaultCodec instead of the
deprecated CodecForTR.

Tools:

Newer Qt 5 renames QDeclarativeFoo to QQmlFoo and provides backwards compatible
renames, which however do trigger a #warning. Until we _require_ a newer Qt 5
we should disable -Werror.

Also load(moc) for the availability of QMAKE_MOC in various derived sources. The
implicit load was removed recently.

* qmake/mkspecs/features/default_pre.prf:
* qmake/mkspecs/features/unix/default_post.prf:

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

9 years agoWeb Inspector: chromium: increase heap snapshot performance coverage.
loislo@chromium.org [Mon, 12 Mar 2012 12:31:41 +0000 (12:31 +0000)]
Web Inspector: chromium: increase heap snapshot performance coverage.
https://bugs.webkit.org/show_bug.cgi?id=80829

Reviewed by Yury Semikhatsky.

* inspector/detailed-heapshots-smoke-test.html:
* inspector/performance-test.js:
(initialize_TimeTracker.InspectorTest.measureFunction):

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

9 years agoSpeech JavaScript API: SpeechRecognitionEvent
hans@chromium.org [Mon, 12 Mar 2012 11:27:51 +0000 (11:27 +0000)]
Speech JavaScript API: SpeechRecognitionEvent
https://bugs.webkit.org/show_bug.cgi?id=80513

Reviewed by Adam Barth.

Source/WebCore:

Implement SpeechRecognitionEvent.
(Spec: http://speech-javascript-api-spec.googlecode.com/git/speechapi.html)

Test: fast/events/constructors/speech-recognition-event-constructor.html

* Modules/speech/DOMWindowSpeech.idl:
* Modules/speech/SpeechRecognitionEvent.cpp: Added.
(WebCore):
(WebCore::SpeechRecognitionEventInit::SpeechRecognitionEventInit):
(WebCore::SpeechRecognitionEvent::create):
(WebCore::SpeechRecognitionEvent::createResult):
(WebCore::SpeechRecognitionEvent::createNoMatch):
(WebCore::SpeechRecognitionEvent::createResultDeleted):
(WebCore::SpeechRecognitionEvent::createError):
(WebCore::SpeechRecognitionEvent::interfaceName):
(WebCore::SpeechRecognitionEvent::SpeechRecognitionEvent):
* Modules/speech/SpeechRecognitionEvent.h: Added.
(WebCore):
(SpeechRecognitionEventInit):
(SpeechRecognitionEvent):
(WebCore::SpeechRecognitionEvent::result):
(WebCore::SpeechRecognitionEvent::error):
(WebCore::SpeechRecognitionEvent::resultIndex):
(WebCore::SpeechRecognitionEvent::resultHistory):
* Modules/speech/SpeechRecognitionEvent.idl:
* WebCore.gypi:
* bindings/generic/RuntimeEnabledFeatures.h:
(WebCore::RuntimeEnabledFeatures::webkitSpeechRecognitionEventEnabled):
* bindings/v8/OptionsObject.cpp:
(WebCore::OptionsObject::get):
(WebCore):
* bindings/v8/OptionsObject.h:
(WebCore):
(OptionsObject):
* dom/EventNames.h:
(WebCore):
* dom/EventNames.in:

LayoutTests:

Add test for SpeechRecognitionEvent.
Update Skipped files for all ports except Chromium.

* fast/events/constructors/speech-recognition-event-constructor-expected.txt: Added.
* fast/events/constructors/speech-recognition-event-constructor.html: Added.
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:
* platform/wincairo/Skipped:

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

9 years agoAll DFG nodes should have a mutable set of flags
fpizlo@apple.com [Mon, 12 Mar 2012 09:50:38 +0000 (09:50 +0000)]
All DFG nodes should have a mutable set of flags
https://bugs.webkit.org/show_bug.cgi?id=80779
<rdar://problem/11026218>

Reviewed by Gavin Barraclough.

Got rid of NodeId, and placed all of the flags that distinguished NodeId
from NodeType into a separate Node::flags field. Combined what was previously
ArithNodeFlags into Node::flags.

In the process of debugging, I found that the debug support in the virtual
register allocator was lacking, so I improved it. I also realized that the
virtual register allocator was assuming that the nodes in a basic block were
contiguous, which is no longer the case. So I fixed that. The fix also made
it natural to have more extreme assertions, so I added them. I suspect this
will make it easier to catch virtual register allocation bugs in the future.

This is mostly performance neutral; if anything it looks like a slight
speed-up.

This patch does leave some work for future refactorings; for example, Node::op
is unencapsulated. This was already the case, though now it feels even more
like it should be. I avoided doing that because this patch has already grown
way bigger than I wanted.

Finally, this patch creates a DFGNode.cpp file and makes a slight effort to
move some unnecessarily inline stuff out of DFGNode.h.

* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.xcodeproj/project.pbxproj:
* Target.pri:
* dfg/DFGArithNodeFlagsInferencePhase.cpp:
(JSC::DFG::ArithNodeFlagsInferencePhase::propagate):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::addToGraph):
(JSC::DFG::ByteCodeParser::makeSafe):
(JSC::DFG::ByteCodeParser::makeDivSafe):
(JSC::DFG::ByteCodeParser::handleMinMax):
(JSC::DFG::ByteCodeParser::handleIntrinsic):
(JSC::DFG::ByteCodeParser::parseBlock):
* dfg/DFGCFAPhase.cpp:
(JSC::DFG::CFAPhase::performBlockCFA):
* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::endIndexForPureCSE):
(JSC::DFG::CSEPhase::pureCSE):
(JSC::DFG::CSEPhase::clobbersWorld):
(JSC::DFG::CSEPhase::impureCSE):
(JSC::DFG::CSEPhase::setReplacement):
(JSC::DFG::CSEPhase::eliminate):
(JSC::DFG::CSEPhase::performNodeCSE):
(JSC::DFG::CSEPhase::performBlockCSE):
(CSEPhase):
* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::opName):
(JSC::DFG::Graph::dump):
(DFG):
* dfg/DFGNode.cpp: Added.
(DFG):
(JSC::DFG::arithNodeFlagsAsString):
* dfg/DFGNode.h:
(DFG):
(JSC::DFG::nodeUsedAsNumber):
(JSC::DFG::nodeCanTruncateInteger):
(JSC::DFG::nodeCanIgnoreNegativeZero):
(JSC::DFG::nodeMayOverflow):
(JSC::DFG::nodeCanSpeculateInteger):
(JSC::DFG::defaultFlags):
(JSC::DFG::Node::Node):
(Node):
(JSC::DFG::Node::setOpAndDefaultFlags):
(JSC::DFG::Node::mustGenerate):
(JSC::DFG::Node::arithNodeFlags):
(JSC::DFG::Node::setArithNodeFlag):
(JSC::DFG::Node::mergeArithNodeFlags):
(JSC::DFG::Node::hasResult):
(JSC::DFG::Node::hasInt32Result):
(JSC::DFG::Node::hasNumberResult):
(JSC::DFG::Node::hasJSResult):
(JSC::DFG::Node::hasBooleanResult):
(JSC::DFG::Node::isJump):
(JSC::DFG::Node::isBranch):
(JSC::DFG::Node::isTerminal):
(JSC::DFG::Node::child1):
(JSC::DFG::Node::child2):
(JSC::DFG::Node::child3):
(JSC::DFG::Node::firstChild):
(JSC::DFG::Node::numChildren):
* dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
(JSC::DFG::PredictionPropagationPhase::vote):
(JSC::DFG::PredictionPropagationPhase::fixupNode):
* dfg/DFGScoreBoard.h:
(ScoreBoard):
(JSC::DFG::ScoreBoard::~ScoreBoard):
(JSC::DFG::ScoreBoard::assertClear):
(JSC::DFG::ScoreBoard::use):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::useChildren):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGVirtualRegisterAllocationPhase.cpp:
(JSC::DFG::VirtualRegisterAllocationPhase::run):

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

9 years agoUnreviewed, remove flakiness flags for timeline-start-time.html following a fix in...
caseq@chromium.org [Mon, 12 Mar 2012 09:19:10 +0000 (09:19 +0000)]
Unreviewed, remove flakiness flags for timeline-start-time.html following a fix in r100417.
https://bugs.webkit.org/show_bug.cgi?id=80803

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed flakiness fix.
caseq@chromium.org [Mon, 12 Mar 2012 09:02:56 +0000 (09:02 +0000)]
Unreviewed flakiness fix.

* inspector/timeline/timeline-start-time.html:

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

9 years agoUnreviewed, GTK rebaseline after r110409. And skip a new GTK
philn@webkit.org [Mon, 12 Mar 2012 08:59:55 +0000 (08:59 +0000)]
Unreviewed, GTK rebaseline after r110409. And skip a new GTK
layout test failing after r110371.

* platform/gtk/Skipped:
* platform/gtk/fast/hidpi/video-controls-in-hidpi-expected.txt:
* platform/gtk/fast/layers/video-layer-expected.txt:
* platform/gtk/media/audio-controls-rendering-expected.txt:
* platform/gtk/media/audio-repaint-expected.txt:
* platform/gtk/media/controls-strict-expected.txt:
* platform/gtk/media/controls-styling-expected.txt:
* platform/gtk/media/controls-without-preload-expected.txt:
* platform/gtk/media/media-controls-clone-expected.txt:
* platform/gtk/media/media-document-audio-repaint-expected.txt:
* platform/gtk/media/video-controls-rendering-expected.txt:
* platform/gtk/media/video-empty-source-expected.txt:
* platform/gtk/media/video-no-audio-expected.txt:
* platform/gtk/media/video-zoom-controls-expected.txt:

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

9 years agoUnreviewed: Fix typos in fast/css/style-scoped/style-scoped-basic.html layout test.
rolandsteiner@chromium.org [Mon, 12 Mar 2012 08:52:12 +0000 (08:52 +0000)]
Unreviewed: Fix typos in fast/css/style-scoped/style-scoped-basic.html layout test.

* fast/css/style-scoped/style-scoped-basic.html:

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

9 years agoUse ICU C API instead of C++ API in LocalizedNumberICU
tkent@chromium.org [Mon, 12 Mar 2012 08:38:05 +0000 (08:38 +0000)]
Use ICU C API instead of C++ API in LocalizedNumberICU
https://bugs.webkit.org/show_bug.cgi?id=80815
https://bugs.gentoo.org/show_bug.cgi?id=407401

Reviewed by Hajime Morita.

ICU 4.8 doesn't have kNumberStyle. We had better to use ICU C API in
general to avoid such issues.

This patch should not make any behavior change.

* platform/text/LocalizedNumberICU.cpp:
(WebCore::ICULocale::ICULocale):
Change the argument type: icu::Locale -> const char*
(WebCore::ICULocale::~ICULocale): Delete m_numberFormat with unum_close().
(WebCore::ICULocale::create): Do not create icu::Locale.
(WebCore::ICULocale::createForCurrentLocale): ditto.
(WebCore::ICULocale::setDecimalSymbol):
Use unum_getSymbol() instead of DecimalFormatSymbols::getSymbol().
(WebCore::ICULocale::setDecimalTextAttribute):
Added. A utility function to store prefixes and suffixes.
(WebCore::ICULocale::initializeDecimalFormat):
- unum_open(), instead of NumberFormat::createInstance().
- Use C API symbols.
- Cache positive/negative prefixes/suffixes.
(WebCore::ICULocale::convertToLocalizedNumber): Use cached prefixes and suffixes.
(WebCore::matches): Stop using template because we don't use UString anymore.
(WebCore::ICULocale::detectSignAndGetDigitRange):
- Use cached prefixes and suffixes.
- Use String::startsWith() and endsWith().
(WebCore::ICULocale::convertFromLocalizedNumber):
* platform/text/LocalizedNumberICU.h:
(ICULocale):

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

9 years agoWeb Inspector: decouple LiveLocation from RawSourceCode.
podivilov@chromium.org [Mon, 12 Mar 2012 08:32:08 +0000 (08:32 +0000)]
Web Inspector: decouple LiveLocation from RawSourceCode.
https://bugs.webkit.org/show_bug.cgi?id=80785

Reviewed by Vsevolod Vlasov.

Source/WebCore:

* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype.createPlacard):
(WebInspector.DebuggerPresentationModel.prototype._debuggerPaused):
(WebInspector.PresentationCallFrame):
(WebInspector.PresentationCallFrame.prototype.uiLocation):
(WebInspector.DebuggerPresentationModel.CallFramePlacard):
* inspector/front-end/RawSourceCode.js:
* inspector/front-end/ScriptMapping.js:
(WebInspector.MainScriptMapping):
(WebInspector.MainScriptMapping.prototype.createLiveLocation):
(WebInspector.MainScriptMapping.prototype._registerLiveLocation):
(WebInspector.MainScriptMapping.prototype._unregisterLiveLocation):
(WebInspector.MainScriptMapping.prototype._updateLiveLocations):
(WebInspector.MainScriptMapping.prototype._uiSourceCodeListChanged):
(WebInspector.MainScriptMapping.prototype.reset):
(WebInspector.LiveLocation):
(WebInspector.LiveLocation.prototype.init):
(WebInspector.LiveLocation.prototype.dispose):
(WebInspector.LiveLocation.prototype._update):

LayoutTests:

* inspector/debugger/callstack-placards-discarded-expected.txt:
* inspector/debugger/callstack-placards-discarded.html:
* inspector/debugger/linkifier.html:

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

9 years agoRemove unnecessary call to NSSizeToCGSize().
aestes@apple.com [Mon, 12 Mar 2012 07:14:20 +0000 (07:14 +0000)]
Remove unnecessary call to NSSizeToCGSize().
https://bugs.webkit.org/show_bug.cgi?id=80817

Reviewed by Dan Bernstein.

There is no need to call NSSizeToCGSize() to convert an IntSize to a
CGSize. IntSize defines a conversion function to CGSize that will do
this for us implicitly.

* UIProcess/mac/BackingStoreMac.mm:
(WebKit::BackingStore::backingStoreContext): Do not call NSSizeToCGSize().

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

9 years agoUnreviewed, update chromium test expectations.
ukai@chromium.org [Mon, 12 Mar 2012 06:07:11 +0000 (06:07 +0000)]
Unreviewed, update chromium test expectations.

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed, update chromium test expectations.
ukai@chromium.org [Mon, 12 Mar 2012 05:59:12 +0000 (05:59 +0000)]
Unreviewed, update chromium test expectations.

* platform/chromium/test_expectations.txt:

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

9 years agoSource/WebCore: The main code structure for placing future text track cue rendering
commit-queue@webkit.org [Mon, 12 Mar 2012 04:47:28 +0000 (04:47 +0000)]
Source/WebCore: The main code structure for placing future text track cue rendering
code and main outer rendering steps.
https://bugs.webkit.org/show_bug.cgi?id=79746

Patch by Victor Carbune <vcarbune@adobe.com> on 2012-03-11
Reviewed by Eric Carlson.

No new tests. Only refactoring, but some chromium tests require rebaselining
and have been marked accordingly.

* css/mediaControls.css:
(::-webkit-media-controls): Changed the default display to -webkit-box, as
captions need to always be rendered on top of the controls, if they are visible.
(audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel):
Default position attribute is now relative, handled by the parent -webkit-box
(video::-webkit-media-text-track-container): The position of the container is
now relative, handled by -webkit-box.
(video::-webkit-media-text-track-display): Adjusted text color to match
the color required in the WebVTT spec (section 3.5.1 'color' property)
* css/mediaControlsChromium.css:
(audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel):
Default position attribute is now relative, handled by the parent -webkit-box

* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlPanelElement::MediaControlPanelElement): Added a timer
for the webkit fade out transition event. This timer is required for setting
the display property to 'none', when the fade out transition is over. Otherwise,
captions would not be displayed at the bottom of the video.
(WebCore::MediaControlPanelElement::startTimer): Added.
(WebCore):
(WebCore::MediaControlPanelElement::stopTimer): Added.
(WebCore::MediaControlPanelElement::transitionTimerFired): Added. If the current
state of the controls is transparent, the display property is set to 'none'.
(WebCore::MediaControlPanelElement::makeOpaque): The inline display:'none' property
is removed before the fade in transition.
(WebCore::MediaControlPanelElement::makeTransparent): Added the timer start.
(WebCore::MediaControlTextTrackContainerElement::MediaControlTextTrackContainerElement):
Removed m_bottom as it is not needed anymore.
(WebCore::MediaControlTextTrackContainerElement::updateDisplay): Added. Main
function for the rendering rules.
(WebCore::MediaControlTextTrackContainerElement::updateSizes): The bottom position
needs not to be set anymore.
* html/shadow/MediaControlElements.h:
(MediaControlPanelElement): Added timer internals.
(MediaControlTextTrackContainerElement): Added updateDisplay() and removed unused
variables.

(WebCore):
* html/shadow/MediaControlRootElement.cpp: Removed m_textTrackDisplay
and duplicated code with MediaControlRootElementChromium (only minimum
function calls to the main text track container)
(WebCore::MediaControlRootElement::MediaControlRootElement):
(WebCore::MediaControlRootElement::setMediaController):
(WebCore::MediaControlRootElement::createTextTrackDisplay):
(WebCore::MediaControlRootElement::updateTextTrackDisplay):

* html/shadow/MediaControlRootElementChromium.cpp: Removed m_textTrackDisplay
and duplicate code with MediaControlRootElement (only minimum function calls
to the main text track container remained)
(WebCore::MediaControlRootElementChromium::MediaControlRootElementChromium):
(WebCore::MediaControlRootElementChromium::setMediaController):
(WebCore::MediaControlRootElementChromium::createTextTrackDisplay):
(WebCore::MediaControlRootElementChromium::updateTextTrackDisplay):

(WebCore):
* html/track/TextTrackCue.cpp: Enhanced structure for supporting more complex
rendering required by the WebVTT spec.
(WebCore::TextTrackCue::TextTrackCue):
(WebCore::TextTrackCue::cueDidChange): Mark the display tree as obsolete, so that
it needs to be re-computed.
(WebCore::TextTrackCue::setIsActive): The display tree needs to be removed as
soon as the cue becomes inactive. Adjusted this method to support the functionality.
(WebCore):
(WebCore::TextTrackCue::determineDisplayParameters): Added. This method will hold
main positioning parameter computations for a TextTrackCue
(WebCore):
(WebCore::TextTrackCue::getDisplayTree): Added. This method returns the root node
of the CSS boxes that need to be displayed on top of the video, for the current
instance.
* html/track/TextTrackCue.h:
(WebCore):
(TextTrackCue):

LayoutTests: Updated layout tests for basic rendering of cues.
Some Chromium tests require rebaselining and have been marked accordingly.

https://bugs.webkit.org/show_bug.cgi?id=79746

Patch by Victor Carbune <vcarbune@adobe.com> on 2012-03-11
Reviewed by Eric Carlson.

* media/media-controls.js: Adjusted helper function.
(mediaControlsElement):
(textTrackDisplayElement): If the method is called with only
one parameter, it returns the text track container instead of
a specific cue.
* media/track/track-cue-mutable-text-expected.txt: Adjusted.
* media/track/track-cue-nothing-to-render-expected.txt: Adjusted.
* media/track/track-cue-rendering-expected.txt: Adjusted.
* media/track/track-cue-rendering.html: Adjusted.
* platform/chromium/test_expectations.txt: Marked tests that need to
be rebaselined accordingly.

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

9 years agoUnreviewed gardening. Rebaseline svg/text/foreignObject-repaint.xml to close
noel.gordon@gmail.com [Mon, 12 Mar 2012 04:04:31 +0000 (04:04 +0000)]
Unreviewed gardening. Rebaseline svg/text/foreignObject-repaint.xml to close
out http://crbug.com/11483

* platform/chromium-linux/svg/text/foreignObject-repaint-expected.png: Added.
* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed, update chromium test expectations
ukai@chromium.org [Mon, 12 Mar 2012 03:57:34 +0000 (03:57 +0000)]
Unreviewed, update chromium test expectations

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed, update chromium test expectations.
ukai@chromium.org [Mon, 12 Mar 2012 02:26:40 +0000 (02:26 +0000)]
Unreviewed, update chromium test expectations.

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed, rolling out r110359.
commit-queue@webkit.org [Mon, 12 Mar 2012 01:29:44 +0000 (01:29 +0000)]
Unreviewed, rolling out r110359.
http://trac.webkit.org/changeset/110359
https://bugs.webkit.org/show_bug.cgi?id=80799

SelectPopupMenuTest.ClickItem failure (Requested by ukai on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-03-11

Source/WebCore:

* platform/chromium/PopupListBox.cpp:
(WebCore::PopupListBox::paint):
(WebCore::PopupListBox::paintRow):
(WebCore::PopupListBox::getRowHeight):
* platform/chromium/PopupListBox.h:
(PopupContainerSettings):
* platform/chromium/PopupMenuChromium.cpp:
(WebCore):
(WebCore::PopupMenuChromium::show):
* platform/chromium/PopupMenuChromium.h:
(PopupMenuChromium):
* rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::showPopup):

Source/WebKit/chromium:

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::gestureEvent):
(WebKit::WebViewImpl::applyAutofillSuggestions):

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

9 years agoMac build fix.
timothy@apple.com [Mon, 12 Mar 2012 01:29:21 +0000 (01:29 +0000)]
Mac build fix.

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

9 years agoUpdate how the Web Inspector resources are loaded.
timothy@apple.com [Mon, 12 Mar 2012 01:14:09 +0000 (01:14 +0000)]
Update how the Web Inspector resources are loaded.

https://bugs.webkit.org/show_bug.cgi?id=80798
rdar://problem/10359959

Reviewed by Brian Weinstein.

Source/WebKit:

* WebKit.xcodeproj/project.pbxproj: Add a framework.

Source/WebKit/mac:

* WebCoreSupport/WebInspectorClient.mm:
(useWebKitWebInspector): Return if we are using the WebCore resources for compatibility
with local and nightly builds.
(WebInspectorFrontendClient::localizedStringsURL): Decide what path to use.
(-[WebInspectorWindowController init]): Ditto.
(-[WebInspectorWindowController window]): Decide if the window is textured or not.

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

9 years agoFix a crash opening the Web Inspector in WebKit1 clients.
timothy@apple.com [Mon, 12 Mar 2012 00:40:43 +0000 (00:40 +0000)]
Fix a crash opening the Web Inspector in WebKit1 clients.

The call to InspectorFrontendClientLocal::setAttachedWindow is preformed really early in the process,
causing it to crash almost every time. It should use evaluateOnLoad instead of evaluateAsBoolean.

<rdar://problem/10951109> Crash when bringing up Web Inspector in WebKit1 client
https://bugs.webkit.org/show_bug.cgi?id=80796

Reviewed by Brian Weinstein.

* inspector/InspectorFrontendClientLocal.cpp:
(WebCore::InspectorFrontendClientLocal::setAttachedWindow): Use evaluateOnLoad instead of evaluateAsBoolean.

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

9 years agoREGRESSION (r93614): scrolling div does not repaint
shawnsingh@chromium.org [Sun, 11 Mar 2012 22:17:36 +0000 (22:17 +0000)]
REGRESSION (r93614): scrolling div does not repaint
https://bugs.webkit.org/show_bug.cgi?id=80641

Reviewed by Simon Fraser.

Source/WebCore:

Test: compositing/repaint/newly-composited-repaint-rect.html

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateBacking): When a layer
becomes newly composited and creates its backing, the repaintRect
may become invalid. This patch recomputes repaintRects in this
case.

LayoutTests:

* compositing/repaint/newly-composited-repaint-rect-expected.png: Added.
* compositing/repaint/newly-composited-repaint-rect-expected.txt: Added.
* compositing/repaint/newly-composited-repaint-rect.html: Added.

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

9 years agoEnable JPEG encoding for BlackBerry.
staikos@webkit.org [Sun, 11 Mar 2012 20:12:56 +0000 (20:12 +0000)]
Enable JPEG encoding for BlackBerry.
https://bugs.webkit.org/show_bug.cgi?id=80792

Reviewed by Antonio Gomes.

* PlatformBlackBerry.cmake:

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

9 years agoInconsistent SyntaxError from new Function(...)
barraclough@apple.com [Sun, 11 Mar 2012 19:52:33 +0000 (19:52 +0000)]
Inconsistent SyntaxError from new Function(...)
https://bugs.webkit.org/show_bug.cgi?id=59795

Rubber stamped by Oliver Hunt.

* fast/js/function-constructor-error-expected.txt: Added.
* fast/js/function-constructor-error.html: Added.
* fast/js/script-tests/function-constructor-error.js: Added.
    - Adding test cases.

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

9 years agoWebKit2 lacks API for obtaining a representation of the RenderLayer tree of a page...
mitz@apple.com [Sun, 11 Mar 2012 19:50:14 +0000 (19:50 +0000)]
WebKit2 lacks API for obtaining a representation of the RenderLayer tree of a page, like WebRenderLayer
<http://webkit.org/b/80791>

Reviewed by Anders Carlsson.

* CMakeLists.txt:
* GNUmakefile.am:

* Shared/API/c/WKBase.h: Added a type definition of WKRenderLayerRef.

* Shared/API/c/WKRenderLayer.cpp: Added.
(WKRenderLayerGetTypeID): Added. Returns the WKRenderLayer type ID.
(WKRenderLayerCopyRendererName): Added this getter wrapper.
(WKRenderLayerCopyElementTagName): Ditto.
(WKRenderLayerCopyElementID): Ditto.
(WKRenderLayerGetElementClassNames): Ditto.
(WKRenderLayerGetAbsoluteBounds): Ditto.
(WKRenderLayerIsClipping): Ditto.
(WKRenderLayerIsClipped): Ditto.
(WKRenderLayerIsReflection): Ditto.
(WKRenderLayerGetCompositingLayerType): Ditto.
(WKRenderLayerGetNegativeZOrderList): Ditto.
(WKRenderLayerGetNormalFlowList): Ditto.
(WKRenderLayerGetPositiveZOrderList): Ditto.

* Shared/API/c/WKRenderLayer.h: Added.

* Shared/APIObject.h: Added TypeRenderLayer to the APIObject::Type enum.

* Shared/UserMessageCoders.h:
(WebKit::UserMessageEncoder::baseEncode): Added WebRenderLayer encoding.
(WebKit::UserMessageDecoder::baseDecode): Added WebRenderLayer decoding.

* Shared/WebRenderLayer.cpp: Added.
(WebKit::WebRenderLayer::create): Added. Creates a WebRenderLayer for the page’s main
frame’s root layer.
(WebKit::WebRenderLayer::createArrayFromLayerList): Added this helper function.
(WebKit::WebRenderLayer::WebRenderLayer): Added. Constructs a WebRenderLayer with the
renderer name, element tag, ID and class names, metrics, child lists, and compositing
layer properties of the given RenderLayer.

* Shared/WebRenderLayer.h: Added.
(WebKit::WebRenderLayer::create):
(WebKit::WebRenderLayer::negativeZOrderList):
(WebKit::WebRenderLayer::normalFlowList):
(WebKit::WebRenderLayer::positiveZOrderList):
(WebKit::WebRenderLayer::renderObjectName):
(WebKit::WebRenderLayer::elementTagName):
(WebKit::WebRenderLayer::elementID):
(WebKit::WebRenderLayer::elementClassNames):
(WebKit::WebRenderLayer::isReflection):
(WebKit::WebRenderLayer::isClipping):
(WebKit::WebRenderLayer::isClipped):
(WebKit::WebRenderLayer::compositingLayerType):
(WebKit::WebRenderLayer::absoluteBoundingBox):
(WebKit::WebRenderLayer::WebRenderLayer):

* Target.pri

* UIProcess/API/C/WKAPICast.h: Added a mapping between WKRenderLayerRef and WebRenderLayer.

* WebKit2.xcodeproj/project.pbxproj: Added WebRenderLayer.{cpp,h} and WKRenderLayer.{cpp,h}.

* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageCopyRenderLayerTree): Added this bundle API for getting the layer tree.

* WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:

* win/WebKit2.vcproj:

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

9 years agoSource/JavaScriptCore: LLInt should support JSVALUE64
barraclough@apple.com [Sun, 11 Mar 2012 18:58:04 +0000 (18:58 +0000)]
Source/JavaScriptCore: LLInt should support JSVALUE64
https://bugs.webkit.org/show_bug.cgi?id=79609
<rdar://problem/10063437>

Patch by Filip Pizlo <fpizlo@apple.com> on 2012-03-10
Reviewed by Gavin Barraclough and Oliver Hunt.

Ported the LLInt, which previously only worked on 32-bit, to 64-bit. This
patch moves a fair bit of code from LowLevelInterpreter32_64.asm to the common
file, LowLevelInterpreter.asm. About 1/3 of the LLInt did not have to be
specialized for value representation.

Also made some minor changes to offlineasm and the slow-paths.

* llint/LLIntData.cpp:
(JSC::LLInt::Data::performAssertions):
* llint/LLIntEntrypoints.cpp:
* llint/LLIntSlowPaths.cpp:
(LLInt):
(JSC::LLInt::llint_trace_value):
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
(JSC::LLInt::jitCompileAndSetHeuristics):
* llint/LLIntSlowPaths.h:
(LLInt):
(SlowPathReturnType):
(JSC::LLInt::SlowPathReturnType::SlowPathReturnType):
(JSC::LLInt::encodeResult):
* llint/LLIntThunks.cpp:
* llint/LowLevelInterpreter.asm:
* llint/LowLevelInterpreter32_64.asm:
* llint/LowLevelInterpreter64.asm:
* offlineasm/armv7.rb:
* offlineasm/asm.rb:
* offlineasm/ast.rb:
* offlineasm/backends.rb:
* offlineasm/instructions.rb:
* offlineasm/parser.rb:
* offlineasm/registers.rb:
* offlineasm/transform.rb:
* offlineasm/x86.rb:
* wtf/Platform.h:

LayoutTests: Object.freeze broken on latest Nightly
https://bugs.webkit.org/show_bug.cgi?id=80577

Reviewed by Oliver Hunt.

* fast/js/preventExtensions-expected.txt:
* fast/js/script-tests/preventExtensions.js:
    - Added test cases.

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

9 years agoWeb Inspector: console.log attempts to substitute any "%" character in the message.
pfeldman@chromium.org [Sun, 11 Mar 2012 17:34:09 +0000 (17:34 +0000)]
Web Inspector: console.log attempts to substitute any "%" character in the message.
https://bugs.webkit.org/show_bug.cgi?id=80504

Reviewed by Vsevolod Vlasov.

Source/WebCore:

Test: inspector/console/console-string-format.html

* inspector/front-end/AuditRules.js:
(WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback.selectorsCallback):
* inspector/front-end/ProfileDataGridTree.js:
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
* inspector/front-end/utilities.js:

LayoutTests:

* inspector/console/console-string-format-expected.txt: Added.
* inspector/console/console-string-format.html: Added.

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

9 years agoWeb Inspector: use monotonically increasing time in timeline agent
caseq@chromium.org [Sun, 11 Mar 2012 16:35:35 +0000 (16:35 +0000)]
Web Inspector: use monotonically increasing time in timeline agent
https://bugs.webkit.org/show_bug.cgi?id=80786

Reviewed by Pavel Feldman.

* bindings/v8/ScriptGCEvent.cpp:
(WebCore::ScriptGCEvent::gcPrologueCallback):
(WebCore::ScriptGCEvent::gcEpilogueCallback):
* inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::pushGCEventRecords):
(WebCore::InspectorTimelineAgent::willSendResourceRequest):
(WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
(WebCore::InspectorTimelineAgent::appendRecord):
(WebCore::InspectorTimelineAgent::pushCurrentRecord):
(WebCore::InspectorTimelineAgent::timestamp):
(WebCore):
* inspector/InspectorTimelineAgent.h:
(InspectorTimelineAgent):
(WebCore::InspectorTimelineAgent::timestamp):

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

9 years agoWeb Inspector: Network panel does not show responses for application/json data
vsevik@chromium.org [Sun, 11 Mar 2012 15:09:17 +0000 (15:09 +0000)]
Web Inspector: Network panel does not show responses for application/json data
https://bugs.webkit.org/show_bug.cgi?id=80684

Reviewed by Pavel Feldman.

Source/WebCore:

Test: http/tests/inspector/network/async-xhr-json-mime-type.html

* inspector/InspectorPageAgent.cpp:
(WebCore::createXHRTextDecoder):
(WebCore::InspectorPageAgent::cachedResourceContent):
* inspector/InspectorPageAgent.h:
* inspector/NetworkResourcesData.cpp:
(WebCore::createOtherResourceTextDecoder):
(WebCore):
(WebCore::NetworkResourcesData::responseReceived):

LayoutTests:

* http/tests/inspector/network/async-xhr-json-mime-type-expected.txt: Added.
* http/tests/inspector/network/async-xhr-json-mime-type.html: Added.
* http/tests/inspector/network/resources/json.php: Added.

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

9 years agoWeb Inspector: CSS content is not shown when stylesheet is loaded with invalid mime...
vsevik@chromium.org [Sun, 11 Mar 2012 14:59:41 +0000 (14:59 +0000)]
Web Inspector: CSS content is not shown when stylesheet is loaded with invalid mime type in quirks mode.
https://bugs.webkit.org/show_bug.cgi?id=80528

Reviewed by Pavel Feldman.

Source/WebCore:

Test: http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html

* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::cachedResourceContent):

LayoutTests:

* http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content-expected.txt: Added.
* http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html: Added.
* http/tests/inspector/resource-tree/resources/stylesheet-text-plain.php: Added.

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

9 years agoWeb Inspector: [chromium] add provisional test for the downstream sanity test.
pfeldman@chromium.org [Sun, 11 Mar 2012 13:15:48 +0000 (13:15 +0000)]
Web Inspector: [chromium] add provisional test for the downstream sanity test.
https://bugs.webkit.org/show_bug.cgi?id=80784

Reviewed by Yury Semikhatsky.

* src/js/Tests.js:
(.TestSuite.prototype.checkLogAndErrorMessages.validMessage):
(.TestSuite.prototype.checkLogAndErrorMessages.onConsoleMessage):
(.TestSuite.prototype.checkLogAndErrorMessages):

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

9 years ago<http://webkit.org/b/80782> Web Inspector: Crash using released frontendClient when...
commit-queue@webkit.org [Sun, 11 Mar 2012 10:11:52 +0000 (10:11 +0000)]
<webkit.org/b/80782> Web Inspector: Crash using released frontendClient when resizing window with closed inspector

The WebInspectorFrontendClient reference should be cleared when the
WebInspectorClient::closeInspectorFrontend is called. This adds a
destroyInspectorPage to mirror createInspectorPage and clear the weak
pointers that are no longer valid.

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2012-03-11
Reviewed by Pavel Feldman.

* WebProcess/WebCoreSupport/WebInspectorClient.cpp:
(WebKit::WebInspectorClient::closeInspectorFrontend):
(WebKit::WebInspectorClient::didResizeMainFrame):
* WebProcess/WebPage/WebInspector.cpp:
(WebKit::WebInspector::destroyInspectorPage):
* WebProcess/WebPage/WebInspector.h:

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

9 years agoAdd --instruments option to sunspider to profile with Instruments
mjs@apple.com [Sun, 11 Mar 2012 09:11:58 +0000 (09:11 +0000)]
Add --instruments option to sunspider to profile with Instruments
https://bugs.webkit.org/show_bug.cgi?id=80783

Reviewed by Filip Pizlo.

PerformanceTests/SunSpider:

* resources/TimeProfile20us.tracetemplate: Added.
* sunspider:
(runTestsOnce):

Tools:

* Scripts/run-sunspider:

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

9 years ago[Qt] [WK2] Support threaded renderer in WK2
ostapenko.viatcheslav@nokia.com [Sun, 11 Mar 2012 08:26:07 +0000 (08:26 +0000)]
[Qt] [WK2] Support threaded renderer in WK2
https://bugs.webkit.org/show_bug.cgi?id=76661

Source/WebCore:

Reviewed by Noam Rosenthal.

Add TransformationMatrix conversions from/to Qt QMatrix4x4. Used by Qt WebKit2
rendering and tested by Qt WebKit2 API tests.

* platform/graphics/qt/TransformationMatrixQt.cpp:
(WebCore::TransformationMatrix::operator QMatrix4x4):
(WebCore):
(WebCore::TransformationMatrix::TransformationMatrix):
* platform/graphics/transforms/TransformationMatrix.h:
(TransformationMatrix):

Source/WebKit2:

Reviewed by Noam Rosenthal.

Implement Qt5 threaded rendering support for Qt WebKit2.
Parts of LayerTreeHostProxy which contain layer tree and layer painting objects
are moved to separate class called WebLayerTreeRenderer. WebLayerTreeRenderer is
thread safe ref counted and referenced by LayerTreeHostProxy and paint node.
All layer tree and graphics objects are created, accessed and deallocated from Qt
Scenegraph's paint thread only.
Layer tree updates from render queue are fetched in updatePaintNode call stack when
main thread is locked.
Messages from paint thread to web process are passed through MainThreadGuardedInvoker
call gate (implemented by Noam Rosenthal and previously reviewed by Kenneth Rohde
Christiansen).

* Target.pri:
* UIProcess/API/qt/qquickwebpage.cpp:
(PageProxyNode::PageProxyNode):
(PageProxyNode::render):
(PageProxyNode::~PageProxyNode):
(PageProxyNode::layerTreeRenderer):
(PageProxyNode):
(PageProxyNode::setScale):
(QQuickWebPage::updatePaintNode):
(QQuickWebPagePrivate::~QQuickWebPagePrivate):
* UIProcess/LayerTreeHostProxy.cpp: Added.
(WebKit):
(WebKit::LayerTreeHostProxy::LayerTreeHostProxy):
(WebKit::LayerTreeHostProxy::~LayerTreeHostProxy):
(WebKit::LayerTreeHostProxy::paintToCurrentGLContext):
(WebKit::LayerTreeHostProxy::paintToGraphicsContext):
(WebKit::LayerTreeHostProxy::updateViewport):
(WebKit::LayerTreeHostProxy::dispatchUpdate):
(WebKit::LayerTreeHostProxy::createTileForLayer):
(WebKit::LayerTreeHostProxy::updateTileForLayer):
(WebKit::LayerTreeHostProxy::removeTileForLayer):
(WebKit::LayerTreeHostProxy::deleteCompositingLayer):
(WebKit::LayerTreeHostProxy::setRootCompositingLayer):
(WebKit::LayerTreeHostProxy::syncCompositingLayerState):
(WebKit::LayerTreeHostProxy::didRenderFrame):
(WebKit::LayerTreeHostProxy::createDirectlyCompositedImage):
(WebKit::LayerTreeHostProxy::destroyDirectlyCompositedImage):
(WebKit::LayerTreeHostProxy::setVisibleContentsRectForPanning):
(WebKit::LayerTreeHostProxy::setVisibleContentsRectForScaling):
(WebKit::LayerTreeHostProxy::renderNextFrame):
(WebKit::LayerTreeHostProxy::purgeBackingStores):
* UIProcess/LayerTreeHostProxy.h:
(WebKit):
(LayerTreeHostProxy):
(WebKit::LayerTreeHostProxy::layerTreeRenderer):
* UIProcess/WebLayerTreeRenderer.cpp: Renamed from Source/WebKit2/UIProcess/qt/LayerTreeHostProxyQt.cpp.
(WebKit):
(MainThreadGuardedInvoker):
(WebKit::MainThreadGuardedInvoker::call):
(WebKit::MainThreadGuardedInvoker::MainThreadGuardedInvoker):
(WebKit::MainThreadGuardedInvoker::invoke):
(WebKit::WebLayerTreeRenderer::callOnMainTread):
(WebKit::WebLayerTreeRenderer::WebLayerTreeRenderer):
(WebKit::WebLayerTreeRenderer::~WebLayerTreeRenderer):
(WebKit::WebLayerTreeRenderer::createLayer):
(WebKit::WebLayerTreeRenderer::paintToCurrentGLContext):
(WebKit::WebLayerTreeRenderer::syncAnimations):
(WebKit::WebLayerTreeRenderer::paintToGraphicsContext):
(WebKit::WebLayerTreeRenderer::setVisibleContentsRectForScaling):
(WebKit::WebLayerTreeRenderer::updateViewport):
(WebKit::WebLayerTreeRenderer::syncLayerParameters):
(WebKit::WebLayerTreeRenderer::deleteLayer):
(WebKit::WebLayerTreeRenderer::ensureLayer):
(WebKit::WebLayerTreeRenderer::setRootLayerID):
(WebKit::WebLayerTreeRenderer::getBackingStore):
(WebKit::WebLayerTreeRenderer::createTile):
(WebKit::WebLayerTreeRenderer::removeTile):
(WebKit::WebLayerTreeRenderer::updateTile):
(WebKit::WebLayerTreeRenderer::createImage):
(WebKit::WebLayerTreeRenderer::destroyImage):
(WebKit::WebLayerTreeRenderer::assignImageToLayer):
(WebKit::WebLayerTreeRenderer::swapBuffers):
(WebKit::WebLayerTreeRenderer::flushLayerChanges):
(WebKit::WebLayerTreeRenderer::renderNextFrame):
(WebKit::WebLayerTreeRenderer::ensureRootLayer):
(WebKit::WebLayerTreeRenderer::syncRemoteContent):
(WebKit::WebLayerTreeRenderer::purgeGLResources):
(WebKit::WebLayerTreeRenderer::purgeBackingStores):
(WebKit::WebLayerTreeRenderer::detach):
(WebKit::WebLayerTreeRenderer::appendUpdate):
* UIProcess/WebLayerTreeRenderer.h: Copied from Source/WebKit2/UIProcess/LayerTreeHostProxy.h.
(WebKit):
(WebLayerTreeRenderer):
(WebKit::WebLayerTreeRenderer::layerByID):
(WebKit::WebLayerTreeRenderer::rootLayer):
(WebKit::WebLayerTreeRenderer::notifyAnimationStarted):
(WebKit::WebLayerTreeRenderer::notifySyncRequired):
(WebKit::WebLayerTreeRenderer::showDebugBorders):
(WebKit::WebLayerTreeRenderer::showRepaintCounter):
(WebKit::WebLayerTreeRenderer::paintContents):

Tools:

Remove disabling of threaded rendering.

Reviewed by Noam Rosenthal.

* MiniBrowser/qt/main.cpp:
(main):

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

9 years agoSwitch from HTTP to HTTPS for Xcode developer.apple.com hyperlinks
dbates@webkit.org [Sun, 11 Mar 2012 04:48:49 +0000 (04:48 +0000)]
Switch from HTTP to HTTPS for Xcode developer.apple.com hyperlinks

The Debugging and Analyzing Your Code page cannot be viewed at <http://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/Debugging/Debugging.html#//apple_ref/doc/uid/TP40010215-CH3-SW1> (1) as this URL redirects to the Mac OS X Developer Library <https://developer.apple.com/library/mac/navigation/>.
Substituting https for http in (1) returns the expected page.

* building/debug-mac-uiprocess.html:
* building/debug.html:

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

9 years agoUnreviewed, rolling out r110384.
commit-queue@webkit.org [Sun, 11 Mar 2012 04:23:24 +0000 (04:23 +0000)]
Unreviewed, rolling out r110384.
http://trac.webkit.org/changeset/110384
https://bugs.webkit.org/show_bug.cgi?id=80774

compile failed on Chromium Win Release (Requested by ukai_home
on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-03-10

* tests/CCOcclusionTrackerTest.cpp:
(WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
(WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
(WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
(LayerChromiumWithForcedDrawsContent):
(WebCore::setLayerPropertiesForTesting):
(WebCore):
(WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
(WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
(WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
(WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
(WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
(WebCore::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
(WebCore::TestDamageClient::damageRect):
(WebCore::layerAddedToOccludedRegion):
(WebCore::layerAddedToOccludedRegionWithRotation):
(WebCore::layerAddedToOccludedRegionWithTranslation):
(WebCore::layerAddedToOccludedRegionWithRotatedSurface):
(WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
(WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
(WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
(WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
(WebCore::surfaceOcclusionInScreenSpace):
(WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
(WebCore::occlusionInteractionWithFilters):
(WebCore::layerScissorRectOverTile):
(WebCore::screenScissorRectOverTile):
(WebCore::layerScissorRectOverCulledTile):
(WebCore::screenScissorRectOverCulledTile):
(WebCore::layerScissorRectOverPartialTiles):
(WebCore::screenScissorRectOverPartialTiles):
(WebCore::layerScissorRectOverNoTiles):
(WebCore::screenScissorRectOverNoTiles):
(WebCore::layerScissorRectForLayerOffOrigin):
(WebCore::damageRectOverTile):
(WebCore::damageRectOverCulledTile):
(WebCore::damageRectOverPartialTiles):
(WebCore::damageRectOverNoTiles):
(WebCore::TEST):

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

9 years agoIncrement the perf-o-matic app version.
rniwa@webkit.org [Sun, 11 Mar 2012 03:56:38 +0000 (03:56 +0000)]
Increment the perf-o-matic app version.

* Websites/webkit-perf.appspot.com/app.yaml:

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

9 years ago[chromium] Clean up culling tests and templatize to test impl constructs
commit-queue@webkit.org [Sun, 11 Mar 2012 02:37:37 +0000 (02:37 +0000)]
[chromium] Clean up culling tests and templatize to test impl constructs
https://bugs.webkit.org/show_bug.cgi?id=80613

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-10
Reviewed by Adrienne Walker.

* tests/CCOcclusionTrackerTest.cpp:
(WebCore::TestContentLayerChromium::TestContentLayerChromium):
(WebCore::TestContentLayerChromium::opaqueContentsRegion):
(WebCore::TestContentLayerChromium::setOpaqueContentsRect):
(TestContentLayerChromium):
(TestContentLayerImpl):
(WebCore::TestContentLayerImpl::TestContentLayerImpl):
(WebCore::TestContentLayerImpl::opaqueContentsRegion):
(WebCore::TestContentLayerImpl::setOpaqueContentsRect):
(WebCore):
(WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
(WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
(WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
(WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
(WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
(WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
(WebCore::TestDamageClient::damageRect):
(CCOcclusionTrackerTestMainThreadTypes):
(WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
(WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
(CCOcclusionTrackerTestImplThreadTypes):
(WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
(WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
(CCOcclusionTrackerTest):
(WebCore::CCOcclusionTrackerTest::TearDown):
(WebCore::CCOcclusionTrackerTest::createRoot):
(WebCore::CCOcclusionTrackerTest::createLayer):
(WebCore::CCOcclusionTrackerTest::createSurface):
(WebCore::CCOcclusionTrackerTest::createDrawingLayer):
(WebCore::CCOcclusionTrackerTest::createDrawingSurface):
(WebCore::CCOcclusionTrackerTest::calcDrawEtc):
(WebCore::CCOcclusionTrackerTest::setBaseProperties):
(WebCore::CCOcclusionTrackerTest::setProperties):
(CCOcclusionTrackerTestIdentityTransforms):
(WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
(CCOcclusionTrackerTestRotatedChild):
(WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
(CCOcclusionTrackerTestTranslatedChild):
(WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
(CCOcclusionTrackerTestChildInRotatedChild):
(WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
(CCOcclusionTrackerTestVisitTargetTwoTimes):
(WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
(CCOcclusionTrackerTestSurfaceRotatedOffAxis):
(WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
(CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
(WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
(CCOcclusionTrackerTestOverlappingSurfaceSiblings):
(WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
(CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
(WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
(CCOcclusionTrackerTestFilters):
(WebCore::CCOcclusionTrackerTestFilters::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectOutsideChild):
(WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectOutsideChild):
(WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
(CCOcclusionTrackerTestDamageRectOutsideChild):
(WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectOverChild):
(WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectOverChild):
(WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
(CCOcclusionTrackerTestDamageRectOverChild):
(WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
(WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
(WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
(CCOcclusionTrackerTestDamageRectPartlyOverChild):
(WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectOverNothing):
(WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectOverNothing):
(WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
(CCOcclusionTrackerTestDamageRectOverNothing):
(WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
(WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
(CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
(WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
(CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
(WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):

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

9 years agoLLInt should support JSVALUE64
fpizlo@apple.com [Sun, 11 Mar 2012 00:33:20 +0000 (00:33 +0000)]
LLInt should support JSVALUE64
https://bugs.webkit.org/show_bug.cgi?id=79609
<rdar://problem/10063437>

Reviewed by Gavin Barraclough and Oliver Hunt.

Ported the LLInt, which previously only worked on 32-bit, to 64-bit. This
patch moves a fair bit of code from LowLevelInterpreter32_64.asm to the common
file, LowLevelInterpreter.asm. About 1/3 of the LLInt did not have to be
specialized for value representation.

Also made some minor changes to offlineasm and the slow-paths.

* llint/LLIntData.cpp:
(JSC::LLInt::Data::performAssertions):
* llint/LLIntEntrypoints.cpp:
* llint/LLIntSlowPaths.cpp:
(LLInt):
(JSC::LLInt::llint_trace_value):
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
(JSC::LLInt::jitCompileAndSetHeuristics):
* llint/LLIntSlowPaths.h:
(LLInt):
(SlowPathReturnType):
(JSC::LLInt::SlowPathReturnType::SlowPathReturnType):
(JSC::LLInt::encodeResult):
* llint/LLIntThunks.cpp:
* llint/LowLevelInterpreter.asm:
* llint/LowLevelInterpreter32_64.asm:
* llint/LowLevelInterpreter64.asm:
* offlineasm/armv7.rb:
* offlineasm/asm.rb:
* offlineasm/ast.rb:
* offlineasm/backends.rb:
* offlineasm/instructions.rb:
* offlineasm/parser.rb:
* offlineasm/registers.rb:
* offlineasm/transform.rb:
* offlineasm/x86.rb:
* wtf/Platform.h:

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

9 years ago[WK2] run-perf-tests should be able to run with WTR
mrobinson@webkit.org [Sat, 10 Mar 2012 18:44:59 +0000 (18:44 +0000)]
[WK2] run-perf-tests should be able to run with WTR
https://bugs.webkit.org/show_bug.cgi?id=80042

Patch by Zan Dobersek <zandobersek@gmail.com> on 2012-03-09
Reviewed by Martin Robinson.

Add an option to PerfTestRunner to use WebKitTestRunner instead of
DumpRenderTree and add the '--no-timeout' flag to WebKitTestRunner
to avoid timing out when running performance tests.

* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner._parse_args):
* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::InjectedBundle): Initialize m_useWaitToDumpWatchdogTimer
to true.
(WTR::InjectedBundle::didReceiveMessage): Unpack the 'BeginTest' message
as a dictionary containing DumpPixels and UseWaitToDumpWatchdogTimer keys.
* WebKitTestRunner/InjectedBundle/InjectedBundle.h:
(WTR::InjectedBundle::useWaitToDumpWatchdogTimer): Make m_useWaitToDumpWatchdogTimer
publicly accessible.
* WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
(WTR::LayoutTestController::waitUntilDone): Only initialize the watchdog if it
is required.
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::TestController): Initialize m_useWaitToDumpWatchdogTimer
to true.
(WTR::TestController::initialize): Set m_useWaitToDumpWatchdogTimer to false
if '--no-timeout' option is present.
(WTR::TestController::runUntil): Translate TimeoutDuration to a proper timeout
value, or -1.0 if timeout should not occur.
* WebKitTestRunner/TestController.h:
(WTR::TestController::useWaitToDumpWatchdogTimer): Make m_useWaitToDumpWatchdogTimer
publicly accessible.
* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::invoke): Pack the 'BeginTest' message as a dictionary,
containing DumpPixels and UseWaitToDumpWatchdogTimer keys and corresponding values.
Waiting for final message should not time out if not necessary.
* WebKitTestRunner/gtk/TestControllerGtk.cpp:
(WTR::TestController::platformRunUntil): Only set up a timeout if necessary.
* WebKitTestRunner/qt/TestControllerQt.cpp:
(WTR::TestController::platformRunUntil): Ditto.
* WebKitTestRunner/mac/TestControllerMac.mm:
(WTR::TestController::platformRunUntil): Add a FIXME, indicating functionality
is missing.
* WebKitTestRunner/win/TestControllerWin.cpp:
(WTR::TestController::platformRunUntil): Ditto.

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

9 years agoRename NotificationPresenter to NotificationClient
jonlee@apple.com [Sat, 10 Mar 2012 18:42:05 +0000 (18:42 +0000)]
Rename NotificationPresenter to NotificationClient
https://bugs.webkit.org/show_bug.cgi?id=80488
<rdar://problem/10965558>

Reviewed by Kentaro Hara.

Source/WebCore:

* notifications/NotificationCenter.h: Renamed from notifications/NotificationPresenter.h.

Refactor to use renamed WebCore::NotificationClient.
* GNUmakefile.list.am:
* Target.pri:
* WebCore.exp.in:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* notifications/Notification.cpp:
(WebCore::Notification::Notification):
(WebCore::Notification::show):
(WebCore::Notification::cancel):
(WebCore::Notification::contextDestroyed):
(WebCore::Notification::finishLoading):
* notifications/NotificationCenter.cpp:
(WebCore::NotificationCenter::create):
(WebCore::NotificationCenter::NotificationCenter):
(WebCore::NotificationCenter::checkPermission):
(WebCore::NotificationCenter::requestPermission):
(WebCore::NotificationCenter::disconnectFrame):
* notifications/NotificationController.cpp:
(WebCore::NotificationController::NotificationController):
(WebCore::NotificationController::create):
(WebCore::NotificationController::clientFrom):
(WebCore::provideNotification):
* notifications/NotificationController.h:
(WebCore):
(NotificationController):
(WebCore::NotificationController::client):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::webkitNotifications):
* page/DOMWindow.h:
(DOMWindow):
* workers/WorkerContext.cpp:
(WebCore::WorkerContext::webkitNotifications):
* workers/WorkerThread.cpp:
(WebCore::WorkerThread::WorkerThread):
* workers/WorkerThread.h:
(WebCore):
(WebCore::WorkerThread::getNotificationClient):
(WebCore::WorkerThread::setNotificationClient):
(WorkerThread):

Source/WebKit/blackberry:

Refactor to use renamed WebCore::NotificationClient.
* WebCoreSupport/NotificationPresenterImpl.cpp:
(WebCore::NotificationPresenterImpl::instance):
(WebCore::NotificationPresenterImpl::show):
(WebCore::NotificationPresenterImpl::checkPermission):
* WebCoreSupport/NotificationPresenterImpl.h:
(NotificationPresenterImpl):

Source/WebKit/chromium:

Refactor to use renamed WebCore::NotificationClient.
* src/AssertMatchingEnums.cpp:
* src/NotificationPresenterImpl.cpp:
(WebKit::NotificationPresenterImpl::checkPermission):
* src/NotificationPresenterImpl.h:
(NotificationPresenterImpl):

Source/WebKit/efl:

Refactor to use renamed WebCore::NotificationClient.
* WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::notificationPresenter):
* WebCoreSupport/ChromeClientEfl.h:
(ChromeClientEfl):

Source/WebKit/mac:

Refactor to use renamed WebCore::NotificationClient.
* WebCoreSupport/WebNotificationClient.h:
* WebCoreSupport/WebNotificationClient.mm:
(WebNotificationClient::checkPermission):
* WebView/WebViewPrivate.h:

Source/WebKit/qt:

Refactor to use renamed WebCore::NotificationClient.
* WebCoreSupport/NotificationPresenterClientQt.cpp:
(WebCore::NotificationPresenterClientQt::checkPermission):
(WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
* WebCoreSupport/NotificationPresenterClientQt.h:
(NotificationPresenterClientQt):

Source/WebKit/win:

Refactor to use renamed WebCore::NotificationClient.
* WebCoreSupport/WebChromeClient.h:
(WebChromeClient::notificationPresenter):
* WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
(WebDesktopNotificationsDelegate::checkPermission):
* WebCoreSupport/WebDesktopNotificationsDelegate.h:
(WebDesktopNotificationsDelegate):

Source/WebKit/wince:

Refactor to use renamed WebCore::NotificationClient.
* WebCoreSupport/ChromeClientWinCE.h:
(ChromeClientWinCE):

Source/WebKit2:

Refactor to use renamed WebCore::NotificationClient.
* UIProcess/Notifications/WebNotificationManagerProxy.h:
* WebProcess/Notifications/NotificationPermissionRequestManager.cpp:
(WebKit::NotificationPermissionRequestManager::startRequest):
(WebKit::NotificationPermissionRequestManager::permissionLevel):
* WebProcess/Notifications/NotificationPermissionRequestManager.h:
(NotificationPermissionRequestManager):
* WebProcess/Notifications/WebNotificationManager.cpp:
(WebKit::WebNotificationManager::policyForOrigin):
* WebProcess/Notifications/WebNotificationManager.h:
(WebNotificationManager):
* WebProcess/WebCoreSupport/WebNotificationClient.cpp:
(WebKit::WebNotificationClient::checkPermission):
* WebProcess/WebCoreSupport/WebNotificationClient.h:
(WebNotificationClient):

Tools:

Refactor to use renamed WebCore::NotificationClient.
* DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
(DRTDesktopNotificationPresenter::checkNotificationPermission):

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

9 years agoRenderObject with 'resize' different from 'none' should have a RenderLayer
jchaffraix@webkit.org [Sat, 10 Mar 2012 18:21:56 +0000 (18:21 +0000)]
RenderObject with 'resize' different from 'none' should have a RenderLayer
https://bugs.webkit.org/show_bug.cgi?id=80738

Reviewed by James Robinson.

Source/WebCore:

Covered by fast/css/resize-single-axis.html.

* rendering/RenderBox.h:
(WebCore::RenderBox::requiresLayerForOverflowClip):
The resizer logic is tied to RenderLayer so force a RenderLayer to be allocated if resize() != RESIZE_NONE.

LayoutTests:

* platform/chromium/test_expectations.txt:
* platform/efl/test_expectations.txt:
* platform/gtk/test_expectations.txt:
* platform/mac/test_expectations.txt:
* platform/win/Skipped:
Unskip the test on most platform but Qt. Qt has a bug about the test timing out
which may be related.

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

9 years agoWeb Worker crashes with WX_EXCLUSIVE
commit-queue@webkit.org [Sat, 10 Mar 2012 17:38:42 +0000 (17:38 +0000)]
Web Worker crashes with WX_EXCLUSIVE
https://bugs.webkit.org/show_bug.cgi?id=80532

Let each JS global object own a meta allocator
for WX_EXCLUSIVE to avoid conflicts from Web Worker.
Also fix a mutex leak in MetaAllocator's dtor.

Patch by Yong Li <yoli@rim.com> on 2012-03-10
Reviewed by Filip Pizlo.

* jit/ExecutableAllocator.cpp:
(JSC::DemandExecutableAllocator::DemandExecutableAllocator):
(JSC::DemandExecutableAllocator::~DemandExecutableAllocator):
(JSC::DemandExecutableAllocator::bytesAllocatedByAllAllocators):
(DemandExecutableAllocator):
(JSC::DemandExecutableAllocator::bytesCommittedByAllocactors):
(JSC::DemandExecutableAllocator::dumpProfileFromAllAllocators):
(JSC::DemandExecutableAllocator::allocateNewSpace):
(JSC::DemandExecutableAllocator::allocators):
(JSC::DemandExecutableAllocator::allocatorsMutex):
(JSC):
(JSC::ExecutableAllocator::initializeAllocator):
(JSC::ExecutableAllocator::ExecutableAllocator):
(JSC::ExecutableAllocator::underMemoryPressure):
(JSC::ExecutableAllocator::memoryPressureMultiplier):
(JSC::ExecutableAllocator::allocate):
(JSC::ExecutableAllocator::committedByteCount):
(JSC::ExecutableAllocator::dumpProfile):
* jit/ExecutableAllocator.h:
(JSC):
(ExecutableAllocator):
(JSC::ExecutableAllocator::allocator):
* wtf/MetaAllocator.h:
(WTF::MetaAllocator::~MetaAllocator): Finalize the spin lock.
* wtf/TCSpinLock.h:
(TCMalloc_SpinLock::Finalize): Add empty Finalize() to some implementations.

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

9 years agoUnreviewed, rolling out r110358.
senorblanco@chromium.org [Sat, 10 Mar 2012 17:08:02 +0000 (17:08 +0000)]
Unreviewed, rolling out r110358.
http://trac.webkit.org/changeset/110358
https://bugs.webkit.org/show_bug.cgi?id=80706

No improvement on specified benchmarks.

* dom/ContainerNode.cpp:
(WebCore::collectNodes):
(WebCore::collectTargetNodes):

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

9 years ago2012-03-10 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 10 Mar 2012 16:01:13 +0000 (16:01 +0000)]
2012-03-10  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Final chunk of SL rebaselines with Generic RGB profile for svg/.

        * platform/mac-snowleopard/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
        * platform/mac-snowleopard/svg/filters/animate-fill-expected.png:
        * platform/mac-snowleopard/svg/filters/big-sized-filter-2-expected.png:
        * platform/mac-snowleopard/svg/filters/big-sized-filter-expected.png:
        * platform/mac-snowleopard/svg/filters/feColorMatrix-default-type-expected.png:
        * platform/mac-snowleopard/svg/filters/feColorMatrix-offset-expected.png:
        * platform/mac-snowleopard/svg/filters/feColorMatrix-saturate-expected.png:
        * platform/mac-snowleopard/svg/filters/feColorMatrix-values-expected.png:
        * platform/mac-snowleopard/svg/filters/feComposite-expected.png:
        * platform/mac-snowleopard/svg/filters/feConvolveFilter-y-bounds-expected.png:
        * platform/mac-snowleopard/svg/filters/feDisplacementMap-expected.png:
        * platform/mac-snowleopard/svg/filters/feDropShadow-expected.png:
        * platform/mac-snowleopard/svg/filters/feGaussianBlur-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-animated-transform-on-target-rect-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-userSpaceOnUse-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-late-indirect-update-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-multiple-targets-id-change-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-position-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-preserveAspectratio-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-reference-invalidation-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-reference-svg-primitive-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-subregions-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-subregions-preseveAspectRatio-none-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-subregions-preseveAspectRatio-none-with-viewBox-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-add-to-document-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-attribute-change-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-attribute-change-with-use-indirection-2-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-attribute-change-with-use-indirection-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-changes-id-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-id-change-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-inline-style-change-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-property-change-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-reappend-to-document-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-remove-from-document-expected.png:
        * platform/mac-snowleopard/svg/filters/feImage-target-style-change-expected.png:
        * platform/mac-snowleopard/svg/filters/feLighting-crash-expected.png:
        * platform/mac-snowleopard/svg/filters/feMerge-expected.png:
        * platform/mac-snowleopard/svg/filters/feOffset-expected.png:
        * platform/mac-snowleopard/svg/filters/feTile-expected.png:
        * platform/mac-snowleopard/svg/filters/filter-clip-expected.png:
        * platform/mac-snowleopard/svg/filters/filter-on-tspan-expected.png:
        * platform/mac-snowleopard/svg/filters/filter-placement-issue-expected.png:
        * platform/mac-snowleopard/svg/filters/filter-refresh-expected.png:
        * platform/mac-snowleopard/svg/filters/filter-rounding-issues-expected.png:
        * platform/mac-snowleopard/svg/filters/filter-source-position-expected.png:
        * platform/mac-snowleopard/svg/filters/filter-width-update-expected.png:
        * platform/mac-snowleopard/svg/filters/filterRes-expected.png:
        * platform/mac-snowleopard/svg/filters/filterRes1-expected.png:
        * platform/mac-snowleopard/svg/filters/filterRes2-expected.png:
        * platform/mac-snowleopard/svg/filters/filterRes3-expected.png:
        * platform/mac-snowleopard/svg/filters/filteredImage-expected.png:
        * platform/mac-snowleopard/svg/filters/parent-children-with-same-filter-expected.png:
        * platform/mac-snowleopard/svg/filters/shadow-on-filter-expected.png:
        * platform/mac-snowleopard/svg/filters/shadow-on-rect-with-filter-expected.png:
        * platform/mac-snowleopard/svg/filters/subRegion-in-userSpace-expected.png:
        * platform/mac-snowleopard/svg/filters/subRegion-one-effect-expected.png:
        * platform/mac-snowleopard/svg/filters/subRegion-two-effects-expected.png:
        * platform/mac-snowleopard/svg/foreignObject/filter-expected.png:
        * platform/mac-snowleopard/svg/repaint/filter-child-repaint-expected.png:
        * platform/mac-snowleopard/svg/repaint/filter-repaint-expected.png:
        * platform/mac-snowleopard/svg/repaint/image-href-change-expected.png:
        * platform/mac-snowleopard/svg/transforms/animated-path-inside-transformed-html-expected.png:
        * platform/mac-snowleopard/svg/webarchive/svg-feimage-subresources-expected.png:
        * platform/mac-snowleopard/svg/wicd/test-rightsizing-b-expected.png:
        * platform/mac-snowleopard/svg/zoom/page/zoom-background-images-expected.png:
        * platform/mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png:
        * platform/mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png:
        * platform/mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png:

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

9 years ago2012-03-10 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 10 Mar 2012 15:34:03 +0000 (15:34 +0000)]
2012-03-10  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Next chunk of SL rebaselines with Generic RGB profile for svg/.

        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-amplitude-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-exponent-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-intercept-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-offset-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-slope-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-tableValues-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-type-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-amplitude-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-exponent-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-intercept-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-offset-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-slope-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-tableValues-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-type-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-in2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-k1-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-k2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-k3-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-k4-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-operator-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-in2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-k1-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-k2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-k3-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-k4-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-operator-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-diffuseConstant-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-lighting-color-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-surfaceScale-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-lighting-color-css-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-diffuseConstant-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-surfaceScale-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-scale-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-xChannelSelector-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-yChannelSelector-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-scale-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-xChannelSelector-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-yChannelSelector-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDistantLightElement-dom-azimuth-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDistantLightElement-dom-elevation-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDistantLightElement-svgdom-azimuth-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDistantLightElement-svgdom-elevation-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-dx-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-dy-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-color-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-opacity-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-stdDeviation-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dx-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dy-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-color-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-opacity-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-stdDeviation-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEFloodElement-dom-flood-color-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEFloodElement-dom-flood-opacity-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-color-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-opacity-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-dom-dx-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-dom-dy-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-svgdom-dx-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-svgdom-dy-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETileElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETileElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-baseFrequency-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-numOctaves-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-seed-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-type-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-baseFrequency-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-numOctaves-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-seed-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-type-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-filterUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-height-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-primitiveUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-width-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-filterUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-height-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-primitiveUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-width-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-dom-height-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-dom-result-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-dom-width-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-svgdom-height-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-svgdom-result-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-svgdom-width-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-height-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-width-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-height-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-width-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-y-prop-expected.png:

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

9 years ago2012-03-10 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 10 Mar 2012 14:52:12 +0000 (14:52 +0000)]
2012-03-10  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. First chunk of SL rebaselines with Generic RGB profile for svg/.

        * platform/mac-snowleopard/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-blend-01-b-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-conv-01-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-displace-01-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-image-01-b-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-light-01-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-light-04-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-offset-01-b-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-specular-01-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-tile-01-b-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/render-groups-01-b-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/render-groups-03-t-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-image-04-t-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-image-06-t-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-image-07-t-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-image-08-t-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-use-01-t-expected.png:
        * platform/mac-snowleopard/svg/as-border-image/svg-as-border-image-2-expected.png:
        * platform/mac-snowleopard/svg/as-border-image/svg-as-border-image-expected.png:
        * platform/mac-snowleopard/svg/batik/filters/feTile-expected.png:
        * platform/mac-snowleopard/svg/batik/filters/filterRegions-expected.png:
        * platform/mac-snowleopard/svg/batik/text/textEffect-expected.png:
        * platform/mac-snowleopard/svg/batik/text/textEffect3-expected.png:
        * platform/mac-snowleopard/svg/carto.net/selectionlist-expected.png:
        * platform/mac-snowleopard/svg/css/path-gradient-stroke-shadow-expected.png:
        * platform/mac-snowleopard/svg/css/rect-gradient-stroke-shadow-expected.png:
        * platform/mac-snowleopard/svg/custom/convolution-crash-expected.png:
        * platform/mac-snowleopard/svg/custom/createImageElement-expected.png:
        * platform/mac-snowleopard/svg/custom/createImageElement2-expected.png:
        * platform/mac-snowleopard/svg/custom/empty-merge-expected.png:
        * platform/mac-snowleopard/svg/custom/feComponentTransfer-Discrete-expected.png:
        * platform/mac-snowleopard/svg/custom/feComponentTransfer-Gamma-expected.png:
        * platform/mac-snowleopard/svg/custom/feComponentTransfer-Linear-expected.png:
        * platform/mac-snowleopard/svg/custom/feComponentTransfer-Table-expected.png:
        * platform/mac-snowleopard/svg/custom/feDisplacementMap-01-expected.png:
        * platform/mac-snowleopard/svg/custom/focus-ring-expected.png:
        * platform/mac-snowleopard/svg/custom/grayscale-gradient-mask-2-expected.png:
        * platform/mac-snowleopard/svg/custom/group-opacity-expected.png:
        * platform/mac-snowleopard/svg/custom/image-parent-translation-expected.png:
        * platform/mac-snowleopard/svg/custom/image-small-width-height-expected.png:
        * platform/mac-snowleopard/svg/custom/image-with-prefix-in-webarchive-expected.png:
        * platform/mac-snowleopard/svg/custom/image-with-transform-clip-filter-expected.png:
        * platform/mac-snowleopard/svg/custom/inline-svg-in-xhtml-expected.png:
        * platform/mac-snowleopard/svg/custom/js-update-image-and-display-expected.png:
        * platform/mac-snowleopard/svg/custom/js-update-image-and-display2-expected.png:
        * platform/mac-snowleopard/svg/custom/js-update-image-and-display3-expected.png:
        * platform/mac-snowleopard/svg/custom/js-update-image-expected.png:
        * platform/mac-snowleopard/svg/custom/non-opaque-filters-expected.png:
        * platform/mac-snowleopard/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png:
        * platform/mac-snowleopard/svg/custom/pointer-events-image-css-transform-expected.png:
        * platform/mac-snowleopard/svg/custom/pointer-events-image-expected.png:
        * platform/mac-snowleopard/svg/custom/recursive-filter-expected.png:
        * platform/mac-snowleopard/svg/custom/relative-sized-image-expected.png:
        * platform/mac-snowleopard/svg/custom/resource-invalidate-on-target-update-expected.png:
        * platform/mac-snowleopard/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
        * platform/mac-snowleopard/svg/custom/text-filter-expected.png:
        * platform/mac-snowleopard/svg/custom/text-image-opacity-expected.png:
        * platform/mac-snowleopard/svg/custom/use-disappears-after-style-update-expected.png:
        * platform/mac-snowleopard/svg/custom/use-on-g-containing-foreignObject-and-image-expected.png:
        * platform/mac-snowleopard/svg/custom/visibility-override-filter-expected.png:

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

9 years agoShadowTree uses weak iteration patterns
morrita@google.com [Sat, 10 Mar 2012 14:28:14 +0000 (14:28 +0000)]
ShadowTree uses weak iteration patterns
https://bugs.webkit.org/show_bug.cgi?id=80572

Reviewed by Dimitri Glazkov.

This patch moves various ShadowTree to using a better iteration pattern
in which we collect all the ShadowRoots we're planning to iterate into
a vector and then iterate over them.

* dom/ShadowTree.cpp:
(ShadowRootVector):
(WebCore::ShadowRootVector::ShadowRootVector):
(WebCore):
(WebCore::ShadowTree::removeAllShadowRoots):
(WebCore::ShadowTree::insertedIntoDocument):
(WebCore::ShadowTree::removedFromDocument):
(WebCore::ShadowTree::insertedIntoTree):
(WebCore::ShadowTree::removedFromTree):
(WebCore::ShadowTree::willRemove):

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

9 years agoUnreviewed, rolling out r110363.
commit-queue@webkit.org [Sat, 10 Mar 2012 13:26:01 +0000 (13:26 +0000)]
Unreviewed, rolling out r110363.
http://trac.webkit.org/changeset/110363
https://bugs.webkit.org/show_bug.cgi?id=80757

link error in chromium: unresolved external symbol
webkit_support::CreateScopedTempDirectory(void) (Requested by
ukai_home on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-03-10

Source/WebCore:

* Modules/indexeddb/IDBLevelDBBackingStore.cpp:
(WebCore::IDBLevelDBBackingStore::open):
* platform/leveldb/LevelDBDatabase.cpp:
* platform/leveldb/LevelDBDatabase.h:
(LevelDBDatabase):

Source/WebKit/chromium:

* WebKit.gypi:
* tests/LevelDBTest.cpp: Removed.

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

9 years agoUnreviewed, rolling out r110353.
commit-queue@webkit.org [Sat, 10 Mar 2012 10:27:37 +0000 (10:27 +0000)]
Unreviewed, rolling out r110353.
http://trac.webkit.org/changeset/110353
https://bugs.webkit.org/show_bug.cgi?id=80752

copmile failed on Chromium (Requested by ukai_home on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-03-10

* tests/CCOcclusionTrackerTest.cpp:
(WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
(WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
(WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
(LayerChromiumWithForcedDrawsContent):
(WebCore::setLayerPropertiesForTesting):
(WebCore):
(WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
(WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
(WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
(WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
(WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
(WebCore::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
(WebCore::TestDamageClient::damageRect):
(WebCore::layerAddedToOccludedRegion):
(WebCore::layerAddedToOccludedRegionWithRotation):
(WebCore::layerAddedToOccludedRegionWithTranslation):
(WebCore::layerAddedToOccludedRegionWithRotatedSurface):
(WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
(WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
(WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
(WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
(WebCore::surfaceOcclusionInScreenSpace):
(WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
(WebCore::occlusionInteractionWithFilters):
(WebCore::layerScissorRectOverTile):
(WebCore::screenScissorRectOverTile):
(WebCore::layerScissorRectOverCulledTile):
(WebCore::screenScissorRectOverCulledTile):
(WebCore::layerScissorRectOverPartialTiles):
(WebCore::screenScissorRectOverPartialTiles):
(WebCore::layerScissorRectOverNoTiles):
(WebCore::screenScissorRectOverNoTiles):
(WebCore::layerScissorRectForLayerOffOrigin):
(WebCore::damageRectOverTile):
(WebCore::damageRectOverCulledTile):
(WebCore::damageRectOverPartialTiles):
(WebCore::damageRectOverNoTiles):
(WebCore::TEST):

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

9 years agoSource/WebCore: Handle more Gesture* events by performing scrolls on the correct...
commit-queue@webkit.org [Sat, 10 Mar 2012 05:45:25 +0000 (05:45 +0000)]
Source/WebCore: Handle more Gesture* events by performing scrolls on the correct target ScrollableArea
https://bugs.webkit.org/show_bug.cgi?id=80311

Implement GestureScroll* events via re-use of WheelEvent dispatch.

Patch by Robert Kroeger <rjkroege@chromium.org> on 2012-03-09
Reviewed by James Robinson.

Layout tests previously submited as https://bugs.webkit.org/show_bug.cgi?id=80201 and unit
test added as part of this patch.

* page/EventHandler.cpp:
(WebCore::wheelGranularityToScrollGranularity): Refactoring.
(WebCore):
(WebCore::scrollNode):
(WebCore::EventHandler::EventHandler):
(WebCore::EventHandler::clear):
(WebCore::EventHandler::handleWheelEvent):
(WebCore::EventHandler::defaultWheelEventHandler):
(WebCore::EventHandler::handleGestureEvent): Added GestureScrollBegin & End.
(WebCore::EventHandler::handleGestureTap):
(WebCore::EventHandler::handleGestureScrollUpdate):
(WebCore::EventHandler::handleGestureScrollCore): Refactoring.
* page/EventHandler.h:
(EventHandler):
* platform/PlatformWheelEvent.h: Added additional scroll type.
* platform/ScrollAnimator.cpp:
(WebCore::ScrollAnimator::handleWheelEvent): Forward additional scroll type.
* platform/ScrollAnimator.h:
(WebCore):
* platform/ScrollAnimatorNone.cpp:
(WebCore::ScrollAnimatorNone::ScrollAnimatorNone): Handle additional scroll type.
(WebCore::ScrollAnimatorNone::fireUpAnAnimation):
(WebCore):
(WebCore::ScrollAnimatorNone::scroll):
* platform/ScrollAnimatorNone.h:
(ScrollAnimatorNone):
* platform/ScrollTypes.h: Added an additional scroll type.
* platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::scroll):

Source/WebKit/chromium: Handle more Gesture* events by performing scrolls on the correct target ScrollableArea
https://bugs.webkit.org/show_bug.cgi?id=80311

Added a unit test for the changes to ScrollAnimatorNone to make sure that the two-call
transport of fling parameters is correctly delivered.

Patch by Robert Kroeger <rjkroege@chromium.org> on 2012-03-09
Reviewed by James Robinson.

* tests/ScrollAnimatorNoneTest.cpp:
(MockScrollAnimatorNone):
(MockScrollAnimatorNone::reset):
(MockScrollAnimatorNone::fireUpAnAnimation):
(TEST):

LayoutTests: Handle more Gesture* events by performing scrolls on the correct target ScrollableArea
https://bugs.webkit.org/show_bug.cgi?id=80311

Rebaselined to reflect corrected behaviour of gesture events targeting a div removed
from the DOM during dispatch.

Patch by Robert Kroeger <rjkroege@chromium.org> on 2012-03-09
Reviewed by James Robinson.

* fast/events/touch/gesture/touch-gesture-scroll-shy-target.html:
* platform/chromium/fast/events/touch/gesture/touch-gesture-scroll-shy-target-expected.txt:

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

9 years ago[V8] Fix a fixme in v8 bindings
arv@chromium.org [Sat, 10 Mar 2012 05:04:55 +0000 (05:04 +0000)]
[V8] Fix a fixme in v8 bindings
https://bugs.webkit.org/show_bug.cgi?id=80734

Reviewed by Kentaro Hara.

No new tests. Covered by existing tests.

* bindings/v8/V8Binding.cpp:
(WebCore::toInt32):
(WebCore::toUInt32):

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

9 years ago[Qt] [WK2] Shouldn't use item for clipping rect calculation in paint node.
ostapenko.viatcheslav@nokia.com [Sat, 10 Mar 2012 04:50:20 +0000 (04:50 +0000)]
[Qt] [WK2] Shouldn't use item for clipping rect calculation in paint node.
https://bugs.webkit.org/show_bug.cgi?id=80714

Reviewed by Noam Rosenthal.

Replace item based clip-rect calculation with clipping-nodes based calculation.
This is required for threaded rendering, since we don't have access to the QSGItems
from the render thread.

* UIProcess/API/qt/qquickwebpage.cpp:
(QQuickWebPage::QQuickWebPage):
(QQuickWebPagePrivate::paintToCurrentGLContext):
(PageProxyNode::render):
(PageProxyNode::clipRect):
(PageProxyNode):
* UIProcess/API/qt/qquickwebpage_p_p.h:
(QQuickWebPagePrivate):
* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebView::QQuickWebView):

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

9 years ago[Qt] WebCore/Target.pri contains obsolete FileStreamProxy.h reference.
commit-queue@webkit.org [Sat, 10 Mar 2012 04:35:51 +0000 (04:35 +0000)]
[Qt] WebCore/Target.pri contains obsolete FileStreamProxy.h reference.
https://bugs.webkit.org/show_bug.cgi?id=80730

Patch by Lauro Neto <lauro.neto@openbossa.org> on 2012-03-09
Reviewed by Tor Arne Vestbø.

Build fix. Target.pri was still including old FileStreamProxy.h.

* Target.pri:

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

9 years agoPan scroll icon is painted at incorrect coordinates in frames
commit-queue@webkit.org [Sat, 10 Mar 2012 03:53:50 +0000 (03:53 +0000)]
Pan scroll icon is painted at incorrect coordinates in frames
https://bugs.webkit.org/show_bug.cgi?id=79378

Convert client coordinates to parent ScrollView coordinates

Patch by Cem Kocagil <cem.kocagil@gmail.com> on 2012-03-05
Reviewed by Antonio Gomes

* platform/ScrollView.cpp:
(WebCore::ScrollView::paintPanScrollIcon):

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

9 years agoChromium-Lion rebaselines. Getting close to done. :(
ojan@chromium.org [Sat, 10 Mar 2012 03:19:28 +0000 (03:19 +0000)]
Chromium-Lion rebaselines. Getting close to done. :(

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

9 years ago[chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphi...
jamesr@google.com [Sat, 10 Mar 2012 03:11:24 +0000 (03:11 +0000)]
[chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphicsContext3D()
https://bugs.webkit.org/show_bug.cgi?id=80523

Reviewed by Darin Fisher.

Source/WebKit/chromium:

* public/WebViewClient.h:
(WebViewClient):
(WebKit::WebViewClient::createGraphicsContext3D):
* public/platform/WebKitPlatformSupport.h:
(WebKit):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::createCompositorGraphicsContext3D):

Tools:

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createGraphicsContext3D):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):

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

9 years agoIndexedDB: Handle LevelDB database corruption
jsbell@chromium.org [Sat, 10 Mar 2012 03:10:08 +0000 (03:10 +0000)]
IndexedDB: Handle LevelDB database corruption
https://bugs.webkit.org/show_bug.cgi?id=79413

Source/WebCore:

Add LevelDBDatabase::destroy() method so that clients can retry if open() fails.

Reviewed by Tony Chang.

Test: webkit_unit_tests --gtest_filter='LevelDBDatabaseTest.CorruptionTest'

* Modules/indexeddb/IDBLevelDBBackingStore.cpp: Implement open/destroy/open strategy.
(WebCore::IDBLevelDBBackingStore::open):
* platform/leveldb/LevelDBDatabase.cpp:
(WebCore::LevelDBDatabase::destroy):
(WebCore):
* platform/leveldb/LevelDBDatabase.h:
(LevelDBDatabase):

Source/WebKit/chromium:

Reviewed by Tony Chang.

* WebKit.gypi:
* tests/LevelDBTest.cpp: Added.
(WebCore):
(SimpleComparator):
(WebCore::SimpleComparator::compare):
(WebCore::SimpleComparator::name):
(WebCore::encodeString):
(WebCore::TEST):

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

9 years agoFix one of the Windows build warnings.
jberlin@webkit.org [Sat, 10 Mar 2012 02:58:40 +0000 (02:58 +0000)]
Fix one of the Windows build warnings.

* html/track/TextTrackCueList.idl:
Add a newline to the end of the file.

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

9 years agoBlackBerry PlayBook doesn't sniff mime types
commit-queue@webkit.org [Sat, 10 Mar 2012 02:55:55 +0000 (02:55 +0000)]
BlackBerry PlayBook doesn't sniff mime types
https://bugs.webkit.org/show_bug.cgi?id=73869

Patch by Tyler Abbott <tabbott@rim.com> on 2012-03-09
Reviewed by Rob Buis.

Hook up MIMESniffing for BlackBerry. Override Content-Types will
not be overriden. File extensions will be trusted when content
is loaded from disk.

No tests, BlackBerry tests are not yet present in webkit.org codebase.

* PlatformBlackBerry.cmake:
* platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::NetworkJob):
(WebCore::NetworkJob::initialize):
(WebCore::NetworkJob::handleNotifyDataReceived):
(WebCore::NetworkJob::sendResponseIfNeeded):
* platform/network/blackberry/NetworkJob.h:
(NetworkJob):

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

9 years agoMove WebNSURLExtras code down to WebCore.
enrica@apple.com [Sat, 10 Mar 2012 02:53:43 +0000 (02:53 +0000)]
Move WebNSURLExtras code down to WebCore.
https://bugs.webkit.org/show_bug.cgi?id=80611

Reviewed by Alexey Proskuryakov.

Source/WebCore:

* WebCore.exp.in: Added new exported functions.
* WebCore.xcodeproj/project.pbxproj: Added WebCoreNSURLExtras.*
* platform/FileSystem.h: Added setMetadataURL.
* platform/mac/FileSystemMac.mm:
(WebCore::setMetaData): Added.
(WebCore::setMetadataURL): Added.
* platform/mac/WebCoreNSStringExtras.h:
* platform/mac/WebCoreNSStringExtras.mm:
(hasCaseInsensitivePrefix): Added.
* platform/mac/WebCoreNSURLExtras.h: Added.
* platform/mac/WebCoreNSURLExtras.mm: Added.
* platform/mac/WebCoreObjCExtras.h:
* platform/mac/WebCoreSystemInterface.h:
* platform/mac/WebCoreSystemInterface.mm:

Source/WebKit/mac:

Changed the implementation to use newly moved WebCore functions.

* Misc/WebKitNSStringExtras.mm:
(-[NSString _webkit_hasCaseInsensitivePrefix:]):
* Misc/WebNSURLExtras.mm:
(+[NSURL _web_URLWithUserTypedString:]):
(+[NSURL _web_URLWithDataAsString:relativeToURL:]):
(+[NSURL _web_URLWithData:]):
(+[NSURL _web_URLWithData:relativeToURL:]):
(-[NSURL _web_originalData]):
(-[NSURL _web_originalDataAsString]):
(-[NSURL _web_userVisibleString]):
(-[NSURL _web_isEmpty]):
(-[NSURL _web_URLCString]):
(-[NSURL _web_URLByTruncatingOneCharacterBeforeComponent:]):
(-[NSURL _webkit_URLByRemovingFragment]):
(-[NSURL _webkit_URLByRemovingResourceSpecifier]):
(-[NSURL _web_URLByRemovingUserInfo]):
(-[NSURL _web_dataForURLComponentType:]):
(-[NSURL _web_schemeData]):
(-[NSURL _web_hostData]):
(-[NSString _web_isUserVisibleURL]):
(-[NSString _web_hostNameNeedsDecodingWithRange:]):
(-[NSString _web_hostNameNeedsEncodingWithRange:]):
(-[NSString _web_decodeHostNameWithRange:]):
(-[NSString _web_encodeHostNameWithRange:]):
(-[NSString _web_decodeHostName]):
(-[NSString _web_encodeHostName]):
* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

Source/WebKit2:

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

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

9 years ago[chromium] Increase size of Combo Box Options for touch and high DPI devices
commit-queue@webkit.org [Sat, 10 Mar 2012 02:40:26 +0000 (02:40 +0000)]
[chromium] Increase size of Combo Box Options for touch and high DPI devices
https://bugs.webkit.org/show_bug.cgi?id=80027

Patch by Tim Dresser <tdresser@chromium.org> on 2012-03-09
Reviewed by Darin Fisher.

Source/WebCore:

Scale Combo box popups by defaultDeviceScaleFactor, and add padding to
<option> elements when touch is enabled.

Manually tested with --default-device-scale-factor=1,2 and unset.
Each of these were tested with RuntimeEnabledFeatures::touchEnabled
set to true and false.

* platform/chromium/PopupListBox.cpp:
(WebCore::PopupListBox::paint):
(WebCore::PopupListBox::paintRow):
(WebCore::PopupListBox::getRowHeight):
* platform/chromium/PopupListBox.h:
(PopupContainerSettings):
* platform/chromium/PopupMenuChromium.cpp:
(WebCore):
(WebCore::PopupMenuChromium::show):
* platform/chromium/PopupMenuChromium.h:
(WebCore::PopupMenuChromium::optionPaddingForTouch):
(WebCore::PopupMenuChromium::setOptionPaddingForTouch):
(PopupMenuChromium):
* rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::showPopup):

Source/WebKit/chromium:

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::gestureEvent):
(WebKit::WebViewImpl::applyAutofillSuggestions):

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

9 years agoImprove ContainerNode collectNode() performance by reserving vector
senorblanco@chromium.org [Sat, 10 Mar 2012 02:22:48 +0000 (02:22 +0000)]
Improve ContainerNode collectNode() performance by reserving vector
capacity up front.
https://bugs.webkit.org/show_bug.cgi?id=80706

Reviewed by Ryosuke Niwa.

Covered by existing tests.  Performance will be evaluated based on
Chromium's page_cycler_bloat-http, page_cycler_intl1, and
dromaeo_domcore suites.

* dom/ContainerNode.cpp:
(WebCore::collectNodes):

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

9 years ago[chromium] Roll chromium DEPS to r125600
commit-queue@webkit.org [Sat, 10 Mar 2012 02:11:43 +0000 (02:11 +0000)]
[chromium] Roll chromium DEPS to r125600
https://bugs.webkit.org/show_bug.cgi?id=80722

Unreviewed

Patch by James Robinson <jamesr@chromium.org> on 2012-03-09

* DEPS:

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

9 years ago<rdar://problem/11018851> Crash in DisplayRefreshMonitor::notifyClients()
mitz@apple.com [Sat, 10 Mar 2012 02:09:15 +0000 (02:09 +0000)]
<rdar://problem/11018851> Crash in DisplayRefreshMonitor::notifyClients()
https://bugs.webkit.org/show_bug.cgi?id=80740

Reviewed by Sam Weinig.

No test, since this race condition cannot be reproduced reliably.

* platform/graphics/mac/DisplayRefreshMonitorMac.cpp:
(WebCore::DisplayRefreshMonitor::~DisplayRefreshMonitor): Changed to stop the display link
first, then cancel any outstanding calls to refreshDisplayOnMainThread(). When doing things
the other way around, the display link can fire after outstanding calls have been canceled,
and enqueue new calls on the main thread, which will be dispatched after monitor destruction.

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

9 years agoAdd WKPageEndPrinting() to balance WKPageBeginPrinting()
jeffm@apple.com [Sat, 10 Mar 2012 02:04:07 +0000 (02:04 +0000)]
Add WKPageEndPrinting() to balance WKPageBeginPrinting()
https://bugs.webkit.org/show_bug.cgi?id=80739

Reviewed by Dan Bernstein.

* UIProcess/API/C/WKPage.cpp:
(WKPageEndPrinting): Added.

* UIProcess/API/C/WKPagePrivate.h: Added WKPageEndPrinting().

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

9 years agoUpdate baseline after http://trac.webkit.org/changeset/110352 to show
abarth@webkit.org [Sat, 10 Mar 2012 02:02:22 +0000 (02:02 +0000)]
Update baseline after trac.webkit.org/changeset/110352 to show
the new passing subtest.

* platform/chromium/fast/js/array-prototype-properties-expected.txt:

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

9 years ago[chromium] Clean up culling tests and templatize to test impl constructs
commit-queue@webkit.org [Sat, 10 Mar 2012 01:24:07 +0000 (01:24 +0000)]
[chromium] Clean up culling tests and templatize to test impl constructs
https://bugs.webkit.org/show_bug.cgi?id=80613

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-09
Reviewed by Adrienne Walker.

* tests/CCOcclusionTrackerTest.cpp:
(WebCore::TestContentLayerChromium::TestContentLayerChromium):
(WebCore::TestContentLayerChromium::opaqueContentsRegion):
(WebCore::TestContentLayerChromium::setOpaqueContentsRect):
(TestContentLayerChromium):
(TestContentLayerImpl):
(WebCore::TestContentLayerImpl::TestContentLayerImpl):
(WebCore::TestContentLayerImpl::opaqueContentsRegion):
(WebCore::TestContentLayerImpl::setOpaqueContentsRect):
(WebCore):
(WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
(WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
(WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
(WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
(WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
(WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
(WebCore::TestDamageClient::damageRect):
(CCOcclusionTrackerTestMainThreadTypes):
(WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
(WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
(CCOcclusionTrackerTestImplThreadTypes):
(WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
(WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
(CCOcclusionTrackerTest):
(WebCore::CCOcclusionTrackerTest::TearDown):
(WebCore::CCOcclusionTrackerTest::createRoot):
(WebCore::CCOcclusionTrackerTest::createLayer):
(WebCore::CCOcclusionTrackerTest::createSurface):
(WebCore::CCOcclusionTrackerTest::createDrawingLayer):
(WebCore::CCOcclusionTrackerTest::createDrawingSurface):
(WebCore::CCOcclusionTrackerTest::calcDrawEtc):
(WebCore::CCOcclusionTrackerTest::setBaseProperties):
(WebCore::CCOcclusionTrackerTest::setProperties):
(CCOcclusionTrackerTestIdentityTransforms):
(WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
(CCOcclusionTrackerTestRotatedChild):
(WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
(CCOcclusionTrackerTestTranslatedChild):
(WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
(CCOcclusionTrackerTestChildInRotatedChild):
(WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
(CCOcclusionTrackerTestVisitTargetTwoTimes):
(WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
(CCOcclusionTrackerTestSurfaceRotatedOffAxis):
(WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
(CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
(WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
(CCOcclusionTrackerTestOverlappingSurfaceSiblings):
(WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
(CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
(WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
(CCOcclusionTrackerTestFilters):
(WebCore::CCOcclusionTrackerTestFilters::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectOutsideChild):
(WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectOutsideChild):
(WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
(CCOcclusionTrackerTestDamageRectOutsideChild):
(WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectOverChild):
(WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectOverChild):
(WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
(CCOcclusionTrackerTestDamageRectOverChild):
(WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
(WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
(WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
(CCOcclusionTrackerTestDamageRectPartlyOverChild):
(WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectOverNothing):
(WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
(CCOcclusionTrackerTestScreenScissorRectOverNothing):
(WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
(CCOcclusionTrackerTestDamageRectOverNothing):
(WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
(CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
(WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
(CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
(WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
(CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
(WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):

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