This continues the work to align BackgroundFetch implementation with the spec. BackgroundFetchClickEvent needs to be dispatched and onbackgroundfetchclick to be invoked when the UI is activated.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/27a1d11c052be495d354d299e81fe2291dec7d46 commit 27a1d11c052be495d354d299e81fe2291dec7d46 Author: Mugdha Lakhani <nator@chromium.org> Date: Wed Jun 27 23:50:08 2018 [Background Fetch] Dispatch BackgroundFetchClick event when the UI is activated. This event is dispatched when the user taps/clicks on the UI while the fetch is active, has succeeded or has failed. It is not sent when the fetch has been cancelled, or is aborted. Bug: 843081 Change-Id: I86f0cfef6ba4186063c1b5870ea36827972d1d30 Reviewed-on: https://chromium-review.googlesource.com/1112245 Commit-Queue: Avi Drissman <avi@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/master@{#570936} [modify] https://crrev.com/27a1d11c052be495d354d299e81fe2291dec7d46/chrome/browser/background_fetch/background_fetch_delegate_impl.cc [modify] https://crrev.com/27a1d11c052be495d354d299e81fe2291dec7d46/chrome/browser/background_fetch/background_fetch_delegate_impl.h [modify] https://crrev.com/27a1d11c052be495d354d299e81fe2291dec7d46/content/browser/background_fetch/background_fetch_context.cc [modify] https://crrev.com/27a1d11c052be495d354d299e81fe2291dec7d46/content/browser/background_fetch/background_fetch_context.h [modify] https://crrev.com/27a1d11c052be495d354d299e81fe2291dec7d46/content/browser/background_fetch/background_fetch_delegate_proxy.cc [modify] https://crrev.com/27a1d11c052be495d354d299e81fe2291dec7d46/content/browser/background_fetch/background_fetch_delegate_proxy.h [modify] https://crrev.com/27a1d11c052be495d354d299e81fe2291dec7d46/content/public/browser/background_fetch_delegate.h
Issue 692581 has been merged into this issue.
Comment 1 by na...@chromium.org
, May 15 2018