Closed Bug 1207246 Opened 9 years ago Closed 9 years ago

Add a test for creating a bookmark using the bookmark properties dialog.

Categories

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

defect

Tracking

()

RESOLVED FIXED
Firefox 44
Tracking Status
firefox44 --- fixed

People

(Reporter: adw, Assigned: adw)

References

Details

Attachments

(1 file, 1 obsolete file)

We need a test to make sure the fix for bug 1206376 is correct and not regressed in the future.
Priority: -- → P2
Attached patch patch (obsolete) — Splinter Review
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6373757d1d1d
Assignee: nobody → adw
Status: NEW → ASSIGNED
Attachment #8670584 - Flags: review?(mak77)
Comment on attachment 8670584 [details] [diff] [review]
patch

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

sorry, I should have told that we don't want to add further tests to browser_bookmarkProperties.js, that test is going to be splitted (I modified bug 1160326 to clarify that).
a Bunch of tests have already been splitted or created from scratch, see:
http://mxr.mozilla.org/mozilla-central/find?text=&kind=text&string=browser_bookmarkP

I think it should be much easier to modify browser_bookmarkProperties_addFolderDefaultButton.js than to write a completely new test. Instead of calling new folder on UnfiledBookmarks it should likely first create a bookmark into Unfiled and then issue New Folder on that bookmark (usually we always insert before).
Note the test is checking PlacesUtils.bookmarks.DEFAULT_INDEX and that is why it didn't catch the original bug.
Attachment #8670584 - Flags: review?(mak77)
Attachment #8672071 - Flags: review?(mak77) → review+
https://hg.mozilla.org/mozilla-central/rev/9b068db8677f
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: