Commit graph

20 commits

Author SHA1 Message Date
Mark Banner
b321b832fd Bug 824502 - Fix unit tests for the folder=<id> to parent=<guid> transition. r=mak
MozReview-Commit-ID: FCaiJrSAMAV

--HG--
extra : rebase_source : 1edf169c3a24b1c0b8c1be2e8eb0f06e8605df80
2018-05-01 08:14:53 +01:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Kris Maglione
4a4c4fdfd4 Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
MozReview-Commit-ID: LxLDWlsIlSk

--HG--
extra : rebase_source : 5762bdf08ff6c09c1b29f87366bddb552e4c74b2
extra : amend_source : 922a0c03722bd5a81daace7f0289ec3228191cfb
2017-11-28 14:13:59 -08:00
Bob Silverberg
ab10610842 Bug 1293853 - Part 3: Add support for separators to bookmarks API, r=mixedpuppy
This adds support for separators to the bookmarks API. Separators can now be created
and will be returned by any method that returns BookmarkTreeNodes. They will also be
included in data for the onCreated and onRemoved events.

BookmarkTreeNodes will now contain a `type` property which will be one of bookmark,
folder or separator. When creating a bookmark object, one can specify the type, or one
can rely on the Chrome-compatible behaviour which treats any bookmarks without a URL
as a folder. To create a separator one must specify a type as part of the CreateDetails
object.

MozReview-Commit-ID: BoyGgx8lMAZ

--HG--
extra : rebase_source : 95a06fe81d21d660aeecbd86b71ca6bbcd66eb10
2017-08-28 17:05:55 -04:00
Valentin Gosu
953c52ffc5 Bug 1380617 - Fix tests that expect unicode encoding of hostname r=smaug
MozReview-Commit-ID: 6EGhUJmtjTc
2017-08-09 17:44:08 +02:00
Kit Cambridge
18e2c40fe8 Bug 1380718 - Include the operation name in bookmark validation errors. r=mak
MozReview-Commit-ID: H4vp6ZULSq7

--HG--
extra : rebase_source : a3bb16fd51700d9de0d31bf574a82e5ce4dfca94
2017-07-13 10:09:49 -07:00
Bob Silverberg
61046f7759 Bug 1364546 - Set the children property for BookmarkTreeNodes without children, r=mixedpuppy
BookmarkTreeNodes without children do not contain a children property, but they should actually
contain a children property which is an empty array. This is what Chrome does as well.

This patch fixes that, and includes a test for a case of getChildren that was previously
untested, which I noticed when working on this code.

MozReview-Commit-ID: CjUwExma760

--HG--
extra : rebase_source : b3297eaf444ec987baeb97c8f0c7547450eb256d
2017-05-23 15:16:10 -04:00
Jerry Krinock
7a8b5ea810 Bug 1343473 - Fixed parentId on the root node returned from bookmarks.getSubTree. r=bsilverberg, r=mixedpuppy
--HG--
extra : rebase_source : e53f37e5492035a3b62cd2caba6a5e6cdc436a91
2017-03-16 15:43:00 -04:00
Bob Silverberg
b958022605 Bug 1341541 - WebExtensions bookmarks.getRecent() results include raw tag objects, r=mak,mixedpuppy
MozReview-Commit-ID: 8FabO0eoktP

--HG--
extra : rebase_source : 513999541506b803a4816aa81bd8df978934579b
2017-02-28 08:44:43 -05:00
Jared Wein
4b027e3645 Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
MozReview-Commit-ID: 1mhCWplknyN

--HG--
extra : rebase_source : ab47e6e1bc2ba94fa26179ec18053fa798d9b778
2016-11-07 22:34:25 -05:00
Iris Hsiao
0cc78823fe Backed out changeset f6f28be8d8f2 (bug 1315781) for XPCShell test timed out
--HG--
extra : rebase_source : 0122a5372b6ac2174d4c37e7cc0169bf9c437178
2016-11-10 14:53:46 +08:00
Jared Wein
8ebd29ee02 Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
MozReview-Commit-ID: DnpVQRrG9Ec

--HG--
extra : rebase_source : 3641e46c32b0e6700ee86fc71dcd35924ce1ed3a
2016-11-07 22:34:25 -05:00
Tom Schuster
cdf4b653b0 Bug 1221764 - Implement simple chrome.bookmarks events, r=aswan,mak
MozReview-Commit-ID: LWbhYf8CpZD

--HG--
extra : rebase_source : 74e11b9787ef151640aa5ff13024e62c40ddc476
2016-08-17 10:22:10 -04:00
Kris Maglione
f6052f7eae Bug 1288885: Migrate bookmarks mochitests to xpcshell. r=aswan
MozReview-Commit-ID: 9PFJcqXXxhU

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_bookmarks.html => browser/components/extensions/test/xpcshell/test_ext_bookmarks.js
extra : source : 8c67ff2971ecc155ce26dc5d9905c5de7e4bfd4b
2016-07-22 17:29:52 -07:00
Sebastian Hengst
8cf6309948 Backed out changeset 8c67ff2971ec (bug 1288885)
--HG--
rename : browser/components/extensions/test/xpcshell/test_ext_bookmarks.js => toolkit/components/extensions/test/mochitest/test_ext_bookmarks.html
2016-07-28 10:06:34 +02:00
Kris Maglione
ac8debc6f4 Bug 1288885: Migrate bookmarks mochitests to xpcshell. r=aswan
MozReview-Commit-ID: 9PFJcqXXxhU

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_bookmarks.html => browser/components/extensions/test/xpcshell/test_ext_bookmarks.js
extra : rebase_source : 2c9d2611b967733ff685cb9ce7886ae326eae6a3
extra : histedit_source : 880c65df5bbd9721e1c7dcf963396e3d73b49c5d
2016-07-22 17:29:52 -07:00
Renamed from toolkit/components/extensions/test/mochitest/test_ext_bookmarks.html (Browse further)