New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOMContentLoaded does not fire in LiveSample #10766
Comments
The same code sample can also be seen in https://pr31723.content.dev.mdn.mozit.cloud/en-US/docs/Web/API/Document/DOMContentLoaded_event, and https://developer.mozilla.org/en-US/docs/Web/API/Window/load_event. While mdn/content#31288 could be fixed easily by not waiting for that event anymore, it seems indeed problematic that the feature as a whole can't handle these cases properly. |
Thanks a lot to both of you for reporting and investigating 🙏🏻 I've moved this over to Yari which I think is the right place for it! |
This comment was marked as outdated.
This comment was marked as outdated.
@caugner the initial report links to a section that still reproduces the original issue. Your playground isn't listening for the event in the same way. This issue has not been fixed yet. |
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Document/readystatechange_event
What specific section or headline is this issue about?
The play function
What information was incorrect, unhelpful, or incomplete?
https://developer.mozilla.org/en-US/docs/web/api/document/readystatechange_event#result says "load" only.
What did you expect to see?
The result says:
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
I think this issue should be addressed in the yari repository. Sorry if this has already been reported.
MDN metadata
Page report details
en-us/web/api/document/readystatechange_event
The text was updated successfully, but these errors were encountered: