Closed Bug 1125116 Opened 9 years ago Closed 9 years ago

Remove keywords support from Bookmarks.jsm

Categories

(Toolkit :: Places, defect)

defect
Not set
normal
Points:
3

Tracking

()

RESOLVED FIXED
mozilla38
Iteration:
38.3 - 23 Feb
Tracking Status
firefox38 --- fixed

People

(Reporter: mak, Assigned: mak)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The new API should be independent from keywords that will be moved to their own API.
Flags: qe-verify-
Flags: in-testsuite?
Flags: firefox-backlog+
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Iteration: --- → 38.2 - 9 Feb
Attached patch patch v1Splinter Review
This was pretty trivial
Attachment #8560492 - Flags: review?(ttaubert)
Comment on attachment 8560492 [details] [diff] [review]
patch v1

Review of attachment 8560492 [details] [diff] [review]:
-----------------------------------------------------------------

::: toolkit/components/places/Bookmarks.jsm
@@ +444,5 @@
>     * Fetches information about a bookmark-item.
>     *
>     * REMARK: any successful call to this method resolves to a single
>     *         bookmark-item (or null), even when multiple bookmarks may exist
> +   *         (e.g. fetching by url ).  If you wish to retrieve all of the

Nit "url )." -> "url)."

::: toolkit/components/places/tests/bookmarks/test_bookmarks_eraseEverything.js
@@ -66,5 @@
>    Assert.equal(frecencyForUrl("http://example.com/"), frecencyForMozilla);
> -
> -  // Check there are no orphan keywords or annotations.
> -  let conn = yield PlacesUtils.promiseDBConnection();
> -  let rows = yield conn.execute(`SELECT * FROM moz_keywords`);

Should we keep checking for annotations here?

::: toolkit/components/places/tests/bookmarks/test_bookmarks_remove.js
@@ -101,5 @@
> -  Assert.equal(bm2.keyword, "test");
> -
> -  // Check there are no orphan keywords or annotations.
> -  let conn = yield PlacesUtils.promiseDBConnection();
> -  let rows = yield conn.execute(`SELECT * FROM moz_keywords`);

Same here, keep the check for annotations?
Attachment #8560492 - Flags: review?(ttaubert) → review+
(In reply to Tim Taubert [:ttaubert] from comment #2)
> Same here, keep the check for annotations?

whoops, yes.
https://hg.mozilla.org/integration/fx-team/rev/690f080dd893
Flags: in-testsuite? → in-testsuite-
Target Milestone: --- → mozilla38
Iteration: 38.2 - 9 Feb → 38.3 - 23 Feb
https://hg.mozilla.org/mozilla-central/rev/690f080dd893
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: