Page Visibility API vs Document.visibilityState: remove "unloaded" state? #20283
Labels
Content:WebAPI
Web API docs
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API
What specific section or headline is this issue about?
Properties added to the Document interface
What information was incorrect, unhelpful, or incomplete?
The "Page Visibility API" reference lists
"unloaded"
as one of the possible values ofDocument.visibilityState
, but"unloaded"
does not appear in the list on the "Document.visibilityState" reference.What did you expect to see?
I expect
"unloaded"
to be listed on both or on neither.The Page Visibility W3C Recommendation from 2013 lists
but the current HTML Standard only lists
I assume removing
"unloaded"
is the right thing to do, but the deprecated value"prerender"
is still listed on both pages and in the compatibility table so I figured I'd double-check first.Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/api/page_visibility_api
The text was updated successfully, but these errors were encountered: