Commit 2a5cfe96 authored by Orin Jaworski's avatar Orin Jaworski Committed by Commit Bot

Add ignore-enter-key attribute to clear browsing data dialog

This CL changes the behavior of the dialog that pops up at
chrome://settings/clearBrowserData by setting the ignore-enter-key
attribute. The key is ignored because it results in destructive
action and is very easy to trigger by mistake.

Bug: 1108630
Change-Id: If557df2e741a981da1d983bea4fc87989e65bac7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316439
Auto-Submit: Orin Jaworski <orinj@chromium.org>
Reviewed-by: default avatardpapad <dpapad@chromium.org>
Commit-Queue: Orin Jaworski <orinj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791479}
parent c46f3513
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
</style> </style>
<cr-dialog id="clearBrowsingDataDialog" <cr-dialog id="clearBrowsingDataDialog"
close-text="$i18n{close}" ignore-popstate has-tabs> close-text="$i18n{close}" ignore-popstate has-tabs ignore-enter-key>
<div slot="title"> <div slot="title">
<div>$i18n{clearBrowsingData}</div> <div>$i18n{clearBrowsingData}</div>
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment