mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
If we fire the error event synchronously within the on_error callback, then we'll end up destroying the PlaybackManager inside its own callback and crash. Instead, queue a task to execute the error steps. This could happen with or without MSE, but I observed it occurring on YouTube with MSE when we hit a decoding error, since they immediately try another source when an error is reported.
18 lines
533 B
Plaintext
18 lines
533 B
Plaintext
Events:
|
|
document load: readyState=0
|
|
loadstart: readyState=0
|
|
durationchange: readyState=1 duration=0
|
|
loadedmetadata: readyState=1
|
|
error: readyState=1 code=3
|
|
error handler: setting good src: readyState=1
|
|
error handler: src setter returned: readyState=0
|
|
abort: readyState=0
|
|
emptied: readyState=0
|
|
loadstart: readyState=0
|
|
durationchange: readyState=2 duration=12.043
|
|
loadedmetadata: readyState=2
|
|
loadeddata: readyState=2
|
|
canplay: readyState=4
|
|
canplaythrough: readyState=4
|
|
Final: readyState=4 duration=12.043
|