Граф коммитов

4875 Коммитов

Автор SHA1 Сообщение Дата
Mark Goodwin ae55f5a197 Bug 1359428 - Remove preference to select OneCRL update mechanism r=keeler,leplatrem,rhelmer
MozReview-Commit-ID: A6CwZrIDmTn

--HG--
extra : rebase_source : 41e17d29f982d23f30f48a6f85ad20fc84b018c6
2017-09-29 10:47:27 +01:00
Thom Chiovoloni 9f708fd861 Bug 1400467 - Ensure services/common/logmanager.js awaits it's cleanup function r=markh
MozReview-Commit-ID: thQph1UUA0

--HG--
extra : rebase_source : 705cdd9d07a1a26b568554e07638c0415789b404
2017-09-22 11:57:13 -04:00
Thom Chiovoloni 76a3991796 Bug 1400467 - Make WeaveCrypto use promises instead of spinning event loops r=eoger,markh
MozReview-Commit-ID: 64dewKKaAOJ

--HG--
extra : rebase_source : e8d48e05ad8dac214358b0a9979b011a65ed07a8
2017-09-15 19:21:31 -07:00
Edouard Oger 1df9d06245 Bug 1395427 p4 - Add form history items deletions to TPS tests. r=markh,tcsc
MozReview-Commit-ID: 3oUBqLuHpoG

--HG--
extra : rebase_source : 303c40b6fc5a41a7b2f2e9edc9f275228ccbbe47
2017-09-22 15:19:44 -04:00
Edouard Oger 60aea23a2c Bug 1395427 p3 - Allow form history items to be created with a specific guid. r=markh
This allows us to have the same form history GUIDs across devices, which is mandatory
if we want tombstones to actually do something.

MozReview-Commit-ID: Hw6ahbVA5lB

--HG--
extra : rebase_source : 5289322dea430f364790026470ff844f754dd570
2017-09-22 15:08:48 -04:00
Sebastian Hengst 6cbbf769ee Backed out changeset d7876bfd8bfc (bug 1395427) 2017-09-27 17:10:21 +02:00
Sebastian Hengst e08e4f2f41 Backed out changeset d86f2704b27a (bug 1395427) 2017-09-27 17:10:15 +02:00
Edouard Oger 7d0ecfa428 Bug 1395427 p4 - Add form history items deletions to TPS tests. r=markh,tcsc
MozReview-Commit-ID: 3oUBqLuHpoG

--HG--
extra : rebase_source : 19f4c4c21c35d9d604e17d3e1df862bc700773bd
2017-09-22 15:19:44 -04:00
Edouard Oger 8dcfa9de4f Bug 1395427 p3 - Allow form history items to be created with a specific guid. r=markh
This allows us to have the same form history GUIDs across devices, which is mandatory
if we want tombstones to actually do something.

MozReview-Commit-ID: Hw6ahbVA5lB

--HG--
extra : rebase_source : 39f9cc5553f44f149abc0ed9715268c538fc27ba
2017-09-22 15:08:48 -04:00
Phil Ringnalda 216b709c48 Backed out 4 changesets (bug 1348981) for Linux debug timeouts in test_system_update.js
Backed out changeset b1fe39ea6d5c (bug 1348981)
Backed out changeset 47866f942752 (bug 1348981)
Backed out changeset 5e93d8760487 (bug 1348981)
Backed out changeset 58431e2c37d7 (bug 1348981)

MozReview-Commit-ID: 2WjZKztxyVs
2017-09-23 06:20:56 -07:00
Robert Helmer 70071e128b Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP

--HG--
extra : rebase_source : 8a98ba4a36f2717c1b733b661e9d8621a9bbfec0
2017-09-14 00:36:04 -07:00
Edouard Oger 27eb845182 Bug 1401590 - Mock FxAccounts#newAccountState in push service tests. r=markh
MozReview-Commit-ID: 8kVtWbPKp65

--HG--
extra : rebase_source : cb970e68e7be85ea53723207b91c7981b84d41a4
2017-09-21 13:27:46 -04:00
ffxbld ddbf9d22ec Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
MozReview-Commit-ID: Equ8FrTJpTj
2017-09-21 16:42:31 +02:00
Thom Chiovoloni b627373bca Bug 1401686 - Handle cases where max_post_bytes is less than max_record_payload_bytes. r=kitcambridge
MozReview-Commit-ID: AAiF2rD075A

--HG--
extra : rebase_source : 657bf67186ebeb2e962c2b515d1fea47a95a677e
2017-09-20 16:18:20 -04:00
Thom Chiovoloni c278109711 Bug 1401382 - Make it safe to await inside async TPS handlers r=markh
This patch also makes all the remaining synchronouns TPS handlers async, since
it seems likely that this issue could happen again.

MozReview-Commit-ID: DSlrX3pgeJI

--HG--
extra : rebase_source : b55a54e51787398dc55d4359dd749be2c5900d6c
2017-09-19 18:40:19 -04:00
Thom Chiovoloni 6348cd2190 Bug 1393659 - Fix inconsistent handling of max_post_bytes and max_request_bytes r=markh
MozReview-Commit-ID: 4jwpAYNuoQj

--HG--
extra : rebase_source : f32ecbd9740f7d8647fdf37ad6bbb53e332320ac
2017-09-13 18:02:41 -07:00
Edouard Oger dc3b62bea0 Bug 1383663 part 3 - Update FxA local state on profile email change. r=markh
MozReview-Commit-ID: 5epKjoT4TF3

--HG--
extra : rebase_source : 3c9737d304d2a4a4448e43c1f4a13e738716453e
2017-08-21 17:01:57 -04:00
Edouard Oger daf87f8b3b Bug 1383663 part 1 - Revert bug 1385191 changes. r=markh
This reverts commit 3f279247b875becd0c617fa6dc31cdf9f1349374.

MozReview-Commit-ID: FuCMewhO20z

--HG--
extra : rebase_source : cbeb2b30a425020e2379d3f5d21affabe610a20b
2017-08-21 17:06:06 -04:00
Phil Ringnalda e6c038d6ee Backed out 3 changesets (bug 1383663) for timeouts in browser_aboutAccounts.js and failures in test_web_channel.js
Backed out changeset f384a524cac6 (bug 1383663)
Backed out changeset 9d26a627e2f8 (bug 1383663)
Backed out changeset c7d46e2e8ddc (bug 1383663)

MozReview-Commit-ID: 88xbdeVJtK2
2017-09-16 10:40:00 -07:00
Edouard Oger 3d91da7159 Bug 1383663 part 3 - Update FxA local state on profile email change. r=markh
MozReview-Commit-ID: 5epKjoT4TF3

--HG--
extra : rebase_source : 437b8d56d48898b347ecaf3d9ca0f6cc3176d2e2
2017-08-21 17:01:57 -04:00
Edouard Oger 11875727be Bug 1383663 part 1 - Revert bug 1385191 changes. r=markh
This reverts commit 3f279247b875becd0c617fa6dc31cdf9f1349374.

MozReview-Commit-ID: FuCMewhO20z

--HG--
extra : rebase_source : f071fe7d8b67d84a0b2836b7dae3883e8c85c46a
2017-08-21 17:06:06 -04:00
Kit Cambridge 95856672f4 Bug 1400394 - Remove `TestingUtils.deepCopy`. r=markh
MozReview-Commit-ID: 3ZZpA3inWSF

--HG--
extra : rebase_source : 506d1bb5bba484e65bcd5abed196c3ecc751fb1b
2017-09-15 13:46:21 -07:00
Thom Chiovoloni 3a3834f7a8 Bug 1400075 - Cleanup async handling for tab engine in TPS. r=markh
MozReview-Commit-ID: BQ0aJodErWy

--HG--
extra : rebase_source : 4f74acd21f64559b9a7215638672f6952283a4fe
2017-09-14 16:59:11 -07:00
Sebastian Hengst be553422dd merge mozilla-central to autoland. r=merge a=merge 2017-09-13 11:30:55 +02:00
Thom Chiovoloni 80aa14098f Bug 1399191 - Use an arrow function to avoid an undefined this value when calling namedTimer. r=markh
MozReview-Commit-ID: 2VwzGtAIYz7

--HG--
extra : rebase_source : 8ac4f5b5aba9891a82f2f6777d8c1fc55d26d41e
2017-09-12 10:12:37 -07:00
Kris Maglione f829523282 Bug 1371065: Part 0 - Fix unit tests that use the SDK loader :/ r=Mossop
MozReview-Commit-ID: 4ewrbY0FS09

--HG--
extra : rebase_source : 390256a9eb0d303d8582c24d69fff189b0e0ab4d
2017-09-08 18:16:50 -07:00
Kit Cambridge d6cced9ca1 Bug 1394525 - Reset tracker scores before syncing. r=markh
MozReview-Commit-ID: 1wHdOeiZOyl

--HG--
extra : rebase_source : 765094feecdbe79cfa30f5c5a2886f8113890077
2017-08-28 11:24:26 -07:00
Kit Cambridge 0d29ca233e Bug 1393904 - Ensure `insertTree` removes Sync tombstones for restored bookmarks. r=mak
MozReview-Commit-ID: EbGybRbhWKJ

--HG--
extra : rebase_source : 596389e1ffc111f26cc10f014da6d74202f988eb
2017-08-25 12:04:22 -07:00
Andrew McCreight 614d92ab8f Bug 1186409 - Fix code that tries to get the global by using |this|. r=kmag
MozReview-Commit-ID: C5ixngtvzWU

--HG--
extra : rebase_source : 65507b2d1f58a8f1f1e36e2153ed1d490f4a86dc
2017-05-25 14:12:12 -07:00
Mark Hammond 5317324bec Bug 1397537 - check FxA has a session token and enter a needs-reauth state even when the user is unverified. r=eoger
MozReview-Commit-ID: KuldXySDvt4

--HG--
extra : rebase_source : 9b33265b341e7fcd5be9dc6e3b01d218ce1aabca
2017-09-07 11:13:53 +10:00
Mark Hammond 5cff6fa2da Bug 1397530 - report all exceptions checking the account status. r=eoger
MozReview-Commit-ID: ClCaDhgdQ0a

--HG--
extra : rebase_source : 615b32fbe5a7b7dd86191e66985c08905edb2c52
2017-09-07 09:35:47 +10:00
Kit Cambridge 3136ed3935 Bug 1396967 - Fix undeclared assignments in MozMill. r=tcsc
MozReview-Commit-ID: 7C5zFAHmRQQ

--HG--
extra : rebase_source : f6b0d5e1cac37ec1031176f291a13953f5af4e83
2017-09-05 12:32:36 -07:00
Mark Hammond 27afdd11e1 Bug 1396544 - don't schedule syncs when Sync isn't configured. r=rnewman
MozReview-Commit-ID: AM0G43vFyty

--HG--
extra : rebase_source : 9888cfd079f4761debb710d1bbe064956aec1093
2017-09-05 12:40:53 +10:00
Mark Hammond 1e1c59dfa4 Bug 1396740 - declare waitForEvents object in TPS's mozmill extension. r=tcsc
MozReview-Commit-ID: AFWuHR7JgCp

--HG--
extra : rebase_source : dd886f33d5e427e046c2004bd5e993748bfc3caa
2017-09-05 17:57:47 +10:00
Mark Hammond 5f4d03ee95 Bug 1391488 - catch and ignore errors fetching the hostname from the DNS service. r=kitcambridge
MozReview-Commit-ID: 5hTDNmzTXdQ

--HG--
extra : rebase_source : 4565d13941fd167d81420e639e7ebc37f94a3a8f
2017-09-01 16:48:24 +10:00
Mathieu Leplatre b4905330e7 Bug 1377533 - Remove scattered references to Kinto and Sqlite in blocklist clients r=glasserc,mgoodwin
MozReview-Commit-ID: FExozSDHgNN

--HG--
extra : rebase_source : 892c1c5825ac20243ce74118d4df437ec99cfe2c
2017-06-30 12:07:28 -07:00
Mark Hammond 2dad858a21 Bug 1375635 - Add telemetry for how often and long users are in bad authentication states. r=Dexter,rweiss+418169,tcsc
MozReview-Commit-ID: BW8ixM3wmxJ

--HG--
extra : rebase_source : 6872e86fbd6ff00c4ab65ef4bf8c6195e06de54b
2017-07-27 11:59:24 +10:00
Geoff Brown e16b402acf Bug 1395148 - Run some services/sync xpcshell tests sequentially; r=markh
These tests normally pass when run sequentially but often timeout when run
in parallel, especially on debug builds.
2017-08-31 07:50:25 -06:00
Kris Maglione 8b415f700f Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c

--HG--
extra : rebase_source : f18b5547a5a57db4e8b990bfc34f06690ac9da7a
extra : histedit_source : 7281bafbde4bf231752d9d868ec8ca1d2f55a2f9
2017-08-30 01:50:27 -07:00
Wes Kocher a8e6d0bd2c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7XpmaFg1k8N
2017-08-29 16:17:13 -07:00
Josh Aas e200863a26 Bug 1298930 - Remove the eRestarti386 and eRestartx86_64 constants. r=spohl
--HG--
extra : amend_source : 303c9a9df47398ad87d86ba6522cbdddbfe647a7
2017-08-29 05:50:00 -04:00
Steve Armand 51f7139dc5 Bug 1390644 - Change the mid-sync state of "Syncing…" to "Syncing Tabs…". r=eoger
MozReview-Commit-ID: Ef1aWhWEnZh

--HG--
extra : rebase_source : 458685d94d16acfb21d080287484869c93d7a091
2017-08-28 21:38:49 -04:00
Nicolas Ouellet-Payeur 5a0bb50ea8 Bug 1392148 - Remove aliases to CommonUtils in util.js r=markh
MozReview-Commit-ID: 1fv6AN0TMNW

--HG--
extra : rebase_source : 083c73e50bfdb2dd121aa483e5aa53ae0e35768d
2017-08-24 22:41:44 -07:00
Mark Hammond c204098ad4 Bug 1392409 - set engine.lastModified to avoid intermittent orange. r=tcsc
MozReview-Commit-ID: 4kPzk9nSWxw

--HG--
extra : rebase_source : 6f4ef917001e2565dd00eefa12876fc897705ca1
2017-08-23 13:59:16 +10:00
Sebastian Hengst 5b02cef919 Backed out changeset 0f63d6c1f3c6 (bug 1377533) for frequently failing xpcshell's toolkit/components/extensions/test/xpcshell/test_ext_api_permissions.js. r=backout 2017-08-24 18:34:43 +02:00
Mathieu Leplatre 5361ecfb8d Bug 1377533 - Remove scattered references to Kinto and Sqlite in blocklist clients r=glasserc,mgoodwin
MozReview-Commit-ID: FExozSDHgNN

--HG--
extra : rebase_source : 3c02d9d13ed9d417171305bf7aa3523b69b8a3fb
2017-06-30 12:07:28 -07:00
Mark Banner a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Mark Hammond 34e7a1eb17 Bug 1355766 - don't treat a 412 response as a sync error. r=kitcambridge
MozReview-Commit-ID: 4IL6RJcP9PC

--HG--
extra : rebase_source : 2e0c3143da1f01eaeb5a30efab2becd367ded36c
2017-08-08 12:02:28 +10:00
Mark Hammond fa4625acc7 Bug 1368951 - add x-if-unmodified-since support to the sync test server. r=tcsc
MozReview-Commit-ID: FF7smwdeQ0k

--HG--
extra : rebase_source : 82f8706d6a27f1bf93b95b93572a2fa37b268b3d
2017-05-31 18:42:45 +10:00
Nicolas Ouellet-Payeur b242392e7d Bug 1353217 - importing bookmarks from html doesn't need to reset the bookmarks engine. r=markh
MozReview-Commit-ID: 4F7KF5ZkNuX

--HG--
extra : rebase_source : 521510fe074fa0f84f28212fa8a230a74dfd2ce8
2017-08-11 00:19:01 +00:00
Mark Hammond 95c51b495b Bug 1383622 (part 2) - update TPS to use the async bookmark API. r=tcsc
MozReview-Commit-ID: CnTx1stPyCY

