New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 728022 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocked on:
issue 729919
issue 739257



Sign in to add a comment

Experiment with changes to beforeinstallprompt behaviour

Project Member Reported by dominickn@chromium.org, May 31 2017

Issue description

This is a summary bug for experimental work to:

1. enforce a user gesture requirement on beforeinstallprompt.prompt()
2. stop automatic prompting and require a call to beforeinstallprompt.prompt() to show a banner
 
Blockedon: 729919
Blockedon: 739257
Project Member

Comment 5 by bugdroid1@chromium.org, Jul 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c5bed25edfa875b182516849e1d36b64bce464e9

commit c5bed25edfa875b182516849e1d36b64bce464e9
Author: dominickn <dominickn@chromium.org>
Date: Fri Jul 07 03:42:47 2017

Remove AppBannerManager::event_request_id().

This was previously used to ensure we did not get a resolution to the
beforeinstallpromptevent that didn't match the current request. However,
AppBannerManager wipes its weak pointers when the current request
finishes, meaning that event_request_id is unneccessary.

BUG= 728022 

Review-Url: https://codereview.chromium.org/2969163002
Cr-Commit-Position: refs/heads/master@{#484820}

[modify] https://crrev.com/c5bed25edfa875b182516849e1d36b64bce464e9/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
[modify] https://crrev.com/c5bed25edfa875b182516849e1d36b64bce464e9/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
[modify] https://crrev.com/c5bed25edfa875b182516849e1d36b64bce464e9/chrome/browser/android/banners/app_banner_manager_android.cc
[modify] https://crrev.com/c5bed25edfa875b182516849e1d36b64bce464e9/chrome/browser/android/webapps/add_to_homescreen_manager.cc
[modify] https://crrev.com/c5bed25edfa875b182516849e1d36b64bce464e9/chrome/browser/banners/app_banner_infobar_delegate_desktop.cc
[modify] https://crrev.com/c5bed25edfa875b182516849e1d36b64bce464e9/chrome/browser/banners/app_banner_infobar_delegate_desktop.h
[modify] https://crrev.com/c5bed25edfa875b182516849e1d36b64bce464e9/chrome/browser/banners/app_banner_manager.cc
[modify] https://crrev.com/c5bed25edfa875b182516849e1d36b64bce464e9/chrome/browser/banners/app_banner_manager.h
[modify] https://crrev.com/c5bed25edfa875b182516849e1d36b64bce464e9/chrome/browser/banners/app_banner_manager_desktop.cc

Components: UI>Browser>WebAppInstalls
Status: Fixed (was: Started)
We have decided to move ahead with this, closing this out.

Sign in to add a comment