-
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
Remove permission check #366
base: gh-pages
Are you sure you want to change the base?
Conversation
71a6c31
to
4023312
Compare
@@ -327,81 +269,43 @@ <h3> | |||
|document|, return [=a promise rejected with=] a | |||
{{"NotAllowedError"}} {{DOMException}}. | |||
</li> | |||
<li data-tests="wakelock-active-document.https.window.html">If |
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.
Moved this to #367 ... should be done first
index.html
Outdated
<li>If |document|'s [=Document/visibility state=] is "hidden", then | ||
return [=a promise rejected with=] with a {{"NotAllowedError"}} | ||
{{DOMException}}. | ||
</li> |
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.
Remove this. It looks like it got duplicated during a merge.
<ol> | ||
<li>Set |lock|'s {{WakeLockSentinel/[[Released]]}} to `true`. | ||
</li> | ||
<li>[=Fire an event=] named "`release`" at |lock|. |
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.
An event is already fired at the end of these steps. I think moving this into a task on the screen wake lock task source is the right move but it's probably best to just wrap all the steps in that since they're manipulating properties of the document.
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.
makes sense, yeah.
Co-authored-by: Reilly Grant <[email protected]>
Just picking this up again...
Closes #324
The following tasks have been completed:
Implementation commitment:
Preview | Diff