Bug 1668783 [wpt PR 25946] - wake lock: Make |type| optional in WakeLock.request...
commit645684d183a07b6be06aca6d5fb4dd525ccaedc9
authorRaphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Fri, 16 Oct 2020 09:55:32 +0000 (16 09:55 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 20 Oct 2020 13:24:33 +0000 (20 13:24 +0000)
treedc4910db5fd06da9a26b1357b23ed7872a9ff6ab
parentec120ea38c8451ceac04cd9405db7b289ae362a5
Bug 1668783 [wpt PR 25946] - wake lock: Make |type| optional in WakeLock.request()., a=testonly

Automatic update from web-platform-tests
wake lock: Make |type| optional in WakeLock.request().

Implement https://github.com/w3c/screen-wake-lock/pull/291, which makes
the |type| parameter optional and default to "screen" in
WakeLock.request().

Intent to Implement and Ship:
https://groups.google.com/a/chromium.org/g/blink-dev/c/HxWEyZz2nmI

ChromeStatus entry:
https://chromestatus.com/feature/5725750881681408

Fixed: 1133696
Change-Id: Id3eb6281bfedeaabfa3a7e22d530d0133b50411f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2445017
Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
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@{#815113}

--

wpt-commits: 2abaea3746772f739a45db7ae860c2e4e59d6df2
wpt-pr: 25946
testing/web-platform/tests/interfaces/screen-wake-lock.idl
testing/web-platform/tests/screen-wake-lock/wakelock-type.https.any.js [deleted file]
testing/web-platform/tests/screen-wake-lock/wakelock-type.https.window.js [new file with mode: 0644]