Remove meaningless "test_uses_apache" from Python test cases.
https://bugs.webkit.org/show_bug.cgi?id=38756

Patch by Brent Fulgham <bfulgham@apple.com> on 2013-05-23
Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/port/port_testcase.py:
(PortTestCase.test_driver_cmd_line): Remove the meaningless
"test_uses_apache" test case from the Python test infrastructure.
It was hard-coded to true, even though not all ports use
Apache.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make Math.imul tests run quicker, and fix some other bugs.

Rubber stampted by Oliver Hunt.
        
Also make tests not call print().

* fast/js/regress/script-tests/cell-argument.js:
* fast/js/regress/script-tests/imul-double-only.js:
(f):
* fast/js/regress/script-tests/imul-int-only.js:
(f):
* fast/js/regress/script-tests/imul-mixed.js:
(f):
* fast/js/regress/script-tests/object-closure-call.js:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Rebaseline after r150593
https://bugs.webkit.org/show_bug.cgi?id=116695

Unreviewed gardening.

Moved some editing tests from execCommand into pasteboard.

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-05-23

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Modify WebCore for AppleWin 2010 production build.

* WebCore.vcxproj/WebCoreGenerated.make:
(WebCore::AXObjectCache::frameLoadingEventPlatformNotification):
* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Windows] Unreviewed change for NRWT support.

* Scripts/webkitpy/port/win.py:
(WinPort.default_child_processes): Added a default implementation
that limits NRWT to a single instance.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Shim Flash plug-in to allow its updater to run
https://bugs.webkit.org/show_bug.cgi?id=116692
<rdar://problem/13938510>

Reviewed by Sam Weinig.

* PluginProcess/PluginProcess.h:
* PluginProcess/mac/PluginProcessMac.mm:
(WebKit::replacedNSConcreteTask_launch):
(WebKit::initializeCocoaOverrides):
Patch -[NSConcreteTask launch] to call PluginProcess::launchProcess.

(WebKit::PluginProcess::launchProcess):
Send a LaunchProcess message to the UI process.

* UIProcess/Plugins/PluginProcessProxy.cpp:
* UIProcess/Plugins/PluginProcessProxy.h:
Remove PluginProcessProxy::didReceiveMessage.

(PluginProcessProxy):
* UIProcess/Plugins/PluginProcessProxy.messages.in:
Add LaunchProcess message and remove LegacyReceiver attribute.

* UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
(WebKit::isFlashUpdater):
Helper function to determine whether the process is the flash updater.

(WebKit::shouldLaunchProcess):
Return whether we should launch this process.

(WebKit::PluginProcessProxy::launchProcess):
Determine if we should launch this process and then do so.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Windows] Rolling back r150600 as it breaks the VS2010 builds.

* wtf/StackBounds.cpp: Rollback.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2][EFL][QT] Build break after r150610
https://bugs.webkit.org/show_bug.cgi?id=116699

Patch by Ryuan Choi <ryuan.choi@samsung.com> on 2013-05-23
Reviewed by Csaba Osztrogonác.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::findPlugin): Initialized pluginProcessSandboxPolicy.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Compositor API change: Don't pass the unused "viewport" parameter.
https://bugs.webkit.org/show_bug.cgi?id=116545
Internal PR 189775

Patch by Jakob Petsovits <jpetsovits@blackberry.com> on 2013-05-23
Reviewed by Rob Buis.

Also change the name of the "documentContents" parameter
to the more descriptive "documentSrcRect".

* Api/WebPageCompositor.cpp:
(BlackBerry::WebKit::WebPageCompositorPrivate::render):
(BlackBerry::WebKit::WebPageCompositor::render):
* Api/WebPageCompositor.h:
* Api/WebPageCompositor_p.h:
(WebPageCompositorPrivate):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add missing dependencies to deps script.

[GTK] Missing packages in install-dependencies script.
https://bugs.webkit.org/show_bug.cgi?id=116632

Reviewed by Martin Robinson.

* gtk/install-dependencies:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WinCairo] Build fails to link.
https://bugs.webkit.org/show_bug.cgi?id=116671

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-05-23
Reviewed by Brent Fulgham.

* page/FrameView.h: Added guard for ACCELERATED_COMPOSITING.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Need to forward the opener frame url to client when creating a new window
https://bugs.webkit.org/show_bug.cgi?id=116566

Patch by Andy Chen <andchen@blackberry.com> on 2013-05-23
Reviewed by Rob Buis.

PR 337935
Internally reviewed by Arvid Nilsson.
When creating a new window, forward the opener frame url to client.

* Api/WebPageClient.h:
* WebCoreSupport/ChromeClientBlackBerry.cpp:
(WebCore::ChromeClientBlackBerry::createWindow):
* WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::dispatchCreatePage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Need to suspend/resume RootLayerCommit when the application becomes inactive/active
https://bugs.webkit.org/show_bug.cgi?id=115245

Patch by Xiaobo Wang <xiaobwang@blackberry.com> on 2013-05-23
Reviewed by Rob Buis.

PR 330917.
Internally reviewed by Arvid Nilsson.

1. Suspend/resumeRootLayerCommit when notified app activation state
change.
2. Schedule root layer commit in resumeRootLayerCommit() to explicitly
start root layer commit timer, so that there's a commit even if
BackingStore got disabled/removed.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::notifyAppActivationStateChange):
(BlackBerry::WebKit::WebPagePrivate::resumeRootLayerCommit):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CLoop llint backend should not use the d8 register as scratch register
https://bugs.webkit.org/show_bug.cgi?id=116019

Patch by Peter Wang <peter.wang@torchmobile.com.cn> on 2013-05-23
Reviewed by Csaba Osztrogonác.

* offlineasm/cloop.rb:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=116702
REGRESSION (r150399): Scrollbar missing for all overflow scroll
-and corresponding-
<rdar://problem/13963712>

Reviewed by Simon Fraser.

This was a silly copy-paste error.
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::scrollbarAnimationsAreSuppressed):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add back a failing test expectation on fast/canvas/webgl/object-deletion-behaviour.html
after r150558 on Lion Debug WK1.

* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Typing in Safari's unified field causes unnecessary web content repaints.
<http://webkit.org/b/116703>

Reviewed by Andy Estes.

Source/WebCore:

Break out an alternate version of Page::markAllMatchesForText() that only counts the number of times
a string occurs in the page, but doesn't try to mark the occurrences.
This allows Safari to count matches for the 'Find "foo" on This Page' functionality in the unified
location bar without causing tile repaints.

* WebCore.exp.in:
* page/Page.h:
* page/Page.cpp:
(WebCore::Page::findMatchesForText):
(WebCore::Page::markAllMatchesForText):
(WebCore::Page::countFindMatches):

    Renamed markAllMatchesForText() to findMatchesForText() and gave it a boolean parameter to control whether
    matches should be marked or not. countFindMatches() is the new helper that doesn't mark.

Source/WebKit2:

* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::countStringMatches):

    Call WebCore::Page::countMatchesForText() instead of markAllMatchesForText(). If the search string
    is found inside the page content, the renderer containing that text will no longer be repainted.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Remove SKIA leftovers from WebPage.cpp
https://bugs.webkit.org/show_bug.cgi?id=116656

Patch by Jeff Rogers <jrogers@rim.com> on 2013-05-24
Reviewed by Rob Buis.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setLoadState):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] DRT - crashed on GraphicsContext3D::makeContextCurrent
https://bugs.webkit.org/show_bug.cgi?id=116654

Patch by Xiaobo Wang <xiaobwang@blackberry.com> on 2013-05-24
Reviewed by Carlos Garcia Campos.

PR 331552.
Internally reviewed and amended by Arvid Nilsson.

No new tests, this patch is to fix DRT crashes in fast/canvas/webgl.
The instance of GraphicsContext3D has already been destroyed but
WebGLLayerWebKitThread is not aware of that. This is because compositor
layer of the WebGL graphics context was referenced outside the context.
So when destructing GraphicsContext3D the compositing layer was not
destructed.
Fix by setting m_webGLContext to 0 when destructing GrapthicsContext3D
after releasing the compositor layer, so that it won't be de-referenced
again later.

* platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
(WebCore::GraphicsContext3D::~GraphicsContext3D):
* platform/graphics/blackberry/WebGLLayerWebKitThread.cpp:
(WebCore::WebGLLayerWebKitThread::~WebGLLayerWebKitThread):
(WebCore::WebGLLayerWebKitThread::webGLContextDestroyed):
(WebCore):
* platform/graphics/blackberry/WebGLLayerWebKitThread.h:
(WebGLLayerWebKitThread):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update prepareConsistentTestingEnvironment to use a non-deprecated API.
https://bugs.webkit.org/show_bug.cgi?id=116710

Reviewed by Mark Rowe.

* DumpRenderTree/mac/DumpRenderTree.mm:
(prepareConsistentTestingEnvironment): Use beginActivityWithOptions instead of beginSuspensionOfSystemBehaviors.



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