Description of the issue:
When I press Ctrl-D to add a bookmark, and the bookmark is already added, I press escape to cancel. But this deletes the bookmark. Cancel means abort, not delete. I have lost a lot of bookmarks this way.
How can this issue be reproduced?
Add a bookmark and verify that it is added.
Add the same bookmark again with Ctrl-D and hit escape
Now see your bookmarks, and you can see the bookmark has been deleted.
Expected result:
I would expect the bookmark to not be deleted. I did not select delete, I canceled an action, that was already taken.
Brave Version( check About Brave):
Version 1.29.79 Chromium: 93.0.4577.63 (Official Build) (64-bit)