ウェイクロック

Wake Lock (Web)

仕様書

wake lock 型

[43] wake lock (type) (列挙型 WakeLockType) >>42 は、 wake lock の種別を表します。

[44] wake lock型 画面 (screen) wake lock (screen) は、 画面切られる (turn off) ことを防ぎます。 画面wake lock は、可視文書のみ取得 (acquire) 可能です。 >>42

[52] かつては他に system が提案されていました。

[46] Screen Wake Lock API は、 policy-controlled feature screen-wake-lock を定義しています。 既定の許可リストは、 ["self"] です。 >>45

[47] 従って同じ起源iframe 内では許可されますが、 異なる起源では許可されません。 iframe 要素allow="screen-wake-lock" 属性で明示的な許可が必要です。

実装

[53] ChromeOrigin Trial 下で対応しています。

歴史

[1] Wake Lock: Use cases ( ( 版)) https://w3c-webmob.github.io/wake-lock-use-cases/

[2] IRC logs: freenode / #whatwg / 20140714 ( ( 版)) http://krijnhoetmer.nl/irc-logs/whatwg/20140714

[3] [whatwg] Proposal: Wake Lock API ( (Marcos Caceres 著, 版)) http://lists.w3.org/Archives/Public/public-whatwg-archive/2014Jul/0101.html

[4] Wake Lock: Use cases ( ( 版)) http://www.w3.org/TR/wake-lock-use-cases/

[5] Plan to progress "wake lock"/"standby API" ( (Frederick Hirsch 著, 版)) http://lists.w3.org/Archives/Public/public-device-apis/2014Aug/0035.html

[6] Wake Lock API ( ( 版)) http://w3c.github.io/wake-lock/

[7] w3c/wake-lock ( ( 版)) https://github.com/w3c/wake-lock

[8] Intent to Implement: Standby API - Google グループ ( ( 版)) https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/SzVuAi2KRhA/OaNDiHOKl8gJ

[9] Work on new charter? (was: Call for potential DAP charter additions - please respond by 7 July 2014) ( (Dominique Hazael-Massieux 著, 版)) http://lists.w3.org/Archives/Public/public-device-apis/2014Aug/0042.html

[10] Update spec to match WHATWG discussion · Issue #39 · w3c/wake-lock ( ( 版)) https://github.com/w3c/wake-lock/issues/39#issuecomment-57393020

[11] Wake Lock API ( ( 版)) http://www.w3.org/TR/2015/WD-wake-lock-20150212/

[12] Wake Lock API ( 版) http://www.w3.org/TR/2015/WD-wake-lock-20150904/

[13] Wake Lock API ( 版) https://www.w3.org/TR/2016/WD-wake-lock-20160129/

[14] Wake Lock API ( ()) https://www.w3.org/TR/2016/WD-wake-lock-20160603/

[15] Wake Lock API ( ()) https://www.w3.org/TR/2016/WD-wake-lock-20160617/

[16] Add note about permissions ( (andrey-logvinov著, )) https://github.com/w3c/wake-lock/commit/440add20cd09d2c7a519ef9f77ccf9af707eda75

[17] Wake Lock API ( ()) https://www.w3.org/TR/2016/WD-wake-lock-20160620/

[18] Wake Lock API () https://www.w3.org/TR/2016/WD-wake-lock-20160714/

[19] Wake Lock API () https://www.w3.org/TR/2016/WD-wake-lock-20160803/

[20] Spec update (andrey-logvinov著, ) https://github.com/w3c/wake-lock/commit/16cd4c749b47b1c3380ec3490a190d63a618de1b

[21] Wake Lock API () https://www.w3.org/TR/2016/WD-wake-lock-20161220/

[22] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20170127/

[23] Clarify wake lock applicability when the device is manually locked (andrey-logvinov著, ) https://github.com/w3c/wake-lock/commit/321dd60efa0b37f2813525c1c35c465060129999

[24] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20170215/

[25] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20170222/

[26] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20170613/

[27] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20170629/

[28] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20170717/

[29] Add feature policy (andrey-logvinov著, ) https://github.com/w3c/wake-lock/commit/268b827890eb11be209e1761ccfc7b6c69fcef30

[30] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20170719/

[31] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20170724/

[32] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20170824/

[33] Annotate interfaces with [Exposed] extended attribute (#110) (dontcallmedom著, ) https://github.com/w3c/wake-lock/commit/830d148121b7d38cd5f934277017ea62da998636

[34] Annotate interfaces with [Exposed] extended attribute by dontcallmedom · Pull Request #110 · w3c/wake-lock () https://github.com/w3c/wake-lock/pull/110

[35] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20170912/

[36] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20171120/

[37] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20171121/

[38] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20171123/

[39] Wake Lock API () https://www.w3.org/TR/2017/WD-wake-lock-20171204/

[40] Wake Lock API () https://www.w3.org/TR/2017/CR-wake-lock-20171214/

[48] Wake Lock API - Archive of obsolete content | MDN () https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/API/Wake_Lock_API

[49] Wake Lock API based on Promises - Chrome Platform Status () https://www.chromestatus.com/feature/4636879949398016

[50] 257511 - WakeLock API - Screen Lock - chromium () https://bugs.chromium.org/p/chromium/issues/detail?id=257511

[51] Stay awake with the Wake Lock API () https://web.dev/wakelock/