WebKit-https.git
8 years ago[CMake] Add possibility to overwrite WEBKIT_PORT_DIR in platform specific files
paroga@webkit.org [Fri, 18 Nov 2011 17:49:11 +0000 (17:49 +0000)]
[CMake] Add possibility to overwrite WEBKIT_PORT_DIR in platform specific files
https://bugs.webkit.org/show_bug.cgi?id=72710

Reviewed by Brent Fulgham.

.:

* Source/CMakeLists.txt:

Source/WebKit:

* CMakeLists.txt:

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

8 years agoASSERTION FAILED: fontCache()->generation() == m_generation (running new-run-webkit...
steveblock@google.com [Fri, 18 Nov 2011 17:33:22 +0000 (17:33 +0000)]
ASSERTION FAILED: fontCache()->generation() == m_generation (running new-run-webkit-tests)
https://bugs.webkit.org/show_bug.cgi?id=59552

Add CRASH expectation for
fast/frames/sandboxed-iframe-parsing-space-characters.html on Mac 10.6
dbg.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

8 years ago[GTK] Accessibility API tests not loading Gtk's accessibility implementation
mario@webkit.org [Fri, 18 Nov 2011 17:05:18 +0000 (17:05 +0000)]
[GTK] Accessibility API tests not loading Gtk's accessibility implementation
https://bugs.webkit.org/show_bug.cgi?id=72732

Reviewed by Philippe Normand.

Ensure that the GAIL module is being loaded by avoiding using
gtk_test_init() directly, but a modified version of it.

* tests/testatk.c:
(testWebkitAtkParentForRootObject): Use a normal GtkWidget (a
GtkWindow) as the parent container for the webView, instead of
using a dummy webView for that, which was hackish.
(testWebkitAtkSetParentForObject): Use normal GtkWidgets instead
of dummy webViews (a GtkWindow and a GtkButton).
(initializeTestingFramework): New function, identical to
gtk_test_init(), but loading GAIL as the only GTK module.
(main): Use initializeTestingFramework().

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

8 years agoUnreviewed build fix; r100686 broke the EFL build when Geolocation
paroga@webkit.org [Fri, 18 Nov 2011 16:57:16 +0000 (16:57 +0000)]
Unreviewed build fix; r100686 broke the EFL build when Geolocation
support is enabled.

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-11-18

* platform/efl/GeolocationServiceEfl.cpp: Only declare
s_factoryFunction if CLIENT_BASED_GEOLOCATION is off, otherwise it is
also declared in GeolocationService.cpp.

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

8 years ago[TextureMapper] computePerspectiveTransformIfNeeded is called twice in TextureMapperN...
igor.oliveira@openbossa.org [Fri, 18 Nov 2011 16:43:45 +0000 (16:43 +0000)]
[TextureMapper] computePerspectiveTransformIfNeeded is called twice in TextureMapperNode::syncCompositingState
https://bugs.webkit.org/show_bug.cgi?id=72727

TextureMapperNode::computeAllTransforms already has a call to TextureMapperNode::computePerspectiveTransformIfNeeded,
so it does not need to be called again after TextureMapperNode::computeAllTransforms.

Reviewed by Noam Rosenthal.

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

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

8 years ago[Chromium] fast/filesystem/file-writer-abort-depth.html crashes occasionally on Win dbg
steveblock@google.com [Fri, 18 Nov 2011 16:38:46 +0000 (16:38 +0000)]
[Chromium] fast/filesystem/file-writer-abort-depth.html crashes occasionally on Win dbg
https://bugs.webkit.org/show_bug.cgi?id=72631

Add CRASH expectation for fast/filesystem/file-writer-abort.html on Linux.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

8 years ago[Qt] Guard for the viewportInteractionEngine as it doesn't always exist.
kenneth@webkit.org [Fri, 18 Nov 2011 16:18:53 +0000 (16:18 +0000)]
[Qt] Guard for the viewportInteractionEngine as it doesn't always exist.

Reviewed by Antonio Gomes.

The engine is non-existent when the view is configured to use desktop
behavior.

* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::handleWheelEvent):
(QtWebPageProxy::didFindZoomableArea):

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

8 years agoAdd test for strange scrollbars with non-integer scaled SVG image
commit-queue@webkit.org [Fri, 18 Nov 2011 16:03:00 +0000 (16:03 +0000)]
Add test for strange scrollbars with non-integer scaled SVG image
https://bugs.webkit.org/show_bug.cgi?id=43018

Patch by Philip Rogers <pdr@google.com> on 2011-11-18
Reviewed by Nikolas Zimmermann.

* svg/as-image/resources/green-non-integer-size-rect.svg: Added.
* svg/as-image/svg-non-integer-scaled-image-expected.png: Added.
* svg/as-image/svg-non-integer-scaled-image-expected.txt: Added.
* svg/as-image/svg-non-integer-scaled-image.html: Added.

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

8 years agoAnother attempt at rebaselining fast/box-shadow for Chromium Mac 10.5.
steveblock@google.com [Fri, 18 Nov 2011 15:47:36 +0000 (15:47 +0000)]
Another attempt at rebaselining fast/box-shadow for Chromium Mac 10.5.
It seems the rebaseline tool made a mess of
http://trac.webkit.org/changeset/100742.

Unreviewed gardening.

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

8 years agoInspector tests flakily crashing on Linux dbg canary
steveblock@google.com [Fri, 18 Nov 2011 15:43:28 +0000 (15:43 +0000)]
Inspector tests flakily crashing on Linux dbg canary
https://bugs.webkit.org/show_bug.cgi?id=72651

Add CRASH and TIMEOUT expectations for severla more tests.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

8 years ago[Chromium] fast/canvas/canvas-alphaImageData-behavior.html has TEXT failure on Mac...
steveblock@google.com [Fri, 18 Nov 2011 15:27:25 +0000 (15:27 +0000)]
[Chromium] fast/canvas/canvas-alphaImageData-behavior.html has TEXT failure on Mac 10.5 CG
https://bugs.webkit.org/show_bug.cgi?id=72728

Add a TEXT expectation for canvas/philip/tests/2d.imageData.put.unchanged.html.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

8 years ago[Chromium] fast/canvas/canvas-alphaImageData-behavior.html has TEXT failure on Mac...
steveblock@google.com [Fri, 18 Nov 2011 15:22:28 +0000 (15:22 +0000)]
[Chromium] fast/canvas/canvas-alphaImageData-behavior.html has TEXT failure on Mac 10.5 CG
https://bugs.webkit.org/show_bug.cgi?id=72728

Add a TEXT expectation.

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

8 years agoUnreviewed, skip another GTK crasher.
philn@webkit.org [Fri, 18 Nov 2011 14:58:59 +0000 (14:58 +0000)]
Unreviewed, skip another GTK crasher.

* platform/gtk/Skipped: Skip fast/borders/inline-mask-overlay-image-outset.html

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

8 years agoRebaseline remaining fast/ tests for Chromium Mac 10.5 CG after http://crrev.com...
steveblock@google.com [Fri, 18 Nov 2011 14:56:15 +0000 (14:56 +0000)]
Rebaseline remaining fast/ tests for Chromium Mac 10.5 CG after crrev.com/110543

Unreviewed gardening.

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

8 years ago[GTK] Send DidCreateDestination to DownloadProxy when destination has been created
carlosgc@webkit.org [Fri, 18 Nov 2011 14:50:57 +0000 (14:50 +0000)]
[GTK] Send DidCreateDestination to DownloadProxy when destination has been created
https://bugs.webkit.org/show_bug.cgi?id=72724

Reviewed by Martin Robinson.

* WebProcess/Downloads/soup/DownloadSoup.cpp:
(WebKit::DownloadClient::didReceiveResponse): Call
didCreateDestination() when destination URI has been successfully
created.

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

8 years ago[GTK] Cancel current download operation before download object is deleted
carlosgc@webkit.org [Fri, 18 Nov 2011 14:48:40 +0000 (14:48 +0000)]
[GTK] Cancel current download operation before download object is deleted
https://bugs.webkit.org/show_bug.cgi?id=72721

Reviewed by Martin Robinson.

It fixes a crash in the web process when a download finishes early
due to a failure.

* WebProcess/Downloads/soup/DownloadSoup.cpp:
(WebKit::Download::cancel): Delete current ResourceHandle.
(WebKit::Download::platformInvalidate): If there's a
ResourceHandle active, cancel the download operation and delete
the handle.
(WebKit::Download::platformDidFinish): Delete current ResourceHandle.

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

8 years ago[GTK] Downloads not started by WebView only fail for transport errors
carlosgc@webkit.org [Fri, 18 Nov 2011 14:45:57 +0000 (14:45 +0000)]
[GTK] Downloads not started by WebView only fail for transport errors
https://bugs.webkit.org/show_bug.cgi?id=72718

Reviewed by Martin Robinson.

Source/WebKit/gtk:

Abort the download with an error if the response contains an
error code. It adds a new test case to the download unit tests.

* tests/testdownload.c:
(notifyDownloadStatusCallback):
(serverCallback):
(test_webkit_download_not_found):
(main):
* webkit/webkitdownload.cpp:
(DownloadClient::didReceiveResponse): Check whether http status of
the response is an error code and emit error signal in such case.

Source/WebKit2:

* WebProcess/Downloads/soup/DownloadSoup.cpp:
(WebKit::DownloadClient::didReceiveResponse): Check if the http
status of the response is an error code and finish the download
with an error in such case.

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

8 years agoRebaseline remaining svg/ tests for Chromium Mac 10.5 CG after http://crrev.com/110543
steveblock@google.com [Fri, 18 Nov 2011 14:43:10 +0000 (14:43 +0000)]
Rebaseline remaining svg/ tests for Chromium Mac 10.5 CG after crrev.com/110543

Unreviewed gardening.

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

8 years ago[Qt] Support customizing JS alert/confirm/prompt dialogs using QML
caio.oliveira@openbossa.org [Fri, 18 Nov 2011 14:33:01 +0000 (14:33 +0000)]
[Qt] Support customizing JS alert/confirm/prompt dialogs using QML
https://bugs.webkit.org/show_bug.cgi?id=72319

Reviewed by Simon Hausmann.

Adds alertDialog, confirmDialog and promptDialog properties to QQuickWebView's
privateObject. These are QML components that are created by the webview when the
corresponding function is called in JS.

The dialogs are created in a context that contains a model object, similar to
ListView delegates. The "message" and "defaultValue" parameters are available
in the model object, as well as slots expected to be called by the dialog.

This commit removes the old code for supporting QWidget builtin dialogs. The code
wasn't working properly (closing any dialog was closing the app after QWindow
refactoring in Qt5).

* Target.pri:
* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::runJavaScriptAlert):
(QQuickWebViewPrivate::runJavaScriptConfirm):
(QQuickWebViewPrivate::runJavaScriptPrompt):
(QQuickWebViewExperimental::alertDialog):
(QQuickWebViewExperimental::setAlertDialog):
(QQuickWebViewExperimental::confirmDialog):
(QQuickWebViewExperimental::setConfirmDialog):
(QQuickWebViewExperimental::promptDialog):
(QQuickWebViewExperimental::setPromptDialog):
* UIProcess/API/qt/qquickwebview_p.h:
* UIProcess/API/qt/qquickwebview_p_p.h:
* UIProcess/API/qt/tests/qmltests/WebView/tst_javaScriptDialogs.qml: Added.
* UIProcess/API/qt/tests/qmltests/common/alert.html: Added.
* UIProcess/API/qt/tests/qmltests/common/confirm.html: Added.
* UIProcess/API/qt/tests/qmltests/common/prompt.html: Added.
* UIProcess/API/qt/tests/qmltests/qmltests.pro:
* UIProcess/qt/QtDialogRunner.cpp: Added.
(QtDialogRunner::QtDialogRunner):
(QtDialogRunner::~QtDialogRunner):
(DialogContextObject::DialogContextObject):
(DialogContextObject::message):
(DialogContextObject::defaultValue):
(DialogContextObject::dismiss):
(DialogContextObject::accept):
(DialogContextObject::reject):
(QtDialogRunner::initForAlert):
(QtDialogRunner::initForConfirm):
(QtDialogRunner::initForPrompt):
(QtDialogRunner::createDialog):
* UIProcess/qt/QtDialogRunner.h: Added.
(QtDialogRunner::wasAccepted):
(QtDialogRunner::result):
(QtDialogRunner::onAccepted):

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

8 years agoRebaseline fast/writing-mode for Chromium Mac 10.5 CG after http://crrev.com/110543
steveblock@google.com [Fri, 18 Nov 2011 14:23:01 +0000 (14:23 +0000)]
Rebaseline fast/writing-mode for Chromium Mac 10.5 CG after crrev.com/110543

Unreviewed gardening.

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

8 years agoFix compilation warning in ComplexTextControllerCoreText.mm
mihnea@adobe.com [Fri, 18 Nov 2011 14:16:28 +0000 (14:16 +0000)]
Fix compilation warning in ComplexTextControllerCoreText.mm
https://bugs.webkit.org/show_bug.cgi?id=72702

Reviewed by Andreas Kling.

No functionality changed, so no new tests.

* platform/graphics/mac/ComplexTextControllerCoreText.mm:
(WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):

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

8 years ago[Qt] Support wheel event together with resizesToContents
kenneth@webkit.org [Fri, 18 Nov 2011 14:15:13 +0000 (14:15 +0000)]
[Qt] Support wheel event together with resizesToContents

Reviewed by Simon Hausmann.

* UIProcess/API/qt/qquickwebpage.cpp:
* UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::wheelEvent):
* UIProcess/qt/QtViewportInteractionEngine.h:
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::handleWheelEvent):

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

8 years ago[Qt] Enable WebSocket hybi tests
yutak@chromium.org [Fri, 18 Nov 2011 14:00:33 +0000 (14:00 +0000)]
[Qt] Enable WebSocket hybi tests
https://bugs.webkit.org/show_bug.cgi?id=72687

Reviewed by Simon Hausmann.

Source/WebKit/qt:

* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::defaultHixie76WebSocketProtocolEnabled):
(DumpRenderTreeSupportQt::setHixie76WebSocketProtocolEnabled):
Call WebCore::Settings::setUseHixie76WebSocketProtocol() to switch WebSocket protocols.
* WebCoreSupport/DumpRenderTreeSupportQt.h:

Tools:

Let LayoutTestControllerQt be able to switch WebSocket protocols via overridePreference().

* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::WebPage::resetSettings):
* DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::overridePreference):

LayoutTests:

* platform/qt/Skipped:
Unskip WebSocket hybi tests. Skip some of them which are known to fail probably due to
a bug in SocketStreamHandleQt implementation.

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

8 years ago[Qt][WK2] Layer violation: WebPopupMenuProxyQtDesktop.cpp uses files from WebKit...
hausmann@webkit.org [Fri, 18 Nov 2011 13:56:59 +0000 (13:56 +0000)]
[Qt][WK2] Layer violation: WebPopupMenuProxyQtDesktop.cpp uses files from WebKit/qt https://bugs.webkit.org/show_bug.cgi?id=72696

Reviewed by Kenneth Rohde Christiansen.

Implement the WK2 desktop popup by simply subclassing QComboBox and doing the
same thing as QtWebComboBox from WK1 (a few lines of code).

* UIProcess/qt/WebPopupMenuProxyQtDesktop.cpp:
(WebKit::WebPopupMenuProxyQtDesktop::WebPopupMenuProxyQtDesktop):
(WebKit::WebPopupMenuProxyQtDesktop::~WebPopupMenuProxyQtDesktop):
(WebKit::WebPopupMenuProxyQtDesktop::showPopupMenu):
(WebKit::WebPopupMenuProxyQtDesktop::hidePopupMenu):
(WebKit::WebPopupMenuProxyQtDesktop::eventFilter):
(WebKit::WebPopupMenuProxyQtDesktop::setSelectedIndex):
(WebKit::WebPopupMenuProxyQtDesktop::populate):
* UIProcess/qt/WebPopupMenuProxyQtDesktop.h:

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

8 years agoRebaseline fast/repaint for Chromium Mac 10.5 CG after http://crrev.com/110543
steveblock@google.com [Fri, 18 Nov 2011 13:52:04 +0000 (13:52 +0000)]
Rebaseline fast/repaint for Chromium Mac 10.5 CG after crrev.com/110543

Unreviewed gardening.

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

8 years ago[Qt][WK2] setViewportInteractionEngine must also set the InteractionEngine for the...
zeno.albisser@nokia.com [Fri, 18 Nov 2011 13:48:58 +0000 (13:48 +0000)]
[Qt][WK2] setViewportInteractionEngine must also set the InteractionEngine for the tap recognizer.
https://bugs.webkit.org/show_bug.cgi?id=72717

Reviewed by Kenneth Rohde Christiansen.

* UIProcess/qt/QtTapGestureRecognizer.cpp:
(WebKit::QtTapGestureRecognizer::setViewportInteractionEngine):
* UIProcess/qt/QtTapGestureRecognizer.h:
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::setViewportInteractionEngine):
* UIProcess/qt/QtWebPageProxy.h:

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

8 years agoNot reviewed: restore front-end compilability via updating externs and JS generator.
pfeldman@chromium.org [Fri, 18 Nov 2011 13:45:42 +0000 (13:45 +0000)]
Not reviewed: restore front-end compilability via updating externs and JS generator.

* inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel.prototype.jumpToNextSearchResult):
(WebInspector.ElementsPanel.prototype.jumpToPreviousSearchResult):
* inspector/front-end/externs.js:
(WebInspector.showPanelForAnchorNavigation):
* inspector/generate-protocol-externs:

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

8 years ago[Qt][WK2] Fix popups for select elements.
hausmann@webkit.org [Fri, 18 Nov 2011 13:42:59 +0000 (13:42 +0000)]
[Qt][WK2] Fix popups for select elements.

Reviewed by Tor Arne Vestbø.

* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::createPopupMenuProxy): Fall back to the "desktop" implementation
for the moment. Better than nothing :)

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

8 years ago[Qt] Unreviewed debug build fix
hausmann@webkit.org [Fri, 18 Nov 2011 13:42:09 +0000 (13:42 +0000)]
[Qt] Unreviewed debug build fix

* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::QtWebPageProxy): Don't assert on a non-existant
variable.

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

8 years agoWeb Inspector: dispatch messages from the front-end to the backend asynchronously.
pfeldman@chromium.org [Fri, 18 Nov 2011 13:29:22 +0000 (13:29 +0000)]
Web Inspector: dispatch messages from the front-end to the backend asynchronously.
https://bugs.webkit.org/show_bug.cgi?id=72621

Source/WebCore:

We should align the way we dispatch messages from the front-end to backend across the environments:
  - WebKit has it synchronoulsly
  - Chromium has it asynchronously
  - Remote debugging has it asynchronously
Making it asynchronous made a number of flaky Qt tests pass.

Tests uncovered console agent problem that was also fixed.

Reviewed by Yury Semikhatsky.

* inspector/InspectorConsoleAgent.cpp:
(WebCore::InspectorConsoleAgent::clearFrontend):
* inspector/InspectorFrontendClient.h:
* inspector/InspectorFrontendClientLocal.cpp:
(WebCore::InspectorBackendDispatchTask::InspectorBackendDispatchTask):
(WebCore::InspectorBackendDispatchTask::dispatch):
(WebCore::InspectorBackendDispatchTask::reset):
(WebCore::InspectorBackendDispatchTask::onTimer):
(WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal):
(WebCore::InspectorFrontendClientLocal::windowObjectCleared):
(WebCore::InspectorFrontendClientLocal::sendMessageToBackend):
* inspector/InspectorFrontendClientLocal.h:

Source/WebKit/chromium:

Reviewed by Yury Semikhatsky.

* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::performDisconnectFromBackend):
* src/InspectorFrontendClientImpl.h:

LayoutTests:

Now that dispatching is asynchronous, timeline test needed a fix.

Reviewed by Yury Semikhatsky.

* inspector/timeline/timeline-script-tag-1.html:
* platform/qt/Skipped:

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

8 years ago[GTK][WK2] Invalid TestNetscapePlugin path when using new-run-webkit-tests
sergio@webkit.org [Fri, 18 Nov 2011 13:28:21 +0000 (13:28 +0000)]
[GTK][WK2] Invalid TestNetscapePlugin path when using new-run-webkit-tests
https://bugs.webkit.org/show_bug.cgi?id=72707

Reviewed by Philippe Normand.

Tools:

Make new-run-webkit-tests use the right path to locate the test
plugin used by WebKitTestRunner.

* Scripts/webkitpy/layout_tests/port/gtk.py:

LayoutTests:

Unskipped a test that is passing now.

* platform/gtk-wk2/Skipped: unskipped plugins/get-url-notify-with-url-that-fails-to-load.html

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

8 years ago[Qt] Unreviewed build fix: Export QQuickWebPage/Preferences private API
hausmann@webkit.org [Fri, 18 Nov 2011 13:16:21 +0000 (13:16 +0000)]
[Qt] Unreviewed build fix: Export QQuickWebPage/Preferences private API
needed for the qml plugin.

* Source/qtwebkit-export.map:

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

8 years agoRebaseline svg/custom for Chromium Mac 10.5 CG after http://crrev.com/110543
steveblock@google.com [Fri, 18 Nov 2011 13:15:07 +0000 (13:15 +0000)]
Rebaseline svg/custom for Chromium Mac 10.5 CG after crrev.com/110543

Unreviewed gardening.

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

8 years agoRebaseline svg/clip-path for Chromium Mac 10.5 CG after http://crrev.com/110543
steveblock@google.com [Fri, 18 Nov 2011 12:56:37 +0000 (12:56 +0000)]
Rebaseline svg/clip-path for Chromium Mac 10.5 CG after crrev.com/110543

Unreviewed gardening.

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

8 years ago[chromium] Pass screen refresh rate into compositor.
commit-queue@webkit.org [Fri, 18 Nov 2011 12:43:44 +0000 (12:43 +0000)]
[chromium] Pass screen refresh rate into compositor.
https://bugs.webkit.org/show_bug.cgi?id=71040

Patch by Iain Merrick <husky@google.com> on 2011-11-18
Reviewed by Tony Gentilcore.

Source/WebCore:

Covered by CCLayerTreeHostTest.

* platform/PlatformScreen.h:
* platform/chromium/PlatformScreenChromium.cpp:
(WebCore::screenRefreshRate):
* platform/chromium/PlatformSupport.h:
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore::CCSettings::CCSettings):
* platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::initializeImplOnImplThread):

Source/WebKit/chromium:

* public/WebScreenInfo.h:
(WebKit::WebScreenInfo::WebScreenInfo):
* src/PlatformSupport.cpp:
(WebCore::PlatformSupport::screenRefreshRate):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
* tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTest::runTest):

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

8 years ago[CSSShaders] Implement the computed style for mesh parameters of the custom() filter
steveblock@google.com [Fri, 18 Nov 2011 12:30:45 +0000 (12:30 +0000)]
[CSSShaders] Implement the computed style for mesh parameters of the custom() filter
https://bugs.webkit.org/show_bug.cgi?id=72478

Patch by Alexandru Chiculita <achicu@adobe.com> on 2011-11-18
Reviewed by Dean Jackson.

* css3/filters/custom-filter-property-computed-style-expected.txt:
* css3/filters/custom-filter-property-parsing-invalid-expected.txt:
* css3/filters/script-tests/custom-filter-property-computed-style.js:
* css3/filters/script-tests/custom-filter-property-parsing-invalid.js:

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

8 years ago[CSSShaders] Implement the computed style for mesh parameters of the custom() filter
achicu@adobe.com [Fri, 18 Nov 2011 12:12:46 +0000 (12:12 +0000)]
[CSSShaders] Implement the computed style for mesh parameters of the custom() filter
https://bugs.webkit.org/show_bug.cgi?id=72478

Reviewed by Dean Jackson.

Source/WebCore:

Added parsing and computed style for the mesh rows, columns, mesh box type
(filter-box, border-box, content-box and padding-box) and the detached mode.

Also fixed a case where "custom(none, 10, 10 filter-box)" was incorrectly
treated as "custom(none, 10)".

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::valueForFilter):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseCustomFilter): Fixed a case where invalid syntax was parsed as correct syntax.
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator CustomFilterOperation::MeshBoxType):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::createCustomFilterOperation):
* css/CSSValueList.h:
(WebCore::CSSValueListIterator::isPrimitiveValue):
* platform/graphics/filters/CustomFilterOperation.h:

LayoutTests:

* css3/filters/custom-filter-property-computed-style-expected.txt:
* css3/filters/custom-filter-property-parsing-invalid-expected.txt:
* css3/filters/script-tests/custom-filter-property-computed-style.js:
* css3/filters/script-tests/custom-filter-property-parsing-invalid.js:

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

8 years ago[Qt] Unreviewed build fix: Export QQuickWebViewExperimental private API
hausmann@webkit.org [Fri, 18 Nov 2011 11:50:02 +0000 (11:50 +0000)]
[Qt] Unreviewed build fix: Export QQuickWebViewExperimental private API
that was added since I made the export patch.

* Source/qtwebkit-export.map:

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

8 years ago[GTK] Accessibility API tests failing because of using non-WebKit GtkWidgets
mario@webkit.org [Fri, 18 Nov 2011 11:46:18 +0000 (11:46 +0000)]
[GTK] Accessibility API tests failing because of using non-WebKit GtkWidgets
https://bugs.webkit.org/show_bug.cgi?id=72708

Reviewed by Xan Lopez.

Do not use non-WebKit GtkWidget's in unit tests, to avoid problems
when GTK's accessibility implementation is not being loaded.

* tests/testatk.c:
(testWebkitAtkParentForRootObject): Use a dummy WebKitWebView
widget as the parent container needed for this unit test.
(testWebkitAtkSetParentForObject): Ditto.

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

8 years ago[Qt] WTR and InjectedBundle should not link statically against JSC/WTF https://bugs...
hausmann@webkit.org [Fri, 18 Nov 2011 11:41:10 +0000 (11:41 +0000)]
[Qt] WTR and InjectedBundle should not link statically against JSC/WTF https://bugs.webkit.org/show_bug.cgi?id=72697

Reviewed by Kenneth Rohde Christiansen.

.:

* Source/api.pri: On Linux, use a GNU LD version script to manage the
symbol exports, which includes the public WK1/WK2 API as well as a bunch
of private WTF symbols needed for WTR and the Injected Bundle.
* Source/qtwebkit-export.map: Added.

Tools:

* Tools.pro: Make WTR linux only for the moment.
* WebKitTestRunner/InjectedBundle/Target.pri: Remove static jsc/wtf linkage.
* WebKitTestRunner/Target.pri: Ditto.
* qmake/mkspecs/features/default_post.prf: Don't build the main webkit sources
with ELF visibility on Linux. Instead we're temporarily using an LD version script.

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

8 years agoOops, fix ChangeLog text
hausmann@webkit.org [Fri, 18 Nov 2011 11:35:49 +0000 (11:35 +0000)]
Oops, fix ChangeLog text

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

8 years ago[Qt] Removal of QtViewInterface part 3
hausmann@webkit.org [Fri, 18 Nov 2011 11:34:51 +0000 (11:34 +0000)]
[Qt] Removal of QtViewInterface part 3

Reviewed by Kenneth Rohde Christiansen.

Move the remaining forwarded calls from ClientImpl that went through
ViewInterface and then PageProxy or WebView to go straight to
QtWebPageProxy. QtViewInterface is empty now and therefore removed.

* Target.pri:
* UIProcess/API/qt/qquickwebpage_p.h:
* UIProcess/API/qt/qquickwebpage_p_p.h:
* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::initialize):
(QQuickWebViewPrivate::chooseFiles):
* UIProcess/API/qt/qquickwebview_p.h:
* UIProcess/API/qt/qquickwebview_p_p.h:
* UIProcess/qt/ClientImpl.cpp:
(qt_wk_runJavaScriptAlert):
(qt_wk_runJavaScriptConfirm):
(qt_wk_runJavaScriptPrompt):
(qt_wk_setStatusText):
(qt_wk_runOpenPanel):
(qt_wk_mouseDidMoveOverElement):
(setupPageUiClient):
* UIProcess/qt/QtViewInterface.cpp: Removed.
* UIProcess/qt/QtViewInterface.h: Removed.
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::QtWebPageProxy):
(QtWebPageProxy::didChangeStatusText):
(QtWebPageProxy::didMouseMoveOverElement):
(QtWebPageProxy::showContextMenu):
(QtWebPageProxy::hideContextMenu):
(QtWebPageProxy::runJavaScriptAlert):
(QtWebPageProxy::runJavaScriptConfirm):
(QtWebPageProxy::runJavaScriptPrompt):
(QtWebPageProxy::chooseFiles):
(QtWebPageProxy::createContextMenuProxy):
(QtWebPageProxy::didChangeLoadProgress):
* UIProcess/qt/QtWebPageProxy.h:
(QtWebPageProxy::contextMenuItemSelected):
* UIProcess/qt/WebContextMenuProxyQt.cpp:
(WebKit::WebContextMenuProxyQt::WebContextMenuProxyQt):
(WebKit::WebContextMenuProxyQt::create):
(WebKit::WebContextMenuProxyQt::hideContextMenu):
* UIProcess/qt/WebContextMenuProxyQt.h:

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

8 years ago[Qt] Change default size of the MiniBrowser
kenneth@webkit.org [Fri, 18 Nov 2011 11:33:07 +0000 (11:33 +0000)]
[Qt] Change default size of the MiniBrowser

Reviewed by Simon Hausmann.

As we lay out desktop pages using the width of 980, change our default
size to 980x735 so that we are not scaling down by default.

* MiniBrowser/qt/MiniBrowserApplication.h:
(WindowOptions::WindowOptions):

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

8 years agoRebaseline fast/box-shadow for Chromium Mac 10.5 after http://crrev.com/110543
steveblock@google.com [Fri, 18 Nov 2011 11:27:53 +0000 (11:27 +0000)]
Rebaseline fast/box-shadow for Chromium Mac 10.5 after crrev.com/110543

Unreviewed gardening.

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

8 years ago[Qt][WK2] UI process segfaults, when visiblity properties are set while the WebProces...
commit-queue@webkit.org [Fri, 18 Nov 2011 11:16:40 +0000 (11:16 +0000)]
[Qt][WK2] UI process segfaults, when visiblity properties are set while the WebProcess is dead.
https://bugs.webkit.org/show_bug.cgi?id=72699

The drawing area may be null, if the web process has crashed, but not yet recovered.
Always null check against drawing area.

Patch by Zalan Bujtas <zbujtas@gmail.com> on 2011-11-18
Reviewed by Simon Hausmann.

* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::setDrawingAreaSize):
(QtWebPageProxy::setVisibleContentRectAndScale):
(QtWebPageProxy::setVisibleContentRectTrajectoryVector):

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

8 years agoRemove unneeded include (and ifdef) from V8DOMWindowCustom.cpp
abarth@webkit.org [Fri, 18 Nov 2011 11:07:52 +0000 (11:07 +0000)]
Remove unneeded include (and ifdef) from V8DOMWindowCustom.cpp
https://bugs.webkit.org/show_bug.cgi?id=72705

Reviewed by Eric Seidel.

Death to ifdefs!

