[Windows, curl] WebDownloadCurl.cpp should not include SystemTime.h
https://bugs.webkit.org/show_bug.cgi?id=116584

Patch by Mark Salisbury <mark.salisbury@hp.com> on 2013-05-21
Reviewed by Brent Fulgham.

SystemTime header and implementation are no longer used and were removed
recently - http://trac.webkit.org/changeset/150216.

* WebDownloadCurl.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r150491): WebKit2.CloseThenTerminate asserting below WebContext::disconnectProcess().
<http://webkit.org/b/116588>

Reviewed by Sam Weinig.

Do an early return from WebProcessProxy::requestTermination() if there is no child process
connection to terminate.

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::requestTermination):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Mac] inspector/geolocation-error.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=116592

Add a flaky test expectation.

* platform/mac/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Cleanup TestExpectations to pass --lint-test-files
https://bugs.webkit.org/show_bug.cgi?id=116590

Unreviewed EFL gardening.

http/tests/websocket/tests/hybi/close-on-navigate-new-location.html was skipped in r150497.

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

* platform/efl/TestExpectations: Remove duplicate entry.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: Update the background blending implementation to match the changes done
in the spec. This implies that background color blending is removed and
the background layers won't blend with the content behind the element
any more.
https://bugs.webkit.org/show_bug.cgi?id=116212

Patch by Mihai Tica <mitica@adobe.com> on 2013-05-21
Reviewed by Dean Jackson.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::paintFillLayers):
* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintFillLayerExtended):

LayoutTests: Updating element background blending to conform to the changes in the spec.
This implies that the background layers won't longer blend with the content
behind the element.
Removing the background color tests, as background color blending is no longer
a valid use case, also modified the current background image tests.
https://bugs.webkit.org/show_bug.cgi?id=116212

Patch by Mihai Tica <mitica@adobe.com> on 2013-05-21
Reviewed by Dean Jackson.

* css3/compositing/effect-background-blend-mode-color-expected.txt: Removed.
* css3/compositing/effect-background-blend-mode-color.html: Removed.
* css3/compositing/effect-background-blend-mode-color2-expected.txt: Removed.
* css3/compositing/effect-background-blend-mode-color2.html: Removed.
* css3/compositing/effect-background-blend-mode-stacking-expected.png: Removed.
* css3/compositing/effect-background-blend-mode-stacking.html:
* platform/mac/css3/compositing/effect-background-blend-mode-color-expected.png: Removed.
* platform/mac/css3/compositing/effect-background-blend-mode-color2-expected.png: Removed.
* platform/mac/css3/compositing/effect-background-blend-mode-expected.png:
* platform/mac/css3/compositing/effect-background-blend-mode-stacking-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] Unreviewed buildfix after r150484.

* UIProcess/Plugins/qt/PluginProcessProxyQt.cpp:
(WebKit::PluginProcessProxy::platformGetLaunchOptions):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] accessibility/label-for-control-hittest.html is failing
https://bugs.webkit.org/show_bug.cgi?id=112029

Unreviewed EFL gardening.

accessibility/label-for-control-hittest.html passes after r150439.

Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-05-22

* platform/efl-wk2/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Unskipping some tests.
https://bugs.webkit.org/show_bug.cgi?id=105437

Patch by Gabor Abraham <abrhm@inf.u-szeged.hu> on 2013-05-22

