-
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