-
Notifications
You must be signed in to change notification settings - Fork 35
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 doc is fully active check #367
Conversation
295d9a6
to
f379be0
Compare
I wonder if the fully active should be checked again in the task queued in step 7.3. of https://www.w3.org/TR/screen-wake-lock/#the-request-method, as the active state might change, similar to visibility. |
Yeah, good point. |
f379be0
to
748e16a
Compare
Integrated @EdgarChen's feedback... now also check if fully active at the turn of the event loop. |
Added an additional test for the update web-platform-tests/wpt#45599 |
Never mind... found the answer. |
@reillyeon, this should be good to go, I think. @rakuco, are you still editing this spec? Should I be pinging you for review? (didn't get any response from previous pings, so was unsure) |
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.
As discussed in one of the inline comments, this check was already present in the spec, so I think the PR should be contain more information and indicate that this is moving the existing check and also checking if the document's fully active in the parallel steps.
Speaking of moving the existing check, you mentioned earlier that "the fully active check should be done first". Could you elaborate a bit? I remember asking ages ago if there was a recommended order for the permissions policy + permissions API checks in general, but thought it didn't matter if the fully active ones came before or after those.
Sorry for the silence, it wasn't intentional! I haven't had much time to work on this spec lately; now that the DAS/WebApps situation seems to have progressed I think I can finally become just an interested contributor :-) |
Sure. Without a document (or the document being |
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, and thanks for the clarification!
It'd be good to still do this though -- the title does not fully cover what the change is doing. |
Made sure the commit message better reflects the change. |
Closes - no issue filed...
The following tasks have been completed:
Implementation commitment:
Preview | Diff