WebKit-https.git
10 years agoprepare-ChangeLog: Look for a text editor in a few more variables.
kubo@profusion.mobi [Fri, 13 Jan 2012 19:05:57 +0000 (19:05 +0000)]
prepare-ChangeLog: Look for a text editor in a few more variables.
https://bugs.webkit.org/show_bug.cgi?id=76289

Reviewed by Ryosuke Niwa.

A text editor was looked for only in the CHANGE_LOG_EDITOR and
CHANGE_LOG_EDIT_APPLICATION environment variables before falling back
to the OS X-specific open(1) command.

As there does not seem to be a common way of looking for a text editor
among the scripts in Tools/Scripts right now, just look at $VISUAL and
$EDITOR (set much more often than the other variables in Unix systems)
before falling back to open(1).

* Scripts/prepare-ChangeLog:
(openChangeLogs):

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

10 years agoAdd WebGLContextGroup as step toward sharing WebGL resources
commit-queue@webkit.org [Fri, 13 Jan 2012 19:02:16 +0000 (19:02 +0000)]
Add WebGLContextGroup as step toward sharing WebGL resources
https://bugs.webkit.org/show_bug.cgi?id=75906

The WebGL Working Group will soon add the ability to share
WebGL resources among WebGL contexts. This is the necessary
prep work. NO API changes.

Added WebGLSharedObject for objects that are shared vs
WebGLContextObject for objects that are not.

Patch by Gregg Tavares <gman@google.com> on 2012-01-13
Reviewed by Kenneth Russell.

No new tests. No change in behavior.

* GNUmakefile.list.am:
* WebCore.gypi:
* html/canvas/OESVertexArrayObject.cpp:
(WebCore::OESVertexArrayObject::createVertexArrayOES):
(WebCore::OESVertexArrayObject::deleteVertexArrayOES):
(WebCore::OESVertexArrayObject::isVertexArrayOES):
(WebCore::OESVertexArrayObject::bindVertexArrayOES):
* html/canvas/WebGLBuffer.cpp:
(WebCore::WebGLBuffer::WebGLBuffer):
(WebCore::WebGLBuffer::~WebGLBuffer):
(WebCore::WebGLBuffer::deleteObjectImpl):
* html/canvas/WebGLBuffer.h:
* html/canvas/WebGLContextGroup.cpp: Added.
(WebCore::WebGLContextGroup::create):
(WebCore::WebGLContextGroup::WebGLContextGroup):
(WebCore::WebGLContextGroup::~WebGLContextGroup):
(WebCore::WebGLContextGroup::getAGraphicsContext3D):
(WebCore::WebGLContextGroup::addContext):
(WebCore::WebGLContextGroup::removeContext):
(WebCore::WebGLContextGroup::removeObject):
(WebCore::WebGLContextGroup::addObject):
(WebCore::WebGLContextGroup::detachAndRemoveAllObjects):
(WebCore::WebGLContextGroup::loseContextGroup):
* html/canvas/WebGLContextGroup.h: Copied from Source/WebCore/html/canvas/WebGLShader.h.
* html/canvas/WebGLContextObject.cpp: Copied from Source/WebCore/html/canvas/WebGLShader.cpp.
(WebCore::WebGLContextObject::WebGLContextObject):
(WebCore::WebGLContextObject::~WebGLContextObject):
(WebCore::WebGLContextObject::detachContext):
(WebCore::WebGLContextObject::getAGraphicsContext3D):
* html/canvas/WebGLContextObject.h: Copied from Source/WebCore/html/canvas/WebGLShader.h.
(WebCore::WebGLContextObject::context):
(WebCore::WebGLContextObject::validate):
(WebCore::WebGLContextObject::hasGroupOrContext):
* html/canvas/WebGLFramebuffer.cpp:
(WebCore::WebGLFramebuffer::WebGLFramebuffer):
(WebCore::WebGLFramebuffer::~WebGLFramebuffer):
(WebCore::WebGLFramebuffer::setAttachmentForBoundFramebuffer):
(WebCore::WebGLFramebuffer::getAttachment):
(WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
(WebCore::WebGLFramebuffer::checkStatus):
(WebCore::WebGLFramebuffer::onAccess):
(WebCore::WebGLFramebuffer::deleteObjectImpl):
(WebCore::WebGLFramebuffer::initializeRenderbuffers):
* html/canvas/WebGLFramebuffer.h:
* html/canvas/WebGLObject.cpp:
(WebCore::WebGLObject::WebGLObject):
(WebCore::WebGLObject::~WebGLObject):
(WebCore::WebGLObject::deleteObject):
(WebCore::WebGLObject::detach):
(WebCore::WebGLObject::onDetached):
* html/canvas/WebGLObject.h:
* html/canvas/WebGLProgram.cpp:
(WebCore::WebGLProgram::WebGLProgram):
(WebCore::WebGLProgram::~WebGLProgram):
(WebCore::WebGLProgram::deleteObjectImpl):
(WebCore::WebGLProgram::cacheActiveAttribLocations):
* html/canvas/WebGLProgram.h:
* html/canvas/WebGLRenderbuffer.cpp:
(WebCore::WebGLRenderbuffer::~WebGLRenderbuffer):
(WebCore::WebGLRenderbuffer::WebGLRenderbuffer):
(WebCore::WebGLRenderbuffer::deleteObjectImpl):
* html/canvas/WebGLRenderbuffer.h:
* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::WebGLRenderingContext):
(WebCore::WebGLRenderingContext::initializeNewContext):
(WebCore::WebGLRenderingContext::~WebGLRenderingContext):
(WebCore::WebGLRenderingContext::clearIfComposited):
(WebCore::WebGLRenderingContext::checkObjectToBeBound):
(WebCore::WebGLRenderingContext::clear):
(WebCore::WebGLRenderingContext::copyTexImage2D):
(WebCore::WebGLRenderingContext::copyTexSubImage2D):
(WebCore::WebGLRenderingContext::createBuffer):
(WebCore::WebGLRenderingContext::createFramebuffer):
(WebCore::WebGLRenderingContext::createTexture):
(WebCore::WebGLRenderingContext::createProgram):
(WebCore::WebGLRenderingContext::createRenderbuffer):
(WebCore::WebGLRenderingContext::createShader):
(WebCore::WebGLRenderingContext::deleteObject):
(WebCore::WebGLRenderingContext::deleteRenderbuffer):
(WebCore::WebGLRenderingContext::deleteTexture):
(WebCore::WebGLRenderingContext::detachShader):
(WebCore::WebGLRenderingContext::validateElementArraySize):
(WebCore::WebGLRenderingContext::validateIndexArrayConservative):
(WebCore::WebGLRenderingContext::validateIndexArrayPrecise):
(WebCore::WebGLRenderingContext::validateWebGLObject):
(WebCore::WebGLRenderingContext::drawArrays):
(WebCore::WebGLRenderingContext::drawElements):
(WebCore::WebGLRenderingContext::framebufferRenderbuffer):
(WebCore::WebGLRenderingContext::framebufferTexture2D):
(WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter):
(WebCore::WebGLRenderingContext::linkProgram):
(WebCore::WebGLRenderingContext::readPixels):
(WebCore::WebGLRenderingContext::useProgram):
(WebCore::WebGLRenderingContext::removeSharedObject):
(WebCore::WebGLRenderingContext::addSharedObject):
(WebCore::WebGLRenderingContext::removeContextObject):
(WebCore::WebGLRenderingContext::addContextObject):
(WebCore::WebGLRenderingContext::detachAndRemoveAllObjects):
(WebCore::WebGLRenderingContext::initVertexAttrib0):
(WebCore::WebGLRenderingContext::loseContext):
(WebCore::WebGLRenderingContext::loseContextImpl):
* html/canvas/WebGLRenderingContext.h:
(WebCore::WebGLRenderingContext::contextGroup):
* html/canvas/WebGLShader.cpp:
(WebCore::WebGLShader::WebGLShader):
(WebCore::WebGLShader::~WebGLShader):
(WebCore::WebGLShader::deleteObjectImpl):
* html/canvas/WebGLShader.h:
* html/canvas/WebGLSharedObject.cpp: Copied from Source/WebCore/html/canvas/WebGLRenderbuffer.cpp.
(WebCore::WebGLSharedObject::WebGLSharedObject):
(WebCore::WebGLSharedObject::~WebGLSharedObject):
(WebCore::WebGLSharedObject::detachContextGroup):
(WebCore::WebGLSharedObject::getAGraphicsContext3D):
* html/canvas/WebGLSharedObject.h: Copied from Source/WebCore/html/canvas/WebGLShader.h.
(WebCore::WebGLSharedObject::contextGroup):
(WebCore::WebGLSharedObject::isBuffer):
(WebCore::WebGLSharedObject::isFramebuffer):
(WebCore::WebGLSharedObject::isProgram):
(WebCore::WebGLSharedObject::isRenderbuffer):
(WebCore::WebGLSharedObject::isShader):
(WebCore::WebGLSharedObject::isTexture):
(WebCore::WebGLSharedObject::validate):
(WebCore::WebGLSharedObject::hasGroupOrContext):
* html/canvas/WebGLTexture.cpp:
(WebCore::WebGLTexture::WebGLTexture):
(WebCore::WebGLTexture::~WebGLTexture):
(WebCore::WebGLTexture::deleteObjectImpl):
* html/canvas/WebGLTexture.h:
* html/canvas/WebGLVertexArrayObjectOES.cpp:
(WebCore::WebGLVertexArrayObjectOES::WebGLVertexArrayObjectOES):
(WebCore::WebGLVertexArrayObjectOES::~WebGLVertexArrayObjectOES):
(WebCore::WebGLVertexArrayObjectOES::deleteObjectImpl):
* html/canvas/WebGLVertexArrayObjectOES.h:

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

10 years ago[soup] Initialize m_soupFlags in all ResourceResponse constructors.
kubo@profusion.mobi [Fri, 13 Jan 2012 18:05:41 +0000 (18:05 +0000)]
[soup] Initialize m_soupFlags in all ResourceResponse constructors.

Rubber-stamped by Gustavo Noronha Silva.

m_soupFlags was being initialized in two of the three ResourceResponse
constructors, causing some trouble in
FrameLoaderClient::dispatchDidReceiveResponse (ports which use
ResourceRequest::setSoupMessageFlags with the response's unitialized
flags).

* platform/network/soup/ResourceResponse.h:
(WebCore::ResourceResponse::ResourceResponse):

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

10 years agoCFURLRef to KURL conversion shouldn't turn raw paths into file URLs
ap@apple.com [Fri, 13 Jan 2012 17:58:10 +0000 (17:58 +0000)]
CFURLRef to KURL conversion shouldn't turn raw paths into file URLs
https://bugs.webkit.org/show_bug.cgi?id=76251

Reviewed by Dan Bernstein.

* platform/cf/KURLCFNet.cpp: (WebCore::KURL::KURL): Removed the offending code.

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

10 years agoHWndDC is a better name than HwndDC.
levin@chromium.org [Fri, 13 Jan 2012 17:51:15 +0000 (17:51 +0000)]
HWndDC is a better name than HwndDC.
https://bugs.webkit.org/show_bug.cgi?id=76281

Reviewed by Darin Adler.

Source/JavaScriptCore:

* JavaScriptCore.gyp/JavaScriptCore.gyp:
* JavaScriptCore.gypi:
* wtf/win/HWndDCWin.h: Renamed from Source/JavaScriptCore/wtf/win/HwndDCWin.h.
(WTF::HWndDC::HWndDC):
(WTF::HWndDC::~HWndDC):
(WTF::HWndDC::operator HDC):

Source/WebKit/chromium:

* src/win/WebScreenInfoFactory.cpp:
(WebKit::WebScreenInfoFactory::screenInfo):

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

10 years agoWeb Inspector: Disconnecting the front-end does not disable profiling.
commit-queue@webkit.org [Fri, 13 Jan 2012 17:43:17 +0000 (17:43 +0000)]
Web Inspector: Disconnecting the front-end does not disable profiling.
https://bugs.webkit.org/show_bug.cgi?id=76213

Patch by Konrad Piascik <kpiascik@rim.com> on 2012-01-13
Reviewed by Pavel Feldman.

Not testable.

* inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::clearFrontend):

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

10 years ago[chromium] Mark a flaky test as flaky
jamesr@google.com [Fri, 13 Jan 2012 17:41:36 +0000 (17:41 +0000)]
[chromium] Mark a flaky test as flaky

* platform/chromium/test_expectations.txt:

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

10 years ago[Qt] Fix missing signal in qwebframe API test for Qt5
commit-queue@webkit.org [Fri, 13 Jan 2012 17:41:16 +0000 (17:41 +0000)]
[Qt] Fix missing signal in qwebframe API test for Qt5
https://bugs.webkit.org/show_bug.cgi?id=76195

Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-01-13
Reviewed by Noam Rosenthal.

In Qt5 QObject has a new signal with this signature: "objectNameChanged(QString)".

* tests/qwebframe/tst_qwebframe.cpp:
(tst_QWebFrame::enumerate_data):

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

10 years ago[GTK] gtkdoc.py ignoring LDFLAGS and CFLAGS environment variables
rgabor@webkit.org [Fri, 13 Jan 2012 17:04:29 +0000 (17:04 +0000)]
[GTK] gtkdoc.py ignoring LDFLAGS and CFLAGS environment variables
https://bugs.webkit.org/show_bug.cgi?id=76269

Reviewed by Martin Robinson.

* gtk/gtkdoc.py:
(GTKDoc._run_gtkdoc_scangobj):

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

10 years agoJSC/DOM bindings: Reduce HandleHeap churn in cacheWrapper().
kling@webkit.org [Fri, 13 Jan 2012 16:35:33 +0000 (16:35 +0000)]
JSC/DOM bindings: Reduce HandleHeap churn in cacheWrapper().
<http://webkit.org/b/76271>

Reviewed by Darin Adler.

Use JSC::Weak::swap() to move JSDOMWrappers into the DOMWrapperWorld's wrapper map.
This avoids invoking the JSC::Weak copy constructor and associated HandleHeap churn.

* bindings/js/JSDOMBinding.h:
(WebCore::cacheWrapper):

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

10 years agoWeb Inspector: [InspectorIndexedDB] Add InspectorIndexedDBAgent and IndexedDBModel...
vsevik@chromium.org [Fri, 13 Jan 2012 16:28:03 +0000 (16:28 +0000)]
Web Inspector: [InspectorIndexedDB] Add InspectorIndexedDBAgent and IndexedDBModel, pass database names to inspector.
https://bugs.webkit.org/show_bug.cgi?id=76264

Reviewed by Pavel Feldman.

* CMakeLists.txt:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/CodeGeneratorInspector.py:
* inspector/Inspector.json:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorIndexedDBAgent.cpp: Added.
(WebCore::InspectorIndexedDBAgent::FrontendProvider::create):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::~FrontendProvider):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::frontend):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::clearFrontend):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::FrontendProvider):
(WebCore::InspectorIndexedDBAgent::InspectorIndexedDBAgent):
(WebCore::InspectorIndexedDBAgent::~InspectorIndexedDBAgent):
(WebCore::InspectorIndexedDBAgent::setFrontend):
(WebCore::InspectorIndexedDBAgent::clearFrontend):
(WebCore::InspectorIndexedDBAgent::restore):
(WebCore::InspectorIndexedDBAgent::enable):
(WebCore::InspectorIndexedDBAgent::disable):
(WebCore::InspectorIndexedDBAgent::requestDatabaseNamesForFrame):
* inspector/InspectorIndexedDBAgent.h: Added.
(WebCore::InspectorIndexedDBAgent::create):
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::buildObjectForFrame):
* inspector/compile-front-end.sh:
* inspector/front-end/IndexedDBModel.js: Added.
* inspector/front-end/ResourceTreeModel.js:
(WebInspector.ResourceTreeFrame):
(WebInspector.ResourceTreeFrame.prototype.get securityOrigin):
(WebInspector.ResourceTreeFrame.prototype._navigate):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:

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

10 years agoTest that cloneNode() doesn't cause crashes when used directly after stylesheet mutation.
kling@webkit.org [Fri, 13 Jan 2012 16:20:37 +0000 (16:20 +0000)]
Test that cloneNode() doesn't cause crashes when used directly after stylesheet mutation.
<http://webkit.org/b/75987>

Reviewed by Antti Koivisto.

* fast/css/cloneNode-after-deleteRule-crash-expected.txt: Added.
* fast/css/cloneNode-after-deleteRule-crash.html: Added.
* fast/css/resources/cloneNode-after-deleteRule-subdocument.html: Added.

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

10 years agoUnreviewed, rolling out r104935.
vsevik@chromium.org [Fri, 13 Jan 2012 16:03:04 +0000 (16:03 +0000)]
Unreviewed, rolling out r104935.
http://trac.webkit.org/changeset/104935
https://bugs.webkit.org/show_bug.cgi?id=76277

Breaks AppleWin compilation (Requested by vsevik on #webkit).

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

* CMakeLists.txt:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/CodeGeneratorInspector.py:
* inspector/Inspector.json:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorIndexedDBAgent.cpp: Removed.
* inspector/InspectorIndexedDBAgent.h: Removed.
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::buildObjectForFrame):
* inspector/compile-front-end.sh:
* inspector/front-end/IndexedDBModel.js: Removed.
* inspector/front-end/ResourceTreeModel.js:
(WebInspector.ResourceTreeFrame):
(WebInspector.ResourceTreeFrame.prototype._navigate):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:

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

10 years ago[EFL] Remove extern "C" from ewk_private.h
gyuyoung.kim@samsung.com [Fri, 13 Jan 2012 15:49:32 +0000 (15:49 +0000)]
[EFL] Remove extern "C" from ewk_private.h
https://bugs.webkit.org/show_bug.cgi?id=76250

Reviewed by Andreas Kling.

ewk_private.h defines internal functions used by WebKit itself. There is no chance to be used by C application.
So, extern "C" keyword is unneeded in ewk_private.h.

* ewk/ewk_private.h:

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

10 years ago[EFL] Add OwnPtr specialization for Eina_Module.
commit-queue@webkit.org [Fri, 13 Jan 2012 15:44:44 +0000 (15:44 +0000)]
[EFL] Add OwnPtr specialization for Eina_Module.
https://bugs.webkit.org/show_bug.cgi?id=76255

Patch by YoungTaeck Song <youngtaeck.song@samsung.com> on 2012-01-13
Reviewed by Andreas Kling.

Add an overload for deleteOwnedPtr(Eina_Module*) on EFL port.

* wtf/OwnPtrCommon.h:
* wtf/efl/OwnPtrEfl.cpp:
(WTF::deleteOwnedPtr):

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

10 years agoWeb Inspector: [InspectorIndexedDB] Add InspectorIndexedDBAgent and IndexedDBModel...
vsevik@chromium.org [Fri, 13 Jan 2012 15:08:28 +0000 (15:08 +0000)]
Web Inspector: [InspectorIndexedDB] Add InspectorIndexedDBAgent and IndexedDBModel, pass database names to inspector.
https://bugs.webkit.org/show_bug.cgi?id=76264

Reviewed by Pavel Feldman.

* CMakeLists.txt:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/CodeGeneratorInspector.py:
* inspector/Inspector.json:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorIndexedDBAgent.cpp: Added.
(WebCore::InspectorIndexedDBAgent::FrontendProvider::create):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::~FrontendProvider):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::frontend):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::clearFrontend):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::FrontendProvider):
(WebCore::InspectorIndexedDBAgent::InspectorIndexedDBAgent):
(WebCore::InspectorIndexedDBAgent::~InspectorIndexedDBAgent):
(WebCore::InspectorIndexedDBAgent::setFrontend):
(WebCore::InspectorIndexedDBAgent::clearFrontend):
(WebCore::InspectorIndexedDBAgent::restore):
(WebCore::InspectorIndexedDBAgent::enable):
(WebCore::InspectorIndexedDBAgent::disable):
(WebCore::InspectorIndexedDBAgent::requestDatabaseNamesForFrame):
* inspector/InspectorIndexedDBAgent.h: Added.
(WebCore::InspectorIndexedDBAgent::create):
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::buildObjectForFrame):
* inspector/compile-front-end.sh:
* inspector/front-end/IndexedDBModel.js: Added.
* inspector/front-end/ResourceTreeModel.js:
(WebInspector.ResourceTreeFrame):
(WebInspector.ResourceTreeFrame.prototype.get securityOrigin):
(WebInspector.ResourceTreeFrame.prototype._navigate):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:

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

