Open Bug 621727 Opened 15 years ago Updated 3 years ago

fire DOMContentLoaded on media documents

Categories

(Core :: DOM: Events, enhancement, P5)

x86_64
Linux
enhancement

Tracking

()

People

(Reporter: arno, Unassigned)

References

Details

Hi, I'm trying to have a grease monkey like script executed on each document. Unfortunately, it fails in media dcuments (plain image for example) because DOMContentLoaded is not fired on media documents. So, it would be useful to fire that event on media documents load, for example by calling mDocument->EndLoad() in nsMediaDocumentStreamListener::OnStopRequest
DOMContentLoaded indicates the parser is done... but there is no parser in this case at all, right?
I would also find this feature useful.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.