[iOS] Don't show hostname for main frame JavaScript dialogs.
When dialogs are displayed from the main frame, the requesting page's URL is already visible in the location bar, so we don't need to add source information as the title. The message text is used instead. Bug: 999966 Change-Id: I6ea4f5286c2626055e0350f5746fe8968dde1dd5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1785013 Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org> Auto-Submit: Kurt Horimoto <kkhorimoto@chromium.org> Reviewed-by:Mike Dougherty <michaeldo@chromium.org> Cr-Commit-Position: refs/heads/master@{#696960}
Showing
Please register or sign in to comment