Closed
Bug 1865087
Opened 1 year ago
Closed 1 year ago
Refactor some parts of PlacesTransactions
Categories
(Toolkit :: Places, task, P3)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
122 Branch
| Tracking | Status | |
|---|---|---|
| firefox122 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
I have a few ideas in mind to simplify solving Bug 1857882, that are not strictly part of that fix.
| Assignee | ||
Updated•1 year ago
|
Component: Bookmarks & History → Places
Product: Firefox → Toolkit
| Assignee | ||
Comment 1•1 year ago
|
||
Rather than accepting either an array or an async function, make it only accept
an array. This simplifies the internals for future refactoring, and avoids
depending on async functions created in other globals.
| Assignee | ||
Comment 2•1 year ago
|
||
Depends on D193813
| Assignee | ||
Comment 3•1 year ago
|
||
Rather than keeping around properties tracking batches, straight annotate
transact() calls that happen inside a batch. This simplified things a bit and
potentially allows to move the component to a single Enqueuer.
Depends on D193814
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/e680863304ae
Change PlacesTransaction.batch() to only accept an array of transactions. r=places-reviewers,daisuke
https://hg.mozilla.org/integration/autoland/rev/903654c94b22
Add optional logging to PlacesTransactions. r=places-reviewers,daisuke
https://hg.mozilla.org/integration/autoland/rev/bb4605391d57
Track batching transactions differently in PlacesTransactions. r=places-reviewers,daisuke
Comment 5•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/e680863304ae
https://hg.mozilla.org/mozilla-central/rev/903654c94b22
https://hg.mozilla.org/mozilla-central/rev/bb4605391d57
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox122:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•