* platform/qt/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.png:
* platform/qt/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.png:
* platform/qt/svg/W3C-SVG-1.1/filters-displace-01-f-expected.png:
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in-attr-expected.png: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in-attr-expected.txt: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in2-attr-expected.png: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in2-attr-expected.txt: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-scale-attr-expected.png: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-scale-attr-expected.txt: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-xChannelSelector-attr-expected.png: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-xChannelSelector-attr-expected.txt: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-yChannelSelector-attr-expected.png: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-yChannelSelector-attr-expected.txt: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in-prop-expected.png: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in-prop-expected.txt: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in2-prop-expected.png: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in2-prop-expected.txt: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-scale-prop-expected.png: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-scale-prop-expected.txt: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-xChannelSelector-prop-expected.png: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-xChannelSelector-prop-expected.txt: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-yChannelSelector-prop-expected.png: Added.
* platform/qt/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-yChannelSelector-prop-expected.txt: Added.
* platform/qt/svg/filters/feImage-animated-transform-on-target-rect-expected.png: Copied from LayoutTests/platform/qt/svg/filters/feImage-multiple-targets-id-change-expected.png.
* platform/qt/svg/filters/feImage-animated-transform-on-target-rect-expected.txt: Added.
* platform/qt/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.png:
* platform/qt/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.png:
* platform/qt/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.png:
* platform/qt/svg/filters/feImage-late-indirect-update-expected.png:
* platform/qt/svg/filters/feImage-late-indirect-update-expected.txt: Added.
* platform/qt/svg/filters/feImage-multiple-targets-id-change-expected.png:
* platform/qt/svg/filters/feImage-multiple-targets-id-change-expected.txt: Added.
* platform/qt/svg/filters/feImage-position-expected.png:
* platform/qt/svg/filters/feImage-position-expected.txt: Added.
* platform/qt/svg/filters/feImage-preserveAspectratio-expected.png:
* platform/qt/svg/filters/feImage-preserveAspectratio-expected.txt: Added.
* platform/qt/svg/filters/feImage-reference-invalidation-expected.png:
* platform/qt/svg/filters/feImage-reference-invalidation-expected.txt: Added.
* platform/qt/svg/filters/feImage-subregions-expected.png:
* platform/qt/svg/filters/feImage-subregions-expected.txt: Added.
* platform/qt/svg/filters/feImage-subregions-preseveAspectRatio-none-expected.png:
* platform/qt/svg/filters/feImage-subregions-preseveAspectRatio-none-expected.txt: Added.
* platform/qt/svg/filters/feImage-subregions-preseveAspectRatio-none-with-viewBox-expected.png:
* platform/qt/svg/filters/feImage-subregions-preseveAspectRatio-none-with-viewBox-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-add-to-document-expected.png:
* platform/qt/svg/filters/feImage-target-add-to-document-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-attribute-change-expected.png:
* platform/qt/svg/filters/feImage-target-attribute-change-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-attribute-change-with-use-indirection-2-expected.png:
* platform/qt/svg/filters/feImage-target-attribute-change-with-use-indirection-2-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-attribute-change-with-use-indirection-expected.png:
* platform/qt/svg/filters/feImage-target-attribute-change-with-use-indirection-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-changes-id-expected.png:
* platform/qt/svg/filters/feImage-target-changes-id-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-id-change-expected.png:
* platform/qt/svg/filters/feImage-target-id-change-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-inline-style-change-expected.png:
* platform/qt/svg/filters/feImage-target-inline-style-change-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-property-change-expected.png:
* platform/qt/svg/filters/feImage-target-property-change-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-reappend-to-document-expected.png:
* platform/qt/svg/filters/feImage-target-reappend-to-document-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-remove-from-document-expected.png:
* platform/qt/svg/filters/feImage-target-remove-from-document-expected.txt: Added.
* platform/qt/svg/filters/feImage-target-style-change-expected.png:
* platform/qt/svg/filters/feImage-target-style-change-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Change Ewk_Context_Menu_Item's parent menu to raw pointer
https://bugs.webkit.org/show_bug.cgi?id=116549

Patch by Michał Pakuła vel Rutka <m.pakula@samsung.com> on 2013-05-22
Reviewed by Christophe Dumez.

A context menu item should have only a pointer to parent menu instead
of owning parent menu.

* UIProcess/API/efl/ewk_context_menu_item.cpp:
(EwkContextMenuItem::EwkContextMenuItem):
* UIProcess/API/efl/ewk_context_menu_item_private.h:
(EwkContextMenuItem::create):
(EwkContextMenuItem::parentMenu):
(EwkContextMenuItem):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Unskipping some tests.
https://bugs.webkit.org/show_bug.cgi?id=26830
https://bugs.webkit.org/show_bug.cgi?id=99870
https://bugs.webkit.org/show_bug.cgi?id=108429
https://bugs.webkit.org/show_bug.cgi?id=23166
https://bugs.webkit.org/show_bug.cgi?id=98523
https://bugs.webkit.org/show_bug.cgi?id=110654

