JSGlobalContextRelease incorrectly handles saving/restoring IdentifierTable
https://bugs.webkit.org/show_bug.cgi?id=129858

Reviewed by Mark Lam.

It was correct (but really ugly) prior to the combining of APIEntryShim and JSLock,
but now it ends up overwriting the IdentifierTable that JSLock just restored.

* API/JSContextRef.cpp:
(JSGlobalContextRelease):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[OS X] Web Inspector: Allow Apps using JavaScriptCore to access "com.apple.webinspector" mach port
https://bugs.webkit.org/show_bug.cgi?id=129852

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-03-06
Reviewed by Geoffrey Garen.

* framework.sb: Added.
Sandbox extension to allow access to "com.apple.webinspector".

* JavaScriptCore.xcodeproj/project.pbxproj:
Add a Copy Resources build phase and include framework.sb.

* Configurations/JavaScriptCore.xcconfig:
Do not copy framework.sb on iOS.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Move EvasGL classes from WebKit to WebCore namespace.
https://bugs.webkit.org/show_bug.cgi?id=129797

Patch by Hyowon Kim <hw1008.kim@samsung.com> on 2014-03-06
Reviewed by Gyuyoung Kim.

Source/WebCore:

Though EvasGLContext and EvasGLSurface files were moved from WebKit2/UIProcess/API/efl/
to WebCore/platform/graphics/efl/, they are still in WebKit namespace.
Patch for namespace changes.

* platform/graphics/efl/EvasGLContext.cpp:
* platform/graphics/efl/EvasGLContext.h:
* platform/graphics/efl/EvasGLSurface.cpp:
* platform/graphics/efl/EvasGLSurface.h:

Source/WebKit2:

* UIProcess/API/efl/EwkView.h: namespace changes for EvasGLContext/Surface.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WebRTC] Updating RTCIceServer to match spec
https://bugs.webkit.org/show_bug.cgi?id=129844

Reviewed by Eric Carlson.

Move RTCIceServer from RTCConfiguration to its own file.

* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::validateIceServerURL):
(WebCore::processIceServer):
* platform/mediastream/RTCConfiguration.h:
(WebCore::RTCConfiguration::iceServers):
* platform/mediastream/RTCIceServer.h: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WebRTC] Updating RTCPeerConnection.idl
https://bugs.webkit.org/show_bug.cgi?id=129804

Reviewed by Eric Carlson.

Some methods signatures were wrong, marking some arguments as optional when they are mandatory.

Source/WebCore:

Existing tests were updated.

* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::getStats):
* Modules/mediastream/RTCPeerConnection.h:
* Modules/mediastream/RTCPeerConnection.idl:
* Modules/mediastream/RTCStatsRequestImpl.cpp:
(WebCore::RTCStatsRequestImpl::create):
(WebCore::RTCStatsRequestImpl::RTCStatsRequestImpl):
(WebCore::RTCStatsRequestImpl::requestFailed):
* Modules/mediastream/RTCStatsRequestImpl.h:
* platform/mediastream/RTCStatsRequest.h:

LayoutTests:

* fast/mediastream/RTCPeerConnection-stats.html:
* fast/mediastream/RTCPeerConnection-statsSelector.html:


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