REGRESSION(r120329): Intermittent WebProcess shutdowns due to out-of-line DidReceiveEvent messages.
<rdar://problem/11686974>
<http://webkit.org/b/89659>

Reviewed by Sam Weinig.

Instead of sending DidReceiveEvent for key events as DispatchMessageEvenWhenWaitingForSyncReply,
use proper synchronous messages. This makes the WebProcess block while the UIProcess handles
the event but prevents a weird race condition where DidReceiveEvent gets dispatched just before
a synchronous DecidePolicyForNavigationAction and something happens below DidReceiveEvent that
invalidates the frame ID passed to DecidePolicyForNavigationAction.

This is a speculative fire-fighting fix.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveKeyEvent):
(WebKit::WebPageProxy::didReceiveEvent):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::keyEvent):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening, move some flaky tests under the
proper section in the TestExpectations file and narrow down
test expectations for failures that were shown not to be flaky.

* platform/gtk/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening, generating baselines required after r121085.

* platform/gtk/fast/css/text-overflow-ellipsis-text-align-center-expected.txt: Added.
* platform/gtk/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt: Added.
* platform/gtk/fast/css/text-overflow-ellipsis-text-align-left-expected.txt: Added.
* platform/gtk/fast/css/text-overflow-ellipsis-text-align-right-expected.txt: Added.
* platform/gtk/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt: Added.
* platform/gtk/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt: Added.
* platform/gtk/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt: Added.
* platform/gtk/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL gardening, generating baselines required after r121085.

* platform/efl/fast/css/text-overflow-ellipsis-text-align-center-expected.txt: Added.
* platform/efl/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt: Added.
* platform/efl/fast/css/text-overflow-ellipsis-text-align-left-expected.txt: Added.
* platform/efl/fast/css/text-overflow-ellipsis-text-align-right-expected.txt: Added.
* platform/efl/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt: Added.
* platform/efl/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt: Added.
* platform/efl/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt: Added.
* platform/efl/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Simplify InspectorIndexedDBAgent to use IDB metadata API
https://bugs.webkit.org/show_bug.cgi?id=89495

Reviewed by Vsevolod Vlasov.

No new tests - no functional changes.

* inspector/InspectorIndexedDBAgent.cpp:
(WebCore):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Release media resources after each LayoutTest on Android
https://bugs.webkit.org/show_bug.cgi?id=89720

Reviewed by Eric Carlson.

The LayoutTests can hang when run on Android because we sometimes run
out of media resources. This patch causes us to release our media
resources after each test in order to avoid running out of this
resource. In production, there are other mechanisms that manage this
resource.

* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::resetTestController):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Skip fast/text/hyphen-min-preferred-width.html
https://bugs.webkit.org/show_bug.cgi?id=89831

Unreviewed EFL gardening. Skip the auto-hyphenation added
in r121102 as the EFL port does not support the feature.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-06-24

* platform/efl/TestExpectations:

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