Patch by Gabor Abraham <abrhm@inf.u-szeged.hu> on 2013-05-22

* platform/qt-5.0/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Removed.
* platform/qt/TestExpectations:
* platform/qt/css2.1/20110323/replaced-elements-001-expected.png:
* platform/qt/css2.1/20110323/replaced-elements-001-expected.txt:
* platform/qt/css3/flexbox/button-expected.png: Added.
* platform/qt/css3/flexbox/button-expected.txt: Added.
* platform/qt/fast/css/background-clip-radius-values-expected.png: Added.
* platform/qt/fast/css/background-clip-radius-values-expected.txt: Added.
* platform/qt/fast/images/repaint-subrect-grid-expected.txt: Added.
* platform/qt/fast/multicol/single-line-expected.png: Added.
* platform/qt/fast/multicol/single-line-expected.txt: Added.
* platform/qt/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.png:
* platform/qt/svg/custom/foreign-object-skew-expected.txt:
* platform/qt/svg/custom/js-late-pattern-creation-expected.png:
* platform/qt/svg/custom/pattern-scaling-expected.png: Added.
* platform/qt/svg/custom/pattern-scaling-expected.txt: Added.
* platform/qt/svg/custom/pattern-skew-transformed-expected.png:
* platform/qt/svg/custom/pattern-skew-transformed-expected.txt: Added.
* platform/qt/svg/custom/pattern-with-transformation-expected.png:
* platform/qt/svg/custom/text-ctm-expected.png:
* platform/qt/svg/custom/text-ctm-expected.txt:
* platform/qt/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/qt/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt:
* platform/qt/tables/mozilla/bugs/bug92647-2-expected.png:
* platform/qt/tables/mozilla/bugs/bug92647-2-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Have IDL interface names match their global constructor
https://bugs.webkit.org/show_bug.cgi?id=116520

Reviewed by Kentaro Hara.

Have IDL interface names match their global constructor name on DOMWindow.idl
using [InterfaceName] extended attribute. This affects in particular webkit
prefixed constructors. This is mandated by Web IDL specification:
http://dev.w3.org/2006/webapi/WebIDL/#es-interfaces

As a consequence, we can now get rid of [NoInterfaceObject] extended attribute
for those interfaces and have their global constructors automatically generated
by the bindings generator.

No new tests, no behavior change for layout tests.

* Modules/mediasource/MediaSource.idl:
* Modules/mediasource/SourceBuffer.idl:
* Modules/mediasource/SourceBufferList.idl:
* Modules/mediastream/MediaStream.idl:
* Modules/mediastream/RTCPeerConnection.idl:
* Modules/speech/SpeechGrammar.idl:
* Modules/speech/SpeechGrammarList.idl:
* Modules/speech/SpeechRecognition.idl:
* Modules/speech/SpeechRecognitionError.idl:
* Modules/speech/SpeechRecognitionEvent.idl:
* Modules/webaudio/OfflineAudioContext.idl:
* Modules/webaudio/PannerNode.idl:
* dom/ShadowRoot.idl:
* page/DOMWindow.idl:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening, updating expected files after r150508.

Patch by Gabor Abraham <abrhm@inf.u-szeged.hu> on 2013-05-22

* platform/qt-5.0-wk2/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Added.
* platform/qt-5.0/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Add command line option to MiniBrowser to set cookies policy.
https://bugs.webkit.org/show_bug.cgi?id=115028

Patch by Andrzej Badowski <a.badowski@samsung.com> on 2013-05-22
Reviewed by Christophe Dumez.

Add command line option to MiniBrowser EFL to set cookies policy:
-p parameter with value from (always, never, no-third-party) respectively (EWK_COOKIE_ACCEPT_POLICY_ALWAYS,
EWK_COOKIE_ACCEPT_POLICY_NEVER, EWK_COOKIE_ACCEPT_POLICY_NO_THIRD_PARTY).

* MiniBrowser/efl/main.c:
(elm_main):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSSRegions] Remove platform-specific differences from offsetLeft/offsetTop tests
https://bugs.webkit.org/show_bug.cgi?id=116607

Patch by Radu Stavila <stavila@adobe.com> on 2013-05-22
Reviewed by Antti Koivisto.

* fast/regions/offsetLeft-offsetTop-in-multiple-regions-expected.txt:
* fast/regions/offsetLeft-offsetTop-in-multiple-regions.html:
* fast/regions/offsetLeft-offsetTop-in-region-float-vert-rl.html:
* fast/regions/offsetLeft-offsetTop-inlines-region-in-element.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore fails to compile with -Werror=maybe-uninitialized on GCC 4.8.0
https://bugs.webkit.org/show_bug.cgi?id=116340

Reviewed by Christophe Dumez.

No new tests, just a simple build fix.

* inspector/InspectorDOMStorageAgent.cpp:
(WebCore::InspectorDOMStorageAgent::setDOMStorageItem): Init frame variable.
(WebCore::InspectorDOMStorageAgent::removeDOMStorageItem): Init frame variable.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Skip failing tests after r150065 and r150498.

Patch by Gabor Abraham <abrhm@inf.u-szeged.hu> on 2013-05-22

* platform/qt/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Add sub menus to MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=114728

Patch by Michał Pakuła vel Rutka <m.pakula@samsung.com> on 2013-05-22
Reviewed by Christophe Dumez.

Elementary Ctxpopup widget API does not provide support for submenu item.
To implement ewk submenus in Minibrowser, Ctxpopup has to be replaced with
Elementary Menu widget.

* MiniBrowser/efl/main.c:
(_Browser_Window):
(on_window_resize):
(window_free):
(context_menu_item_selected_cb):
(context_menu_populate):
(on_context_menu_show):
(on_context_menu_hide):
(window_create):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] Captions menu isn't internationalized, doesn't use rtl layout for rtl languages
https://bugs.webkit.org/show_bug.cgi?id=116605

Reviewed by Eric Carlson.

Ensure that rtl languages are properly recognized by the captions menu such that text
layout and alignment is natural.

* css/mediaControls.css:
(::-webkit-media-controls):
Remove the forced "direction: ltr" property which was forcing all layout to be
left-to-right.

* css/mediaControlsQuickTime.css:
(video::-webkit-media-controls-closed-captions-track-list):
Remove the forced "text-align: left" property which was forcing all caption
titles to be left-aligned.

(video::-webkit-media-controls-closed-captions-track-list h3):
Use "-webkit-margin-start" instead of "padding-left" to position the heading
such that it adds the margin on the left for ltr languages and on the right
for rtl languages.

(video::-webkit-media-controls-closed-captions-track-list li):
Set "position: relative" such that the ::before pseudo-class can use "position: absolute"
to position itself relative to the caption title rather than the list element.

(video::-webkit-media-controls-closed-captions-track-list li.selected::before):
(video::-webkit-media-controls-closed-captions-track-list li.selected:hover::before):
Make the checkmarks a ::before pseudo-class rather than a background-image such that
we may control its positioning using the internationlization-friendly "-webkit-margin-start"
property.

* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlClosedCaptionsContainerElement::create):
Set the "dir" attribute to "auto" such that rtl languages are correctly handled. This
means that the first string displayed within the captions container, currently the
"Subtitles" <h3> element, defines the direction for the whole container. It is therefore
crucial that this string is properly localized in rtl languages as falling back to
english would mean the entire caption container is using ltr.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] Unreviewed gardening. Skipping failing printing tests after r150046.
https://bugs.webkit.org/show_bug.cgi?id=116617

* platform/qt-5.0-wk2/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Reimplement atk_text_get_text_*_offset for CHAR boundary
https://bugs.webkit.org/show_bug.cgi?id=114870

Reviewed by Martin Robinson.

Re-implement this functions without using GailTextUtil nor Pango.

* accessibility/atk/WebKitAccessibleInterfaceText.cpp:
(webkitAccessibleTextGetChar): New function.
(webkitAccessibleTextGetTextForOffset): Call the new function for CHAR.

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