Closed Bug 898956 Opened 11 years ago Closed 11 years ago

Media Recording - Calling start with no parameters on a Media Recorder object in a mochitest throws a SecurityError

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jsmith, Unassigned)

Details

Attachments

(1 file)

See https://tbpl.mozilla.org/?rev=e51a3eeb5a7d&tree=Try.

Calling mediaRecorder.start() in a mochitest right now apparently throws an uncaught exception:

20:36:08 INFO - 151572 ERROR TEST-UNEXPECTED-FAIL | /tests/content/media/test/test_mediarecorder_recordnotimeslice.html | uncaught exception - SecurityError: The operation is insecure. at http://mochi.test:8888/tests/content/media/test/test_mediarecorder_recordnotimeslice.html:86 

This is blocking landing of a mochitest for bug 896303.
Blocks: 896303
I'm going to dupe this instead. Looks like this is the same problem as bug 896371.
No longer blocks: MediaRecording, 896303
Status: NEW → RESOLVED
Closed: 11 years ago
No longer depends on: 896371
Resolution: --- → DUPLICATE
Turns this out this isn't a dupe - it's invalid. We need to wait until we confirm media is playing before we can record it.
Resolution: DUPLICATE → INVALID
Component: Video/Audio → Video/Audio: Recording
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: