Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

removeSite should also remove its children #4127

Merged
merged 1 commit into from
Sep 20, 2016
Merged

Conversation

darkdh
Copy link
Member

@darkdh darkdh commented Sep 20, 2016

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

fix #3763
fix #4124

Auditors: @bsclifton

Test Plan:

  1. Add folder "folder1" under bookmarks toolbar
  2. Add folder "folder2" under "folder1"
  3. Bookmark "facebook.com" and put it under "folder1"
  4. Bookmark "twitter.com" and put it under "folder2"
  5. Delete "folder1"
  6. "facebook.com" and "twitter.com" should be unstarred

fix brave#3763
fix brave#4124

Auditors: @bsclifton

Test Plan:
1. Add folder "folder1" under bookmarks toolbar
2. Add folder "folder2" under "folder1"
3. Bookmark "facebook.com" and put it under "folder1"
4. Bookmark "twitter.com" and put it under "folder2"
5. Delete "folder1"
6. "facebook.com" and "twitter.com" should be unstarred
@bsclifton
Copy link
Member

Great fix and nice job with the tests 😄 I was just about to ask if you had tried a folder in a folder but then saw them

@bsclifton bsclifton merged commit f5a0f63 into brave:master Sep 20, 2016
@luixxiul luixxiul added this to the 0.12.2dev milestone Sep 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants