Closed
Bug 1081101
Opened 10 years ago
Closed 10 years ago
Implement eraseEverything in Bookmarks.jsm
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
People
(Reporter: mak, Assigned: mak)
References
(Blocks 1 open bug)
Details
Attachments
(2 obsolete files)
Bug 1068009 implements the single removal option, batch removals must still be implemented.
Flags: in-testsuite?
Flags: firefox-backlog+
Assignee | ||
Updated•10 years ago
|
Points: --- → 5
Flags: qe-verify-
Assignee | ||
Updated•10 years ago
|
Summary: Implement batch removal options in Bookmarks.jsm → Implement eraseEverything in Bookmarks.jsm
Assignee | ||
Comment 1•10 years ago
|
||
instead of batch removals we will implement an eraseEverything API that is more coherent with our use cases (empty the roots before a restore mostly, plus tests)
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Updated•10 years ago
|
Iteration: --- → 36.1
Assignee | ||
Comment 2•10 years ago
|
||
I'm not totally sold on the API name, if you have better ideas, I'm listening. Alternatives to erase could be wipe or empty... alternatives to Everything may be All (but sounds less scary), Store (but it's not very clear) or Roots (but then we must introduce the roots concept in the API)
Attachment #8506233 -
Flags: review?(mano)
Assignee | ||
Comment 3•10 years ago
|
||
oops I forgot tpo hg add the test
Attachment #8506233 -
Attachment is obsolete: true
Attachment #8506233 -
Flags: review?(mano)
Attachment #8506237 -
Flags: review?(mano)
Comment 4•10 years ago
|
||
Comment on attachment 8506237 [details] [diff] [review]
patch v2
Review of attachment 8506237 [details] [diff] [review]:
-----------------------------------------------------------------
Again, at this point I prefer to review one giant patch, but this patch alone looks fine.
::: toolkit/components/places/Bookmarks.jsm
@@ +890,5 @@
> + if (val !== null) {
> + Object.defineProperty(item, prop, { value: val
> + , writable: true
> + , enumerable: false
> + , configurable: false });
See my comments on the main bug.
Attachment #8506237 -
Flags: review?(mano) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8506237 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 6•10 years ago
|
||
fixed by Bug 1068009.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•