Race condition in opening the bookmarking popup

NEW
Unassigned

Status

()

defect
P3
normal
11 months ago
11 months ago

People

(Reporter: from_bugzilla2, Unassigned)

Tracking

63 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fxsearch])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0
Build ID: 20180830123124

Steps to reproduce:

1. Clicked the bookmark star
2. Used the Web ScrapBook extension to trigger a flood of download API requests
3. Realized I wanted to bookmark using my other system external to Firefox
4. Clicked the bookmark star to access the "Remove Bookmark" button and got no response
5. Clicked the bookmark star again


Actual results:

When the popup finally appeared, the removal button said "Remove 2 bookmarks" and the folder dropdown listed every recently-used folder twice.

Dismissing the popup by clicking outside it and then opening it a second time displayed the usual "Remove Bookmark" button and only one copy of each folder in the dropdown.


Expected results:

If a second attempt to open the bookmark editing popup manages to be dispatched before the first completes, they shouldn't be able to manipulate the same data model without any kind of mutual exclusion.
Component: Untriaged → Bookmarks & History
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [fxsearch]
You need to log in before you can comment on or make changes to this bug.