Closed
      
        Bug 1675891
      
      
        Opened 4 years ago
          Closed 4 years ago
      
        
    
  
getUserMedia({}) should return an already-rejected promise  
    Categories
(Core :: WebRTC: Audio/Video, defect, P1)
        Core
          
        
        
      
        
    
        WebRTC: Audio/Video
          
        
        
      
        
    Tracking
()
        RESOLVED
        FIXED
        
    
  
        
            85 Branch
        
    
  
| Tracking | Status | |
|---|---|---|
| firefox85 | --- | fixed | 
People
(Reporter: karlt, Assigned: karlt)
References
Details
Attachments
(6 files)
| 47 bytes,
          text/x-phabricator-request         | Details | Review | |
| 47 bytes,
          text/x-phabricator-request         | Details | Review | |
| 47 bytes,
          text/x-phabricator-request         | Details | Review | |
| 47 bytes,
          text/x-phabricator-request         | Details | Review | |
| 47 bytes,
          text/x-phabricator-request         | Details | Review | |
| 47 bytes,
          text/x-phabricator-request         | Details | Review | 
Currently, the promise is rejected asynchronously.
| Assignee | ||
| Comment 1•4 years ago
           | ||
| Assignee | ||
| Comment 2•4 years ago
           | ||
| Assignee | ||
| Comment 3•4 years ago
           | ||
Depends on D96515
| Assignee | ||
| Comment 4•4 years ago
           | ||
Depends on D96516
| Assignee | ||
| Comment 5•4 years ago
           | ||
Depends on D96517
| Assignee | ||
| Comment 6•4 years ago
           | ||
Depends on D96518
| Updated•4 years ago
           | 
        Attachment #9186825 -
        Attachment description: Bug 1675891 implement already-rejected Promise return values for getUserMedia() r?jib → Bug 1675891 move input validation to implement already-rejected Promise return values for getUserMedia() r?jib
| Updated•4 years ago
           | 
Severity: -- → S3
Priority: -- → P1
Pushed by ktomlinson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/371f0e3280fc
check for already-rejected promise from getUserMedia() r=jib
https://hg.mozilla.org/integration/autoland/rev/01e3b2dfdc87
check for already-rejected promises from getDisplayMedia() r=jib
https://hg.mozilla.org/integration/autoland/rev/aa01b1ca946b
Test promises from MediaDevices methods in a discarded browsing context r=jib
https://hg.mozilla.org/integration/autoland/rev/0c94efa2d16c
test for rejected promise from getDisplayMedia() in a discarded browsing context r=jib
https://hg.mozilla.org/integration/autoland/rev/bbd106f84d51
get relevant global for returned promises from wrapper cache r=jib
https://hg.mozilla.org/integration/autoland/rev/726844e276b9
move input validation to implement already-rejected Promise return values for getUserMedia() r=jib
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/26548 for changes under testing/web-platform/tests
|   | ||
| Comment 9•4 years ago
           | ||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/371f0e3280fc
https://hg.mozilla.org/mozilla-central/rev/01e3b2dfdc87
https://hg.mozilla.org/mozilla-central/rev/aa01b1ca946b
https://hg.mozilla.org/mozilla-central/rev/0c94efa2d16c
https://hg.mozilla.org/mozilla-central/rev/bbd106f84d51
https://hg.mozilla.org/mozilla-central/rev/726844e276b9
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
          status-firefox85:
          --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Upstream PR merged by moz-wptsync-bot
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•