Skip to content
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

screen-wake-lock: Add tests for WakeLockSentinel's "released" attribute. #25271

Merged

Conversation

rakuco
Copy link
Member

@rakuco rakuco commented Aug 28, 2020

The new attribute was added to the spec in w3c/screen-wake-lock#279.

Copy link
Contributor

@marcoscaceres marcoscaceres left a comment

Choose a reason for hiding this comment

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

Generally the tests look good. I made some suggestions to simplify.

screen-wake-lock/wakelock-released.https.html Outdated Show resolved Hide resolved
screen-wake-lock/wakelock-released.https.html Outdated Show resolved Hide resolved
@rakuco rakuco force-pushed the wake-lock/released-attribute branch from 68a8eb6 to e18b72d Compare September 1, 2020 09:58
@rakuco rakuco merged commit 82db379 into web-platform-tests:master Sep 1, 2020
@rakuco rakuco deleted the wake-lock/released-attribute branch September 1, 2020 10:12
blueboxd pushed a commit to blueboxd/chromium-legacy that referenced this pull request Sep 7, 2020
This new attribute indicates whether a sentinel object has been released or
not. While here, move the dispatching of the "release" event to a separate
method so that we can really change |release|'s value and dispatch the event
in a separate, queued task.

Additional web tests have been sent directly to WPT in
web-platform-tests/wpt#25271.

Spec PR: w3c/screen-wake-lock#279
ChromeStatus entry: https://chromestatus.com/feature/5632527123349504
Intent to Prototype and Ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/1V6Ss1VABko/m/Y3Nl0vHIAQAJ

Fixed: 1122518
Change-Id: Iff39ec3db630fa959e6c3c82b9c5ee8df93b681c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2379740
Commit-Queue: Yoav Weiss <[email protected]>
Reviewed-by: Yoav Weiss <[email protected]>
Reviewed-by: Reilly Grant <[email protected]>
Auto-Submit: Raphael Kubo da Costa <[email protected]>
Cr-Commit-Position: refs/heads/master@{#804729}
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
This new attribute indicates whether a sentinel object has been released or
not. While here, move the dispatching of the "release" event to a separate
method so that we can really change |release|'s value and dispatch the event
in a separate, queued task.

Additional web tests have been sent directly to WPT in
web-platform-tests/wpt#25271.

Spec PR: w3c/screen-wake-lock#279
ChromeStatus entry: https://chromestatus.com/feature/5632527123349504
Intent to Prototype and Ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/1V6Ss1VABko/m/Y3Nl0vHIAQAJ

Fixed: 1122518
Change-Id: Iff39ec3db630fa959e6c3c82b9c5ee8df93b681c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2379740
Commit-Queue: Yoav Weiss <[email protected]>
Reviewed-by: Yoav Weiss <[email protected]>
Reviewed-by: Reilly Grant <[email protected]>
Auto-Submit: Raphael Kubo da Costa <[email protected]>
Cr-Commit-Position: refs/heads/master@{#804729}
GitOrigin-RevId: 9e71d67dff4dbd78991744fb13a6f35bb8e46719
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants