1. 14 Jan, 2013 3 commits
    • tommyw@google.com's avatar
      MediaStream API: Update MediaStreamTrack::readyState to match specification · c7f0bd90
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106781
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      MediaStreamTrack::readyState now returns a string like the rest of the RTC classes.
      
      Existing tests expanded to cover patch.
      
      * Modules/mediastream/MediaStream.cpp:
      (WebCore::processTrack):
      * Modules/mediastream/MediaStreamTrack.cpp:
      (WebCore::MediaStreamTrack::readyState):
      (WebCore::MediaStreamTrack::ended):
      (WebCore):
      * Modules/mediastream/MediaStreamTrack.h:
      (MediaStreamTrack):
      * Modules/mediastream/MediaStreamTrack.idl:
      
      LayoutTests:
      
      * fast/mediastream/MediaStreamTrack-expected.txt:
      * fast/mediastream/MediaStreamTrack.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7f0bd90
    • tommyw@google.com's avatar
      MediaStream API: Update the track accessors on MediaStream to match the latest specification · fd01ce17
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106660
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      The spec has significantly changed how tracks are accessed from a MediaStream:
      http://dev.w3.org/2011/webrtc/editor/getusermedia.html
      
      In short: the attributes audioTrack/videoTrack that returned special MediaStreamTrackLists have been
      replaced by the functions getAudioTracks()/getVideoTracks that return standard sequences of
      MediaStreamTracks.
      
      Existing tests updated and expanded to cover patch.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Modules/mediastream/MediaStream.cpp:
      (WebCore::MediaStream::create):
      (WebCore::MediaStream::MediaStream):
      (WebCore::MediaStream::~MediaStream):
      (WebCore::MediaStream::readyState):
      (WebCore):
      (WebCore::MediaStream::addTrack):
      (WebCore::MediaStream::removeTrack):
      (WebCore::MediaStream::getTrackById):
      (WebCore::MediaStream::streamEnded):
      (WebCore::MediaStream::contextDestroyed):
      (WebCore::MediaStream::scheduleDispatchEvent):
      (WebCore::MediaStream::scheduledEventTimerFired):
      * Modules/mediastream/MediaStream.h:
      (MediaStream):
      (WebCore::MediaStream::getAudioTracks):
      (WebCore::MediaStream::getVideoTracks):
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamTrackList.cpp: Removed.
      * Modules/mediastream/MediaStreamTrackList.h: Removed.
      * Modules/mediastream/MediaStreamTrackList.idl: Removed.
      * Modules/webaudio/AudioContext.cpp:
      (WebCore::AudioContext::createMediaStreamSource):
      * WebCore.gypi:
      * dom/EventTargetFactory.in:
      * platform/mediastream/MediaStreamDescriptor.h:
      (WebCore::MediaStreamDescriptor::addAudioComponent):
      (WebCore::MediaStreamDescriptor::removeAudioComponent):
      (WebCore::MediaStreamDescriptor::addVideoComponent):
      (WebCore::MediaStreamDescriptor::removeVideoComponent):
      
      LayoutTests:
      
      Updating and expanding tests for the new getAudioTracks()/getVideoTracks().
      
      * fast/mediastream/MediaStreamConstructor-expected.txt:
      * fast/mediastream/MediaStreamConstructor.html:
      * fast/mediastream/MediaStreamTrack.html:
      * fast/mediastream/MediaStreamTrackList-expected.txt:
      * fast/mediastream/MediaStreamTrackList.html:
      * fast/mediastream/RTCPeerConnection-statsSelector-expected.txt:
      * fast/mediastream/RTCPeerConnection-statsSelector.html:
      * fast/mediastream/getusermedia-expected.txt:
      * fast/mediastream/getusermedia.html:
      * webaudio/mediastreamaudiosourcenode-expected.txt:
      * webaudio/mediastreamaudiosourcenode.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd01ce17
    • tommyw@google.com's avatar
      MediaStream API: Change MediaStream::readyState to an boolean attribute called ended. · 4aad81ec
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106568
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      See specification: http://dev.w3.org/2011/webrtc/editor/getusermedia.html
      
      Existings tests updated to cover patch.
      
      * Modules/mediastream/LocalMediaStream.cpp:
      (WebCore::LocalMediaStream::stop):
      * Modules/mediastream/MediaStream.cpp:
      (WebCore::MediaStream::ended):
      (WebCore::MediaStream::streamEnded):
      * Modules/mediastream/MediaStream.h:
      (MediaStream):
      (WebCore::MediaStream::isLocal):
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamTrackList.cpp:
      (WebCore::MediaStreamTrackList::add):
      (WebCore::MediaStreamTrackList::remove):
      
      LayoutTests:
      
      * fast/mediastream/LocalMediaStream-onended-expected.txt:
      * fast/mediastream/LocalMediaStream-onended.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4aad81ec
  2. 10 Jan, 2013 1 commit
    • tommyw@google.com's avatar
      MediaStream API: Adding the new id attribute to MediaStream and MediaStreamTrack · 860809ad
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106564
      
      Reviewed by Adam Barth.
      
      Specification: http://dev.w3.org/2011/webrtc/editor/getusermedia.html
      MediaStream looses its label attribute and instead gets an id attribute.
      MediaStreamTrack gets an id attribute.
      
      Source/Platform:
      
      * chromium/public/WebMediaStreamComponent.h:
      (WebMediaStreamComponent):
      * chromium/public/WebMediaStreamDescriptor.h:
      (WebMediaStreamDescriptor):
      
      Source/WebCore:
      
      Not testable yet, will add tests in a followup patch.
      
      * Modules/mediastream/MediaStream.h:
      (WebCore::MediaStream::label):
      (MediaStream):
      (WebCore::MediaStream::id):
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamTrack.cpp:
      (WebCore::MediaStreamTrack::id):
      (WebCore):
      * Modules/mediastream/MediaStreamTrack.h:
      * Modules/mediastream/MediaStreamTrack.idl:
      * platform/chromium/support/WebMediaStreamComponent.cpp:
      (WebKit::WebMediaStreamComponent::initialize):
      (WebKit):
      (WebKit::WebMediaStreamComponent::isEnabled):
      (WebKit::WebMediaStreamComponent::id):
      (WebKit::WebMediaStreamComponent::source):
      * platform/chromium/support/WebMediaStreamDescriptor.cpp:
      (WebKit::WebMediaStreamDescriptor::label):
      (WebKit):
      (WebKit::WebMediaStreamDescriptor::id):
      * platform/mediastream/MediaStreamComponent.h:
      (WebCore::MediaStreamComponent::id):
      (WebCore::MediaStreamComponent::MediaStreamComponent):
      (MediaStreamComponent):
      * platform/mediastream/MediaStreamDescriptor.h:
      (WebCore::MediaStreamDescriptor::create):
      (WebCore::MediaStreamDescriptor::id):
      (WebCore::MediaStreamDescriptor::MediaStreamDescriptor):
      (MediaStreamDescriptor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      860809ad
  3. 03 Jan, 2013 1 commit
  4. 21 Dec, 2012 1 commit
    • adam.bergkvist@ericsson.com's avatar
      MediaStream API: Update the MediaStream constructor · 582cbf30
      adam.bergkvist@ericsson.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98416
      
      Reviewed by Adam Barth.
      
      Updated the MediaStream constructor to support the more general argument
      list from the latest Media Capture and Streams specification:
      http://dev.w3.org/2011/webrtc/editor/getusermedia.html
      
      Source/WebCore:
      
      Added more test cases to existing tests.
      
      * Modules/mediastream/MediaStream.cpp:
      (WebCore::containsSource):
      (WebCore):
      (WebCore::processTrack):
      (WebCore::createFromSourceVectors):
      (WebCore::MediaStream::create):
      * Modules/mediastream/MediaStream.h:
      * Modules/mediastream/MediaStream.idl:
      
      LayoutTests:
      
      * fast/js/constructor-length.html:
      * fast/mediastream/MediaStreamConstructor-expected.txt:
      * fast/mediastream/MediaStreamConstructor.html:
      * platform/blackberry/fast/js/constructor-length-expected.txt:
      * platform/chromium/fast/js/constructor-length-expected.txt:
      * platform/gtk/fast/js/constructor-length-expected.txt:
      * platform/mac/fast/js/constructor-length-expected.txt:
      * platform/qt/fast/js/constructor-length-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      582cbf30
  5. 12 Dec, 2012 1 commit
    • tommyw@google.com's avatar
      MediaStream API: Change the data channel descriptor pattern to a handler pattern · 86783aca
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=104543
      
      Reviewed by Kent Tamura.
      
      Source/Platform:
      
      In short the code is refactured to use the Handler/Client pattern (see RTCPeerConnectionHandler)
      instead of the Descriptor pattern.
      This will fix lifetime/memory/code structure issues in the chromium port.
      
      * Platform.gypi:
      * chromium/public/WebRTCDataChannel.h: Removed.
      * chromium/public/WebRTCDataChannelHandler.h: Added.
      (WebKit):
      (WebRTCDataChannelHandler):
      (WebKit::WebRTCDataChannelHandler::~WebRTCDataChannelHandler):
      * chromium/public/WebRTCDataChannelHandlerClient.h: Added.
      (WebKit):
      (WebRTCDataChannelHandlerClient):
      (WebKit::WebRTCDataChannelHandlerClient::~WebRTCDataChannelHandlerClient):
      * chromium/public/WebRTCPeerConnectionHandler.h:
      (WebKit):
      (WebKit::WebRTCPeerConnectionHandler::createDataChannel):
      * chromium/public/WebRTCPeerConnectionHandlerClient.h:
      (WebKit):
      (WebKit::WebRTCPeerConnectionHandlerClient::didAddRemoteDataChannel):
      
      Source/WebCore:
      
      In short the code is refactured to use the Handler/Client pattern (see RTCPeerConnectionHandler)
      instead of the Descriptor pattern.
      This will fix lifetime/memory/code structure issues in the chromium port.
      
      Existing tests cover this patch.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Modules/mediastream/RTCDataChannel.cpp:
      (WebCore::RTCDataChannel::create):
      (WebCore::RTCDataChannel::RTCDataChannel):
      (WebCore::RTCDataChannel::~RTCDataChannel):
      (WebCore::RTCDataChannel::label):
      (WebCore::RTCDataChannel::reliable):
      (WebCore::RTCDataChannel::readyState):
      (WebCore::RTCDataChannel::bufferedAmount):
      (WebCore::RTCDataChannel::send):
      (WebCore::RTCDataChannel::close):
      (WebCore::RTCDataChannel::didChangeReadyState):
      (WebCore::RTCDataChannel::didReceiveStringData):
      (WebCore::RTCDataChannel::didReceiveRawData):
      (WebCore::RTCDataChannel::didDetectError):
      (WebCore::RTCDataChannel::stop):
      * Modules/mediastream/RTCDataChannel.h:
      (WebCore):
      (RTCDataChannel):
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::didAddRemoteDataChannel):
      * Modules/mediastream/RTCPeerConnection.h:
      (RTCPeerConnection):
      * WebCore.gypi:
      * platform/chromium/support/WebRTCDataChannel.cpp: Removed.
      * platform/mediastream/RTCDataChannelDescriptor.h: Removed.
      * platform/mediastream/RTCDataChannelHandler.h: Copied from Source/WebCore/platform/mediastream/RTCDataChannelDescriptor.cpp.
      (WebCore):
      (RTCDataChannelHandler):
      (WebCore::RTCDataChannelHandler::~RTCDataChannelHandler):
      * platform/mediastream/RTCDataChannelHandlerClient.h: Renamed from Source/WebCore/platform/mediastream/RTCDataChannelDescriptor.cpp.
      (WebCore):
      (RTCDataChannelHandlerClient):
      (WebCore::RTCDataChannelHandlerClient::~RTCDataChannelHandlerClient):
      * platform/mediastream/RTCPeerConnectionHandler.cpp:
      (WebCore):
      (WebCore::RTCPeerConnectionHandler::create):
      * platform/mediastream/RTCPeerConnectionHandler.h:
      (WebCore):
      (RTCPeerConnectionHandler):
      * platform/mediastream/RTCPeerConnectionHandlerClient.h:
      (WebCore):
      (RTCPeerConnectionHandlerClient):
      * platform/mediastream/chromium/RTCDataChannelHandlerChromium.cpp: Added.
      (WebCore):
      (WebCore::RTCDataChannelHandlerChromium::create):
      (WebCore::RTCDataChannelHandlerChromium::RTCDataChannelHandlerChromium):
      (WebCore::RTCDataChannelHandlerChromium::~RTCDataChannelHandlerChromium):
      (WebCore::RTCDataChannelHandlerChromium::setClient):
      (WebCore::RTCDataChannelHandlerChromium::label):
      (WebCore::RTCDataChannelHandlerChromium::isReliable):
      (WebCore::RTCDataChannelHandlerChromium::bufferedAmount):
      (WebCore::RTCDataChannelHandlerChromium::sendStringData):
      (WebCore::RTCDataChannelHandlerChromium::sendRawData):
      (WebCore::RTCDataChannelHandlerChromium::close):
      (WebCore::RTCDataChannelHandlerChromium::didChangeReadyState):
      (WebCore::RTCDataChannelHandlerChromium::didReceiveStringData):
      (WebCore::RTCDataChannelHandlerChromium::didReceiveRawData):
      (WebCore::RTCDataChannelHandlerChromium::didDetectError):
      * platform/mediastream/chromium/RTCDataChannelHandlerChromium.h: Added.
      (WebCore):
      (RTCDataChannelHandlerChromium):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::createDataChannel):
      (WebCore::RTCPeerConnectionHandlerChromium::didAddRemoteDataChannel):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (WebCore):
      (RTCPeerConnectionHandlerChromium):
      
      Source/WebKit/chromium:
      
      * src/AssertMatchingEnums.cpp:
      
      Tools:
      
      Adding mocks to be able to test this refactoring.
      
      * DumpRenderTree/DumpRenderTree.gypi:
      * DumpRenderTree/chromium/MockWebRTCDataChannelHandler.cpp: Added.
      (DataChannelReadyStateTask):
      (DataChannelReadyStateTask::DataChannelReadyStateTask):
      (MockWebRTCDataChannelHandler::MockWebRTCDataChannelHandler):
      (MockWebRTCDataChannelHandler::setClient):
      (MockWebRTCDataChannelHandler::bufferedAmount):
      (MockWebRTCDataChannelHandler::sendStringData):
      (MockWebRTCDataChannelHandler::sendRawData):
      (MockWebRTCDataChannelHandler::close):
      * DumpRenderTree/chromium/MockWebRTCDataChannelHandler.h: Added.
      (MockWebRTCDataChannelHandler):
      (MockWebRTCDataChannelHandler::taskList):
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (RTCPeerConnectionReadyStateTask::RTCPeerConnectionReadyStateTask):
      (RemoteDataChannelTask::RemoteDataChannelTask):
      (MockWebRTCPeerConnectionHandler::createDataChannel):
      (MockWebRTCPeerConnectionHandler::stop):
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
      (MockWebRTCPeerConnectionHandler):
      
      LayoutTests:
      
      Expanding data channels tests.
      
      * fast/mediastream/RTCPeerConnection-datachannel-expected.txt:
      * fast/mediastream/RTCPeerConnection-datachannel.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86783aca
  6. 04 Dec, 2012 1 commit
    • adam.bergkvist@ericsson.com's avatar
      Add support for generic types in arrays and sequences to the code generators · 6c78b23d
      adam.bergkvist@ericsson.com authored
      https://bugs.webkit.org/show_bug.cgi?id=103642
      
      Reviewed by Kentaro Hara.
      
      Updated the bindings generators to support arrays and sequences of host objects.
      
      - Arrays and sequences of host objects are mapped to Vector<RefPtr<%RefPtrType%> >.
      - Fixed issue where "sequence<String>" was used in IDL files instead of "sequence<DOMString>".
      
      Updated existing test results.
      
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/websockets/WebSocket.idl:
      * bindings/js/JSDOMBinding.h:
      (WebCore::toRefPtrNativeArray):
      (WebCore):
      * bindings/scripts/CodeGenerator.pm:
      (IsRefPtrType):
      * bindings/scripts/CodeGeneratorJS.pm:
      (AddIncludesForType):
      (GetNativeType):
      (GetNativeVectorInnerType):
      (JSValueToNative):
      (NativeToJSValue):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateNormalAttrGetter):
      (GenerateNormalAttrSetter):
      (GenerateParametersCheckExpression):
      (GenerateFunctionCallString):
      (GetNativeType):
      (JSValueToNative):
      (CreateCustomSignature):
      (NativeToJSValue):
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjV8Internal::longLongAttrAttrSetter):
      (WebCore::TestObjV8Internal::unsignedLongLongAttrAttrSetter):
      (WebCore::TestObjV8Internal::methodWithSequenceArgCallback):
      (WebCore::TestObjV8Internal::overloadedMethod10Callback):
      * bindings/v8/V8Binding.h:
      (WebCore::toRefPtrNativeArray):
      * testing/Internals.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c78b23d
  7. 22 Nov, 2012 1 commit
  8. 16 Nov, 2012 1 commit
    • tommyw@google.com's avatar
      MediaStream API: Update RTCPeerConnection states to match the latest editors draft · e97ca7a4
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=102382
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      Adding a callback for the new RTCPeerConnection::iceGatheringState.
      
      * chromium/public/WebRTCPeerConnectionHandlerClient.h:
      (WebKit::WebRTCPeerConnectionHandlerClient::didChangeICEGatheringState):
      
      Source/WebCore:
      
      Updating readyState & iceState, and adding iceGatheringState.
      Also safeguarding the event timer callback.
      
      Patch covered by existing tests.
      
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::RTCPeerConnection):
      (WebCore::RTCPeerConnection::createOffer):
      (WebCore::RTCPeerConnection::createAnswer):
      (WebCore::RTCPeerConnection::setLocalDescription):
      (WebCore::RTCPeerConnection::localDescription):
      (WebCore::RTCPeerConnection::setRemoteDescription):
      (WebCore::RTCPeerConnection::remoteDescription):
      (WebCore::RTCPeerConnection::updateIce):
      (WebCore::RTCPeerConnection::addIceCandidate):
      (WebCore::RTCPeerConnection::readyState):
      (WebCore::RTCPeerConnection::iceGatheringState):
      (WebCore):
      (WebCore::RTCPeerConnection::iceState):
      (WebCore::RTCPeerConnection::addStream):
      (WebCore::RTCPeerConnection::close):
      (WebCore::RTCPeerConnection::didChangeIceGatheringState):
      (WebCore::RTCPeerConnection::stop):
      (WebCore::RTCPeerConnection::changeReadyState):
      (WebCore::RTCPeerConnection::scheduledEventTimerFired):
      * Modules/mediastream/RTCPeerConnection.h:
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * dom/EventNames.h:
      (WebCore):
      * platform/mediastream/RTCPeerConnectionHandlerClient.h:
      (RTCPeerConnectionHandlerClient):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::didChangeICEGatheringState):
      (WebCore):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Source/WebKit/chromium:
      
      Updating readyState & iceState, and adding iceGatheringState.
      
      * src/AssertMatchingEnums.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e97ca7a4
  9. 15 Nov, 2012 2 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r134800 and r134805. · d1e8322f
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/134800
      http://trac.webkit.org/changeset/134805
      https://bugs.webkit.org/show_bug.cgi?id=102417
      
      This patch broke chromium port (Requested by jianli on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-11-15
      
      Source/Platform:
      
      * chromium/public/WebRTCPeerConnectionHandlerClient.h:
      (WebRTCPeerConnectionHandlerClient):
      
      Source/WebCore:
      
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::RTCPeerConnection):
      (WebCore::RTCPeerConnection::createOffer):
      (WebCore::RTCPeerConnection::createAnswer):
      (WebCore::RTCPeerConnection::setLocalDescription):
      (WebCore::RTCPeerConnection::localDescription):
      (WebCore::RTCPeerConnection::setRemoteDescription):
      (WebCore::RTCPeerConnection::remoteDescription):
      (WebCore::RTCPeerConnection::updateIce):
      (WebCore::RTCPeerConnection::addIceCandidate):
      (WebCore::RTCPeerConnection::readyState):
      (WebCore::RTCPeerConnection::iceState):
      (WebCore::RTCPeerConnection::addStream):
      (WebCore::RTCPeerConnection::close):
      (WebCore::RTCPeerConnection::stop):
      (WebCore::RTCPeerConnection::changeReadyState):
      (WebCore::RTCPeerConnection::scheduledEventTimerFired):
      * Modules/mediastream/RTCPeerConnection.h:
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * dom/EventNames.h:
      (WebCore):
      * platform/mediastream/RTCDataChannelDescriptor.cpp:
      (WebCore::RTCDataChannelDescriptor::RTCDataChannelDescriptor):
      (WebCore::RTCDataChannelDescriptor::readyStateChanged):
      * platform/mediastream/RTCPeerConnectionHandlerClient.h:
      (RTCPeerConnectionHandlerClient):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Source/WebKit/chromium:
      
      * src/AssertMatchingEnums.cpp:
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::openDataChannel):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-datachannel-expected.txt:
      * fast/mediastream/RTCPeerConnection-datachannel.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1e8322f
    • tommyw@google.com's avatar
      MediaStream API: Update RTCPeerConnection states to match the latest editors draft · 43c98d74
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=102382
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      Adding a callback for the new RTCPeerConnection::iceGatheringState.
      
      * chromium/public/WebRTCPeerConnectionHandlerClient.h:
      (WebKit::WebRTCPeerConnectionHandlerClient::didChangeICEGatheringState):
      
      Source/WebCore:
      
      Updating readyState & iceState, and adding iceGatheringState.
      Also safeguarding the event timer callback.
      
      Patch covered by existing tests.
      
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::RTCPeerConnection):
      (WebCore::RTCPeerConnection::createOffer):
      (WebCore::RTCPeerConnection::createAnswer):
      (WebCore::RTCPeerConnection::setLocalDescription):
      (WebCore::RTCPeerConnection::localDescription):
      (WebCore::RTCPeerConnection::setRemoteDescription):
      (WebCore::RTCPeerConnection::remoteDescription):
      (WebCore::RTCPeerConnection::updateIce):
      (WebCore::RTCPeerConnection::addIceCandidate):
      (WebCore::RTCPeerConnection::readyState):
      (WebCore::RTCPeerConnection::iceGatheringState):
      (WebCore):
      (WebCore::RTCPeerConnection::iceState):
      (WebCore::RTCPeerConnection::addStream):
      (WebCore::RTCPeerConnection::close):
      (WebCore::RTCPeerConnection::didChangeIceGatheringState):
      (WebCore::RTCPeerConnection::stop):
      (WebCore::RTCPeerConnection::changeReadyState):
      (WebCore::RTCPeerConnection::scheduledEventTimerFired):
      * Modules/mediastream/RTCPeerConnection.h:
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * dom/EventNames.h:
      (WebCore):
      * platform/mediastream/RTCPeerConnectionHandlerClient.h:
      (RTCPeerConnectionHandlerClient):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::didChangeICEGatheringState):
      (WebCore):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Source/WebKit/chromium:
      
      Updating readyState & iceState, and adding iceGatheringState.
      
      * src/AssertMatchingEnums.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43c98d74
  10. 13 Nov, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r134345. · a5d24144
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/134345
      https://bugs.webkit.org/show_bug.cgi?id=102106
      
      Incomplete support for NATIVE_TYPE_ERR in objc and other
      bindings (Requested by jsbell on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-11-13
      
      Source/WebCore:
      
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      (WebCore::MediaConstraintsImpl::create):
      * Modules/mediastream/MediaStreamTrackList.cpp:
      (WebCore::MediaStreamTrackList::add):
      (WebCore::MediaStreamTrackList::remove):
      * Modules/mediastream/RTCDataChannel.cpp:
      (WebCore::RTCDataChannel::setBinaryType):
      * Modules/mediastream/RTCIceCandidate.cpp:
      (WebCore::RTCIceCandidate::create):
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::parseConfiguration):
      (WebCore::RTCPeerConnection::createOffer):
      (WebCore::RTCPeerConnection::createAnswer):
      (WebCore::RTCPeerConnection::setLocalDescription):
      (WebCore::RTCPeerConnection::setRemoteDescription):
      (WebCore::RTCPeerConnection::addIceCandidate):
      (WebCore::RTCPeerConnection::addStream):
      (WebCore::RTCPeerConnection::removeStream):
      * Modules/mediastream/RTCSessionDescription.cpp:
      (WebCore::RTCSessionDescription::create):
      (WebCore::RTCSessionDescription::setType):
      * bindings/js/CallbackFunction.cpp:
      (WebCore::checkFunctionOnlyCallback):
      * bindings/js/JSCustomXPathNSResolver.cpp:
      (WebCore::JSCustomXPathNSResolver::create):
      * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
      (WebCore::JSHTMLOptionsCollection::add):
      * bindings/js/JSHTMLSelectElementCustom.cpp:
      (WebCore::selectIndexSetter):
      * bindings/js/JSMutationObserverCustom.cpp:
      (WebCore::JSMutationObserverConstructor::constructJSMutationObserver):
      * bindings/js/JSSQLResultSetRowListCustom.cpp:
      (WebCore::JSSQLResultSetRowList::item):
      * bindings/js/JSSQLTransactionCustom.cpp:
      (WebCore::JSSQLTransaction::executeSql):
      * bindings/js/JSSQLTransactionSyncCustom.cpp:
      (WebCore::JSSQLTransactionSync::executeSql):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateParametersCheck):
      * bindings/scripts/CodeGeneratorObjC.pm:
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateFunctionCallString):
      * bindings/v8/V8Callback.h:
      (WebCore::createFunctionOnlyCallback):
      * bindings/v8/V8Collection.cpp:
      (WebCore::toOptionsCollectionSetter):
      * bindings/v8/custom/V8DocumentCustom.cpp:
      (WebCore::V8Document::evaluateCallback):
      * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
      (WebCore::V8HTMLOptionsCollection::addCallback):
      * bindings/v8/custom/V8MutationObserverCustom.cpp:
      (WebCore::V8MutationObserver::constructorCallback):
      * bindings/v8/custom/V8SQLTransactionCustom.cpp:
      (WebCore::V8SQLTransaction::executeSqlCallback):
      * bindings/v8/custom/V8SQLTransactionSyncCustom.cpp:
      (WebCore::V8SQLTransactionSync::executeSqlCallback):
      * dom/DOMCoreException.idl:
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::insertAdjacentElement):
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::webkitAddKey):
      * html/HTMLOptionsCollection.cpp:
      (WebCore::HTMLOptionsCollection::add):
      * html/canvas/CanvasRenderingContext2D.cpp:
      (WebCore::CanvasRenderingContext2D::drawImage):
      (WebCore::CanvasRenderingContext2D::createPattern):
      (WebCore::CanvasRenderingContext2D::putImageData):
      (WebCore::CanvasRenderingContext2D::webkitPutImageDataHD):
      * page/Crypto.cpp:
      (WebCore::Crypto::getRandomValues):
      * page/DOMSelection.cpp:
      (WebCore::DOMSelection::extend):
      * svg/properties/SVGTransformListPropertyTearOff.h:
      (WebCore::SVGTransformListPropertyTearOff::createSVGTransformFromMatrix):
      
      LayoutTests:
      
      * canvas/philip/tests/2d.drawImage.null.html:
      * canvas/philip/tests/2d.imageData.put.null.html:
      * canvas/philip/tests/2d.pattern.image.null.html:
      * editing/selection/extend-expected.txt:
      * fast/dom/Geolocation/argument-types-expected.txt:
      * fast/dom/Geolocation/not-enough-arguments-expected.txt:
      * fast/dom/Geolocation/script-tests/argument-types.js:
      (test):
      * fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt:
      * fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt:
      * fast/js/select-options-add-expected.txt:
      * fast/mediastream/RTCIceCandidate-expected.txt:
      * fast/mediastream/RTCPeerConnection-expected.txt:
      * fast/mediastream/RTCSessionDescription-expected.txt:
      * media/encrypted-media/encrypted-media-syntax-expected.txt:
      * media/encrypted-media/encrypted-media-syntax.html:
      * media/video-test.js:
      * platform/chromium/fast/dynamic/insertAdjacentElement-expected.txt:
      * security/crypto-random-values-types-expected.txt:
      * svg/dom/SVGTransformList-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5d24144
  11. 12 Nov, 2012 3 commits
    • arv@chromium.org's avatar
      Replace DOMException TYPE_MISMATCH_ERR with TypeError · 04fc7b0e
      arv@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101604
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      DOMException.TYPE_MISMATCH_ERR is deprecated in favor of using TypeError.
      
      We have historically used TYPE_MISMATCH_ERR as a blanket DOMException code when
      the spec mandates TypeError being thrown.
      
      Updated existing tests.
      
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      * Modules/mediastream/MediaStreamTrackList.cpp:
      * Modules/mediastream/PeerConnection00.cpp:
      * Modules/mediastream/RTCDataChannel.cpp:
      * Modules/mediastream/RTCIceCandidate.cpp:
      * Modules/mediastream/RTCPeerConnection.cpp:
      * Modules/mediastream/RTCSessionDescription.cpp:
      * Modules/mediastream/SessionDescription.cpp:
      * bindings/js/CallbackFunction.cpp:
      * bindings/js/JSCustomXPathNSResolver.cpp:
      * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
      * bindings/js/JSHTMLSelectElementCustom.cpp:
      * bindings/js/JSMutationObserverCustom.cpp:
      * bindings/js/JSSQLResultSetRowListCustom.cpp:
      * bindings/js/JSSQLTransactionCustom.cpp:
      * bindings/js/JSSQLTransactionSyncCustom.cpp:
      * bindings/scripts/CodeGeneratorJS.pm:
      * bindings/scripts/CodeGeneratorObjC.pm:
      * bindings/scripts/CodeGeneratorV8.pm:
      * bindings/v8/V8Callback.h:
      * bindings/v8/V8Collection.cpp:
      * bindings/v8/custom/V8DocumentCustom.cpp:
      * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
      * bindings/v8/custom/V8MutationObserverCustom.cpp:
      * bindings/v8/custom/V8SQLTransactionCustom.cpp:
      * bindings/v8/custom/V8SQLTransactionSyncCustom.cpp:
      * dom/DOMCoreException.idl:
      * html/HTMLElement.cpp:
      * html/HTMLMediaElement.cpp:
      * html/HTMLOptionsCollection.cpp:
      * html/canvas/CanvasRenderingContext2D.cpp:
      * page/Crypto.cpp:
      * page/DOMSelection.cpp:
      * svg/properties/SVGTransformListPropertyTearOff.h:
      
      LayoutTests:
      
      Update the tests to test for TypeError instead of DOMException with the TYPE_MISMATCH_ERR code.
      
      * canvas/philip/tests/2d.drawImage.null.html:
      * canvas/philip/tests/2d.imageData.put.null.html:
      * canvas/philip/tests/2d.pattern.image.null.html:
      * editing/selection/extend-expected.txt:
      * fast/dom/Geolocation/argument-types-expected.txt:
      * fast/dom/Geolocation/not-enough-arguments-expected.txt:
      * fast/dom/Geolocation/script-tests/argument-types.js:
      * fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt:
      * fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt:
      * fast/js/select-options-add-expected.txt:
      * fast/mediastream/RTCIceCandidate-expected.txt:
      * fast/mediastream/RTCPeerConnection-expected.txt:
      * fast/mediastream/RTCSessionDescription-expected.txt:
      * fast/mediastream/SessionDescription-expected.txt:
      * fast/mediastream/peerconnection-addstream-expected.txt:
      * fast/mediastream/peerconnection-iceoptions-expected.txt:
      * fast/mediastream/peerconnection-iceoptions.html:
      * fast/mediastream/peerconnection-removestream-expected.txt:
      * media/encrypted-media/encrypted-media-syntax.html:
      * media/video-test.js:
      * platform/chromium/fast/dynamic/insertAdjacentElement-expected.txt:
      * security/crypto-random-values-types-expected.txt:
      * svg/dom/SVGTransformList-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      04fc7b0e
    • tommyw@google.com's avatar
      MediaStream API: Make sure that MediaConstraints only has optional and mandatory at the top level · 152836a9
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101733
      
      Reviewed by Jochen Eisinger.
      
      Source/WebCore:
      
      This patch adds better verification to MediaConstraintsImpl.
      
      Existing tests expanded to cover this change.
      
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      (WebCore::MediaConstraintsImpl::initialize):
      
      LayoutTests:
      
      This patch adds more tests for MediaConstraints.
      
      * fast/mediastream/RTCPeerConnection-expected.txt:
      * fast/mediastream/RTCPeerConnection.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      152836a9
    • tommyw@google.com's avatar
      MediaStream API: Schedule the RTCDataChannel events to be triggered at idle state · 2883d873
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101751
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      Making some WebRTCDataChannel methods const.
      
      * chromium/public/WebRTCDataChannel.h:
      (WebRTCDataChannel):
      
      Source/WebCore:
      
      This patch queues the events until the JS interpreter is in an idle state.
      
      Existing tests cover this patch.
      
      * Modules/mediastream/RTCDataChannel.cpp:
      (WebCore::RTCDataChannel::RTCDataChannel):
      (WebCore::RTCDataChannel::readyStateChanged):
      (WebCore::RTCDataChannel::dataArrived):
      (WebCore::RTCDataChannel::error):
      (WebCore::RTCDataChannel::scheduleDispatchEvent):
      (WebCore):
      (WebCore::RTCDataChannel::scheduledEventTimerFired):
      * Modules/mediastream/RTCDataChannel.h:
      (RTCDataChannel):
      * platform/chromium/support/WebRTCDataChannel.cpp:
      (WebKit::WebRTCDataChannel::setBufferedAmount):
      (WebKit::WebRTCDataChannel::readyStateChanged):
      (WebKit::WebRTCDataChannel::dataArrived):
      (WebKit::WebRTCDataChannel::error):
      
      Tools:
      
      Makes the data channel mocks to be synchronous instead of asynchronous to be able to
      properly test RTCDataChannel event handling.
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::sendStringData):
      (MockWebRTCPeerConnectionHandler::sendRawData):
      
      LayoutTests:
      
      Adding shouldNotTrow to the send() calls.
      
      * fast/mediastream/RTCPeerConnection-datachannel-expected.txt:
      * fast/mediastream/RTCPeerConnection-datachannel.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2883d873
  12. 09 Nov, 2012 2 commits
    • tommyw@google.com's avatar
      MediaStream API: Don't trigger any object deletion during RTCPeerConnection::stop · 288b0295
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101586
      
      Reviewed by Adam Barth.
      
      Stop calling stop on the RTCPeerConnectionHandler, and don't delete it, when
      ActiveDOMObject::stop is called on RTCPeerConnection. Due to the async nature of the new
      API some WebCore objects might be cleaned away which is not allowed at this stage.
      
      This behaviour is not possible to test unfortunately in webkit.
      
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::stop):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      288b0295
    • tommyw@google.com's avatar
      MediaStream API: Deleting all files relating to the deprecated PeerConnection00 · de84f91a
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101730
      
      Reviewed by Adam Barth.
      
      Since RTCPeerConenction has superseeded PeerConnection00 this patch removes all
      files relating to the old API.
      
      Source/Platform:
      
      * Platform.gypi:
      * chromium/public/Platform.h:
      (WebKit):
      (Platform):
      * chromium/public/WebICECandidateDescriptor.h: Removed.
      * chromium/public/WebICEOptions.h: Removed.
      * chromium/public/WebMediaHints.h: Removed.
      * chromium/public/WebMediaStreamCenter.h:
      (WebKit):
      (WebMediaStreamCenter):
      * chromium/public/WebPeerConnection00Handler.h: Removed.
      * chromium/public/WebPeerConnection00HandlerClient.h: Removed.
      * chromium/public/WebPeerConnectionHandler.h: Removed.
      * chromium/public/WebPeerConnectionHandlerClient.h: Removed.
      * chromium/public/WebSessionDescriptionDescriptor.h: Removed.
      
      Source/WebCore:
      
      No testing needed, the remaining tests makes sure that nothing else breaks.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Modules/mediastream/DOMWindowMediaStream.idl:
      * Modules/mediastream/IceCallback.h: Removed.
      * Modules/mediastream/IceCallback.idl: Removed.
      * Modules/mediastream/IceCandidate.cpp: Removed.
      * Modules/mediastream/IceCandidate.h: Removed.
      * Modules/mediastream/IceCandidate.idl: Removed.
      * Modules/mediastream/PeerConnection00.cpp: Removed.
      * Modules/mediastream/PeerConnection00.h: Removed.
      * Modules/mediastream/PeerConnection00.idl: Removed.
      * Modules/mediastream/SessionDescription.cpp: Removed.
      * Modules/mediastream/SessionDescription.h: Removed.
      * Modules/mediastream/SessionDescription.idl: Removed.
      * WebCore.gypi:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      * dom/EventTargetFactory.in:
      * platform/chromium/support/WebICECandidateDescriptor.cpp: Removed.
      * platform/chromium/support/WebICEOptions.cpp: Removed.
      * platform/chromium/support/WebMediaHints.cpp: Removed.
      * platform/mediastream/IceCandidateDescriptor.cpp: Removed.
      * platform/mediastream/IceCandidateDescriptor.h: Removed.
      * platform/mediastream/IceOptions.cpp: Removed.
      * platform/mediastream/IceOptions.h: Removed.
      * platform/mediastream/MediaHints.cpp: Removed.
      * platform/mediastream/MediaHints.h: Removed.
      * platform/mediastream/MediaStreamCenter.h:
      (WebCore):
      (MediaStreamCenter):
      * platform/mediastream/PeerConnection00Handler.cpp: Removed.
      * platform/mediastream/PeerConnection00Handler.h: Removed.
      * platform/mediastream/PeerConnection00HandlerClient.h: Removed.
      * platform/mediastream/SessionDescriptionDescriptor.cpp: Removed.
      * platform/mediastream/SessionDescriptionDescriptor.h: Removed.
      * platform/mediastream/blackberry/MediaStreamCenterBlackBerry.cpp:
      * platform/mediastream/blackberry/MediaStreamCenterBlackBerry.h:
      (WebCore):
      (MediaStreamCenterBlackBerry):
      * platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
      * platform/mediastream/chromium/MediaStreamCenterChromium.h:
      (WebCore):
      (MediaStreamCenterChromium):
      * platform/mediastream/chromium/PeerConnection00Handler.cpp: Removed.
      * platform/mediastream/chromium/PeerConnection00HandlerInternal.cpp: Removed.
      * platform/mediastream/chromium/PeerConnection00HandlerInternal.h: Removed.
      * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp:
      * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h:
      (WebCore):
      (MediaStreamCenterGStreamer):
      
      Source/WebKit/chromium:
      
      * WebKit.gyp:
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * public/platform/WebICECandidateDescriptor.h: Removed.
      * public/platform/WebICEOptions.h: Removed.
      * public/platform/WebMediaHints.h: Removed.
      * public/platform/WebPeerConnection00Handler.h: Removed.
      * public/platform/WebPeerConnection00HandlerClient.h: Removed.
      * public/platform/WebPeerConnectionHandler.h: Removed.
      * public/platform/WebPeerConnectionHandlerClient.h: Removed.
      * public/platform/WebSessionDescriptionDescriptor.h: Removed.
      * src/AssertMatchingEnums.cpp:
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::isPeerConnectionEnabled):
      * src/WebSessionDescriptionDescriptor.cpp: Removed.
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebMediaStreamCenter.cpp:
      * DumpRenderTree/chromium/MockWebMediaStreamCenter.h:
      (MockWebMediaStreamCenter):
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      
      LayoutTests:
      
      * fast/mediastream/SessionDescription-expected.txt: Removed.
      * fast/mediastream/SessionDescription.html: Removed.
      * fast/mediastream/constructors-expected.txt:
      * fast/mediastream/constructors.html:
      * fast/mediastream/peerconnection-Attributes-expected.txt: Removed.
      * fast/mediastream/peerconnection-Attributes.html: Removed.
      * fast/mediastream/peerconnection-addstream-expected.txt: Removed.
      * fast/mediastream/peerconnection-addstream.html: Removed.
      * fast/mediastream/peerconnection-argument-types-expected.txt: Removed.
      * fast/mediastream/peerconnection-argument-types.html: Removed.
      * fast/mediastream/peerconnection-eventlistener-optional-argument-expected.txt: Removed.
      * fast/mediastream/peerconnection-eventlistener-optional-argument.html: Removed.
      * fast/mediastream/peerconnection-iceoptions-expected.txt: Removed.
      * fast/mediastream/peerconnection-iceoptions.html: Removed.
      * fast/mediastream/peerconnection-mediastreamlist-expected.txt: Removed.
      * fast/mediastream/peerconnection-mediastreamlist.html: Removed.
      * fast/mediastream/peerconnection-removestream-expected.txt: Removed.
      * fast/mediastream/peerconnection-removestream.html: Removed.
      * fast/mediastream/script-tests/peerconnection-Attributes.js: Removed.
      * fast/mediastream/script-tests/peerconnection-addstream.js: Removed.
      * fast/mediastream/script-tests/peerconnection-argument-types.js: Removed.
      * fast/mediastream/script-tests/peerconnection-removestream.js: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de84f91a
  13. 08 Nov, 2012 1 commit
    • benjamin@webkit.org's avatar
      Improve the use of AtomicString with literals · dbf9529b
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101298
      
      Reviewed by Darin Adler.
      
      Fix a bunch of cases of AtomicString with literals:
      -Do not create temporary AtomicString to perform a comparison, that is very wasteful.
      -Use the ConstructFromLiteral constructor whenever it makes sense.
      -Make "x-frame-options" static instead of creating it for each response.
      -Use ASCIILiteral() instead of AtomicString() in EventHandler, the function takes a String,
       not an AtomicString.
      
      * Modules/battery/BatteryController.cpp:
      (WebCore::BatteryController::supplementName):
      * Modules/battery/NavigatorBattery.cpp:
      (WebCore::NavigatorBattery::from):
      * Modules/filesystem/chromium/DraggedIsolatedFileSystem.cpp:
      (WebCore::DraggedIsolatedFileSystem::supplementName):
      * Modules/gamepad/NavigatorGamepad.cpp:
      (WebCore::NavigatorGamepad::from):
      * Modules/geolocation/GeolocationController.cpp:
      (WebCore::GeolocationController::supplementName):
      * Modules/geolocation/NavigatorGeolocation.cpp:
      (WebCore::NavigatorGeolocation::from):
      * Modules/indexeddb/DOMWindowIndexedDatabase.cpp:
      (WebCore::DOMWindowIndexedDatabase::from):
      * Modules/indexeddb/IDBCursor.cpp:
      (WebCore::IDBCursor::directionNext):
      (WebCore::IDBCursor::directionNextUnique):
      (WebCore::IDBCursor::directionPrev):
      (WebCore::IDBCursor::directionPrevUnique):
      * Modules/indexeddb/IDBRequest.cpp:
      (WebCore::IDBRequest::readyState):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::modeReadOnly):
      (WebCore::IDBTransaction::modeReadWrite):
      (WebCore::IDBTransaction::modeVersionChange):
      (WebCore::IDBTransaction::modeReadOnlyLegacy):
      (WebCore::IDBTransaction::modeReadWriteLegacy):
      * Modules/indexeddb/PageGroupIndexedDatabase.cpp:
      (WebCore::PageGroupIndexedDatabase::from):
      * Modules/intents/DOMWindowIntents.cpp:
      (WebCore::DOMWindowIntents::from):
      * Modules/mediastream/UserMediaController.cpp:
      (WebCore::UserMediaController::supplementName):
      * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
      (WebCore::NavigatorContentUtils::supplementName):
      * Modules/networkinfo/NavigatorNetworkInfoConnection.cpp:
      (WebCore::NavigatorNetworkInfoConnection::from):
      * Modules/networkinfo/NetworkInfoController.cpp:
      (WebCore::NetworkInfoController::supplementName):
      * Modules/notifications/DOMWindowNotifications.cpp:
      (WebCore::DOMWindowNotifications::from):
      * Modules/notifications/NotificationController.cpp:
      (WebCore::NotificationController::supplementName):
      * Modules/quota/DOMWindowQuota.cpp:
      (WebCore::DOMWindowQuota::from):
      * Modules/speech/SpeechRecognitionController.cpp:
      (WebCore::SpeechRecognitionController::supplementName):
      * Modules/vibration/Vibration.cpp:
      (WebCore::Vibration::supplementName):
      * accessibility/AccessibilityObject.cpp:
      (WebCore::AccessibilityObject::invalidStatus):
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::ariaLiveRegionStatus):
      (WebCore::AccessibilityRenderObject::ariaLiveRegionRelevant):
      * bindings/v8/custom/V8DOMWindowCustom.cpp:
      (WebCore::V8DOMWindow::namedSecurityCheck):
      * bindings/v8/custom/V8NodeListCustom.cpp:
      (WebCore::V8NodeList::namedPropertyGetter):
      * dom/ContextFeatures.cpp:
      (WebCore::ContextFeatures::supplementName):
      * dom/DeviceMotionController.cpp:
      (WebCore::DeviceMotionController::supplementName):
      * dom/DeviceOrientationController.cpp:
      (WebCore::DeviceOrientationController::supplementName):
      * dom/Element.cpp:
      (WebCore::Element::webkitRegionOverset):
      * dom/MutationRecord.cpp:
      * html/FileInputType.cpp:
      (WebCore::UploadButtonElement::shadowPseudoId):
      * html/FormController.cpp:
      (WebCore::SavedFormState::getReferencedFilePaths):
      (WebCore::FormKeyGenerator::formKey):
      * html/HTMLButtonElement.cpp:
      (WebCore::HTMLButtonElement::formControlType):
      * html/HTMLDetailsElement.cpp:
      (WebCore::summaryQuerySelector):
      * html/HTMLFieldSetElement.cpp:
      (WebCore::HTMLFieldSetElement::formControlType):
      * html/HTMLKeygenElement.cpp:
      (WebCore::KeygenSelectElement::shadowPseudoId):
      (WebCore::HTMLKeygenElement::formControlType):
      * html/HTMLOptGroupElement.cpp:
      (WebCore::HTMLOptGroupElement::formControlType):
      * html/HTMLOutputElement.cpp:
      (WebCore::HTMLOutputElement::formControlType):
      * html/HTMLSelectElement.cpp:
      (WebCore::HTMLSelectElement::formControlType):
      * html/HTMLTextAreaElement.cpp:
      (WebCore::HTMLTextAreaElement::formControlType):
      * html/HTMLTextFormControlElement.cpp:
      (WebCore::directionString):
      * html/shadow/DateTimeEditElement.cpp:
      (WebCore::DateTimeEditElement::DateTimeEditElement):
      * html/shadow/DateTimeFieldElements.cpp:
      (WebCore::DateTimeAMPMFieldElement::create):
      (WebCore::DateTimeDayFieldElement::create):
      (WebCore::DateTimeHourFieldElement::create):
      (WebCore::DateTimeMillisecondFieldElement::create):
      (WebCore::DateTimeMinuteFieldElement::create):
      (WebCore::DateTimeMonthFieldElement::create):
      (WebCore::DateTimeSecondFieldElement::create):
      (WebCore::DateTimeSymbolicMonthFieldElement::create):
      (WebCore::DateTimeWeekFieldElement::create):
      (WebCore::DateTimeYearFieldElement::create):
      * html/shadow/DetailsMarkerControl.cpp:
      (WebCore::DetailsMarkerControl::shadowPseudoId):
      * html/shadow/ImageInnerElement.cpp:
      (WebCore::ImageInnerElement::shadowPseudoId):
      * html/shadow/MediaControlElements.cpp:
      (WebCore::MediaControlPanelElement::shadowPseudoId):
      (WebCore::MediaControlTimelineContainerElement::shadowPseudoId):
      (WebCore::MediaControlVolumeSliderContainerElement::shadowPseudoId):
      (WebCore::MediaControlStatusDisplayElement::shadowPseudoId):
      (WebCore::MediaControlPanelMuteButtonElement::shadowPseudoId):
      (WebCore::MediaControlVolumeSliderMuteButtonElement::shadowPseudoId):
      (WebCore::MediaControlPlayButtonElement::shadowPseudoId):
      (WebCore::MediaControlOverlayPlayButtonElement::shadowPseudoId):
      (WebCore::MediaControlSeekForwardButtonElement::shadowPseudoId):
      (WebCore::MediaControlSeekBackButtonElement::shadowPseudoId):
      (WebCore::MediaControlRewindButtonElement::shadowPseudoId):
      (WebCore::MediaControlReturnToRealtimeButtonElement::shadowPseudoId):
      (WebCore::MediaControlToggleClosedCaptionsButtonElement::shadowPseudoId):
      (WebCore::MediaControlTimelineElement::shadowPseudoId):
      (WebCore::MediaControlVolumeSliderElement::shadowPseudoId):
      (WebCore::MediaControlFullscreenVolumeSliderElement::shadowPseudoId):
      (WebCore::MediaControlFullscreenButtonElement::shadowPseudoId):
      (WebCore::MediaControlFullscreenVolumeMinButtonElement::shadowPseudoId):
      (WebCore::MediaControlFullscreenVolumeMaxButtonElement::shadowPseudoId):
      (WebCore::MediaControlTimeRemainingDisplayElement::shadowPseudoId):
      (WebCore::MediaControlCurrentTimeDisplayElement::shadowPseudoId):
      (WebCore::MediaControlTextTrackContainerElement::shadowPseudoId):
      * html/shadow/MediaControlRootElement.cpp:
      (WebCore::MediaControlRootElement::shadowPseudoId):
      * html/shadow/MediaControlRootElementChromium.cpp:
      (WebCore::MediaControlPanelEnclosureElement::shadowPseudoId):
      (WebCore::MediaControlRootElementChromium::shadowPseudoId):
      * html/shadow/MediaControlRootElementChromiumAndroid.cpp:
      (WebCore::MediaControlOverlayEnclosureElement::shadowPseudoId):
      * html/shadow/MeterShadowElement.cpp:
      (WebCore::MeterInnerElement::shadowPseudoId):
      (WebCore::MeterBarElement::shadowPseudoId):
      (WebCore::MeterValueElement::shadowPseudoId):
      * html/shadow/ProgressShadowElement.cpp:
      (WebCore::ProgressInnerElement::shadowPseudoId):
      (WebCore::ProgressBarElement::shadowPseudoId):
      (WebCore::ProgressValueElement::shadowPseudoId):
      * html/shadow/SliderThumbElement.cpp:
      (WebCore::sliderThumbShadowPseudoId):
      (WebCore::mediaSliderThumbShadowPseudoId):
      (WebCore::SliderContainerElement::shadowPseudoId):
      * html/shadow/SpinButtonElement.cpp:
      (WebCore::SpinButtonElement::shadowPseudoId):
      * html/shadow/TextControlInnerElements.cpp:
      (WebCore::SearchFieldResultsButtonElement::shadowPseudoId):
      (WebCore::SearchFieldCancelButtonElement::shadowPseudoId):
      (WebCore::InputFieldSpeechButtonElement::shadowPseudoId):
      * html/track/TextTrackCue.cpp:
      (WebCore::TextTrackCueBox::textTrackCueBoxShadowPseudoId):
      * loader/CrossOriginAccessControl.cpp:
      (WebCore::passesAccessControlCheck):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::didReceiveResponse):
      * loader/PrerendererClient.cpp:
      (WebCore::PrerendererClient::supplementName):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::updateResponseAfterRevalidation):
      * page/DOMWindowPagePopup.cpp:
      (WebCore::DOMWindowPagePopup::supplementName):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handlePasteGlobalSelection):
      (WebCore::focusDirectionForKey):
      * page/SpeechInput.cpp:
      (WebCore::SpeechInput::supplementName):
      * page/animation/CompositeAnimation.cpp:
      (WebCore::CompositeAnimation::updateKeyframeAnimations):
      * platform/graphics/FontCache.cpp:
      (WebCore::alternateFamilyName):
      * platform/graphics/MediaPlayer.cpp:
      (WebCore::applicationOctetStream):
      (WebCore::textPlain):
      (WebCore::codecs):
      * platform/graphics/chromium/FontCacheAndroid.cpp:
      (WebCore::FontCache::getLastResortFallbackFont):
      * platform/graphics/filters/SourceAlpha.cpp:
      (WebCore::SourceAlpha::effectName):
      * platform/graphics/filters/SourceGraphic.cpp:
      (WebCore::SourceGraphic::effectName):
      * platform/graphics/mac/FontCacheMac.mm:
      (WebCore::FontCache::getSimilarFontPlatformData):
      (WebCore::FontCache::getLastResortFallbackFont):
      * platform/graphics/skia/FontCacheSkia.cpp:
      (WebCore::FontCache::getLastResortFallbackFont):
      * platform/graphics/win/FontCacheWin.cpp:
      (WebCore::FontCache::getLastResortFallbackFont):
      * platform/graphics/wx/FontCacheWx.cpp:
      (WebCore::FontCache::getSimilarFontPlatformData):
      * platform/network/ResourceResponseBase.cpp:
      (WebCore::ResourceResponseBase::setHTTPHeaderField):
      (WebCore::ResourceResponseBase::parseCacheControlDirectives):
      (WebCore::ResourceResponseBase::hasCacheValidatorFields):
      (WebCore::ResourceResponseBase::date):
      (WebCore::ResourceResponseBase::age):
      (WebCore::ResourceResponseBase::expires):
      (WebCore::ResourceResponseBase::lastModified):
      (WebCore::ResourceResponseBase::isAttachment):
      * rendering/RenderTextControlMultiLine.cpp:
      (WebCore::RenderTextControlMultiLine::getAvgCharWidth):
      * rendering/RenderTextControlSingleLine.cpp:
      (WebCore::RenderTextControlSingleLine::getAvgCharWidth):
      (WebCore::RenderTextControlSingleLine::preferredContentWidth):
      * svg/SVGAnimateColorElement.cpp:
      (WebCore::attributeValueIsCurrentColor):
      * svg/SVGAnimateMotionElement.cpp:
      (WebCore::SVGAnimateMotionElement::rotateMode):
      * svg/SVGAnimationElement.cpp:
      (WebCore::SVGAnimationElement::setCalcMode):
      (WebCore::SVGAnimationElement::setAttributeType):
      (WebCore::SVGAnimationElement::isAdditive):
      (WebCore::SVGAnimationElement::isAccumulated):
      (WebCore::inheritsFromProperty):
      * svg/SVGFEConvolveMatrixElement.cpp:
      (WebCore::SVGFEConvolveMatrixElement::kernelUnitLengthXIdentifier):
      (WebCore::SVGFEConvolveMatrixElement::kernelUnitLengthYIdentifier):
      (WebCore::SVGFEConvolveMatrixElement::orderXIdentifier):
      (WebCore::SVGFEConvolveMatrixElement::orderYIdentifier):
      * svg/SVGFEDiffuseLightingElement.cpp:
      (WebCore::SVGFEDiffuseLightingElement::kernelUnitLengthXIdentifier):
      (WebCore::SVGFEDiffuseLightingElement::kernelUnitLengthYIdentifier):
      * svg/SVGFEDropShadowElement.cpp:
      (WebCore::SVGFEDropShadowElement::stdDeviationXIdentifier):
      (WebCore::SVGFEDropShadowElement::stdDeviationYIdentifier):
      * svg/SVGFEGaussianBlurElement.cpp:
      (WebCore::SVGFEGaussianBlurElement::stdDeviationXIdentifier):
      (WebCore::SVGFEGaussianBlurElement::stdDeviationYIdentifier):
      * svg/SVGFEMorphologyElement.cpp:
      (WebCore::SVGFEMorphologyElement::radiusXIdentifier):
      (WebCore::SVGFEMorphologyElement::radiusYIdentifier):
      * svg/SVGFESpecularLightingElement.cpp:
      (WebCore::SVGFESpecularLightingElement::kernelUnitLengthXIdentifier):
      (WebCore::SVGFESpecularLightingElement::kernelUnitLengthYIdentifier):
      * svg/SVGFETurbulenceElement.cpp:
      (WebCore::SVGFETurbulenceElement::baseFrequencyXIdentifier):
      (WebCore::SVGFETurbulenceElement::baseFrequencyYIdentifier):
      * svg/SVGFilterElement.cpp:
      (WebCore::SVGFilterElement::filterResXIdentifier):
      (WebCore::SVGFilterElement::filterResYIdentifier):
      * svg/SVGLangSpace.cpp:
      (WebCore::SVGLangSpace::xmlspace):
      (WebCore::SVGLangSpace::addSupportedAttributes):
      * svg/SVGMarkerElement.cpp:
      (WebCore::SVGMarkerElement::orientTypeIdentifier):
      (WebCore::SVGMarkerElement::orientAngleIdentifier):
      (WebCore::SVGMarkerElement::synchronizeOrientType):
      * svg/SVGSVGElement.cpp:
      (WebCore::SVGSVGElement::contentScriptType):
      (WebCore::SVGSVGElement::contentStyleType):
      * svg/SVGStyleElement.cpp:
      (WebCore::SVGStyleElement::type):
      (WebCore::SVGStyleElement::media):
      * svg/SVGTextContentElement.cpp:
      (WebCore::SVGTextContentElement::collectStyleForAttribute):
      * svg/SVGViewSpec.cpp:
      (WebCore::SVGViewSpec::viewBoxIdentifier):
      (WebCore::SVGViewSpec::preserveAspectRatioIdentifier):
      (WebCore::SVGViewSpec::transformIdentifier):
      * svg/animation/SVGSMILElement.cpp:
      (WebCore::SVGSMILElement::parseClockValue):
      (WebCore::SVGSMILElement::restart):
      (WebCore::SVGSMILElement::fill):
      (WebCore::SVGSMILElement::repeatCount):
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::from):
      * xml/parser/XMLTreeBuilder.cpp:
      (WebCore::XMLTreeBuilder::processDOCTYPE):
      (WebCore::XMLTreeBuilder::processXMLEntity):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbf9529b
  14. 26 Oct, 2012 1 commit
    • jsbell@chromium.org's avatar
      [WebKitIDL] Optional dictionary types should have default values of empty dictionary · 03ba79a1
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100547
      
      Reviewed by Adam Barth.
      
      Per WebIDL, "Optional dictionary type arguments are always considered to have a default
      value of an empty dictionary." WebKitIDL already supported this via the extended attribute
      [Optional=DefaultIsUndefined] but make this the default for Dictionary.
      
      Binding test expectations updated.
      
      * Modules/filesystem/DirectoryEntry.h: Remove default parameters.
      (DirectoryEntry):
      * Modules/indexeddb/IDBDatabase.h: Remove overloads.
      (IDBDatabase):
      * Modules/indexeddb/IDBObjectStore.h: Remove overloads.
      (IDBObjectStore):
      * Modules/mediastream/RTCPeerConnection.idl: Remove DefaultIsUndefined annotations.
      * bindings/scripts/CodeGeneratorJS.pm: Special case for Optional Dictionary.
      (GenerateParametersCheck):
      * bindings/scripts/CodeGeneratorV8.pm: Ditto.
      (GenerateParametersCheck):
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore::jsTestObjPrototypeFunctionOptionsObject): Updated expectation - no early call.
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjV8Internal::optionsObjectCallback): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03ba79a1
  15. 24 Oct, 2012 1 commit
    • tommyw@google.com's avatar
      Source/WebCore: MediaStream API: Make sure all events are dispatched asynchronously · facf91c9
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100286
      
      Reviewed by Adam Barth.
      
      This is necessary to safeguard against if the UA uses synchronous UA->WebKit calls,
      and the web application calls methods on the RTCPeerConnection in the event callbacks.
      
      Test: fast/mediastream/RTCPeerConnection-events.html
      Also tested by the chromium webrtc fuzz tests.
      
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::RTCPeerConnection):
      (WebCore::RTCPeerConnection::negotiationNeeded):
      (WebCore::RTCPeerConnection::didGenerateIceCandidate):
      (WebCore::RTCPeerConnection::didAddRemoteStream):
      (WebCore::RTCPeerConnection::didRemoveRemoteStream):
      (WebCore::RTCPeerConnection::didAddRemoteDataChannel):
      (WebCore::RTCPeerConnection::changeReadyState):
      (WebCore::RTCPeerConnection::changeIceState):
      (WebCore):
      (WebCore::RTCPeerConnection::scheduleDispatchEvent):
      (WebCore::RTCPeerConnection::scheduledEventTimerFired):
      * Modules/mediastream/RTCPeerConnection.h:
      (RTCPeerConnection):
      
      LayoutTests: MediaStream API: Make sure all RTCPeerConnection events are dispatched asynchronously
      https://bugs.webkit.org/show_bug.cgi?id=100286
      
      Reviewed by Adam Barth.
      
      RTCPeerConnection::close is the only function that dispatches an event directly so only test that.
      
      * fast/mediastream/RTCPeerConnection-events-expected.txt: Added.
      * fast/mediastream/RTCPeerConnection-events.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      facf91c9
  16. 19 Oct, 2012 1 commit
    • tommyw@google.com's avatar
      MediaStream API: Rename owner to client in MediaStreamDescriptor · 5709b0a1
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=99593
      
      Reviewed by Adam Barth.
      
      This patch renames owner to client in MediaStreamDescriptor as discussed in #99080.
      
      No new tests needed, covered by existing tests.
      
      * Modules/mediastream/MediaStream.cpp:
      (WebCore::MediaStream::MediaStream):
      (WebCore::MediaStream::~MediaStream):
      * Modules/mediastream/MediaStream.h:
      (MediaStream):
      * Modules/mediastream/PeerConnection00.cpp:
      (WebCore::PeerConnection00::didRemoveRemoteStream):
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::didRemoveRemoteStream):
      * platform/mediastream/MediaStreamCenter.cpp:
      (WebCore::MediaStreamCenter::endLocalMediaStream):
      (WebCore::MediaStreamCenter::addMediaStreamTrack):
      (WebCore::MediaStreamCenter::removeMediaStreamTrack):
      * platform/mediastream/MediaStreamDescriptor.h:
      (WebCore::MediaStreamDescriptorClient::~MediaStreamDescriptorClient):
      (WebCore::MediaStreamDescriptor::client):
      (WebCore::MediaStreamDescriptor::setClient):
      (WebCore::MediaStreamDescriptor::MediaStreamDescriptor):
      (MediaStreamDescriptor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5709b0a1
  17. 17 Oct, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Implement the Selector argument to RTCPeerConnection.getStats · 385f96d0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99460
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-17
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      * chromium/public/WebRTCStatsRequest.h:
      (WebKit):
      (WebRTCStatsRequest):
      
      Source/WebCore:
      
      The change adds two new parameters to the RTCStatsRequest object:
      stream and component. Together these are enough to identify a
      MediaStreamTrack.
      
      Test: fast/mediastream/RTCPeerConnection-statsSelector.html
      
      * Modules/mediastream/MediaStreamTrack.cpp:
      (WebCore::MediaStreamTrack::streamDescriptor):
      (WebCore):
      * Modules/mediastream/MediaStreamTrack.h:
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::getStats):
      * Modules/mediastream/RTCStatsRequestImpl.cpp:
      (WebCore::RTCStatsRequestImpl::create):
      (WebCore::RTCStatsRequestImpl::RTCStatsRequestImpl):
      (WebCore::RTCStatsRequestImpl::hasSelector):
      (WebCore):
      (WebCore::RTCStatsRequestImpl::stream):
      (WebCore::RTCStatsRequestImpl::component):
      * Modules/mediastream/RTCStatsRequestImpl.h:
      (RTCStatsRequestImpl):
      * platform/chromium/support/WebRTCStatsRequest.cpp:
      (WebKit):
      (WebKit::WebRTCStatsRequest::hasSelector):
      (WebKit::WebRTCStatsRequest::stream):
      (WebKit::WebRTCStatsRequest::component):
      * platform/mediastream/RTCStatsRequest.h:
      (WebCore):
      (RTCStatsRequest):
      
      Tools:
      
      The MockWebRTCPeerConnectionHandler will return one object only
      when it gets a selector, and an even number when there is no selector.
      This allows to verify that the argument is passed, but not its value.
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::getStats):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-statsSelector-expected.txt: Added.
      * fast/mediastream/RTCPeerConnection-statsSelector.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      385f96d0
  18. 15 Oct, 2012 1 commit
    • tommyw@google.com's avatar
      MediaStream API: Implement RTCDataChannel · 849bfdf0
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=99080
      
      Reviewed by Adam Barth.
      
      This patch introduces RTCDataChannel which is a pipe for sending data between two RTCPeerConnections.
      Since the data channel belongs to a peer connection object I have reused part of its infrastructure.
      
      Not currently testable. My next patch will add the chromium WebKit functionality, together with mocks and tests.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Modules/mediastream/RTCDataChannel.cpp: Added.
      (WebCore):
      (WebCore::RTCDataChannel::create):
      (WebCore::RTCDataChannel::RTCDataChannel):
      (WebCore::RTCDataChannel::~RTCDataChannel):
      (WebCore::RTCDataChannel::label):
      (WebCore::RTCDataChannel::reliable):
      (WebCore::RTCDataChannel::readyState):
      (WebCore::RTCDataChannel::bufferedAmount):
      (WebCore::RTCDataChannel::binaryType):
      (WebCore::RTCDataChannel::setBinaryType):
      (WebCore::RTCDataChannel::send):
      (WebCore::RTCDataChannel::close):
      (WebCore::RTCDataChannel::readyStateChanged):
      (WebCore::RTCDataChannel::dataArrived):
      (WebCore::RTCDataChannel::error):
      (WebCore::RTCDataChannel::descriptor):
      (WebCore::RTCDataChannel::interfaceName):
      (WebCore::RTCDataChannel::scriptExecutionContext):
      (WebCore::RTCDataChannel::stop):
      (WebCore::RTCDataChannel::eventTargetData):
      (WebCore::RTCDataChannel::ensureEventTargetData):
      * Modules/mediastream/RTCDataChannel.h: Added.
      (WebCore):
      (RTCDataChannel):
      (WebCore::RTCDataChannel::refEventTarget):
      (WebCore::RTCDataChannel::derefEventTarget):
      * Modules/mediastream/RTCDataChannel.idl: Added.
      * Modules/mediastream/RTCDataChannelEvent.cpp: Added.
      (WebCore):
      (WebCore::RTCDataChannelEvent::create):
      (WebCore::RTCDataChannelEvent::RTCDataChannelEvent):
      (WebCore::RTCDataChannelEvent::~RTCDataChannelEvent):
      (WebCore::RTCDataChannelEvent::channel):
      (WebCore::RTCDataChannelEvent::interfaceName):
      * Modules/mediastream/RTCDataChannelEvent.h: Added.
      (WebCore):
      (RTCDataChannelEvent):
      * Modules/mediastream/RTCDataChannelEvent.idl: Added.
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::createDataChannel):
      (WebCore):
      (WebCore::RTCPeerConnection::close):
      (WebCore::RTCPeerConnection::didAddRemoteDataChannel):
      (WebCore::RTCPeerConnection::stop):
      * Modules/mediastream/RTCPeerConnection.h:
      (WebCore):
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * WebCore.gypi:
      * dom/EventNames.h:
      (WebCore):
      * dom/EventNames.in:
      * dom/EventTargetFactory.in:
      * platform/mediastream/RTCDataChannelDescriptor.cpp: Added.
      (WebCore):
      (WebCore::RTCDataChannelDescriptor::create):
      (WebCore::RTCDataChannelDescriptor::RTCDataChannelDescriptor):
      (WebCore::RTCDataChannelDescriptor::~RTCDataChannelDescriptor):
      (WebCore::RTCDataChannelDescriptor::readyStateChanged):
      (WebCore::RTCDataChannelDescriptor::dataArrived):
      (WebCore::RTCDataChannelDescriptor::error):
      * platform/mediastream/RTCDataChannelDescriptor.h: Added.
      (WebCore):
      (RTCDataChannelDescriptorClient):
      (WebCore::RTCDataChannelDescriptorClient::~RTCDataChannelDescriptorClient):
      (RTCDataChannelDescriptor):
      (ExtraData):
      (WebCore::RTCDataChannelDescriptor::ExtraData::~ExtraData):
      (WebCore::RTCDataChannelDescriptor::client):
      (WebCore::RTCDataChannelDescriptor::setClient):
      (WebCore::RTCDataChannelDescriptor::label):
      (WebCore::RTCDataChannelDescriptor::reliable):
      (WebCore::RTCDataChannelDescriptor::readyState):
      (WebCore::RTCDataChannelDescriptor::bufferedAmount):
      (WebCore::RTCDataChannelDescriptor::setBufferedAmount):
      (WebCore::RTCDataChannelDescriptor::extraData):
      (WebCore::RTCDataChannelDescriptor::setExtraData):
      * platform/mediastream/RTCPeerConnectionHandler.cpp:
      (RTCPeerConnectionHandlerDummy):
      (WebCore::RTCPeerConnectionHandlerDummy::openDataChannel):
      (WebCore):
      (WebCore::RTCPeerConnectionHandlerDummy::sendStringData):
      (WebCore::RTCPeerConnectionHandlerDummy::sendRawData):
      (WebCore::RTCPeerConnectionHandlerDummy::closeDataChannel):
      * platform/mediastream/RTCPeerConnectionHandler.h:
      (WebCore):
      (RTCPeerConnectionHandler):
      * platform/mediastream/RTCPeerConnectionHandlerClient.h:
      (WebCore):
      (RTCPeerConnectionHandlerClient):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::openDataChannel):
      (WebCore):
      (WebCore::RTCPeerConnectionHandlerChromium::sendStringData):
      (WebCore::RTCPeerConnectionHandlerChromium::sendRawData):
      (WebCore::RTCPeerConnectionHandlerChromium::closeDataChannel):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      849bfdf0
  19. 12 Oct, 2012 2 commits
    • commit-queue@webkit.org's avatar
      [WebKit IDL] move extended attributes to left of interface, exception... · a4d60d13
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99012
      
      Patch by Takashi Sakamoto <tasak@google.com> on 2012-10-12
      Reviewed by Kentaro Hara.
      
      According to WebIDL spec, moved all extended attributes to the left
      of interface / attribute / readonly attribute / exception.
      
      No new tests. I ran run-bindings-tests and all tests passed.
      
      * Modules/battery/BatteryManager.idl:
      * Modules/battery/NavigatorBattery.idl:
      * Modules/filesystem/DOMFileSystem.idl:
      * Modules/filesystem/DOMFileSystemSync.idl:
      * Modules/filesystem/DOMWindowFileSystem.idl:
      * Modules/filesystem/DataTransferItemFileSystem.idl:
      * Modules/filesystem/DirectoryEntry.idl:
      * Modules/filesystem/DirectoryEntrySync.idl:
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/DirectoryReaderSync.idl:
      * Modules/filesystem/EntriesCallback.idl:
      * Modules/filesystem/Entry.idl:
      * Modules/filesystem/EntryArray.idl:
      * Modules/filesystem/EntryArraySync.idl:
      * Modules/filesystem/EntryCallback.idl:
      * Modules/filesystem/EntrySync.idl:
      * Modules/filesystem/ErrorCallback.idl:
      * Modules/filesystem/FileCallback.idl:
      * Modules/filesystem/FileEntry.idl:
      * Modules/filesystem/FileEntrySync.idl:
      * Modules/filesystem/FileSystemCallback.idl:
      * Modules/filesystem/FileWriter.idl:
      * Modules/filesystem/FileWriterCallback.idl:
      * Modules/filesystem/FileWriterSync.idl:
      * Modules/filesystem/HTMLInputElementFileSystem.idl:
      * Modules/filesystem/Metadata.idl:
      * Modules/filesystem/MetadataCallback.idl:
      * Modules/filesystem/WorkerContextFileSystem.idl:
      * Modules/gamepad/Gamepad.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/gamepad/NavigatorGamepad.idl:
      * Modules/geolocation/Geolocation.idl:
      * Modules/geolocation/Geoposition.idl:
      * Modules/geolocation/NavigatorGeolocation.idl:
      * Modules/geolocation/PositionCallback.idl:
      * Modules/geolocation/PositionError.idl:
      * Modules/geolocation/PositionErrorCallback.idl:
      * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
      * Modules/indexeddb/IDBAny.idl:
      * Modules/indexeddb/IDBCursor.idl:
      * Modules/indexeddb/IDBCursorWithValue.idl:
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBDatabaseException.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKey.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/indexeddb/IDBOpenDBRequest.idl:
      * Modules/indexeddb/IDBRequest.idl:
      * Modules/indexeddb/IDBTransaction.idl:
      * Modules/indexeddb/IDBUpgradeNeededEvent.idl:
      * Modules/indexeddb/IDBVersionChangeEvent.idl:
      * Modules/indexeddb/IDBVersionChangeRequest.idl:
      * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
      * Modules/intents/DOMWindowIntents.idl:
      * Modules/intents/DeliveredIntent.idl:
      * Modules/intents/NavigatorIntents.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/DOMWindowMediaStream.idl:
      * Modules/mediastream/IceCallback.idl:
      * Modules/mediastream/IceCandidate.idl:
      * Modules/mediastream/LocalMediaStream.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamEvent.idl:
      * Modules/mediastream/MediaStreamList.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/MediaStreamTrackEvent.idl:
      * Modules/mediastream/MediaStreamTrackList.idl:
      * Modules/mediastream/NavigatorMediaStream.idl:
      * Modules/mediastream/NavigatorUserMediaError.idl:
      * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
      * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
      * Modules/mediastream/PeerConnection00.idl:
      * Modules/mediastream/RTCErrorCallback.idl:
      * Modules/mediastream/RTCIceCandidate.idl:
      * Modules/mediastream/RTCIceCandidateEvent.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCSessionDescription.idl:
      * Modules/mediastream/RTCSessionDescriptionCallback.idl:
      * Modules/mediastream/RTCStatsCallback.idl:
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.idl:
      * Modules/mediastream/SessionDescription.idl:
      * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
      * Modules/networkinfo/NavigatorNetworkInfoConnection.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/DOMWindowNotifications.idl:
      * Modules/notifications/Notification.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/notifications/NotificationPermissionCallback.idl:
      * Modules/notifications/WorkerContextNotifications.idl:
      * Modules/proximity/DeviceProximityEvent.idl:
      * Modules/quota/DOMWindowQuota.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageInfoErrorCallback.idl:
      * Modules/quota/StorageInfoQuotaCallback.idl:
      * Modules/quota/StorageInfoUsageCallback.idl:
      * Modules/speech/DOMWindowSpeech.idl:
      * Modules/speech/SpeechGrammar.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionAlternative.idl:
      * Modules/speech/SpeechRecognitionError.idl:
      * Modules/speech/SpeechRecognitionEvent.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/vibration/NavigatorVibration.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioBufferCallback.idl:
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioChannelMerger.idl:
      * Modules/webaudio/AudioChannelSplitter.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioDestinationNode.idl:
      * Modules/webaudio/AudioGain.idl:
      * Modules/webaudio/AudioGainNode.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webaudio/AudioPannerNode.idl:
      * Modules/webaudio/AudioParam.idl:
      * Modules/webaudio/AudioProcessingEvent.idl:
      * Modules/webaudio/AudioSourceNode.idl:
      * Modules/webaudio/BiquadFilterNode.idl:
      * Modules/webaudio/ConvolverNode.idl:
      * Modules/webaudio/DOMWindowWebAudio.idl:
      * Modules/webaudio/DelayNode.idl:
      * Modules/webaudio/DynamicsCompressorNode.idl:
      * Modules/webaudio/JavaScriptAudioNode.idl:
      * Modules/webaudio/MediaElementAudioSourceNode.idl:
      * Modules/webaudio/MediaStreamAudioSourceNode.idl:
      * Modules/webaudio/OfflineAudioCompletionEvent.idl:
      * Modules/webaudio/Oscillator.idl:
      * Modules/webaudio/RealtimeAnalyserNode.idl:
      * Modules/webaudio/WaveShaperNode.idl:
      * Modules/webaudio/WaveTable.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/Database.idl:
      * Modules/webdatabase/DatabaseCallback.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/SQLError.idl:
      * Modules/webdatabase/SQLException.idl:
      * Modules/webdatabase/SQLResultSet.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLStatementCallback.idl:
      * Modules/webdatabase/SQLStatementErrorCallback.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionCallback.idl:
      * Modules/webdatabase/SQLTransactionErrorCallback.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * Modules/webdatabase/SQLTransactionSyncCallback.idl:
      * Modules/webdatabase/WorkerContextWebDatabase.idl:
      * Modules/websockets/CloseEvent.idl:
      * Modules/websockets/DOMWindowWebSocket.idl:
      * Modules/websockets/WebSocket.idl:
      * Modules/websockets/WorkerContextWebSocket.idl:
      * bindings/scripts/test/TestCallback.idl:
      * bindings/scripts/test/TestCustomNamedGetter.idl:
      * bindings/scripts/test/TestDomainSecurity.idl:
      * bindings/scripts/test/TestEventConstructor.idl:
      * bindings/scripts/test/TestEventTarget.idl:
      * bindings/scripts/test/TestInterface.idl:
      * bindings/scripts/test/TestNamedConstructor.idl:
      * bindings/scripts/test/TestNode.idl:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
      * bindings/scripts/test/TestSupplemental.idl:
      * bindings/scripts/test/TestTypedArray.idl:
      * css/CSSCharsetRule.idl:
      * css/CSSImportRule.idl:
      * css/CSSPageRule.idl:
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleRule.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSUnknownRule.idl:
      * css/CSSValue.idl:
      * css/CSSValueList.idl:
      * css/MediaList.idl:
      * css/MediaQueryListListener.idl:
      * css/StyleMedia.idl:
      * css/StyleSheet.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSFilterValue.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * css/WebKitCSSRegionRule.idl:
      * css/WebKitCSSTransformValue.idl:
      * dom/Attr.idl:
      * dom/BeforeLoadEvent.idl:
      * dom/CharacterData.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/CustomEvent.idl:
      * dom/DOMCoreException.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DOMStringList.idl:
      * dom/DOMStringMap.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/DocumentType.idl:
      * dom/Element.idl:
      * dom/Entity.idl:
      * dom/ErrorEvent.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/EventListener.idl:
      * dom/EventTarget.idl:
      * dom/HashChangeEvent.idl:
      * dom/MessageChannel.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/MouseEvent.idl:
      * dom/MutationCallback.idl:
      * dom/MutationObserver.idl:
      * dom/MutationRecord.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/Notation.idl:
      * dom/OverflowEvent.idl:
      * dom/PageTransitionEvent.idl:
      * dom/PopStateEvent.idl:
      * dom/ProcessingInstruction.idl:
      * dom/ProgressEvent.idl:
      * dom/PropertyNodeList.idl:
      * dom/RangeException.idl:
      * dom/RequestAnimationFrameCallback.idl:
      * dom/ShadowRoot.idl:
      * dom/StringCallback.idl:
      * dom/Touch.idl:
      * dom/TouchEvent.idl:
      * dom/TouchList.idl:
      * dom/TreeWalker.idl:
      * dom/WebKitAnimationEvent.idl:
      * dom/WebKitNamedFlow.idl:
      * dom/WebKitTransitionEvent.idl:
      * editing/DOMTransaction.idl:
      * editing/UndoManager.idl:
      * fileapi/Blob.idl:
      * fileapi/File.idl:
      * fileapi/FileError.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMFormData.idl:
      * html/DOMSettableTokenList.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAnchorElement.idl:
      * html/HTMLAppletElement.idl:
      * html/HTMLAreaElement.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLBRElement.idl:
      * html/HTMLBaseElement.idl:
      * html/HTMLBaseFontElement.idl:
      * html/HTMLBodyElement.idl:
      * html/HTMLButtonElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDListElement.idl:
      * html/HTMLDataListElement.idl:
      * html/HTMLDetailsElement.idl:
      * html/HTMLDialogElement.idl:
      * html/HTMLDirectoryElement.idl:
      * html/HTMLDivElement.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLFieldSetElement.idl:
      * html/HTMLFontElement.idl:
      * html/HTMLFormElement.idl:
      * html/HTMLFrameElement.idl:
      * html/HTMLFrameSetElement.idl:
      * html/HTMLHRElement.idl:
      * html/HTMLHeadElement.idl:
      * html/HTMLHeadingElement.idl:
      * html/HTMLHtmlElement.idl:
      * html/HTMLIFrameElement.idl:
      * html/HTMLImageElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLIntentElement.idl:
      * html/HTMLKeygenElement.idl:
      * html/HTMLLIElement.idl:
      * html/HTMLLabelElement.idl:
      * html/HTMLLegendElement.idl:
      * html/HTMLLinkElement.idl:
      * html/HTMLMapElement.idl:
      * html/HTMLMarqueeElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLMenuElement.idl:
      * html/HTMLMetaElement.idl:
      * html/HTMLMeterElement.idl:
      * html/HTMLModElement.idl:
      * html/HTMLOListElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptGroupElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLOutputElement.idl:
      * html/HTMLParagraphElement.idl:
      * html/HTMLParamElement.idl:
      * html/HTMLPreElement.idl:
      * html/HTMLProgressElement.idl:
      * html/HTMLPropertiesCollection.idl:
      * html/HTMLQuoteElement.idl:
      * html/HTMLScriptElement.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLSourceElement.idl:
      * html/HTMLStyleElement.idl:
      * html/HTMLTableCaptionElement.idl:
      * html/HTMLTableCellElement.idl:
      * html/HTMLTableColElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/HTMLTitleElement.idl:
      * html/HTMLTrackElement.idl:
      * html/HTMLUListElement.idl:
      * html/HTMLVideoElement.idl:
      * html/ImageData.idl:
      * html/MediaController.idl:
      * html/MediaError.idl:
      * html/MediaKeyError.idl:
      * html/MediaKeyEvent.idl:
      * html/MicroDataItemValue.idl:
      * html/RadioNodeList.idl:
      * html/TimeRanges.idl:
      * html/ValidityState.idl:
      * html/VoidCallback.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasRenderingContext.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DataView.idl:
      * html/canvas/EXTTextureFilterAnisotropic.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESStandardDerivatives.idl:
      * html/canvas/OESTextureFloat.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLActiveInfo.idl:
      * html/canvas/WebGLBuffer.idl:
      * html/canvas/WebGLCompressedTextureS3TC.idl:
      * html/canvas/WebGLContextAttributes.idl:
      * html/canvas/WebGLContextEvent.idl:
      * html/canvas/WebGLDebugRendererInfo.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLDepthTexture.idl:
      * html/canvas/WebGLFramebuffer.idl:
      * html/canvas/WebGLLoseContext.idl:
      * html/canvas/WebGLProgram.idl:
      * html/canvas/WebGLRenderbuffer.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/canvas/WebGLShader.idl:
      * html/canvas/WebGLShaderPrecisionFormat.idl:
      * html/canvas/WebGLTexture.idl:
      * html/canvas/WebGLUniformLocation.idl:
      * html/canvas/WebGLVertexArrayObjectOES.idl:
      * html/shadow/HTMLContentElement.idl:
      * html/shadow/HTMLShadowElement.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * html/track/TextTrackList.idl:
      * html/track/TrackEvent.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorFrontendHost.idl:
      * inspector/JavaScriptCallFrame.idl:
      * inspector/ScriptProfile.idl:
      * inspector/ScriptProfileNode.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/AbstractView.idl:
      * page/BarInfo.idl:
      * page/Console.idl:
      * page/Coordinates.idl:
      * page/Crypto.idl:
      * page/DOMSecurityPolicy.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/DOMWindowPagePopup.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/MemoryInfo.idl:
      * page/Navigator.idl:
      * page/PagePopupController.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceEntryList.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      * page/SpeechInputEvent.idl:
      * page/SpeechInputResult.idl:
      * page/SpeechInputResultList.idl:
      * page/WebKitAnimation.idl:
      * page/WebKitAnimationList.idl:
      * page/WebKitPoint.idl:
      * page/WorkerNavigator.idl:
      * plugins/DOMMimeType.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/Storage.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGAElement.idl:
      * svg/SVGAltGlyphDefElement.idl:
      * svg/SVGAltGlyphElement.idl:
      * svg/SVGAltGlyphItemElement.idl:
      * svg/SVGAngle.idl:
      * svg/SVGAnimateColorElement.idl:
      * svg/SVGAnimateElement.idl:
      * svg/SVGAnimateMotionElement.idl:
      * svg/SVGAnimateTransformElement.idl:
      * svg/SVGAnimatedAngle.idl:
      * svg/SVGAnimatedBoolean.idl:
      * svg/SVGAnimatedEnumeration.idl:
      * svg/SVGAnimatedInteger.idl:
      * svg/SVGAnimatedLength.idl:
      * svg/SVGAnimatedLengthList.idl:
      * svg/SVGAnimatedNumber.idl:
      * svg/SVGAnimatedNumberList.idl:
      * svg/SVGAnimatedPreserveAspectRatio.idl:
      * svg/SVGAnimatedRect.idl:
      * svg/SVGAnimatedString.idl:
      * svg/SVGAnimatedTransformList.idl:
      * svg/SVGAnimationElement.idl:
      * svg/SVGCircleElement.idl:
      * svg/SVGClipPathElement.idl:
      * svg/SVGColor.idl:
      * svg/SVGComponentTransferFunctionElement.idl:
      * svg/SVGCursorElement.idl:
      * svg/SVGDefsElement.idl:
      * svg/SVGDescElement.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElement.idl:
      * svg/SVGElementInstance.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGEllipseElement.idl:
      * svg/SVGException.idl:
      * svg/SVGExternalResourcesRequired.idl:
      * svg/SVGFEBlendElement.idl:
      * svg/SVGFEColorMatrixElement.idl:
      * svg/SVGFEComponentTransferElement.idl:
      * svg/SVGFECompositeElement.idl:
      * svg/SVGFEConvolveMatrixElement.idl:
      * svg/SVGFEDiffuseLightingElement.idl:
      * svg/SVGFEDisplacementMapElement.idl:
      * svg/SVGFEDistantLightElement.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEFloodElement.idl:
      * svg/SVGFEFuncAElement.idl:
      * svg/SVGFEFuncBElement.idl:
      * svg/SVGFEFuncGElement.idl:
      * svg/SVGFEFuncRElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEImageElement.idl:
      * svg/SVGFEMergeElement.idl:
      * svg/SVGFEMergeNodeElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFEOffsetElement.idl:
      * svg/SVGFEPointLightElement.idl:
      * svg/SVGFESpecularLightingElement.idl:
      * svg/SVGFESpotLightElement.idl:
      * svg/SVGFETileElement.idl:
      * svg/SVGFETurbulenceElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGFilterPrimitiveStandardAttributes.idl:
      * svg/SVGFitToViewBox.idl:
      * svg/SVGFontElement.idl:
      * svg/SVGFontFaceElement.idl:
      * svg/SVGFontFaceFormatElement.idl:
      * svg/SVGFontFaceNameElement.idl:
      * svg/SVGFontFaceSrcElement.idl:
      * svg/SVGFontFaceUriElement.idl:
      * svg/SVGForeignObjectElement.idl:
      * svg/SVGGElement.idl:
      * svg/SVGGlyphElement.idl:
      * svg/SVGGlyphRefElement.idl:
      * svg/SVGGradientElement.idl:
      * svg/SVGHKernElement.idl:
      * svg/SVGImageElement.idl:
      * svg/SVGLangSpace.idl:
      * svg/SVGLength.idl:
      * svg/SVGLengthList.idl:
      * svg/SVGLineElement.idl:
      * svg/SVGLinearGradientElement.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMPathElement.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGMaskElement.idl:
      * svg/SVGMatrix.idl:
      * svg/SVGMetadataElement.idl:
      * svg/SVGMissingGlyphElement.idl:
      * svg/SVGNumber.idl:
      * svg/SVGNumberList.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGPathSeg.idl:
      * svg/SVGPathSegArcAbs.idl:
      * svg/SVGPathSegArcRel.idl:
      * svg/SVGPathSegClosePath.idl:
      * svg/SVGPathSegCurvetoCubicAbs.idl:
      * svg/SVGPathSegCurvetoCubicRel.idl:
      * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
      * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
      * svg/SVGPathSegCurvetoQuadraticAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticRel.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
      * svg/SVGPathSegLinetoAbs.idl:
      * svg/SVGPathSegLinetoHorizontalAbs.idl:
      * svg/SVGPathSegLinetoHorizontalRel.idl:
      * svg/SVGPathSegLinetoRel.idl:
      * svg/SVGPathSegLinetoVerticalAbs.idl:
      * svg/SVGPathSegLinetoVerticalRel.idl:
      * svg/SVGPathSegList.idl:
      * svg/SVGPathSegMovetoAbs.idl:
      * svg/SVGPathSegMovetoRel.idl:
      * svg/SVGPatternElement.idl:
      * svg/SVGPoint.idl:
      * svg/SVGPointList.idl:
      * svg/SVGPolygonElement.idl:
      * svg/SVGPolylineElement.idl:
      * svg/SVGPreserveAspectRatio.idl:
      * svg/SVGRadialGradientElement.idl:
      * svg/SVGRect.idl:
      * svg/SVGRectElement.idl:
      * svg/SVGRenderingIntent.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGScriptElement.idl:
      * svg/SVGSetElement.idl:
      * svg/SVGStopElement.idl:
      * svg/SVGStringList.idl:
      * svg/SVGStylable.idl:
      * svg/SVGStyleElement.idl:
      * svg/SVGSwitchElement.idl:
      * svg/SVGSymbolElement.idl:
      * svg/SVGTRefElement.idl:
      * svg/SVGTSpanElement.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * svg/SVGTextElement.idl:
      * svg/SVGTextPathElement.idl:
      * svg/SVGTextPositioningElement.idl:
      * svg/SVGTitleElement.idl:
      * svg/SVGTransform.idl:
      * svg/SVGTransformList.idl:
      * svg/SVGTransformable.idl:
      * svg/SVGURIReference.idl:
      * svg/SVGUnitTypes.idl:
      * svg/SVGUseElement.idl:
      * svg/SVGVKernElement.idl:
      * svg/SVGViewElement.idl:
      * svg/SVGViewSpec.idl:
      * svg/SVGZoomAndPan.idl:
      * svg/SVGZoomEvent.idl:
      * testing/InternalSettings.idl:
      * testing/Internals.idl:
      * testing/MallocStatistics.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/SharedWorkerContext.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * workers/WorkerLocation.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLHttpRequestProgressEvent.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathException.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      Moved extended attributes.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4d60d13
    • commit-queue@webkit.org's avatar
      [WebKit IDL] remove all module from idl files. · cab10cea
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99007
      
      Patch by Takashi Sakamoto <tasak@google.com> on 2012-10-11
      Reviewed by Kentaro Hara.
      
      Since current WebIDL spec doesn't support "module", remove
      module from all idl files.
      
      No new tests. I ran run-bindings-tests and no error was reported.
      
      Source/WebCore:
      
      * Modules/battery/BatteryManager.idl:
      * Modules/battery/NavigatorBattery.idl:
      * Modules/filesystem/DOMFileSystem.idl:
      * Modules/filesystem/DOMFileSystemSync.idl:
      * Modules/filesystem/DOMWindowFileSystem.idl:
      * Modules/filesystem/DataTransferItemFileSystem.idl:
      * Modules/filesystem/DirectoryEntry.idl:
      * Modules/filesystem/DirectoryEntrySync.idl:
      * Modules/filesystem/DirectoryReader.idl:
      * Modules/filesystem/DirectoryReaderSync.idl:
      * Modules/filesystem/EntriesCallback.idl:
      * Modules/filesystem/Entry.idl:
      * Modules/filesystem/EntryArray.idl:
      * Modules/filesystem/EntryArraySync.idl:
      * Modules/filesystem/EntryCallback.idl:
      * Modules/filesystem/EntrySync.idl:
      * Modules/filesystem/ErrorCallback.idl:
      * Modules/filesystem/FileCallback.idl:
      * Modules/filesystem/FileEntry.idl:
      * Modules/filesystem/FileEntrySync.idl:
      * Modules/filesystem/FileSystemCallback.idl:
      * Modules/filesystem/FileWriter.idl:
      * Modules/filesystem/FileWriterCallback.idl:
      * Modules/filesystem/FileWriterSync.idl:
      * Modules/filesystem/HTMLInputElementFileSystem.idl:
      * Modules/filesystem/Metadata.idl:
      * Modules/filesystem/MetadataCallback.idl:
      * Modules/filesystem/WorkerContextFileSystem.idl:
      * Modules/gamepad/Gamepad.idl:
      * Modules/gamepad/GamepadList.idl:
      * Modules/gamepad/NavigatorGamepad.idl:
      * Modules/geolocation/Geolocation.idl:
      * Modules/geolocation/Geoposition.idl:
      * Modules/geolocation/NavigatorGeolocation.idl:
      * Modules/geolocation/PositionCallback.idl:
      * Modules/geolocation/PositionError.idl:
      * Modules/geolocation/PositionErrorCallback.idl:
      * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
      * Modules/indexeddb/IDBAny.idl:
      * Modules/indexeddb/IDBCursor.idl:
      * Modules/indexeddb/IDBCursorWithValue.idl:
      * Modules/indexeddb/IDBDatabase.idl:
      * Modules/indexeddb/IDBDatabaseException.idl:
      * Modules/indexeddb/IDBFactory.idl:
      * Modules/indexeddb/IDBIndex.idl:
      * Modules/indexeddb/IDBKey.idl:
      * Modules/indexeddb/IDBKeyRange.idl:
      * Modules/indexeddb/IDBObjectStore.idl:
      * Modules/indexeddb/IDBOpenDBRequest.idl:
      * Modules/indexeddb/IDBRequest.idl:
      * Modules/indexeddb/IDBTransaction.idl:
      * Modules/indexeddb/IDBUpgradeNeededEvent.idl:
      * Modules/indexeddb/IDBVersionChangeEvent.idl:
      * Modules/indexeddb/IDBVersionChangeRequest.idl:
      * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
      * Modules/intents/DOMWindowIntents.idl:
      * Modules/intents/DeliveredIntent.idl:
      * Modules/intents/Intent.idl:
      * Modules/intents/IntentResultCallback.idl:
      * Modules/intents/NavigatorIntents.idl:
      * Modules/mediasource/MediaSource.idl:
      * Modules/mediasource/SourceBuffer.idl:
      * Modules/mediasource/SourceBufferList.idl:
      * Modules/mediastream/DOMWindowMediaStream.idl:
      * Modules/mediastream/IceCallback.idl:
      * Modules/mediastream/IceCandidate.idl:
      * Modules/mediastream/LocalMediaStream.idl:
      * Modules/mediastream/MediaStream.idl:
      * Modules/mediastream/MediaStreamEvent.idl:
      * Modules/mediastream/MediaStreamList.idl:
      * Modules/mediastream/MediaStreamTrack.idl:
      * Modules/mediastream/MediaStreamTrackEvent.idl:
      * Modules/mediastream/MediaStreamTrackList.idl:
      * Modules/mediastream/NavigatorMediaStream.idl:
      * Modules/mediastream/NavigatorUserMediaError.idl:
      * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
      * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
      * Modules/mediastream/PeerConnection00.idl:
      * Modules/mediastream/RTCErrorCallback.idl:
      * Modules/mediastream/RTCIceCandidate.idl:
      * Modules/mediastream/RTCIceCandidateEvent.idl:
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCSessionDescription.idl:
      * Modules/mediastream/RTCSessionDescriptionCallback.idl:
      * Modules/mediastream/RTCStatsCallback.idl:
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.idl:
      * Modules/mediastream/SessionDescription.idl:
      * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
      * Modules/networkinfo/NavigatorNetworkInfoConnection.idl:
      * Modules/networkinfo/NetworkInfoConnection.idl:
      * Modules/notifications/DOMWindowNotifications.idl:
      * Modules/notifications/Notification.idl:
      * Modules/notifications/NotificationCenter.idl:
      * Modules/notifications/NotificationPermissionCallback.idl:
      * Modules/notifications/WorkerContextNotifications.idl:
      * Modules/proximity/DeviceProximityEvent.idl:
      * Modules/quota/DOMWindowQuota.idl:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageInfoErrorCallback.idl:
      * Modules/quota/StorageInfoQuotaCallback.idl:
      * Modules/quota/StorageInfoUsageCallback.idl:
      * Modules/speech/DOMWindowSpeech.idl:
      * Modules/speech/SpeechGrammar.idl:
      * Modules/speech/SpeechGrammarList.idl:
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionAlternative.idl:
      * Modules/speech/SpeechRecognitionError.idl:
      * Modules/speech/SpeechRecognitionEvent.idl:
      * Modules/speech/SpeechRecognitionResult.idl:
      * Modules/speech/SpeechRecognitionResultList.idl:
      * Modules/vibration/NavigatorVibration.idl:
      * Modules/webaudio/AudioBuffer.idl:
      * Modules/webaudio/AudioBufferCallback.idl:
      * Modules/webaudio/AudioBufferSourceNode.idl:
      * Modules/webaudio/AudioChannelMerger.idl:
      * Modules/webaudio/AudioChannelSplitter.idl:
      * Modules/webaudio/AudioContext.idl:
      * Modules/webaudio/AudioDestinationNode.idl:
      * Modules/webaudio/AudioGain.idl:
      * Modules/webaudio/AudioGainNode.idl:
      * Modules/webaudio/AudioListener.idl:
      * Modules/webaudio/AudioNode.idl:
      * Modules/webaudio/AudioPannerNode.idl:
      * Modules/webaudio/AudioParam.idl:
      * Modules/webaudio/AudioProcessingEvent.idl:
      * Modules/webaudio/AudioSourceNode.idl:
      * Modules/webaudio/BiquadFilterNode.idl:
      * Modules/webaudio/ConvolverNode.idl:
      * Modules/webaudio/DOMWindowWebAudio.idl:
      * Modules/webaudio/DelayNode.idl:
      * Modules/webaudio/DynamicsCompressorNode.idl:
      * Modules/webaudio/JavaScriptAudioNode.idl:
      * Modules/webaudio/MediaElementAudioSourceNode.idl:
      * Modules/webaudio/MediaStreamAudioSourceNode.idl:
      * Modules/webaudio/OfflineAudioCompletionEvent.idl:
      * Modules/webaudio/Oscillator.idl:
      * Modules/webaudio/RealtimeAnalyserNode.idl:
      * Modules/webaudio/WaveShaperNode.idl:
      * Modules/webaudio/WaveTable.idl:
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * Modules/webdatabase/Database.idl:
      * Modules/webdatabase/DatabaseCallback.idl:
      * Modules/webdatabase/DatabaseSync.idl:
      * Modules/webdatabase/SQLError.idl:
      * Modules/webdatabase/SQLException.idl:
      * Modules/webdatabase/SQLResultSet.idl:
      * Modules/webdatabase/SQLResultSetRowList.idl:
      * Modules/webdatabase/SQLStatementCallback.idl:
      * Modules/webdatabase/SQLStatementErrorCallback.idl:
      * Modules/webdatabase/SQLTransaction.idl:
      * Modules/webdatabase/SQLTransactionCallback.idl:
      * Modules/webdatabase/SQLTransactionErrorCallback.idl:
      * Modules/webdatabase/SQLTransactionSync.idl:
      * Modules/webdatabase/SQLTransactionSyncCallback.idl:
      * Modules/webdatabase/WorkerContextWebDatabase.idl:
      * Modules/websockets/CloseEvent.idl:
      * Modules/websockets/DOMWindowWebSocket.idl:
      * Modules/websockets/WebSocket.idl:
      * Modules/websockets/WorkerContextWebSocket.idl:
      * bindings/scripts/test/TestCallback.idl:
      * bindings/scripts/test/TestCustomNamedGetter.idl:
      * bindings/scripts/test/TestDomainSecurity.idl:
      * bindings/scripts/test/TestEventConstructor.idl:
      * bindings/scripts/test/TestEventTarget.idl:
      * bindings/scripts/test/TestException.idl:
      * bindings/scripts/test/TestInterface.idl:
      * bindings/scripts/test/TestMediaQueryListListener.idl:
      * bindings/scripts/test/TestNamedConstructor.idl:
      * bindings/scripts/test/TestNode.idl:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
      * bindings/scripts/test/TestSupplemental.idl:
      * bindings/scripts/test/TestTypedArray.idl:
      * css/CSSCharsetRule.idl:
      * css/CSSFontFaceRule.idl:
      * css/CSSImportRule.idl:
      * css/CSSMediaRule.idl:
      * css/CSSPageRule.idl:
      * css/CSSPrimitiveValue.idl:
      * css/CSSRule.idl:
      * css/CSSRuleList.idl:
      * css/CSSStyleDeclaration.idl:
      * css/CSSStyleRule.idl:
      * css/CSSStyleSheet.idl:
      * css/CSSUnknownRule.idl:
      * css/CSSValue.idl:
      * css/CSSValueList.idl:
      * css/Counter.idl:
      * css/MediaList.idl:
      * css/MediaQueryList.idl:
      * css/MediaQueryListListener.idl:
      * css/RGBColor.idl:
      * css/Rect.idl:
      * css/StyleMedia.idl:
      * css/StyleSheet.idl:
      * css/StyleSheetList.idl:
      * css/WebKitCSSFilterValue.idl:
      * css/WebKitCSSKeyframeRule.idl:
      * css/WebKitCSSKeyframesRule.idl:
      * css/WebKitCSSMatrix.idl:
      * css/WebKitCSSRegionRule.idl:
      * css/WebKitCSSTransformValue.idl:
      * dom/Attr.idl:
      * dom/BeforeLoadEvent.idl:
      * dom/CDATASection.idl:
      * dom/CharacterData.idl:
      * dom/ClientRect.idl:
      * dom/ClientRectList.idl:
      * dom/Clipboard.idl:
      * dom/Comment.idl:
      * dom/CompositionEvent.idl:
      * dom/CustomEvent.idl:
      * dom/DOMCoreException.idl:
      * dom/DOMError.idl:
      * dom/DOMImplementation.idl:
      * dom/DOMNamedFlowCollection.idl:
      * dom/DOMStringList.idl:
      * dom/DOMStringMap.idl:
      * dom/DataTransferItem.idl:
      * dom/DataTransferItemList.idl:
      * dom/DeviceMotionEvent.idl:
      * dom/DeviceOrientationEvent.idl:
      * dom/Document.idl:
      * dom/DocumentFragment.idl:
      * dom/DocumentType.idl:
      * dom/Element.idl:
      * dom/Entity.idl:
      * dom/EntityReference.idl:
      * dom/ErrorEvent.idl:
      * dom/Event.idl:
      * dom/EventException.idl:
      * dom/EventListener.idl:
      * dom/EventTarget.idl:
      * dom/HashChangeEvent.idl:
      * dom/KeyboardEvent.idl:
      * dom/MessageChannel.idl:
      * dom/MessageEvent.idl:
      * dom/MessagePort.idl:
      * dom/MouseEvent.idl:
      * dom/MutationCallback.idl:
      * dom/MutationEvent.idl:
      * dom/MutationObserver.idl:
      * dom/MutationRecord.idl:
      * dom/NamedNodeMap.idl:
      * dom/Node.idl:
      * dom/NodeFilter.idl:
      * dom/NodeIterator.idl:
      * dom/NodeList.idl:
      * dom/Notation.idl:
      * dom/OverflowEvent.idl:
      * dom/PageTransitionEvent.idl:
      * dom/PopStateEvent.idl:
      * dom/ProcessingInstruction.idl:
      * dom/ProgressEvent.idl:
      * dom/PropertyNodeList.idl:
      * dom/Range.idl:
      * dom/RangeException.idl:
      * dom/RequestAnimationFrameCallback.idl:
      * dom/ShadowRoot.idl:
      * dom/StringCallback.idl:
      * dom/Text.idl:
      * dom/TextEvent.idl:
      * dom/Touch.idl:
      * dom/TouchEvent.idl:
      * dom/TouchList.idl:
      * dom/TreeWalker.idl:
      * dom/UIEvent.idl:
      * dom/WebKitAnimationEvent.idl:
      * dom/WebKitNamedFlow.idl:
      * dom/WebKitTransitionEvent.idl:
      * dom/WheelEvent.idl:
      * editing/DOMTransaction.idl:
      * editing/UndoManager.idl:
      * fileapi/Blob.idl:
      * fileapi/File.idl:
      * fileapi/FileError.idl:
      * fileapi/FileException.idl:
      * fileapi/FileList.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMFormData.idl:
      * html/DOMSettableTokenList.idl:
      * html/DOMTokenList.idl:
      * html/DOMURL.idl:
      * html/HTMLAllCollection.idl:
      * html/HTMLAnchorElement.idl:
      * html/HTMLAppletElement.idl:
      * html/HTMLAreaElement.idl:
      * html/HTMLAudioElement.idl:
      * html/HTMLBRElement.idl:
      * html/HTMLBaseElement.idl:
      * html/HTMLBaseFontElement.idl:
      * html/HTMLBodyElement.idl:
      * html/HTMLButtonElement.idl:
      * html/HTMLCanvasElement.idl:
      * html/HTMLCollection.idl:
      * html/HTMLDListElement.idl:
      * html/HTMLDataListElement.idl:
      * html/HTMLDetailsElement.idl:
      * html/HTMLDialogElement.idl:
      * html/HTMLDirectoryElement.idl:
      * html/HTMLDivElement.idl:
      * html/HTMLDocument.idl:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.idl:
      * html/HTMLFieldSetElement.idl:
      * html/HTMLFontElement.idl:
      * html/HTMLFormElement.idl:
      * html/HTMLFrameElement.idl:
      * html/HTMLFrameSetElement.idl:
      * html/HTMLHRElement.idl:
      * html/HTMLHeadElement.idl:
      * html/HTMLHeadingElement.idl:
      * html/HTMLHtmlElement.idl:
      * html/HTMLIFrameElement.idl:
      * html/HTMLImageElement.idl:
      * html/HTMLInputElement.idl:
      * html/HTMLIntentElement.idl:
      * html/HTMLKeygenElement.idl:
      * html/HTMLLIElement.idl:
      * html/HTMLLabelElement.idl:
      * html/HTMLLegendElement.idl:
      * html/HTMLLinkElement.idl:
      * html/HTMLMapElement.idl:
      * html/HTMLMarqueeElement.idl:
      * html/HTMLMediaElement.idl:
      * html/HTMLMenuElement.idl:
      * html/HTMLMetaElement.idl:
      * html/HTMLMeterElement.idl:
      * html/HTMLModElement.idl:
      * html/HTMLOListElement.idl:
      * html/HTMLObjectElement.idl:
      * html/HTMLOptGroupElement.idl:
      * html/HTMLOptionElement.idl:
      * html/HTMLOptionsCollection.idl:
      * html/HTMLOutputElement.idl:
      * html/HTMLParagraphElement.idl:
      * html/HTMLParamElement.idl:
      * html/HTMLPreElement.idl:
      * html/HTMLProgressElement.idl:
      * html/HTMLPropertiesCollection.idl:
      * html/HTMLQuoteElement.idl:
      * html/HTMLScriptElement.idl:
      * html/HTMLSelectElement.idl:
      * html/HTMLSourceElement.idl:
      * html/HTMLSpanElement.idl:
      * html/HTMLStyleElement.idl:
      * html/HTMLTableCaptionElement.idl:
      * html/HTMLTableCellElement.idl:
      * html/HTMLTableColElement.idl:
      * html/HTMLTableElement.idl:
      * html/HTMLTableRowElement.idl:
      * html/HTMLTableSectionElement.idl:
      * html/HTMLTextAreaElement.idl:
      * html/HTMLTitleElement.idl:
      * html/HTMLTrackElement.idl:
      * html/HTMLUListElement.idl:
      * html/HTMLUnknownElement.idl:
      * html/HTMLVideoElement.idl:
      * html/ImageData.idl:
      * html/MediaController.idl:
      * html/MediaError.idl:
      * html/MediaKeyError.idl:
      * html/MediaKeyEvent.idl:
      * html/MicroDataItemValue.idl:
      * html/RadioNodeList.idl:
      * html/TextMetrics.idl:
      * html/TimeRanges.idl:
      * html/ValidityState.idl:
      * html/VoidCallback.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/ArrayBufferView.idl:
      * html/canvas/CanvasGradient.idl:
      * html/canvas/CanvasPattern.idl:
      * html/canvas/CanvasRenderingContext.idl:
      * html/canvas/CanvasRenderingContext2D.idl:
      * html/canvas/DataView.idl:
      * html/canvas/EXTTextureFilterAnisotropic.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/OESStandardDerivatives.idl:
      * html/canvas/OESTextureFloat.idl:
      * html/canvas/OESVertexArrayObject.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * html/canvas/WebGLActiveInfo.idl:
      * html/canvas/WebGLBuffer.idl:
      * html/canvas/WebGLCompressedTextureS3TC.idl:
      * html/canvas/WebGLContextAttributes.idl:
      * html/canvas/WebGLContextEvent.idl:
      * html/canvas/WebGLDebugRendererInfo.idl:
      * html/canvas/WebGLDebugShaders.idl:
      * html/canvas/WebGLDepthTexture.idl:
      * html/canvas/WebGLFramebuffer.idl:
      * html/canvas/WebGLLoseContext.idl:
      * html/canvas/WebGLProgram.idl:
      * html/canvas/WebGLRenderbuffer.idl:
      * html/canvas/WebGLRenderingContext.idl:
      * html/canvas/WebGLShader.idl:
      * html/canvas/WebGLShaderPrecisionFormat.idl:
      * html/canvas/WebGLTexture.idl:
      * html/canvas/WebGLUniformLocation.idl:
      * html/canvas/WebGLVertexArrayObjectOES.idl:
      * html/shadow/HTMLContentElement.idl:
      * html/shadow/HTMLShadowElement.idl:
      * html/track/TextTrack.idl:
      * html/track/TextTrackCue.idl:
      * html/track/TextTrackCueList.idl:
      * html/track/TextTrackList.idl:
      * html/track/TrackEvent.idl:
      * inspector/InjectedScriptHost.idl:
      * inspector/InspectorFrontendHost.idl:
      * inspector/JavaScriptCallFrame.idl:
      * inspector/ScriptProfile.idl:
      * inspector/ScriptProfileNode.idl:
      * loader/appcache/DOMApplicationCache.idl:
      * page/AbstractView.idl:
      * page/BarInfo.idl:
      * page/Console.idl:
      * page/Coordinates.idl:
      * page/Crypto.idl:
      * page/DOMSecurityPolicy.idl:
      * page/DOMSelection.idl:
      * page/DOMWindow.idl:
      * page/DOMWindowPagePopup.idl:
      * page/EventSource.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/MemoryInfo.idl:
      * page/Navigator.idl:
      * page/PagePopupController.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceEntryList.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      * page/SpeechInputEvent.idl:
      * page/SpeechInputResult.idl:
      * page/SpeechInputResultList.idl:
      * page/WebKitAnimation.idl:
      * page/WebKitAnimationList.idl:
      * page/WebKitPoint.idl:
      * page/WorkerNavigator.idl:
      * plugins/DOMMimeType.idl:
      * plugins/DOMMimeTypeArray.idl:
      * plugins/DOMPlugin.idl:
      * plugins/DOMPluginArray.idl:
      * storage/Storage.idl:
      * storage/StorageEvent.idl:
      * svg/ElementTimeControl.idl:
      * svg/SVGAElement.idl:
      * svg/SVGAltGlyphDefElement.idl:
      * svg/SVGAltGlyphElement.idl:
      * svg/SVGAltGlyphItemElement.idl:
      * svg/SVGAngle.idl:
      * svg/SVGAnimateColorElement.idl:
      * svg/SVGAnimateElement.idl:
      * svg/SVGAnimateMotionElement.idl:
      * svg/SVGAnimateTransformElement.idl:
      * svg/SVGAnimatedAngle.idl:
      * svg/SVGAnimatedBoolean.idl:
      * svg/SVGAnimatedEnumeration.idl:
      * svg/SVGAnimatedInteger.idl:
      * svg/SVGAnimatedLength.idl:
      * svg/SVGAnimatedLengthList.idl:
      * svg/SVGAnimatedNumber.idl:
      * svg/SVGAnimatedNumberList.idl:
      * svg/SVGAnimatedPreserveAspectRatio.idl:
      * svg/SVGAnimatedRect.idl:
      * svg/SVGAnimatedString.idl:
      * svg/SVGAnimatedTransformList.idl:
      * svg/SVGAnimationElement.idl:
      * svg/SVGCircleElement.idl:
      * svg/SVGClipPathElement.idl:
      * svg/SVGColor.idl:
      * svg/SVGComponentTransferFunctionElement.idl:
      * svg/SVGCursorElement.idl:
      * svg/SVGDefsElement.idl:
      * svg/SVGDescElement.idl:
      * svg/SVGDocument.idl:
      * svg/SVGElement.idl:
      * svg/SVGElementInstance.idl:
      * svg/SVGElementInstanceList.idl:
      * svg/SVGEllipseElement.idl:
      * svg/SVGException.idl:
      * svg/SVGExternalResourcesRequired.idl:
      * svg/SVGFEBlendElement.idl:
      * svg/SVGFEColorMatrixElement.idl:
      * svg/SVGFEComponentTransferElement.idl:
      * svg/SVGFECompositeElement.idl:
      * svg/SVGFEConvolveMatrixElement.idl:
      * svg/SVGFEDiffuseLightingElement.idl:
      * svg/SVGFEDisplacementMapElement.idl:
      * svg/SVGFEDistantLightElement.idl:
      * svg/SVGFEDropShadowElement.idl:
      * svg/SVGFEFloodElement.idl:
      * svg/SVGFEFuncAElement.idl:
      * svg/SVGFEFuncBElement.idl:
      * svg/SVGFEFuncGElement.idl:
      * svg/SVGFEFuncRElement.idl:
      * svg/SVGFEGaussianBlurElement.idl:
      * svg/SVGFEImageElement.idl:
      * svg/SVGFEMergeElement.idl:
      * svg/SVGFEMergeNodeElement.idl:
      * svg/SVGFEMorphologyElement.idl:
      * svg/SVGFEOffsetElement.idl:
      * svg/SVGFEPointLightElement.idl:
      * svg/SVGFESpecularLightingElement.idl:
      * svg/SVGFESpotLightElement.idl:
      * svg/SVGFETileElement.idl:
      * svg/SVGFETurbulenceElement.idl:
      * svg/SVGFilterElement.idl:
      * svg/SVGFilterPrimitiveStandardAttributes.idl:
      * svg/SVGFitToViewBox.idl:
      * svg/SVGFontElement.idl:
      * svg/SVGFontFaceElement.idl:
      * svg/SVGFontFaceFormatElement.idl:
      * svg/SVGFontFaceNameElement.idl:
      * svg/SVGFontFaceSrcElement.idl:
      * svg/SVGFontFaceUriElement.idl:
      * svg/SVGForeignObjectElement.idl:
      * svg/SVGGElement.idl:
      * svg/SVGGlyphElement.idl:
      * svg/SVGGlyphRefElement.idl:
      * svg/SVGGradientElement.idl:
      * svg/SVGHKernElement.idl:
      * svg/SVGImageElement.idl:
      * svg/SVGLangSpace.idl:
      * svg/SVGLength.idl:
      * svg/SVGLengthList.idl:
      * svg/SVGLineElement.idl:
      * svg/SVGLinearGradientElement.idl:
      * svg/SVGLocatable.idl:
      * svg/SVGMPathElement.idl:
      * svg/SVGMarkerElement.idl:
      * svg/SVGMaskElement.idl:
      * svg/SVGMatrix.idl:
      * svg/SVGMetadataElement.idl:
      * svg/SVGMissingGlyphElement.idl:
      * svg/SVGNumber.idl:
      * svg/SVGNumberList.idl:
      * svg/SVGPaint.idl:
      * svg/SVGPathElement.idl:
      * svg/SVGPathSeg.idl:
      * svg/SVGPathSegArcAbs.idl:
      * svg/SVGPathSegArcRel.idl:
      * svg/SVGPathSegClosePath.idl:
      * svg/SVGPathSegCurvetoCubicAbs.idl:
      * svg/SVGPathSegCurvetoCubicRel.idl:
      * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
      * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
      * svg/SVGPathSegCurvetoQuadraticAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticRel.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
      * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
      * svg/SVGPathSegLinetoAbs.idl:
      * svg/SVGPathSegLinetoHorizontalAbs.idl:
      * svg/SVGPathSegLinetoHorizontalRel.idl:
      * svg/SVGPathSegLinetoRel.idl:
      * svg/SVGPathSegLinetoVerticalAbs.idl:
      * svg/SVGPathSegLinetoVerticalRel.idl:
      * svg/SVGPathSegList.idl:
      * svg/SVGPathSegMovetoAbs.idl:
      * svg/SVGPathSegMovetoRel.idl:
      * svg/SVGPatternElement.idl:
      * svg/SVGPoint.idl:
      * svg/SVGPointList.idl:
      * svg/SVGPolygonElement.idl:
      * svg/SVGPolylineElement.idl:
      * svg/SVGPreserveAspectRatio.idl:
      * svg/SVGRadialGradientElement.idl:
      * svg/SVGRect.idl:
      * svg/SVGRectElement.idl:
      * svg/SVGRenderingIntent.idl:
      * svg/SVGSVGElement.idl:
      * svg/SVGScriptElement.idl:
      * svg/SVGSetElement.idl:
      * svg/SVGStopElement.idl:
      * svg/SVGStringList.idl:
      * svg/SVGStylable.idl:
      * svg/SVGStyleElement.idl:
      * svg/SVGSwitchElement.idl:
      * svg/SVGSymbolElement.idl:
      * svg/SVGTRefElement.idl:
      * svg/SVGTSpanElement.idl:
      * svg/SVGTests.idl:
      * svg/SVGTextContentElement.idl:
      * svg/SVGTextElement.idl:
      * svg/SVGTextPathElement.idl:
      * svg/SVGTextPositioningElement.idl:
      * svg/SVGTitleElement.idl:
      * svg/SVGTransform.idl:
      * svg/SVGTransformList.idl:
      * svg/SVGTransformable.idl:
      * svg/SVGURIReference.idl:
      * svg/SVGUnitTypes.idl:
      * svg/SVGUseElement.idl:
      * svg/SVGVKernElement.idl:
      * svg/SVGViewElement.idl:
      * svg/SVGViewSpec.idl:
      * svg/SVGZoomAndPan.idl:
      * svg/SVGZoomEvent.idl:
      * testing/InternalSettings.idl:
      * testing/Internals.idl:
      * testing/MallocStatistics.idl:
      * workers/AbstractWorker.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/SharedWorker.idl:
      * workers/SharedWorkerContext.idl:
      * workers/Worker.idl:
      * workers/WorkerContext.idl:
      * workers/WorkerLocation.idl:
      * xml/DOMParser.idl:
      * xml/XMLHttpRequest.idl:
      * xml/XMLHttpRequestException.idl:
      * xml/XMLHttpRequestProgressEvent.idl:
      * xml/XMLHttpRequestUpload.idl:
      * xml/XMLSerializer.idl:
      * xml/XPathEvaluator.idl:
      * xml/XPathException.idl:
      * xml/XPathExpression.idl:
      * xml/XPathNSResolver.idl:
      * xml/XPathResult.idl:
      * xml/XSLTProcessor.idl:
      Removed "module".
      
      Tools:
      
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarker.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityTextMarkerRange.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/GCController.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
      * WebKitTestRunner/InjectedBundle/Bindings/TextInputController.idl:
      Removed "module".
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cab10cea
  20. 09 Oct, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Source/Platform: Change PeerConnection getStats function to single value local / remote · bc8798ac
      commit-queue@webkit.org authored
      elements in RTCStatsReport.
      https://bugs.webkit.org/show_bug.cgi?id=98753
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-09
      Reviewed by Adam Barth.
      
      * chromium/public/WebRTCStatsResponse.h:
      (WebRTCStatsResponse):
      
      Source/WebCore: Change PeerConnection getStats function to single value local / remote
      elements in RTCStatsReport.
      
      https://bugs.webkit.org/show_bug.cgi?id=98753
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-09
      Reviewed by Adam Barth.
      
      IDL of RTCStatsReport has been changed to make local/remote
      single valued RTCStatsElement attributes.
      The RTCStatsReport argument to index the list of RTCStatsElement
      in the local and remote functions has been removed.
      
      Tested by modifications to RTCPeerConnection-stats.html
      
      * Modules/mediastream/RTCStatsReport.cpp:
      (WebCore::RTCStatsReport::addElement):
      (WebCore::RTCStatsReport::addStatistic):
      * Modules/mediastream/RTCStatsReport.h:
      (WebCore::RTCStatsReport::local):
      (WebCore::RTCStatsReport::remote):
      (RTCStatsReport):
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.cpp:
      (WebCore::RTCStatsResponse::addElement):
      (WebCore::RTCStatsResponse::addStatistic):
      * Modules/mediastream/RTCStatsResponse.h:
      (RTCStatsResponse):
      * platform/chromium/support/WebRTCStatsResponse.cpp:
      (WebKit::WebRTCStatsResponse::addElement):
      (WebKit::WebRTCStatsResponse::addStatistic):
      * platform/mediastream/RTCStatsResponseBase.h:
      (RTCStatsResponseBase):
      
      Tools: Change PeerConnection getStats function to single value local / remote
      elements in RTCStatsReport.
      https://bugs.webkit.org/show_bug.cgi?id=98753
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-09
      Reviewed by Adam Barth.
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::getStats):
      
      LayoutTests: Change PeerConnection getStats function to single value local / remote
      elements in RTCStatsReport.
      https://bugs.webkit.org/show_bug.cgi?id=98753
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-09
      Reviewed by Adam Barth.
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt:
      * fast/mediastream/RTCPeerConnection-stats.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc8798ac
  21. 07 Oct, 2012 1 commit
    • benjamin@webkit.org's avatar
      Rename first/second to key/value in HashMap iterators · ee554054
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82784
      
      Patch by Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> on 2012-10-07
      Reviewed by Eric Seidel.
      
      Source/JavaScriptCore: 
      
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::getPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::visitChildren):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnNonIndexPropertyNames):
      * API/JSClassRef.cpp:
      (OpaqueJSClass::~OpaqueJSClass):
      (OpaqueJSClassContextData::OpaqueJSClassContextData):
      (OpaqueJSClass::contextData):
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      (JSC::EvalCodeCache::visitAggregate):
      (JSC::CodeBlock::nameForRegister):
      * bytecode/JumpTable.h:
      (JSC::StringJumpTable::offsetForValue):
      (JSC::StringJumpTable::ctiForValue):
      * bytecode/LazyOperandValueProfile.cpp:
      (JSC::LazyOperandValueProfileParser::getIfPresent):
      * bytecode/SamplingTool.cpp:
      (JSC::SamplingTool::dump):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::addVar):
      (JSC::BytecodeGenerator::addGlobalVar):
      (JSC::BytecodeGenerator::addConstant):
      (JSC::BytecodeGenerator::addConstantValue):
      (JSC::BytecodeGenerator::emitLoad):
      (JSC::BytecodeGenerator::addStringConstant):
      (JSC::BytecodeGenerator::emitLazyNewFunction):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::PropertyListNode::emitBytecode):
      * debugger/Debugger.cpp:
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      (JSC::DFG::ArgumentsSimplificationPhase::observeBadArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::observeProperArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::isOKToOptimize):
      (JSC::DFG::ArgumentsSimplificationPhase::removeArgumentsReferencingPhantomChild):
      * dfg/DFGAssemblyHelpers.cpp:
      (JSC::DFG::AssemblyHelpers::decodedCodeMapFor):
      * dfg/DFGByteCodeCache.h:
      (JSC::DFG::ByteCodeCache::~ByteCodeCache):
      (JSC::DFG::ByteCodeCache::get):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::cellConstant):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * dfg/DFGStructureCheckHoistingPhase.cpp:
      (JSC::DFG::StructureCheckHoistingPhase::run):
      (JSC::DFG::StructureCheckHoistingPhase::noticeStructureCheck):
      (JSC::DFG::StructureCheckHoistingPhase::noticeClobber):
      * heap/Heap.cpp:
      (JSC::Heap::markProtectedObjects):
      * heap/Heap.h:
      (JSC::Heap::forEachProtectedCell):
      * heap/JITStubRoutineSet.cpp:
      (JSC::JITStubRoutineSet::markSlow):
      (JSC::JITStubRoutineSet::deleteUnmarkedJettisonedStubRoutines):
      * heap/SlotVisitor.cpp:
      (JSC::SlotVisitor::internalAppend):
      * heap/Weak.h:
      (JSC::weakRemove):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompile):
      * jit/JITStubs.cpp:
      (JSC::JITThunks::ctiStub):
      * parser/Parser.cpp:
      (JSC::::parseStrictObjectLiteral):
      * profiler/Profile.cpp:
      (JSC::functionNameCountPairComparator):
      (JSC::Profile::debugPrintDataSampleStyle):
      * runtime/Identifier.cpp:
      (JSC::Identifier::add):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::getOwnNonIndexPropertyNames):
      (JSC::JSActivation::symbolTablePutWithAttributes):
      * runtime/JSArray.cpp:
      (JSC::JSArray::setLength):
      * runtime/JSObject.cpp:
      (JSC::JSObject::getOwnPropertySlotByIndex):
      (JSC::JSObject::enterDictionaryIndexingModeWhenArrayStorageAlreadyExists):
      (JSC::JSObject::deletePropertyByIndex):
      (JSC::JSObject::getOwnPropertyNames):
      (JSC::JSObject::defineOwnIndexedProperty):
      (JSC::JSObject::attemptToInterceptPutByIndexOnHoleForPrototype):
      (JSC::JSObject::putByIndexBeyondVectorLengthWithArrayStorage):
      (JSC::JSObject::putDirectIndexBeyondVectorLengthWithArrayStorage):
      (JSC::JSObject::getOwnPropertyDescriptor):
      * runtime/JSSymbolTableObject.cpp:
      (JSC::JSSymbolTableObject::getOwnNonIndexPropertyNames):
      * runtime/JSSymbolTableObject.h:
      (JSC::symbolTableGet):
      (JSC::symbolTablePut):
      (JSC::symbolTablePutWithAttributes):
      * runtime/RegExpCache.cpp:
      (JSC::RegExpCache::invalidateCode):
      * runtime/SparseArrayValueMap.cpp:
      (JSC::SparseArrayValueMap::putEntry):
      (JSC::SparseArrayValueMap::putDirect):
      (JSC::SparseArrayValueMap::visitChildren):
      * runtime/WeakGCMap.h:
      (JSC::WeakGCMap::clear):
      (JSC::WeakGCMap::set):
      * tools/ProfileTreeNode.h:
      (JSC::ProfileTreeNode::sampleChild):
      (JSC::ProfileTreeNode::childCount):
      (JSC::ProfileTreeNode::dumpInternal):
      (JSC::ProfileTreeNode::compareEntries):
      
      Source/WebCore: 
      
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::Watchers::find):
      (WebCore::Geolocation::Watchers::remove):
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::objectStoreNames):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::metadata):
      * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::deleteDatabase):
      (WebCore::IDBFactoryBackendImpl::openBackingStore):
      (WebCore::IDBFactoryBackendImpl::open):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::indexNames):
      (WebCore::IDBObjectStore::put):
      (WebCore::IDBObjectStore::index):
      (WebCore::IDBObjectStore::deleteIndex):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::metadata):
      (WebCore::makeIndexWriters):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::objectStore):
      (WebCore::IDBTransaction::objectStoreDeleted):
      (WebCore::IDBTransaction::onAbort):
      (WebCore::IDBTransaction::dispatchEvent):
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      (WebCore::MediaConstraintsImpl::getMandatoryConstraints):
      (WebCore::MediaConstraintsImpl::getMandatoryConstraintValue):
      * Modules/webdatabase/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::performOpenAndVerify):
      * Modules/webdatabase/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/OriginUsageRecord.cpp:
      (WebCore::OriginUsageRecord::diskUsage):
      * Modules/webdatabase/SQLTransactionCoordinator.cpp:
      (WebCore::SQLTransactionCoordinator::acquireLock):
      (WebCore::SQLTransactionCoordinator::releaseLock):
      (WebCore::SQLTransactionCoordinator::shutdown):
      * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/chromium/QuotaTracker.cpp:
      (WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
      (WebCore::QuotaTracker::updateDatabaseSize):
      * Modules/websockets/WebSocketDeflateFramer.cpp:
      (WebCore::WebSocketExtensionDeflateFrame::processResponse):
      * Modules/websockets/WebSocketExtensionDispatcher.cpp:
      (WebCore::WebSocketExtensionDispatcher::appendAcceptedExtension):
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::~AXObjectCache):
      * bindings/gobject/DOMObjectCache.cpp:
      (WebKit::DOMObjectCache::clearByFrame):
      * bindings/js/DOMObjectHashTableMap.h:
      (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
      (WebCore::DOMObjectHashTableMap::get):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::visitChildren):
      * bindings/js/JSDOMGlobalObject.h:
      (WebCore::getDOMConstructor):
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      (WebCore::PageScriptDebugServer::removeListener):
      * bindings/js/ScriptCachedFrameData.cpp:
      (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
      (WebCore::ScriptCachedFrameData::restore):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::~ScriptController):
      (WebCore::ScriptController::clearWindowShell):
      (WebCore::ScriptController::attachDebugger):
      (WebCore::ScriptController::updateDocument):
      (WebCore::ScriptController::createRootObject):
      (WebCore::ScriptController::collectIsolatedContexts):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::clearScriptObjects):
      * bindings/js/ScriptController.h:
      (WebCore::ScriptController::windowShell):
      (WebCore::ScriptController::existingWindowShell):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::setBreakpoint):
      (WebCore::ScriptDebugServer::removeBreakpoint):
      (WebCore::ScriptDebugServer::hasBreakpoint):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::checkForDuplicate):
      (WebCore::CloneSerializer::dumpIfTerminal):
      (WebCore::CloneSerializer::write):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateImplementation):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::V8Float64Array::GetRawTemplate):
      (WebCore::V8Float64Array::GetTemplate):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::V8TestActiveDOMObject::GetRawTemplate):
      (WebCore::V8TestActiveDOMObject::GetTemplate):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
      (WebCore::V8TestCustomNamedGetter::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore::V8TestEventConstructor::GetRawTemplate):
      (WebCore::V8TestEventConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::V8TestEventTarget::GetRawTemplate):
      (WebCore::V8TestEventTarget::GetTemplate):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::V8TestException::GetRawTemplate):
      (WebCore::V8TestException::GetTemplate):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::V8TestInterface::GetRawTemplate):
      (WebCore::V8TestInterface::GetTemplate):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
      (WebCore::V8TestMediaQueryListListener::GetTemplate):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructor::GetRawTemplate):
      (WebCore::V8TestNamedConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::V8TestNode::GetRawTemplate):
      (WebCore::V8TestNode::GetTemplate):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::V8TestObj::GetRawTemplate):
      (WebCore::V8TestObj::GetTemplate):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
      * bindings/v8/DOMWrapperWorld.cpp:
      (WebCore::DOMWrapperWorld::deallocate):
      (WebCore::DOMWrapperWorld::ensureIsolatedWorld):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::freeV8NPObject):
      (WebCore::npCreateV8ScriptObject):
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::clearScriptObjects):
      (WebCore::ScriptController::resetIsolatedWorlds):
      (WebCore::ScriptController::ensureIsolatedWorldContext):
      (WebCore::ScriptController::existingWindowShellInternal):
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      (WebCore::ScriptController::setIsolatedWorldSecurityOrigin):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::collectIsolatedContexts):
      * bindings/v8/SerializedScriptValue.cpp:
      * bindings/v8/V8DOMMap.h:
      (WebCore::WeakReferenceMap::removeIfPresent):
      (WebCore::WeakReferenceMap::visit):
      * bindings/v8/V8PerContextData.cpp:
      (WebCore::V8PerContextData::dispose):
      * bindings/v8/npruntime.cpp:
      * bridge/IdentifierRep.cpp:
      (WebCore::IdentifierRep::get):
      * bridge/NP_jsobject.cpp:
      (ObjectMap::add):
      (ObjectMap::remove):
      * bridge/runtime_root.cpp:
      (JSC::Bindings::RootObject::invalidate):
      * css/CSSCanvasValue.cpp:
      (WebCore::CSSCanvasValue::canvasChanged):
      (WebCore::CSSCanvasValue::canvasResized):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::counterToCSSValue):
      * css/CSSCrossfadeValue.cpp:
      (WebCore::CSSCrossfadeValue::crossfadeChanged):
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::addFontFaceRule):
      (WebCore::CSSFontSelector::getFontData):
      * css/CSSImageGeneratorValue.cpp:
      (WebCore::CSSImageGeneratorValue::addClient):
      (WebCore::CSSImageGeneratorValue::removeClient):
      (WebCore::CSSImageGeneratorValue::getImage):
      * css/CSSSegmentedFontFace.cpp:
      (WebCore::CSSSegmentedFontFace::getFontData):
      * css/CSSSelector.cpp:
      (WebCore::CSSSelector::parsePseudoType):
      * css/CSSValuePool.cpp:
      (WebCore::CSSValuePool::createColorValue):
      (WebCore::CSSValuePool::createFontFamilyValue):
      (WebCore::CSSValuePool::createFontFaceValue):
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
      * css/RuleSet.cpp:
      (WebCore::reportAtomRuleMap):
      (WebCore::RuleSet::addToRuleSet):
      (WebCore::shrinkMapVectorsToFit):
      * css/StyleBuilder.cpp:
      (WebCore::ApplyPropertyCounter::applyInheritValue):
      (WebCore::ApplyPropertyCounter::applyValue):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectFeatures):
      (WebCore::StyleResolver::ruleSetForScope):
      (WebCore::StyleResolver::appendAuthorStylesheets):
      (WebCore::StyleResolver::sweepMatchedPropertiesCache):
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleSheetContents.cpp:
      (WebCore::StyleSheetContents::parserAddNamespace):
      (WebCore::StyleSheetContents::determineNamespace):
      * dom/CheckedRadioButtons.cpp:
      (WebCore::CheckedRadioButtons::addButton):
      (WebCore::CheckedRadioButtons::removeButton):
      * dom/ChildListMutationScope.cpp:
      (WebCore::ChildListMutationAccumulator::getOrCreate):
      * dom/Document.cpp:
      (WebCore::Document::windowNamedItems):
      (WebCore::Document::documentNamedItems):
      (WebCore::Document::getCSSCanvasElement):
      (WebCore::Document::cachedImmutableAttributeData):
      (WebCore::Document::getCachedLocalizer):
      * dom/DocumentMarkerController.cpp:
      (WebCore::DocumentMarkerController::markerContainingPoint):
      (WebCore::DocumentMarkerController::renderedRectsForMarkers):
      (WebCore::DocumentMarkerController::removeMarkers):
      (WebCore::DocumentMarkerController::repaintMarkers):
      (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
      (WebCore::DocumentMarkerController::showMarkers):
      * dom/DocumentOrderedMap.cpp:
      (WebCore::DocumentOrderedMap::remove):
      * dom/DocumentStyleSheetCollection.cpp:
      (WebCore::DocumentStyleSheetCollection::pageGroupUserSheets):
      * dom/ElementAttributeData.cpp:
      (WebCore::ensureAttrListForElement):
      * dom/EventDispatcher.cpp:
      (WebCore::EventRelatedTargetAdjuster::findRelatedTarget):
      * dom/IdTargetObserverRegistry.cpp:
      (WebCore::IdTargetObserverRegistry::addObserver):
      (WebCore::IdTargetObserverRegistry::removeObserver):
      * dom/MutationObserverInterestGroup.cpp:
      (WebCore::MutationObserverInterestGroup::isOldValueRequested):
      (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
      * dom/Node.cpp:
      (WebCore::Node::dumpStatistics):
      (WebCore::Node::clearRareData):
      (WebCore::NodeListsNodeData::invalidateCaches):
      (WebCore::collectMatchingObserversForMutation):
      * dom/NodeRareData.h:
      (WebCore::NodeListsNodeData::addCacheWithAtomicName):
      (WebCore::NodeListsNodeData::addCacheWithName):
      (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
      (WebCore::NodeListsNodeData::adoptTreeScope):
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::checkStyleSheet):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
      (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
      (WebCore::ScriptExecutionContext::adjustMinimumTimerInterval):
      * dom/SelectorQuery.cpp:
      (WebCore::SelectorQueryCache::add):
      * dom/SpaceSplitString.cpp:
      (WebCore::SpaceSplitStringData::create):
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::updateAttributeStyle):
      * editing/mac/AlternativeTextUIController.mm:
      (WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
      * html/FormController.cpp:
      (WebCore::SavedFormState::serializeTo):
      (WebCore::SavedFormState::appendControlState):
      (WebCore::SavedFormState::takeControlState):
      (WebCore::SavedFormState::getReferencedFilePaths):
      (WebCore::FormKeyGenerator::formKey):
      (WebCore::FormController::createSavedFormStateMap):
      (WebCore::FormController::formElementsState):
      (WebCore::FormController::takeStateForFormElement):
      (WebCore::FormController::getReferencedFilePaths):
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollectionCacheBase::append):
      * html/canvas/WebGLFramebuffer.cpp:
      (WebCore::WebGLFramebuffer::getAttachment):
      (WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
      (WebCore::WebGLFramebuffer::checkStatus):
      (WebCore::WebGLFramebuffer::deleteObjectImpl):
      (WebCore::WebGLFramebuffer::initializeAttachments):
      * inspector/CodeGeneratorInspector.py:
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::diff):
      (WebCore::DOMPatchSupport::innerPatchChildren):
      (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
      * inspector/InjectedScriptManager.cpp:
      (WebCore::InjectedScriptManager::injectedScriptForId):
      (WebCore::InjectedScriptManager::injectedScriptIdFor):
      (WebCore::InjectedScriptManager::discardInjectedScriptsFor):
      (WebCore::InjectedScriptManager::releaseObjectGroup):
      (WebCore::InjectedScriptManager::injectedScriptFor):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::SelectorProfile::commitSelector):
      (WebCore::SelectorProfile::commitSelectorTime):
      (WebCore::SelectorProfile::toInspectorObject):
      (WebCore::UpdateRegionLayoutTask::onTimer):
      (WebCore::InspectorCSSAgent::forcePseudoState):
      (WebCore::InspectorCSSAgent::asInspectorStyleSheet):
      (WebCore::InspectorCSSAgent::assertStyleSheetForId):
      (WebCore::InspectorCSSAgent::didRemoveDOMNode):
      (WebCore::InspectorCSSAgent::didModifyDOMAttr):
      (WebCore::InspectorCSSAgent::resetPseudoStates):
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::stopTiming):
      (WebCore::InspectorConsoleAgent::count):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::nodeForId):
      (WebCore::InspectorDOMAgent::performSearch):
      (WebCore::InspectorDOMAgent::getSearchResults):
      * inspector/InspectorDOMDebuggerAgent.cpp:
      (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::clearFrontend):
      (WebCore::InspectorDOMStorageAgent::enable):
      (WebCore::InspectorDOMStorageAgent::storageId):
      (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
      (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
      (WebCore::InspectorDOMStorageAgent::memoryBytesUsedByStorageCache):
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::enable):
      (WebCore::InspectorDatabaseAgent::databaseId):
      (WebCore::InspectorDatabaseAgent::findByFileName):
      (WebCore::InspectorDatabaseAgent::databaseForId):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::removeBreakpoint):
      (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
      (WebCore::InspectorDebuggerAgent::searchInContent):
      (WebCore::InspectorDebuggerAgent::getScriptSource):
      (WebCore::InspectorDebuggerAgent::didParseSource):
      * inspector/InspectorIndexedDBAgent.cpp:
      (WebCore):
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore):
      * inspector/InspectorPageAgent.cpp:
      (WebCore::cachedResourcesForFrame):
      (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
      (WebCore::InspectorPageAgent::frameDetached):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfileHeaders):
      (WebCore):
      (WebCore::InspectorProfilerAgent::getProfile):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::buildObjectForHeaders):
      (WebCore::InspectorResourceAgent::willSendRequest):
      (WebCore::InspectorResourceAgent::documentThreadableLoaderStartedLoadingForClient):
      (WebCore::InspectorResourceAgent::willLoadXHR):
      (WebCore::InspectorResourceAgent::replayXHR):
      * inspector/InspectorState.cpp:
      (WebCore::InspectorState::getBoolean):
      (WebCore::InspectorState::getString):
      (WebCore::InspectorState::getLong):
      (WebCore::InspectorState::getDouble):
      (WebCore::InspectorState::getObject):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyle::styleWithProperties):
      (WebCore::InspectorStyleSheet::inspectorStyleForId):
      * inspector/InspectorValues.cpp:
      (WebCore::InspectorObjectBase::get):
      (WebCore::InspectorObjectBase::writeJSON):
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::workerContextTerminated):
      (WebCore::InspectorWorkerAgent::createWorkerFrontendChannelsForExistingWorkers):
      (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
      * inspector/MemoryInstrumentationImpl.cpp:
      (WebCore::MemoryInstrumentationClientImpl::countObjectSize):
      * inspector/MemoryInstrumentationImpl.h:
      (WebCore::MemoryInstrumentationClientImpl::totalSize):
      (WebCore::MemoryInstrumentationClientImpl::reportedSizeForAllTypes):
      * inspector/NetworkResourcesData.cpp:
      (WebCore::NetworkResourcesData::setXHRReplayData):
      (WebCore::NetworkResourcesData::removeCachedResource):
      (WebCore::NetworkResourcesData::clear):
      * loader/CrossOriginAccessControl.cpp:
      (WebCore::isSimpleCrossOriginAccessRequest):
      (WebCore::createAccessControlPreflightRequest):
      * loader/CrossOriginPreflightResultCache.cpp:
      (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders):
      (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::getSubresources):
      (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::didReceiveResponse):
      * loader/ResourceLoadScheduler.cpp:
      (WebCore::ResourceLoadScheduler::servePendingRequests):
      * loader/appcache/ApplicationCache.cpp:
      (WebCore::ApplicationCache::removeResource):
      (WebCore::ApplicationCache::clearStorageID):
      (WebCore::ApplicationCache::dump):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
      (WebCore::ApplicationCacheGroup::startLoadingEntry):
      (WebCore::ApplicationCacheGroup::addEntry):
      * loader/appcache/ApplicationCacheHost.cpp:
      (WebCore::ApplicationCacheHost::fillResourceList):
      * loader/appcache/ApplicationCacheResource.cpp:
      (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
      (WebCore::ApplicationCacheStorage::cacheGroupForURL):
      (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
      (WebCore::ApplicationCacheStorage::store):
      (WebCore::ApplicationCacheStorage::empty):
      (WebCore::ApplicationCacheStorage::storeCopyOfCache):
      * loader/archive/ArchiveFactory.cpp:
      (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::canReuse):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::switchClientsToRevalidatedResource):
      (WebCore::CachedResource::updateResponseAfterRevalidation):
      * loader/cache/CachedResourceClientWalker.h:
      (WebCore::CachedResourceClientWalker::CachedResourceClientWalker):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::~CachedResourceLoader):
      (WebCore::CachedResourceLoader::requestResource):
      (WebCore::CachedResourceLoader::reloadImagesIfNotDeferred):
      (WebCore::CachedResourceLoader::removeCachedResource):
      (WebCore::CachedResourceLoader::garbageCollectDocumentResources):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::removeResourcesWithOrigin):
      (WebCore::MemoryCache::getOriginsWithCache):
      (WebCore::MemoryCache::getStatistics):
      (WebCore::MemoryCache::setDisabled):
      * loader/icon/IconDatabase.cpp:
      (WebCore::IconDatabase::removeAllIcons):
      (WebCore::IconDatabase::iconRecordCountWithData):
      (WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
      (WebCore::DOMWindow::dispatchAllPendingUnloadEvents):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::pageGroup):
      (WebCore::PageGroup::closeLocalStorage):
      (WebCore::PageGroup::clearLocalStorageForAllOrigins):
      (WebCore::PageGroup::clearLocalStorageForOrigin):
      (WebCore::PageGroup::syncLocalStorage):
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserScriptFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      * page/PageSerializer.cpp:
      (WebCore::PageSerializer::urlForBlankFrame):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
      (WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
      * page/Settings.cpp:
      (WebCore::setGenericFontFamilyMap):
      (WebCore::getGenericFontFamilyForScript):
      * page/SpeechInput.cpp:
      (WebCore::SpeechInput::registerListener):
      * page/TouchDisambiguation.cpp:
      (WebCore::findGoodTouchTargets):
      * page/WindowFeatures.cpp:
      (WebCore::WindowFeatures::boolFeature):
      (WebCore::WindowFeatures::floatFeature):
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::updateAnimations):
      (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::numberOfActiveAnimations):
      * page/animation/CompositeAnimation.cpp:
      (WebCore::CompositeAnimation::clearRenderer):
      (WebCore::CompositeAnimation::updateTransitions):
      (WebCore::CompositeAnimation::updateKeyframeAnimations):
      (WebCore::CompositeAnimation::animate):
      (WebCore::CompositeAnimation::getAnimatedStyle):
      (WebCore::CompositeAnimation::setAnimating):
      (WebCore::CompositeAnimation::timeToNextService):
      (WebCore::CompositeAnimation::getAnimationForProperty):
      (WebCore::CompositeAnimation::suspendAnimations):
      (WebCore::CompositeAnimation::resumeAnimations):
      (WebCore::CompositeAnimation::overrideImplicitAnimations):
      (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations):
      (WebCore::CompositeAnimation::isAnimatingProperty):
      (WebCore::CompositeAnimation::numberOfActiveAnimations):
      * platform/Language.cpp:
      (WebCore::languageDidChange):
      * platform/MIMETypeRegistry.cpp:
      (WebCore::MIMETypeRegistry::getNormalizedMIMEType):
      * platform/audio/HRTFElevation.cpp:
      (WebCore::getConcatenatedImpulseResponsesForSubject):
      * platform/blackberry/CookieManager.cpp:
      (WebCore::CookieManager::generateHtmlFragmentForCookies):
      (WebCore::CookieManager::removeAllCookies):
      * platform/blackberry/CookieMap.cpp:
      (WebCore::CookieMap::removeOldestCookie):
      (WebCore::CookieMap::getAllChildCookies):
      * platform/cf/BinaryPropertyList.cpp:
      (WebCore::BinaryPropertyListPlan::writeIntegerArray):
      * platform/chromium/support/WebHTTPLoadInfo.cpp:
      (WebKit::addHeader):
      * platform/chromium/support/WebURLRequest.cpp:
      (WebKit::WebURLRequest::visitHTTPHeaderFields):
      * platform/chromium/support/WebURLResponse.cpp:
      (WebKit::WebURLResponse::addHTTPHeaderField):
      (WebKit::WebURLResponse::visitHTTPHeaderFields):
      * platform/graphics/DisplayRefreshMonitor.cpp:
      (WebCore::DisplayRefreshMonitorManager::ensureMonitorForClient):
      (WebCore::DisplayRefreshMonitorManager::unregisterClient):
      * platform/graphics/FontCache.cpp:
      (WebCore::FontCache::getCachedFontPlatformData):
      (WebCore::FontCache::getVerticalData):
      (WebCore::FontCache::getCachedFontData):
      (WebCore::FontCache::releaseFontData):
      (WebCore::FontCache::purgeInactiveFontData):
      * platform/graphics/GlyphPageTreeNode.cpp:
      (WebCore::GlyphPageTreeNode::treeGlyphPageCount):
      (WebCore::GlyphPageTreeNode::pageCount):
      (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneTreeFontData):
      (WebCore::GlyphPageTreeNode::pruneCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneFontData):
      (WebCore::GlyphPageTreeNode::showSubtree):
      (showGlyphPageTrees):
      * platform/graphics/TiledBackingStore.cpp:
      (WebCore::TiledBackingStore::updateTileBuffers):
      (WebCore::TiledBackingStore::resizeEdgeTiles):
      (WebCore::TiledBackingStore::setKeepRect):
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
      (WebCore::AVFWrapper::avfWrapperForCallbackContext):
      * platform/graphics/blackberry/LayerTiler.cpp:
      (WebCore::LayerTiler::layerVisibilityChanged):
      (WebCore::LayerTiler::uploadTexturesIfNeeded):
      (WebCore::LayerTiler::addTileJob):
      (WebCore::LayerTiler::deleteTextures):
      (WebCore::LayerTiler::pruneTextures):
      (WebCore::LayerTiler::bindContentsTexture):
      * platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
      (WebCore::TextureCacheCompositingThread::textureForTiledContents):
      (WebCore::TextureCacheCompositingThread::textureForColor):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::moveOrCopyAnimations):
      (WebCore::GraphicsLayerCA::pauseAnimation):
      (WebCore::GraphicsLayerCA::layerDidDisplay):
      (WebCore::GraphicsLayerCA::updateGeometry):
      (WebCore::GraphicsLayerCA::updateTransform):
      (WebCore::GraphicsLayerCA::updateChildrenTransform):
      (WebCore::GraphicsLayerCA::updateMasksToBounds):
      (WebCore::GraphicsLayerCA::updateContentsVisibility):
      (WebCore::GraphicsLayerCA::updateContentsOpaque):
      (WebCore::GraphicsLayerCA::updateBackfaceVisibility):
      (WebCore::GraphicsLayerCA::updateFilters):
      (WebCore::GraphicsLayerCA::ensureStructuralLayer):
      (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
      (WebCore::GraphicsLayerCA::updateContentsImage):
      (WebCore::GraphicsLayerCA::updateContentsRect):
      (WebCore::GraphicsLayerCA::updateMaskLayer):
      (WebCore::GraphicsLayerCA::updateLayerAnimations):
      (WebCore::GraphicsLayerCA::setAnimationOnLayer):
      (WebCore::GraphicsLayerCA::removeCAAnimationFromLayer):
      (WebCore::GraphicsLayerCA::pauseCAAnimationOnLayer):
      (WebCore::GraphicsLayerCA::suspendAnimations):
      (WebCore::GraphicsLayerCA::resumeAnimations):
      (WebCore::GraphicsLayerCA::findOrMakeClone):
      (WebCore::GraphicsLayerCA::setOpacityInternal):
      (WebCore::GraphicsLayerCA::updateOpacityOnLayer):
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::~TileCache):
      (WebCore::TileCache::setNeedsDisplay):
      (WebCore::TileCache::setScale):
      (WebCore::TileCache::setAcceleratesDrawing):
      (WebCore::TileCache::setTileDebugBorderWidth):
      (WebCore::TileCache::setTileDebugBorderColor):
      (WebCore::TileCache::revalidateTiles):
      * platform/graphics/ca/win/PlatformCALayerWin.cpp:
      (PlatformCALayer::animationStarted):
      (resubmitAllAnimations):
      (PlatformCALayer::animationForKey):
      * platform/graphics/chromium/FontCacheChromiumWin.cpp:
      (WebCore::LookupAltName):
      (WebCore::fontContainsCharacter):
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
      (WebCore::getDerivedFontData):
      * platform/graphics/filters/CustomFilterGlobalContext.cpp:
      (WebCore::CustomFilterGlobalContext::~CustomFilterGlobalContext):
      (WebCore::CustomFilterGlobalContext::getValidatedProgram):
      (WebCore::CustomFilterGlobalContext::removeValidatedProgram):
      * platform/graphics/filters/CustomFilterProgram.cpp:
      (WebCore::CustomFilterProgram::notifyClients):
      * platform/graphics/harfbuzz/HarfBuzzSkia.cpp:
      (WebCore::getCachedHarfbuzzFace):
      (WebCore::releaseCachedHarfbuzzFace):
      * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
      (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
      (WebCore::HarfBuzzNGFace::~HarfBuzzNGFace):
      * platform/graphics/mac/SimpleFontDataCoreText.cpp:
      (WebCore::SimpleFontData::getCFStringAttributes):
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
      * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
      (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
      * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
      (WebCore::GraphicsContext3D::compileShader):
      (WebCore::GraphicsContext3D::mappedSymbolName):
      (WebCore::GraphicsContext3D::getShaderiv):
      (WebCore::GraphicsContext3D::getShaderInfoLog):
      (WebCore::GraphicsContext3D::getShaderSource):
      * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
      (WebCore::EGLDisplayOpenVG::~EGLDisplayOpenVG):
      (WebCore::EGLDisplayOpenVG::destroySurface):
      (WebCore::EGLDisplayOpenVG::contextForSurface):
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData):
      (WebCore::TextureMapperGLData::SharedGLData::~SharedGLData):
      * platform/graphics/texmap/TextureMapperShaderManager.cpp:
      (WebCore::TextureMapperShaderManager::getShaderProgram):
      (WebCore::TextureMapperShaderManager::getShaderForFilter):
      * platform/graphics/wince/FontPlatformData.cpp:
      (WebCore::FixedSizeFontData::create):
      * platform/gtk/DataObjectGtk.cpp:
      (WebCore::DataObjectGtk::forClipboard):
      * platform/gtk/GtkDragAndDropHelper.cpp:
      (WebCore::GtkDragAndDropHelper::handleGetDragData):
      (WebCore::GtkDragAndDropHelper::handleDragLeave):
      (WebCore::GtkDragAndDropHelper::handleDragMotion):
      (WebCore::GtkDragAndDropHelper::handleDragDataReceived):
      (WebCore::GtkDragAndDropHelper::handleDragDrop):
      * platform/gtk/RedirectedXCompositeWindow.cpp:
      (WebCore::filterXDamageEvent):
      * platform/gtk/RenderThemeGtk3.cpp:
      (WebCore::gtkStyleChangedCallback):
      (WebCore::getStyleContext):
      * platform/mac/ScrollbarThemeMac.mm:
      (+[WebScrollbarPrefsObserver appearancePrefsChanged:]):
      * platform/network/CredentialStorage.cpp:
      (WebCore::CredentialStorage::set):
      (WebCore::CredentialStorage::get):
      * platform/network/HTTPHeaderMap.cpp:
      (WebCore::HTTPHeaderMap::copyData):
      (WebCore::HTTPHeaderMap::get):
      * platform/network/MIMEHeader.cpp:
      (WebCore::MIMEHeader::parseHeader):
      * platform/network/ResourceHandle.cpp:
      (WebCore::ResourceHandle::create):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::addHTTPHeaderField):
      (WebCore::ResourceRequestBase::addHTTPHeaderFields):
      * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
      (WebCore::ResourceRequest::targetTypeFromMimeType):
      (WebCore::ResourceRequest::initializePlatformRequest):
      * platform/network/cf/ResourceHandleCFNet.cpp:
      (WebCore::makeFinalRequest):
      * platform/network/cf/ResourceRequestCFNet.cpp:
      (WebCore::setHeaderFields):
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::ResourceHandleManager::initializeHandle):
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      * platform/network/qt/ResourceRequestQt.cpp:
      (WebCore::ResourceRequest::toNetworkRequest):
      * platform/network/soup/ResourceHandleSoup.cpp:
      (WebCore::sendRequestCallback):
      (WebCore::ResourceHandle::setClientCertificate):
      * platform/network/soup/ResourceRequestSoup.cpp:
      (WebCore::ResourceRequest::updateSoupMessage):
      (WebCore::ResourceRequest::toSoupMessage):
      * platform/network/soup/ResourceResponseSoup.cpp:
      (WebCore::ResourceResponse::toSoupMessage):
      * platform/network/win/ResourceHandleWin.cpp:
      (WebCore::ResourceHandle::start):
      * platform/qt/RunLoopQt.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/text/LocaleToScriptMappingDefault.cpp:
      (WebCore::scriptNameToCode):
      (WebCore::localeToScriptCodeForFontSelection):
      * platform/text/TextEncodingRegistry.cpp:
      (WebCore::pruneBlacklistedCodecs):
      (WebCore::dumpTextEncodingNameMap):
      * platform/text/transcoder/FontTranscoder.cpp:
      (WebCore::FontTranscoder::converterType):
      * platform/text/win/TextCodecWin.cpp:
      (WebCore::LanguageManager::LanguageManager):
      (WebCore::getCodePage):
      (WebCore::TextCodecWin::registerExtendedEncodingNames):
      (WebCore::TextCodecWin::registerExtendedCodecs):
      (WebCore::TextCodecWin::enumerateSupportedEncodings):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::getDataMapItem):
      (WebCore::getClipboardData):
      (WebCore::setClipboardData):
      * platform/win/ClipboardWin.cpp:
      (WebCore::ClipboardWin::types):
      * platform/win/FileSystemWin.cpp:
      (WebCore::cachedStorageDirectory):
      * platform/win/RunLoopWin.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/win/WCDataObject.cpp:
      (WebCore::WCDataObject::createInstance):
      * platform/wince/MIMETypeRegistryWinCE.cpp:
      (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
      * platform/wx/ContextMenuWx.cpp:
      (WebCore::ContextMenu::appendItem):
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::refresh):
      (WebCore::PluginDatabase::MIMETypeForExtension):
      (WebCore::PluginDatabase::remove):
      * plugins/PluginMainThreadScheduler.cpp:
      (WebCore::PluginMainThreadScheduler::scheduleCall):
      (WebCore::PluginMainThreadScheduler::dispatchCalls):
      * plugins/PluginStream.cpp:
      (WebCore::PluginStream::startStream):
      * plugins/blackberry/PluginDataBlackBerry.cpp:
      (WebCore::PluginData::initPlugins):
      * plugins/wx/PluginDataWx.cpp:
      (WebCore::PluginData::initPlugins):
      * rendering/ExclusionShapeInsideInfo.cpp:
      (WebCore::ExclusionShapeInsideInfo::ensureExclusionShapeInsideInfoForRenderBlock):
      * rendering/FlowThreadController.cpp:
      (WebCore::FlowThreadController::unregisterNamedFlowContentNode):
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::requiresIdeographicBaseline):
      (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::clearFloats):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setLogicalWidthForTextRun):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::ImageQualityController::highQualityRepaintTimerFired):
      (WebCore::ImageQualityController::shouldPaintAtLowQuality):
      * rendering/RenderCounter.cpp:
      (WebCore::RenderCounter::destroyCounterNodes):
      (WebCore::RenderCounter::destroyCounterNode):
      (WebCore::updateCounters):
      (WebCore::RenderCounter::rendererStyleChanged):
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::setRegionRangeForBox):
      (WebCore::RenderFlowThread::getRegionRangeForBox):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::paint):
      (WebCore::performOverlapTests):
      * rendering/RenderLayerFilterInfo.cpp:
      (WebCore::RenderLayerFilterInfo::filterInfoForRenderLayer):
      (WebCore::RenderLayerFilterInfo::createFilterInfoForRenderLayerIfNeeded):
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::dependsOn):
      (WebCore::RenderNamedFlowThread::pushDependencies):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::setRenderBoxRegionInfo):
      (WebCore::RenderRegion::setRegionObjectsRegionStyle):
      (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
      (WebCore::RenderRegion::computeChildrenStyleInRegion):
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::cachedCollapsedBorder):
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::systemColor):
      * rendering/RenderView.cpp:
      (WebCore::RenderView::selectionBounds):
      (WebCore::RenderView::setSelection):
      * rendering/RenderWidget.cpp:
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::moveWidgets):
      * rendering/RootInlineBox.cpp:
      (WebCore::RootInlineBox::ascentAndDescentForBox):
      * rendering/VerticalPositionCache.h:
      (WebCore::VerticalPositionCache::get):
      * rendering/svg/RenderSVGInlineText.cpp:
      (WebCore::RenderSVGInlineText::characterStartsNewTextChunk):
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
      * rendering/svg/RenderSVGResourceGradient.cpp:
      (WebCore::RenderSVGResourceGradient::applyResource):
      * rendering/svg/RenderSVGResourcePattern.cpp:
      (WebCore::RenderSVGResourcePattern::applyResource):
      * rendering/svg/SVGResourcesCache.cpp:
      (WebCore::SVGResourcesCache::resourceDestroyed):
      * rendering/svg/SVGRootInlineBox.cpp:
      (WebCore::swapItemsInLayoutAttributes):
      * rendering/svg/SVGTextLayoutAttributes.cpp:
      (WebCore::SVGTextLayoutAttributes::dump):
      * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
      (WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
      (WebCore::SVGTextLayoutAttributesBuilder::fillCharacterDataMap):
      * rendering/svg/SVGTextLayoutEngine.cpp:
      (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
      * rendering/svg/SVGTextMetricsBuilder.cpp:
      (WebCore::SVGTextMetricsBuilder::measureTextRenderer):
      * storage/StorageAreaSync.cpp:
      (WebCore::StorageAreaSync::syncTimerFired):
      (WebCore::StorageAreaSync::performImport):
      (WebCore::StorageAreaSync::sync):
      * storage/StorageMap.cpp:
      (WebCore::StorageMap::key):
      (WebCore::StorageMap::setItem):
      * storage/StorageNamespaceImpl.cpp:
      (WebCore::StorageNamespaceImpl::localStorageNamespace):
      (WebCore::StorageNamespaceImpl::copy):
      (WebCore::StorageNamespaceImpl::close):
      (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
      (WebCore::StorageNamespaceImpl::sync):
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget):
      (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
      (WebCore::SVGDocumentExtensions::addPendingResource):
      (WebCore::SVGDocumentExtensions::isElementPendingResources):
      (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
      (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
      (WebCore::SVGDocumentExtensions::removeAllTargetReferencesForElement):
      (WebCore::SVGDocumentExtensions::removeAllElementReferencesForTarget):
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::~SVGElement):
      * svg/animation/SMILTimeContainer.cpp:
      (WebCore::SMILTimeContainer::setElapsed):
      (WebCore::SMILTimeContainer::updateAnimations):
      * svg/graphics/SVGImageCache.cpp:
      (WebCore::SVGImageCache::~SVGImageCache):
      (WebCore::SVGImageCache::removeClientFromCache):
      (WebCore::SVGImageCache::requestedSizeAndScales):
      (WebCore::SVGImageCache::imageContentChanged):
      (WebCore::SVGImageCache::redraw):
      (WebCore::SVGImageCache::lookupOrCreateBitmapImageForRenderer):
      * svg/graphics/filters/SVGFilterBuilder.h:
      (WebCore::SVGFilterBuilder::effectReferences):
      (WebCore::SVGFilterBuilder::addBuiltinEffects):
      * svg/properties/SVGAnimatedProperty.h:
      (WebCore::SVGAnimatedProperty::~SVGAnimatedProperty):
      * svg/properties/SVGAttributeToPropertyMap.cpp:
      (WebCore::SVGAttributeToPropertyMap::addProperties):
      (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::hasPendingActivity):
      * workers/WorkerEventQueue.cpp:
      (WebCore::WorkerEventQueue::close):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::setRequestHeaderInternal):
      (WebCore::XMLHttpRequest::getAllResponseHeaders):
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::createFunction):
      * xml/XPathParser.cpp:
      (isAxisName):
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::xsltParamArrayFromParameterMap):
      * xml/XSLTProcessorQt.cpp:
      (WebCore::XSLTProcessor::transformToString):
      
      Source/WebKit/blackberry: 
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect):
      (BlackBerry::WebKit::BackingStorePrivate::visibleTilesRect):
      (BlackBerry::WebKit::BackingStorePrivate::resetTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion):
      (BlackBerry::WebKit::BackingStorePrivate::mapFromTransformedContentsToTiles):
      * WebCoreSupport/NotificationPresenterImpl.cpp:
      (WebCore::NotificationPresenterImpl::cancel):
      (WebCore::NotificationPresenterImpl::onPermission):
      (WebCore::NotificationPresenterImpl::notificationClicked):
      * WebCoreSupport/UserMediaClientImpl.cpp:
      (WebCore::UserMediaClientImpl::cancelUserMediaRequest):
      * WebKitSupport/AboutData.cpp:
      (BlackBerry::WebKit::dumpJSCTypeCountSetToTableHTML):
      * WebKitSupport/FrameLayers.cpp:
      (BlackBerry::WebKit::FrameLayers::removeLayerByFrame):
      (BlackBerry::WebKit::FrameLayers::commitOnWebKitThread):
      (BlackBerry::WebKit::FrameLayers::calculateRootLayer):
      
      Source/WebKit/chromium: 
      
      * src/WebGeolocationPermissionRequestManager.cpp:
      (WebGeolocationPermissionRequestManager::remove):
      * src/WebIDBMetadata.cpp:
      (WebKit::WebIDBMetadata::WebIDBMetadata):
      * src/WebIntent.cpp:
      (WebKit::WebIntent::extrasValue):
      * tests/MemoryInstrumentationTest.cpp:
      * tests/WebSocketExtensionDispatcherTest.cpp:
      (WebCore::TEST_F):
      
      Source/WebKit/efl: 
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
      * WebCoreSupport/PlatformStrategiesEfl.cpp:
      (PlatformStrategiesEfl::getPluginInfo):
      * ewk/ewk_intent.cpp:
      (ewk_intent_extra_get):
      
      Source/WebKit/gtk: 
      
      * WebCoreSupport/PlatformStrategiesGtk.cpp:
      (PlatformStrategiesGtk::getPluginInfo):
      * webkit/webkitfavicondatabase.cpp:
      (webkitFaviconDatabaseImportFinished):
      * webkit/webkitwebplugin.cpp:
      (webkit_web_plugin_get_mimetypes):
      
      Source/WebKit/mac: 
      
      * History/WebHistory.mm:
      (-[WebHistoryPrivate removeItemFromDateCaches:]):
      (-[WebHistoryPrivate orderedLastVisitedDays]):
      (WebHistoryWriter::WebHistoryWriter):
      * Misc/WebCoreStatistics.mm:
      (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
      (+[WebCoreStatistics javaScriptObjectTypeCounts]):
      * Plugins/Hosted/NetscapePluginHostManager.mm:
      (WebKit::NetscapePluginHostManager::hostForPlugin):
      (WebKit::NetscapePluginHostManager::pluginHostDied):
      (WebKit::NetscapePluginHostManager::didCreateWindow):
      * Plugins/Hosted/NetscapePluginHostProxy.mm:
      (WebKit::NetscapePluginHostProxy::pluginHostDied):
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
      (WebKit::NetscapePluginInstanceProxy::destroy):
      (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
      (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * Plugins/WebNetscapePluginView.mm:
      (-[WebNetscapePluginView stopTimers]):
      (-[WebNetscapePluginView startTimers]):
      * WebCoreSupport/WebNotificationClient.mm:
      (WebNotificationClient::show):
      (WebNotificationClient::clearNotifications):
      (WebNotificationClient::notificationObjectDestroyed):
      * WebView/WebHTMLView.mm:
      (commandNameForSelector):
      
      Source/WebKit/qt: 
      
      * Api/qwebpage.cpp:
      (extractContentTypeFromPluginVector):
      * Api/qwebplugindatabase.cpp:
      (QWebPluginInfo::mimeTypes):
      * WebCoreSupport/PlatformStrategiesQt.cpp:
      (PlatformStrategiesQt::getPluginInfo):
      
      Source/WebKit/win: 
      
      * COMPropertyBag.h:
      (::Read):
      (::GetPropertyInfo):
      * WebCoreStatistics.cpp:
      (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
      * WebCoreSupport/WebPlatformStrategies.cpp:
      (WebPlatformStrategies::getPluginInfo):
      * WebHistory.cpp:
      (WebHistory::removeItemFromDateCaches):
      * WebKitCOMAPI.cpp:
      (classFactory):
      * WebKitStatistics.cpp:
      (WebKitStatistics::comClassNameCounts):
      * WebNotificationCenter.cpp:
      (WebNotificationCenter::postNotificationInternal):
      (WebNotificationCenter::addObserver):
      (WebNotificationCenter::removeObserver):
      
      Source/WebKit/wince: 
      
      * WebCoreSupport/PlatformStrategiesWinCE.cpp:
      (PlatformStrategiesWinCE::getPluginInfo):
      
      Source/WebKit2: 
      
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (CoreIPC::Connection::SyncMessageState::getOrCreate):
      (CoreIPC::Connection::waitForMessage):
      (CoreIPC::Connection::processIncomingMessage):
      * Platform/gtk/WorkQueueGtk.cpp:
      (WorkQueue::registerEventSourceHandler):
      (WorkQueue::unregisterEventSourceHandler):
      * Platform/mac/WorkQueueMac.cpp:
      (WorkQueue::unregisterMachPortEventHandler):
      * Shared/Plugins/NPRemoteObjectMap.cpp:
      (WebKit::NPRemoteObjectMap::pluginDestroyed):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageEncoder::baseEncode):
      * Shared/WebPreferencesStore.cpp:
      (WebKit::valueForKey):
      (WebKit::WebPreferencesStore::getBoolValueForKey):
      * Shared/mac/WebCoreArgumentCodersMac.mm:
      (CoreIPC::::decode):
      * Shared/qt/ArgumentCodersQt.cpp:
      (CoreIPC::::decode):
      * Shared/soup/WebCoreArgumentCodersSoup.cpp:
      (CoreIPC::::decode):
      * UIProcess/API/efl/ewk_back_forward_list.cpp:
      (_Ewk_Back_Forward_List::~_Ewk_Back_Forward_List):
      * UIProcess/API/efl/ewk_context.cpp:
      (_Ewk_Context::~_Ewk_Context):
      * UIProcess/API/efl/ewk_view.cpp:
      (_ewk_view_priv_loading_resources_clear):
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkit_web_view_get_subresources):
      * UIProcess/API/gtk/WebKitWebViewBase.cpp:
      (webkitWebViewBaseContainerForall):
      * UIProcess/API/mac/WKPrintingView.mm:
      (-[WKPrintingView _expectedPreviewCallbackForRect:]):
      (pageDidDrawToPDF):
      (-[WKPrintingView _drawPreview:]):
      * UIProcess/API/mac/WKView.mm:
      (commandNameForSelector):
      (-[WKView validateUserInterfaceItem:]):
      * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp:
      (WebKit::CoordinatedBackingStore::updateTile):
      (WebKit::CoordinatedBackingStore::texture):
      (WebKit::CoordinatedBackingStore::paintToTextureMapper):
      (WebKit::CoordinatedBackingStore::commitTileOperations):
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
      (WebKit::LayerTreeCoordinatorProxy::updateTileForLayer):
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
      (WebKit::LayerTreeRenderer::adjustPositionForFixedLayers):
      (WebKit::LayerTreeRenderer::syncCanvas):
      (WebKit::LayerTreeRenderer::setLayerChildren):
      (WebKit::LayerTreeRenderer::setLayerFilters):
      (WebKit::LayerTreeRenderer::setLayerState):
      (WebKit::LayerTreeRenderer::assignImageToLayer):
      * UIProcess/GeolocationPermissionRequestManagerProxy.cpp:
      (WebKit::GeolocationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/InspectorServer/WebInspectorServer.cpp:
      (WebKit::WebInspectorServer::~WebInspectorServer):
      (WebKit::WebInspectorServer::registerPage):
      * UIProcess/InspectorServer/WebSocketServerConnection.cpp:
      (WebKit::WebSocketServerConnection::sendHTTPResponseHeader):
      * UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp:
      (WebKit::WebInspectorServer::buildPageList):
      * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp:
      (WebKit::NotificationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/Plugins/PluginProcessProxy.cpp:
      (WebKit::PluginProcessProxy::pluginProcessCrashedOrFailedToLaunch):
      * UIProcess/WebContext.cpp:
      (WebKit::createDictionaryFromHashMap):
      * UIProcess/WebIconDatabase.cpp:
      (WebKit::WebIconDatabase::didFinishURLImport):
      * UIProcess/WebIntentData.cpp:
      (WebKit::WebIntentData::extras):
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
      (WebKit::WebProcessProxy::addBackForwardItem):
      (WebKit::WebProcessProxy::frameCountInPage):
      * WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp:
      (WebKit::GeolocationPermissionRequestManager::cancelRequestForGeolocation):
      (WebKit::GeolocationPermissionRequestManager::didReceiveGeolocationPermissionDecision):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::getOrCreate):
      * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
      (WebKit::InjectedBundleRangeHandle::getOrCreate):
      * WebProcess/InjectedBundle/InjectedBundleIntent.cpp:
      (WebKit::InjectedBundleIntent::extras):
      * WebProcess/Notifications/WebNotificationManager.cpp:
      (WebKit::WebNotificationManager::policyForOrigin):
      (WebKit::WebNotificationManager::show):
      (WebKit::WebNotificationManager::clearNotifications):
      (WebKit::WebNotificationManager::removeNotificationFromContextMap):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::invalidate):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::destroyStream):
      (WebKit::NetscapePlugin::frameDidFinishLoading):
      (WebKit::NetscapePlugin::frameDidFail):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::buildHTTPHeaders):
      (WebKit::PluginView::~PluginView):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
      (WebCore::CoordinatedGraphicsLayer::layerByID):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit::LayerTreeCoordinator::adoptImageBackingStore):
      (WebKit::LayerTreeCoordinator::releaseImageBackingStore):
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit::WebBackForwardListProxy::removeItem):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::commandNameForSelectorName):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::visitedLinkStateChanged):
      (WebKit::WebProcess::allVisitedLinkStateChanged):
      (WebKit::WebProcess::focusedWebPage):
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::webPageGroup):
      (WebKit::fromCountedSetToHashMap):
      (WebKit::WebProcess::setTextCheckerState):
      
      Source/WTF: 
      
      Currently HashMap iterators follow the same interface in std::map: given an
      iterator it, we use it->first to access the key and it->second to access the
      value. This patch changes these accesses to it->key and it->value, improving the
      readability at call sites.
      
      One potential downside of this change would be the confusion between std::map and
      HashMap interfaces. However, they are already different in other aspects and the
      usage of std::map is more an exception than a rule in WebKit code, so we consider
      the confusion will be less likely to happen.
      
      * wtf/HashCountedSet.h:
      (WTF::::add):
      (WTF::::remove):
      (WTF::copyToVector):
      * wtf/HashIterators.h:
      (WTF::HashTableConstKeysIterator::get):
      (WTF::HashTableConstValuesIterator::get):
      (WTF::HashTableKeysIterator::get):
      (WTF::HashTableValuesIterator::get):
      * wtf/HashMap.h:
      (WTF::KeyValuePairKeyExtractor::extract):
      (WTF::HashMapValueTraits::isEmptyValue):
      (WTF::HashMapTranslator::translate):
      (WTF::HashMapTranslatorAdapter::translate):
      (WTF::::set):
      (WTF::::get):
      (WTF::::take):
      (WTF::operator==):
      (WTF::deleteAllValues):
      (WTF::deleteAllKeys):
      Removed deleteAllPairFirsts() and deleteAllPairSeconds() since they are now unused.
      
      * wtf/HashTable.h:
      (WTF::hashTableSwap):
      (WTF::::checkTableConsistencyExceptSize):
      * wtf/HashTraits.h:
      (WTF):
      (WTF::KeyValuePair::KeyValuePair):
      (KeyValuePair):
      (WTF::KeyValuePairHashTraits::constructDeletedValue):
      (WTF::KeyValuePairHashTraits::isDeletedValue):
      * wtf/MetaAllocator.cpp:
      (WTF::MetaAllocator::addFreeSpace):
      (WTF::MetaAllocator::incrementPageOccupancy):
      (WTF::MetaAllocator::decrementPageOccupancy):
      * wtf/RefCountedLeakCounter.cpp:
      (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
      * wtf/RefPtrHashMap.h:
      (WTF::::set):
      (WTF::::get):
      (WTF::::inlineGet):
      (WTF::::take):
      * wtf/Spectrum.h:
      (WTF::Spectrum::add):
      (WTF::Spectrum::get):
      (WTF::Spectrum::buildList):
      * wtf/ThreadingPthreads.cpp:
      (WTF::identifierByPthreadHandle):
      
      Tools: 
      
      * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
      (MockWebSpeechInputController::addMockRecognitionResult):
      * DumpRenderTree/chromium/NotificationPresenter.cpp:
      (NotificationPresenter::simulateClick):
      (NotificationPresenter::show):
      * DumpRenderTree/chromium/TestRunner/CppBoundClass.cpp:
      (CppBoundClass::~CppBoundClass):
      (CppBoundClass::invoke):
      (CppBoundClass::getProperty):
      (CppBoundClass::setProperty):
      (CppBoundClass::bindCallback):
      (CppBoundClass::bindProperty):
      * DumpRenderTree/chromium/WebPreferences.cpp:
      (applyFontMap):
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::printResourceDescription):
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * DumpRenderTree/win/AccessibilityControllerWin.cpp:
      (AccessibilityController::~AccessibilityController):
      (AccessibilityController::winNotificationReceived):
      * DumpRenderTree/win/ResourceLoadDelegate.cpp:
      (ResourceLoadDelegate::descriptionSuitableForTestResult):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      (WTR::TestRunner::worldIDForWorld):
      (WTR::TestRunner::evaluateScriptInIsolatedWorld):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee554054
  22. 04 Oct, 2012 3 commits
    • commit-queue@webkit.org's avatar
      Change RTCPeerConnection GetStats to use Date timestamp format · 223797fd
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98263
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-04
      Reviewed by Yury Semikhatsky.
      
      Source/Platform:
      
      * chromium/public/WebRTCStatsResponse.h:
      (WebRTCStatsResponse):
      
      Source/WebCore:
      
      Tested by extension to RTCPeerConnection-stats test.
      
      * Modules/mediastream/RTCStatsElement.cpp:
      (WebCore::RTCStatsElement::create):
      (WebCore::RTCStatsElement::RTCStatsElement):
      * Modules/mediastream/RTCStatsElement.h: long -> double
      (RTCStatsElement):
      (WebCore::RTCStatsElement::timestamp):
      * Modules/mediastream/RTCStatsElement.idl: long -> Date
      * Modules/mediastream/RTCStatsReport.cpp:
      (WebCore::RTCStatsReport::addElement):
      * Modules/mediastream/RTCStatsReport.h:
      (RTCStatsReport):
      * Modules/mediastream/RTCStatsResponse.cpp:
      (WebCore::RTCStatsResponse::addElement):
      * Modules/mediastream/RTCStatsResponse.h:
      (RTCStatsResponse):
      * platform/chromium/support/WebRTCStatsResponse.cpp:
      (WebKit::WebRTCStatsResponse::addElement):
      * platform/mediastream/RTCStatsResponseBase.h:
      (RTCStatsResponseBase):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::getStats):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt:
      * fast/mediastream/RTCPeerConnection-stats.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      223797fd
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r130377. · 82e3c909
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/130377
      https://bugs.webkit.org/show_bug.cgi?id=98392
      
      Chromium Win compilation is broken (Requested by yurys on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-04
      
      Source/Platform:
      
      * chromium/public/WebRTCStatsResponse.h:
      (WebRTCStatsResponse):
      
      Source/WebCore:
      
      * Modules/mediastream/RTCStatsElement.cpp:
      (WebCore::RTCStatsElement::create):
      (WebCore::RTCStatsElement::RTCStatsElement):
      * Modules/mediastream/RTCStatsElement.h:
      (RTCStatsElement):
      (WebCore::RTCStatsElement::timestamp):
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/mediastream/RTCStatsReport.cpp:
      (WebCore::RTCStatsReport::addElement):
      * Modules/mediastream/RTCStatsReport.h:
      (RTCStatsReport):
      * Modules/mediastream/RTCStatsResponse.cpp:
      (WebCore::RTCStatsResponse::addElement):
      * Modules/mediastream/RTCStatsResponse.h:
      (RTCStatsResponse):
      * platform/chromium/support/WebRTCStatsResponse.cpp:
      (WebKit::WebRTCStatsResponse::addElement):
      * platform/mediastream/RTCStatsResponseBase.h:
      (RTCStatsResponseBase):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::getStats):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt:
      * fast/mediastream/RTCPeerConnection-stats.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82e3c909
    • commit-queue@webkit.org's avatar
      Change RTCPeerConnection GetStats to use Date timestamp format · da7accae
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98263
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-04
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      * chromium/public/WebRTCStatsResponse.h:
      (WebRTCStatsResponse):
      
      Source/WebCore:
      
      Tested by extension to RTCPeerConnection-stats test.
      
      * Modules/mediastream/RTCStatsElement.cpp:
      (WebCore::RTCStatsElement::create):
      (WebCore::RTCStatsElement::RTCStatsElement):
      * Modules/mediastream/RTCStatsElement.h: long -> double
      (RTCStatsElement):
      (WebCore::RTCStatsElement::timestamp):
      * Modules/mediastream/RTCStatsElement.idl: long -> Date
      * Modules/mediastream/RTCStatsReport.cpp:
      (WebCore::RTCStatsReport::addElement):
      * Modules/mediastream/RTCStatsReport.h:
      (RTCStatsReport):
      * Modules/mediastream/RTCStatsResponse.cpp:
      (WebCore::RTCStatsResponse::addElement):
      * Modules/mediastream/RTCStatsResponse.h:
      (RTCStatsResponse):
      * platform/chromium/support/WebRTCStatsResponse.cpp:
      (WebKit::WebRTCStatsResponse::addElement):
      * platform/mediastream/RTCStatsResponseBase.h:
      (RTCStatsResponseBase):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::getStats):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt:
      * fast/mediastream/RTCPeerConnection-stats.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da7accae
  23. 03 Oct, 2012 2 commits
    • tommyw@google.com's avatar
      MediaStream API: RTCPeerConnection should send down its handler via the... · 46689138
      tommyw@google.com authored
      MediaStream API: RTCPeerConnection should send down its handler via the FrameLoaderClient directly after creation.
      https://bugs.webkit.org/show_bug.cgi?id=98149
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      The chromium implementation needs to know which Frame created a PeerConnection so
      that the right housekeeping can take place correctly.
      
      Not testable in DRT, but have verified the change manually and with our pyautotests.
      
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::RTCPeerConnection):
      * loader/FrameLoaderClient.h:
      (WebCore):
      (FrameLoaderClient):
      (WebCore::FrameLoaderClient::dispatchWillStartUsingPeerConnectionHandler):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::toWebRTCPeerConnectionHandler):
      (WebCore):
      (WebCore::RTCPeerConnectionHandlerChromium::RTCPeerConnectionHandlerChromium):
      (WebCore::RTCPeerConnectionHandlerChromium::initialize):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Source/WebKit/chromium:
      
      Adding willStartUsingPeerConnectionHandler to the WebFrameClient.
      
      * public/WebFrameClient.h:
      (WebKit):
      (WebFrameClient):
      (WebKit::WebFrameClient::willStartUsingPeerConnectionHandler):
      * src/FrameLoaderClientImpl.cpp:
      (WebKit):
      (WebKit::FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler):
      * src/FrameLoaderClientImpl.h:
      (FrameLoaderClientImpl):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46689138
    • commit-queue@webkit.org's avatar
      Add data passing to the GetStats interface of RTCPeerConnection · 301e929c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98003
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-03
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      * Platform.gypi:
      * chromium/public/WebRTCStatsRequest.h:
      (WebKit):
      (WebRTCStatsRequest):
      * chromium/public/WebRTCStatsResponse.h: Added.
      (WebCore):
      (WebKit):
      (WebRTCStatsResponse):
      (WebKit::WebRTCStatsResponse::WebRTCStatsResponse):
      (WebKit::WebRTCStatsResponse::~WebRTCStatsResponse):
      (WebKit::WebRTCStatsResponse::operator=):
      
      Source/WebCore:
      
      Added an RTCStatsResponseBase interface to platform, and let the
      RTCStatsRequestImpl class produce an implementation of it that's returned
      to WebCore.
      
      Tested by extension of the RTCPeerConnection-stats.html test.
      
      * Modules/mediastream/RTCStatsElement.cpp:
      (WebCore::RTCStatsElement::addStatistic):
      (WebCore):
      * Modules/mediastream/RTCStatsElement.h:
      (RTCStatsElement):
      * Modules/mediastream/RTCStatsReport.cpp:
      (WebCore):
      (WebCore::RTCStatsReport::addElement):
      (WebCore::RTCStatsReport::addStatistic):
      * Modules/mediastream/RTCStatsReport.h:
      (RTCStatsReport):
      * Modules/mediastream/RTCStatsRequestImpl.cpp:
      (WebCore::RTCStatsRequestImpl::createResponse):
      (WebCore):
      (WebCore::RTCStatsRequestImpl::requestSucceeded):
      * Modules/mediastream/RTCStatsRequestImpl.h:
      (RTCStatsRequestImpl):
      * Modules/mediastream/RTCStatsResponse.cpp:
      (WebCore::RTCStatsResponse::create):
      (WebCore::RTCStatsResponse::addReport):
      (WebCore):
      (WebCore::RTCStatsResponse::addElement):
      (WebCore::RTCStatsResponse::addStatistic):
      * Modules/mediastream/RTCStatsResponse.h:
      (RTCStatsResponse):
      * WebCore.gypi:
      * platform/chromium/support/WebRTCStatsRequest.cpp:
      (WebKit::WebRTCStatsRequest::response):
      (WebKit):
      (WebKit::WebRTCStatsRequest::requestSucceeded):
      * platform/chromium/support/WebRTCStatsResponse.cpp: Added.
      (WebKit):
      (WebKit::WebRTCStatsResponse::WebRTCStatsResponse):
      (WebKit::WebRTCStatsResponse::assign):
      (WebKit::WebRTCStatsResponse::reset):
      (WebKit::WebRTCStatsResponse::operator WTF::PassRefPtr<WebCore::RTCStatsResponseBase>):
      (WebKit::WebRTCStatsResponse::addReport):
      (WebKit::WebRTCStatsResponse::addElement):
      (WebKit::WebRTCStatsResponse::addStatistic):
      * platform/mediastream/RTCStatsRequest.h:
      (WebCore):
      (RTCStatsRequest):
      * platform/mediastream/RTCStatsResponseBase.h: Added.
      (WebCore):
      (RTCStatsResponseBase):
      (WebCore::RTCStatsResponseBase::~RTCStatsResponseBase):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (RTCStatsRequestSucceededTask::RTCStatsRequestSucceededTask):
      (MockWebRTCPeerConnectionHandler::MockWebRTCPeerConnectionHandler):
      (MockWebRTCPeerConnectionHandler::addStream):
      (MockWebRTCPeerConnectionHandler::removeStream):
      (MockWebRTCPeerConnectionHandler::getStats):
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
      (MockWebRTCPeerConnectionHandler):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt:
      * fast/mediastream/RTCPeerConnection-stats.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      301e929c
  24. 28 Sep, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Implement the GetStats interface on PeerConnection · a26152d0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95193
      
      Source/Platform:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-28
      Reviewed by Adam Barth.
      
      * chromium/public/WebRTCPeerConnectionHandler.h:
      (WebKit):
      (WebRTCPeerConnectionHandler):
      (WebKit::WebRTCPeerConnectionHandler::getStats):
      * chromium/public/WebRTCStatsRequest.h: added.
      (WebCore):
      (WebKit):
      (WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::~WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::operator=):
      
      Source/WebCore:
      
      Specification:
      http://dev.w3.org/2011/webrtc/editor/webrtc-20120920.html
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-28
      Reviewed by Adam Barth.
      
      The implementation consists of a pure virtual platform object
      (RTCStatsRequest) that is implemented in WebCore, and stores
      its information in a straightforward data hierarchy.
      This patch adds the call path and the storage structures.
      It does not add filling in data.
      
      Test: fast/mediastream/RTCPeerConnection-stats.html
      
      * CMakeLists.txt:
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::getStats):
      (WebCore):
      * Modules/mediastream/RTCPeerConnection.h:
      (WebCore):
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCStatsCallback.h: Added.
      (WebCore):
      (RTCStatsCallback):
      (WebCore::RTCStatsCallback::~RTCStatsCallback):
      * Modules/mediastream/RTCStatsCallback.idl: Added.
      * Modules/mediastream/RTCStatsElement.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsElement::create):
      (WebCore::RTCStatsElement::RTCStatsElement):
      (WebCore::RTCStatsElement::stat):
      * Modules/mediastream/RTCStatsElement.h: Added.
      (WebCore):
      (RTCStatsElement):
      * Modules/mediastream/RTCStatsElement.idl: Added.
      * Modules/mediastream/RTCStatsReport.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsReport::create):
      (WebCore::RTCStatsReport::RTCStatsReport):
      * Modules/mediastream/RTCStatsReport.h: Added.
      (WebCore):
      (RTCStatsReport):
      (WebCore::RTCStatsReport::local):
      (WebCore::RTCStatsReport::remote):
      * Modules/mediastream/RTCStatsReport.idl: Added.
      * Modules/mediastream/RTCStatsRequestImpl.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsRequestImpl::create):
      (WebCore::RTCStatsRequestImpl::RTCStatsRequestImpl):
      (WebCore::RTCStatsRequestImpl::~RTCStatsRequestImpl):
      (WebCore::RTCStatsRequestImpl::requestSucceeded):
      (WebCore::RTCStatsRequestImpl::stop):
      (WebCore::RTCStatsRequestImpl::clear):
      * Modules/mediastream/RTCStatsRequestImpl.h: Added.
      (WebCore):
      (RTCStatsRequestImpl):
      * Modules/mediastream/RTCStatsResponse.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsResponse::create):
      (WebCore::RTCStatsResponse::RTCStatsResponse):
      * Modules/mediastream/RTCStatsResponse.h: Added.
      (WebCore):
      (RTCStatsResponse):
      (WebCore::RTCStatsResponse::result):
      * Modules/mediastream/RTCStatsResponse.idl: Added.
      * WebCore.gypi:
      * platform/chromium/support/WebRTCStatsRequest.cpp: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
      (WebKit):
      (WebKit::WebRTCStatsRequest::WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::assign):
      (WebKit::WebRTCStatsRequest::reset):
      (WebKit::WebRTCStatsRequest::requestSucceeded):
      * platform/mediastream/RTCPeerConnectionHandler.h:
      (WebCore):
      (RTCPeerConnectionHandler):
      * platform/mediastream/RTCStatsRequest.h: Copied from Source/WebCore/platform/mediastream/RTCPeerConnectionHandler.h.
      (WebCore):
      (RTCStatsRequest):
      (WebCore::RTCStatsRequest::~RTCStatsRequest):
      (WebCore::RTCStatsRequest::RTCStatsRequest):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::getStats):
      (WebCore):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Tools:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-28
      Reviewed by Adam Barth.
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (RTCStatsRequestSucceededTask):
      (RTCStatsRequestSucceededTask::RTCStatsRequestSucceededTask):
      (MockWebRTCPeerConnectionHandler::getStats):
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
      (MockWebRTCPeerConnectionHandler):
      
      LayoutTests:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-28
      Reviewed by Adam Barth.
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt: Added.
      * fast/mediastream/RTCPeerConnection-stats.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a26152d0
  25. 27 Sep, 2012 2 commits
    • tommyw@google.com's avatar
      MediaStream API: Enhance MediaConstraints to make it easier to get the constraint data · 92f9e85d
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97559
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      Refactored to mimic the new MediaConstraints api.
      
      * chromium/public/WebMediaConstraints.h:
      (WebCore):
      (WebKit::WebMediaConstraint::WebMediaConstraint):
      (WebMediaConstraint):
      (WebKit):
      (WebMediaConstraints):
      
      Source/WebCore:
      
      Instead of just returning the names, return a pair of name and value.
      
      Existing tests cover this patch.
      
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      (WebCore::MediaConstraintsImpl::initialize):
      (WebCore::MediaConstraintsImpl::getMandatoryConstraints):
      (WebCore::MediaConstraintsImpl::getOptionalConstraints):
      (WebCore::MediaConstraintsImpl::getOptionalConstraintValue):
      * Modules/mediastream/MediaConstraintsImpl.h:
      (MediaConstraintsImpl):
      * platform/chromium/support/WebMediaConstraints.cpp:
      (WebKit::WebMediaConstraint::WebMediaConstraint):
      (WebKit):
      (WebKit::WebMediaConstraints::getMandatoryConstraints):
      (WebKit::WebMediaConstraints::getOptionalConstraints):
      * platform/mediastream/MediaConstraints.h:
      (WebCore::MediaConstraint::MediaConstraint):
      (MediaConstraint):
      (WebCore):
      (MediaConstraints):
      
      Tools:
      
      Refactoring for the new WebMediaConstraints api.
      
      * DumpRenderTree/chromium/MockConstraints.cpp:
      (MockConstraints::verify):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92f9e85d
    • tommyw@google.com's avatar
      MediaStream API: Update getUserMedia to match the latest specification · c12a3b57
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97540
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      * chromium/public/WebMediaConstraints.h:
      (WebMediaConstraints):
      
      Source/WebCore:
      
      http://dev.w3.org/2011/webrtc/editor/getusermedia.html#navigatorusermedia
      Navigator.getUserMedia is changed so that the audio and video members can either
      be a bool or a constraints object.
      
      Existing tests expanded to cover the new change.
      
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      (WebCore::MediaConstraintsImpl::create):
      (WebCore):
      * Modules/mediastream/MediaConstraintsImpl.h:
      (MediaConstraintsImpl):
      * Modules/mediastream/NavigatorMediaStream.cpp:
      (WebCore::NavigatorMediaStream::webkitGetUserMedia):
      * Modules/mediastream/UserMediaRequest.cpp:
      (WebCore::parseOptions):
      (WebCore):
      (WebCore::UserMediaRequest::create):
      (WebCore::UserMediaRequest::UserMediaRequest):
      (WebCore::UserMediaRequest::audio):
      (WebCore::UserMediaRequest::video):
      (WebCore::UserMediaRequest::audioConstraints):
      (WebCore::UserMediaRequest::videoConstraints):
      * Modules/mediastream/UserMediaRequest.h:
      (WebCore):
      (UserMediaRequest):
      * platform/chromium/support/WebMediaConstraints.cpp:
      (WebKit::WebMediaConstraints::WebMediaConstraints):
      (WebKit):
      
      Source/WebKit/chromium:
      
      http://dev.w3.org/2011/webrtc/editor/getusermedia.html#navigatorusermedia
      Navigator.getUserMedia is changed so that the audio and video members can either
      be a bool or a constraints object.
      
      * public/WebUserMediaRequest.h:
      (WebKit):
      (WebUserMediaRequest):
      * src/WebUserMediaRequest.cpp:
      (WebKit::WebUserMediaRequest::audioConstraints):
      (WebKit):
      (WebKit::WebUserMediaRequest::videoConstraints):
      
      Tools:
      
      http://dev.w3.org/2011/webrtc/editor/getusermedia.html#navigatorusermedia
      Navigator.getUserMedia is changed so that the audio and video members can either
      be a bool or a constraints object.
      
      * public/WebUserMediaRequest.h:
      (WebKit):
      (WebUserMediaRequest):
      * src/WebUserMediaRequest.cpp:
      (WebKit::WebUserMediaRequest::audioConstraints):
      (WebKit):
      (WebKit::WebUserMediaRequest::videoConstraints):
      
      LayoutTests:
      
      Expanding tests to cover the new getUserMedia behaviour.
      
      * fast/mediastream/getusermedia-expected.txt:
      * fast/mediastream/getusermedia.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c12a3b57
  26. 26 Sep, 2012 2 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r129654. · 88c7df9e
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/129654
      https://bugs.webkit.org/show_bug.cgi?id=97702
      
      breaks chromium windows build (Requested by schenney on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-26
      
      Source/Platform:
      
      * chromium/public/WebRTCPeerConnectionHandler.h:
      (WebKit):
      (WebRTCPeerConnectionHandler):
      * chromium/public/WebRTCStatsRequest.h: Removed.
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Modules/mediastream/RTCPeerConnection.cpp:
      * Modules/mediastream/RTCPeerConnection.h:
      (WebCore):
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCStatsCallback.h: Removed.
      * Modules/mediastream/RTCStatsCallback.idl: Removed.
      * Modules/mediastream/RTCStatsElement.cpp: Removed.
      * Modules/mediastream/RTCStatsElement.h: Removed.
      * Modules/mediastream/RTCStatsElement.idl: Removed.
      * Modules/mediastream/RTCStatsReport.cpp: Removed.
      * Modules/mediastream/RTCStatsReport.h: Removed.
      * Modules/mediastream/RTCStatsReport.idl: Removed.
      * Modules/mediastream/RTCStatsRequestImpl.cpp: Removed.
      * Modules/mediastream/RTCStatsRequestImpl.h: Removed.
      * Modules/mediastream/RTCStatsResponse.cpp: Removed.
      * Modules/mediastream/RTCStatsResponse.h: Removed.
      * Modules/mediastream/RTCStatsResponse.idl: Removed.
      * WebCore.gypi:
      * platform/chromium/support/WebRTCStatsRequest.cpp: Removed.
      * platform/mediastream/RTCPeerConnectionHandler.cpp:
      (RTCPeerConnectionHandlerDummy):
      * platform/mediastream/RTCPeerConnectionHandler.h:
      (WebCore):
      (RTCPeerConnectionHandler):
      * platform/mediastream/RTCStatsRequest.h: Removed.
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
      (MockWebRTCPeerConnectionHandler):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt: Removed.
      * fast/mediastream/RTCPeerConnection-stats.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88c7df9e
    • commit-queue@webkit.org's avatar
      Implement the GetStats interface on PeerConnection · 82e28ae8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95193
      
      Source/Platform:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-26
      Reviewed by Adam Barth.
      
      * chromium/public/WebRTCPeerConnectionHandler.h:
      (WebKit):
      (WebRTCPeerConnectionHandler):
      (WebKit::WebRTCPeerConnectionHandler::getStats):
      * chromium/public/WebRTCStatsRequest.h: added.
      (WebCore):
      (WebKit):
      (WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::~WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::operator=):
      
      Source/WebCore:
      
      Specification:
      http://dev.w3.org/2011/webrtc/editor/webrtc-20120920.html
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-26
      Reviewed by Adam Barth.
      
      The implementation consists of a pure virtual platform object
      (RTCStatsRequest) that is implemented in WebCore, and stores
      its information in a straightforward data hierarchy.
      This patch adds the call path and the storage structures.
      It does not add filling in data.
      
      Test: fast/mediastream/RTCPeerConnection-stats.html
      
      * CMakeLists.txt:
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::getStats):
      (WebCore):
      * Modules/mediastream/RTCPeerConnection.h:
      (WebCore):
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCStatsCallback.h: Added.
      (WebCore):
      (RTCStatsCallback):
      (WebCore::RTCStatsCallback::~RTCStatsCallback):
      * Modules/mediastream/RTCStatsCallback.idl: Added.
      * Modules/mediastream/RTCStatsElement.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsElement::create):
      (WebCore::RTCStatsElement::RTCStatsElement):
      (WebCore::RTCStatsElement::stat):
      * Modules/mediastream/RTCStatsElement.h: Added.
      (WebCore):
      (RTCStatsElement):
      * Modules/mediastream/RTCStatsElement.idl: Added.
      * Modules/mediastream/RTCStatsReport.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsReport::create):
      (WebCore::RTCStatsReport::RTCStatsReport):
      * Modules/mediastream/RTCStatsReport.h: Added.
      (WebCore):
      (RTCStatsReport):
      (WebCore::RTCStatsReport::local):
      (WebCore::RTCStatsReport::remote):
      * Modules/mediastream/RTCStatsReport.idl: Added.
      * Modules/mediastream/RTCStatsRequestImpl.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsRequestImpl::create):
      (WebCore::RTCStatsRequestImpl::RTCStatsRequestImpl):
      (WebCore::RTCStatsRequestImpl::~RTCStatsRequestImpl):
      (WebCore::RTCStatsRequestImpl::requestSucceeded):
      (WebCore::RTCStatsRequestImpl::stop):
      (WebCore::RTCStatsRequestImpl::clear):
      * Modules/mediastream/RTCStatsRequestImpl.h: Added.
      (WebCore):
      (RTCStatsRequestImpl):
      * Modules/mediastream/RTCStatsResponse.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsResponse::create):
      (WebCore::RTCStatsResponse::RTCStatsResponse):
      * Modules/mediastream/RTCStatsResponse.h: Added.
      (WebCore):
      (RTCStatsResponse):
      (WebCore::RTCStatsResponse::result):
      * Modules/mediastream/RTCStatsResponse.idl: Added.
      * WebCore.gypi:
      * platform/chromium/support/WebRTCStatsRequest.cpp: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
      (WebKit):
      (WebKit::WebRTCStatsRequest::WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::assign):
      (WebKit::WebRTCStatsRequest::reset):
      (WebKit::WebRTCStatsRequest::requestSucceeded):
      * platform/mediastream/RTCPeerConnectionHandler.h:
      (WebCore):
      (RTCPeerConnectionHandler):
      * platform/mediastream/RTCStatsRequest.h: Copied from Source/WebCore/platform/mediastream/RTCPeerConnectionHandler.h.
      (WebCore):
      (RTCStatsRequest):
      (WebCore::RTCStatsRequest::~RTCStatsRequest):
      (WebCore::RTCStatsRequest::RTCStatsRequest):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::getStats):
      (WebCore):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Tools:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-26
      Reviewed by Adam Barth.
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (RTCStatsRequestSucceededTask):
      (RTCStatsRequestSucceededTask::RTCStatsRequestSucceededTask):
      (MockWebRTCPeerConnectionHandler::getStats):
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
      (MockWebRTCPeerConnectionHandler):
      
      LayoutTests:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-26
      Reviewed by Adam Barth.
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt: Added.
      * fast/mediastream/RTCPeerConnection-stats.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82e28ae8
  27. 25 Sep, 2012 2 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r129517. · bcf24f98
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/129517
      https://bugs.webkit.org/show_bug.cgi?id=97582
      
      Link errors in chromium (Requested by alecf on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-25
      
      Source/Platform:
      
      * chromium/public/WebMediaConstraints.h:
      (WebMediaConstraints):
      
      Source/WebCore:
      
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      * Modules/mediastream/MediaConstraintsImpl.h:
      * Modules/mediastream/NavigatorMediaStream.cpp:
      (WebCore::NavigatorMediaStream::webkitGetUserMedia):
      * Modules/mediastream/UserMediaRequest.cpp:
      (WebCore::UserMediaRequest::create):
      (WebCore::UserMediaRequest::UserMediaRequest):
      * Modules/mediastream/UserMediaRequest.h:
      (WebCore):
      (UserMediaRequest):
      (WebCore::UserMediaRequest::audio):
      (WebCore::UserMediaRequest::video):
      * platform/chromium/support/WebMediaConstraints.cpp:
      
      Source/WebKit/chromium:
      
      * public/WebUserMediaRequest.h:
      (WebUserMediaRequest):
      * src/WebUserMediaRequest.cpp:
      
      Tools:
      
      * DumpRenderTree/DumpRenderTree.gypi:
      * DumpRenderTree/chromium/MockConstraints.cpp: Removed.
      * DumpRenderTree/chromium/MockConstraints.h: Removed.
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (RTCSessionDescriptionRequestSuccededTask::RTCSessionDescriptionRequestSuccededTask):
      (RTCSessionDescriptionRequestFailedTask::RTCSessionDescriptionRequestFailedTask):
      (RTCVoidRequestTask::RTCVoidRequestTask):
      (isSupportedConstraint):
      (isValidConstraint):
      (MockWebRTCPeerConnectionHandler::initialize):
      * DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
      (WebKit::WebUserMediaClientMock::requestUserMedia):
      * DumpRenderTree/chromium/WebUserMediaClientMock.h:
      (WebKit):
      (WebUserMediaClientMock):
      * DumpRenderTree/chromium/WebViewHost.h:
      (WebKit):
      (WebViewHost):
      
      LayoutTests:
      
      * fast/mediastream/getusermedia-expected.txt:
      * fast/mediastream/getusermedia.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcf24f98
    • tommyw@google.com's avatar
      MediaStream API: Update getUserMedia to match the latest specification · 3cebec07
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97540
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      * chromium/public/WebMediaConstraints.h:
      (WebMediaConstraints):
      
      Source/WebCore:
      
      http://dev.w3.org/2011/webrtc/editor/getusermedia.html#navigatorusermedia
      Navigator.getUserMedia is changed so that the audio and video members can either
      be a bool or a constraints object.
      
      Existing tests expanded to cover the new change.
      
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      (WebCore::MediaConstraintsImpl::create):
      (WebCore):
      * Modules/mediastream/MediaConstraintsImpl.h:
      (MediaConstraintsImpl):
      * Modules/mediastream/NavigatorMediaStream.cpp:
      (WebCore::NavigatorMediaStream::webkitGetUserMedia):
      * Modules/mediastream/UserMediaRequest.cpp:
      (WebCore::parseOptions):
      (WebCore):
      (WebCore::UserMediaRequest::create):
      (WebCore::UserMediaRequest::UserMediaRequest):
      (WebCore::UserMediaRequest::audio):
      (WebCore::UserMediaRequest::video):
      (WebCore::UserMediaRequest::audioConstraints):
      (WebCore::UserMediaRequest::videoConstraints):
      * Modules/mediastream/UserMediaRequest.h:
      (WebCore):
      (UserMediaRequest):
      * platform/chromium/support/WebMediaConstraints.cpp:
      (WebKit::WebMediaConstraints::WebMediaConstraints):
      (WebKit):
      
      Source/WebKit/chromium:
      
      http://dev.w3.org/2011/webrtc/editor/getusermedia.html#navigatorusermedia
      Navigator.getUserMedia is changed so that the audio and video members can either
      be a bool or a constraints object.
      
      * public/WebUserMediaRequest.h:
      (WebKit):
      (WebUserMediaRequest):
      * src/WebUserMediaRequest.cpp:
      (WebKit::WebUserMediaRequest::audioConstraints):
      (WebKit):
      (WebKit::WebUserMediaRequest::videoConstraints):
      
      Tools:
      
      Adding mock support for the enhanced getUserMedia call.
      
      * DumpRenderTree/DumpRenderTree.gypi:
      * DumpRenderTree/chromium/MockConstraints.cpp: Copied from Source/WebCore/platform/chromium/support/WebMediaConstraints.cpp.
      (MockConstraints):
      (MockConstraints::isSupported):
      (MockConstraints::isValid):
      (MockConstraints::verify):
      * DumpRenderTree/chromium/MockConstraints.h: Copied from Tools/DumpRenderTree/chromium/WebUserMediaClientMock.h.
      (WebKit):
      (MockConstraints):
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (RTCSessionDescriptionRequestSuccededTask::RTCSessionDescriptionRequestSuccededTask):
      (RTCSessionDescriptionRequestFailedTask::RTCSessionDescriptionRequestFailedTask):
      (RTCVoidRequestTask::RTCVoidRequestTask):
      (MockWebRTCPeerConnectionHandler::initialize):
      * DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
      (UserMediaRequestTask):
      (UserMediaRequestTask::UserMediaRequestTask):
      (WebUserMediaClientMock::requestUserMedia):
      * DumpRenderTree/chromium/WebUserMediaClientMock.h:
      (WebUserMediaClientMock):
      (WebUserMediaClientMock::taskList):
      * DumpRenderTree/chromium/WebViewHost.h:
      (WebKit):
      (WebViewHost):
      
      LayoutTests:
      
      Expanding tests to cover the new getUserMedia behaviour.
      
      * fast/mediastream/getusermedia-expected.txt:
      * fast/mediastream/getusermedia.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3cebec07