--HG--
extra : rebase_source : 3123392bd8089c32d228f224baa7aca286f0d75d
2017-08-15 12:44:50 +10:00
Mark Hammond c2aeb7a464 Bug 1383622 (part 1) - convert most of TPS to async/await. r=tcsc
MozReview-Commit-ID: F6kBw1vPBPh

--HG--
extra : rebase_source : 1bd302f66e35a7f078b5dfdc7d9b075e6bfe89f5
2017-08-12 14:09:48 +10:00
Wes Kocher 0ce9a00f9a Backed out 2 changesets (bug 1383622) for eslint failures a=backout
Backed out changeset 60005e2d9ea5 (bug 1383622)
Backed out changeset d229587489da (bug 1383622)

MozReview-Commit-ID: J7N7iCBLsGZ
2017-08-16 16:25:30 -07:00
Mark Hammond 7f2a621327 Bug 1383622 (part 2) - update TPS to use the async bookmark API. r=tcsc
MozReview-Commit-ID: CnTx1stPyCY

--HG--
extra : rebase_source : 31cc8b3952d1d5e52ea84afa72d0b4aaa69c8d4c
2017-08-15 12:44:50 +10:00
Mark Hammond 4b462aadc9 Bug 1383622 (part 1) - convert most of TPS to async/await. r=tcsc
MozReview-Commit-ID: F6kBw1vPBPh

--HG--
extra : rebase_source : 1bd302f66e35a7f078b5dfdc7d9b075e6bfe89f5
2017-08-12 14:09:48 +10:00
Luciano Italiani a13adeddc4 Bug 1377944 - Converts the history engine to use 'PlacesUtils.history.insertMany'. r=kitcambridge
MozReview-Commit-ID: 61IoSuLE5cr

--HG--
extra : source : 26831e829c5a5d5e3026bb97518066f1764482c5
2017-07-31 00:53:50 -03:00
Kit Cambridge 5b94d1f0b3 Bug 1389717 - Ensure `HistoryStore#changeItemID` waits for `fetchURLInfoForGuid`. r=markh,tcsc
MozReview-Commit-ID: CAVdgurQxPj

--HG--
extra : rebase_source : 45c3812ffd1782781a0e6ea8ab72b3fb0a32fcd6
2017-08-11 19:08:04 -07:00
Leni Kadali 2b29093c50 Bug 684121 - Don't access Services.appinfo at import time r=kitcambridge
As stated by Philipp, the prefs engine (PREFS_GUID) accesses Services.appinfo at import time.
Changed code to use a lazy getter on the global object instead.

changed services/sync/modules/engines/prefs.js

MozReview-Commit-ID: 1MAGKM9r1OM

--HG--
extra : rebase_source : 37f3112383f8073d1afa220ff7e8ac4d7fc38ec5
2017-08-13 05:08:48 +03:00
Wes Kocher 5a4357c768 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Mark Hammond 472098beec Bug 1386171 - log urls for synced tabs at trace level. r=eoger
MozReview-Commit-ID: 2veccAv2Bpn

--HG--
extra : rebase_source : 3487ad6937913c663bb81d7f6c99f1deca7d5af7
2017-08-11 14:26:29 +10:00
Thom Chiovoloni 3e1366bdf6 Bug 1388149 - Make PlacesUtils.history.insertMany respect provided GUIDs r=markh
MozReview-Commit-ID: 7g6uABtHKg2

--HG--
extra : rebase_source : 0b43e026ad3de514d2ffbc56568bf3f4e3e17126
2017-08-07 16:01:10 -04:00
Wes Kocher 7651bde05c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9Abf0fILvvK
2017-08-08 15:16:00 -07:00
Eric Rahm 7eae341db9 Bug 1386825 - Part 6: Remove FxAccountsManager now that MOZ_B2G is removed. r=markh
MozReview-Commit-ID: 8ldrMrPqhsV
2017-08-08 14:41:12 -07:00
Eric Rahm fe18bf0131 Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj
MozReview-Commit-ID: 8r4eMwiZ4Vg
2017-08-08 14:41:09 -07:00
Carsten "Tomcat" Book 635b24e121 Merge mozilla-central to autoland 2017-08-08 13:25:29 +02:00
Carsten "Tomcat" Book 0f16d437cc merge mozilla-inbound to mozilla-central a=merge 2017-08-08 13:18:14 +02:00
Phil Ringnalda a51f7dc64c Backed out changeset 26831e829c5a (bug 1377944) at markh's request
MozReview-Commit-ID: 526HN6OCn1A
2017-08-07 20:42:50 -07:00
dagasatvik d4398e95f2 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg

--HG--
extra : rebase_source : 5fc5c6760924da81a6d0708ff0d5586fc62c8c5e
2017-08-07 23:57:51 +05:30
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Mark Hammond 4f08809c1f Bug 1387303 - fix test_places_guid_downgrade.js to work correctly in the new async-sync world. r=eoger
MozReview-Commit-ID: 4bmu45qUmFA
2017-08-04 15:00:51 +10:00
Wes Kocher 5df77c43f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IJRYyJu1sWm
2017-08-02 17:42:10 -07:00
Wes Kocher 017a9b6e9a Merge autoland to central, a=merge
MozReview-Commit-ID: 38bhUR3fKcF
2017-08-02 15:47:58 -07:00
Edouard Oger 2b42c50319 Bug 1385440 - Serialize client commands additions. r=markh
MozReview-Commit-ID: 3qGcHVhOCeL

--HG--
extra : rebase_source : 3d71a5af631d2dd9be59ce0b1495959552f8c640
2017-08-02 11:33:24 -04:00
ffxbld f0e4ae5f8c Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2017-08-02 09:12:05 +01:00
Masatoshi Kimura f143125cc2 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G

--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Rajesh Kathiriya 48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Mark Hammond 6b5f784403 Bug 1384818 - flush sync log files on sync reset. r=eoger
MozReview-Commit-ID: H6CkvHGxAmx

--HG--
extra : rebase_source : 53bede19ec7766c91c30324668dcca8d11f64197
2017-07-27 14:57:47 +10:00
Luciano Italiani 5f4393ac11 Bug 1371746 - Remove unused variables in constants.js. r=kitcambridge
MozReview-Commit-ID: GUQjlWVHPC0

--HG--
extra : rebase_source : 13b127ecf84d8ef5b9a3f99c78960de15eb2a47b
2017-08-01 01:53:56 -03:00
Thom Chiovoloni 5368b04624 Bug 1374722 - Expand the set of ids requested during the initial repair process r=markh
MozReview-Commit-ID: 92SGMd9fJgX

--HG--
extra : rebase_source : 0b6ca2379a03adc4488bf3f679a3f81b18de83b1
2017-06-20 13:40:17 -04:00
Masatoshi Kimura 4f228db6e2 Bug 1387834 - Remove @deprecated nsIDOMWindowUtils.WHEEL_EVENT_CAUSED_BY_PIXEL_ONLY_DEVICE. r=masayuki
MozReview-Commit-ID: 4onWMSGPa4U

--HG--
extra : rebase_source : a5908d04a15fb0e9eb35b7e3c31a050bceafb2e7
2017-08-06 23:44:53 +09:00
Daniel Holbert 3fd6606bcc Bug 1389141: Clean up trailing newline for 2 files in "services" directory. r=markh
DONTBUILD because whitespace-only.
Notes:
 * hawkrequest.js has a redundant trailing newline; this patch removes it.
 * browser.ini is missing a trailing newline; this patch gives it one.

MozReview-Commit-ID: DYstjpDejgg
2017-08-10 15:55:50 -07:00
Luciano Italiani b3c6e06245 Bug 1377944 - Converts the history engine to use 'PlacesUtils.history.insertMany'. r=kitcambridge
MozReview-Commit-ID: 61IoSuLE5cr

--HG--
extra : rebase_source : e3a84dc40e99b27e1beaa9dd9ceec4c2e41487e8
2017-07-31 00:53:50 -03:00
Sebastian Hengst 804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya 22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
tiago 7a9b4d8b79 Bug 1336518 - Move Sync history queries into PlacesSyncUtils. r=kitcambridge
MozReview-Commit-ID: Lood8ivLeJf

--HG--
extra : rebase_source : dcb8207378afc6ce2995acfe4f235f3ed728a188
2017-07-30 17:46:56 -03:00
Kit Cambridge 5c9899d993 Bug 1383621 - Use the async bookmarks API to insert the mobile query. r=markh
MozReview-Commit-ID: KaeXwFHEg7K

--HG--
extra : rebase_source : b67f8662e221614041aad391d71bdf381ce4e8b0
2017-07-24 16:45:17 -07:00
Mark Hammond 8d2320d13f Bug 1385191 - Prefer email address from the FxA profile over that from the account. r=eoger
MozReview-Commit-ID: 78U2RZQ5xfB

--HG--
extra : rebase_source : b79b18ea8c545003998692cd97c7ad5d6606c7f7
2017-07-28 16:35:40 +10:00
Carsten "Tomcat" Book 892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Sebastian Hengst 99daef93ea Backed out changeset face8d3f9fb9 (bug 1384818) for frequently failing xpcshell's services/sync/tests/unit/test_errorhandler_2.js on Linux. r=backout 2017-07-28 10:48:07 +02:00
Kit Cambridge c8885211ce Bug 1385127 - Enable bookmark validation on early Beta. r=markh
MozReview-Commit-ID: h1ps0YebkW

--HG--
extra : rebase_source : 76f35b04fd37fbed82f483e526194e8a1a7623ea
2017-07-27 16:07:14 -07:00
Mark Hammond 4f86008efc Bug 1384818 - flush sync log files on sync reset. r=eoger
MozReview-Commit-ID: H6CkvHGxAmx

--HG--
extra : rebase_source : 4fd55ac857c225e0a7de35f0049e873cc362b2db
2017-07-27 14:57:47 +10:00
Marco Castelluccio 3ad4c3d247 Bug 1384936 - Remove weave_version definition and directly replace the constant in modules/constants.js in the gecko migration script, to avoid the need for the preprocessor in modules/constants.js. r=rnewman,rail
--HG--
extra : rebase_source : b6f4ed4929ab6405fa726fbc25ea6748f871c07b
2017-07-27 16:22:53 +02:00
Nicolas Ouellet-Payeur 250eef68d6 Bug 1375212 - Wrap thrown strings in Error objects r=eoger,markh
MozReview-Commit-ID: KquBcbNhBEN

--HG--
extra : rebase_source : 172bcad2eb178092bc7d49940db61e8cb5ad6572
2017-07-22 18:55:43 -07:00
Kit Cambridge 932f724512 Bug 1382363 - Change most uses of `promiseDBConnection` to `withConnectionWrapper` in `PlacesSyncUtils`. r=markh
The read-only `promiseDBConnection` can return stale data if writes
are still pending. This patch changes `PlacesSyncUtils` to use the
read-write `withConnectionWrapper` instead, ensuring we fetch
up-to-date info.

I didn't change `fetchURLFrecency` and `fetchGuidsWithAnno`.
`fetchURLFrecency` is only used to set the sort index for history
records, and frecency is recalculated in the background, anyway.
`fetchGuidsWithAnno` is only used in tests.

MozReview-Commit-ID: Gq16sNm7K2e

--HG--
extra : rebase_source : e597233dae23d7582f34faeb83365896b6c22a75
2017-07-25 11:53:45 -07:00
Wes Kocher 65bbd0525a Merge inbound to central, a=merge
MozReview-Commit-ID: E4oXfAM1mtd
2017-07-25 19:04:37 -07:00
Rob Cutmore 061209972d Bug 1368568 - Remove legacy SyncKeyBundle. r=eoger
MozReview-Commit-ID: JYiTeQnduto
2017-07-25 11:40:14 -04:00
Thom Chiovoloni 92f8a06bee Bug 1383773 - Fix race between browser and TPS initialization. r=markh
MozReview-Commit-ID: 7Ie1IzRzEbI

--HG--
extra : rebase_source : 0f113c56ea473273f889ebd0e2f6fc148cd2fe91
2017-07-24 11:10:32 -04:00
Thom Chiovoloni 89e20571b9 Bug 1383835 - Increase the amount of time TPS waits after a tab sync before continuing r=markh
MozReview-Commit-ID: 1cvmtpkjSbX

--HG--
extra : rebase_source : 7b9c022082498c5c901534177ed3441669e05990
2017-07-24 14:01:03 -04:00
Edouard Oger dfba49cf8d Bug 1122443 - Decrease FxA email status polling frequency. r=markh
MozReview-Commit-ID: L8QQwgWqsyH

--HG--
extra : rebase_source : 75c1a88b05c788ff32c30f8b4b03513e8f217614
2017-07-19 16:05:34 -04:00
Mark Hammond 1e3bdd598f Bug 1382913 - throw an error when a non existing observer is removed from observers.js. r=kitcambridge
MozReview-Commit-ID: AR2IPDH0Rpw

--HG--
extra : rebase_source : c533d5a5e086fc43c9c847297c3fba97ed9e25d7
2017-07-25 13:59:44 +10:00
Thom Chiovoloni 23b85ab316 Bug 1337978 - Unify the multiple notions of 'weak upload' in sync. r=kitcambridge,markh
MozReview-Commit-ID: 5vTCAhUfMzm

--HG--
extra : rebase_source : fea6783352868e15481a751923aac2a166ad5506
2017-07-18 14:18:04 -04:00
Shane Tomlinson f3248efb0d Fix the private browsing mode check in FxAccountsWebChannel.jsm (bug 1378766) r=eoger,markh
The private browsing mode check reached into the sendingContext's browser's docShell
for it's check, the Law of Demeter was shattered.

PrivateBrowsingUtils.jsm provides all the functionality needed for the check,
just call PrivateBrowsingUtils.isBrowserPrivate with the sendingContext's browser.

MozReview-Commit-ID: DRIU1fy94ml
***
Bug 1378766 - Remove the `sendingContext.browser` defined check

MozReview-Commit-ID: GWFFggOoItP

--HG--
extra : rebase_source : 1c99ee2ea2cceee185ba20ff54e6e67f86f10766
2017-07-20 10:35:47 +01:00
Thom Chiovoloni 9a475a45bf Bug 1382044 - Disable addon validation during some phases of TPS's test_addon_nonrestartless_xpi.js. r=markh
MozReview-Commit-ID: 112UJWjF7R4

--HG--
extra : rebase_source : d398e93deb2d5bd7cc43d96eb37580552b8e2d72
2017-07-18 19:56:50 -04:00
Kit Cambridge 8893010bae Bug 1380835 - Don't check queries with `excludeQueries` for cycles in the bookmark validator. r=tcsc
MozReview-Commit-ID: DsPzrCxWWMG

--HG--
extra : rebase_source : 25281ab8f8d53901d960a738212361831b12fc55
2017-07-13 19:52:57 -07:00
Kit Cambridge 8fc0f2d795 Bug 1377183 - Manually follow folder queries when validating bookmarks. r=tcsc
MozReview-Commit-ID: K3nl5GcilMz

--HG--
extra : rebase_source : 3704f00919170e12652e4d977c50604d6f94ce49
2017-07-05 17:00:50 -07:00
Mark Banner 35f3666937 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr

--HG--
extra : rebase_source : 74ba4c10e369067629af95bf705a9acd0df1089b
2017-07-11 22:49:55 +01:00
Thom Chiovoloni 764f64b2d5 Bug 1380094 - services/sync changes to support formautofill r=markh
MozReview-Commit-ID: BdsrrFOU5ec

--HG--
extra : rebase_source : b7bc64fd510c9db60c6788cda94a07b1a53d0594
2017-07-11 15:15:37 -04:00
Edouard Oger 314ef330a0 Bug 1210296 part 2 - Update tests. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: 41dnyvdlNJv

--HG--
extra : rebase_source : 4c6e3cc63d4861d176ba053a1cff872c04f0f3b3
2017-06-05 18:49:43 -04:00
Edouard Oger 0943c36687 Bug 1210296 part 1 - Remove most event loop spinning from Sync. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: 9RpgSgXykWt

--HG--
extra : rebase_source : 834df5b9b38a8332885a6c488f64215b550cad33
2017-06-05 18:50:07 -04:00
Edouard Oger f4f4832d9e Bug 1369539 - Sync UI startup performance improvements. r=florian,markh
MozReview-Commit-ID: 7ibJokJttLh

--HG--
extra : rebase_source : 7eac08de35da72744ce4b101d4f52229fe0e0688
2017-07-04 14:23:33 -04:00
Wes Kocher f3484aa1b2 Backed out changeset dec7cb09336e (bug 1369539) for test_uistate.js failures a=backout
MozReview-Commit-ID: 4SBjyEI1v6q
2017-07-10 16:51:15 -07:00
Edouard Oger 98e6346e07 Bug 1369539 - Sync UI startup performance improvements. r=florian,markh
MozReview-Commit-ID: 7ibJokJttLh

--HG--
extra : rebase_source : 3b6790b0daa7b2e8eb96e4a4371a56ea964cc2e1
2017-07-04 14:23:33 -04:00
Rajesh Kathiriya 881bce09ea Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW

--HG--
extra : rebase_source : 84bccaeba083bc430316d3c80d5c8f56494f1950
2017-07-04 21:30:18 +05:30
Kit Cambridge 0c16f513c9 Bug 1378551 - Separate `pullNewChanges` and `markChangesAsSyncing`. r=markh
MozReview-Commit-ID: FcysoHJtG60

--HG--
extra : rebase_source : 902460b486ef230c939608ee9bede93374069776
2017-07-05 13:49:48 -07:00
Mark Hammond 0b5dba6e10 Bug 1378669 - blank tab may be opened on FxA 'collection changed' notification. r=eoger
MozReview-Commit-ID: Lm3iCVO6slq

--HG--
extra : rebase_source : d9ffb315d6864d000712f47055984aa00cef01ad
2017-07-06 16:31:57 +10:00
Kit Cambridge a4f06209c9 Bug 1378545 - Ensure `test_misreconciled_root` waits for the test server to start. r=markh
MozReview-Commit-ID: AyjdR5hfSOf

--HG--
extra : rebase_source : 9483f7f2d0c0437da1a3e97d9477ea8eae243843
2017-07-05 15:19:17 -07:00
Mathieu Leplatre 778f047057 Bug 1376874 - Close blocklist Sqlite connection on shutdown r=mak
MozReview-Commit-ID: LUV9b8U8jGY

--HG--
extra : rebase_source : 607f8054ad00387f17d124c87c0b0b12ce3ee2e2
2017-07-04 12:36:08 +02:00
Edouard Oger 03c81660b0 Bug 1377200 - Ensure Sync can recover after a profile refresh. r=markh
MozReview-Commit-ID: FeId4ANTNX9

--HG--
extra : rebase_source : 5c3f69ee524584617635375d9bc416fc57e9a67e
2017-07-04 15:03:43 -04:00
Kit Cambridge 31ccf3dc94 Bug 1360872 - Return empty strings for `null` bookmark titles. r=mak
MozReview-Commit-ID: Dd2sEfYvnBt

--HG--
extra : rebase_source : 963b09955610d099b1acb508472a2a3c24202d73
2017-06-06 14:37:22 -07:00
Phil Ringnalda 915412e692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HINQtggBLDr
2017-07-01 17:36:09 -07:00
Princi Vershwal 75404533d2 Bug 1369834 - Add Firefox Accounts Verify Login Push Notification. r=eoger 2017-06-23 02:34:07 +05:30
Mark Hammond 663a825756 Bug 1366658 - Tweak engine registration process to better facilitate external engines. r=tcsc
MozReview-Commit-ID: GRKQEwkpbWc

--HG--
extra : rebase_source : b274e37f446f6c78ea3d07a97eeec0354d2dd257
2017-05-19 16:53:54 +10:00
Thom Chiovoloni da3259e8e2 Bug 1377578 - Fix TPS to keep it's addons and tabs tests passing r=markh.
MozReview-Commit-ID: LkFyMrD12Hk

--HG--
extra : rebase_source : f57309da133119955156bc1a8020a7674150e244
2017-06-30 15:15:24 -07:00
Mathieu Leplatre 35cef461b5 Bug 1376618 - Load initial blocklist data as synced r=mgoodwin
MozReview-Commit-ID: FZ5XDv4FCEo

--HG--
extra : rebase_source : 441d128585e4eef19dc36a345ff8c62000c0fd4b
2017-06-29 15:44:00 -07:00
Sebastian Hengst acb0601c26 Backed out changeset d7e7ced3622f (bug 1360872) for failing xpcshell's test_async_transactions.js | test_creating_and_removing_a_separator, at least on OS X. r=backout 2017-06-30 19:29:17 +02:00
Kit Cambridge c1537b7958 Bug 1360872 - Return empty strings for `null` bookmark titles. r=mak
MozReview-Commit-ID: Dd2sEfYvnBt

--HG--
extra : rebase_source : 8b09ca049f0891cfc3a909f7b7d2807511586b48
2017-06-06 14:37:22 -07:00
Sebastian Hengst 2cfb02f19d Backed out changeset c0fd6c0590be (bug 1360872) for unused parentId at toolkit/components/places/Bookmarks.jsm:461. r=backout 2017-06-30 00:16:35 +02:00
Kit Cambridge e80441db92 Bug 1360872 - Return empty strings for `null` bookmark titles. r=mak
MozReview-Commit-ID: Dd2sEfYvnBt

--HG--
extra : rebase_source : bea2d2589b2a09ba70a5c8e2b50ceee21acf3f0b
2017-06-06 14:37:22 -07:00
Mark Banner ca6826260e Bug 1119282 - Fix the sync bookmark validator cycle detection to correctly get folder contents. r=kitcambridge
MozReview-Commit-ID: BjRD5wKbAoy

--HG--
extra : rebase_source : 9eb28f31351d4e5256e4aa6e3a87af6a9c934568
2017-06-29 10:49:10 -07:00
Carsten "Tomcat" Book 5f00ae3a8b merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
Benjamin Smedberg 53c93f8449 Bug 1367813 - 1) Add telemetry for prefs.js not existing or being corrupted, and the presence of a user.js file. 2) Rename and change the nsIPrefService.readUserPrefs API. The new API reads user prefs from a file but doesn't remember that location or save changed preferences to that location. r=milan data-r=rweiss
MozReview-Commit-ID: FD5npJlB24W

--HG--
extra : rebase_source : d30bac5044ecb8d86253e8bca3e8d47371fb9d1f
extra : source : 4f0ee0f75a307095e4a04afe4413e5bb6ea8e502
2017-06-21 15:26:10 -04:00
Edouard Oger 58f16ee440 Bug 1374501 - Allow extra sync engines to be activited using FxA Web Channels. r=markh,stomlinson
MozReview-Commit-ID: HykDad81Ifh

--HG--
extra : rebase_source : d07f048b5f96e7fa9b1fc7130b4f518ac5527075
2017-06-21 13:55:05 -04:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Mark Hammond 7e61aa8e97 Bug 1373093 - Add operating system information to the desktop Sync ping. r=tcsc
MozReview-Commit-ID: 9ypnosSawxu

--HG--
extra : rebase_source : 8a0192c70917c952431693c6864f96f7fd9b278e
2017-06-21 12:28:25 +10:00
Jeongkyu Kim 728bae404f Bug 1348727 - Write validation summary information to the sync logs r=tcsc
MozReview-Commit-ID: GRf0DeDhFqP

--HG--
extra : rebase_source : de2b49d55f4cbb4926475851deae298a16423ec9
2017-06-24 02:08:43 +09:00
Phil Ringnalda c636da88e0 Backed out changeset 4f0ee0f75a30 (bug 1367813) for Windows opt permaorange in test_worker_basic.html
MozReview-Commit-ID: 2k693yFa28r
2017-06-22 20:43:11 -07:00
Benjamin Smedberg 5cf8c34a94 Bug 1367813 - 1) Add telemetry for prefs.js not existing or being corrupted, and the presence of a user.js file. 2) Rename and change the nsIPrefService.readUserPrefs API. The new API reads user prefs from a file but doesn't remember that location or save changed preferences to that location. r=milan data-r=rweiss
MozReview-Commit-ID: FD5npJlB24W

--HG--
extra : rebase_source : 049275836880f0aa4d19a9af2de9ec4101432b44
2017-06-21 15:26:10 -04:00
Florian Quèze 1e40201f6d Bug 1374282 - script generated patch to remove useless bind calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Florian Quèze 66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Andrew McCreight 3e60ae3dd8 Bug 1375133 - Remove unnecessary imports of btoa and atob in services/ code. r=markh
There are a few places in services/ tests that import btoa and atob,
but this is not necessary, because those are both defined on the
XPCShell global (by glob_functions in XPCShellImpl.cpp). It sounds
like it didn't work at some point on B2G (see bug 937114) but that
isn't relevant any more. I want to fix this because the way these
properties are imported will break with shared JSM globals.

MozReview-Commit-ID: HoxqIS98p7B

--HG--
extra : rebase_source : 7800baee8ebc5e3ab3f52a62e30e5cde8d19876b
2017-06-21 09:56:57 -07:00
Wes Kocher ac0fd2038c Merge inbound to m-c a=merge
MozReview-Commit-ID: 3LXFVwSoMvs
2017-06-21 17:58:17 -07:00
Nathan Froyd b28fcc5c4b Bug 1372670 - part 5 - add nsIThreadManager::spinEventLoopUntilEmpty; r=erahm,florian
A number of places in JS need to drain the current thread's event queue,
which cannot be done with nsIThreadManager::spinEventLoopUntil, since we
need to not wait for an incoming event when attempting to process one.
2017-06-21 12:59:28 -04:00
Nathan Froyd 27c58cf89f Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Carsten "Tomcat" Book 8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Mark Hammond a1b09f054d Bug 1374599 - neuter the sync scheduler during some tests to avoid oranges. r=standard8
MozReview-Commit-ID: Ihun5yu3hit

--HG--
extra : rebase_source : 9448411e072d144456e7672b92699cdf288a13fc
2017-06-21 14:53:07 +10:00
Wes Kocher c0e1236f1a Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Paolo Amadini 375f5f7210 Bug 1362970 - Part 3 - Fix indentation and one misuse of "catch". r=florian
MozReview-Commit-ID: 2oFOmye7EUr

--HG--
extra : rebase_source : 1b575a89ff3f0dc7683f1c25bde12de6859c17be
extra : source : eb61cf8f77d22f0cf026056615a475c2e04f932a
2017-06-16 11:16:00 +01:00
Paolo Amadini 10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Carsten "Tomcat" Book de892834ed Merge mozilla-central to mozilla-inbound 2017-06-20 11:31:34 +02:00
Thom Chiovoloni a208081e56 Bug 1357798 - Ensure URLs don't end up in sync error telemetry. r=markh
MozReview-Commit-ID: AxFzysv0ks3

--HG--
extra : rebase_source : 6b2aa9354ed9540c5cdb8f537eaca7080c97a4eb
2017-06-12 13:38:39 -04:00