Automatic update from web-platform-tests [idle] Restrict the Idle Detection API to top-level frames Allow only top-level frames to use the idle-detection feature by setting a default Feature Policy of "self" to allow only same-origin iframes. This check is in place to prevent third party scripts running on the page (eg. ads) from listening to a user's idle-ness. Bug: 936659 Change-Id: I0c83c29ec95cad25e9c35c339e46c79937654889 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1506815 Commit-Queue: Ayu Ishii <ayui@chromium.org> Reviewed-by: Luna Lu <loonybear@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Reviewed-by: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#640061} -- wpt-commits: 8a63b783181f691ec5c9bb0f52ab0e24003c1f5b wpt-pr: 15731
2 lines
33 B
Plaintext
2 lines
33 B
Plaintext
Feature-Policy: idle-detection *
|