Clean up the code in XvfbDriver
https://bugs.webkit.org/show_bug.cgi?id=96202

Reviewed by Philippe Normand.

Changes:
- Remove unneeded imports,
- assign the _lock_file member variable when the display number is determined,
- no need for parentheses around a single string format argument,
- use FileSystem.exists method when checking if lock file is present as it
makes the intention much more clearer.

* Scripts/webkitpy/layout_tests/port/xvfbdriver.py:
(XvfbDriver._start):
(XvfbDriver.stop):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Simplify WebKit2 XPC service backend now that I know it doesn't need to soft link WebKit2.framework
https://bugs.webkit.org/show_bug.cgi?id=96228

Reviewed by Dan Bernstein.

We soft link the non-XPC service WebProcess backend to the WebKit2 framework to
ensure that we can close all the necessary file descriptors at launch, without
fear that we will be closing one we open while initializing WebKit2 or one of its
dependencies. Since we don't need to close file descriptors in the XPC service 
backend, we don't need to soft link! While here, also do some cleanup and code
sharing.

* UIProcess/Launcher/mac/ProcessLauncherMac.mm:
(WebKit::launchXPCService):
We don't need to send the framework executable path anymore (it was used for the
soft linking), but we do need the client identifier.
        
* WebKit2.xcodeproj/project.pbxproj:
Add new files. Link the XPC service to WebKit2.framework.

* WebKit2Service/MainMacService.mm:
Now that we don't have to soft link, just make this a stub that calls immediately
into the WebKit2 framework.
        
* WebProcess/mac/WebProcessInitialization.h: Added.
* WebProcess/mac/WebProcessInitialization.mm: Added.
(WebKit::InitializeWebProcess):
Move initialization that is common between the XPC and non-XPC backends here.

* WebProcess/mac/WebProcessMainMac.mm:
(WebKit::WebProcessMain):
Remove XPC backend related code. Use new shared InitializeWebProcess function.

* WebProcess/mac/WebProcessXPCServiceMain.h: Added.
* WebProcess/mac/WebProcessXPCServiceMain.mm: Added.
(WebKit::WebKit2ServiceEventHandler):
(WebProcessXPCServiceMain):
Move XPC service backend initialization here.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

Narrowing down flaky crash expectation for fast/js/random-array-gc-stress.html.
The test only crashes in release builds.

Removing flaky expectation for jquery/manipulation.html, the test is consistently
passing.

Removing failure expectation for fast/js/named-function-expression.html, the offending
commit was rolled out in r127987.

* platform/gtk/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Skip 3 spatial navigation test cases failing after r128006
https://bugs.webkit.org/show_bug.cgi?id=96233

Unreviewed EFL gardening.

Mark 3 spatial navigation test cases as expected to fail due
to a regression caused by r128006.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10

* platform/efl/TestExpectations:

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