wake lock: Add WakeLockSentinel.released.
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 https://github.com/web-platform-tests/wpt/pull/25271. Spec PR: https://github.com/w3c/screen-wake-lock/pull/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 <yoavweiss@chromium.org> Reviewed-by:Yoav Weiss <yoavweiss@chromium.org> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Cr-Commit-Position: refs/heads/master@{#804729}
Showing
Please register or sign in to comment