Commit Graph

4713 Commits

Author SHA1 Message Date
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
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