[Gtk] Remove configuration options for features that are not supported by the Gtk port
https://bugs.webkit.org/show_bug.cgi?id=87664

Reviewed by Martin Robinson.

.: 

Remove configuration options for features that are completely unsupported by the GTK port.
They only bloat the configure.ac file. They should be re-added when the feature becomes
supported and introduces an external dependency that the users might want to avoid.

* configure.ac:

Source/WebCore: 

Remove addition of macros to feature_defines for features that are completely
unsupported by the Gtk port. They're not required anymore since the accompanying
configuration flags are also being removed.

No new tests - no new functionality.

* GNUmakefile.am:
* bindings/gobject/GNUmakefile.am:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix export macros in IntegerToStringConversion.h
https://bugs.webkit.org/show_bug.cgi?id=95900

Reviewed by Benjamin Poulain.

The WTF_EXPORT_STRING_API must be used only for symbols which are compiled
on windows in "non-WTF" binaries too. Since this isn't valid for the
IntegerToStringConversion function replace it with WTF_EXPORT_PRIVATE.

* wtf/text/IntegerToStringConversion.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
SharedGraphicsContext3D shouldn't depend on CCProxy
https://bugs.webkit.org/show_bug.cgi?id=95921

Reviewed by Adrienne Walker.

This class just wants to ASSERT() that we're on or not on the main thread. There's perfectly fine cross-platform
code in WTF to do that.

* platform/graphics/gpu/SharedGraphicsContext3D.cpp:
(WebCore::SharedGraphicsContext3D::getForImplThread):
(WebCore::SharedGraphicsContext3D::haveForImplThread):
(WebCore::SharedGraphicsContext3D::createForImplThread):

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

Generating required platform-specific baselines after r127608.

Adding failure expectations for regressions introduced in r127698 and r127704.

Fixing and removing duplicate expectations to get the file to pass linting.

* platform/gtk/TestExpectations:
* platform/gtk/css3/masking: Added.
* platform/gtk/css3/masking/clip-path-circle-expected.png: Added.
* platform/gtk/css3/masking/clip-path-circle-expected.txt: Added.
* platform/gtk/css3/masking/clip-path-circle-filter-expected.png: Added.
* platform/gtk/css3/masking/clip-path-circle-filter-expected.txt: Added.
* platform/gtk/css3/masking/clip-path-circle-overflow-expected.png: Added.
* platform/gtk/css3/masking/clip-path-circle-overflow-expected.txt: Added.
* platform/gtk/css3/masking/clip-path-circle-overflow-hidden-expected.png: Added.
* platform/gtk/css3/masking/clip-path-circle-overflow-hidden-expected.txt: Added.
* platform/gtk/css3/masking/clip-path-circle-relative-overflow-expected.png: Added.
* platform/gtk/css3/masking/clip-path-circle-relative-overflow-expected.txt: Added.
* platform/gtk/css3/masking/clip-path-ellipse-expected.png: Added.
* platform/gtk/css3/masking/clip-path-ellipse-expected.txt: Added.
* platform/gtk/css3/masking/clip-path-polygon-evenodd-expected.png: Added.
* platform/gtk/css3/masking/clip-path-polygon-evenodd-expected.txt: Added.
* platform/gtk/css3/masking/clip-path-polygon-expected.png: Added.
* platform/gtk/css3/masking/clip-path-polygon-expected.txt: Added.
* platform/gtk/css3/masking/clip-path-polygon-nonzero-expected.png: Added.
* platform/gtk/css3/masking/clip-path-polygon-nonzero-expected.txt: Added.
* platform/gtk/css3/masking/clip-path-rectangle-expected.png: Added.
* platform/gtk/css3/masking/clip-path-rectangle-expected.txt: Added.


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

CSS Compositing is not currently supported on the GTK port, so
the feature define should default to 0.

* GNUmakefile.features.am:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix one of the Qt builds.

* dom/TransformSource.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
MediaStream API: Add the local and remote description functionality to RTCPeerConnection
https://bugs.webkit.org/show_bug.cgi?id=95839

Reviewed by Adam Barth.

Source/Platform:

* Platform.gypi:
* chromium/public/WebRTCPeerConnectionHandler.h:
(WebKit):
(WebRTCPeerConnectionHandler):
* chromium/public/WebRTCVoidRequest.h: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
(WebCore):
(WebKit):
(WebRTCVoidRequest):
(ExtraData):
(WebKit::WebRTCVoidRequest::ExtraData::~ExtraData):
(WebKit::WebRTCVoidRequest::WebRTCVoidRequest):
(WebKit::WebRTCVoidRequest::~WebRTCVoidRequest):
(WebKit::WebRTCVoidRequest::operator=):
(WebKit::WebRTCVoidRequest::isNull):

Source/WebCore:

As well as adding the local/remote descriptions stuff, I removed the source attribute from
RTCSessionDescriptionCallback and RTCErrorCallback since it has been removed from the draft.

Tests: fast/mediastream/RTCPeerConnection-localDescription.html
       fast/mediastream/RTCPeerConnection-remoteDescription.html

* CMakeLists.txt:
* GNUmakefile.list.am:
* Modules/mediastream/RTCErrorCallback.h:
(RTCErrorCallback):
* Modules/mediastream/RTCErrorCallback.idl:
* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::createOffer):
(WebCore::RTCPeerConnection::setLocalDescription):
(WebCore):
(WebCore::RTCPeerConnection::localDescription):
(WebCore::RTCPeerConnection::setRemoteDescription):
(WebCore::RTCPeerConnection::remoteDescription):
* Modules/mediastream/RTCPeerConnection.h:
(WebCore):
(RTCPeerConnection):
* Modules/mediastream/RTCPeerConnection.idl:
* Modules/mediastream/RTCSessionDescriptionCallback.h:
(RTCSessionDescriptionCallback):
* Modules/mediastream/RTCSessionDescriptionCallback.idl:
* Modules/mediastream/RTCSessionDescriptionRequestImpl.cpp:
(WebCore::RTCSessionDescriptionRequestImpl::create):
(WebCore::RTCSessionDescriptionRequestImpl::RTCSessionDescriptionRequestImpl):
(WebCore::RTCSessionDescriptionRequestImpl::requestSucceeded):
(WebCore::RTCSessionDescriptionRequestImpl::requestFailed):
(WebCore::RTCSessionDescriptionRequestImpl::clear):
* Modules/mediastream/RTCSessionDescriptionRequestImpl.h:
(RTCSessionDescriptionRequestImpl):
* Modules/mediastream/RTCVoidRequestImpl.cpp: Copied from Source/WebCore/Modules/mediastream/RTCSessionDescriptionRequestImpl.cpp.
(WebCore):
(WebCore::RTCVoidRequestImpl::create):
(WebCore::RTCVoidRequestImpl::RTCVoidRequestImpl):
(WebCore::RTCVoidRequestImpl::~RTCVoidRequestImpl):
(WebCore::RTCVoidRequestImpl::requestSucceeded):
(WebCore::RTCVoidRequestImpl::requestFailed):
(WebCore::RTCVoidRequestImpl::stop):
(WebCore::RTCVoidRequestImpl::clear):
* Modules/mediastream/RTCVoidRequestImpl.h: Copied from Source/WebCore/Modules/mediastream/RTCSessionDescriptionCallback.h.
(WebCore):
(RTCVoidRequestImpl):
* WebCore.gypi:
* platform/chromium/support/WebRTCVoidRequest.cpp: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
(WebKit):
(WebKit::WebRTCVoidRequest::WebRTCVoidRequest):
(WebKit::WebRTCVoidRequest::assign):
(WebKit::WebRTCVoidRequest::reset):
(WebKit::WebRTCVoidRequest::requestSucceeded):
(WebKit::WebRTCVoidRequest::requestFailed):
(ExtraDataContainer):
(WebKit::ExtraDataContainer::ExtraDataContainer):
(WebKit::ExtraDataContainer::extraData):
(WebKit::WebRTCVoidRequest::extraData):
(WebKit::WebRTCVoidRequest::setExtraData):
* platform/mediastream/RTCPeerConnectionHandler.cpp:
(RTCPeerConnectionHandlerDummy):
(WebCore::RTCPeerConnectionHandlerDummy::setLocalDescription):
(WebCore):
(WebCore::RTCPeerConnectionHandlerDummy::setRemoteDescription):
(WebCore::RTCPeerConnectionHandlerDummy::localDescription):
(WebCore::RTCPeerConnectionHandlerDummy::remoteDescription):
* platform/mediastream/RTCPeerConnectionHandler.h:
(WebCore):
(RTCPeerConnectionHandler):
* platform/mediastream/RTCVoidRequest.h: Copied from Source/WebCore/Modules/mediastream/RTCErrorCallback.h.
(WebCore):
(RTCVoidRequest):
(ExtraData):
(WebCore::RTCVoidRequest::ExtraData::~ExtraData):
(WebCore::RTCVoidRequest::~RTCVoidRequest):
(WebCore::RTCVoidRequest::extraData):
(WebCore::RTCVoidRequest::setExtraData):
(WebCore::RTCVoidRequest::RTCVoidRequest):
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
(WebCore::RTCPeerConnectionHandlerChromium::setLocalDescription):
(WebCore):
(WebCore::RTCPeerConnectionHandlerChromium::setRemoteDescription):
(WebCore::RTCPeerConnectionHandlerChromium::localDescription):
(WebCore::RTCPeerConnectionHandlerChromium::remoteDescription):
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
(RTCPeerConnectionHandlerChromium):

Tools:

In addition to adding the new methods to MockWebRTCPeerConnectionHandler I cleaned
up the task definitions a bit. There was no need to have them in the header file.

* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
(RTCSessionDescriptionRequestSuccededTask):
(RTCSessionDescriptionRequestSuccededTask::RTCSessionDescriptionRequestSuccededTask):
(RTCSessionDescriptionRequestFailedTask):
(RTCSessionDescriptionRequestFailedTask::RTCSessionDescriptionRequestFailedTask):
(RTCVoidRequestTask):
(RTCVoidRequestTask::RTCVoidRequestTask):
(MockWebRTCPeerConnectionHandler::createOffer):
(MockWebRTCPeerConnectionHandler::setLocalDescription):
(MockWebRTCPeerConnectionHandler::setRemoteDescription):
(MockWebRTCPeerConnectionHandler::localDescription):
(MockWebRTCPeerConnectionHandler::remoteDescription):
* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
(MockWebRTCPeerConnectionHandler):

LayoutTests:

* fast/mediastream/RTCPeerConnection-createOffer.html:
* fast/mediastream/RTCPeerConnection-localDescription-expected.txt: Added.
* fast/mediastream/RTCPeerConnection-localDescription.html: Copied from LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html.
* fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt: Added.
* fast/mediastream/RTCPeerConnection-remoteDescription.html: Copied from LayoutTests/fast/mediastream/RTCPeerConnection-createOffer.html.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Enable different fling behaviour for touchscreen and touchpad
https://bugs.webkit.org/show_bug.cgi?id=95756

Reviewed by James Robinson.

Add support for a flag on WebGestureEvents that differentiates GestureFlingStart
events by their originating device and pass this flag to a factory that produces
different device  specific fling curves based on the value of the flag.

Source/WebCore:

Covered by existing layout and unit tests.

* platform/chromium/support/PlatformGestureCurveFactory.cpp: Modified  factory
entry point for constructing fling curve for different devices.
(WebKit::PlatformGestureCurveFactory::createCurve):
* platform/chromium/support/PlatformGestureCurveFactory.h:
(PlatformGestureCurveFactory):

Source/WebKit/chromium:

* public/WebActiveWheelFlingParameters.h:
(WebActiveWheelFlingParameters): Store source device for transfer to mainthread.
(WebKit::WebActiveWheelFlingParameters::WebActiveWheelFlingParameters):
* public/WebInputEvent.h: Added source device flag to WebGestureEvent.
* src/WebCompositorInputHandlerImpl.cpp:
(WebKit::WebCompositorInputHandlerImpl::handleGestureFling):  Use factory to
obtain device-appropriate fling curve.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleGestureEvent): Use factory to obtain device-appropriate
fling curve.
(WebKit::WebViewImpl::transferActiveWheelFlingAnimation):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening. Skip failing test: fast/dom/HTMLScriptElement/script-reexecution.html
https://bugs.webkit.org/show_bug.cgi?id=95944

