Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Issue 2233213002: [Android] Suppress javascript dialogs from background tabs in custom tab

Created:
4 years, 4 months ago by Ian Wen
Modified:
4 years, 4 months ago
CC:
chromium-reviews, lizeb+watch-custom-tabs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Suppress javascript dialogs from background tabs in custom tab Custom tabs look like they only hold one tab, while there might be multiple tabs in the tab model, if the newer tab is created via window.open(). If a background tab pops up a dialog, the current implementation will panic and the UI will break. This CL fixes this issue, by suppressing dialogs from hidden web contents. BUG=636520

Patch Set 1 #

Messages

Total messages: 6 (2 generated)
Ian Wen
PTAL
4 years, 4 months ago (2016-08-10 23:29:41 UTC) #2
Avi (use Gerrit)
The java stuff I'm fuzzy on, but it looks reasonable and simple. LGTM!
4 years, 4 months ago (2016-08-10 23:45:25 UTC) #3
Yusuf
java side lgtm
4 years, 4 months ago (2016-08-10 23:50:50 UTC) #4
Ian Wen
4 years, 4 months ago (2016-08-10 23:56:56 UTC) #6
sievers@chromium.org: Please review changes in components

Powered by Google App Engine
This is Rietveld 408576698