10 years ago[Qt] Fix build when using TextureMapper with OpenGL/ES
commit-queue@webkit.org [Fri, 13 Jan 2012 15:04:23 +0000 (15:04 +0000)]
[Qt] Fix build when using TextureMapper with OpenGL/ES
https://bugs.webkit.org/show_bug.cgi?id=76268

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-01-13
Reviewed by Tor Arne Vestbø.

* WebCore.pri: When the texture mapper uses OpenGL/ES, then it also relies on the
availability of libEGL by using eglGetCurrentContext(). In that case we need to link against
libEGL.

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

10 years agoSource/WebCore: Don't artifically keep IDBDatabase objects alive if there are no...
jochen@chromium.org [Fri, 13 Jan 2012 14:58:27 +0000 (14:58 +0000)]
Source/WebCore: Don't artifically keep IDBDatabase objects alive if there are no references to it.
https://bugs.webkit.org/show_bug.cgi?id=75859

Originally, this code was added to keep the IDBDatabase object alive
even if no reference from JavaScript to the object existed, because
running transactions could still send events for this database
connection. Meanwhile, transactions are marked as active DOM objects
during their lifetime, and they keep a RefPtr to the IDBDatabase
object, so this hack is no longer required.

Reviewed by Tony Gentilcore.

Test: storage/indexeddb/delete-closed-database-object.html

* storage/IDBDatabase.cpp:
* storage/IDBDatabase.h:

LayoutTests: Test that an IDBDatabase object is garbage collected once no further references to it exist.
https://bugs.webkit.org/show_bug.cgi?id=75859

Reviewed by Tony Gentilcore.

* storage/indexeddb/delete-closed-database-object-expected.txt: Added.
* storage/indexeddb/delete-closed-database-object.html: Added.

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

10 years agoTextureMapper: Do the node transform computation when painting.
jocelyn.turcotte@nokia.com [Fri, 13 Jan 2012 14:41:19 +0000 (14:41 +0000)]
TextureMapper: Do the node transform computation when painting.
https://bugs.webkit.org/show_bug.cgi?id=74721

Reviewed by Noam Rosenthal.

The transform of the node tree was built during the syncCompositingState
step. This would cause an ASSERT with QWebView, trying to use a dirty transform
state since the rootTextureMapperNode in QWebFramePrivate::renderCompositedLayers
doesn't run the sync step after getting the world transform set.

This moves the transform computation from the sync to the paint step to
prevent making sure that the sync step has been run on all nodes before painting.

* platform/graphics/texmap/TextureMapperNode.cpp:
(WebCore::TextureMapperNode::computeTransformsRecursive):
(WebCore::TextureMapperNode::computeTiles):
Remove an unused variable.
(WebCore::TextureMapperNode::paint):
(WebCore::TextureMapperNode::syncAnimationsRecursively):
(WebCore::TextureMapperNode::syncCompositingState):
* platform/graphics/texmap/TextureMapperNode.h:

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

10 years agoTextureMapper: Simplify transform manipulations.
jocelyn.turcotte@nokia.com [Fri, 13 Jan 2012 14:39:48 +0000 (14:39 +0000)]
TextureMapper: Simplify transform manipulations.
https://bugs.webkit.org/show_bug.cgi?id=74719

Reviewed by Noam Rosenthal.

- Make sure that the replica node has a complete transform and
  use it directly instead of keeping a copy in the source.
- Apply the origin and position translation only once, on the
  target and descendants transforms.
- Use to2dTransform() on !preserves3D layers instead of doing
  the flattening manually.
- Remove mentions of perspective as this is handled by WebCore
  through the children transform.
- Apply the inverse target transform on the replica only where it
  is needed in paintReflection since it uses the full transform in paintSelf.
- Merge the base and local transforms.

* platform/graphics/texmap/TextureMapperNode.cpp:
(WebCore::TextureMapperNode::setTransform):
(WebCore::TextureMapperNode::computeTransformsSelf):
(WebCore::TextureMapperNode::computeAllTransforms):
(WebCore::TextureMapperNode::paintSelf):
(WebCore::TextureMapperNode::paintReflection):
* platform/graphics/texmap/TextureMapperNode.h:

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

10 years agoTextureMapper: Fix the fillsForward transform adjustment in syncAnimations.
jocelyn.turcotte@nokia.com [Fri, 13 Jan 2012 14:38:14 +0000 (14:38 +0000)]
TextureMapper: Fix the fillsForward transform adjustment in syncAnimations.
https://bugs.webkit.org/show_bug.cgi?id=76184

Reviewed by Noam Rosenthal.

Also make the intention clearer by using setTransform and setOpacity.

* platform/graphics/texmap/TextureMapperNode.cpp:
(WebCore::TextureMapperNode::syncAnimations):

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

10 years ago[Chromium] Unreviewed, update expectation for svg/dom/SVGPathSegList-segment-modifica...
apavlov@chromium.org [Fri, 13 Jan 2012 14:32:03 +0000 (14:32 +0000)]
[Chromium] Unreviewed, update expectation for svg/dom/SVGPathSegList-segment-modification.svg on LEOPARD DEBUG.

* platform/chromium/test_expectations.txt:

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

10 years agoUnreviewed inspector scripts navigator style fixes.
vsevik@chromium.org [Fri, 13 Jan 2012 14:25:44 +0000 (14:25 +0000)]
Unreviewed inspector scripts navigator style fixes.

* inspector/front-end/scriptsPanel.css:
(#scripts-editor-container-tabbed-pane .tabbed-pane-header-tab):

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

10 years agoSource/WebCore: Once we prepared a script element for execution, execute it, even...
jochen@chromium.org [Fri, 13 Jan 2012 14:20:20 +0000 (14:20 +0000)]
Source/WebCore: Once we prepared a script element for execution, execute it, even if the script element was meanwhile removed from the dom tree.
https://bugs.webkit.org/show_bug.cgi?id=76083

Reviewed by Adam Barth.

This bug was caught by the following IE Test Center test:

http://samples.msdn.microsoft.com/ietestcenter/HTML5/show_async_test.htm?11_RemovingAsyncScript

Test: http/tests/misc/async-script-removed.html
      http/tests/misc/async-script.html

* dom/ScriptElement.cpp:
* dom/ScriptElement.h:
* dom/ScriptRunner.cpp:
(WebCore::ScriptRunner::queueScriptForExecution):
* html/HTMLScriptElement.cpp:
* html/HTMLScriptElement.h:
* svg/SVGScriptElement.cpp:
* svg/SVGScriptElement.h:

LayoutTests: Once we've prepared script element for execution, execute it, even if the script element was meanwhile removed from the dom tree.
https://bugs.webkit.org/show_bug.cgi?id=76083

Reviewed by Adam Barth.

* http/tests/misc/async-script-expected.txt: Added.
* http/tests/misc/async-script-removed-expected.txt: Added.
* http/tests/misc/async-script-removed.html: Added.
* http/tests/misc/async-script.html: Added.
* http/tests/misc/resources/delayed-log.php: Added.

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

10 years agoLarge SVG text layout performance regression in r81168
zimmermann@webkit.org [Fri, 13 Jan 2012 14:18:23 +0000 (14:18 +0000)]
Large SVG text layout performance regression in r81168
https://bugs.webkit.org/show_bug.cgi?id=65711

Reviewed by Antti Koivisto.

Finish SVGTextMetricsBuilder introduction, tested in my local svg-text-performance branch.
SVGTextMetricsBuilder has two public methods:
a) SVGTextMetricsBuilder::measureTextRenderer(RenderSVGInlineText*)
   It will be used exclusively for non-initial, incremental layout changes. Once the inital
   text layout ran, any mutation of eg. a child text node of a <tspan>, will only trigger
   a rebuild of the layout attributes associated with the passed in renderer.

b) SVGTextMetricsBuilder::buildMetricsAndLayoutAttributes(RenderSVGText*, RenderSVGInlineText* stopAtLeaf, SVGCharacterDataMap& allCharactersMap)
   stopAtLeaf=0:
   This carries out the initial layout phase. It measures all characters of the whole <text> subtree, and stores the SVGTextMetrics for each character
   in the SVGTextLayoutAttributes, stored in the RenderSVGInlineText object. It requires a SVGCharacterDataMap allCharactersMap as input argument,
   which contains a HashMap<unsigned, {float x, y, dx, dy, rotate}>, which maps each character position to a set of x/y/dx/dy/rotate values.
   The SVGCharacterDataMap living in SVGTextLayoutAttributes will be filled, from the global "allCharactersMap", so that each RenderSVGInlineText only
   stores the positioning information for its children, if any.

   Note: SVGTextMetricsBuilder is not yet deployed, so this talks about the design, once everything is landed.

   stopAtLeaf!=0:
   This is never used for the initial layout phase. If the initial layout is done, and eg. a <tspan> is added to the <text> subtree, we no longer
   need to rebuild the metrics map & layout attributes for the whole tree, but only for the desired <tspan>, and its previous/next sibling, if present
   (which may be affected by the inclusion of another node inbetween them).

SVGTextMetricsBuilder is now finished, and will be used in the next patch chunk.
Doesn't affect any tests yet.

* rendering/svg/SVGTextLayoutAttributes.h:
(WebCore::SVGTextLayoutAttributes::clear):
(WebCore::SVGCharacterData::SVGCharacterData):
* rendering/svg/SVGTextMetricsBuilder.cpp:
(WebCore::SVGTextMetricsBuilder::SVGTextMetricsBuilder):
(WebCore::SVGTextMetricsBuilder::currentCharacterStartsSurrogatePair):
(WebCore::SVGTextMetricsBuilder::advance):
(WebCore::SVGTextMetricsBuilder::advanceSimpleText):
(WebCore::SVGTextMetricsBuilder::advanceComplexText):
(WebCore::SVGTextMetricsBuilder::initializeMeasurementWithTextRenderer):
(WebCore::MeasureTextData::MeasureTextData):
(WebCore::SVGTextMetricsBuilder::measureTextRenderer):
(WebCore::SVGTextMetricsBuilder::walkTree):
(WebCore::SVGTextMetricsBuilder::measureTextRenderer):
(WebCore::SVGTextMetricsBuilder::buildMetricsAndLayoutAttributes):
* rendering/svg/SVGTextMetricsBuilder.h:

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

10 years agoNot reviewed: Fixing Win builders.
pfeldman@chromium.org [Fri, 13 Jan 2012 14:10:44 +0000 (14:10 +0000)]
Not reviewed: Fixing Win builders.

* inspector/DOMEditor.cpp:
(WebCore::DOMEditor::diff):

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

10 years ago[EFL] Add 'Copy Image Address' to context menu.
commit-queue@webkit.org [Fri, 13 Jan 2012 14:01:38 +0000 (14:01 +0000)]
[EFL] Add 'Copy Image Address' to context menu.
https://bugs.webkit.org/show_bug.cgi?id=76153

Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2012-01-13
Reviewed by Andreas Kling.

Source/WebCore:

Enables 'Copy Image Address' option to context menu in WebKit-EFL as it is enabled in GTK and QT ports.

* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::contextMenuItemSelected):
(WebCore::ContextMenuController::populate):
(WebCore::ContextMenuController::checkOrEnableIfNeeded):
* platform/ContextMenuItem.h:
* platform/LocalizationStrategy.h:
* platform/LocalizedStrings.cpp:
* platform/LocalizedStrings.h:
* platform/efl/LocalizedStringsEfl.cpp:
(WebCore::contextMenuItemTagCopyImageUrlToClipboard):

Source/WebKit/efl:

Adds EWK_CONTEXT_MENU_ITEM_TAG_COPY_IMAGE_URL_TO_CLIPBOARD to Ewk_Context_Menu_Action to synchronize it with ContextMenuItem.h

* ewk/ewk_contextmenu.h:

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

10 years agoNot reviewed: 32bit build fix.
pfeldman@chromium.org [Fri, 13 Jan 2012 13:48:02 +0000 (13:48 +0000)]
Not reviewed: 32bit build fix.

* inspector/DOMEditor.cpp:
* inspector/DOMEditor.h:

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

10 years agoUnreviewed, rollout r104905.
mario@webkit.org [Fri, 13 Jan 2012 13:41:05 +0000 (13:41 +0000)]
Unreviewed, rollout r104905.
https://bugs.webkit.org/show_bug.cgi?id=76267

This patch broke tests in the GTK 64bit Debug bot.

Source/WebCore:

* editing/gtk/FrameSelectionGtk.cpp:
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):

Source/WebKit/gtk:

* tests/testatk.c:
(textCaretMovedCallback):
(testWebkitAtkCaretOffsets):
(textSelectionChangedCallback):
(testWebkitAtkTextSelections):

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

10 years agoUnreviewed, rebaseline Chromium and optimize Qt/GTK baselines after r104917 using...
apavlov@chromium.org [Fri, 13 Jan 2012 13:29:10 +0000 (13:29 +0000)]
Unreviewed, rebaseline Chromium and optimize Qt/GTK baselines after r104917 using garden-o-matic.

* platform/chromium-mac-snowleopard/svg/custom/text-xy-updates-SVGList-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png: Added.
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.txt: Removed.
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt: Removed.
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.txt: Removed.
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.txt: Removed.
* svg/overflow/overflow-on-outermost-svg-element-defaults-expected.txt: Renamed from LayoutTests/platform/gtk/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.txt.
* svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt: Renamed from LayoutTests/platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt.
* svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.txt: Renamed from LayoutTests/platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.txt.
* svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.txt: Renamed from LayoutTests/platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.txt.

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

10 years agoWeb Inspector: make HTML editing preserve node identity when node nesting level changes.
pfeldman@chromium.org [Fri, 13 Jan 2012 13:24:48 +0000 (13:24 +0000)]
Web Inspector: make HTML editing preserve node identity when node nesting level changes.
https://bugs.webkit.org/show_bug.cgi?id=76183

Reviewed by Yury Semikhatsky.

Source/WebCore:

Test: inspector/elements/set-outer-html-2.html

* inspector/DOMEditor.cpp:
(WebCore::DOMEditor::patchDocument):
(WebCore::DOMEditor::patchNode):
(WebCore::DOMEditor::innerPatchHTMLElement):
(WebCore::DOMEditor::innerPatchNode):
(WebCore::DOMEditor::diff):
(WebCore::DOMEditor::innerPatchChildren):
(WebCore::DOMEditor::createDigest):
(WebCore::DOMEditor::insertBefore):
(WebCore::DOMEditor::removeChild):
(WebCore::DOMEditor::markNodeAsUsed):
(WebCore::DOMEditor::dumpMap):
* inspector/DOMEditor.h:
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::setOuterHTML):

LayoutTests:

* inspector/elements/set-outer-html-2-expected.txt: Added.
* inspector/elements/set-outer-html-2.html: Added.
* inspector/elements/set-outer-html-expected.txt:
* inspector/elements/set-outer-html-test.js: Added.
(initialize_SetOuterHTMLTest.InspectorTest.setUpTestSuite.step1):
(initialize_SetOuterHTMLTest.InspectorTest.setUpTestSuite.step2):
(initialize_SetOuterHTMLTest.InspectorTest.setUpTestSuite.step3):
(initialize_SetOuterHTMLTest.InspectorTest.setUpTestSuite):
(initialize_SetOuterHTMLTest.InspectorTest.recordEvent):
(initialize_SetOuterHTMLTest.InspectorTest.patchOuterHTML):
(initialize_SetOuterHTMLTest.InspectorTest.setOuterHTML.bringBack):
(initialize_SetOuterHTMLTest.InspectorTest.setOuterHTML):
(initialize_SetOuterHTMLTest.InspectorTest.innerSetOuterHTML.dumpOuterHTML.dumpIdentity):
(initialize_SetOuterHTMLTest.InspectorTest.innerSetOuterHTML.dumpOuterHTML.callback):
(initialize_SetOuterHTMLTest.InspectorTest.innerSetOuterHTML.dumpOuterHTML):
(initialize_SetOuterHTMLTest.InspectorTest.innerSetOuterHTML):
(initialize_SetOuterHTMLTest):
* inspector/elements/set-outer-html.html:

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

10 years agoShadowContentElement should be able to use query.
commit-queue@webkit.org [Fri, 13 Jan 2012 13:04:58 +0000 (13:04 +0000)]
ShadowContentElement should be able to use query.
https://bugs.webkit.org/show_bug.cgi?id=75302

Patch by Shinya Kawanaka <shinyak@google.com> on 2012-01-13
Reviewed by Hajime Morita.

Source/WebCore:

This patch introduces a selector to query elements in ShadowContentElement.
This can be used instead of ShadowContentElement::shouldInclude in more sophisticated ways.

Tests: fast/dom/shadow/shadow-contents-select-expected.html
       fast/dom/shadow/shadow-contents-select.html

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* dom/DOMAllInOne.cpp:
* dom/SelectorQuery.cpp:
(WebCore::SelectorDataList::SelectorDataList):
  Extracted from SelectorQueryto share codes with ShadowContentSelectorQuery.
(WebCore::SelectorDataList::initialize):
(WebCore::SelectorDataList::matches):
(WebCore::SelectorDataList::queryAll):
(WebCore::SelectorDataList::queryFirst):
(WebCore::SelectorDataList::canUseIdLookup):
(WebCore::SelectorDataList::execute):
(WebCore::SelectorQuery::SelectorQuery):
(WebCore::SelectorQuery::queryAll):
(WebCore::SelectorQuery::queryFirst):
* dom/SelectorQuery.h:
(WebCore::SelectorDataList::size):
* dom/ShadowContentElement.cpp:
(WebCore::ShadowContentElement::select):
(WebCore::ShadowContentElement::setSelect):
* dom/ShadowContentElement.h:
* dom/ShadowContentSelectorQuery.cpp: Added.
(WebCore::ShadowContentSelectorQuery::ShadowContentSelectorQuery):
(WebCore::ShadowContentSelectorQuery::matches):
  Returns true if Node is matched by the query.
* dom/ShadowContentSelectorQuery.h: Copied from Source/WebCore/dom/ShadowContentElement.h.
* dom/ShadowInclusionSelector.cpp:
(WebCore::ShadowInclusionSelector::select):
* dom/ShadowInclusionSelector.h:
* html/HTMLAttributeNames.in:
* html/HTMLDetailsElement.cpp:
(WebCore::summaryQuerySelector):
(WebCore::DetailsContentElement::DetailsContentElement): Re-implemented using query.
(WebCore::DetailsSummaryElement::DetailsSummaryElement): ditto.

LayoutTests:

Tests for ShadowContentElement query.

* fast/dom/shadow/shadow-contents-select-expected.html: Added.
* fast/dom/shadow/shadow-contents-select.html: Added.

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

10 years agoUnreviewed. Rolled DEPS.
commit-queue@webkit.org [Fri, 13 Jan 2012 12:39:06 +0000 (12:39 +0000)]
Unreviewed.  Rolled DEPS.

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

* DEPS:

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

10 years agoUpdate Snow-Leopard SVG pixel test baseline after r104881.
reni@webkit.org [Fri, 13 Jan 2012 11:54:27 +0000 (11:54 +0000)]
Update Snow-Leopard SVG pixel test baseline after r104881.
Unreviewed gardening.

