Creating MediaRecorder on canvas stream without context causes `NS_ERROR_NOT_INITIALIZED`
Categories
(Core :: Graphics: Canvas2D, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: 32jojo32, Assigned: bradwerth)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Steps to reproduce:
- Open the provided page
- Open console and you see the error
Actual results:
Error is thrown
Expected results:
No error thrown - chrome, safari works OK
Comment 1•1 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: Canvas2D' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Comment 2•1 years ago
|
||
I can reproduce. It's not clear that the spec requires the context to be created. I put together a quick patch to ignore that requirement and there was no error, but I'm not sure if that's a "fix". I'll upload the patch and ask Lee to review.
Assignee | ||
Comment 3•1 years ago
|
||
The spec does not seem to require a current context, so there's no reason
to require it here. If later calls within
HTMLCanvasElement::CaptureStream
need a current context, they'll have
their own failure messages which will hopefully clarify where exactly we
need the context to exist.
Assignee | ||
Updated•1 years ago
|
Comment 5•1 years ago
|
||
Backed out for causing wpt failures in MediaStreamTrack-contentHint.html
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-PASS | /mst-content-hint/MediaStreamTrack-contentHint.html | Accepts valid video contentHints - expected FAIL
Assignee | ||
Comment 6•1 years ago
|
||
Assignee | ||
Updated•1 years ago
|
Comment 8•1 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c07d9e5fbc57
https://hg.mozilla.org/mozilla-central/rev/e06cac16fcf2
Description
•