Description[ios] Refactored dialogs suppression.
1.) Added |suppressDialogs| property to CRWWebController, which should
be used instead of |setPageDialogOpenPolicy|.
2.) Suppress all dialogs in native code instead of JavaScript (except
navigation dialogs which can not be suppressed w/o JS override).
3.) Suppress HTTP Auth dialog if |suppressDialogs| is YES.
BUG=595463
TEST=window.open, window.prompt, window.confirm, window.alert,
geolocation and http auth dialogs should be blocked for preload
pages. All these dialogs should work normally for regular pages.
Committed: https://crrev.com/45bfe025690492eeafe4f1a689cab5c2bcb91b2a
Cr-Commit-Position: refs/heads/master@{#381759}
Patch Set 1 #Patch Set 2 : Self review #
Total comments: 6
Patch Set 3 : Addressed review comments #
Messages
Total messages: 16 (8 generated)
|