-
commit-queue@webkit.org authored
Reviewed by Tony Gentilcore. Media Stream API: add exception raising to the getUserMedia method. https://bugs.webkit.org/show_bug.cgi?id=60387 Update the expected results for the argument types after the lastest updates in the getUserMedia specification. The test has been disabled temporarily and will be re-enabled by 60177 since some exceptions are risen after parsing the provided options. * fast/dom/MediaStream/argument-types-expected.txt: * fast/dom/MediaStream/script-tests/argument-types.js: (ObjectThrowingException.prototype.toString): * platform/chromium/test_expectations.txt: 2011-05-09 Leandro Gracia Gil <leandrogracia@chromium.org> Reviewed by Tony Gentilcore. Media Stream API: add exception raising to the getUserMedia method. https://bugs.webkit.org/show_bug.cgi?id=60387 Perform the required changes to support rising exceptions in the navigator.getUserMedia method. This is required by the latest changes in the spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dom-navigator-getusermedia Test: fast/dom/MediaStream/argument-types.html * bindings/js/JSNavigatorCustom.cpp: (WebCore::JSNavigator::webkitGetUserMedia): * bindings/v8/custom/V8NavigatorCustom.cpp: (WebCore::V8Navigator::webkitGetUserMediaCallback): * page/Navigator.cpp: (WebCore::Navigator::webkitGetUserMedia): * page/Navigator.h: * page/Navigator.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e9b1ccd8