* bindings/v8/custom/V8DOMWindowCustom.cpp:

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

8 years ago[Qt] Removal of QtViewInterface part 1
hausmann@webkit.org [Fri, 18 Nov 2011 11:01:28 +0000 (11:01 +0000)]
[Qt] Removal of QtViewInterface part 1

Reviewed by Kenneth Rohde Christiansen.

Move all functions that forwarded from QtWebPageProxy to QtViewInterface and then
to QQuickWebView straight into QtWebPageProxy.

* UIProcess/API/qt/qquickwebpage_p.h:
* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::initialize):
* UIProcess/API/qt/qquickwebview_p_p.h:
* UIProcess/qt/QtViewInterface.cpp:
* UIProcess/qt/QtViewInterface.h:
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::QtWebPageProxy):
(QtWebPageProxy::setCursor):
(QtWebPageProxy::isViewWindowActive):
(QtWebPageProxy::isViewVisible):
(QtWebPageProxy::pageDidRequestScroll):
(QtWebPageProxy::didFinishFirstNonEmptyLayout):
(QtWebPageProxy::didChangeContentsSize):
(QtWebPageProxy::didChangeViewportProperties):
(QtWebPageProxy::toolTipChanged):
(QtWebPageProxy::didChangeUrl):
(QtWebPageProxy::didChangeTitle):
(QtWebPageProxy::loadDidBegin):
(QtWebPageProxy::loadDidCommit):
(QtWebPageProxy::loadDidSucceed):
(QtWebPageProxy::loadDidFail):
(QtWebPageProxy::didRelaunchProcess):
(QtWebPageProxy::processDidCrash):
(QtWebPageProxy::startDrag):
(QtWebPageProxy::didReceiveDownloadResponse):
* UIProcess/qt/QtWebPageProxy.h:

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

8 years agoRebaseline acid3.html for Chromium Mac 10.5
steveblock@google.com [Fri, 18 Nov 2011 10:54:04 +0000 (10:54 +0000)]
Rebaseline acid3.html for Chromium Mac 10.5

The image contains the text 'YOU SHOULD NOT SEE THIS AT ALL', but so do
all other Chromium expected results for this test, so I'm guessing this
is expected.

Unreviewed gardening.

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

8 years agoMove some mediastream related files into the mediastream directory
abarth@webkit.org [Fri, 18 Nov 2011 10:37:16 +0000 (10:37 +0000)]
Move some mediastream related files into the mediastream directory
https://bugs.webkit.org/show_bug.cgi?id=72695

Reviewed by Eric Seidel.

Just moving the files to the proper directory.

* GNUmakefile.list.am:
* WebCore.gypi:
* mediastream/NavigatorUserMediaError.h: Renamed from Source/WebCore/page/NavigatorUserMediaError.h.
(WebCore::NavigatorUserMediaError::create):
(WebCore::NavigatorUserMediaError::~NavigatorUserMediaError):
(WebCore::NavigatorUserMediaError::code):
(WebCore::NavigatorUserMediaError::NavigatorUserMediaError):
* mediastream/NavigatorUserMediaError.idl: Renamed from Source/WebCore/page/NavigatorUserMediaError.idl.
* mediastream/NavigatorUserMediaErrorCallback.h: Renamed from Source/WebCore/page/NavigatorUserMediaErrorCallback.h.
(WebCore::NavigatorUserMediaErrorCallback::~NavigatorUserMediaErrorCallback):
* mediastream/NavigatorUserMediaErrorCallback.idl: Renamed from Source/WebCore/page/NavigatorUserMediaErrorCallback.idl.
* mediastream/NavigatorUserMediaSuccessCallback.h: Renamed from Source/WebCore/page/NavigatorUserMediaSuccessCallback.h.
(WebCore::NavigatorUserMediaSuccessCallback::~NavigatorUserMediaSuccessCallback):
* mediastream/NavigatorUserMediaSuccessCallback.idl: Renamed from Source/WebCore/page/NavigatorUserMediaSuccessCallback.idl.

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

8 years ago[Qt] Removal of QtViewInterface part 1
hausmann@webkit.org [Fri, 18 Nov 2011 10:27:25 +0000 (10:27 +0000)]
[Qt] Removal of QtViewInterface part 1

Reviewed by Kenneth Rohde Christiansen.

Replace functions of QtViewInterface that forward to QQuickWebPage with direct
usage of QQuickWebPage. Also removed some dead code.

* UIProcess/API/qt/qquickwebpage.cpp:
(QQuickWebPage::sceneGraphUpdateQueue):
* UIProcess/API/qt/qquickwebpage_p.h:
* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::initialize):
* UIProcess/TiledDrawingAreaProxy.h:
* UIProcess/qt/QtViewInterface.cpp:
(WebKit::QtViewInterface::QtViewInterface):
(WebKit::QtViewInterface::isVisible):
* UIProcess/qt/QtViewInterface.h:
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::QtWebPageProxy):
(QtWebPageProxy::setViewNeedsDisplay):
(QtWebPageProxy::viewSize):
(QtWebPageProxy::isViewFocused):
(QtWebPageProxy::isViewVisible):
(QtWebPageProxy::didRelaunchProcess):
* UIProcess/qt/QtWebPageProxy.h:
(QtWebPageProxy::qmlWebPage):
* UIProcess/qt/TiledDrawingAreaProxyQt.cpp:

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

8 years agoWeb Inspector: [Extensions API] Provide a way for extension to create a status bar...
caseq@chromium.org [Fri, 18 Nov 2011 10:22:09 +0000 (10:22 +0000)]
Web Inspector: [Extensions API] Provide a way for extension to create a status bar icon
https://bugs.webkit.org/show_bug.cgi?id=45955

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/front-end/ExtensionAPI.js:
(injectedExtensionAPI.ExtensionPanelImpl.prototype.createStatusBarButton):
(injectedExtensionAPI):
(injectedExtensionAPI.ButtonImpl.prototype.update):
* inspector/front-end/ExtensionPanel.js:
(WebInspector.ExtensionPanel):
(WebInspector.ExtensionPanel.prototype.get statusBarItems):
(WebInspector.ExtensionPanel.prototype.addStatusBarItem):
(WebInspector.ExtensionButton):
(WebInspector.ExtensionButton.prototype.update):
(WebInspector.ExtensionButton.prototype._onClicked):
* inspector/front-end/ExtensionServer.js:
(WebInspector.ExtensionServer):
(WebInspector.ExtensionServer.prototype.notifyButtonClicked):
(WebInspector.ExtensionServer.prototype._onCreateStatusBarButton):
(WebInspector.ExtensionServer.prototype._onUpdateButton):
(WebInspector.ExtensionServer.prototype._onCreateSidebarPane):
* inspector/front-end/inspector.css:
(button.status-bar-item.extension):

LayoutTests:

* inspector/extensions/extensions-panel-expected.txt:
* inspector/extensions/extensions-panel.html:

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

8 years agoMediaStream API: Merging the PeerConnectionHandler.h files
commit-queue@webkit.org [Fri, 18 Nov 2011 10:05:16 +0000 (10:05 +0000)]
MediaStream API: Merging the PeerConnectionHandler.h files
https://bugs.webkit.org/show_bug.cgi?id=72611

Patch by Tommy Widenflycht <tommyw@google.com> on 2011-11-18
Reviewed by Adam Barth.

No actual code changes.

* GNUmakefile.am:
* GNUmakefile.list.am:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* platform/mediastream/PeerConnectionHandler.h: Renamed from Source/WebCore/platform/mediastream/chromium/PeerConnectionHandler.h.
* platform/mediastream/gstreamer/PeerConnectionHandler.h: Removed.

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

8 years agoUnreviewed, mark media/audio-garbage-collect.html flaky on GTK.
philn@webkit.org [Fri, 18 Nov 2011 09:04:59 +0000 (09:04 +0000)]
Unreviewed, mark media/audio-garbage-collect.html flaky on GTK.

* platform/gtk/test_expectations.txt:

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

8 years ago[Qt] fast/canvas/canvas-lineWidth.html timeouts intermittently on 64 bit
ossy@webkit.org [Fri, 18 Nov 2011 08:36:04 +0000 (08:36 +0000)]
[Qt] fast/canvas/canvas-lineWidth.html timeouts intermittently on 64 bit
https://bugs.webkit.org/show_bug.cgi?id=72694

* platform/qt/Skipped: Skip fast/canvas/canvas-lineWidth.html until fix.

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

8 years ago[Qt] Layer violation: ThirdPartyCookiesQt.cpp uses QWebSettings in two places https...
hausmann@webkit.org [Fri, 18 Nov 2011 08:21:55 +0000 (08:21 +0000)]
[Qt] Layer violation: ThirdPartyCookiesQt.cpp uses QWebSettings in two places https://bugs.webkit.org/show_bug.cgi?id=72597

Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Moved code that queries the third party cookie policy from QWebSettings
out of WebCore. Instead NetworkingContext has now the interface that allows
delegating the functionality into WebKit/qt.

In order to do that we need to pass the NetworkingContext around, which is used to
retrieve the cookie jar and the originating frame object pointer.

* platform/network/NetworkingContext.h: Add interface.
* platform/network/qt/QNetworkReplyHandler.cpp:
(WebCore::QNetworkReplyHandler::QNetworkReplyHandler): Pass NetworkingContext to ResourceRequest::toNetworkRequest.
(WebCore::QNetworkReplyHandler::redirect): Ditto.
* platform/network/qt/ResourceRequest.h: Replaced originatingObject parameter with NetworkingContext, which can
also provide the same plus more (cookie jar, policy callback).
* platform/network/qt/ResourceRequestQt.cpp:
(WebCore::ResourceRequest::toNetworkRequest): Ditto.
* platform/qt/CookieJarQt.cpp: Simplify to use NetworkingContext to get cookie jar and
call new thirdPartyCookiePolicyPermits API that takes the context as parameter.
(WebCore::networkingContext):
(WebCore::setCookies):
(WebCore::cookies):
(WebCore::cookieRequestHeaderFieldValue):
(WebCore::cookiesEnabled):
* platform/qt/ThirdPartyCookiesQt.cpp: Replace up-casting to QWebFrame and use of QWebSettings
with useage of NetworkingContext.
(WebCore::thirdPartyCookiePolicyPermits):
* platform/qt/ThirdPartyCookiesQt.h:

Source/WebKit/qt:

Implemented NetworkingContext::thirdPartyCookiePolicyPermission, which queries
QWebSettings.

* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows): Adapt to the
changed thirdPartyCookiePolicyPermits WebCore API that operates on a networking context.
* WebCoreSupport/DumpRenderTreeSupportQt.h:
* WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): Pass networking
context to ResourceRequest::toNetworkRequest.
(WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): Ditto.
(WebCore::FrameLoaderClientQt::startDownload): Ditto.
* WebCoreSupport/FrameNetworkingContextQt.cpp:
(WebCore::FrameNetworkingContextQt::thirdPartyCookiePolicyPermission): Implement.
* WebCoreSupport/FrameNetworkingContextQt.h:
* tests/qwebpage/tst_qwebpage.cpp:
(tst_QWebPage::thirdPartyCookiePolicy): Adapt to QtDRTSupport API change.

Source/WebKit2:

Stub implementation of new NetworkingContext::thirdPartyCookiePolicyPermission
API.

* WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.cpp:
(WebCore::WebFrameNetworkingContext::thirdPartyCookiePolicyPermission):
* WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h:

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

8 years ago[Qt] REGRESSION(r100510): Enable 8 Bit Strings in JavaScriptCore
loki@webkit.org [Fri, 18 Nov 2011 07:42:03 +0000 (07:42 +0000)]
[Qt] REGRESSION(r100510): Enable 8 Bit Strings in JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=72602

Unskip tests after the fix on Qt.

* platform/qt/Skipped:

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

8 years ago[Qt] REGRESSION(r100510): Enable 8 Bit Strings in JavaScriptCore
loki@webkit.org [Fri, 18 Nov 2011 07:41:48 +0000 (07:41 +0000)]
[Qt] REGRESSION(r100510): Enable 8 Bit Strings in JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=72602

Fixed StringImpl::foldCase by adding return in the case we need to handle
folding of 8 bit strings with Latin-1 characters.

Fixed case where StringImpl::replace was using a char temp instead of an
LChar temp.

Because of the second change, I changed other uses of char or
unsigned char to LChar.

Patch by Michael Saboff <msaboff@apple.com> on 2011-11-17
Reviewed by Zoltan Herczeg.

* wtf/text/StringImpl.cpp:
(WTF::StringImpl::upper):
(WTF::StringImpl::foldCase):
(WTF::equal):
(WTF::equalIgnoringCase):
(WTF::StringImpl::replace):

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

8 years agocrash: WebCore::FontPlatformData::roundsGlyphAdvances on Lion
bashi@chromium.org [Fri, 18 Nov 2011 07:27:00 +0000 (07:27 +0000)]
crash: WebCore::FontPlatformData::roundsGlyphAdvances on Lion
https://bugs.webkit.org/show_bug.cgi?id=71997

Reviewed by Dan Bernstein.

The cause is a null dereference of a fontData that is stored in
ComplexTextRun. The fontData is initialized by using the
fontCache, but it could be null when the font is in fallback
list. The reason a font from the fallback list might not be in the
font Cache is that it may be a web font. Before looking up the
fontCache, try to see whether the font is in the fallback list.

No new tests. We don't have webfonts that can produce the problem.

* platform/graphics/mac/ComplexTextControllerCoreText.mm:
(WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText): See fallback list first, then lookup cache.

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

8 years agoRemove initProgressEvent method
commit-queue@webkit.org [Fri, 18 Nov 2011 06:57:05 +0000 (06:57 +0000)]
Remove initProgressEvent method
https://bugs.webkit.org/show_bug.cgi?id=71340

Patch by Kaustubh Atrawalkar <kaustubh@motorola.com> on 2011-11-17
Reviewed by Adam Barth.

This method has been removed from the spec draft.
http://www.w3.org/TR/progress-events/#interface-progressevent

Source/WebCore:

No new tests. Removed method.

* dom/ProgressEvent.cpp:
* dom/ProgressEvent.h:
* dom/ProgressEvent.idl:

LayoutTests:

No new tests. Removed method. Updated expected results.

* fast/dom/non-numeric-values-numeric-parameters-expected.txt:
* fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
* fast/events/init-events-expected.txt:
* fast/events/script-tests/init-events.js:
* fast/xmlhttprequest/xmlhttprequest-get-expected.txt:
* platform/chromium-cg-mac/fast/xmlhttprequest/xmlhttprequest-get-expected.txt:
* platform/chromium-mac/fast/xmlhttprequest/xmlhttprequest-get-expected.txt:
* platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-get-expected.txt:

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

8 years ago[EFL] Move keyIdentifierForEvasKeyName() and windowsKeyCodeForEvasKeyName() to the
commit-queue@webkit.org [Fri, 18 Nov 2011 06:14:11 +0000 (06:14 +0000)]
[EFL] Move keyIdentifierForEvasKeyName() and windowsKeyCodeForEvasKeyName() to the
EflKeyboardUtilities.cpp to use in the WebKit2
https://bugs.webkit.org/show_bug.cgi?id=62451

Patch by Eunmi Lee <eunmi15.lee@samsung.com> on 2011-11-17
Reviewed by Martin Robinson.

The keyIdentifierForEvasKeyName() and windowsKeyCodeForEvasKeyName() were static functions
in the PlatformKeyboardEventEfl.cpp. But they are also needed in the WebKit2 EFL port, so I
moved them to the separated file - EflKeyboardUtilities.cpp.

* PlatformEfl.cmake:
* platform/efl/EflKeyboardUtilities.cpp: Copied from Source/WebCore/platform/efl/PlatformKeyboardEventEfl.cpp.
(WebCore::createKeyMap):
(WebCore::createWindowsKeyMap):
(WebCore::keyIdentifierForEvasKeyName):
(WebCore::windowsKeyCodeForEvasKeyName):
* platform/efl/EflKeyboardUtilities.h: Added.
* platform/efl/PlatformKeyboardEventEfl.cpp:

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

8 years ago[GTK] The process freezes when you right click on windowless Flash
mrobinson@webkit.org [Fri, 18 Nov 2011 06:09:25 +0000 (06:09 +0000)]
[GTK] The process freezes when you right click on windowless Flash
https://bugs.webkit.org/show_bug.cgi?id=69123

Reviewed by Xan Lopez.

Source/WebCore:

No new tests. I tried to create a layout test that exercised this
issue, but it appears that EventSender clicks do not trigger
it. This is covered by the manual tests containing Flash.

* plugins/PluginPackage.cpp:
(WebCore::PluginPackage::determineQuirks): Always activate the
windowless Flash quirk if on x86_64 and X11.
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::handleMouseEvent): Avoid sending right-click
events if we have the quirk.

Source/WebKit2:

Add a new plugin quirk for dealing with right-clicking on
windowless Flash on x86_64 machines. This already exists for
WebKit1.

* Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:
(WebKit::NetscapePluginModule::determineQuirks): If the plugin is
Flash and we are on x86_64, then disable sending right-clicking
events while in windowless mode.
* Shared/Plugins/PluginQuirks.h: Add the new quirk.
* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
(WebKit::NetscapePlugin::platformHandleMouseEvent): If the quirk
is active  don't send right click events.

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

8 years ago[EFL] Add matrix list to reuse tile matrix for each different zoom level.
commit-queue@webkit.org [Fri, 18 Nov 2011 05:52:34 +0000 (05:52 +0000)]
[EFL] Add matrix list to reuse tile matrix for each different zoom level.
https://bugs.webkit.org/show_bug.cgi?id=68595

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2011-11-17
Reviewed by Kenneth Rohde Christiansen.

Add matrix list to keep each tile matrix corresponding to each different zoom level when zoom level is changed.
Then backing store can reuse tile matrix by getting it from this matrix list.

* ewk/ewk_tiled_backing_store.cpp:
(_ewk_tiled_backing_store_model_matrix_create):
(_ewk_tiled_backing_store_smart_calculate):
(_ewk_tiled_backing_store_zoom_set_internal):
* ewk/ewk_tiled_matrix.cpp:
(ewk_tile_matrix_entry_get):
(_ewk_tile_matrix_cell_free):
(_ewk_tile_matrix_tile_free):
(ewk_tile_matrix_new):
(ewk_tile_matrix_zoom_level_set):
(ewk_tile_matrix_invalidate):
(ewk_tile_matrix_free):
(ewk_tile_matrix_tile_new):
* ewk/ewk_tiled_matrix.h:

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

8 years agoWeb Inspector: clear fixme in generator script
loislo@chromium.org [Fri, 18 Nov 2011 05:47:57 +0000 (05:47 +0000)]
Web Inspector: clear fixme in generator script
https://bugs.webkit.org/show_bug.cgi?id=71372

Remove unnecessary field name map and update license year number.

Patch by Peter Rybin <peter.rybin@gmail.com> on 2011-11-17
Reviewed by Pavel Feldman.

* inspector/CodeGeneratorInspector.py:

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

8 years ago[EFL] Clean up the use of DATA_DIR in the buildsystem
commit-queue@webkit.org [Fri, 18 Nov 2011 05:43:02 +0000 (05:43 +0000)]
[EFL] Clean up the use of DATA_DIR in the buildsystem
https://bugs.webkit.org/show_bug.cgi?id=72681

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-11-17
Reviewed by Daniel Bates.

.:

* Source/cmake/OptionsEfl.cmake: Rename DATA_DIR to DATA_INSTALL_DIR
and add it to the cache; add a variable with the path of the generated
theme and remove the -DDATA_DIR definition, it was moved to
PlatformEFL.cmake in WebCore.

Source/WebCore:

Add the -DDATA_DIR definition here instead of defining it globally in
OptionsEfl.cmake, as WebCore is the only place which needs it.

No new tests, this is a buildsystem change.

* PlatformEfl.cmake:

Source/WebKit/efl:

Instead of messing with BUILD_DATA_DIR and PARENT_SCOPE, just use
THEME_BINARY_DIR as defined in OptionsEfl.cmake.

* CMakeListsEfl.txt:

Tools:

Instead of adding -DDATA_DIR in all scopes, only define it in
WebCore/PlatformEFL.cmake, as WebCore is the only place that uses
it.

We can then define DATA_DIR to the generated theme directory for
EWebLauncher, since it's what we want here.

* CMakeListsEfl.txt:

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

8 years agoMove JS recursion counter from V8Proxy to V8BindingPerIsolateData
adamk@chromium.org [Fri, 18 Nov 2011 05:41:33 +0000 (05:41 +0000)]
Move JS recursion counter from V8Proxy to V8BindingPerIsolateData
https://bugs.webkit.org/show_bug.cgi?id=72645

Reviewed by Adam Barth.

Source/WebCore:

With the JS recursion level stored as a member of V8Proxy, it's tied
to a frame. But this is incorrect, as there's no reason that a JS call
stack need be restricted to a single frame (see my new test case for
an example of code going across frames).

In order to get the correct accounting of JS recursion level, per-Isolate
is the right granularity (per dslomov), which is what this patch accomplishes.

Test: storage/indexeddb/transaction-abort-with-js-recursion-cross-frame.html

* bindings/v8/V8Binding.cpp:
(WebCore::V8BindingPerIsolateData::V8BindingPerIsolateData):
* bindings/v8/V8Binding.h:
(WebCore::V8BindingPerIsolateData::recursionLevel):
(WebCore::V8BindingPerIsolateData::incrementRecursionLevel):
(WebCore::V8BindingPerIsolateData::decrementRecursionLevel):
(WebCore::V8RecursionScope::V8RecursionScope):
(WebCore::V8RecursionScope::~V8RecursionScope):
* bindings/v8/V8Proxy.cpp:
(WebCore::incrementRecursionLevel):
(WebCore::decrementRecursionLevel):
(WebCore::recursionLevel):
(WebCore::V8Proxy::V8Proxy):
(WebCore::V8Proxy::runScript):
(WebCore::V8Proxy::callFunction):
(WebCore::V8Proxy::didLeaveScriptContext):
* bindings/v8/V8Proxy.h:

LayoutTests:

Added tests to exercise new timing of call to V8Proxy::didLeaveScriptContext().

* storage/indexeddb/transaction-abort-with-js-recursion-cross-frame-expected.txt: Added.
* storage/indexeddb/transaction-abort-with-js-recursion-cross-frame.html: Added.

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

8 years ago[EFL] Move platform includes last in DRT's include directories.
commit-queue@webkit.org [Fri, 18 Nov 2011 05:38:57 +0000 (05:38 +0000)]
[EFL] Move platform includes last in DRT's include directories.
https://bugs.webkit.org/show_bug.cgi?id=72684

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-11-17
Reviewed by Daniel Bates.

This is the first step in fixing the build when a platform include (in
this case, Valgrind 3.7.0 ships its config.h) and the wrong config.h
is included instead of WebKit's.

* DumpRenderTree/efl/CMakeLists.txt:

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

8 years ago[chromium] acid3.html didn't actually get rebaselined like I wanted.
pkasting@chromium.org [Fri, 18 Nov 2011 05:30:05 +0000 (05:30 +0000)]
[chromium] acid3.html didn't actually get rebaselined like I wanted.

Unreviewed, gardening.

* platform/chromium-mac-snowleopard/http/tests/misc/acid3-expected.png:
* platform/chromium/test_expectations.txt:

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

8 years ago[chromium] Font::drawComplexText can not draw a segment of text run
commit-queue@webkit.org [Fri, 18 Nov 2011 05:25:01 +0000 (05:25 +0000)]
[chromium] Font::drawComplexText can not draw a segment of text run
https://bugs.webkit.org/show_bug.cgi?id=72095

Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2011-11-17
Reviewed by Adam Barth.

Source/WebCore:

drawComplexText() should respect the 'from' and 'to' arguments.
Drawing the whole text run may result in text overlapping.

Test: platform/chromium-linux/fast/text/international/draw-complex-text-from-to.html

* platform/graphics/chromium/ComplexTextControllerLinux.cpp:
(WebCore::ComplexTextController::glyphsForRange):
* platform/graphics/chromium/ComplexTextControllerLinux.h:
* platform/graphics/chromium/FontLinux.cpp:
(WebCore::Font::drawComplexText):

LayoutTests:

* platform/chromium-linux/fast/text/international/draw-complex-text-from-to-expected.png: Added.
* platform/chromium-linux/fast/text/international/draw-complex-text-from-to-expected.txt: Added.
* platform/chromium-linux/fast/text/international/draw-complex-text-from-to.html: Added.

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

8 years ago[chromium] Fix broken expectation.
pkasting@chromium.org [Fri, 18 Nov 2011 05:02:58 +0000 (05:02 +0000)]
[chromium] Fix broken expectation.

Unreviewed, gardening.

* platform/chromium/test_expectations.txt:

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

8 years agoUnique SecurityOrigins shouldn't remember their old schemes and hosts
abarth@webkit.org [Fri, 18 Nov 2011 04:58:44 +0000 (04:58 +0000)]
Unique SecurityOrigins shouldn't remember their old schemes and hosts
https://bugs.webkit.org/show_bug.cgi?id=71745

Reviewed by Darin Adler.

This is the final step in this series of patches.

This patch removes the forceUnique flag from SecurityOrigin::create.
Now, we create unique origins without passing in the document's URL,
preventing information from the document's URL from leaking into the
unique origin.

* WebCore.exp.in:
* dom/Document.cpp:
(WebCore::Document::setIsViewSource):
(WebCore::Document::initSecurityContext):
* loader/cache/MemoryCache.cpp:
(WebCore::MemoryCache::getOriginsWithCache):
    - Update this callsite to use createFromString, which does exactly
      what this code is doing manually.
* page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::create):
* page/SecurityOrigin.h:

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

8 years agoPointer Lock: Page Settings unecessary
scheib@chromium.org [Fri, 18 Nov 2011 04:55:18 +0000 (04:55 +0000)]
Pointer Lock: Page Settings unecessary
https://bugs.webkit.org/show_bug.cgi?id=72662

Reviewed by Darin Fisher.

Source/WebCore:

No new tests.

* page/Settings.cpp:
(WebCore::Settings::Settings):
* page/Settings.h:

Source/WebKit/chromium:

* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
* src/WebSettingsImpl.h:

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

8 years ago[chromium] Don't clamp minimumPageScaleFactor when doc width is zero
commit-queue@webkit.org [Fri, 18 Nov 2011 04:23:10 +0000 (04:23 +0000)]
[chromium] Don't clamp minimumPageScaleFactor when doc width is zero
https://bugs.webkit.org/show_bug.cgi?id=72679

Patch by Alexandre Elias <aelias@google.com> on 2011-11-17
Reviewed by James Robinson.

For a brief period during initialization, the document width can be
zero.  In that situation, don't try to limit minimumPageScaleFactor
to the document size.

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setPageScaleFactorLimits):

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

8 years ago[chromium] Try to rebaseline more tests.
pkasting@chromium.org [Fri, 18 Nov 2011 04:13:39 +0000 (04:13 +0000)]
[chromium] Try to rebaseline more tests.

Unreviewed, gardening.

* platform/chromium-cg-mac-leopard/fast/box-shadow/box-shadow-clipped-slices-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/box-shadow/single-pixel-shadow-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/css/shadow-multiple-expected.png:
* platform/chromium-cg-mac-snowleopard/fast/layers/layer-absolute-parent-opacity-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/repaint/moving-shadow-on-path-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/repaint/moving-shadow-on-path-expected.txt: Added.
* platform/chromium-cg-mac/fast/repaint/moving-shadow-on-path-expected.png: Removed.
* platform/chromium-linux-x86/fast/box-shadow/box-shadow-clipped-slices-expected.png: Added.
* platform/chromium-linux-x86/fast/box-shadow/single-pixel-shadow-expected.png: Added.
* platform/chromium-linux/fast/box-shadow/box-shadow-clipped-slices-expected.png: Added.
* platform/chromium-linux/fast/box-shadow/single-pixel-shadow-expected.png: Added.
* platform/chromium-linux/fast/css/shadow-multiple-expected.png: Added.
* platform/chromium-mac-leopard/fast/box-shadow/box-shadow-clipped-slices-expected.png: Added.
* platform/chromium-mac-leopard/fast/box-shadow/single-pixel-shadow-expected.png: Added.
* platform/chromium-mac-leopard/fast/css/color-correction-on-box-shadow-expected.png: Removed.
* platform/chromium-mac-leopard/fast/css/color-correction-on-text-shadow-expected.png: Removed.
* platform/chromium-mac-leopard/fast/css/shadow-multiple-expected.png: Added.
* platform/chromium-mac-leopard/fast/multicol/shadow-breaking-expected.png:
* platform/chromium-mac-snowleopard/fast/box-shadow/box-shadow-clipped-slices-expected.png:
* platform/chromium-mac-snowleopard/fast/box-shadow/single-pixel-shadow-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/shadow-multiple-expected.png:
* platform/chromium-mac-snowleopard/fast/layers/layer-absolute-parent-opacity-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/shadow-breaking-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/moving-shadow-on-path-expected.png: Added.
* platform/chromium-mac/fast/css/color-correction-on-box-shadow-expected.png: Removed.
* platform/chromium-mac/fast/css/color-correction-on-text-shadow-expected.png: Removed.
* platform/chromium-mac/fast/multicol/shadow-breaking-expected.png: Removed.
* platform/chromium-mac/fast/repaint/moving-shadow-on-path-expected.png: Removed.
* platform/chromium-win-xp/fast/css/shadow-multiple-expected.png: Added.
* platform/chromium-win-xp/fast/multicol/shadow-breaking-expected.png:
* platform/chromium-win/fast/box-shadow/box-shadow-clipped-slices-expected.png: Added.
* platform/chromium-win/fast/box-shadow/single-pixel-shadow-expected.png: Added.
* platform/chromium-win/fast/css/shadow-multiple-expected.png:
* platform/chromium-win/fast/multicol/shadow-breaking-expected.png:
* platform/chromium/test_expectations.txt:

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

8 years ago[chromium] Disable incremental uploading in threaded compositing path
commit-queue@webkit.org [Fri, 18 Nov 2011 04:09:06 +0000 (04:09 +0000)]
[chromium] Disable incremental uploading in threaded compositing path
https://bugs.webkit.org/show_bug.cgi?id=72669

Patch by James Robinson <jamesr@chromium.org> on 2011-11-17
Reviewed by Kenneth Russell.

Since we don't currently support atomic incremental uploads, incremental uploads in the threaded path result in
very strange-looking texture popping as tiles come in on pages that require more than 16 tile uploads per frame.
This disables that logic (by setting the upload limit per frame to 99999) until we handle the incremental
updates in an atomic fashion.

* platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::scheduledActionUpdateMoreResources):

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

8 years ago[chromium] Attempt to rebaseline a test after http://crrev.com/110053 .
pkasting@chromium.org [Fri, 18 Nov 2011 02:51:09 +0000 (02:51 +0000)]
[chromium] Attempt to rebaseline a test after crrev.com/110053 .

Unreviewed, gardening.

* platform/chromium-linux-x86/fast/repaint/moving-shadow-on-path-expected.txt: Copied from platform/chromium-linux/fast/repaint/moving-shadow-on-path-expected.txt.
* platform/chromium-linux/fast/repaint/moving-shadow-on-path-expected.png:
* platform/chromium-mac/fast/repaint/moving-shadow-on-path-expected.png:
* platform/chromium/test_expectations.txt:

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

8 years ago[chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
nduca@chromium.org [Fri, 18 Nov 2011 02:08:29 +0000 (02:08 +0000)]
[chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
https://bugs.webkit.org/show_bug.cgi?id=71638

Reviewed by James Robinson.

Source/WebCore:

* platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::CCThreadProxy):
(WebCore::CCThreadProxy::setNeedsAnimate):
(WebCore::CCThreadProxy::beginFrameAndCommit):

Source/WebKit/chromium:

* tests/CCLayerTreeHostTest.cpp:
(TestHooks::animateAndLayout):
(MockLayerTreeHostClient::animateAndLayout):
(CCLayerTreeHostTest::postSetNeedsAnimateToMainThread):
(CCLayerTreeHostTest::dispatchSetNeedsAnimate):
(CCLayerTreeHostTestSetNeedsAnimate::CCLayerTreeHostTestSetNeedsAnimate):
(CCLayerTreeHostTestSetNeedsAnimate::beginTest):
(CCLayerTreeHostTestSetNeedsAnimate::animateAndLayout):
(CCLayerTreeHostTestSetNeedsAnimate::drawLayersOnCCThread):
(CCLayerTreeHostTestSetNeedsAnimate::afterTest):

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

8 years ago[chromium] Mark some inspector tests as flakily crashing.
pkasting@chromium.org [Fri, 18 Nov 2011 01:46:47 +0000 (01:46 +0000)]
[chromium] Mark some inspector tests as flakily crashing.
https://bugs.webkit.org/show_bug.cgi?id=72651

Unreviewed, gardening.

* platform/chromium/test_expectations.txt:

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

8 years agoRemove bogus ASSERT.
abarth@webkit.org [Fri, 18 Nov 2011 01:46:39 +0000 (01:46 +0000)]
Remove bogus ASSERT.

* page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::SecurityOrigin):

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

8 years agoUnreviewed, rolling out r100698.
pkasting@chromium.org [Fri, 18 Nov 2011 01:28:56 +0000 (01:28 +0000)]
Unreviewed, rolling out r100698.
http://trac.webkit.org/changeset/100698
https://bugs.webkit.org/show_bug.cgi?id=72239

This change wasn't the problem either.

Source/WebCore:

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

LayoutTests:

* accessibility/loading-iframe-sends-notification.html: Copied from LayoutTests/accessibility/loading-iframe-sends-notification.html.
* platform/chromium/accessibility/loading-iframe-sends-notification-expected.txt: Copied from LayoutTests/platform/chromium/accessibility/loading-iframe-sends-notification-expected.txt.

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

8 years ago[chromium] Don't include internal GTK headers so we build with GTK_DISABLE_SINGLE_INC...
commit-queue@webkit.org [Fri, 18 Nov 2011 01:21:45 +0000 (01:21 +0000)]
[chromium] Don't include internal GTK headers so we build with GTK_DISABLE_SINGLE_INCLUDES

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

Patch by Elliot Glaysher <erg@chromium.org> on 2011-11-17
Reviewed by James Robinson.

* src/gtk/WebInputEventFactory.cpp:
(WebKit::gdkStateToWebEventModifiers): Remove a
GTK_CHECK_VERSION that will always be true, as the oldest
libgtk we support is 2.18.

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

8 years agoRoll out r100668 until I can work out why we're using such an ancient version of...
mrowe@apple.com [Fri, 18 Nov 2011 01:18:41 +0000 (01:18 +0000)]
Roll out r100668 until I can work out why we're using such an ancient version of Xcode on our SnowLeopard bots.

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

8 years ago[Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should...
commit-queue@webkit.org [Fri, 18 Nov 2011 00:48:56 +0000 (00:48 +0000)]
[Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should be balanced.
https://bugs.webkit.org/show_bug.cgi?id=72630

Patch by David Reveman <reveman@chromium.org> on 2011-11-17
Reviewed by James Robinson.

Source/WebCore:

Layer property changes during paintContent() can leave the layer
in an invalid state as paintContentsIfDirty() has been called
without a matching updateCompositorResources() call. Removing
conditionals around these calls ensure they are balanced.

This patch is tested by the following unit test:
- CCLayerTreeHostTestOpacityChange.runMultiThread

* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::updateCompositorResources):
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface):
(WebCore::CCLayerTreeHost::paintLayerContents):
(WebCore::CCLayerTreeHost::updateCompositorResources):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:

Source/WebKit/chromium:

Add test that check if calls to paintContentsIfDirty() and
updateCompositorResources() are balanced when layer opacity
changes during paintContent().

* tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTest::layerTreeHost):
(WTF::TestOpacityChangeLayerDelegate::TestOpacityChangeLayerDelegate):
(WTF::TestOpacityChangeLayerDelegate::paintContents):
(WTF::TestOpacityChangeLayerDelegate::drawsContent):
(WTF::TestOpacityChangeLayerDelegate::preserves3D):
(WTF::TestOpacityChangeLayerDelegate::notifySyncRequired):
(WTF::ContentLayerChromiumWithUpdateTracking::create):
(WTF::ContentLayerChromiumWithUpdateTracking::paintContentsCount):
(WTF::ContentLayerChromiumWithUpdateTracking::resetPaintContentsCount):
(WTF::ContentLayerChromiumWithUpdateTracking::updateCount):
(WTF::ContentLayerChromiumWithUpdateTracking::resetUpdateCount):
(WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
(WTF::ContentLayerChromiumWithUpdateTracking::updateCompositorResources):
(WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
(WTF::CCLayerTreeHostTestOpacityChange::CCLayerTreeHostTestOpacityChange):
(WTF::CCLayerTreeHostTestOpacityChange::beginTest):
(WTF::CCLayerTreeHostTestOpacityChange::commitCompleteOnCCThread):
(WTF::CCLayerTreeHostTestOpacityChange::afterTest):
(WTF::TEST_F):

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

8 years ago[CMake] Move FAST_MALLOC specific lines from Platform*.cmake to CMakeLists.txt
paroga@webkit.org [Fri, 18 Nov 2011 00:47:21 +0000 (00:47 +0000)]
[CMake] Move FAST_MALLOC specific lines from Platform*.cmake to CMakeLists.txt
https://bugs.webkit.org/show_bug.cgi?id=72644

Reviewed by Brent Fulgham.

All ports need to do the same determination about fast malloc. Move the CMake code from
platform specific files into the generic one, so that additional ports can reuse it.

* wtf/CMakeLists.txt:
* wtf/PlatformEfl.cmake:
* wtf/PlatformWinCE.cmake:

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

8 years agofuzzy_match doesn't recognize "Dan B" or "hyatt"
rniwa@webkit.org [Fri, 18 Nov 2011 00:46:03 +0000 (00:46 +0000)]
fuzzy_match doesn't recognize "Dan B" or "hyatt"
https://bugs.webkit.org/show_bug.cgi?id=72636

Reviewed by Eric Seidel.

Make contributors_by_fuzz_match search string in shorthand names of contributors such as "Ryosuke N"
and user names of email addreses such as rniwa in rniwa@webkit.org.

Also import legacy contributor names and mispell lists from Eric's script on the bug 26533 as a test.

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

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

8 years agoRemove support for running check-webkit-style w/o a webkit checkout
eric@webkit.org [Fri, 18 Nov 2011 00:39:33 +0000 (00:39 +0000)]
Remove support for running check-webkit-style w/o a webkit checkout
https://bugs.webkit.org/show_bug.cgi?id=72678

Reviewed by Adam Barth.

After talking to Dave Levin we've decided to remove this
code.  I know of no users of check-webkit-style w/o a webkit checkout
and this needlessly adds complexity.

* Scripts/webkitpy/style/main.py:

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

8 years agoSource/WebCore: Remove cargo-cult copy/pasting of ScriptExecutionContext namespace
pkasting@chromium.org [Fri, 18 Nov 2011 00:27:03 +0000 (00:27 +0000)]
Source/WebCore: Remove cargo-cult copy/pasting of ScriptExecutionContext namespace
https://bugs.webkit.org/show_bug.cgi?id=72676

Patch by Adam Barth <abarth@webkit.org> on 2011-11-17
Reviewed by Eric Seidel.

It looks like this cargo-cult started with initDNSPrefetch being hacked
into setSecurityOrigin.  I've removed this hack along with the
copy/paste code.

* dom/DOMImplementation.cpp:
* dom/Document.cpp:
(WebCore::Document::setIsViewSource):
(WebCore::Document::open):
(WebCore::Document::initSecurityContext):
(WebCore::Document::setSecurityOrigin):
* dom/Document.h:
* xml/XSLTProcessor.cpp:

LayoutTests: Unreviewed, rolling out r100584.
http://trac.webkit.org/changeset/100584
https://bugs.webkit.org/show_bug.cgi?id=72239

See if this change caused Linux dbg crashes.

* accessibility/loading-iframe-sends-notification.html: Removed.
* platform/chromium/accessibility/loading-iframe-sends-notification-expected.txt: Removed.

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

8 years agoRemove more direct uses of os.path
eric@webkit.org [Fri, 18 Nov 2011 00:23:28 +0000 (00:23 +0000)]
Remove more direct uses of os.path
https://bugs.webkit.org/show_bug.cgi?id=72677

Reviewed by Adam Barth.

Remove more uses of os.path, including refactoring
CommitterValidator to use a Host object instead of
manual hacks to emulate what SCM and FileSystem provide.

* Scripts/webkitpy/common/checkout/changelog.py:
* Scripts/webkitpy/common/config/committervalidator.py:
* Scripts/webkitpy/common/config/committervalidator_unittest.py:
* Scripts/webkitpy/common/system/filesystem_mock.py:
 - Turns out none of our unittests actually looked at this path.
   now I've made it be a valid path.
* Scripts/webkitpy/tool/bot/feeders.py:
* Scripts/webkitpy/tool/commands/queues.py:

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

8 years agoRemove cargo-cult copy/pasting of ScriptExecutionContext namespace
abarth@webkit.org [Fri, 18 Nov 2011 00:20:41 +0000 (00:20 +0000)]
Remove cargo-cult copy/pasting of ScriptExecutionContext namespace
https://bugs.webkit.org/show_bug.cgi?id=72676

Reviewed by Eric Seidel.

It looks like this cargo-cult started with initDNSPrefetch being hacked
into setSecurityOrigin.  I've removed this hack along with the
copy/paste code.

* dom/DOMImplementation.cpp:
* dom/Document.cpp:
(WebCore::Document::setIsViewSource):
(WebCore::Document::open):
(WebCore::Document::initSecurityContext):
(WebCore::Document::setSecurityOrigin):
* dom/Document.h:
* xml/XSLTProcessor.cpp:

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

8 years agoUnreviewed, rolling out r100676.
pkasting@chromium.org [Fri, 18 Nov 2011 00:11:16 +0000 (00:11 +0000)]
Unreviewed, rolling out r100676.
http://trac.webkit.org/changeset/100676
https://bugs.webkit.org/show_bug.cgi?id=72393

Looks like r100572 was not the source of the crashes.

Source/WebCore:

* bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::canSetScriptSource):
* bindings/js/ScriptDebugServer.h:
* bindings/v8/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::stepOutOfFunction):
(WebCore::ScriptDebugServer::canSetScriptSource):
* bindings/v8/ScriptDebugServer.h:
* inspector/CodeGeneratorInspector.py:
* inspector/Inspector.json:
* inspector/InspectorDebuggerAgent.cpp:
(WebCore::InspectorDebuggerAgent::getCapabilities):
* inspector/InspectorDebuggerAgent.h:
* inspector/front-end/DebuggerModel.js:
(WebInspector.DebuggerModel):
(WebInspector.DebuggerModel.prototype.enableDebugger):
(WebInspector.DebuggerModel.prototype.disableDebugger):
(WebInspector.DebuggerModel.prototype.canSetScriptSource):
* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
* inspector/front-end/Settings.js:

Source/WebKit/chromium:

* src/js/DevTools.js:

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

8 years agoTeach TextFileReader about FileSystem
eric@webkit.org [Thu, 17 Nov 2011 23:55:10 +0000 (23:55 +0000)]
Teach TextFileReader about FileSystem
https://bugs.webkit.org/show_bug.cgi?id=72673

Reviewed by Adam Barth.

Unfortunately TextFileReader doesn't use FileSystem
everywhere yet, so we can't move the unittests to
using MockFileSystem, but we're close.

* Scripts/webkitpy/style/filereader.py:
* Scripts/webkitpy/style/filereader_unittest.py:
* Scripts/webkitpy/style/main.py:

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

8 years agoAbsolute child is not repainted when parent opacity changes
commit-queue@webkit.org [Thu, 17 Nov 2011 23:53:20 +0000 (23:53 +0000)]
Absolute child is not repainted when parent opacity changes
https://bugs.webkit.org/show_bug.cgi?id=68777

Patch by Konstantin Scheglov <scheglov@google.com> on 2011-11-17
Reviewed by Simon Fraser.

Source/WebCore:

First time when we change opacity for parent we don't have layer, so
diff=StyleDifferenceRepaint is used instead of diff=StyleDifferenceRepaintLayer.
Layer is created later, in styleDidChange().
So, when we recalculate later diff, we now check for diff=StyleDifferenceRepaintLayer and
performs repaintIncludingDescendants().

Test: fast/layers/layer-absolute-parent-opacity.html

* rendering/RenderObject.cpp:
(WebCore::RenderObject::setStyle): Call repaintIncludingDescendants() instead of repaint().
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff): Add ContextSensitivePropertyOpacity when change opacity.

LayoutTests:

* fast/layers/layer-absolute-parent-opacity-expected.png: Added.
* fast/layers/layer-absolute-parent-opacity-expected.txt: Added.
* fast/layers/layer-absolute-parent-opacity.html: Added.

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

8 years agor100311 dropped a RefPtr that is very
japhet@chromium.org [Thu, 17 Nov 2011 23:35:22 +0000 (23:35 +0000)]
r100311 dropped a RefPtr that is very
helpful. Add it back.
https://bugs.webkit.org/show_bug.cgi?id=72647

Reviewed by Adam Barth.

http/tests/misc/xslt-bad-import.html should
stop crashing in full chromium builds.

* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::loadDone):

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

8 years agoRefactor SecurityOrigin::create to be easier to understand
abarth@webkit.org [Thu, 17 Nov 2011 23:33:25 +0000 (23:33 +0000)]
Refactor SecurityOrigin::create to be easier to understand
https://bugs.webkit.org/show_bug.cgi?id=72342

Reviewed by Eric Seidel.

Over time, the SecurityOrigin constructor has grown a bit out of
control.  This patch attempts to separate the different concerns into
free functions.  The general approach is to put more logic in the
"create" function and introduce a simple constructor for unique
origins.

This patch shouldn't change any behavior.

* page/SecurityOrigin.cpp:
(WebCore::schemeRequiresAuthority):
(WebCore::shouldUseInnerURL):
(WebCore::extractInnerURL):
(WebCore::isDirectory):
(WebCore::shouldTreatAsUniqueOrigin):
(WebCore::SecurityOrigin::SecurityOrigin):
(WebCore::SecurityOrigin::create):
(WebCore::SecurityOrigin::createUnique):
(WebCore::SecurityOrigin::databaseIdentifier):
* page/SecurityOrigin.h:

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

8 years ago[chromium] Unreviewed, rebaseline tests after r100545.
enne@google.com [Thu, 17 Nov 2011 23:27:57 +0000 (23:27 +0000)]
[chromium] Unreviewed, rebaseline tests after r100545.

* platform/chromium-cg-mac/compositing/geometry/fixed-position-expected.png: Removed.
* platform/chromium-cg-mac/compositing/geometry/horizontal-scroll-composited-expected.png: Removed.
* platform/chromium-cg-mac/compositing/geometry/vertical-scroll-composited-expected.png: Removed.
* platform/chromium-cg-mac/compositing/overflow/fixed-position-ancestor-clip-expected.png: Removed.
* platform/chromium-linux/compositing/geometry/fixed-position-expected.png:
* platform/chromium-linux/compositing/geometry/horizontal-scroll-composited-expected.png: Removed.
* platform/chromium-linux/compositing/geometry/vertical-scroll-composited-expected.png:
* platform/chromium-linux/compositing/overflow/fixed-position-ancestor-clip-expected.png:
* platform/chromium-mac/compositing/geometry/fixed-position-expected.png: Removed.
* platform/chromium-mac/compositing/geometry/horizontal-scroll-composited-expected.png: Removed.
* platform/chromium-mac/compositing/geometry/vertical-scroll-composited-expected.png: Removed.
* platform/chromium-mac/compositing/overflow/fixed-position-ancestor-clip-expected.png: Removed.
* platform/chromium-win/compositing/geometry/fixed-position-expected.png:
* platform/chromium-win/compositing/geometry/horizontal-scroll-composited-expected.png:
* platform/chromium-win/compositing/geometry/horizontal-scroll-composited-expected.txt: Removed.
* platform/chromium-win/compositing/geometry/vertical-scroll-composited-expected.png:
* platform/chromium-win/compositing/geometry/vertical-scroll-composited-expected.txt: Removed.
* platform/chromium-win/compositing/overflow/fixed-position-ancestor-clip-expected.png:
* platform/chromium/compositing/geometry/fixed-position-expected.png: Added.
* platform/chromium/compositing/geometry/horizontal-scroll-composited-expected.png: Added.
* platform/chromium/compositing/geometry/vertical-scroll-composited-expected.png: Added.
* platform/chromium/compositing/overflow/fixed-position-ancestor-clip-expected.png: Added.
* platform/chromium/test_expectations.txt:

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

8 years agoGive check-webkit-style a Host
eric@webkit.org [Thu, 17 Nov 2011 23:22:42 +0000 (23:22 +0000)]
Give check-webkit-style a Host
https://bugs.webkit.org/show_bug.cgi?id=72670

Reviewed by Adam Barth.

* Scripts/webkitpy/common/checkout/scm/detection.py:
* Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
 - We don't run these unittests, but this one was looking for the wrong exception.
* Scripts/webkitpy/style/main.py:
* Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
 - This was create a new scm object even though it already had one?

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

8 years agoUnreviewed - skipping accessibility/loading-iframe-sends-notification.html
dmazzoni@google.com [Thu, 17 Nov 2011 23:22:38 +0000 (23:22 +0000)]
Unreviewed - skipping accessibility/loading-iframe-sends-notification.html
on Mac until bug 72624 is resolved.

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

8 years agoImplement CSS3 Images cross-fade() image function
commit-queue@webkit.org [Thu, 17 Nov 2011 23:19:53 +0000 (23:19 +0000)]
Implement CSS3 Images cross-fade() image function
https://bugs.webkit.org/show_bug.cgi?id=52162
<rdar://problem/10209254>

Patch by Tim Horton <hortont424@gmail.com> on 2011-11-17
Reviewed by Simon Fraser.

Fix fast/css/getComputedStyle/computed-style-cross-fade.html to use the "dummy" protocol for its
images, so that we don't have loading errors.

Unskip the test on Qt.

Remove the (now) unnecessary Gtk baselines.

* fast/css/getComputedStyle/computed-style-cross-fade-expected.txt:
* fast/css/getComputedStyle/computed-style-cross-fade.html:
* platform/gtk/fast/css/getComputedStyle/computed-style-cross-fade-expected.txt: Removed.
* platform/qt/Skipped:

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

8 years ago[CMake] Add ENABLE_CLIENT_BASED_GEOLOCATION to cmakeconfig.h
paroga@webkit.org [Thu, 17 Nov 2011 23:14:58 +0000 (23:14 +0000)]
[CMake] Add ENABLE_CLIENT_BASED_GEOLOCATION to cmakeconfig.h
https://bugs.webkit.org/show_bug.cgi?id=72643

Reviewed by Brent Fulgham.

* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsWinCE.cmake:
* Source/cmakeconfig.h.cmake:

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

8 years ago Several void functions in FrameView and RenderObject actually return values.
knorton@google.com [Thu, 17 Nov 2011 23:05:16 +0000 (23:05 +0000)]
   Several void functions in FrameView and RenderObject actually return values.
       https://bugs.webkit.org/show_bug.cgi?id=72640

Reviewed by Adam Barth.

* ../../Source/WebCore/page/FrameView.cpp:
* ../../Source/WebCore/rendering/RenderObject.cpp:

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

8 years agoMove check-webkit-style change_directory code to more modern mocks
eric@webkit.org [Thu, 17 Nov 2011 23:02:20 +0000 (23:02 +0000)]
Move check-webkit-style change_directory code to more modern mocks
https://bugs.webkit.org/show_bug.cgi?id=72664

Reviewed by Adam Barth.

* Scripts/check-webkit-style:
* Scripts/webkitpy/style/main.py:
* Scripts/webkitpy/style/main_unittest.py:

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