Re: [mediacapture-record] Make Error Event go after ondataavailable. (#118)

Firefox fires events [in this order](https://searchfox.org/mozilla-central/rev/b579290e6b830d1b3f0a941203b0c0e1e56c42a3/dom/media/MediaRecorder.cpp#959,964,979,989):
- "start"
- "dataavailable" unless there is a security error coming
- "error"
- "stop"

My only concern with swapping "error" and "stop" is that it could seem unclear which session the "error" comes from since there potentially could be another "start" in flight at this point.

-- 
GitHub Notification of comment by Pehrsons
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/pull/118#issuecomment-1433005021 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 16 February 2023 12:20:52 UTC