Open Bug 1487925 Opened 6 years ago Updated 2 years ago

Race condition in opening the bookmarking popup

Categories

(Firefox :: Bookmarks & History, defect, P3)

63 Branch
defect

Tracking

()

People

(Reporter: from_bugzilla3, Unassigned)

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]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.