Skip to content

Add document fully active checks#187

Open
marcoscaceres wants to merge 9 commits intomainfrom
fully_active
Open

Add document fully active checks#187
marcoscaceres wants to merge 9 commits intomainfrom
fully_active

Conversation

@marcoscaceres
Copy link
Copy Markdown
Member

@marcoscaceres marcoscaceres commented Jul 4, 2024

Closes #181

The following tasks have been completed:

  • Modified Web platform tests (link to pull request)

Implementation commitment:


Preview | Diff

@marcoscaceres marcoscaceres requested a review from reillyeon July 4, 2024 00:23
1. If |state| is not "{{PermissionState/granted}}", return.
1. [=Queue a global task=] on the [=device motion and orientation task source=] given |window| to run the following steps:
1. If |document| is not [=document/fully active=], return.
1. If |document|'s [=Document/visibility state=] is not "`visible`", return.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the right place for this check, but we should remove the duplicate checks from "deviceorientation firing steps" below.

Co-authored-by: Reilly Grant <reillyeon@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fully active checks

2 participants