Commit Graph

5058 Commits

Author SHA1 Message Date
Margareta Eliza Balazs
a4f6493b6e Merge autoland to mozilla-central. a=merge 2018-03-13 00:09:19 +02:00
ffxbld
99df6dad05 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-03-12 13:20:48 +00:00
Thom Chiovoloni
5eed655bc6 Bug 1444173 - Fix typoed bitwise and in bookmark validator r=kitcambridge
MozReview-Commit-ID: 6nRTbHl4AJw

--HG--
extra : rebase_source : 5935a9f9cbca8282fc43e0bea3f9e3223c460a48
2018-03-08 11:45:48 -08:00
Thom Chiovoloni
3cfd824081 Bug 1443277 - ensure TPS initializes formAutofillStorage in autofill tests r=eoger
MozReview-Commit-ID: 1iGnX2f3JzU

--HG--
extra : rebase_source : 2ac41f995a677cb5484e6c48b6e3e5228a00d12f
2018-03-05 12:20:56 -08:00
Mark Hammond
2e4c910891 Bug 1443388 - don't allow empty folderName strings in to or out of Sync. r=kitcambridge
MozReview-Commit-ID: FRa9YKE8qKJ

--HG--
extra : rebase_source : cd501abda7982414a19d2be108ffa00196071a59
2018-03-07 08:34:18 +11:00
Thom Chiovoloni
ff385c8a15 Bug 1443268 - Remove test_places_guid_downgrade.js from sync r=kitcambridge
MozReview-Commit-ID: 2P8EnTfugmz

--HG--
extra : rebase_source : f0f9cc89b6005bcb010e7ddf8d6687e647f47891
2018-03-06 12:30:44 -08:00
Sebastian Hengst
a4aace7084 Backed out changeset ba1e431204ab (bug 1443268) for failing xpcshell tests in services/sync/. CLOSED TREE 2018-03-07 20:20:02 +02:00
Thom Chiovoloni
f5186c51a0 Bug 1443268 - Remove test_places_guid_downgrade.js from sync r=kitcambridge
MozReview-Commit-ID: 2P8EnTfugmz

--HG--
extra : rebase_source : 58f2760afa9cd1d23df4bcc1c8f40cee67bd66fd
2018-03-06 12:30:44 -08:00
Bogdan Tara
2680808115 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-07 12:07:19 +02:00
Nicholas Nethercote
038a72de3b Bug 440908 - Add support for sticky and locked attributes to default prefs. r=glandium
Sticky prefs are already specifiable with `sticky_pref`, but this is a more
general attribute mechanism. The ability to specify a locked pref in the data
file is new.

The patch also adds nsIPrefService.readDefaultPrefsFromFile, to match the
existing nsIPrefService.readUserPrefsFromFile method, and converts a number of
the existing tests to use it.

MozReview-Commit-ID: 9LLMBJVZfg7

--HG--
extra : rebase_source : fa25bad87c4d9fcba6dc13cd2cc04ea6a2354f51
2018-03-02 15:31:40 +11:00
Edouard Oger
4aea0be2d6 Bug 1439777 p2 - Remove weave:ui:* related code. r=markh,tcsc
MozReview-Commit-ID: D1H36YeiJCS

--HG--
extra : rebase_source : 16b7f01ed6f9b03534945d718c567dad0daa4ff3
2018-02-22 16:30:39 +08:00
Edouard Oger
107ba8802d Bug 1439777 p1 - Remove X-Weave-Alert support. r=markh
MozReview-Commit-ID: L9GTrn8HPYJ

--HG--
extra : rebase_source : a8aef5d519ffa4a4c95f6dba2bdd3c6be7dd9d30
2018-02-22 15:44:11 +08:00
Daniel Marshall
d337129b4a Bug 1434483 - Renamed profileStorage singleton to formAutofillStorage to make it more clear; r=MattN
MozReview-Commit-ID: CaPYBGLfs5I

--HG--
extra : rebase_source : ea59d03458c0e253201fd2c1476062dfb2e9a3d6
2018-02-10 21:23:19 +00:00
Narcis Beleuzu
8c7d795b53 Backed out 2 changesets (bug 1439777) for xpcshell failures on /test_errorhandler_2.js
Backed out changeset d99402ad9ecc (bug 1439777)
Backed out changeset 1af3426dc956 (bug 1439777)
2018-03-06 04:43:41 +02:00
Edouard Oger
934abf11b3 Bug 1439777 p2 - Remove weave:ui:* related code. r=markh,tcsc
MozReview-Commit-ID: D1H36YeiJCS

--HG--
extra : rebase_source : dd7218b5f0bd36dc4c71d2a7c95a92bba4da2d12
2018-02-22 16:30:39 +08:00
Edouard Oger
407a0c6150 Bug 1439777 p1 - Remove X-Weave-Alert support. r=markh
MozReview-Commit-ID: L9GTrn8HPYJ

--HG--
extra : rebase_source : b2545e8447632bd5f22eb348f538cffa4ed1cc10
2018-02-22 15:44:11 +08:00
Narcis Beleuzu
34b2bf4c13 Backed out changeset a8130e46c530 (bug 1434483) for ESlint failures on browser_change_shipping.js. CLOSED TREE 2018-03-05 23:50:02 +02:00
Daniel Marshall
57b922d77c Bug 1434483 - Renamed profileStorage singleton to formAutofillStorage to make it more clear; r=MattN
MozReview-Commit-ID: CaPYBGLfs5I

--HG--
extra : rebase_source : 379bd1db1e50ae415806713878e6b3ef36889e89
2018-02-10 21:23:19 +00:00
Thom Chiovoloni
cbd801244d Bug 1443216 - Fix overzealous login check in TPS. r=kitcambridge
MozReview-Commit-ID: BVzyKyEb3C1

--HG--
extra : rebase_source : 64683027c4d0d5bc22d7041bb6800002f8cb00d8
2018-03-05 10:30:04 -08:00
shindli
51dcc3d916 Backed out 2 changesets (bug 1439777) for browser chrome in browser/components/customizableui/test/browser_remote_tabs_button.js and xpc-shell failures in services/sync/tests/unit/test_errorhandler_2.js on a CLOSED TREE
Backed out changeset 6e83f07e8f2f (bug 1439777)
Backed out changeset 8856efbc78a7 (bug 1439777)

--HG--
extra : histedit_source : 6472e71267b81d2ed8782eeb900c8e12b3e58e52
2018-03-05 18:59:03 +02:00
Edouard Oger
e68b9239b3 Bug 1439777 p2 - Remove weave:ui:* related code. r=markh,tcsc
MozReview-Commit-ID: D1H36YeiJCS

--HG--
extra : rebase_source : e90de5b437cc7fa8afcbe174c7bfb7bdce5b4c90
2018-02-22 16:30:39 +08:00
Edouard Oger
b351304538 Bug 1439777 p1 - Remove X-Weave-Alert support. r=markh
MozReview-Commit-ID: L9GTrn8HPYJ

--HG--
extra : rebase_source : 969290921bec33aeeacc9f1eba4e7962c9f8ffa2
2018-02-22 15:44:11 +08:00
Thom Chiovoloni
111625afbc Bug 1425152 - Update lastSync timestamp even if some sync engines failed r=markh
MozReview-Commit-ID: HTWuZsp5Evb

--HG--
extra : rebase_source : 35240ec21bd902e46493d5f0d62a5cb136f7861e
2018-02-20 18:56:35 -05:00
Thom Chiovoloni
da94fcbe03 Bug 1408551 - Set hasDupe on outgoing bookmarks when using the buffer r=kitcambridge
MozReview-Commit-ID: BU5Hbkn5OKH

--HG--
extra : rebase_source : 1c972a4a19075ab425a9232df04b5b873a8dd776
2018-02-22 19:38:55 -05:00
Thom Chiovoloni
9eb8addbc6 Bug 1441666 - Add helper functions for inserting encrypted records to the test server r=kitcambridge
This also converts some of our tests to use them. In particular,

1. All of the new functions should have coverage.
2. None of the existing tests should assume we can decrypt records by
   JSON.parsing them.

MozReview-Commit-ID: y7Hw3q9Wko

--HG--
extra : rebase_source : 9c20066da174c598c02ca70882afa0b17ed8a932
2018-02-21 16:35:45 -05:00
Mark Hammond
00c0357e61 Bug 1442443 - remove all event loop spinning from Async.js. r=eoger
MozReview-Commit-ID: 9Sc9kfx47yU

--HG--
extra : rebase_source : e663727b1ed00ae931ef051a99268a04a756dfb8
2018-03-02 10:20:18 +11:00
Dorel Luca
c532ed00b6 Backed out changeset 885ab31f399b (bug 1441666) for xpcshell failure on browser/extensions/formautofill/test/unit/test_sync.js. CLOSED TREE 2018-03-02 00:37:49 +02:00
Dorel Luca
c581e7d1ce Backed out changeset 017d83ffe0a4 (bug 1425152) for xpcshell failure on browser/extensions/formautofill/test/unit/test_sync.js on a CLOSED TREE 2018-03-01 23:58:42 +02:00
Thom Chiovoloni
e3d5fe3c3c Bug 1425152 - Update lastSync timestamp even if some sync engines failed r=markh
MozReview-Commit-ID: HTWuZsp5Evb

--HG--
extra : rebase_source : 35240ec21bd902e46493d5f0d62a5cb136f7861e
2018-02-20 18:56:35 -05:00
Thom Chiovoloni
53b0f58d94 Bug 1435067 - Use the pingsender when sending the sync ping r=gfritzsche,markh
MozReview-Commit-ID: 2x98suZvfr0

--HG--
extra : rebase_source : 7282863bbe33c46b124bddd9f870b3355789f0f7
2018-02-01 16:38:41 -05:00
Thom Chiovoloni
841af14188 Bug 1441666 - Add helper functions for inserting encrypted records to the test server r=kitcambridge
This also converts some of our tests to use them. In particular,

1. All of the new functions should have coverage.
2. None of the existing tests should assume we can decrypt records by
   JSON.parsing them.

MozReview-Commit-ID: y7Hw3q9Wko

--HG--
extra : rebase_source : 9ca35fe197b0312d53961567c8298e4ee75d051b
2018-02-21 16:35:45 -05:00
Edouard Oger
b2cd60e2b5 Bug 1433178 p2 - Allow callers to SyncedBookmarksMirror.apply() to pass explicit weak uploads. r=kitcambridge
MozReview-Commit-ID: EqVmk7AqHWS

--HG--
extra : rebase_source : e4c93aa30f66a8313e5e372b35e929b1472227c6
2018-02-27 18:01:19 -05:00
Sebastian Hengst
3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Florian Quèze
f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze
c546946f86 Bug 1433175 - remove by hands some variations of Cc,Ci,Cu definitions, r=Standard8. 2018-02-28 18:51:34 +01:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Thom Chiovoloni
e4c2bf7278 Bug 1440334 - (part 1) Add an iterator wrapper to services-common/async.js that uses a jankYielder for you r=kitcambridge
MozReview-Commit-ID: 3a8FeBqzmGC

--HG--
extra : rebase_source : 0aa699bd5cc5e84d10344c8d8db83b6551e2d0a4
2018-02-22 13:19:16 -05:00
Andreea Pavel
fa0861e443 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-02-28 00:24:02 +02:00
Marco Bonardo
e085aaa596 Bug 1432425 - Remove synchronous Bookmarks::RemoveFolderChildren. r=kitcambridge,standard8
MozReview-Commit-ID: GPrNcmEIgpZ

--HG--
rename : toolkit/components/places/tests/unit/sync_utils_bookmarks.html => toolkit/components/places/tests/sync/sync_utils_bookmarks.html
rename : toolkit/components/places/tests/unit/sync_utils_bookmarks.json => toolkit/components/places/tests/sync/sync_utils_bookmarks.json
rename : toolkit/components/places/tests/unit/test_sync_utils.js => toolkit/components/places/tests/sync/test_sync_utils.js
extra : rebase_source : b94d8f1b800f440096cba0823c49dd001401515b
2018-02-25 21:44:41 +01:00
Peter Van der Beken
6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Andrew Swan
aeee120808 Bug 1402064 Switch to modern AMO metadata API r=kmag
Switch from the old XML-based AMO metadata API to the modern JSON based
API.  This turned into something between a modest update and complete
rewrite.  Most notably, external APIs became (mostly) promise-based.  The
exception is getCachedAddonById() which XPIInstall.jsm requires a
synchronous callback from.

Also, hopefully we will be able to get rid of a bunch of this metadata
handling soon.  If this code had a long life ahead of it, the unit tests
could use some more attention, but I mostly did the minimum here just to
keep them running for now with the expectation that we'll be able to get
rid of them within some small number of months.

MozReview-Commit-ID: 3DRaBdWGaiJ

--HG--
rename : services/sync/tests/unit/addon1-search.xml => services/sync/tests/unit/addon1-search.json
rename : services/sync/tests/unit/bootstrap1-search.xml => services/sync/tests/unit/bootstrap1-search.json
rename : services/sync/tests/unit/missing-sourceuri.xml => services/sync/tests/unit/missing-sourceuri.json
rename : services/sync/tests/unit/missing-xpi-search.xml => services/sync/tests/unit/missing-xpi-search.json
rename : services/sync/tests/unit/rewrite-search.xml => services/sync/tests/unit/rewrite-search.json
rename : services/sync/tests/unit/systemaddon-search.xml => services/sync/tests/unit/systemaddon-search.json
extra : rebase_source : f25d78b938768041c5c05b72a1f7ff3a7dee8275
2018-01-10 14:18:20 -08:00
Valentin Gosu
ec9082b60a Bug 1433958 - Change code that sets nsIURI.query to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: JKW8IsaFY10

--HG--
extra : rebase_source : 45ffa07c34739adf4de681fec1370645b0f74985
2018-02-26 20:43:46 +01:00
Csoregi Natalia
1ca9a26647 Backed out changeset bf5c890bbac1 (bug 1408551) for xpcshell failures on test_bookmark_kinds.js. CLOSED TREE 2018-02-27 02:06:31 +02:00
Edouard Oger
25db2f7ed6 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 706d6a9a1187e9b666074d0dd68d03eda3fb448b
2018-02-15 11:24:44 +08:00
Thom Chiovoloni
dbae7d4792 Bug 1408551 - Set hasDupe on outgoing bookmarks when using the buffer r=kitcambridge
MozReview-Commit-ID: BU5Hbkn5OKH

--HG--
extra : rebase_source : 815e2b1ce4c8b9a34144fd54d7d6e48d6c6bcbfc
2018-02-22 19:38:55 -05:00
Thom Chiovoloni
28add38cd6 Bug 1435588 - (part 3) Avoid applying the bookmarks buffer if we failed to store all records r=kitcambridge
MozReview-Commit-ID: GJ8OHBuh6m0

--HG--
extra : rebase_source : ea3fc302c64d4119d8e407411f9a3a1ba0b428cb
2018-02-22 18:24:02 -05:00
Thom Chiovoloni
c82baa71a3 Bug 1435588 - (part 2) Request records oldest first with the bookmarks buffer r=kitcambridge
This also adds a check that the sort order is valid to record.js,
since I accidentally spelt it "oldest", which didn't work at all.

MozReview-Commit-ID: 2edyyjcwGqx

--HG--
extra : rebase_source : 051378c4f79f703563a1e14a32a28956f9dcf12b
2018-02-22 18:06:45 -05:00
Thom Chiovoloni
8d161b9820 Bug 1435588 - (part 1) Avoid inserting records one at a time when using the sync bookmark buffer r=kitcambridge
MozReview-Commit-ID: 6xRhLrrqVok

--HG--
extra : rebase_source : 31757c405b1b16ace6103d39133cc2dfc6df11c8
2018-02-20 15:12:05 -05:00
Csoregi Natalia
c8a2d994c8 Backed out changeset 22901b9f9199 (bug 1434706) for browser-chrome failures browser_contextmenu_sendtab.js. CLOSED TREE 2018-02-26 21:16:01 +02:00
Edouard Oger
7c03ced862 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 7a19b04f9df52ff58f9837d9d45be54fd3190ec9
2018-02-15 11:24:44 +08:00