* platform/mac-snowleopard/svg/css/composite-shadow-example-expected.png:
* platform/mac-snowleopard/svg/css/composite-shadow-with-opacity-expected.png:
* platform/mac-snowleopard/svg/css/stars-with-shadow-expected.png:
* platform/mac-snowleopard/svg/custom/altglyph-expected.png:
* platform/mac-snowleopard/svg/custom/external-paintserver-reference-expected.png:
* platform/mac-snowleopard/svg/custom/getscreenctm-in-scrollable-div-area-expected.png:
* platform/mac-snowleopard/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.png:
* platform/mac-snowleopard/svg/custom/getscreenctm-in-scrollable-svg-area-expected.png:
* platform/mac-snowleopard/svg/custom/invisible-text-after-scrolling-expected.png:
* platform/mac-snowleopard/svg/custom/junk-data-expected.png:
* platform/mac-snowleopard/svg/custom/linking-base-external-reference-expected.png:
* platform/mac-snowleopard/svg/custom/missing-xlink-expected.png:
* platform/mac-snowleopard/svg/custom/object-sizing-no-width-height-expected.png:
* platform/mac-snowleopard/svg/custom/path-bad-data-expected.png:
* platform/mac-snowleopard/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
* platform/mac-snowleopard/svg/custom/text-xy-updates-SVGList-expected.png:
* platform/mac-snowleopard/svg/custom/use-font-face-crash-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-appendItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-basics-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-initialize-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-insertItemBefore-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-removeItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-replaceItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-xml-dom-modifications-expected.png:
* platform/mac-snowleopard/svg/dom/SVGNumberList-basics-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPathSegList-appendItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPathSegList-clear-and-initialize-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPathSegList-insertItemBefore-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPathSegList-removeItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPathSegList-replaceItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPointList-basics-expected.png:
* platform/mac-snowleopard/svg/dom/SVGStringList-basics-expected.png:
* platform/mac-snowleopard/svg/dom/SVGTransformList-basics-expected.png:
* platform/mac-snowleopard/svg/dom/css-transforms-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVG-dynamic-css-transform-expected.png:
* 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-svgdom-type-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png:
* platform/mac-snowleopard/svg/hixie/error/012-expected.png:
* platform/mac-snowleopard/svg/in-html/circle-expected.png:
* platform/mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.png:
* platform/mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.png:
* platform/mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.png:
* platform/mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.png:
* platform/mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png:
* platform/mac-snowleopard/svg/text/kerning-expected.png:
* platform/mac-snowleopard/svg/text/multichar-glyph-expected.png:
* platform/mac-snowleopard/svg/wicd/rightsizing-grid-expected.png:
* platform/mac-snowleopard/svg/wicd/test-rightsizing-b-expected.png:
* platform/mac-snowleopard/svg/wicd/test-scalable-background-image1-expected.png:
* platform/mac-snowleopard/svg/zoom/page/absolute-sized-document-scrollbars-expected.png:
* platform/mac-snowleopard/svg/zoom/page/zoom-hixie-mixed-008-expected.png:
* platform/mac-snowleopard/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/mac-snowleopard/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
* platform/mac-snowleopard/svg/zoom/text/zoom-svg-float-border-padding-expected.png:

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

10 years agoWeb Inspector: Detailed heap snapshot. _calculateFlags is too slow on a large heap...
loislo@chromium.org [Fri, 13 Jan 2012 11:36:38 +0000 (11:36 +0000)]
Web Inspector: Detailed heap snapshot. _calculateFlags is too slow on a large heap snapshot.
https://bugs.webkit.org/show_bug.cgi?id=76252

_calculateFlags speed is about 10k edges per second.
It requires 150sec for the snapshot with 1.5m edges.
The root of problem is var node = list.shift();
shift() is not effective in term of memory and cpu.
In our case it can be replaced with pop().
Now the function works 40 times faster.

Drive by change: if statement was reformatted a bit for better readability.

Reviewed by Yury Semikhatsky.

* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshot.prototype._calculateFlags):

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

10 years ago[EFL] Add visible field into ewk_tiled_backing_store's data.
commit-queue@webkit.org [Fri, 13 Jan 2012 11:25:07 +0000 (11:25 +0000)]
[EFL] Add visible field into ewk_tiled_backing_store's data.
https://bugs.webkit.org/show_bug.cgi?id=76165

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2012-01-13
Reviewed by Nikolas Zimmermann.

Using of evas_object_visible_get() API can't gurantee the correctness of
evas_object's visible status if it's called inside of evas_object's
smart_show() method.
So, a visible flag for the ewk_tiled_backing_store is added.
In addition, as tiles are not visible, ewk_tiled_backing_store will push
its own tiles into the cache when it disapear.

* ewk/ewk_tiled_backing_store.cpp:
(_ewk_tiled_backing_store_updates_process):
(_ewk_tiled_backing_store_item_process_idler_start):
(_ewk_tiled_backing_store_item_fill):
(_ewk_tiled_backing_store_smart_member_add):
(_ewk_tiled_backing_store_smart_show):
(_ewk_tiled_backing_store_smart_hide):

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

10 years agoUnreviewed; chromium tests rebaselined after r104907.
haraken@chromium.org [Fri, 13 Jan 2012 11:02:33 +0000 (11:02 +0000)]
Unreviewed; chromium tests rebaselined after r104907.

* platform/chromium-mac-leopard/fast/repaint/focus-layers-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/focus-layers-expected.png: Added.
* platform/chromium-mac/fast/repaint/focus-layers-expected.png: Removed.
* platform/chromium-win/fast/repaint/focus-layers-expected.png:

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

10 years agoWeb Inspector: [Chromium] JavaScriptOutlineDialog fails to open
apavlov@chromium.org [Fri, 13 Jan 2012 10:52:31 +0000 (10:52 +0000)]
Web Inspector: [Chromium] JavaScriptOutlineDialog fails to open
https://bugs.webkit.org/show_bug.cgi?id=76259

Reviewed by Yury Semikhatsky.

* WebCore.gypi:

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

10 years agoUnreviewed tests rebaseline after r104803.
vsevik@chromium.org [Fri, 13 Jan 2012 10:07:29 +0000 (10:07 +0000)]
Unreviewed tests rebaseline after r104803.

* fast/profiler/throw-exception-from-eval-expected.txt:
* platform/chromium-mac/http/tests/history/cross-origin-replace-history-object-child-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/xss-DENIED-javascript-execution-expected.txt:
* platform/chromium-win/http/tests/security/xss-DENIED-history-properties-expected.txt:
* platform/chromium/http/tests/security/xss-eval-expected.txt:
* platform/mac-leopard/plugins/plugin-initiate-popup-window-expected.txt:
* platform/mac-wk2/plugins/mouse-events-scaled-expected.txt:
* platform/mac/fast/AppleScript/001-expected.txt:
* platform/mac/plugins/npp-set-window-called-during-destruction-expected.txt:
* platform/mac/plugins/plugin-initiate-popup-window-expected.txt:
* platform/qt-wk2/plugins/document-open-expected.txt:
* platform/win-wk2/platform/win/plugins/windowless-paint-rect-coordinates-expected.txt:
* platform/win/plugins/call-javascript-that-destroys-plugin-expected.txt:
* platform/win/plugins/get-value-netscape-window-expected.txt:
* platform/win/plugins/iframe-inside-overflow-expected.txt:
* platform/win/plugins/keyboard-events-expected.txt:
* platform/win/plugins/mouse-events-expected.txt:
* platform/win/plugins/mouse-events-fixedpos-expected.txt:
* platform/win/plugins/npn-invalidate-rect-invalidates-window-expected.txt:
* platform/win/plugins/npp-set-window-called-during-destruction-expected.txt:
* platform/win/plugins/window-geometry-initialized-before-set-window-expected.txt:
* platform/win/plugins/window-region-is-set-to-clip-rect-expected.txt:
* platform/win/plugins/windowless-paint-rect-coordinates-expected.txt:

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

10 years ago[Qt][Mac] Unreviewed garedening. Skip new failing tests to paint the bot green.
ossy@webkit.org [Fri, 13 Jan 2012 10:05:33 +0000 (10:05 +0000)]
[Qt][Mac] Unreviewed garedening. Skip new failing tests to paint the bot green.

* platform/qt-mac/Skipped:

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

10 years ago[Qt][WK2]REGRESSION(r104881):It broke hundreds of tests
ossy@webkit.org [Fri, 13 Jan 2012 09:41:34 +0000 (09:41 +0000)]
[Qt][WK2]REGRESSION(r104881):It broke hundreds of tests
https://bugs.webkit.org/show_bug.cgi?id=76247

Reviewed by Kenneth Rohde Christiansen.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues): Disable mock scrollbars on Qt by default. (workaround)

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

10 years ago2012-01-13 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Fri, 13 Jan 2012 09:31:45 +0000 (09:31 +0000)]
2012-01-13  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Update Lion SVG pixel test baseline after r104881.
        Also update SVGFETurbulenceElement-*-stitchTiles-*, filter-child-repaint.svg results, which pass again.

        * platform/mac/svg/css/composite-shadow-example-expected.png:
        * platform/mac/svg/css/composite-shadow-with-opacity-expected.png:
        * platform/mac/svg/css/stars-with-shadow-expected.png:
        * platform/mac/svg/custom/altglyph-expected.png:
        * platform/mac/svg/custom/external-paintserver-reference-expected.png:
        * platform/mac/svg/custom/getscreenctm-in-scrollable-div-area-expected.png:
        * platform/mac/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.png:
        * platform/mac/svg/custom/getscreenctm-in-scrollable-svg-area-expected.png:
        * platform/mac/svg/custom/invisible-text-after-scrolling-expected.png:
        * platform/mac/svg/custom/junk-data-expected.png:
        * platform/mac/svg/custom/linking-base-external-reference-expected.png:
        * platform/mac/svg/custom/missing-xlink-expected.png:
        * platform/mac/svg/custom/object-sizing-no-width-height-expected.png:
        * platform/mac/svg/custom/path-bad-data-expected.png:
        * platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
        * platform/mac/svg/custom/text-xy-updates-SVGList-expected.png:
        * platform/mac/svg/custom/use-font-face-crash-expected.png:
        * platform/mac/svg/dom/SVGLengthList-appendItem-expected.png:
        * platform/mac/svg/dom/SVGLengthList-basics-expected.png:
        * platform/mac/svg/dom/SVGLengthList-initialize-expected.png:
        * platform/mac/svg/dom/SVGLengthList-insertItemBefore-expected.png:
        * platform/mac/svg/dom/SVGLengthList-removeItem-expected.png:
        * platform/mac/svg/dom/SVGLengthList-replaceItem-expected.png:
        * platform/mac/svg/dom/SVGLengthList-xml-dom-modifications-expected.png:
        * platform/mac/svg/dom/SVGNumberList-basics-expected.png:
        * platform/mac/svg/dom/SVGPathSegList-appendItem-expected.png:
        * platform/mac/svg/dom/SVGPathSegList-clear-and-initialize-expected.png:
        * platform/mac/svg/dom/SVGPathSegList-insertItemBefore-expected.png:
        * platform/mac/svg/dom/SVGPathSegList-removeItem-expected.png:
        * platform/mac/svg/dom/SVGPathSegList-replaceItem-expected.png:
        * platform/mac/svg/dom/SVGPointList-basics-expected.png:
        * platform/mac/svg/dom/SVGStringList-basics-expected.png:
        * platform/mac/svg/dom/SVGTransformList-basics-expected.png:
        * platform/mac/svg/dom/css-transforms-expected.png:
        * platform/mac/svg/dynamic-updates/SVG-dynamic-css-transform-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-type-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.png:
        * platform/mac/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png:
        * platform/mac/svg/hixie/error/012-expected.png:
        * platform/mac/svg/in-html/circle-expected.png:
        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.png:
        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.png:
        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.png:
        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.png:
        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png:
        * platform/mac/svg/repaint/filter-child-repaint-expected.png:
        * platform/mac/svg/text/kerning-expected.png:
        * platform/mac/svg/text/multichar-glyph-expected.png:
        * platform/mac/svg/wicd/rightsizing-grid-expected.png:
        * platform/mac/svg/wicd/test-rightsizing-b-expected.png:
        * platform/mac/svg/wicd/test-scalable-background-image1-expected.png:
        * platform/mac/svg/zoom/page/absolute-sized-document-scrollbars-expected.png:
        * platform/mac/svg/zoom/page/zoom-hixie-mixed-008-expected.png:
        * platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.png:
        * platform/mac/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
        * platform/mac/svg/zoom/text/zoom-svg-float-border-padding-expected.png:

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

10 years ago[EFL] Unused code cleanup on ewk_tiled_model.cpp.
commit-queue@webkit.org [Fri, 13 Jan 2012 09:23:25 +0000 (09:23 +0000)]
[EFL] Unused code cleanup on ewk_tiled_model.cpp.
https://bugs.webkit.org/show_bug.cgi?id=76031

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2012-01-13
Reviewed by Ryosuke Niwa.

Remove unused code from ewk_tiled_model.cpp.

* ewk/ewk_tiled_model.cpp:

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

10 years agotext-decorations should not be propagated to floating, absolutely or fixed
haraken@chromium.org [Fri, 13 Jan 2012 09:17:42 +0000 (09:17 +0000)]
text-decorations should not be propagated to floating, absolutely or fixed
positioned decendants
https://bugs.webkit.org/show_bug.cgi?id=18611

Reviewed by Darin Adler.

Source/WebCore:

Previously text-decorations were propagated to all child elements,
but they should not be propagated to out-of-flow descendants,
i.e. floating, absolutely or fixed positioned elements.

The spec says "text decorations are not propagated to any out-of-flow descendants":
http://www.w3.org/TR/2011/WD-css3-text-20110901/#decoration

Test: fast/css/text-decoration-in-descendants.html

* rendering/RenderObject.cpp:
(WebCore::RenderObject::getTextDecorationColors):

LayoutTests:

The added test checks that text-decorations are not propagated to out-of-flow
descendants, i.e. floating, absolutely or fixed positioned elements.

The spec says "text decorations are not propagated to any out-of-flow descendants":
http://www.w3.org/TR/2011/WD-css3-text-20110901/#decoration

* fast/css/text-decoration-in-descendants-expected.html: Added.
* fast/css/text-decoration-in-descendants.html: Added.
* platform/chromium-linux/fast/repaint/focus-layers-expected.png: Updated the test result.
* platform/mac/fast/repaint/focus-layers-expected.png: Ditto.

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

10 years agoREGRESSION (r104668): Crash in HTMLFormElement destructor if the
tkent@chromium.org [Fri, 13 Jan 2012 09:14:44 +0000 (09:14 +0000)]
REGRESSION (r104668): Crash in HTMLFormElement destructor if the
document contains radio groups with the identical name.
https://bugs.webkit.org/show_bug.cgi?id=76206

Reviewed by Darin Adler.

Source/WebCore:

Test: fast/forms/radio/radio-group-document-destruction.html

* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::~HTMLInputElement):
setForm(0) may register this to a document-level radio button group.
We need to unregister this from the group because
Document::checkedRadioButtons() is still accessible from other objects.

LayoutTests:

* fast/forms/radio/radio-group-document-destruction-expected.txt: Added.
* fast/forms/radio/radio-group-document-destruction.html: Added.

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

10 years ago[GTK] ATK text-caret-moved and text-selection-changed events not being emitted
mario@webkit.org [Fri, 13 Jan 2012 09:12:46 +0000 (09:12 +0000)]
[GTK] ATK text-caret-moved and text-selection-changed events not being emitted
https://bugs.webkit.org/show_bug.cgi?id=76069

Reviewed by Martin Robinson.

Source/WebCore:

Fix bug introduced with patch for Bug 72830.

* editing/gtk/FrameSelectionGtk.cpp:
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
Pass the right accessibility object associated with the current
selection to objectFocusedAndCaretOffsetUnignored.

Source/WebKit/gtk:

Update caret browsing related unit tests to check emissions of
'text-caret-moved' and 'text-selection-changed' signals.

* tests/testatk.c:
(textCaretMovedCallback): New callback for 'text-caret-moved'.
(testWebkitAtkCaretOffsets): Check emissions of 'text-caret-moved'.
(textSelectionChangedCallback): New callback for 'text-selection-changed'.
(testWebkitAtkTextSelections): Check emissions of 'text-selection-changed'.

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

10 years ago[Gtk] Removed duplicated unit test.
mario@webkit.org [Fri, 13 Jan 2012 09:10:22 +0000 (09:10 +0000)]
[Gtk] Removed duplicated unit test.

The unit test testWebkitAtkGetTextAtOffsetForms is exactly the
same test case than testWebkitAtkGetTextAtOffset, so it makes no
sense to have it duplicated.

Rubber-stamped by Martin Robinson.

* tests/testatk.c:
(main): Removed testWebkitAtkGetTextAtOffsetForms.

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

10 years agoRefactor RenderLayerBacking::paintIntoLayer and RenderLayer::paintLayer()/paintLayerC...
achicu@adobe.com [Fri, 13 Jan 2012 09:05:22 +0000 (09:05 +0000)]
Refactor RenderLayerBacking::paintIntoLayer and RenderLayer::paintLayer()/paintLayerContents() to avoid duplicate code
https://bugs.webkit.org/show_bug.cgi?id=75983

Reviewed by Simon Fraser.

No new tests, just merging two duplicate methods.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayer):
    This method is used only in non-composited mode, so I've moved the check for composited mode much earlier.

(WebCore::RenderLayer::paintLayerContentsAndReflection):
    Also used just in non-composited mode, it will draw the reflection and then just call paintLayerContents.

(WebCore::RenderLayer::paintLayerContents):
    Old method, that is now used by both composited and non-composited mode. I've added 3 more flags used to render the
    Graphics layers: Background, Foreground and Mask.

* rendering/RenderLayer.h:
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::paintIntoLayer):
    Removed all the code and delegated the work to RenderLayer::paintLayerContents.

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

10 years ago[Mac][DRT] Should support --no-timeout
commit-queue@webkit.org [Fri, 13 Jan 2012 08:47:04 +0000 (08:47 +0000)]
[Mac][DRT] Should support --no-timeout
https://bugs.webkit.org/show_bug.cgi?id=76242

Patch by Hajime Morrita <morrita@chromium.org> on 2012-01-13
Reviewed by Darin Adler.

* DumpRenderTree/mac/DumpRenderTree.mm:
(initializeGlobalsFromCommandLineOptions): Added "--no-timeout" to the options list.
(setWaitToDumpWatchdog): Added to encapsulate the waitToDumpWatchdog global variable.
(shouldSetWaitToDumpWatchdog): Added to check the useTimeoutWatchdog flag set by the option.
* DumpRenderTree/mac/DumpRenderTreeMac.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setWaitToDump): Now calls shouldSetWaitToDumpWatchdog() to check the flag.

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

10 years agoUnreviewed build fix after r104787 if JIT_VERBOSE_OSR is defined
yuqiang.xian@intel.com [Fri, 13 Jan 2012 08:46:57 +0000 (08:46 +0000)]
Unreviewed build fix after r104787 if JIT_VERBOSE_OSR is defined

* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):

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

10 years agoJavaScriptCore: Mark all exported symbols in the header file automatically.
morrita@google.com [Fri, 13 Jan 2012 07:23:44 +0000 (07:23 +0000)]
JavaScriptCore: Mark all exported symbols in the header file automatically.
https://bugs.webkit.org/show_bug.cgi?id=72855

Reviewed by Darin Adler.

Added WTF_EXPORT_PRIVATE and JS_EXPORT_PRIVATE based on JavaScriptCore.exp files.
The change is generated by a tool calledListExportables (https://github.com/omo/ListExportables)

* API/OpaqueJSString.h:
* bytecode/CodeBlock.h:
* bytecode/SamplingTool.h:
* debugger/Debugger.h:
* debugger/DebuggerActivation.h:
* debugger/DebuggerCallFrame.h:
* heap/AllocationSpace.h:
* heap/HandleHeap.h:
* heap/Heap.h:
* heap/MachineStackMarker.h:
* heap/MarkStack.h:
* heap/VTableSpectrum.h:
* heap/WriteBarrierSupport.h:
* parser/Nodes.h:
* parser/ParserArena.h:
* profiler/Profile.h:
* runtime/ArgList.h:
* runtime/CallData.h:
* runtime/Completion.h:
* runtime/ConstructData.h:
* runtime/DateInstance.h:
* runtime/Error.h:
* runtime/ExceptionHelpers.h:
* runtime/FunctionConstructor.h:
* runtime/Identifier.h:
* runtime/InitializeThreading.h:
* runtime/InternalFunction.h:
* runtime/JSArray.h:
* runtime/JSByteArray.h:
* runtime/JSCell.h:
* runtime/JSFunction.h:
* runtime/JSGlobalData.cpp:
* runtime/JSGlobalData.h:
* runtime/JSGlobalObject.h:
* runtime/JSGlobalThis.h:
* runtime/JSLock.h:
* runtime/JSObject.h:
* runtime/JSString.h:
* runtime/JSValue.h:
* runtime/JSVariableObject.h:
* runtime/Lookup.h:
* runtime/MemoryStatistics.h:
* runtime/ObjectPrototype.h:
* runtime/Options.h:
* runtime/PropertyDescriptor.h:
* runtime/PropertyNameArray.h:
* runtime/PropertySlot.h:
* runtime/RegExp.h:
* runtime/RegExpObject.h:
* runtime/SamplingCounter.h:
* runtime/SmallStrings.h:
* runtime/StringObject.h:
* runtime/Structure.h:
* runtime/TimeoutChecker.h:
* runtime/UString.h:
* runtime/WriteBarrier.h:
* wtf/ArrayBufferView.h:
* wtf/ByteArray.h:
* wtf/CryptographicallyRandomNumber.h:
* wtf/CurrentTime.h:
* wtf/DateMath.h:
* wtf/DecimalNumber.h:
* wtf/FastMalloc.cpp:
* wtf/FastMalloc.h:
* wtf/MD5.h:
* wtf/MainThread.h:
* wtf/MetaAllocator.h:
* wtf/MetaAllocatorHandle.h:
* wtf/OSAllocator.h:
* wtf/PageBlock.h:
* wtf/RandomNumber.h:
* wtf/RefCountedLeakCounter.h:
* wtf/SHA1.h:
* wtf/Threading.cpp:
* wtf/Threading.h:
* wtf/ThreadingPrimitives.h:
* wtf/WTFThreadData.h:
* wtf/dtoa.h:
* wtf/text/AtomicString.h:
* wtf/text/CString.h:
* wtf/text/StringBuilder.h:
* wtf/text/StringImpl.h:
* wtf/text/WTFString.h:
* wtf/unicode/Collator.h:
* wtf/unicode/UTF8.h:
* yarr/Yarr.h:
* yarr/YarrPattern.h:

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

10 years ago../JavaScriptCore: [Chromium] JSExportMacros.h should be visible.
barraclough@apple.com [Fri, 13 Jan 2012 06:44:31 +0000 (06:44 +0000)]
../JavaScriptCore: [Chromium] JSExportMacros.h should be visible.
https://bugs.webkit.org/show_bug.cgi?id=76147

Patch by MORITA Hajime <morrita@google.com> on 2012-01-12
Reviewed by Tony Chang.

* config.h:

../WebCore: Clean up putDirect (part 2)
https://bugs.webkit.org/show_bug.cgi?id=76232

Reviewed by Sam Weinig.

Rename putWithAttributes to putDirectVirtual.

* bindings/js/JSDOMWindowShell.cpp:
(WebCore::JSDOMWindowShell::putDirectVirtual):
* bindings/js/JSDOMWindowShell.h:

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

10 years agolosslessly optimise file size of test resource pngs
mikelawther@chromium.org [Fri, 13 Jan 2012 06:19:53 +0000 (06:19 +0000)]
losslessly optimise file size of test resource pngs
https://bugs.webkit.org/show_bug.cgi?id=76240

Reviewed by Darin Adler.

Filesizes approximately halved.

* css3/calc/resources/colorsquare.png:
* css3/calc/resources/diamond.png:
* css3/calc/resources/mask.png:
* css3/calc/resources/ring.png:

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

10 years ago[Chromium] JSExportMacros.h should be visible.
morrita@google.com [Fri, 13 Jan 2012 05:13:34 +0000 (05:13 +0000)]
[Chromium] JSExportMacros.h should be visible.
https://bugs.webkit.org/show_bug.cgi?id=76147

Reviewed by Tony Chang.

Source/JavaScriptCore:

* config.h:

Source/WebCore:

No new tests. No behavior change.

* config.h:

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

10 years agoSplit GraphicsContext3DOpenGL into several files
commit-queue@webkit.org [Fri, 13 Jan 2012 04:51:22 +0000 (04:51 +0000)]
Split GraphicsContext3DOpenGL into several files
https://bugs.webkit.org/show_bug.cgi?id=75462

Patch by ChangSeok Oh <shivamidow@gmail.com> on 2012-01-12
Reviewed by Kenneth Russell.

Split GraphicsContext3DOpenGL.cpp into three files, GraphicsContext3DOpenGLCommon.cpp,
GraphicsContext3DOpenGL.cpp & GraphicsContext3DOpenGLES.cpp so that makes gles support possible
for WebGL etc. Most of common APIs between gl and gles are in GraphicsContext3DOpenGLCommon.cpp.
The other gl and gles specific APIs are placed apart in GraphicsContext3DOpenGL.cpp &
GraphicsContext3DOpenGLES.cpp

No new tests required.

* GNUmakefile.list.am: Added GraphicsContext3DOpenGLCommon.cpp
* Target.pri: Added GraphicsContext3DOpenGLCommon.cpp
* WebCore.gypi: Added GraphicsContext3DOpenGLCommon.cpp
* WebCore.xcodeproj/project.pbxproj: Added GraphicsContext3DOpenGLCommon.cpp
* platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::renderbufferStorage):
* platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: Copied from Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGL.cpp.
(WebCore::GraphicsContext3D::validateAttributes):
(WebCore::GraphicsContext3D::isResourceSafe):
(WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
(WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
(WebCore::GraphicsContext3D::getInternalFramebufferSize):
(WebCore::GraphicsContext3D::activeTexture):
(WebCore::GraphicsContext3D::attachShader):
(WebCore::GraphicsContext3D::bindAttribLocation):
(WebCore::GraphicsContext3D::bindBuffer):
(WebCore::GraphicsContext3D::bindRenderbuffer):
(WebCore::GraphicsContext3D::bindTexture):
(WebCore::GraphicsContext3D::blendColor):
(WebCore::GraphicsContext3D::blendEquation):
(WebCore::GraphicsContext3D::blendEquationSeparate):
(WebCore::GraphicsContext3D::blendFunc):
(WebCore::GraphicsContext3D::blendFuncSeparate):
(WebCore::GraphicsContext3D::bufferData):
(WebCore::GraphicsContext3D::bufferSubData):
(WebCore::GraphicsContext3D::checkFramebufferStatus):
(WebCore::GraphicsContext3D::clearColor):
(WebCore::GraphicsContext3D::clear):
(WebCore::GraphicsContext3D::clearDepth):
(WebCore::GraphicsContext3D::clearStencil):
(WebCore::GraphicsContext3D::colorMask):
(WebCore::GraphicsContext3D::compileShader):
(WebCore::GraphicsContext3D::cullFace):
(WebCore::GraphicsContext3D::depthFunc):
(WebCore::GraphicsContext3D::depthMask):
(WebCore::GraphicsContext3D::depthRange):
(WebCore::GraphicsContext3D::detachShader):
(WebCore::GraphicsContext3D::disable):
(WebCore::GraphicsContext3D::disableVertexAttribArray):
(WebCore::GraphicsContext3D::drawArrays):
(WebCore::GraphicsContext3D::drawElements):
(WebCore::GraphicsContext3D::enable):
(WebCore::GraphicsContext3D::enableVertexAttribArray):
(WebCore::GraphicsContext3D::finish):
(WebCore::GraphicsContext3D::flush):
(WebCore::GraphicsContext3D::framebufferRenderbuffer):
(WebCore::GraphicsContext3D::framebufferTexture2D):
(WebCore::GraphicsContext3D::frontFace):
(WebCore::GraphicsContext3D::generateMipmap):
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getAttachedShaders):
(WebCore::GraphicsContext3D::getAttribLocation):
(WebCore::GraphicsContext3D::getContextAttributes):
(WebCore::GraphicsContext3D::getError):
(WebCore::GraphicsContext3D::getString):
(WebCore::GraphicsContext3D::hint):
(WebCore::GraphicsContext3D::isBuffer):
(WebCore::GraphicsContext3D::isEnabled):
(WebCore::GraphicsContext3D::isFramebuffer):
(WebCore::GraphicsContext3D::isProgram):
(WebCore::GraphicsContext3D::isRenderbuffer):
(WebCore::GraphicsContext3D::isShader):
(WebCore::GraphicsContext3D::isTexture):
(WebCore::GraphicsContext3D::lineWidth):
(WebCore::GraphicsContext3D::linkProgram):
(WebCore::GraphicsContext3D::pixelStorei):
(WebCore::GraphicsContext3D::polygonOffset):
(WebCore::GraphicsContext3D::releaseShaderCompiler):
(WebCore::GraphicsContext3D::sampleCoverage):
(WebCore::GraphicsContext3D::scissor):
(WebCore::GraphicsContext3D::shaderSource):
(WebCore::GraphicsContext3D::stencilFunc):
(WebCore::GraphicsContext3D::stencilFuncSeparate):
(WebCore::GraphicsContext3D::stencilMask):
(WebCore::GraphicsContext3D::stencilMaskSeparate):
(WebCore::GraphicsContext3D::stencilOp):
(WebCore::GraphicsContext3D::stencilOpSeparate):
(WebCore::GraphicsContext3D::texParameterf):
(WebCore::GraphicsContext3D::texParameteri):
(WebCore::GraphicsContext3D::uniform1f):
(WebCore::GraphicsContext3D::uniform1fv):
(WebCore::GraphicsContext3D::uniform2f):
(WebCore::GraphicsContext3D::uniform2fv):
(WebCore::GraphicsContext3D::uniform3f):
(WebCore::GraphicsContext3D::uniform3fv):
(WebCore::GraphicsContext3D::uniform4f):
(WebCore::GraphicsContext3D::uniform4fv):
(WebCore::GraphicsContext3D::uniform1i):
(WebCore::GraphicsContext3D::uniform1iv):
(WebCore::GraphicsContext3D::uniform2i):
(WebCore::GraphicsContext3D::uniform2iv):
(WebCore::GraphicsContext3D::uniform3i):
(WebCore::GraphicsContext3D::uniform3iv):
(WebCore::GraphicsContext3D::uniform4i):
(WebCore::GraphicsContext3D::uniform4iv):
(WebCore::GraphicsContext3D::uniformMatrix2fv):
(WebCore::GraphicsContext3D::uniformMatrix3fv):
(WebCore::GraphicsContext3D::uniformMatrix4fv):
(WebCore::GraphicsContext3D::useProgram):
(WebCore::GraphicsContext3D::validateProgram):
(WebCore::GraphicsContext3D::vertexAttrib1f):
(WebCore::GraphicsContext3D::vertexAttrib1fv):
(WebCore::GraphicsContext3D::vertexAttrib2f):
(WebCore::GraphicsContext3D::vertexAttrib2fv):
(WebCore::GraphicsContext3D::vertexAttrib3f):
(WebCore::GraphicsContext3D::vertexAttrib3fv):
(WebCore::GraphicsContext3D::vertexAttrib4f):
(WebCore::GraphicsContext3D::vertexAttrib4fv):
(WebCore::GraphicsContext3D::vertexAttribPointer):
(WebCore::GraphicsContext3D::viewport):
(WebCore::GraphicsContext3D::getBooleanv):
(WebCore::GraphicsContext3D::getBufferParameteriv):
(WebCore::GraphicsContext3D::getFloatv):
(WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
(WebCore::GraphicsContext3D::getProgramiv):
(WebCore::GraphicsContext3D::getProgramInfoLog):
(WebCore::GraphicsContext3D::getRenderbufferParameteriv):
(WebCore::GraphicsContext3D::getShaderiv):
(WebCore::GraphicsContext3D::getShaderInfoLog):
(WebCore::GraphicsContext3D::getShaderSource):
(WebCore::GraphicsContext3D::getTexParameterfv):
(WebCore::GraphicsContext3D::getTexParameteriv):
(WebCore::GraphicsContext3D::getUniformfv):
(WebCore::GraphicsContext3D::getUniformiv):
(WebCore::GraphicsContext3D::getUniformLocation):
(WebCore::GraphicsContext3D::getVertexAttribfv):
(WebCore::GraphicsContext3D::getVertexAttribiv):
(WebCore::GraphicsContext3D::getVertexAttribOffset):
(WebCore::GraphicsContext3D::texSubImage2D):
(WebCore::GraphicsContext3D::compressedTexImage2D):
(WebCore::GraphicsContext3D::compressedTexSubImage2D):
(WebCore::GraphicsContext3D::createBuffer):
(WebCore::GraphicsContext3D::createFramebuffer):
(WebCore::GraphicsContext3D::createProgram):
(WebCore::GraphicsContext3D::createRenderbuffer):
(WebCore::GraphicsContext3D::createShader):
(WebCore::GraphicsContext3D::createTexture):
(WebCore::GraphicsContext3D::deleteBuffer):
(WebCore::GraphicsContext3D::deleteFramebuffer):
(WebCore::GraphicsContext3D::deleteProgram):
(WebCore::GraphicsContext3D::deleteRenderbuffer):
(WebCore::GraphicsContext3D::deleteShader):
(WebCore::GraphicsContext3D::deleteTexture):
(WebCore::GraphicsContext3D::synthesizeGLError):
(WebCore::GraphicsContext3D::markContextChanged):
(WebCore::GraphicsContext3D::markLayerComposited):
(WebCore::GraphicsContext3D::layerComposited):
(WebCore::GraphicsContext3D::getExtensions):
* platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp: Added.
(WebCore::GraphicsContext3D::readRenderingResults):
(WebCore::GraphicsContext3D::reshape):
(WebCore::GraphicsContext3D::prepareTexture):
(WebCore::GraphicsContext3D::bindFramebuffer):
(WebCore::GraphicsContext3D::copyTexImage2D):
(WebCore::GraphicsContext3D::copyTexSubImage2D):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::renderbufferStorage):
(WebCore::GraphicsContext3D::getIntegerv):
(WebCore::GraphicsContext3D::texImage2D):

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

10 years agoHwndDC is a better name than OwnGetDC.
levin@chromium.org [Fri, 13 Jan 2012 04:44:06 +0000 (04:44 +0000)]
HwndDC is a better name than OwnGetDC.
https://bugs.webkit.org/show_bug.cgi?id=76235

Reviewed by Dmitry Titov.

Source/JavaScriptCore:

This is a better name for two reasons:
1. "Own" implies "delete". In this case, the final call is a release (ReleaseDC).
2. "Ref" would be a better name due to the release but the RefPtr (and OwnPtr)
   classes always take something to hold on to. In this case, the object (the DC)
   is created by the class once it is given a Window to ensure that the HDC
   was actually created using GetDC.

* JavaScriptCore.gyp/JavaScriptCore.gyp:
* JavaScriptCore.gypi:
* wtf/win/HwndDCWin.h: Renamed from Source/JavaScriptCore/wtf/win/OwnGetDCWin.h.
(WTF::HwndDC::HwndDC):
(WTF::HwndDC::~HwndDC):
(WTF::HwndDC::operator HDC):

Source/WebKit/chromium:

* src/win/WebScreenInfoFactory.cpp:
(WebKit::WebScreenInfoFactory::screenInfo):

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

10 years agoAdd mac-snowleopard pixel results for tests with scrollbars
eae@chromium.org [Fri, 13 Jan 2012 04:35:19 +0000 (04:35 +0000)]
Add mac-snowleopard pixel results for tests with scrollbars
https://bugs.webkit.org/show_bug.cgi?id=76223

Reviewed by Eric Seidel.

* platform/mac-snowleopard/fast/css/bidi-override-in-anonymous-block-expected.png: Added.
* platform/mac-snowleopard/fast/css/clip-text-in-scaled-div-expected.png: Added.
* platform/mac-snowleopard/fast/forms/button-default-title-expected.png: Added.
* platform/mac-snowleopard/fast/multicol: Added.
* platform/mac-snowleopard/fast/multicol/overflow-unsplittable-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-h-horizontal-bt-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-h-horizontal-tb-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-h-vertical-lr-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-h-vertical-rl-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-v-horizontal-bt-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-v-horizontal-tb-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-v-vertical-lr-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-v-vertical-rl-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/vertical-lr: Added.
* platform/mac-snowleopard/fast/multicol/vertical-lr/float-avoidance-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/vertical-rl: Added.
* platform/mac-snowleopard/fast/multicol/vertical-rl/float-avoidance-expected.png: Added.

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

10 years agoAdd vsma in VectorMath to handle vector scale multiply and add and use it in AudioBus
commit-queue@webkit.org [Fri, 13 Jan 2012 04:27:54 +0000 (04:27 +0000)]
Add vsma in VectorMath to handle vector scale multiply and add and use it in AudioBus
https://bugs.webkit.org/show_bug.cgi?id=75835

When summing a audio bus, the source is multiplied with the scale and
then summed into the destination bus. Add this function to fulfill it.

Patch by Wei James <james.wei@intel.com> on 2012-01-12
Reviewed by Kenneth Russell.

* platform/audio/AudioBus.cpp:
* platform/audio/VectorMath.cpp:
(WebCore::VectorMath::vsma):
* platform/audio/VectorMath.h:

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

10 years ago[Chromium] More rebaselines after http://trac.webkit.org/changeset/104881.
dimich@chromium.org [Fri, 13 Jan 2012 03:59:28 +0000 (03:59 +0000)]
[Chromium] More rebaselines after trac.webkit.org/changeset/104881.
Unreviewed.

* platform/chromium-mac-leopard/fast/overflow/005-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/br-with-clear-2-expected.txt: Removed.
* platform/chromium-mac-snowleopard/fast/block/positioning/vertical-rl/002-expected.txt: Removed.

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

10 years agoUnreviewed: update expectation for fast/workers/worker-script-error.
dslomov@google.com [Fri, 13 Jan 2012 03:56:04 +0000 (03:56 +0000)]
Unreviewed: update expectation for fast/workers/worker-script-error.

* platform/chromium/fast/workers/worker-script-error-expected.txt:
* platform/chromium/test_expectations.txt:

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

10 years ago[Chromium] Rebaseline files affected by http://trac.webkit.org/changeset/104881.
dimich@chromium.org [Fri, 13 Jan 2012 02:42:37 +0000 (02:42 +0000)]
[Chromium] Rebaseline files affected by trac.webkit.org/changeset/104881.
They still render the old way in Chromium.
The garden-o-matic also collapsed some identical test results.
Unreviewed.

* fast/block/float/008-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/float/008-expected.txt.
* fast/block/float/019-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/float/019-expected.txt.
* fast/block/float/033-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/float/033-expected.txt.
* fast/block/float/035-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/float/035-expected.txt.
* fast/block/positioning/negative-rel-position-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/positioning/negative-rel-position-expected.txt.
* fast/flexbox/flex-hang-expected.txt: Renamed from LayoutTests/platform/gtk/fast/flexbox/flex-hang-expected.txt.
* fast/images/gif-large-checkerboard-expected.txt: Renamed from LayoutTests/platform/gtk/fast/images/gif-large-checkerboard-expected.txt.
* fast/table/height-percent-test-expected.txt: Renamed from LayoutTests/platform/gtk/fast/table/height-percent-test-expected.txt.
* fast/table/wide-colspan-expected.txt: Renamed from LayoutTests/platform/gtk/fast/table/wide-colspan-expected.txt.
* fast/table/wide-column-expected.txt: Renamed from LayoutTests/platform/gtk/fast/table/wide-column-expected.txt.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-height-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-height-010-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-height-017-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-height-024-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-height-031-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-006-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-013-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-020-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-022-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-027-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-029-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-034-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-036-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-041-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-043-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-048-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-050-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-055-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-057-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-062-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-064-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-069-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-071-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-076-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/block-replaced-height-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/block-replaced-width-006-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-height-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-001-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-002-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-004-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-005-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-011-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/inline-block-replaced-height-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/inline-block-replaced-width-006-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/inline-replaced-height-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/inline-replaced-width-001-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/inline-replaced-width-006-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/width-replaced-element-001-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t1202-counters-08-b-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/008-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/019-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/033-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/035-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/avoidance-percent-width-strict-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/br-with-clear-2-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/br-with-clear-2-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/block/float/nested-clearance-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/negative-rel-position-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/relative-overflow-block-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/vertical-lr/002-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/vertical-rl/002-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/vertical-rl/002-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/box-sizing/box-sizing-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/border-height-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/line-height-overflow-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/nested-floating-relative-position-percentages-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/positioned-overflow-scroll-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/dom/scroll-reveal-top-overflow-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/dom/scroll-reveal-top-overflow-expected.txt: Renamed from LayoutTests/platform/chromium-mac/fast/dom/scroll-reveal-top-overflow-expected.txt.
* platform/chromium-mac-snowleopard/fast/dynamic/anchor-lock-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/flexbox/flex-hang-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/frames/frame-scrolling-attribute-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/images/gif-large-checkerboard-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/images/ycbcr-with-cmyk-color-profile-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/inline/long-wrapped-line-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/layers/overflow-scroll-auto-switch-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/lists/li-br-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/column-break-with-balancing-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/columns-shorthand-parsing-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/float-paginate-complex-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/float-paginate-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/layers-in-multicol-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/paginate-block-replaced-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/positioned-with-constrained-height-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-lr/float-paginate-complex-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-lr/float-paginate-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/overflow/005-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/table/023-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/table/height-percent-test-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/table/table-display-types-vertical-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/table/wide-colspan-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/table/wide-column-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/text/softHyphen-expected.png: Added.
* platform/chromium-mac/fast/images/gif-large-checkerboard-expected.txt: Removed.
* platform/chromium-win/fast/images/gif-large-checkerboard-expected.txt: Removed.
* platform/chromium-win/fast/images/ycbcr-with-cmyk-color-profile-expected.png: Added.
* platform/chromium/fast/images/gif-large-checkerboard-expected.txt: Removed.
* platform/qt/fast/block/float/008-expected.txt: Removed.
* platform/qt/fast/block/float/019-expected.txt: Removed.
* platform/qt/fast/block/float/033-expected.txt: Removed.
* platform/qt/fast/block/float/035-expected.txt: Removed.
* platform/qt/fast/block/positioning/negative-rel-position-expected.txt: Removed.
* platform/qt/fast/flexbox/flex-hang-expected.txt: Removed.
* platform/qt/fast/images/gif-large-checkerboard-expected.txt: Removed.
* platform/qt/fast/table/height-percent-test-expected.txt: Removed.
* platform/qt/fast/table/wide-colspan-expected.txt: Removed.
* platform/qt/fast/table/wide-column-expected.txt: Removed.

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

10 years ago2012-01-12 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 13 Jan 2012 02:09:30 +0000 (02:09 +0000)]
2012-01-12  Simon Fraser  <simon.fraser@apple.com>

        Fix the MIME types for expected images.

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

10 years agoWeb Inspector: [Chomium] Resources loaded with 304 status code have receiving time...
simonjam@chromium.org [Fri, 13 Jan 2012 01:56:56 +0000 (01:56 +0000)]
Web Inspector: [Chomium] Resources loaded with 304 status code have receiving time of 15000 days in network panel.
https://bugs.webkit.org/show_bug.cgi?id=76176

Reviewed by Nate Chapin.

No new tests. Can't trigger this with inspector tests. Will add one when the Resource Timing API is in.

* loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::didReceiveResponse): Use monotonic time.

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

10 years agoClean up putDirect (part 1)
barraclough@apple.com [Fri, 13 Jan 2012 01:40:22 +0000 (01:40 +0000)]
Clean up putDirect (part 1)
https://bugs.webkit.org/show_bug.cgi?id=76232

Reviewed by Sam Weinig.

putDirect has ambiguous semantics, clean these up a bit.

putDirect generally behaves a bit like a fast defineOwnProperty, but one that
always creates the property, with no checking to validate the put it permitted.

It also encompasses two slightly different behaviors.
(1) a fast form of put for JSActivation, which doesn't have to handle searching
    the prototype chain, getter/setter properties, or the magic __proto__ value.
    Break this out as a new method, 'putOwnDataProperty'.
(2) the version of putDirect on JSValue will also check for overwriting ReadOnly
    values, in strict mode. This is, however, not so smart on a few level, since
    it is only called from op_put_by_id with direct set, which is only used with
    an object as the base, and is only used to put new properties onto objects.

* dfg/DFGOperations.cpp:
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
* runtime/JSActivation.cpp:
(JSC::JSActivation::put):
* runtime/JSFunction.cpp:
(JSC::JSFunction::getOwnPropertySlot):
* runtime/JSObject.h:
(JSC::JSObject::putOwnDataProperty):
* runtime/JSValue.h:

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

10 years ago NSURL to KURL conversion shouldn't turn raw paths into file URLs
ap@apple.com [Fri, 13 Jan 2012 01:27:28 +0000 (01:27 +0000)]
    NSURL to KURL conversion shouldn't turn raw paths into file URLs
        https://bugs.webkit.org/show_bug.cgi?id=76234

        Reviewed by Darin Adler.

        * platform/mac/KURLMac.mm: (WebCore::KURL::KURL): Removed this code.

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

10 years ago[Chromium] Rebaseline for a test modified in http://trac.webkit.org/changeset/104851
dimich@chromium.org [Fri, 13 Jan 2012 01:16:40 +0000 (01:16 +0000)]
[Chromium] Rebaseline for a test modified in trac.webkit.org/changeset/104851
Unreviewed.

* platform/chromium-linux/animations/cross-fade-webkit-mask-box-image-expected.png:
* platform/chromium-mac-snowleopard/animations/cross-fade-webkit-mask-box-image-expected.png:
* platform/chromium-win/animations/cross-fade-webkit-mask-box-image-expected.png:
* platform/mac/animations/cross-fade-webkit-mask-box-image-expected.txt: Renamed from LayoutTests/animations/cross-fade-webkit-mask-box-image-expected.txt.

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

10 years agoAdded an expected result missing from r104786.
mitz@apple.com [Fri, 13 Jan 2012 00:51:32 +0000 (00:51 +0000)]
Added an expected result missing from r104786.

* fast/css/parsing-font-variant-ligatures-expected.txt: Added.

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

10 years agoMitigate scrollbar differences when running pixel tests
simon.fraser@apple.com [Fri, 13 Jan 2012 00:44:35 +0000 (00:44 +0000)]
Mitigate scrollbar differences when running pixel tests
https://bugs.webkit.org/show_bug.cgi?id=67217

Tools:

Reviewed by Dan Bernstein.

Enable mock scrollbars by default for tests.

* DumpRenderTree/mac/DumpRenderTree.mm:
(resetDefaultsToConsistentValues):
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):

LayoutTests:

Rubber-stamped by Dan Bernstein.

Update pixel results for tests up to and including LayoutTests/fast after
enabling mock scrollbars (67217), and fixing color profile issues (75662).

* animations/missing-values-first-keyframe-expected.png:
* animations/suspend-transform-animation-expected.png:
* compositing/geometry/ancestor-overflow-change-expected.png:
* compositing/iframes/composited-iframe-scroll-expected.png:
* compositing/iframes/iframe-content-flipping-expected.png:
* compositing/images/direct-pdf-image-expected.png:
* compositing/images/direct-svg-image-expected.png:
* compositing/masks/layer-mask-placement-expected.png:
* compositing/overflow/repaint-after-losing-scrollbars-expected.png:
* compositing/reflections/remove-add-reflection-expected.png:
* compositing/tiling/constrained-layer-size-expected.png:
* css3/filters/add-filter-rendering-expected.png:
* css3/filters/crash-filter-change-expected.png:
* css3/filters/effect-blur-expected.png:
* css3/filters/effect-blur-hw-expected.png:
* css3/filters/effect-brightness-expected.png:
* css3/filters/effect-combined-expected.png:
* css3/filters/effect-combined-hw-expected.png:
* css3/filters/effect-contrast-expected.png:
* css3/filters/effect-custom-expected.png:
* css3/filters/effect-drop-shadow-expected.png:
* css3/filters/effect-drop-shadow-hw-expected.png:
* css3/filters/effect-grayscale-expected.png:
* css3/filters/effect-grayscale-hw-expected.png:
* css3/filters/effect-hue-rotate-expected.png:
* css3/filters/effect-hue-rotate-hw-expected.png:
* css3/filters/effect-invert-expected.png:
* css3/filters/effect-invert-hw-expected.png:
* css3/filters/effect-opacity-expected.png:
* css3/filters/effect-opacity-hw-expected.png:
* css3/filters/effect-saturate-expected.png:
* css3/filters/effect-saturate-hw-expected.png:
* css3/filters/effect-sepia-expected.png:
* css3/filters/effect-sepia-hw-expected.png:
* css3/filters/filter-region-expected.png:
* css3/filters/filter-with-transform-expected.png:
* css3/filters/nested-filter-expected.png:
* css3/filters/regions-expanding-expected.png:
* css3/filters/simple-filter-rendering-expected.png:
* editing/input/reveal-caret-of-multiline-contenteditable-expected.png:
* fast/block/float/float-not-removed-from-next-sibling4-expected.png:
* fast/css-generated-content/table-parts-before-and-after-expected.png:
* fast/images/color-jpeg-with-color-profile-expected.png:
* fast/multicol/flipped-blocks-border-after-expected.png:
* fast/multicol/vertical-lr/rules-with-border-before-expected.png:
* fast/multicol/vertical-rl/rule-style-expected.png:
* fast/multicol/vertical-rl/rules-with-border-before-expected.png:
* platform/mac/animations/missing-values-last-keyframe-expected.png:
* platform/mac/compositing/color-matching/image-color-matching-expected.png:
* platform/mac/compositing/direct-image-compositing-expected.png:
* platform/mac/compositing/framesets/composited-frame-alignment-expected.png:
* platform/mac/compositing/geometry/clipping-foreground-expected.png:
* platform/mac/compositing/geometry/composited-html-size-expected.png:
* platform/mac/compositing/geometry/fixed-in-composited-expected.png:
* platform/mac/compositing/geometry/fixed-position-expected.png:
* platform/mac/compositing/geometry/foreground-layer-expected.png:
* platform/mac/compositing/geometry/horizontal-scroll-composited-expected.png:
* platform/mac/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
* platform/mac/compositing/geometry/layer-due-to-layer-children-expected.png:
* platform/mac/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.png:
* platform/mac/compositing/geometry/repaint-foreground-layer-expected.png:
* platform/mac/compositing/geometry/root-layer-update-expected.png:
* platform/mac/compositing/geometry/tall-page-composited-expected.png:
* platform/mac/compositing/geometry/vertical-scroll-composited-expected.png:
* platform/mac/compositing/geometry/video-fixed-scrolling-expected.png:
* platform/mac/compositing/iframes/composited-iframe-alignment-expected.png:
* platform/mac/compositing/iframes/iframe-copy-on-scroll-expected.png:
* platform/mac/compositing/iframes/iframe-in-composited-layer-expected.png:
* platform/mac/compositing/images/content-image-change-expected.png:
* platform/mac/compositing/images/direct-image-background-color-expected.png:
* platform/mac/compositing/masks/masked-ancestor-expected.png:
* platform/mac/compositing/masks/multiple-masks-expected.png:
* platform/mac/compositing/masks/simple-composited-mask-expected.png:
* platform/mac/compositing/overflow/fixed-position-ancestor-clip-expected.png:
* platform/mac/compositing/overflow/overflow-compositing-descendant-expected.png:
* platform/mac/compositing/overflow/overflow-positioning-expected.png:
* platform/mac/compositing/overflow/overflow-scroll-expected.png:
* platform/mac/compositing/overflow/scrollbar-painting-expected.png:
* platform/mac/compositing/plugins/composited-plugin-expected.png:
* platform/mac/compositing/reflections/animation-inside-reflection-expected.png:
* platform/mac/compositing/reflections/compositing-change-inside-reflection-expected.png:
* platform/mac/compositing/reflections/deeply-nested-reflections-expected.png:
* platform/mac/compositing/reflections/load-video-in-reflection-expected.png:
* platform/mac/compositing/reflections/masked-reflection-on-composited-expected.png:
* platform/mac/compositing/reflections/nested-reflection-anchor-point-expected.png:
* platform/mac/compositing/reflections/nested-reflection-animated-expected.png:
* platform/mac/compositing/reflections/nested-reflection-expected.png:
* platform/mac/compositing/reflections/nested-reflection-mask-change-expected.png:
* platform/mac/compositing/reflections/nested-reflection-on-overflow-expected.png:
* platform/mac/compositing/reflections/nested-reflection-opacity-expected.png:
* platform/mac/compositing/reflections/nested-reflection-size-change-expected.png:
* platform/mac/compositing/reflections/nested-reflection-transformed-expected.png:
* platform/mac/compositing/reflections/nested-reflection-transformed2-expected.png:
* platform/mac/compositing/reflections/nested-reflection-transition-expected.png:
* platform/mac/compositing/reflections/reflection-in-composited-expected.png:
* platform/mac/compositing/reflections/reflection-on-composited-expected.png:
* platform/mac/compositing/reflections/reflection-opacity-expected.png:
* platform/mac/compositing/reflections/reflection-positioning-expected.png:
* platform/mac/compositing/reflections/reflection-positioning2-expected.png:
* platform/mac/compositing/reflections/simple-composited-reflections-expected.png:
* platform/mac/compositing/reflections/transform-inside-reflection-expected.png:
* platform/mac/compositing/self-painting-layers-expected.png:
* platform/mac/compositing/shadows/shadow-drawing-expected.png:
* platform/mac/compositing/transitions/scale-transition-no-start-expected.png:
* platform/mac/compositing/webgl/webgl-background-color-expected.png:
* platform/mac/compositing/webgl/webgl-no-alpha-expected.png:
* platform/mac/css1/basic/comments-expected.png:
* platform/mac/css1/basic/containment-expected.png:
* platform/mac/css1/basic/id_as_selector-expected.png:
* platform/mac/css1/basic/inheritance-expected.png:
* platform/mac/css1/box_properties/border-expected.png:
* platform/mac/css1/box_properties/border_bottom-expected.png:
* platform/mac/css1/box_properties/border_bottom_width-expected.png:
* platform/mac/css1/box_properties/border_left-expected.png:
* platform/mac/css1/box_properties/border_left_width-expected.png:
* platform/mac/css1/box_properties/border_right_inline-expected.png:
* platform/mac/css1/box_properties/border_right_width-expected.png:
* platform/mac/css1/box_properties/border_style-expected.png:
* platform/mac/css1/box_properties/border_top-expected.png:
* platform/mac/css1/box_properties/border_top_width-expected.png:
* platform/mac/css1/box_properties/border_width-expected.png:
* platform/mac/css1/box_properties/clear-expected.png:
* platform/mac/css1/box_properties/clear_float-expected.png:
* platform/mac/css1/box_properties/float_elements_in_series-expected.png:
* platform/mac/css1/box_properties/float_margin-expected.png:
* platform/mac/css1/box_properties/float_on_text_elements-expected.png:
* platform/mac/css1/box_properties/height-expected.png:
* platform/mac/css1/box_properties/margin-expected.png:
* platform/mac/css1/box_properties/margin_bottom-expected.png:
* platform/mac/css1/box_properties/margin_inline-expected.png:
* platform/mac/css1/box_properties/margin_left-expected.png:
* platform/mac/css1/box_properties/margin_right-expected.png:
* platform/mac/css1/box_properties/margin_top-expected.png:
* platform/mac/css1/box_properties/padding-expected.png:
* platform/mac/css1/box_properties/padding_bottom-expected.png:
* platform/mac/css1/box_properties/padding_bottom_inline-expected.png:
* platform/mac/css1/box_properties/padding_inline-expected.png:
* platform/mac/css1/box_properties/padding_left-expected.png:
* platform/mac/css1/box_properties/padding_right-expected.png:
* platform/mac/css1/box_properties/padding_top-expected.png:
* platform/mac/css1/box_properties/width-expected.png:
* platform/mac/css1/cascade/cascade_order-expected.png:
* platform/mac/css1/cascade/important-expected.png:
* platform/mac/css1/classification/display-expected.png:
* platform/mac/css1/classification/list_style_type-expected.png:
* platform/mac/css1/classification/white_space-expected.png:
* platform/mac/css1/color_and_background/background-expected.png:
* platform/mac/css1/color_and_background/background_attachment-expected.png:
* platform/mac/css1/color_and_background/background_image-expected.png:
* platform/mac/css1/color_and_background/background_position-expected.png:
* platform/mac/css1/color_and_background/background_repeat-expected.png:
* platform/mac/css1/conformance/forward_compatible_parsing-expected.png:
* platform/mac/css1/font_properties/font-expected.png:
* platform/mac/css1/font_properties/font_size-expected.png:
* platform/mac/css1/font_properties/font_weight-expected.png:
* platform/mac/css1/formatting_model/floating_elements-expected.png:
* platform/mac/css1/formatting_model/height_of_lines-expected.png:
* platform/mac/css1/formatting_model/horizontal_formatting-expected.png:
* platform/mac/css1/formatting_model/inline_elements-expected.png:
* platform/mac/css1/formatting_model/replaced_elements-expected.png:
* platform/mac/css1/formatting_model/vertical_formatting-expected.png:
* platform/mac/css1/pseudo/anchor-expected.png:
* platform/mac/css1/pseudo/firstletter-expected.png:
* platform/mac/css1/pseudo/firstline-expected.png:
* platform/mac/css1/pseudo/multiple_pseudo_elements-expected.png:
* platform/mac/css1/pseudo/pseudo_elements_in_selectors-expected.png:
* platform/mac/css1/text_properties/letter_spacing-expected.png:
* platform/mac/css1/text_properties/line_height-expected.png:
* platform/mac/css1/text_properties/text_decoration-expected.png:
* platform/mac/css1/text_properties/text_indent-expected.png:
* platform/mac/css1/text_properties/text_transform-expected.png:
* platform/mac/css1/text_properties/vertical_align-expected.png:
* platform/mac/css1/text_properties/word_spacing-expected.png:
* platform/mac/css1/units/color_units-expected.png:
* platform/mac/css1/units/length_units-expected.png:
* platform/mac/css1/units/urls-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-height-003-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-height-010-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-height-017-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-height-024-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-height-031-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-006-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-013-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-020-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-022-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-027-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-029-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-034-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-036-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-041-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-043-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-048-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-050-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-055-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-057-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-062-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-064-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-069-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-071-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-076-expected.png:
* platform/mac/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-002-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-004-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-006-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-008-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-010-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-012-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-014-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-016-expected.png:
* platform/mac/css2.1/20110323/block-replaced-height-003-expected.png:
* platform/mac/css2.1/20110323/block-replaced-width-006-expected.png:
* platform/mac/css2.1/20110323/float-replaced-height-003-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-001-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-002-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-003-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-004-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-005-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-011-expected.png:
* platform/mac/css2.1/20110323/inline-block-replaced-height-003-expected.png:
* platform/mac/css2.1/20110323/inline-block-replaced-width-006-expected.png:
* platform/mac/css2.1/20110323/inline-replaced-height-003-expected.png:
* platform/mac/css2.1/20110323/inline-replaced-width-001-expected.png:
* platform/mac/css2.1/20110323/inline-replaced-width-006-expected.png:
* platform/mac/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png:
* platform/mac/css2.1/20110323/width-replaced-element-001-expected.png:
* platform/mac/css2.1/t051201-c23-first-line-00-b-expected.png:
* platform/mac/css2.1/t0803-c5502-mrgn-r-02-c-expected.png:
* platform/mac/css2.1/t0803-c5505-mrgn-02-c-expected.png:
* platform/mac/css2.1/t080301-c411-vt-mrgn-00-b-expected.png:
* platform/mac/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png:
* platform/mac/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png:
* platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
* platform/mac/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png:
* platform/mac/css2.1/t1002-c5523-width-02-b-g-expected.png:
* platform/mac/css2.1/t1202-counters-08-b-expected.png:
* platform/mac/css2.1/t1202-counters-09-b-expected.png:
* platform/mac/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png:
* platform/mac/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png:
* platform/mac/css2.1/t1508-c527-font-01-b-expected.png:
* platform/mac/css2.1/t1508-c527-font-07-b-expected.png:
* platform/mac/css3/images/cross-fade-blending-expected.png:
* platform/mac/css3/images/cross-fade-invalidation-expected.png:
* platform/mac/css3/images/cross-fade-simple-expected.png:
* platform/mac/css3/images/cross-fade-sizing-expected.png:
* platform/mac/css3/images/cross-fade-tiled-expected.png:
* platform/mac/editing/deleting/delete-after-span-ws-001-expected.png:
* platform/mac/editing/deleting/delete-after-span-ws-002-expected.png:
* platform/mac/editing/deleting/delete-after-span-ws-003-expected.png:
* platform/mac/editing/deleting/delete-line-end-ws-001-expected.png:
* platform/mac/editing/deleting/delete-line-end-ws-002-expected.png:
* platform/mac/editing/inserting/insert-div-023-expected.png:
* platform/mac/editing/pasteboard/paste-TIFF-expected.png:
* platform/mac/editing/selection/focus_editable_html-expected.png:
* platform/mac/editing/selection/iframe-expected.png:
* platform/mac/editing/selection/replaced-boundaries-3-expected.png:
* platform/mac/editing/selection/select-all-001-expected.png:
* platform/mac/editing/selection/select-all-002-expected.png:
* platform/mac/editing/selection/select-all-003-expected.png:
* platform/mac/editing/selection/select-all-004-expected.png:
* platform/mac/editing/selection/unrendered-001-expected.png:
* platform/mac/editing/selection/unrendered-003-expected.png:
* platform/mac/editing/selection/unrendered-004-expected.png:
* platform/mac/editing/selection/unrendered-005-expected.png:
* platform/mac/editing/unsupported-content/list-delete-001-expected.png:
* platform/mac/editing/unsupported-content/list-delete-003-expected.png:
* platform/mac/editing/unsupported-content/list-type-after-expected.png:
* platform/mac/editing/unsupported-content/list-type-before-expected.png:
* platform/mac/editing/unsupported-content/table-delete-001-expected.png:
* platform/mac/editing/unsupported-content/table-delete-002-expected.png:
* platform/mac/editing/unsupported-content/table-delete-003-expected.png:
* platform/mac/editing/unsupported-content/table-type-after-expected.png:
* platform/mac/editing/unsupported-content/table-type-before-expected.png:
* platform/mac/fast/backgrounds/background-inherit-color-bug-expected.png:
* platform/mac/fast/backgrounds/background-leakage-transforms-expected.png:
* platform/mac/fast/backgrounds/repeat/negative-offset-repeat-expected.png:
* platform/mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
* platform/mac/fast/backgrounds/size/backgroundSize15-expected.png:
* platform/mac/fast/backgrounds/size/backgroundSize18-expected.png:
* platform/mac/fast/backgrounds/size/backgroundSize19-expected.png:
* platform/mac/fast/backgrounds/size/backgroundSize21-expected.png:
* platform/mac/fast/backgrounds/size/backgroundSize22-expected.png:
* platform/mac/fast/block/basic/016-expected.png:
* platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.png:
* platform/mac/fast/block/basic/truncation-rtl-expected.png:
* platform/mac/fast/block/float/008-expected.png:
* platform/mac/fast/block/float/013-expected.png:
* platform/mac/fast/block/float/019-expected.png:
* platform/mac/fast/block/float/020-expected.png:
* platform/mac/fast/block/float/021-expected.png:
* platform/mac/fast/block/float/025-expected.png:
* platform/mac/fast/block/float/026-expected.png:
* platform/mac/fast/block/float/027-expected.png:
* platform/mac/fast/block/float/028-expected.png:
* platform/mac/fast/block/float/032-expected.png:
* platform/mac/fast/block/float/033-expected.png:
* platform/mac/fast/block/float/035-expected.png:
* platform/mac/fast/block/float/avoidance-percent-width-strict-expected.png:
* platform/mac/fast/block/float/br-with-clear-2-expected.png:
* platform/mac/fast/block/float/float-avoidance-expected.png:
* platform/mac/fast/block/float/nested-clearance-expected.png:
* platform/mac/fast/block/float/relative-painted-twice-expected.png:
* platform/mac/fast/block/lineboxcontain/parsing-invalid-expected.png:
* platform/mac/fast/block/margin-collapse/103-expected.png:
* platform/mac/fast/block/margin-collapse/104-expected.png:
* platform/mac/fast/block/margin-collapse/empty-clear-blocks-expected.png:
* platform/mac/fast/block/positioning/047-expected.png:
* platform/mac/fast/block/positioning/051-expected.png:
* platform/mac/fast/block/positioning/055-expected.png:
* platform/mac/fast/block/positioning/auto/007-expected.png:
* platform/mac/fast/block/positioning/auto/vertical-lr/007-expected.png:
* platform/mac/fast/block/positioning/auto/vertical-rl/007-expected.png:
* platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png:
* platform/mac/fast/block/positioning/negative-rel-position-expected.png:
* platform/mac/fast/block/positioning/relative-overflow-block-expected.png:
* platform/mac/fast/block/positioning/relative-overflow-replaced-expected.png:
* platform/mac/fast/block/positioning/relative-overflow-replaced-float-expected.png:
* platform/mac/fast/block/positioning/vertical-lr/002-expected.png:
* platform/mac/fast/block/positioning/vertical-rl/002-expected.png:
* platform/mac/fast/body-propagation/overflow/001-expected.png:
* platform/mac/fast/body-propagation/overflow/001-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/002-expected.png:
* platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/003-declarative-expected.png:
* platform/mac/fast/body-propagation/overflow/003-expected.png:
* platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/004-declarative-expected.png:
* platform/mac/fast/body-propagation/overflow/004-expected.png:
* platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/005-declarative-expected.png:
* platform/mac/fast/body-propagation/overflow/005-expected.png:
* platform/mac/fast/body-propagation/overflow/005-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/006-declarative-expected.png:
* platform/mac/fast/body-propagation/overflow/006-expected.png:
* platform/mac/fast/body-propagation/overflow/006-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/007-declarative-expected.png:
* platform/mac/fast/body-propagation/overflow/007-expected.png:
* platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png:
* platform/mac/fast/borders/border-image-massive-scale-expected.png:
* platform/mac/fast/borders/border-image-rotate-transform-expected.png:
* platform/mac/fast/borders/border-image-scale-transform-expected.png:
* platform/mac/fast/borders/border-image-scaled-expected.png:
* platform/mac/fast/borders/inline-mask-overlay-image-expected.png:
* platform/mac/fast/borders/rtl-border-01-expected.png:
* platform/mac/fast/borders/rtl-border-02-expected.png:
* platform/mac/fast/borders/rtl-border-03-expected.png:
* platform/mac/fast/box-shadow/basic-shadows-expected.png:
* platform/mac/fast/box-sizing/box-sizing-expected.png:
* platform/mac/fast/canvas/canvas-bg-expected.png:
* platform/mac/fast/canvas/canvas-text-alignment-expected.png:
* platform/mac/fast/canvas/canvas-text-baseline-expected.png:
* platform/mac/fast/canvas/image-object-in-canvas-expected.png:
* platform/mac/fast/canvas/shadow-offset-7-expected.png:
* platform/mac/fast/css-generated-content/014-expected.png:
* platform/mac/fast/css/005-expected.png:
* platform/mac/fast/css/MarqueeLayoutTest-expected.png:
* platform/mac/fast/css/background-shorthand-invalid-url-expected.png:
* platform/mac/fast/css/border-height-expected.png:
* platform/mac/fast/css/clip-text-in-scaled-div-expected.png:
* platform/mac/fast/css/color-correction-backgrounds-and-text-expected.png:
* platform/mac/fast/css/continuationCrash-expected.png:
* platform/mac/fast/css/empty-pseudo-class-expected.png:
* platform/mac/fast/css/first-child-pseudo-class-expected.png:
* platform/mac/fast/css/first-of-type-pseudo-class-expected.png:
* platform/mac/fast/css/hsl-color-expected.png:
* platform/mac/fast/css/last-child-pseudo-class-expected.png:
* platform/mac/fast/css/last-of-type-pseudo-class-expected.png:
* platform/mac/fast/css/line-height-overflow-expected.png:
* platform/mac/fast/css/margin-top-bottom-dynamic-expected.png:
* platform/mac/fast/css/nested-floating-relative-position-percentages-expected.png:
* platform/mac/fast/css/nested-rounded-corners-expected.png:
* platform/mac/fast/css/only-child-pseudo-class-expected.png:
* platform/mac/fast/css/only-of-type-pseudo-class-expected.png:
* platform/mac/fast/css/percentage-non-integer-expected.png:
* platform/mac/fast/css/positioned-overflow-scroll-expected.png:
* platform/mac/fast/css/shadow-multiple-expected.png:
* platform/mac/fast/css/text-overflow-ellipsis-expected.png:
* platform/mac/fast/css/text-overflow-ellipsis-strict-expected.png:
* platform/mac/fast/css/text-transform-select-expected.png:
* platform/mac/fast/css/transform-default-parameter-expected.png:
* platform/mac/fast/css/word-space-extra-expected.png:
* platform/mac/fast/dom/34176-expected.png:
* platform/mac/fast/dom/52776-expected.png:
* platform/mac/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.png:
* platform/mac/fast/dom/clone-node-dynamic-style-expected.png:
* platform/mac/fast/dom/focus-contenteditable-expected.png:
* platform/mac/fast/dom/scroll-reveal-left-overflow-expected.png:
* platform/mac/fast/dom/scroll-reveal-top-overflow-expected.png:
* platform/mac/fast/dynamic/008-expected.png:
* platform/mac/fast/dynamic/anchor-lock-expected.png:
* platform/mac/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
* platform/mac/fast/encoding/utf-16-big-endian-expected.png:
* platform/mac/fast/encoding/utf-16-little-endian-expected.png:
* platform/mac/fast/events/autoscroll-expected.png:
* platform/mac/fast/events/pointer-events-2-expected.png:
* platform/mac/fast/events/reveal-link-when-focused-expected.png:
* platform/mac/fast/events/standalone-image-drag-to-editable-expected.png:
* platform/mac/fast/flexbox/016-expected.png:
* platform/mac/fast/flexbox/flex-hang-expected.png:
* platform/mac/fast/forms/basic-textareas-expected.png:
* platform/mac/fast/forms/basic-textareas-quirks-expected.png:
* platform/mac/fast/forms/button-default-title-expected.png:
* platform/mac/fast/forms/button-sizes-expected.png:
* platform/mac/fast/forms/fieldset-align-expected.png:
* platform/mac/fast/forms/file/file-input-direction-expected.png:
* platform/mac/fast/forms/form-element-geometry-expected.png:
* platform/mac/fast/forms/form-hides-table-expected.png:
* platform/mac/fast/forms/input-table-expected.png:
* platform/mac/fast/forms/listbox-bidi-align-expected.png:
* platform/mac/fast/forms/search-rtl-expected.png:
* platform/mac/fast/forms/select-initial-position-expected.png:
* platform/mac/fast/forms/textAreaLineHeight-expected.png:
* platform/mac/fast/forms/textarea-scroll-height-expected.png:
* platform/mac/fast/frames/flattening/frameset-flattening-advanced-expected.png:
* platform/mac/fast/frames/flattening/frameset-flattening-grid-expected.png:
* platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.png:
* platform/mac/fast/frames/flattening/frameset-flattening-subframe-resize-expected.png:
* platform/mac/fast/frames/flattening/frameset-flattening-subframesets-expected.png:
* platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.png:
* platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-expected.png:
* platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.png:
* platform/mac/fast/frames/frame-scrolling-attribute-expected.png:
* platform/mac/fast/frames/iframe-scrolling-attribute-expected.png:
* platform/mac/fast/frames/inline-object-inside-frameset-expected.png:
* platform/mac/fast/gradients/background-clipped-expected.png:
* platform/mac/fast/gradients/crash-on-zero-radius-expected.png:
* platform/mac/fast/gradients/css3-color-stop-units-expected.png:
* platform/mac/fast/gradients/css3-radial-gradients-expected.png:
* platform/mac/fast/gradients/generated-gradients-expected.png:
* platform/mac/fast/gradients/simple-gradients-expected.png:
* platform/mac/fast/html/details-position-expected.png:
* platform/mac/fast/html/details-writing-mode-expected.png:
* platform/mac/fast/images/gif-large-checkerboard-expected.png:
* platform/mac/fast/images/gray-scale-png-with-color-profile-expected.png:
* platform/mac/fast/images/pdf-as-background-expected.png:
* platform/mac/fast/images/pdf-as-image-expected.png:
* platform/mac/fast/images/pdf-as-image-landscape-expected.png:
* platform/mac/fast/images/ycbcr-with-cmyk-color-profile-expected.png:
* platform/mac/fast/inline-block/tricky-baseline-expected.png:
* platform/mac/fast/inline/inline-borders-with-bidi-override-expected.png:
* platform/mac/fast/inline/inline-box-background-long-image-expected.png:
* platform/mac/fast/inline/inline-continuation-borders-expected.png:
* platform/mac/fast/inline/long-wrapped-line-expected.png:
* platform/mac/fast/invalid/residual-style-expected.png:
* platform/mac/fast/layers/overflow-scroll-auto-switch-expected.png:
* platform/mac/fast/layers/scroll-rect-to-visible-expected.png:
* platform/mac/fast/lists/001-expected.png:
* platform/mac/fast/lists/001-vertical-expected.png:
* platform/mac/fast/lists/003-expected.png:
* platform/mac/fast/lists/008-expected.png:
* platform/mac/fast/lists/008-vertical-expected.png:
* platform/mac/fast/lists/li-br-expected.png:
* platform/mac/fast/lists/ol-start-parsing-expected.png:
* platform/mac/fast/lists/olstart-expected.png:
* platform/mac/fast/media/mq-min-pixel-ratio-expected.png:
* platform/mac/fast/media/mq-relative-constraints-02-expected.png:
* platform/mac/fast/media/mq-relative-constraints-03-expected.png:
* platform/mac/fast/media/mq-relative-constraints-04-expected.png:
* platform/mac/fast/media/mq-relative-constraints-05-expected.png:
* platform/mac/fast/media/mq-relative-constraints-06-expected.png:
* platform/mac/fast/media/mq-relative-constraints-07-expected.png:
* platform/mac/fast/media/mq-relative-constraints-08-expected.png:
* platform/mac/fast/media/mq-relative-constraints-09-expected.png:
* platform/mac/fast/media/mq-width-absolute-01-expected.png:
* platform/mac/fast/media/mq-width-absolute-02-expected.png:
* platform/mac/fast/media/mq-width-absolute-03-expected.png:
* platform/mac/fast/media/mq-width-absolute-04-expected.png:
* platform/mac/fast/multicol/client-rects-expected.png:
* platform/mac/fast/multicol/column-break-with-balancing-expected.png:
* platform/mac/fast/multicol/column-rules-expected.png:
* platform/mac/fast/multicol/column-rules-stacking-expected.png:
* platform/mac/fast/multicol/columns-shorthand-parsing-expected.png:
* platform/mac/fast/multicol/float-multicol-expected.png:
* platform/mac/fast/multicol/float-paginate-complex-expected.png:
* platform/mac/fast/multicol/float-paginate-expected.png:
* platform/mac/fast/multicol/layers-in-multicol-expected.png:
* platform/mac/fast/multicol/layers-split-across-columns-expected.png:
* platform/mac/fast/multicol/nested-columns-expected.png:
* platform/mac/fast/multicol/overflow-unsplittable-expected.png:
* platform/mac/fast/multicol/paginate-block-replaced-expected.png:
* platform/mac/fast/multicol/pagination-h-horizontal-bt-expected.png:
* platform/mac/fast/multicol/pagination-h-horizontal-tb-expected.png:
* platform/mac/fast/multicol/pagination-h-vertical-lr-expected.png:
* platform/mac/fast/multicol/pagination-h-vertical-rl-expected.png:
* platform/mac/fast/multicol/pagination-v-horizontal-bt-expected.png:
* platform/mac/fast/multicol/pagination-v-horizontal-tb-expected.png:
* platform/mac/fast/multicol/pagination-v-vertical-lr-expected.png:
* platform/mac/fast/multicol/pagination-v-vertical-rl-expected.png:
* platform/mac/fast/multicol/positioned-with-constrained-height-expected.png:
* platform/mac/fast/multicol/scrolling-overflow-expected.png:
* platform/mac/fast/multicol/shadow-breaking-expected.png:
* platform/mac/fast/multicol/span/anonymous-style-inheritance-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-child-generated-content-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-child-property-removal-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-columns-child-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-columns-child-removal-expected.png:
* platform/mac/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png:
* platform/mac/fast/multicol/span/span-as-nested-columns-child-expected.png:
* platform/mac/fast/multicol/span/span-margin-collapsing-expected.png:
* platform/mac/fast/multicol/table-vertical-align-expected.png:
* platform/mac/fast/multicol/vertical-lr/column-break-with-balancing-expected.png:
* platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.png:
* platform/mac/fast/multicol/vertical-lr/float-multicol-expected.png:
* platform/mac/fast/multicol/vertical-lr/float-paginate-complex-expected.png:
* platform/mac/fast/multicol/vertical-lr/float-paginate-expected.png:
* platform/mac/fast/multicol/vertical-lr/nested-columns-expected.png:
* platform/mac/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png:
* platform/mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.png:
* platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.png:
* platform/mac/fast/multicol/vertical-rl/float-multicol-expected.png:
* platform/mac/fast/multicol/vertical-rl/float-paginate-complex-expected.png:
* platform/mac/fast/multicol/vertical-rl/float-paginate-expected.png:
* platform/mac/fast/multicol/vertical-rl/nested-columns-expected.png:
* platform/mac/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png:
* platform/mac/fast/overflow/002-expected.png:
* platform/mac/fast/overflow/003-expected.png:
* platform/mac/fast/overflow/005-expected.png:
* platform/mac/fast/overflow/006-expected.png:
* platform/mac/fast/overflow/007-expected.png:
* platform/mac/fast/overflow/008-expected.png:
* platform/mac/fast/overflow/childFocusRingClip-expected.png:
* platform/mac/fast/overflow/clip-rects-fixed-ancestor-expected.png:
* platform/mac/fast/overflow/float-in-relpositioned-expected.png:
* platform/mac/fast/overflow/hit-test-overflow-controls-expected.png:
* platform/mac/fast/overflow/image-selection-highlight-expected.png:
* platform/mac/fast/overflow/overflow-auto-position-absolute-expected.png:
* platform/mac/fast/overflow/overflow-auto-table-expected.png:
* platform/mac/fast/overflow/overflow-focus-ring-expected.png:
* platform/mac/fast/overflow/overflow-rtl-expected.png:
* platform/mac/fast/overflow/overflow-rtl-vertical-expected.png:
* platform/mac/fast/overflow/overflow-stacking-expected.png:
* platform/mac/fast/overflow/overflow-text-hit-testing-expected.png:
* platform/mac/fast/overflow/overflow-update-transform-expected.png:
* platform/mac/fast/overflow/overflow-with-local-background-attachment-expected.png:
* platform/mac/fast/overflow/overflow-x-y-expected.png:
* platform/mac/fast/overflow/position-fixed-transform-clipping-expected.png:
* platform/mac/fast/overflow/scroll-nested-positioned-layer-in-overflow-expected.png:
* platform/mac/fast/overflow/scrollRevealButton-expected.png:
* platform/mac/fast/overflow/scrollbar-position-update-expected.png:
* platform/mac/fast/overflow/table-overflow-float-expected.png:
* platform/mac/fast/overflow/unreachable-overflow-rtl-bug-expected.png:
* platform/mac/fast/parser/document-write-option-expected.png:
* platform/mac/fast/reflections/reflection-direction-expected.png:
* platform/mac/fast/reflections/reflection-masks-expected.png:
* platform/mac/fast/reflections/reflection-masks-opacity-expected.png:
* platform/mac/fast/reflections/reflection-masks-outset-expected.png:
* platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.png:
* platform/mac/fast/repaint/fixed-child-move-after-scroll-expected.png:
* platform/mac/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.png:
* platform/mac/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.png:
* platform/mac/fast/repaint/fixed-expected.png:
* platform/mac/fast/repaint/fixed-move-after-scroll-expected.png:
* platform/mac/fast/repaint/fixed-tranformed-expected.png:
* platform/mac/fast/repaint/line-flow-with-floats-2-expected.png:
* platform/mac/fast/repaint/line-flow-with-floats-8-expected.png:
* platform/mac/fast/repaint/line-flow-with-floats-9-expected.png:
* platform/mac/fast/repaint/moving-shadow-on-container-expected.png:
* platform/mac/fast/repaint/moving-shadow-on-path-expected.png:
* platform/mac/fast/repaint/overflow-scroll-body-appear-expected.png:
* platform/mac/fast/repaint/repaint-during-scroll-expected.png:
* platform/mac/fast/repaint/text-shadow-expected.png:
* platform/mac/fast/repaint/text-shadow-horizontal-expected.png:
* platform/mac/fast/replaced/005-expected.png:
* platform/mac/fast/replaced/replaced-breaking-expected.png:
* platform/mac/fast/replaced/width100percent-button-expected.png:
* platform/mac/fast/replaced/width100percent-image-expected.png:
* platform/mac/fast/selectors/166-expected.png:
* platform/mac/fast/table/023-expected.png:
* platform/mac/fast/table/027-vertical-expected.png:
* platform/mac/fast/table/034-expected.png:
* platform/mac/fast/table/038-vertical-expected.png:
* platform/mac/fast/table/040-expected.png:
* platform/mac/fast/table/040-vertical-expected.png:
* platform/mac/fast/table/border-collapsing/002-vertical-expected.png:
* platform/mac/fast/table/border-collapsing/004-expected.png:
* platform/mac/fast/table/border-collapsing/004-vertical-expected.png:
* platform/mac/fast/table/border-collapsing/equal-precedence-resolution-vertical-expected.png:
* platform/mac/fast/table/edge-offsets-expected.png:
* platform/mac/fast/table/empty-cells-expected.png:
* platform/mac/fast/table/height-percent-test-expected.png:
* platform/mac/fast/table/overflowHidden-expected.png:
* platform/mac/fast/table/prepend-in-anonymous-table-expected.png:
* platform/mac/fast/table/table-display-types-vertical-expected.png:
* platform/mac/fast/table/wide-colspan-expected.png:
* platform/mac/fast/table/wide-column-expected.png:
* platform/mac/fast/text/backslash-to-yen-sign-euc-expected.png:
* platform/mac/fast/text/capitalize-boundaries-expected.png:
* platform/mac/fast/text/drawBidiText-expected.png:
* platform/mac/fast/text/hyphenate-character-expected.png:
* platform/mac/fast/text/hyphenate-limit-lines-expected.png:
* platform/mac/fast/text/hyphenate-locale-expected.png:
* platform/mac/fast/text/hyphens-expected.png:
* platform/mac/fast/text/international/bidi-menulist-expected.png:
* platform/mac/fast/text/international/bidi-neutral-run-expected.png:
* platform/mac/fast/text/international/pop-up-button-text-alignment-and-direction-expected.png:
* platform/mac/fast/text/international/thai-line-breaks-expected.png:
* platform/mac/fast/text/international/vertical-text-glyph-test-expected.png:
* platform/mac/fast/text/large-text-composed-char-expected.png:
* platform/mac/fast/text/midword-break-after-breakable-char-expected.png:
* platform/mac/fast/text/softHyphen-expected.png:
* platform/mac/fast/text/stroking-decorations-expected.png:
* platform/mac/fast/text/stroking-expected.png:
* platform/mac/fast/text/text-letter-spacing-expected.png:
* platform/mac/fast/text/wbr-expected.png:
* platform/mac/fast/text/whitespace/024-expected.png:
* platform/mac/fast/text/whitespace/normal-after-nowrap-breaking-expected.png:
* platform/mac/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.png:
* platform/mac/fast/text/word-break-expected.png:
* platform/mac/fast/transforms/rotated-transform-affects-scrolling-1-expected.png:
* platform/mac/fast/transforms/rotated-transform-affects-scrolling-2-expected.png:
* platform/mac/fast/writing-mode/Kusa-Makura-background-canvas-expected.png:
* platform/mac/fast/writing-mode/border-radius-clipping-vertical-lr-expected.png:
* platform/mac/fast/writing-mode/box-shadow-vertical-lr-expected.png:
* platform/mac/fast/writing-mode/box-shadow-vertical-rl-expected.png:
* platform/mac/fast/writing-mode/fallback-orientation-expected.png:
* platform/mac/fast/writing-mode/fieldsets-expected.png:
* platform/mac/fast/writing-mode/japanese-rl-text-with-broken-font-expected.png:
* platform/mac/fast/writing-mode/text-orientation-basic-expected.png:

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

10 years agoCreate a GraphicsLayer for the overhang areas if threaded scrolling is enabled
andersca@apple.com [Fri, 13 Jan 2012 00:30:55 +0000 (00:30 +0000)]
Create a GraphicsLayer for the overhang areas if threaded scrolling is enabled
https://bugs.webkit.org/show_bug.cgi?id=76220

Reviewed by Simon Fraser.

* page/FrameView.cpp:
Remove PLATFORM(CHROMIUM) #ifdefs.

* page/FrameView.h:
Ditto.

* platform/ScrollView.cpp:
(WebCore::ScrollView::wheelEvent):
Ditto.

* platform/ScrollableArea.h:
Ditto.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::frameViewDidChangeSize):
Ditto.

(WebCore::RenderLayerCompositor::requiresOverhangAreasLayer):
Make this return true if we have a scrolling coordinator.

(WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
Remove PLATFORM(CHROMIUM) #ifdefs. Fix a bug the overhang layer was being added above the clip layer.

(WebCore::RenderLayerCompositor::destroyRootLayer):
Remove PLATFORM(CHROMIUM) #ifdefs.

* rendering/RenderLayerCompositor.h:
Ditto.

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

10 years ago[Chromium] Baseline for test added in http://trac.webkit.org/changeset/104851
dimich@chromium.org [Fri, 13 Jan 2012 00:29:32 +0000 (00:29 +0000)]
[Chromium] Baseline for test added in trac.webkit.org/changeset/104851
Unreviewed.

* platform/chromium-mac-snowleopard/fast/borders/border-image-slice-constrained-expected.png: Added.
* platform/chromium-win/fast/borders/border-image-slice-constrained-expected.png: Added.
* platform/chromium-win/fast/borders/border-image-slice-constrained-expected.txt: Added.

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

10 years agoMove SimpleFontDataSkia.cpp to Source/WebCore/platform/graphics/skia
bashi@chromium.org [Fri, 13 Jan 2012 00:27:48 +0000 (00:27 +0000)]
Move SimpleFontDataSkia.cpp to Source/WebCore/platform/graphics/skia
https://bugs.webkit.org/show_bug.cgi?id=76155

Reviewed by Tony Chang.

No new tests. No behavior change.

* PlatformBlackBerry.cmake:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* platform/graphics/skia/SimpleFontDataSkia.cpp: Renamed from Source/WebCore/platform/graphics/harfbuzz/SimpleFontDataSkia.cpp.
(WebCore::SimpleFontData::platformInit):
(WebCore::SimpleFontData::platformCharWidthInit):
(WebCore::SimpleFontData::platformDestroy):
(WebCore::SimpleFontData::createScaledFontData):
(WebCore::SimpleFontData::smallCapsFontData):
(WebCore::SimpleFontData::emphasisMarkFontData):
(WebCore::SimpleFontData::containsCharacters):
(WebCore::SimpleFontData::determinePitch):
(WebCore::SimpleFontData::platformBoundsForGlyph):
(WebCore::SimpleFontData::platformWidthForGlyph):

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

10 years agoA Frame with frame flattening can be stuck in a state in which performPostLayoutTasks...
benjamin@webkit.org [Fri, 13 Jan 2012 00:19:10 +0000 (00:19 +0000)]
A Frame with frame flattening can be stuck in a state in which performPostLayoutTasks() is never executed
https://bugs.webkit.org/show_bug.cgi?id=76154

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-01-12
Reviewed by Beth Dakin.

In a frame with inSubframeLayoutWithFrameFlattening == true, if
-m_hasPendingPostLayoutTasks == true
-FrameView::unscheduleRelayout() is executed
-->the timer m_postLayoutTasksTimer is stopped
-->no timer is scheduled due to m_hasPendingPostLayoutTasks == true && inSubframeLayoutWithFrameFlattening == true

This patch revert the handling of the postLayoutTasks to its state prior to r66552.

The timer itself is used as the only state to know if post layout tasks are scheduled.

For the case without frame flattening:
-Prior to this patch, when FrameView::unscheduleRelayout() was executed, the postLayoutTasksTimer was killed,
and the post layout tasks would be executed during the next layout().
-After this patch, the post layout tasks stay scheduled and are executed on the next event loop if layout()
was not invoked before.

* page/FrameView.cpp:
(WebCore::FrameView::FrameView):
(WebCore::FrameView::~FrameView):
(WebCore::FrameView::reset):
(WebCore::FrameView::layout):
(WebCore::FrameView::unscheduleRelayout):
(WebCore::FrameView::flushAnyPendingPostLayoutTasks):
(WebCore::FrameView::performPostLayoutTasks):
* page/FrameView.h:

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

10 years agoPatch by Yongjun Zhang <yongjun_zhang@apple.com> on 2012-01-12
commit-queue@webkit.org [Thu, 12 Jan 2012 23:59:53 +0000 (23:59 +0000)]
Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2012-01-12
Reviewed by Benjamin Poulain.

https://bugs.webkit.org/show_bug.cgi?id=75991
Make the code in MemoryPressureHandler::respondToMemoryPressure shareable.

Move memory pressure handling code inside a new function (releaseMemory) so that
we could shared it between mac and iOS.

* Configurations/WebCore.xcconfig: add MemoryPressureHandlerMac.mm into iOS build.
* platform/MemoryPressureHandler.h:
* platform/mac/MemoryPressureHandlerMac.mm:
(WebCore::MemoryPressureHandler::respondToMemoryPressure):
(WebCore::MemoryPressureHandler::releaseMemory):

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

10 years agoRefactor DOMImplementation.hasFeature logic into helper functions.
eric@webkit.org [Thu, 12 Jan 2012 23:57:29 +0000 (23:57 +0000)]
Refactor DOMImplementation.hasFeature logic into helper functions.
https://bugs.webkit.org/show_bug.cgi?id=76212

Reviewed by Adam Barth.

This patch should not have any behavior change.  The goal was
to move our feature detection towards a more modular architecture
(as that seems to be the current trend in webkit).  In a future
patch we could easily move the SVG feature detection into the
SVG directory, for example.  I've also added a list of all the
Event3 features (currently commented out) which makes it obvious
how many we're missing.

* dom/DOMImplementation.cpp:
(WebCore::isSVG10Feature):
(WebCore::isSVG11Feature):
(WebCore::isEvents2Feature):
(WebCore::isEvents3Feature):
(WebCore::DOMImplementation::hasFeature):

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=76141
barraclough@apple.com [Thu, 12 Jan 2012 23:51:44 +0000 (23:51 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=76141
defineSetter/defineGetter may fail to update Accessor attribute

Reviewed by Oliver Hunt.

* runtime/JSObject.cpp:
(JSC::JSObject::defineGetter):
(JSC::JSObject::initializeGetterSetterProperty):
(JSC::JSObject::defineSetter):
* runtime/Structure.cpp:
(JSC::Structure::attributeChangeTransition):
* runtime/Structure.h:

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

10 years ago[chromium] Fix DC leak in WebScreenInfoFactory.
levin@chromium.org [Thu, 12 Jan 2012 23:34:11 +0000 (23:34 +0000)]
[chromium] Fix DC leak in WebScreenInfoFactory.
https://bugs.webkit.org/show_bug.cgi?id=76203

Reviewed by Dmitry Titov.

Source/JavaScriptCore:

* JavaScriptCore.gyp/JavaScriptCore.gyp: Added OwnGetDCWin.h
* JavaScriptCore.gypi: Added OwnGetDCWin.h
* JavaScriptCore/wtf/win/OwnGetDCWin.h: Made an owner class for GetDC which needs ReleaseDC as opposed to DeleteDC.

Source/WebKit/chromium:

* src/win/WebScreenInfoFactory.cpp:
(WebKit::WebScreenInfoFactory::screenInfo): Use OwnGetDC to ensure its release.

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

10 years agoNodeIterator loses track of the reference node when the reference node is removed...
abarth@webkit.org [Thu, 12 Jan 2012 23:18:36 +0000 (23:18 +0000)]
NodeIterator loses track of the reference node when the reference node is removed from the document (IETC ni_removeReferenceNode)
https://bugs.webkit.org/show_bug.cgi?id=76146

Reviewed by Eric Seidel.

Source/WebCore:

In the case where we're removing the reference node we can end up with
the wrong reference node.  This patch makes sure we traverse outside of
the removed node's subtree.

This bug was caught by the following IE Test Center test:

http://samples.msdn.microsoft.com/ietestcenter/domtraversal/showdomtraversaltest.htm?ni_removeReferenceNode

Our new behavior also match Firefox.

I experimented a bit with adding ASSERT_NOT_REACHED to various branches
in NodeIterator::updateForNodeRemoval, and it seems our test coverage
for this function is relatively poor.  In the future, we should
consider adding more tests for this complicated function.

Test: fast/dom/node-iterator-reference-node-removed.html

* dom/NodeIterator.cpp:
(WebCore::NodeIterator::updateForNodeRemoval):

LayoutTests:

Test based on http://samples.msdn.microsoft.com/ietestcenter/domtraversal/showdomtraversaltest.htm?ni_removeReferenceNode

* fast/dom/node-iterator-reference-node-removed-expected.txt: Added.
* fast/dom/node-iterator-reference-node-removed.html: Added.

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

10 years agoIndexedDB: Throw exception if IDBCursor.continue() called with key equal to current
commit-queue@webkit.org [Thu, 12 Jan 2012 23:12:29 +0000 (23:12 +0000)]
IndexedDB: Throw exception if IDBCursor.continue() called with key equal to current
https://bugs.webkit.org/show_bug.cgi?id=76100

Source/WebCore:

The fix for https://bugs.webkit.org/show_bug.cgi?id=74213 missed the "or equal" clause
in the spec.

Patch by Joshua Bell <jsbell@chromium.org> on 2012-01-12
Reviewed by Tony Chang.

Test: storage/indexeddb/cursor-continue.html

* storage/IDBCursorBackendImpl.cpp:
(WebCore::IDBCursorBackendImpl::continueFunction):

LayoutTests:

The previously existing clauses that iterated a cursor over non-unique values
by specifing a key now fail per spec, so they are changed to simply call continue().

Patch by Joshua Bell <jsbell@chromium.org> on 2012-01-12
Reviewed by Tony Chang.

* storage/indexeddb/cursor-continue-expected.txt:
* storage/indexeddb/cursor-continue.html:

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

10 years agoSetting value on a select element to a non existing option value should clear selection
jonlee@apple.com [Thu, 12 Jan 2012 22:57:14 +0000 (22:57 +0000)]
Setting value on a select element to a non existing option value should clear selection
https://bugs.webkit.org/show_bug.cgi?id=67233
<rdar://problem/10057159>

Reviewed by Darin Adler.

Source/WebCore:

Test: fast/forms/select/setting-to-invalid-value.html

* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::setValue): Clear the selection in the cases where we cannot
find an option with the specified value. The spec states to clear the selectedness of all
options first. To avoid calling setSelectedIndex() multiple times, we clear the selected
option(s) only when don't find the appropriate option.

Also, correct the sentence style of a comment.

LayoutTests:

New tests check to see that setting the value of a select element clears the
selection, even if the value is invalid, null, or undefined.

* fast/forms/select/setting-to-invalid-value-expected.txt: Added.
* fast/forms/select/setting-to-invalid-value.html: Added.

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

10 years agoUnreviewed build fix after r104858.
jer.noble@apple.com [Thu, 12 Jan 2012 22:54:55 +0000 (22:54 +0000)]
Unreviewed build fix after r104858.

NSDataReadingMappedIfSafe is not defined on <= 10.6.  Use NSDataReadingMapped on that platform instead.

* platform/audio/mac/AudioBusMac.mm:
(WebCore::AudioBus::loadPlatformResource):

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

10 years ago[skia] Track a simple opaque area when painting via PlatformContextSkia and save...
commit-queue@webkit.org [Thu, 12 Jan 2012 22:39:25 +0000 (22:39 +0000)]
[skia] Track a simple opaque area when painting via PlatformContextSkia and save in LayerTextureUpdater
https://bugs.webkit.org/show_bug.cgi?id=74352

Patch by Dana Jansens <danakj@chromium.org> on 2012-01-12
Reviewed by Stephen White.

Source/WebCore:

New unit tests in PlatformContextSkiaTest.cpp

* WebCore.gypi:
* platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::clearRect):
(WebCore::GraphicsContext::drawConvexPolygon):
(WebCore::GraphicsContext::drawEllipse):
(WebCore::drawOuterPath):
(WebCore::drawInnerPath):
(WebCore::GraphicsContext::drawFocusRing):
(WebCore::GraphicsContext::drawLine):
(WebCore::GraphicsContext::drawLineForTextChecking):
(WebCore::GraphicsContext::drawLineForText):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::fillRoundedRect):
(WebCore::GraphicsContext::strokeArc):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::strokeRect):
* platform/graphics/skia/ImageSkia.cpp:
(WebCore::paintSkBitmap):
* platform/graphics/skia/OpaqueRegionSkia.cpp: Added.
(WebCore::OpaqueRegionSkia::OpaqueRegionSkia):
(WebCore::OpaqueRegionSkia::~OpaqueRegionSkia):
(WebCore::OpaqueRegionSkia::asRect):
(WebCore::xfermodeIsOpaque):
(WebCore::xfermodePreservesOpaque):
(WebCore::paintIsOpaque):
(WebCore::OpaqueRegionSkia::didDrawRect):
(WebCore::OpaqueRegionSkia::didDrawPath):
(WebCore::OpaqueRegionSkia::didDrawPoints):
(WebCore::OpaqueRegionSkia::didDrawBounded):
(WebCore::OpaqueRegionSkia::didDraw):
(WebCore::OpaqueRegionSkia::didDrawUnbounded):
(WebCore::OpaqueRegionSkia::markRectAsOpaque):
(WebCore::OpaqueRegionSkia::markRectAsNonOpaque):
* platform/graphics/skia/OpaqueRegionSkia.h: Added.
* platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::PlatformContextSkia):
(WebCore::PlatformContextSkia::clippedToImage):
(WebCore::PlatformContextSkia::drawRect):
(WebCore::PlatformContextSkia::paintSkPaint):
(WebCore::PlatformContextSkia::didDrawRect):
(WebCore::PlatformContextSkia::didDrawPath):
(WebCore::PlatformContextSkia::didDrawPoints):
(WebCore::PlatformContextSkia::didDrawBounded):
* platform/graphics/skia/PlatformContextSkia.h:
(WebCore::PlatformContextSkia::setTrackOpaqueRegion):
(WebCore::PlatformContextSkia::opaqueRegion):

Source/WebKit/chromium:

* WebKit.gypi:
* tests/PlatformContextSkiaTest.cpp: Added.
(WebCore::TEST):

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=76209
bdakin@apple.com [Thu, 12 Jan 2012 22:18:07 +0000 (22:18 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=76209
Support expanded scrollbars
-and corresponding-
<rdar://problem/10527734>

Reviewed by Sam Weinig.

All this really requires is leaving the proper amount of space for the
expanded width.
* platform/mac/NSScrollerImpDetails.h:
* platform/mac/ScrollbarThemeMac.mm:
(WebCore::supportsExpandedScrollbars):
(WebCore::ScrollbarThemeMac::scrollbarThickness):

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

10 years agoWebAudio: Enable USE_CONCATENATED_IMPULSE_RESPONSES on Mac port.
jer.noble@apple.com [Thu, 12 Jan 2012 22:15:50 +0000 (22:15 +0000)]
WebAudio: Enable USE_CONCATENATED_IMPULSE_RESPONSES on Mac port.
https://bugs.webkit.org/show_bug.cgi?id=74328

Reviewed by Eric Carlson.

No new tests; no net change in functionality.

* WebCore.xcodeproj/project.pbxproj: Added SincResampler class, Composite.wav to the project.
    Removed IRC_*.wav resources from the project.
* platform/audio/AudioBus.cpp:
(WebCore::AudioBus::createBySampleRateConverting): Uncommented this function
* platform/audio/AudioBus.h:
* platform/audio/HRTFElevation.cpp:

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

10 years agoWebAudio: AudioBus::loadPlatformResource should mmap file on Mac port.
jer.noble@apple.com [Thu, 12 Jan 2012 22:13:35 +0000 (22:13 +0000)]
WebAudio: AudioBus::loadPlatformResource should mmap file on Mac port.
https://bugs.webkit.org/show_bug.cgi?id=74326

Reviewed by Darin Adler.

No new tests; no net change in functionality.

Use NSDataReadingMappedIfSafe when reading platform audio file data.

* platform/audio/mac/AudioBusMac.mm:
(WebCore::AudioBus::loadPlatformResource):

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

10 years agoWebAudio: Use Logging instead of printf.
jer.noble@apple.com [Thu, 12 Jan 2012 22:11:52 +0000 (22:11 +0000)]
WebAudio: Use Logging instead of printf.
https://bugs.webkit.org/show_bug.cgi?id=74322

Reviewed by Darin Adler.

No new tests; no net change in functionality.

Add a new WebCoreLogLevel for WebAudio, and use this new log level instead of
printf statements in webaudio classes.

* platform/Logging.cpp:
(WebCore::getChannelFromName):
* platform/Logging.h:
* platform/mac/LoggingMac.mm:
(WebCore::InitializeLoggingChannelsIfNecessary):
* platform/audio/FFTFrame.cpp:
(WebCore::FFTFrame::print):
* webaudio/DefaultAudioDestinationNode.cpp:
(WebCore::DefaultAudioDestinationNode::initialize):

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

10 years agoNeed a script to run tests in PerformanceTests
rniwa@webkit.org [Thu, 12 Jan 2012 22:08:41 +0000 (22:08 +0000)]
Need a script to run tests in PerformanceTests
https://bugs.webkit.org/show_bug.cgi?id=76132

Reviewed by Adam Barth.

Add run-perf-tests to run performance tests using parser/resources/runner.js.
Unfortunately, there isn't an easy way of telling which test uses which format
so hard-code directory that uses Chromium perf-bot style (only inspector perf. tests for now).

All test outputs are re-formatted to match Chromium perf-bot style.

* Scripts/run-inspector-perf-tests.py:
* Scripts/run-perf-tests: Added.
* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner):
(PerfTestsRunner.__init__):
(PerfTestsRunner._collect_tests):
(PerfTestsRunner.run):
(PerfTestsRunner._print_status):
(PerfTestsRunner._run_tests_set):
(PerfTestsRunner._process_chromium_style_test_result):
(PerfTestsRunner._should_ignore_line_in_parser_test_result):
(PerfTestsRunner._process_parser_test_result):
(PerfTestsRunner._run_single_test):
* Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
(MainTest.TestDriver.run_test):
(create_runner):
(run_test):
(test_run_test_set):
(test_run_test_set_for_parser_tests):
(test_collect_tests):

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

10 years agoMake ScrollElasticityController members private
andersca@apple.com [Thu, 12 Jan 2012 21:39:54 +0000 (21:39 +0000)]
Make ScrollElasticityController members private
https://bugs.webkit.org/show_bug.cgi?id=76208

Reviewed by Andreas Kling.

* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::endScrollGesture):
Call ScrollElasticityController::endScrollGesture.

* platform/mac/ScrollElasticityController.h:
Make members private.

* platform/mac/ScrollElasticityController.mm:
(WebCore::ScrollElasticityController::endScrollGesture):
Call snapRubberBand.

(WebCore::ScrollElasticityController::snapRubberBandTimerFired):
Call stopSnapRubberbandTimer.

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

10 years agoMove wheel event handling to ScrollElasticityController::handleWheelEvent
andersca@apple.com [Thu, 12 Jan 2012 21:28:51 +0000 (21:28 +0000)]
Move wheel event handling to ScrollElasticityController::handleWheelEvent
https://bugs.webkit.org/show_bug.cgi?id=76205

Reviewed by Andreas Kling.

Move the code in ScrollAnimatorMac::smoothScrollWithEvent to ScrollElasticityController::handleWheelEvent and
change ScrollAnimatorMac::handleWheelEvent to just call ScrollElasticityController::handleWheelEvent.
This means that we'll not set m_haveScrolledSincePageLoad = true anymore (we used to set it in ScrollAnimatorMac::smoothScrollWithEvent),
but we already set it to true in ScrollAnimatorMac::handleWheelEvent so it already had no effect.

* platform/mac/ScrollAnimatorMac.h:
* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::handleWheelEvent):
* platform/mac/ScrollElasticityController.h:
* platform/mac/ScrollElasticityController.mm:
(WebCore::elasticDeltaForReboundDelta):
(WebCore::scrollWheelMultiplier):
(WebCore::ScrollElasticityController::handleWheelEvent):

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

10 years agoBorders and box masks behave incorrectly with overlapping offsets
simon.fraser@apple.com [Thu, 12 Jan 2012 21:25:39 +0000 (21:25 +0000)]
Borders and box masks behave incorrectly with overlapping offsets
https://bugs.webkit.org/show_bug.cgi?id=76137

Source/WebCore:

Reviewed by Dave Hyatt.

When border-image-slice sizes add up to more than the height or width
of the border-image, the middle sections should not be rendered, per spec.

Test: fast/borders/border-image-slice-constrained.html

* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintNinePieceImage):

LayoutTests:

Reviewed by Dave Hyatt.

Testcase with border-image slices adding up to more than the height/width
of the border image.

Fixed cross-fade-webkit-mask-box-image.html to use slices that are half
of the image width.

* animations/cross-fade-webkit-mask-box-image.html:
* fast/borders/border-image-slice-constrained.html: Added.
* platform/mac/animations/cross-fade-webkit-mask-box-image-expected.png:
* platform/mac/fast/borders/border-image-slice-constrained-expected.png: Added.
* platform/mac/fast/borders/border-image-slice-constrained-expected.txt: Added.

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

10 years ago[GTK] [WebKit2] WebKitURIRequest and WebKitURIResponse should wrap the corresponding...
mrobinson@webkit.org [Thu, 12 Jan 2012 21:16:26 +0000 (21:16 +0000)]
[GTK] [WebKit2] WebKitURIRequest and WebKitURIResponse should wrap the corresponding WebCore classes
https://bugs.webkit.org/show_bug.cgi?id=74478

Reviewed by Gustavo Noronha Silva.

Have WebKitURIRequest wrap a ResourceRquesst and WebKitURIResponse wrap a ResourceResponse.
They are the WebCore types they are meant to represent and we will need to expose more
information from them in the future to make them useful. Later we can have ResourceResponse
generate a SoupMessage lazily if necessary.

* GNUmakefile.am:
* UIProcess/API/gtk/WebKitURIRequest.cpp:
(webkit_uri_request_class_init): Remove the set property vmethod.
(webkit_uri_request_new): The URI property is no longer settable.
(webkitURIRequestCreateForResourceRequest): Added this private constructor.
(webkit_uri_request_get_uri): Now we just get the URI directly from the ResourceRequest.
* UIProcess/API/gtk/WebKitURIResponse.cpp:
(webkit_uri_response_class_init): Remove the set property vmethod.
(webkit_uri_response_get_uri): Get the URI directly from the ResourceReponse.
(webkit_uri_response_get_status_code): Get the status code directly from the ResourceResponse.
(webkit_uri_response_get_content_length): Get the content length directly from the ResourceResponse.
(webkitURIResponseCreateForResourceResponse): Added this private constructor.
* UIProcess/API/gtk/WebKitURIResponsePrivate.h: Removed unnecessary methods.

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

10 years agoMake all calls to pinnedInDirection go through the ScrollElasticityController
andersca@apple.com [Thu, 12 Jan 2012 21:08:33 +0000 (21:08 +0000)]
Make all calls to pinnedInDirection go through the ScrollElasticityController
https://bugs.webkit.org/show_bug.cgi?id=76204

Reviewed by Andreas Kling.

* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::smoothScrollWithEvent):

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

10 years ago[chromium] Re-enable Skia feColorMatrix filter implementation.
senorblanco@chromium.org [Thu, 12 Jan 2012 20:50:25 +0000 (20:50 +0000)]
[chromium] Re-enable Skia feColorMatrix filter implementation.
https://bugs.webkit.org/show_bug.cgi?id=76186

Source/WebCore:

This code was landed in http://trac.webkit.org/changeset/104566 and
partially reverted in http://trac.webkit.org/changeset/104632 due
to problems with the Windows Shared builder.  Those problems have
been fixed in r3006, since rolled into Chrome.

Reviewed by Kenneth Russell.

Covered by SVG feColorMatrix tests.

* WebCore.gypi:
* platform/graphics/filters/FEColorMatrix.h:

LayoutTests:

Remove suppressions for tests which now pass.

Reviewed by Kenneth Russell.

* platform/chromium/test_expectations.txt:

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

10 years agoAdd allowsHorizontalStretching and allowsVerticalStretching to ScrollElasticityContro...
andersca@apple.com [Thu, 12 Jan 2012 20:43:02 +0000 (20:43 +0000)]
Add allowsHorizontalStretching and allowsVerticalStretching to ScrollElasticityControllerClient
https://bugs.webkit.org/show_bug.cgi?id=76202

Reviewed by Andreas Kling.

* platform/mac/ScrollAnimatorMac.h:
* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::allowsVerticalStretching):
(WebCore::ScrollAnimatorMac::allowsHorizontalStretching):
(WebCore::ScrollAnimatorMac::smoothScrollWithEvent):
* platform/mac/ScrollElasticityController.h:

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

10 years agoMove snapRubberBand to ScrollElasticityController
andersca@apple.com [Thu, 12 Jan 2012 20:25:19 +0000 (20:25 +0000)]
Move snapRubberBand to ScrollElasticityController
https://bugs.webkit.org/show_bug.cgi?id=76200

Reviewed by Andreas Kling.

* platform/mac/ScrollAnimatorMac.h:
* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::smoothScrollWithEvent):
(WebCore::ScrollAnimatorMac::endScrollGesture):
* platform/mac/ScrollElasticityController.h:
* platform/mac/ScrollElasticityController.mm:
(systemUptime):
(WebCore::ScrollElasticityController::snapRubberBand):

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

10 years agoREGRESSION(r104060): Setting user stylesheet may leave CSSStyleSelector with stale...
antti@apple.com [Thu, 12 Jan 2012 20:21:51 +0000 (20:21 +0000)]
REGRESSION(r104060): Setting user stylesheet may leave CSSStyleSelector with stale rule pointers
https://bugs.webkit.org/show_bug.cgi?id=76191

Source/WebCore:

Reviewed by Andreas Kling.

Setting the user style sheet frees the existing user style sheet data structures. The code
in Document::updatePageGroupUserSheets then relies on styleSelectorChanged to clear the
style selector so it is not left with stale pointers. However under certain conditions
involving pending stylesheets it may bail out quickly without clearing.

Document::styleSelectorChanged has to take care that it never leaves the style selector stale
even when bailing out early.

Test: fast/css/user-stylesheet-crash.html

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

LayoutTests:

Reviewed by Andreas Kling.

* fast/css/user-stylesheet-crash-expected.txt: Added.
* fast/css/user-stylesheet-crash.html: Added.

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

10 years ago[chromium] Turn off FrameRateController timesource when it is not needed
nduca@chromium.org [Thu, 12 Jan 2012 20:14:49 +0000 (20:14 +0000)]
[chromium] Turn off FrameRateController timesource when it is not needed
https://bugs.webkit.org/show_bug.cgi?id=76149

Reviewed by James Robinson.

Source/WebCore:

* platform/graphics/chromium/cc/CCDelayBasedTimeSource.h:
(WebCore::CCDelayBasedTimeSource::active):
* platform/graphics/chromium/cc/CCFrameRateController.cpp:
(WebCore::CCFrameRateController::setActive):
(WebCore::CCFrameRateController::onTimerTick):
* platform/graphics/chromium/cc/CCFrameRateController.h:
* platform/graphics/chromium/cc/CCScheduler.cpp:
(WebCore::CCScheduler::CCScheduler):
(WebCore::CCScheduler::setVisible):
(WebCore::CCScheduler::processScheduledActions):
* platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp:
(WebCore::CCSchedulerStateMachine::vsyncCallbackNeeded):
* platform/graphics/chromium/cc/CCSchedulerStateMachine.h:
* platform/graphics/chromium/cc/CCTimeSource.h:

Source/WebKit/chromium:

* tests/CCDelayBasedTimeSourceTest.cpp:
(WebKitTests::TEST):
* tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTest::timeout):
* tests/CCSchedulerStateMachineTest.cpp:
(WebCore::TEST):
* tests/CCSchedulerTest.cpp:
(WebKitTests::TEST):
* tests/CCSchedulerTestCommon.h:
(WebKitTests::FakeCCTimeSource::active):

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

10 years agowebkitpy: clean up port unit tests in preparation for making port_name mandatory
dpranke@chromium.org [Thu, 12 Jan 2012 20:06:34 +0000 (20:06 +0000)]
webkitpy: clean up port unit tests in preparation for making port_name mandatory
https://bugs.webkit.org/show_bug.cgi?id=76123

Reviewed by Adam Barth.

This change updates the unit tests to be more consistent in how
ports are created, in preparation for making port_name a
mandatory parameter to the constructor and removing any version
interpretation from it.

There should be no functional changes in this patch, but some
tests that are no longer relevant have been removed or reworked.

* Scripts/webkitpy/layout_tests/port/base_unittest.py:
(PortTest.test_get_option__default):
* Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
(ChromiumLinuxPortTest):
(ChromiumLinuxPortTest.assert_architecture):
(ChromiumLinuxPortTest.test_determine_architecture_fails):
* Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
(ChromiumMacPortTest):
* Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
(ChromiumPortTest):
(ChromiumPortTest.test_all_test_configurations):
(ChromiumPortTest.TestMacPort.__init__):
(ChromiumPortTest.TestLinuxPort.__init__):
(ChromiumPortTest.TestWinPort.__init__):
* Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
(ChromiumWinTest):
* Scripts/webkitpy/layout_tests/port/efl_unittest.py:
(EflPortTest):
* Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
(GtkPortTest):
* Scripts/webkitpy/layout_tests/port/mac_unittest.py:
(MacTest):
* Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
(MockDRTPortTest):
(MockDRTPortTest.make_port):
* Scripts/webkitpy/layout_tests/port/qt.py:
(QtPort._port_flag_for_scripts):
(QtPort.__init__):
* Scripts/webkitpy/layout_tests/port/qt_unittest.py:
(QtPortTest):
(QtPortTest._assert_search_path):
(QtPortTest.test_baseline_search_path):
(QtPortTest.test_operating_system):
* Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
(WebKitPortTest):
* Scripts/webkitpy/layout_tests/port/win_unittest.py:
(WinPortTest):
(WinPortTest._assert_search_path):
(WinPortTest.test_baseline_search_path):
* Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
(get_test_config.TestMacPort.__init__):

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

10 years agoMove snapRubberBandTimerFired to ScrollElasticityController
andersca@apple.com [Thu, 12 Jan 2012 20:04:31 +0000 (20:04 +0000)]
Move snapRubberBandTimerFired to ScrollElasticityController
https://bugs.webkit.org/show_bug.cgi?id=76196

Reviewed by Andreas Kling.

* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::snapRubberBandTimerFired):
* platform/mac/ScrollElasticityController.h:
* platform/mac/ScrollElasticityController.mm:
(WebCore::elasticDeltaForTimeDelta):
(WebCore::roundTowardZero):
(WebCore::roundToDevicePixelTowardZero):
(WebCore::ScrollElasticityController::snapRubberBandTimerFired):

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

10 years agotest-webkitpy: clean up logging and provide a real --help message
dpranke@chromium.org [Thu, 12 Jan 2012 19:55:31 +0000 (19:55 +0000)]
test-webkitpy: clean up logging and provide a real --help message
https://bugs.webkit.org/show_bug.cgi?id=76142

Reviewed by Adam Barth.

This test is mostly more refactoring - it calls objects in
unittest directly instead of routing through unittest.main() --
in order to gain more control over the logging and to provide a
correct --help message. This will also give us a better
foundation for adding more feautures down the road.

This patch adds different levels of logging controlled by the
'-s', '-q', and '-v' options (see --help for details), and
removes the --verbose-logging option.

* Scripts/test-webkitpy:
* Scripts/webkitpy/test/main.py:
(Tester):
(Tester.clean_packages):
(Tester.__init__):
(Tester.parse_args):
(Tester.configure):
(Tester._configure_logging):
(Tester.find_modules):
(Tester._exclude):
(Tester._modules_from_paths):
(Tester.run_tests):

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

10 years agoIndexedDB: Raise NON_TRANSIENT_ERR when invalid mode specified for transaction
commit-queue@webkit.org [Thu, 12 Jan 2012 19:39:35 +0000 (19:39 +0000)]
IndexedDB: Raise NON_TRANSIENT_ERR when invalid mode specified for transaction
https://bugs.webkit.org/show_bug.cgi?id=76072

Source/WebCore:

Spec was updated to detail what should be thrown: http://www.w3.org/Bugs/Public/show_bug.cgi?id=11406

Patch by Joshua Bell <jsbell@chromium.org> on 2012-01-12
Reviewed by Tony Chang.

Tests: storage/indexeddb/transaction-basics.html

* storage/IDBDatabase.cpp:
(WebCore::IDBDatabase::transaction):

LayoutTests:

Patch by Joshua Bell <jsbell@chromium.org> on 2012-01-12
Reviewed by Tony Chang.

* storage/indexeddb/transaction-basics-expected.txt:
* storage/indexeddb/transaction-basics.html:

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