commit | 894769b032ee77d419b1933de63d7a8346ac1c61 | [log] [tgz] |
---|---|---|
author | Victor Costan <pwnall@chromium.org> | Wed Jul 04 00:09:48 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 04 00:09:48 2018 |
tree | 23016eb9f5eb657513a80c980cf9e8a7be1500a0 | |
parent | a5adc4ec6539ec4f94986f0a0ba13108eaa218e3 [diff] |
Async Cookies: Expose oncookiechange on ServiceWorkerGlobalScope. cookiechange events have been dispatched to ServiceWorkerGlobalScope since https://crrev.com/c/979334 landed, and can be observed using addEventListener, as shown by the WPT test at cookie-store/serviceworker_cookieStore_subscriptions_basic.tentative.https.html This CL adds the oncookiechange attribute to ServiceWorkerGlobalScope, allowing the event to be handled by a DOM0-style event handler. Bug: 729800 Change-Id: Ic27979d94934abf833c116787cdad5243422324b Reviewed-on: https://chromium-review.googlesource.com/1123766 Commit-Queue: Victor Costan <pwnall@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Joshua Bell <jsbell@chromium.org> Cr-Commit-Position: refs/heads/master@{#572400}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .