-
Notifications
You must be signed in to change notification settings - Fork 22.4k
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
Add CloseWatcher reference pages #33910
Conversation
Preview URLs (7 pages)(comment last updated: 2024-07-03 11:28:13) |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Anything I can do to help get this across the line? It's shipped in Chrome and I have a webkit implementation so it'll hopefully be merged and released there soon, having these docs will be useful for developers to make use of it. |
@lukewarlow I'll take a look today. |
Co-authored-by: wbamberg <will@bootbonnet.ca>
Co-authored-by: wbamberg <will@bootbonnet.ca>
Thank you Will for reviewing this so thoroughly and making these docs so much better than my lazy initial pull request. I've accepted your suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy it's helpful, Florian :).
I will approve this but won't merge in case @lukewarlow has comments, especially whether can do better with #33910 (comment). I don't think this is a blocker for getting the PR merged though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (the anti abuse mechanism explainer is possibly something that can be expanded upon in a Close Watcher API overview page if one is ever made?).
Description
Adds references pages for
CloseWatcher
.I reckon that my work here is quite minimal. Would be cool to write a bit more about this either in this PR or as a follow-up.
Motivation
This API is new and ships in Chromium based browsers in M126.
Fixes #34184
Additional details
Link to spec: https://html.spec.whatwg.org/multipage/interaction.html#the-closewatcher-interface
Related issues and pull requests
BCD: mdn/browser-compat-data#23207