Bug
1781442 [wpt PR 34744] - Don't re-lock DisplayLocks during forced unlock, a=testonly
Automatic update from web-platform-tests
Don't re-lock DisplayLocks during forced unlock
When a DisplayLock is unlocked via ForceUnlockIfNeeded, subsequent
updates to the DisplayLock can cause it to become locked again which is
problematic.
This patch prevents the DisplayLock from being locked again until the
next frame.
Fixed:
1338135
Change-Id: I07790658e25ea9fe2f4e8de154e3a58e7e08892b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3751710
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1028405}
--
wpt-commits:
0966be69c8686977b6e0c1efc6f9f020055aa474
wpt-pr: 34744