Closed Bug 1425176 Opened 6 years ago Closed 6 years ago

getUserMedia crashes with fake devices and impossible constraints

Categories

(Core :: WebRTC: Audio/Video, defect)

57 Branch
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1422389

People

(Reporter: aiham, Unassigned)

Details

(Keywords: crash)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20171211020921

Steps to reproduce:

With media.navigator.streams.fake enabled run:
navigator.mediaDevices.getUserMedia({ video: { width: { exact: 123123123 } } });

Reproduced with FF57 but not FF58/59


Actual results:

Tab crashes


Expected results:

getUserMedia promise rejected with OverconstrainedError
Severity: normal → critical
Component: Untriaged → WebRTC: Audio/Video
Keywords: crash
Product: Firefox → Core
Group: core-security
Thanks for filing! This was fixed in 58.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Group: core-security
You need to log in before you can comment on or make changes to this bug.