Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove browsing context check from WakeLock.request() (#363)
Since whatwg/html#6315, the HTML spec suggests other specifications use "navigable" and associated concepts (along with Document) rather than "browsing context" in most cases. In this specific case, however, we can simply remove the step that checks if `document`'s browsing context is null -- there is no case in which a document is fully active _and_ has a null browsing context, as confirmed by whatwg/html#9509. Fixes #362.
- Loading branch information