Open
Bug 1886437
Opened 7 months ago
Updated 5 months ago
loadedmetadata is fired even before the script has a chance to run to register event handlers
Categories
(Web Compatibility :: Knowledge Base, defect)
Web Compatibility
Knowledge Base
Tracking
(Not tracked)
NEW
People
(Reporter: jgraham, Unassigned)
References
(Blocks 1 open bug)
Details
The handlers registered by video.addEventListener('loadedmetadata'
added after the video element is already in the DOM sometimes don't fire. This is a race condition, but it seems like other browser engines may be less susceptible to the race condition than Gecko, so it can cause site breakage.
Reporter | ||
Updated•7 months ago
|
Whiteboard: [webcompat:needs-knowledgebase]
Updated•5 months ago
|
Keywords: webcompat:needs-sitepatch
You need to log in
before you can comment on or make changes to this bug.
Description
•