Adding username to RTCIceServer
https://bugs.webkit.org/show_bug.cgi?id=120861

Patch by Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> on 2013-09-09
Reviewed by Eric Carlson.

No new tests needed. Existing media stream tests already cover it

* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::parseConfiguration):
* platform/mediastream/RTCConfiguration.h:
(WebCore::RTCIceServer::create):
(WebCore::RTCIceServer::username):
(WebCore::RTCIceServer::RTCIceServer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Cancel the current active WebKitAuthenticationRequest on load failed
https://bugs.webkit.org/show_bug.cgi?id=120350

Patch by Anton Obzhirov <a.obzhirov@samsung.com> on 2013-09-09
Reviewed by Carlos Garcia Campos.

The default dialog does not get closed and the authentication is not cancelled
if loading fails or is stopped on a page which requires HTTP authentication.

This patch cancels the authentication request on load failed
and adds new authentication cancelled signal in WebKitAuthenticationRequest
to allow the application handling of authentication UI.

* UIProcess/API/gtk/WebKitAuthenticationDialog.cpp:
(authenticationCancelled):
(webkitAuthenticationDialogInitialize):
(webkitAuthenticationDialogDispose):
(webkitAuthenticationDialogNew):
* UIProcess/API/gtk/WebKitAuthenticationDialog.h:
* UIProcess/API/gtk/WebKitAuthenticationRequest.cpp:
(webkit_authentication_request_class_init):
(webkit_authentication_request_cancel):
* UIProcess/API/gtk/WebKitWebView.cpp:
(webkitWebViewAuthenticate):
(webkitWebViewLoadFailed):
(webkitWebViewHandleAuthenticationChallenge):
(webkitWebViewCancelAuthenticationRequest):
* UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
(testWebViewAuthenticationLoadCancelled):
(beforeAll):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
MouseLeave not always emitted when cursor leaves subframe
https://bugs.webkit.org/show_bug.cgi?id=121026

Reviewed by Antonio Gomes.

Source/WebCore:

Forward the PlatformMouseEvent in the recursive calls so nested documents
also get a chance to emit mouseleave when the hover moves out.

Test: fast/events/mouseenterleave-on-subframe.html

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

LayoutTests:

Test or mouseenter/mouseleave events in an inner document. Note this test also
tests bug 120862, but the initial expectations assume that part to fail.

* fast/events/mouseenterleave-on-subframe-expected.html: Added.
* fast/events/mouseenterleave-on-subframe.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed fixup of expectation name.

* fast/events/mouseenterleave-on-subframe-expected.txt: Renamed from LayoutTests/fast/events/mouseenterleave-on-subframe-expected.html.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] fast/regions/overflow* converted reftests failing after r155114
https://bugs.webkit.org/show_bug.cgi?id=120848

Patch by Mihai Maerean <mmaerean@adobe.com> on 2013-09-09
Reviewed by Antti Koivisto.

The tests are now platform independent by specifing the font.

* fast/regions/overflow-in-uniform-regions-dynamic-expected.html:
* fast/regions/overflow-in-uniform-regions-dynamic.html:
* fast/regions/overflow-in-variable-width-regions-expected.html:
* fast/regions/overflow-in-variable-width-regions.html:
* fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.html:
* fast/regions/overflow-moving-below-floats-in-variable-width-regions.html:
* fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.html:
* fast/regions/overflow-not-moving-below-floats-in-variable-width-regions.html:
* fast/regions/overflow-rtl-in-variable-width-regions-expected.html:
* fast/regions/overflow-rtl-in-variable-width-regions.html:
* fast/regions/overflow-size-change-in-variable-width-regions-expected.html:
* fast/regions/overflow-size-change-in-variable-width-regions.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
MouseEnter and MouseLeave may be emitted on Document nodes
https://bugs.webkit.org/show_bug.cgi?id=120862

Reviewed by Antonio Gomes.

Source/WebCore:

Replace the overgeneric use of Nodes with Elements in updateHoverActiveState.
This also fixes the bug of emitting mouseenter/mouseleave events on Document,
since Document is not an Element.

This is tested by fast/events/mouseenterleave-on-subframe.html

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

LayoutTests:

Update expectations now we correctly do not get mouseenter/mouseleave events
targeted for Document nodes.

* fast/events/mouseenterleave-on-subframe-expected.txt:

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