Revert "Fix the JS dialog dismissal cause"
This reverts commit a84f590c. Reason for revert: the introduced test JavaScriptDialogTest.DismissalCausePromptTabClosedByUser fails more often than it passes (e.g. https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Mac10.13%20Tests%20%28dbg%29/4745) This test seems to be fairly essential given that this CL mainly affects the log. If it's not, feel free to disable on Mac and reland. Original change's description: > Fix the JS dialog dismissal cause > > Previously on a non-Mac platform when JS dialog is dismissed by user > closing the tab, |DIALOG_BUTTON_CLICKED| is logged. This change > separates the case of the user replying to the dialog with the buttons > vs rejecting it. > > Bug: 872795 > Change-Id: I4b8781daeb3cead5ee4e975a67f79f94b7fa84e5 > Reviewed-on: https://chromium-review.googlesource.com/1164647 > Reviewed-by: Charlie Harrison <csharrison@chromium.org> > Reviewed-by: Avi Drissman <avi@chromium.org> > Commit-Queue: Yao Xiao <yaoxia@chromium.org> > Cr-Commit-Position: refs/heads/master@{#583885} TBR=avi@chromium.org,csharrison@chromium.org,huayinz@chromium.org,yaoxia@chromium.org Change-Id: I0de2f8e0ded623c121325a80975d131681aaa493 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 872795 Reviewed-on: https://chromium-review.googlesource.com/1179701Reviewed-by:Friedrich Horschig <fhorschig@chromium.org> Commit-Queue: Friedrich Horschig <fhorschig@chromium.org> Cr-Commit-Position: refs/heads/master@{#584004}
Showing
Please register or sign in to comment