* platform/win/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
mathml.css: Add more { white-space: nowrap } declarations
https://bugs.webkit.org/show_bug.cgi?id=95404

Reviewed by Eric Seidel.

mathml.css declared { white-space: nowrap } for mrow, mfenced, msqrt. It is also needed
for other tags such as msub, msup, msubsup.

Added a test to mathml/presentation/sup.xhtml, and a regression test to roots.xhtml.

Source/WebCore:

* css/mathml.css:
(mo, mrow, mfenced, mfrac, msub, msup, msubsup, munder, mover, munderover, msqrt, mroot):

LayoutTests:

* mathml/presentation/roots.xhtml:
* mathml/presentation/sup.xhtml:
* platform/mac/mathml/presentation/roots-expected.png:
* platform/mac/mathml/presentation/roots-expected.txt:
* platform/mac/mathml/presentation/sup-expected.png:
* platform/mac/mathml/presentation/sup-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Skipping failing test: fast/forms/number/number-interactive-validation-required.html
Interactive form validation is not enabled on Windows. It's fine to skip this test.

* platform/win/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Another unreviewed GTK build fix.

The ENABLE_DATALIST_ELEMENT should default to 0, as it did in stable
release versions before r127760. The feature define can be switched
on later, when its stability is determined and the test results are
rebaselined.

* GNUmakefile.features.am:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Allow overscroll to composited scroll layers
https://bugs.webkit.org/show_bug.cgi?id=95998
PR #195305

Reviewed by Rob Buis.
Patch by Antonio Gomes <agomes@rim.com>
Internally reviewed by Gen Mak.

No need to reset the overscroll limit factor at creation to 0.
It is already 0 by default, and later on the client sets the
appropriated value.

* WebKitSupport/InRegionScrollableArea.cpp:
(BlackBerry::WebKit::InRegionScrollableArea::InRegionScrollableArea):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Need to rebaseline chromium tests after hidpi changes
https://bugs.webkit.org/show_bug.cgi?id=95579

Patch by Alex Sakhartchouk <alexst@chromium.org> on 2012-09-06
Reviewed by James Robinson.

Adding double resolution files for hidpi tests and updating expectations for broken image tests.

* platform/chromium-linux/fast/hidpi/broken-image-icon-hidpi-expected.png: Removed.
* platform/chromium-linux/fast/hidpi/broken-image-with-size-hidpi-expected.png: Removed.
* platform/chromium-linux/fast/hidpi/device-scale-factor-paint-expected.png: Removed.
* platform/chromium-linux/fast/hidpi/focus-rings-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/broken-image-icon-hidpi-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/broken-image-with-size-hidpi-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/clip-text-in-hidpi-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/device-scale-factor-paint-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/focus-rings-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-as-background-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-dynamic-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-repeat-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-repeat-without-size-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-comparison-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-dynamic-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-simple-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-in-content-dynamic-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-out-of-order-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-simple-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-without-specified-width-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/resize-corner-hidpi-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/hidpi/video-controls-in-hidpi-expected.png: Removed.
* platform/chromium-mac/fast/hidpi/clip-text-in-hidpi-expected.png:
* platform/chromium-mac/fast/hidpi/device-scale-factor-paint-expected.png: Removed.
* platform/chromium-mac/fast/hidpi/focus-rings-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-as-background-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-background-dynamic-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-background-repeat-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-background-repeat-without-size-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-border-image-comparison-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-border-image-dynamic-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-border-image-simple-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-in-content-dynamic-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-out-of-order-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-simple-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-without-specified-width-expected.png:
* platform/chromium-mac/fast/hidpi/resize-corner-hidpi-expected.png:
* platform/chromium-mac/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium-win/fast/hidpi/clip-text-in-hidpi-expected.png:
* platform/chromium-win/fast/hidpi/device-scale-factor-paint-expected.png:
* platform/chromium-win/fast/hidpi/focus-rings-expected.png:
* platform/chromium-win/fast/hidpi/image-set-as-background-expected.png:
* platform/chromium-win/fast/hidpi/image-set-background-dynamic-expected.png:
* platform/chromium-win/fast/hidpi/image-set-background-repeat-expected.png:
* platform/chromium-win/fast/hidpi/image-set-background-repeat-without-size-expected.png:
* platform/chromium-win/fast/hidpi/image-set-border-image-comparison-expected.png:
* platform/chromium-win/fast/hidpi/image-set-border-image-dynamic-expected.png:
* platform/chromium-win/fast/hidpi/image-set-border-image-simple-expected.png:
* platform/chromium-win/fast/hidpi/image-set-in-content-dynamic-expected.png:
* platform/chromium-win/fast/hidpi/image-set-out-of-order-expected.png:
* platform/chromium-win/fast/hidpi/image-set-simple-expected.png:
* platform/chromium-win/fast/hidpi/image-set-without-specified-width-expected.png:
* platform/chromium-win/fast/hidpi/resize-corner-hidpi-expected.png:
* platform/chromium-win/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127773 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rolled out <http://trac.webkit.org/changeset/127698> because it broke
fast/dom/HTMLScriptElement/script-reexecution-pretty-diff.html

    Named functions should not allocate scope objects for their names
    https://bugs.webkit.org/show_bug.cgi?id=95659

    Reviewed by Oliver Hunt.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127774 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix WTF.Lrint on 32-bit platforms
https://bugs.webkit.org/show_bug.cgi?id=96003

Patch by Fady Samuel <fsamuel@chromium.org> on 2012-09-06
Reviewed by Benjamin Poulain.

Fixed failing WTF.Lrint test on 32-bit platforms.

* TestWebKitAPI/Tests/WTF/MathExtras.cpp:
(TestWebKitAPI::TEST):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Add WebFrame::moveSelectionStart, moveSelectionEnd, moveCaret
https://bugs.webkit.org/show_bug.cgi?id=93998

Patch by Iain Merrick <husky@chromium.org> on 2012-09-06
Reviewed by Adam Barth.

These provide the same functionality selectRange(WebPoint, WebPoint),
with finer-grained control needed on the Android platform. By passing
allowCollapsedSelection=false, we can ensure the selection stays at
least one character wide.

I have reimplemented WebFrameImpl::selectRange(WebPoint, WebPoint) by
calling the new methods. The existing test passes, and I've added new
tests for the new methods.

* public/WebFrame.h:
(WebFrame):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::selectRange):
(WebKit):
(WebKit::WebFrameImpl::moveSelectionStart):
(WebKit::WebFrameImpl::moveSelectionEnd):
(WebKit::WebFrameImpl::moveCaret):
* src/WebFrameImpl.h:
(WebFrameImpl):
* tests/WebFrameTest.cpp:
* tests/data/text_selection.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unskipped fast/dom/HTMLScriptElement/script-reexecution-pretty-diff.html
because I rolled out the patch that broke it.

* platform/qt/Skipped:
* platform/win/Skipped:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Performance regressions on 32-bit platforms with revisions 125637 and 126387
https://bugs.webkit.org/show_bug.cgi?id=95953

Reviewed by Filip Pizlo.

* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emit_op_get_by_val): Fix the typo.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ASSERT reached when TextTrack.mode is set to DISABLED.
https://bugs.webkit.org/show_bug.cgi?id=94651

Reviewed by Eric Carlson.

This patch ensures that cues that have already been added to the
cueTree in HTMLMediaElement, are not added again.

Source/WebCore:

Test: media/track/track-mode-disabled-crash.html

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::textTrackAddCue): Do not add the cue if it already
exists in m_cueTree.

LayoutTests:

* media/track/track-mode-disabled-crash-expected.txt: Added.
* media/track/track-mode-disabled-crash.html: Added.


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