Bug 60387

Summary: Media Stream API: add exception raising to the getUserMedia method
Product: WebKit Reporter: Leandro Graciá Gil <leandrogracia>
Component: DOMAssignee: Leandro Graciá Gil <leandrogracia>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, tommyw, tonyg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 56586    
Bug Blocks: 56459, 60177    
Attachments:
Description Flags
Patch
none
Patch none

Description Leandro Graciá Gil 2011-05-06 11:12:43 PDT
With the lastest version of the getUserMedia specification (http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dom-navigator-getusermedia) this method should now parse suboptions and raise the NOT_SUPPORTED_ERR exception when no audio or video options are requested. This requires minor changes in the existing code.
Comment 1 Leandro Graciá Gil 2011-05-06 12:18:50 PDT
Created attachment 92622 [details]
Patch
Comment 2 Leandro Graciá Gil 2011-05-09 06:07:39 PDT
Created attachment 92785 [details]
Patch

Rebasing to solve merge problems with test_expectations.txt.
Comment 3 WebKit Commit Bot 2011-05-09 07:58:25 PDT
Comment on attachment 92785 [details]
Patch

Clearing flags on attachment: 92785

Committed r86055: <http://trac.webkit.org/changeset/86055>
Comment 4 WebKit Commit Bot 2011-05-09 07:58:30 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 WebKit Commit Bot 2011-05-09 07:59:18 PDT
The commit-queue encountered the following flaky tests while processing attachment 92785 [details]:

http/tests/misc/favicon-loads-with-icon-loading-override.html bug 58412 (author: alice.liu@apple.com)
The commit-queue is continuing to process your patch.