Unreviewed. It should be possible to build JSC on ARMv7.

* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::patchableBranchPtr):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131199 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Unreviewed gardening.

Move some WontFix tests to the right place in the file, and add
some ImageOnlyFailures that showed up after updating Cairo to
1.12.4.

* platform/efl/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Enable ENCRYPTED_MEDIA support on Mac.
https://bugs.webkit.org/show_bug.cgi?id=98044

Reviewed by Anders Carlsson.

Source/JavaScriptCore:

Enable the ENCRYPTED_MEDIA flag.

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

Enable the ENCRYPTED_MEDIA conditional on the Mac port.

No new tests; Existing media/encrypted-media tests require org.w3.clearkey support, which is not implemented.

* Configurations/FeatureDefines.xcconfig: Enable the ENCRYPTED_MEDIA flag.
* DerivedSources.make: Add the MediaKeyError and MediaKeyEvent classes.
* WebCore.xcodeproj/project.pbxproj: Ditto.
* bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue): Add convertValue functions for Uint8Array and MediaKeyError.
* bindings/js/JSDictionary.h:
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::mediaPlayerKeyNeeded): Throw an error if no "needkey"
    handler is registered.
* html/HTMLMediaElement.h:
* html/HTMLMediaElement.idl: Change keySystem to DefaultIsUndefined.
* platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::keyNeeded): Return a bool indicating whether the process was aborted
    due to a lack of "needkey" listener.
* platform/graphics/MediaPlayer.h:
(WebCore::MediaPlayerClient::mediaPlayerKeyAdded): Remove unused parameter names.
(WebCore::MediaPlayerClient::mediaPlayerKeyError): Ditto.
(WebCore::MediaPlayerClient::mediaPlayerKeyMessage): Ditto.
(WebCore::MediaPlayerClient::mediaPlayerKeyNeeded): Ditto.
* platform/graphics/MediaPlayerPrivate.h:
(WebCore::MediaPlayerPrivateInterface::addKey): Ditto.
(WebCore::MediaPlayerPrivateInterface::generateKeyRequest): Ditto.
(WebCore::MediaPlayerPrivateInterface::cancelKeyRequest): Ditto.
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::registerMediaEngine): Call extendedSupportsType.
(WebCore::MediaPlayerPrivateAVFoundationObjC::extendedSupportsType): Stub. Pass through to supportsType.
* platform/graphics/mac/MediaPlayerPrivateQTKit.h:
* platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::registerMediaEngine): Call extendedSupportsType.
(WebCore::MediaPlayerPrivateQTKit::extendedSupportsType): Stub. Pass through to supportsType.

LayoutTests:

Add platform specific expected results.

* platform/mac/fast/events/constructors/media-key-event-constructor-expected.txt: Added.
* platform/chromium/fast/events/constructors/media-key-event-constructor-expected.txt: Copied from
    fast/events/constructors/media-key-event-constructor-expected.txt due to chromium expected results
    search order including platform/mac.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131201 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Sub pixel layout] Change RenderBox to not round logicalTop/Left for RenderReplaced
https://bugs.webkit.org/show_bug.cgi?id=99108

Reviewed by Levi Weintraub.

Source/WebCore: 

Change RenderBox::computePositionedLogicalHeightReplaced and
computePositionedLogicalWidthReplaced to not round position.

Covered by existing tests.

* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::placeBoxesInBlockDirection):
Floor baselinePosition for replaced elements to match logic in
RootInlineBox::ascentAndDescentForBox where the ascent is
computed from the floored baselinePosition.
        
* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalWidthReplaced):
(WebCore::RenderBox::computePositionedLogicalHeightReplaced):
Remove .round() call for m_position, preserving precision.

LayoutTests: 

Update tests expectations to reflect more correct rounding behavior.
Specifically many images and other replaced content is no longer rendered at y -1.

* platform/chromium-linux/css2.1/t090501-c414-flt-03-b-g-expected.txt:
* platform/chromium-linux/css3/flexbox/flexbox-baseline-expected.png:
* platform/chromium-linux/fast/dom/HTMLProgressElement/progress-element-expected.png:
* platform/chromium-linux/fast/forms/007-expected.png:
* platform/chromium-linux/fast/forms/basic-buttons-expected.png:
* platform/chromium-linux/fast/forms/basic-buttons-expected.txt:
* platform/chromium-linux/fast/forms/input-baseline-expected.txt:
* platform/chromium-linux/fast/forms/input-placeholder-paint-order-expected.png:
* platform/chromium-linux/fast/forms/search-vertical-alignment-expected.png:
* platform/chromium-linux/fast/forms/searchfield-heights-expected.png:
* platform/chromium-linux/fast/forms/searchfield-heights-expected.txt:
* platform/chromium-linux/fast/html/details-add-child-1-expected.png:
* platform/chromium-linux/fast/html/details-add-child-2-expected.png:
* platform/chromium-linux/fast/html/details-add-details-child-1-expected.png:
* platform/chromium-linux/fast/html/details-add-details-child-2-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-1-and-click-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-1-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-10-and-click-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-10-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-2-and-click-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-2-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-3-and-click-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-3-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-4-and-click-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-4-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-5-and-click-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-5-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-6-and-click-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-6-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-7-and-click-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-7-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-8-and-click-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-8-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-9-and-click-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-9-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-child-1-expected.png:
* platform/chromium-linux/fast/html/details-add-summary-child-2-expected.png:
* platform/chromium-linux/fast/html/details-marker-style-expected.png:
* platform/chromium-linux/fast/html/details-nested-1-expected.png:
* platform/chromium-linux/fast/html/details-nested-2-expected.png:
* platform/chromium-linux/fast/html/details-no-summary1-expected.png:
* platform/chromium-linux/fast/html/details-no-summary2-expected.png:
* platform/chromium-linux/fast/html/details-no-summary3-expected.png:
* platform/chromium-linux/fast/html/details-no-summary4-expected.png:
* platform/chromium-linux/fast/html/details-open-javascript-expected.png:
* platform/chromium-linux/fast/html/details-open1-expected.png:
* platform/chromium-linux/fast/html/details-open2-expected.png:
* platform/chromium-linux/fast/html/details-open3-expected.png:
* platform/chromium-linux/fast/html/details-open4-expected.png:
* platform/chromium-linux/fast/html/details-open5-expected.png:
* platform/chromium-linux/fast/html/details-open6-expected.png:
* platform/chromium-linux/fast/html/details-position-expected.png:
* platform/chromium-linux/fast/html/details-remove-child-1-expected.png:
* platform/chromium-linux/fast/html/details-remove-child-2-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-1-and-click-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-1-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-2-and-click-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-2-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-3-and-click-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-3-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-4-and-click-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-4-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-5-and-click-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-5-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-6-and-click-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-6-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-child-1-expected.png:
* platform/chromium-linux/fast/html/details-remove-summary-child-2-expected.png:
* platform/chromium-linux/fast/html/details-replace-summary-child-expected.png:
* platform/chromium-linux/fast/html/details-replace-summary-child-expected.txt:
* platform/chromium-linux/fast/html/details-replace-text-expected.png:
* platform/chromium-linux/fast/html/details-replace-text-expected.txt:
* platform/chromium-linux/fast/html/details-writing-mode-expected.png:
* platform/chromium-linux/fast/images/imagemap-focus-ring-zoom-expected.png:
* platform/chromium-linux/fast/repaint/reflection-repaint-test-expected.png:
* platform/chromium-linux/fast/repaint/repaint-during-scroll-with-zoom-expected.png:
* platform/chromium-linux/fast/repaint/repaint-during-scroll-with-zoom-expected.txt:
* platform/chromium-linux/fast/repaint/transform-layout-repaint-expected.png:
* platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.png:
* platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.txt:
* platform/chromium-linux/fast/writing-mode/fieldsets-expected.png:
* platform/chromium-linux/svg/as-border-image/svg-as-border-image-2-expected.png:
* platform/chromium-linux/svg/as-border-image/svg-as-border-image-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-background-images-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-hixie-mixed-009-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt:
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt:
* platform/chromium-win/compositing/shadows/shadow-drawing-expected.txt:
* platform/chromium-win/css2.1/t0804-c5509-padn-l-03-f-g-expected.txt:
* platform/chromium-win/css3/flexbox/flexbox-baseline-expected.txt:
* platform/chromium-win/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png:
* platform/chromium-win/fast/box-sizing/box-sizing-expected.txt:
* platform/chromium-win/fast/forms/007-expected.txt:
* platform/chromium-win/fast/forms/placeholder-position-expected.txt:
* platform/chromium-win/fast/forms/search-vertical-alignment-expected.txt:
* platform/chromium-win/fast/html/details-add-child-1-expected.txt:
* platform/chromium-win/fast/html/details-add-child-2-expected.txt:
* platform/chromium-win/fast/html/details-add-details-child-1-expected.txt:
* platform/chromium-win/fast/html/details-add-details-child-2-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-1-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-10-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-2-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-3-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-4-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-5-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-6-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-7-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-8-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-9-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-child-1-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-child-2-expected.txt:
* platform/chromium-win/fast/html/details-marker-style-expected.txt:
* platform/chromium-win/fast/html/details-nested-1-expected.txt:
* platform/chromium-win/fast/html/details-nested-2-expected.txt:
* platform/chromium-win/fast/html/details-no-summary1-expected.txt:
* platform/chromium-win/fast/html/details-no-summary2-expected.txt:
* platform/chromium-win/fast/html/details-no-summary3-expected.txt:
* platform/chromium-win/fast/html/details-no-summary4-expected.txt:
* platform/chromium-win/fast/html/details-open-javascript-expected.txt:
* platform/chromium-win/fast/html/details-open1-expected.txt:
* platform/chromium-win/fast/html/details-open2-expected.txt:
* platform/chromium-win/fast/html/details-open3-expected.txt:
* platform/chromium-win/fast/html/details-open4-expected.txt:
* platform/chromium-win/fast/html/details-open5-expected.txt:
* platform/chromium-win/fast/html/details-open6-expected.txt:
* platform/chromium-win/fast/html/details-position-expected.txt:
* platform/chromium-win/fast/html/details-remove-child-1-expected.txt:
* platform/chromium-win/fast/html/details-remove-child-2-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-1-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-2-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-3-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-4-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-5-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-6-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-child-1-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-child-2-expected.txt:
* platform/chromium-win/fast/html/details-writing-mode-expected.txt:
* platform/chromium-win/fast/images/imagemap-focus-ring-zoom-expected.txt:
* platform/chromium-win/fast/inline-block/contenteditable-baseline-expected.txt:
* platform/chromium-win/fast/writing-mode/fieldsets-expected.txt:
* platform/chromium-win/media/media-document-audio-repaint-expected.txt:
* platform/chromium-win/svg/as-border-image/svg-as-border-image-2-expected.txt:
* platform/chromium-win/svg/as-border-image/svg-as-border-image-expected.txt:
* platform/chromium-win/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.png:
* platform/chromium-win/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.txt:
* platform/chromium-win/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-expected.png:
* platform/chromium-win/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-expected.txt:
* platform/chromium-win/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
* platform/chromium-win/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
* platform/chromium-win/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt:
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt:
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt:
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug30692-expected.txt:
* platform/chromium/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131202 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Stop using deprecatedSend inside ConnectionMac.cpp
https://bugs.webkit.org/show_bug.cgi?id=99192

Reviewed by Andreas Kling.

The messages that we send are so simple that we can just use sendMessage.

* Platform/CoreIPC/mac/ConnectionMac.cpp:
(CoreIPC::Connection::open):

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