Amy Chan
711220e6e7
Bug 1446975 - Replace synced Tabs sidebar device icons. r=eoger
...
MozReview-Commit-ID: GnawrVrfpEz
--HG--
rename : browser/themes/shared/icons/device-mobile.svg => browser/themes/shared/icons/device-phone.svg
2018-04-12 16:18:22 -04:00
Thom Chiovoloni
c67edfba07
Bug 1453804 - Ensure sync password validator will ever run r=markh
...
MozReview-Commit-ID: 8weadIdJHjl
--HG--
extra : rebase_source : c4248fc5408d6daada4681fd0d51937103df5f92
2018-04-12 14:40:00 -07:00
Thom Chiovoloni
7be53b64d3
Bug 1453507 - Fix and simplify TPS's logout procedure r=eoger
...
MozReview-Commit-ID: CvnXAT0nanB
--HG--
extra : rebase_source : 00736a60200a1a4c6895493836709a5cacb156c2
2018-04-11 15:40:17 -07:00
Kit Cambridge
b291ceb1ab
Bug 1452294 - Improve logging for records in bookmark mirror. r=markh
...
MozReview-Commit-ID: 69eJrbo89Sx
--HG--
extra : rebase_source : f6ef5d721ede920431540aaa5af1bc1a90f6111f
2018-04-06 17:15:28 -07:00
Thom Chiovoloni
779c8d62b8
Bug 1450152 - Handle changing services.sync.engine.bookmarks.buffer at runtime r=kitcambridge,markh
...
MozReview-Commit-ID: 2ImuLBcJVAl
--HG--
extra : rebase_source : 9a481ca3f748d865a49780045cd575995f6e4d2f
2018-04-03 13:55:27 -07:00
Mark Hammond
e7aa38e0ae
Bug 1448184 - only send notifications of history batch updates when we actually have updates. r=standard8,tcsc
...
MozReview-Commit-ID: CvXVSK9Dy8S
--HG--
extra : rebase_source : 6a013ec0dd496032fcf83508f55670179c9ca241
2018-03-23 10:35:00 +11:00
Cosmin Sabou
1c63708860
Backed out changeset 9bff182dc722 (bug 1448184) for ESlint failure on /builds/worker/checkouts/gecko/services/sync/modules/engines/history.js CLOSED TREE
2018-04-09 08:02:53 +03:00
Mark Hammond
04256a06f6
Bug 1448184 - only send notifications of history batch updates when we actually have updates. r=standard8,tcsc
...
MozReview-Commit-ID: CvXVSK9Dy8S
--HG--
extra : rebase_source : 9b2d59a2b8ee78700a6f89b1ab3f5789868f24ca
2018-03-23 10:35:00 +11:00
Marco Bonardo
a221478852
Bug 1293445 - 3 - Handle Sync tag queries rewrite. r=kitcambridge
...
MozReview-Commit-ID: DUXHCbMo5fI
--HG--
extra : rebase_source : aaea5847519e11d632388e1af970637e3939fc36
2018-03-27 18:30:52 +02:00
Edouard Oger
32177401d2
Bug 1450516 - Do not show last sync date if is not present. r=markh
...
MozReview-Commit-ID: GiZYeFzXujB
--HG--
extra : rebase_source : 01b563546fc76890a100010871b2f7c7d0704e8e
2018-04-03 14:08:57 -04:00
ui.manish
91092f7582
Bug 1447173 - Sync should only log output installed addons in error logs at trace level r=tcsc
2018-04-02 19:41:32 +02:00
Thom Chiovoloni
1aca199f54
Bug 1450316 - Run sync's test_utils_makeGUID.js sequentially r=kitcambridge
...
MozReview-Commit-ID: 8TneGQLTaD4
--HG--
extra : rebase_source : 139358767d21271da7bef77931e49568c99d5b35
2018-03-30 11:13:54 -07:00
Edouard Oger
d4d4e67f2f
Bug 1448165 p1 - Simplify and factorize FxAccounts signout mechanism. r=markh
...
Since FxA's /session/destroy now also removes the current device registration,
there's no need to differenciate signouts w/ and w/o device registration.
MozReview-Commit-ID: 3lHV3JC1NU6
--HG--
extra : rebase_source : 3d5e7f456cfb3daf3c069b78a3c1c8182c6151ee
2018-03-22 11:54:38 -04:00
Thom Chiovoloni
9c92761c4d
Bug 1449248 - Manually add handler for resource://tps uri in TPS r=kitcambridge
...
MozReview-Commit-ID: 97YR2gOlOKC
--HG--
extra : rebase_source : 1766078e99e8b8e08677c0339ce5e8e34be868c8
2018-03-27 10:12:44 -07:00
Kit Cambridge
c692953fb7
Bug 1426556 - Store the bookmarks sync ID in the mirror. r=markh
...
MozReview-Commit-ID: iozvhyCfle
--HG--
extra : rebase_source : 556d5406ce449b45208e3370f05da915024ce0d1
2018-03-23 17:39:41 -07:00
Kit Cambridge
94aaf48948
Bug 1448929 - Fix first sync check in `gSync.syncConfiguredAndLoading`. r=eoger
...
MozReview-Commit-ID: 8Xk6DMHroTm
--HG--
extra : rebase_source : eba433ff16f9b3088958878cdc7223ec68f68e18
2018-03-26 09:35:29 -07:00
Kris Maglione
b1eb2466a3
Bug 1446686: Follow-up: Fix sync tests that load head_addons.js and fixture add-ons from add-on manager tests. r=they're-lucky-i-don't-just-disable-the-tests,test-only
...
MozReview-Commit-ID: C9kNoWVsxYY
--HG--
extra : rebase_source : a28be4f9e395e853ea477ba0b59293f347eedf83
extra : amend_source : 81c141c49a328f85c1f99bbbd0416064f294abb9
2018-03-25 20:12:11 -07:00
Mark Hammond
a4af7ce035
Bug 1448171 - remove old and unused database access references from sync history engine. r=tcsc
...
MozReview-Commit-ID: 4t8ugzHrxbh
--HG--
extra : rebase_source : ab6aa9feec14f958d263bae121f306b6db94a59c
2018-03-23 09:27:33 +11:00
Mark Banner
6a8780cc8d
Bug 1444094 - Remove remaining support for the places/excludeFromBackup annotation. r=mak
...
MozReview-Commit-ID: 56dWvia8yIC
--HG--
extra : rebase_source : e2479799091a72ea6b8b86088e42d352f8065d5e
2018-03-21 10:06:10 +00:00
arthur.iakab
24af737f4c
Merge inbound to mozilla-central. a=merge
2018-03-22 01:46:39 +02:00
arthur.iakab
fda9fc4c79
Merge mozilla-central to autoland
2018-03-21 21:28:49 +02:00
arthur.iakab
6b204e5710
Merge autoland to mozilla-central. a=merge
2018-03-21 21:10:52 +02:00
Sebastian Hengst
65d6e8f735
Backed out 5 changesets (bug 1446676) for timeouts in talos-chrome-profiling on OS X. a=backout
...
Backed out changeset 5d3eb0526d8b (bug 1446676)
Backed out changeset d6bda91c66d6 (bug 1446676)
Backed out changeset 71d65d6b6499 (bug 1446676)
Backed out changeset aabfc0197692 (bug 1446676)
Backed out changeset ad8214a6cf04 (bug 1446676)
--HG--
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
2018-03-21 20:51:03 +02:00
Tiberius Oros
649398dfd9
Merge inbound to mozilla-central. a=merge
2018-03-21 12:03:08 +02:00
Kris Maglione
47469232dd
Bug 1446571: Follow-up: Fix sync tests that misuse resources from add-on manager tests. r=bustage
...
MozReview-Commit-ID: 71lWts76HnJ
2018-03-20 20:26:46 -07:00
Kris Maglione
946e1ef0b5
Bug 1446676: Part 2 - Update non-overlay automation extensions to be bootstrapped. r=Mossop
...
In order to remove support for non-bootstrapped extensions, the remaining test
automation extensions need to be migrated to bootstrapped extensions. These
extensions all work by loading a single component, either with a
profile-after-change or command line handler. This is a straightforward
conversion of those components to bootstrap.js scripts.
MozReview-Commit-ID: 5uyNSqRPIVR
--HG--
rename : services/sync/tps/extensions/tps/components/tps-cmdline.js => services/sync/tps/extensions/tps/bootstrap.js
rename : testing/talos/talos/pageloader/components/tp-cmdline.js => testing/talos/talos/pageloader/bootstrap.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js => testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js
rename : testing/talos/talos/talos-powers/components/TalosPowersService.js => testing/talos/talos/talos-powers/bootstrap.js
rename : tools/quitter/QuitterObserver.js => tools/quitter/bootstrap.js
extra : rebase_source : 738264d0ec8701aa5cf93c6dac958d88756c1e55
extra : source : 71d65d6b64997bc608a1cb3c924be35bbd460b39
2018-03-16 22:06:22 -07:00
arthur.iakab
5e8092339a
Merge mozilla-central to inbound
...
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
Thom Chiovoloni
cb131c0c3a
Bug 1363581 - (part 2) Make RESTRequest's public API use promises and not callbacks r=markh
...
This also took the opportunity to clean up and modernize code it touched (mostly tests,
which needed changes but not quite as many changes as I ended up making).
MozReview-Commit-ID: ApPUTHXFprM
--HG--
extra : rebase_source : b6f44e4cbd62e2e41fd12d70e12362a4afcb4cb2
2018-03-14 20:34:50 -07:00
Thom Chiovoloni
29b065e859
Bug 1447513 - Make sure we sync at the start of test_history_collision phase 2 r=markh
...
This patch also improves the DumpHistory logging to make it include GUIDs.
MozReview-Commit-ID: 9X3YLe8mnwW
--HG--
extra : rebase_source : fca04a1772e67e193b2f3dca73e2a9d82f894212
2018-03-20 17:17:12 -07:00
Thom Chiovoloni
670a898cc3
Bug 1447526 - Flush tab state in TPS after adding a tab. r=markh
...
MozReview-Commit-ID: 6LSi2ToGPUu
--HG--
extra : rebase_source : 2ff42c6e0a64bf55d9c571dc3a21a349dd3e3cff
2018-03-20 18:48:16 -07:00
Peter Van der Beken
f5754d679a
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
...
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Kris Maglione
c69ba360c1
Bug 1446676: Part 2 - Update non-overlay automation extensions to be bootstrapped. r=Mossop
...
In order to remove support for non-bootstrapped extensions, the remaining test
automation extensions need to be migrated to bootstrapped extensions. These
extensions all work by loading a single component, either with a
profile-after-change or command line handler. This is a straightforward
conversion of those components to bootstrap.js scripts.
MozReview-Commit-ID: 5uyNSqRPIVR
--HG--
rename : services/sync/tps/extensions/tps/components/tps-cmdline.js => services/sync/tps/extensions/tps/bootstrap.js
rename : testing/talos/talos/pageloader/components/tp-cmdline.js => testing/talos/talos/pageloader/bootstrap.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js => testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js
rename : testing/talos/talos/talos-powers/components/TalosPowersService.js => testing/talos/talos/talos-powers/bootstrap.js
rename : tools/quitter/QuitterObserver.js => tools/quitter/bootstrap.js
extra : rebase_source : 2df7dce1afe4e9e4054d12adfc1553e5f5d417e2
2018-03-16 22:06:22 -07:00
Edouard Oger
9b6026748b
Bug 1184265 - Make last sync date be relative. r=markh
...
MozReview-Commit-ID: 2hB9F7Elynh
--HG--
extra : rebase_source : dbf962b1fd3f4121f0bcc8276e932f0c49ab90b3
2018-03-20 17:08:16 -04:00
Thom Chiovoloni
3fd394bab6
Bug 1447104 - Update addon metadata in TPS to new format r=markh
...
MozReview-Commit-ID: BqxqzH2OppR
--HG--
extra : rebase_source : b5fcd848983999c49553bcbfd0f1e9ecbfa69e3d
2018-03-19 13:19:13 -07:00
Dylan Turner ext:(%2C%20Kit%20Cambridge%20%3Ckit%40yakshaving.ninja%3E)
f830bc92bd
Bug 1295510 - Replace all uses of `new String` with POJOs in Sync. r=eoger,tcsc
...
MozReview-Commit-ID: K9jni7AbPsu
--HG--
extra : rebase_source : aa7164ad089bffbff4b9be3c0b056d83b82eb635
2018-03-16 17:38:17 -07:00
Mark Banner
5d0c2063f4
Bug 1437516 - Remove nsINavHistoryService/nsINavBookmarksService::runInBatchMode. r=mak
...
MozReview-Commit-ID: D1H3xdjpMAx
--HG--
extra : rebase_source : 3ad1d72758c20bf0b4964d212565c720654984e0
2018-03-13 16:19:33 +00:00
Kit Cambridge
242cde0bed
Bug 1199077 - Sync changes to store the history sync ID and last sync time in Places. r=markh
...
MozReview-Commit-ID: 59kON9kHvfP
--HG--
extra : rebase_source : 2a56151e79a8928681bbbaa818bcb98e60c859c4
2018-02-16 19:32:52 -08:00
Kit Cambridge
d7bcbba2d7
Bug 1199077 - Sync changes to store the bookmarks sync ID and last sync time in Places. r=tcsc
...
MozReview-Commit-ID: 6ddzpNtMmzb
--HG--
extra : rebase_source : a1cbf5aefbcf13360322a1ba51ae6e0ec1808264
2018-03-02 15:32:19 -08:00
Kit Cambridge
0c40fa1232
Bug 1199077 - Split change sources for automatic and manual bookmark restores. r=mak
...
MozReview-Commit-ID: 1glcCPj2X90
--HG--
extra : rebase_source : 2d8372029df5851ecbb30a65393325442addd84c
2018-03-01 13:37:13 -08:00
Kit Cambridge
c108e1ce76
Bug 1199077 - Convert `lastSync` and `syncID` into async accessors. r=eoger
...
MozReview-Commit-ID: Ltkmo8qAgjK
--HG--
extra : rebase_source : e33d3b873fe9638520605ed33fe2359519ae1760
2018-03-02 14:53:06 -08:00
Thom Chiovoloni
e3b03845cc
Bug 1031855 - Add test that sync password application does the right thing for duplicates. r=markh
...
MozReview-Commit-ID: HIrWdzAZmkC
--HG--
extra : rebase_source : e5e172f0a07716fc569b91fa4ab91ff99aa654a0
2018-03-07 13:01:12 -08:00
Mark Banner
2155e56144
Bug 1310295 - Make left pane queries virtual in the Places Library window. r=kitcambridge,mak
...
MozReview-Commit-ID: DcEMAlrXu8R
--HG--
extra : rebase_source : c98e6a50702ef0c238d036fa2a26f4a6ac9f15af
2018-02-16 20:30:04 +00:00
Dorel Luca
7065341d2f
Backed out 2 changesets (bug 1310295) for Mochitest and TV failures on browser/components/places/tests/browser/browser_bookmark_folder_moveability.js
...
Backed out changeset a277657bfffa (bug 1310295)
Backed out changeset b1af75c617ea (bug 1310295)
--HG--
extra : rebase_source : cb7317f5afa7c828ec3b6d9b7679b474fa9cf5da
2018-03-14 18:23:46 +02:00
Mark Banner
80abee119b
Bug 1310295 - Make left pane queries virtual in the Places Library window. r=kitcambridge,mak
...
MozReview-Commit-ID: DcEMAlrXu8R
--HG--
extra : rebase_source : a956958f5c9adde0ee775e9bc918a8970564bbb7
2018-02-16 20:30:04 +00:00
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
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
Mark Banner
6afe18b30a
Bug 1440379 - Tidy up ESlint no-unused-vars definitions wrt Ci/Cu/Cr/Cc usage for varsIgnorePattern. r=florian
...
MozReview-Commit-ID: HmliR8iNRDq
--HG--
extra : rebase_source : 483ae0b54b9e781cceac2accdfb2255d725ace6a
2018-02-22 16:55:36 +00:00
Marco Bonardo
2148575790
Bug 1432426 - Remove synchronous Bookmarks::moveItem. r=standard8
...
MozReview-Commit-ID: Bg5Py6aiEDw
--HG--
extra : rebase_source : 1b2bbd46ee3e7c374b172553ebb9ed9da59def70
2018-02-24 16:10:47 +01:00
Mark Hammond
0ed1cfff09
Bug 1435929 - refactor browserid_identity.js to be less confusing and error prone. r=eoger,tcsc
...
MozReview-Commit-ID: IJPQv4ZvJlp
--HG--
extra : rebase_source : b3ed7ebfc2ccaf1dd23775372b2f4bb04b526ad8
2018-02-06 14:05:45 +11:00
Ciure Andrei
2a61dd0967
Backed out changeset 2e7cc4dc999c (bug 1435929) for eslint failure at /builds/worker/checkouts/gecko/services/sync/modules/browserid_identity.js a=backout on a CLOSED TREE
2018-02-25 09:37:26 +02:00
Mark Hammond
6afd2c2ec1
Bug 1435929 - refactor browserid_identity.js to be less confusing and error prone. r=eoger,tcsc
...
MozReview-Commit-ID: IJPQv4ZvJlp
--HG--
extra : rebase_source : d3052d120778dc1e8111ba76ee9df285d5483786
2018-02-06 14:05:45 +11:00
Mark Banner
4bc9f77582
Bug 1440718 - Enable no-unused-vars for global scope on jsm files in services/sync/. r=kitcambridge
...
MozReview-Commit-ID: 77z0qScZw2P
--HG--
extra : rebase_source : a2fa7688e72e225bc54a047c2e46822f13af21f2
2018-02-23 17:05:05 +00:00
Sebastian Hengst
7be9fed7d0
merge mozilla-inbound to mozilla-central. a=merge
2018-02-24 02:58:35 +02:00
Florian Quèze
682b1ec3b2
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Marco Bonardo
e3b58c0292
Bug 656936 - Remove Bookmarks::GetRemoveFolderTransaction. r=standard8
...
MozReview-Commit-ID: DLyjzC7ODyB
--HG--
extra : rebase_source : 4d71ab1909ca6e1065e31dc1824de3b119e05e7c
2018-02-23 17:27:43 +01:00
Cosmin Sabou
bfd2fc78a3
Backed out changeset a2147499c437 (bug 1434706) for frequent mochitest browser chrome failures on browser_contextmenu_sendpage.js
2018-02-23 22:15:08 +02:00
Marco Bonardo
4bc6104e67
Bug 1432427 - Remove synchronous Bookmarks::insertSeparator. r=standard8
...
MozReview-Commit-ID: 2rZ1Vr1kwhi
--HG--
extra : rebase_source : 63e949717ddfec9c4f685a3d24aee3303877391b
2018-02-23 15:50:28 +01:00
Edouard Oger
6e2641372c
Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
...
MozReview-Commit-ID: 4UuppJyOi5s
--HG--
extra : rebase_source : d5f7b31627424b652147674a520ae75571203994
2018-02-15 11:24:44 +08:00
shindli
f2126298f5
Backed out changeset 6e3058771f18 (bug 1434706) for bc6 and X failures in browser/base/content/test/general/browser_contextmenu_input.js and services/fxaccounts/tests/xpcshell/test_accounts.js respectively on a CLOSED TREE
2018-02-23 10:25:56 +02:00
Edouard Oger
1baec66b3d
Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
...
MozReview-Commit-ID: 4UuppJyOi5s
--HG--
extra : rebase_source : 328093c9985c29effb1380e012c35f6da6ee667a
2018-02-15 11:24:44 +08:00
Kit Cambridge
e5d15ed6c2
Bug 1435354 - Remove the keywords cache observer and implement cache invalidation. r=mak
...
MozReview-Commit-ID: dRGyz042JM
--HG--
extra : rebase_source : 06e6a38403f2aabe322520d74bbe0a178cd30684
2018-02-20 22:04:59 -08:00
Thom Chiovoloni
6488e9aeb0
Bug 1433823 - Fix incorrect async handling during TPS login flow. r=markh
...
MozReview-Commit-ID: 4mcEcBvaKd
--HG--
extra : rebase_source : 5a7ce66bd0537e818d83cbcea7cde6b28854dd3d
2018-01-30 16:24:31 -05:00
Kit Cambridge
da05a16e0a
Bug 1439061 - Stop tracking on engine finalization and clean up in history engine test. r=tcsc
...
MozReview-Commit-ID: JjgMdQwbnly
--HG--
extra : rebase_source : cc8d29a3170ea01df534c3b4de6fbec8a13c58e3
2018-02-16 19:21:06 -08:00
Thom Chiovoloni
90ed047093
Bug 1439675 - Fix invalid JSON in TPS's all_tests.json r=markh
...
MozReview-Commit-ID: 1UQ4a7Ebpv7
--HG--
extra : rebase_source : 098dc9e810f696b6de2fa2e92914542aa9ad5da8
2018-02-20 12:59:21 -05:00
Thom Chiovoloni
e3bfce50d6
Bug 1438445 - Refactor bookmark validator to be simpler and more correct r=kitcambridge,markh
...
MozReview-Commit-ID: 9vhiqHUOtzt
--HG--
extra : rebase_source : 2b7bc5201ad9450bb759c6adb16779f2228a304d
2018-02-15 13:01:11 -05:00
Kit Cambridge
04142e96e3
Bug 1439038 - Merge `Engine` and `SyncEngine`. r=eoger
...
MozReview-Commit-ID: GbuW3gFLCga
--HG--
extra : rebase_source : b15ea149ff5ddca7cdb45b0ef195c07bf4915411
2018-02-16 16:43:42 -08:00
Kit Cambridge
eb8e51bd1d
Bug 1438740 - Add a consistency check to ensure the synced bookmark mirror matches Places. r=markh
...
MozReview-Commit-ID: CGzXDy95Bkx
--HG--
extra : rebase_source : fed4a4a91512780d77d38783939bef2d9bb630ae
2018-02-15 18:36:24 -08:00
Mark Banner
d6729b8d28
Bug 1432614 - Remove now unnecessary updating and maintenance of Places' root folder titles. r=kitcambridge,mak
...
The titles for the root bookmark folders in the database will now never get updated. This
avoids doing maintenance and changing them if the locale changes.
The UI is now responsible for displaying the correct title.
WebExtensions API will get the UI visible names.
MozReview-Commit-ID: ErPPJXxy2d3
--HG--
extra : rebase_source : f08caa5b0d00ae81ffabf4a1076bd56b66414418
2018-01-04 16:35:56 +00:00
Mark Banner
28f08cc0dc
Bug 1443835 - Prevent modifications to the root folder via PlacesUtils.bookmarks.insert and PlacesUtils.bookmarks.update. r=mak
...
MozReview-Commit-ID: KQjxc3PA2SY
--HG--
extra : rebase_source : 1a6063f424271ac3bfdae23af25a4e8abdd71ac9
2018-03-07 17:24:01 +00:00
Jared Wein
c8d331f4c9
Bug 1436575 - Autofix errors from no-compare-against-boolean-literal. r=standard8
...
MozReview-Commit-ID: 66sXxnOWDgw
--HG--
extra : rebase_source : a0bf26e37a03a1e77476bdeedfc1af3ebec32f2a
2018-02-08 12:57:31 -05:00
Ciure Andrei
72080bd73c
Merge inbound to mozilla-central. a=merge
2018-02-13 00:08:37 +02:00
Tom Ritter
c4edd2fe5c
Bug 1435296 Address xpcshell test failures from increasing timer precision r=baku
...
See the comment on "Address test failures caused by bumping timer precision to 2 ms"
for more details.
MozReview-Commit-ID: LrsucEPdZIo
--HG--
extra : rebase_source : 8147c034f7dc93f678eebc80b0afabf55729d804
2018-02-12 11:41:38 -06:00
Marco Bonardo
de4bd875a7
Bug 1432434 - Remove Bookmarks::getItemDateAdded and setItemDateAdded. r=kitcambridge
...
MozReview-Commit-ID: XVoil1CK7c
--HG--
extra : rebase_source : 18213447f00177686dbc56d263674fa4e630663e
2018-02-08 23:24:38 +01:00
Thom Chiovoloni
ee6fffd334
Bug 1412332 - Enable sync passwords validator for nightly and beta users. r=markh
...
This also fixes an issue where our engine enabled preference listener was overzealous.
MozReview-Commit-ID: DphLaEUkyOz
--HG--
extra : rebase_source : fdcf154adf2cb11ac3bb0140670ce2dce68f4586
2018-01-31 20:00:29 -05:00
Marco Bonardo
ee28acdb29
Bug 539517 - remove synchronous Bookmarks::SetItemIndex API. r=standard8
...
MozReview-Commit-ID: 20kwLPazqPC
--HG--
extra : rebase_source : 7ac31306185573f6f94bcef4e89257d6a2ea2c2d
2018-02-08 18:45:00 +01:00
Edouard Oger
a0cec42f04
Bug 1415951 - Extend TPS to support Addresses and Credit Cards. r=tcsc
...
MozReview-Commit-ID: 8VKBvm60ZSH
--HG--
extra : rebase_source : 88cb7b4145db018517c920907da79c70c46d50d2
2018-02-05 14:39:32 -06:00
Thom Chiovoloni
a98bc19750
Bug 1432995 - Check for HTTP error codes before error strings in the sync ping. r=markh
...
MozReview-Commit-ID: KU15HVElChU
--HG--
extra : rebase_source : e0baba3644582aa16449bd87bf06bc611657fab5
2018-01-29 15:01:04 -05:00
Nathan Watson
1605552221
Bug 1434262 - Remove PlacesTestUtils.clearHistory() r=mak
...
MozReview-Commit-ID: In2RaM0LBsc
--HG--
extra : rebase_source : 0cb5dc65a53bfa384b93fb2a8c2af67ad9d3fe1c
2018-01-31 22:03:05 -08:00
Edouard Oger
f5d827c682
Bug 1436637 - Revert back to a sync observer in Service. r=markh
...
MozReview-Commit-ID: 2X7mo3stuy7
--HG--
extra : rebase_source : 1dfa43a9237baca4bbb08f98f14d3ccfd2888ee4
2018-02-08 12:14:46 +08:00
Edouard Oger
fe060b9d44
Bug 1436636 - Properly start/stop clients engine tracker. r=markh
...
MozReview-Commit-ID: 19Xv1Hj18Nu
--HG--
extra : rebase_source : 7d81f54ec00891d3e0fa40e2930a01c9821cf684
2018-02-08 11:45:22 +08:00
Marco Bonardo
f3d9e285fa
Bug 1437040 - Remove synchronous Bookmarks::GetItemIndex. r=standard8
...
MozReview-Commit-ID: GpNkBI1Qe42
--HG--
extra : rebase_source : 3a17c1f81aa4375a4a111ed2d17ffad241a77d81
2018-02-09 15:23:21 +01:00
Thom Chiovoloni
d28f3cab37
Bug 1435655 - Ensure we properly initialize previousFailed and toFetch r=eoger
...
MozReview-Commit-ID: KT9tJCSuUGh
--HG--
extra : rebase_source : 4b56237ff1f7c01c33f6b0bbe7baeefb0418efce
2018-02-05 11:39:30 -05:00
Mark Banner
362505f227
Bug 1423896 - Make the All Bookmarks folder for the left pane of the Library a virtual query. r=mak
...
MozReview-Commit-ID: HzJ9y1fiEz1
--HG--
extra : rebase_source : 27b0280e9dfef2626d187f9b8a81f23e4583302f
2017-12-07 14:15:39 +00:00
Coroiu Cristina
1c85c04c62
Backed out 5 changesets (bug 1423896) for bustage at /src/toolkit/components/places/nsNavHistoryResult.cpp on a CLOSED TREE
...
Backed out changeset 4012bc74e900 (bug 1423896)
Backed out changeset 12239646395f (bug 1423896)
Backed out changeset abf61cd5fb77 (bug 1423896)
Backed out changeset 569173c95238 (bug 1423896)
Backed out changeset 6401e950298d (bug 1423896)
2018-02-07 14:07:31 +02:00
Mark Banner
7785b2e489
Bug 1423896 - Make the All Bookmarks folder for the left pane of the Library a virtual query. r=mak
...
MozReview-Commit-ID: HzJ9y1fiEz1
--HG--
extra : rebase_source : 27b0280e9dfef2626d187f9b8a81f23e4583302f
2017-12-07 14:15:39 +00:00
Andrew McCreight
5dec0e0beb
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Gurzau Raul
bb16936244
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-02-02 00:25:44 +02:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Edouard Oger
e3f37a97a4
Bug 633062 p8 - Add Async observers. r=kitcambridge,markh,tcsc
...
MozReview-Commit-ID: IvwyleXBcNH
--HG--
extra : rebase_source : eb8f5db734cedb2810642723ed1652defeb16d88
2018-01-04 18:07:10 -05:00
Edouard Oger
815460e8cf
Bug 633062 p7 - Make most of the addon reconciler async. r=markh
...
Except observers, which will be handled in the last commit of this series.
MozReview-Commit-ID: IvwyleXBcNH
--HG--
extra : rebase_source : 8054777b015c3b07c6599bdb00c9d32572313395
2017-12-07 17:56:50 -05:00
Edouard Oger
71ff2629c2
Bug 633062 p6 - Remove event loop spinning from head_helper.js addon-related methods. r=markh
...
MozReview-Commit-ID: 4Be253tJlXq
--HG--
extra : rebase_source : 461b2c5ad4076d39933b491a6d7a0065e2eb75b3
2017-12-08 16:07:49 -05:00
Edouard Oger
4bc7feea45
Bug 633062 p5 - Remove event loop spinning from addonutils.js. r=markh
...
MozReview-Commit-ID: 1PSX4tOieEH
--HG--
extra : rebase_source : c68d862761e9704e8cbb3235ce5491cb6d091c59
2017-12-08 15:34:29 -05:00
Edouard Oger
825e2fa2b1
Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
...
MozReview-Commit-ID: IDGWJevEHLK
--HG--
extra : rebase_source : 0db05e713e55d680a85a1280d6540eec8c39f96c
2017-12-08 14:41:02 -05:00
Edouard Oger
5568486701
Bug 633062 p3 - Remove event loop spinning from the EngineManager. r=markh
...
MozReview-Commit-ID: 7tdKT8Wo3t4
--HG--
extra : rebase_source : 49b36a171f0bedf3ca04255af478bcec733d991b
2017-12-08 13:10:25 -05:00
Edouard Oger
01342b993b
Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
...
Also move promiseStopServer to the common/ head_helpers.js
MozReview-Commit-ID: B3Idnj6rPAZ
--HG--
extra : rebase_source : adb07d381aca118b9b49971f87e68a239dbcfb70
2017-12-07 14:45:15 -05:00
Noemi Erli
9df7ea51ac
Backed out 8 changesets (bug 633062) as requested by eoger on a CLOSED TREE
...
Backed out changeset 590656f7b5c5 (bug 633062)
Backed out changeset 0888aa122056 (bug 633062)
Backed out changeset 0780cf391c52 (bug 633062)
Backed out changeset 9798cbd03027 (bug 633062)
Backed out changeset 4b31c73a585f (bug 633062)
Backed out changeset 0a8866062136 (bug 633062)
Backed out changeset 20ff83289564 (bug 633062)
Backed out changeset 5e52125316e1 (bug 633062)
2018-01-31 22:09:30 +02:00
Edouard Oger
6991ad1d07
Bug 633062 p8 - Add Async observers. r=kitcambridge,markh,tcsc
...
MozReview-Commit-ID: IvwyleXBcNH
--HG--
extra : rebase_source : 30b4e09cb2a5f0da1845c842a464a277554f61a4
2018-01-04 18:07:10 -05:00
Edouard Oger
a636cbd98f
Bug 633062 p7 - Make most of the addon reconciler async. r=markh
...
Except observers, which will be handled in the last commit of this series.
MozReview-Commit-ID: IvwyleXBcNH
--HG--
extra : rebase_source : 8054777b015c3b07c6599bdb00c9d32572313395
2017-12-07 17:56:50 -05:00
Edouard Oger
1cf9cd890d
Bug 633062 p6 - Remove event loop spinning from head_helper.js addon-related methods. r=markh
...
MozReview-Commit-ID: 4Be253tJlXq
--HG--
extra : rebase_source : 461b2c5ad4076d39933b491a6d7a0065e2eb75b3
2017-12-08 16:07:49 -05:00
Edouard Oger
8a13eb4d47
Bug 633062 p5 - Remove event loop spinning from addonutils.js. r=markh
...
MozReview-Commit-ID: 1PSX4tOieEH
--HG--
extra : rebase_source : c68d862761e9704e8cbb3235ce5491cb6d091c59
2017-12-08 15:34:29 -05:00
Edouard Oger
7f72c53748
Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
...
MozReview-Commit-ID: IDGWJevEHLK
--HG--
extra : rebase_source : 0db05e713e55d680a85a1280d6540eec8c39f96c
2017-12-08 14:41:02 -05:00
Edouard Oger
9a26bd581d
Bug 633062 p3 - Remove event loop spinning from the EngineManager. r=markh
...
MozReview-Commit-ID: 7tdKT8Wo3t4
--HG--
extra : rebase_source : 49b36a171f0bedf3ca04255af478bcec733d991b
2017-12-08 13:10:25 -05:00
Edouard Oger
ea2b2a9409
Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
...
Also move promiseStopServer to the common/ head_helpers.js
MozReview-Commit-ID: B3Idnj6rPAZ
--HG--
extra : rebase_source : adb07d381aca118b9b49971f87e68a239dbcfb70
2017-12-07 14:45:15 -05:00
Mark Banner
204f9ceae9
Bug 1433983 - Remove deprecated PlacesUtils.setPostDataForBookmark/getPostDataForBookmark functions. r=mak
...
MozReview-Commit-ID: 9WD2A4jA761
--HG--
extra : rebase_source : 63a66fe95f29102db6a8486525bd430985a8f8ed
2018-01-29 18:31:42 +00:00
Andreea Pavel
2ebbd41c08
Backed out 8 changesets (bug 633062) for failing xpcshell on Windows at services/sync/tests/unit/test_hmac_error.js on a CLOSED TREE
...
Backed out changeset b4e9cd0d61ab (bug 633062)
Backed out changeset ee294cebe485 (bug 633062)
Backed out changeset 3d1ad6b3bbee (bug 633062)
Backed out changeset c053f43da9e8 (bug 633062)
Backed out changeset 549e1282ae8e (bug 633062)
Backed out changeset 35058a83dab0 (bug 633062)
Backed out changeset 2e9dc98eabf0 (bug 633062)
Backed out changeset dbbacd08392c (bug 633062)
2018-01-31 10:07:34 +02:00
Edouard Oger
4c8c0752bd
Bug 633062 p8 - Add Async observers. r=kitcambridge,markh,tcsc
...
MozReview-Commit-ID: IvwyleXBcNH
--HG--
extra : rebase_source : a517b2fbaede8e8b7566d127710f0dceb8e7d4f2
2018-01-04 18:07:10 -05:00
Edouard Oger
c44950332a
Bug 633062 p7 - Make most of the addon reconciler async. r=markh
...
Except observers, which will be handled in the last commit of this series.
MozReview-Commit-ID: IvwyleXBcNH
--HG--
extra : rebase_source : b5f9fe43ac2fd956253c571f4cc7b68eb1d928ec
2017-12-07 17:56:50 -05:00
Edouard Oger
072adbdabf
Bug 633062 p6 - Remove event loop spinning from head_helper.js addon-related methods. r=markh
...
MozReview-Commit-ID: 4Be253tJlXq
--HG--
extra : rebase_source : f0f094132beb18960fc1115adfa82bfb15caae28
2017-12-08 16:07:49 -05:00
Edouard Oger
b6df353d2b
Bug 633062 p5 - Remove event loop spinning from addonutils.js. r=markh
...
MozReview-Commit-ID: 1PSX4tOieEH
--HG--
extra : rebase_source : e8804e1428c78d47fbc776e74da61d5de4e5f402
2017-12-08 15:34:29 -05:00
Edouard Oger
b8cb936b01
Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
...
MozReview-Commit-ID: IDGWJevEHLK
--HG--
extra : rebase_source : 8471048a68b9b6204402f3ea9039a21af8c3740c
2017-12-08 14:41:02 -05:00
Edouard Oger
b2c2739a4d
Bug 633062 p3 - Remove event loop spinning from the EngineManager. r=markh
...
MozReview-Commit-ID: 7tdKT8Wo3t4
--HG--
extra : rebase_source : a99f8f1f30010829bf2d4ebd7590953c46b244e2
2017-12-08 13:10:25 -05:00
Edouard Oger
ffdd8c898f
Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
...
Also move promiseStopServer to the common/ head_helpers.js
MozReview-Commit-ID: B3Idnj6rPAZ
--HG--
extra : rebase_source : 0c3ee2b37448467fdd7fec04dbdf39255608901b
2017-12-07 14:45:15 -05:00
Dorel Luca
9f8b519dae
Backed out 8 changesets (bug 633062) for xpcshell failures on browser/extensions/formautofill/test/unit/test_sync.js on a CLOSED TREE
...
Backed out changeset d60ca66f2b62 (bug 633062)
Backed out changeset d80494d5bc36 (bug 633062)
Backed out changeset 33f832b59e86 (bug 633062)
Backed out changeset 968db19986aa (bug 633062)
Backed out changeset a55a3647ea49 (bug 633062)
Backed out changeset bb1030bdab48 (bug 633062)
Backed out changeset 9c4cd2a6965c (bug 633062)
Backed out changeset 669c76bd2618 (bug 633062)
--HG--
extra : amend_source : cf95d15507de46de393cdef797a5808c4e0407ff
2018-01-31 07:28:06 +02:00
Edouard Oger
65e746d5d2
Bug 633062 p8 - Add Async observers. r=kitcambridge,markh,tcsc
...
MozReview-Commit-ID: IvwyleXBcNH
--HG--
extra : rebase_source : 254006b5d64f425e4cabca6c02e8b20dce983d8e
2018-01-04 18:07:10 -05:00
Edouard Oger
bd9720e7f2
Bug 633062 p7 - Make most of the addon reconciler async. r=markh
...
Except observers, which will be handled in the last commit of this series.
MozReview-Commit-ID: IvwyleXBcNH
--HG--
extra : rebase_source : b5f9fe43ac2fd956253c571f4cc7b68eb1d928ec
2017-12-07 17:56:50 -05:00
Edouard Oger
3b8568a77b
Bug 633062 p6 - Remove event loop spinning from head_helper.js addon-related methods. r=markh
...
MozReview-Commit-ID: 4Be253tJlXq
--HG--
extra : rebase_source : f0f094132beb18960fc1115adfa82bfb15caae28
2017-12-08 16:07:49 -05:00
Edouard Oger
5491e15085
Bug 633062 p5 - Remove event loop spinning from addonutils.js. r=markh
...
MozReview-Commit-ID: 1PSX4tOieEH
--HG--
extra : rebase_source : e8804e1428c78d47fbc776e74da61d5de4e5f402
2017-12-08 15:34:29 -05:00
Edouard Oger
3e4633d6e3
Bug 633062 p4 - Remove miscellaneous uses of event loop spinning in services/. r=markh
...
MozReview-Commit-ID: IDGWJevEHLK
--HG--
extra : rebase_source : 8471048a68b9b6204402f3ea9039a21af8c3740c
2017-12-08 14:41:02 -05:00
Edouard Oger
d3a0ee9183
Bug 633062 p3 - Remove event loop spinning from the EngineManager. r=markh
...
MozReview-Commit-ID: 7tdKT8Wo3t4
--HG--
extra : rebase_source : a99f8f1f30010829bf2d4ebd7590953c46b244e2
2017-12-08 13:10:25 -05:00
Edouard Oger
546a23d489
Bug 633062 p2 - Make getTokenFromBrowserIDAssertion async. r=markh
...
Also move promiseStopServer to the common/ head_helpers.js
MozReview-Commit-ID: B3Idnj6rPAZ
--HG--
extra : rebase_source : 0c3ee2b37448467fdd7fec04dbdf39255608901b
2017-12-07 14:45:15 -05:00
Andrew Swan
1acce175af
Bug 1356331 Remove hotfix code from addons manager and related tests r=rhelmer
...
MozReview-Commit-ID: EjCOOgmXvVH
--HG--
extra : rebase_source : 051c618bd73e7bac41d5dc9339972742b029a879
extra : source : 9af7407fa9309e1fa2dc590309ed2329f02dc61e
2017-12-13 12:33:52 -08: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
vinicius
970b471265
Bug 1433234 - Replace do_check_array_eq by Assert.deepEqual. r=eoger
...
MozReview-Commit-ID: 7goh46IkVrW
***
--HG--
extra : rebase_source : 2ffdacce0843341c23d43354c135c21ca3d3ec14
2018-01-27 19:29:55 -02:00
Kit Cambridge
2449a744b8
Bug 1305563 - Add a `BufferedBookmarksEngine` that can be toggled with a pref. r=markh,tcsc
...
This patch adds a new bookmarks engine, pref'd off, that writes to the
buffer instead of Places.
MozReview-Commit-ID: 7idBa03kOzm
--HG--
extra : rebase_source : 671ebeb3de824dc43c0ef14b2dfe065a33e2911a
2017-12-19 17:10:54 -08:00
Kit Cambridge
8d7187be91
Bug 1305563 - Add a bookmark mirror and two-way merger for synced bookmarks. r=mak,markh,rnewman,tcsc
...
The mirror matches the complete bookmark tree stored on the Sync
server, stores new bookmarks changed on the server since the last
sync, merges the local and remote trees, applies the resulting merged
tree back to Places, fires observer notifications for all items changed
in the merge, and stages locally changed bookmarks for upload.
MozReview-Commit-ID: MbeFQUargt
--HG--
extra : rebase_source : b635fd65ef10ab9ce3a2f9af2e527d342a790f6e
2018-01-06 07:44:33 -08:00
Thom Chiovoloni
6321345295
Bug 1429250 - Avoid repeated traversals of toFetch in _processIncoming. r=eoger,kitcambridge
...
MozReview-Commit-ID: N1Zr8iT7da
--HG--
extra : rebase_source : ddaa51704c93985219d15b31aec7ff7e19b2832f
2018-01-09 19:22:33 -05:00
Marco Bonardo
592194dc76
Bug 1432437 - Remove synchronous changeBookmarkURI. r=standard8
...
MozReview-Commit-ID: Jy76eKCN7wp
--HG--
extra : rebase_source : 84958fcaaacdcdd9a400a546b14eb49fc897752c
2018-01-24 12:13:02 +01:00
Dorel Luca
7831647b90
Backed out changeset 8ebfca2b0c21 (bug 1432437) for Xpcshell test failure on toolkit/components/places/tests/unit/test_sync_utils.js
2018-01-26 01:43:17 +02:00
Marco Bonardo
86b21609be
Bug 1432437 - Remove synchronous changeBookmarkURI. r=standard8
...
MozReview-Commit-ID: Jy76eKCN7wp
--HG--
extra : rebase_source : 2d453281eb9c77c3f23f15a5a390a17e7b880c34
2018-01-24 12:13:02 +01:00
Thom Chiovoloni
fca1cd0193
Bug 1433003 - Optimize sync by using digestBytes instead of digestUTF8. r=markh
...
MozReview-Commit-ID: IbyeOUjKdi9
--HG--
extra : rebase_source : 3eb55106004ef68f749a9188f232dbb60f9d1e3d
2018-01-24 20:09:16 -05:00
hemant
df042c21a8
Bug 1370881 - Replace calls to asyncHistory.isURIVisited and promiseIsURIVisited with PlacesUtils.history.hasVisits r=standard8
...
MozReview-Commit-ID: BHWkJpdYA0g
--HG--
extra : rebase_source : 927cd89c69ed2cdbf6ebf8e954c38238ebbdd273
2018-01-24 20:58:57 +05:30
Thom Chiovoloni
95b5e3bd0e
Bug 1405205 - Report bookmark engine as bookmarks-buffered in the sync ping r=kitcambridge
...
MozReview-Commit-ID: 490KcmRZkfY
--HG--
extra : rebase_source : d3fe0f03c8ed3607c3c0b0ce2a063645dc0d9a70
2017-10-11 17:13:04 -04:00
Edouard Oger
d149a0176b
Bug 1426306 - Store only derived keys instead of storing kB/kA. r=glasserc,markh,rfkelly
...
MozReview-Commit-ID: Hgv5hxSH4qX
--HG--
extra : rebase_source : fa6d45480a2078e841c72b2c8c92541811633737
2018-01-05 15:56:00 -05:00
Mark Banner
a773c73dbb
Bug 1131491 - Remove old synchronous Place's transactions. r=mak
...
MozReview-Commit-ID: FNCijeajgeh
--HG--
extra : rebase_source : 4207cdd7b789fbbcce3b2117324ea22e1a313fe6
2018-01-22 15:41:12 +00:00
Simon Fraser
638b7b677e
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2018-01-22 11:19:18 +00:00
Thom Chiovoloni
6e3bb55bb8
Bug 1412083 - Avoid syncing preferences that refer to moz-extension or blob urls. r=eoger
...
MozReview-Commit-ID: 9Ipq5z1dykr
--HG--
extra : rebase_source : a8616485879268ce31ef74f4b3fdbc3f4dc5a585
2018-01-09 17:46:24 -05:00
Doug Thayer
1e3446b9cc
Bug 1421703 - Fix tests to use onVisits r=mak
...
Fairly straightforward. Fixes the tests that were broken due to
the changes introduced in part 1.
MozReview-Commit-ID: GbZ9ZpmG9nE
--HG--
extra : rebase_source : ebb2088288718631a941139d5a4d945259aaa0c6
2017-12-14 16:55:31 -06:00
Doug Thayer
b3eef35a05
Bug 1421703 - replace onVisit with onVisits r=mak
...
There's a heavy enough overhead to going through XPConnect for
every observer for every visit on the nsINavHistoryObserver
interface, so this patch reduces that by replacing the single-
visit notification with one which accepts an array of visits.
Some notes: To avoid problems with the orderings of the various
ways in which we notify about visits, we have to send our bulk
onVisits notification before doing any of the others. This does
mean it technically behaves slightly different than the prior
approach of interleaving the notifications, but I can't find any
way in which this has any consequences to the end result, and it
doesn't break any tests.
MozReview-Commit-ID: GdeooH8mCkg
--HG--
extra : rebase_source : 48b5f886c4650a756e70f4657cb9d62c8ce40f74
2017-12-20 14:27:24 -08:00
Thom Chiovoloni
4f926a87dd
Bug 1427835 - Remove redundant TPS addon test and disable validation on the non-restartless XPI test r=markh
...
MozReview-Commit-ID: JxNw7qIOheo
--HG--
extra : rebase_source : 33bf748394a248178c85292464c8acccf9e106b8
2018-01-03 15:01:49 -05:00
Thom Chiovoloni
9c8f02ad08
Bug 1427850 - Check that sync is ready directly instead of reading the sync username to determine it r=markh
...
MozReview-Commit-ID: LnQ6Em0GCvM
--HG--
extra : rebase_source : 7455d0eb9b9123d092f6cbacc09cbbf2f686dca3
2018-01-03 15:22:43 -05:00
Jeremy Lempereur
010e4ca3fb
Bug 692386 - sync: Add missing requested URL on NS_ERROR_NET_RESET. r=markh
...
The requested URL was logged on almost each failing request exception.
Added a warn message to log the request method and url when any request fails.
MozReview-Commit-ID: GKwd7HabTp6
--HG--
extra : rebase_source : 012bb9c322ecda93be32f43582492b37e407396d
2018-01-03 12:59:03 +01:00
Thom Chiovoloni
25d3c801bc
Bug 1425960 - Optimize sync preference usage r=markh
...
MozReview-Commit-ID: AMwkvF7Dy3G
--HG--
extra : rebase_source : f44ea9674ad0fd45191220ec6845aa85f68efa10
2017-12-20 12:36:18 -05:00
Thom Chiovoloni
364c629823
Bug 1426742 - Fix TPS test_history and cleanup failures. r=kitcambridge
...
MozReview-Commit-ID: 8jR4vtwUpOm
--HG--
extra : rebase_source : 72f655998e1e3380d8d4f569356d247906a032b0
2017-12-21 15:15:24 -05:00
Thom Chiovoloni
3e7a2e240e
Bug 1425544 - Ensure trace level logging is used throughout sync tests. r=markh
...
MozReview-Commit-ID: Icl1qk07LKm
--HG--
extra : rebase_source : c0e35f3e435e720f0375b3826ee4ba745d1e134b
2017-12-20 18:29:21 -05:00
Florian Quèze
0f55cd45be
Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs.
2017-12-21 11:10:23 +01:00
Florian Quèze
e0f995ea08
Bug 1421992 - hand written cleanup patch to make xpcshell tests pass after replacing do_check_* with Assert.*, r=Gijs.
2017-12-21 11:08:19 +01:00
Florian Quèze
032c961e0a
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Mark Hammond
57f9284cef
Bug 1425987 - part 2: Cleanup Sync logging by rationalizing preference management. r=tcsc
...
MozReview-Commit-ID: CQ1vhahnQbc
--HG--
extra : rebase_source : 5456b3afcf2d2d3536b9b546dda67199af4e1bdd
2017-12-19 09:48:31 +11:00
Thom Chiovoloni
4e773dd17f
Bug 1423399 - Avoid duplicating synced history visits older than your most recent 20 r=kitcambridge
...
MozReview-Commit-ID: 2CAutmuJWhb
--HG--
extra : rebase_source : b145ebe8525fa6cb045f99adabfc5ce3d0984f3a
2017-12-18 19:40:38 -05:00
Edouard Oger
9aa875bf0b
Bug 664590 - Do not track file:/// visits. r=markh
...
MozReview-Commit-ID: 6oVDkJU7kai
--HG--
extra : rebase_source : 0d184abb2ba1babc6c6c3ef6ebbb3024a26f81a8
2017-12-06 16:55:45 -05:00
Thom Chiovoloni
208554ebe1
Bug 1423395 - Clamp and truncate microseconds from incoming history visit dates when deduping r=markh
...
MozReview-Commit-ID: H1lljWcSZLZ
--HG--
extra : rebase_source : c64f20dd38bf4b17f05885df1f6b3ba112efdcb6
2017-12-05 19:40:37 -05:00
Mark Hammond
81ef0051dc
Bug 1415560 - ignore insertMany result and add an onError handler to log errors. r=tcsc
...
MozReview-Commit-ID: 8aJkRL8WCPr
--HG--
extra : rebase_source : dceb94744eef3ac50253594a70cec9f32f4cf8d3
2017-12-04 12:49:06 +11:00
Mark Hammond
6b3554dc84
Bug 1423067 - SyncedTabs.jsm now exports the loginFailed getter fixing an issue with the sidebar. r=eoger
...
MozReview-Commit-ID: AVjfXH1E9uw
--HG--
extra : rebase_source : 8ee64138f5604b12af1f4ffa0cabb73ab6ad5465
2017-12-05 14:46:53 +11:00
Mark Hammond
b5876a8b65
Bug 1407116 - Sync now enters the "please reconnect" state if Sync is configured but FxA is not. r=eoger
...
MozReview-Commit-ID: LuAdYkpe0b7
--HG--
extra : rebase_source : 0fb3ca9ef0912e61354df5ca111a169df3777526
2017-12-04 15:48:45 +11:00
Margareta Eliza Balazs
cb71a3c4fe
Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE
2017-11-30 12:55:54 +02:00
Edouard Oger
403ad27bae
Bug 1420802 - Remove NetworkLinkService from offline check. r=tcsc
...
Summary: Remove NetworkLinkService from offline check.
Reviewers: tcsc
Reviewed By: tcsc
Bug #: 1420802
Differential Revision: https://phabricator.services.mozilla.com/D300
2017-11-29 15:15:28 -05:00
Mark Hammond
0dd353e7d5
Bug 1421850 - ensure Sync is fully initialized before syncing. r=tcsc
...
MozReview-Commit-ID: 7hS3fttgqqr
--HG--
extra : rebase_source : b9a342c1a977699c3c4c42e9bca86ee087a51260
2017-11-30 14:03:57 +11:00
Thom Chiovoloni
788c2ca211
Bug 1421817 - Send a sync ping on shutdown if we have events but no syncs. r=markh
...
MozReview-Commit-ID: ExxN6UXs2Ip
--HG--
extra : rebase_source : 356d2f7bbfc856859e7b6246939b785f0984fa82
2017-11-29 17:41:59 -05:00
Thom Chiovoloni
302308a0a1
Bug 1336257
- Use HTTPS for mozqa url in TPS. r=markh
...
MozReview-Commit-ID: Admw1iKeW24
--HG--
extra : rebase_source : 836f3efb3aea6eb2a089c5aecd0f7a10a0bd6787
2017-11-29 18:35:28 -05:00
Mark Hammond
4b66d38dd6
Bug 1420810 - record why we are syncing for most syncs initiated by the scheduler. r=eoger
...
MozReview-Commit-ID: 1ntqG5yQi7q
--HG--
extra : rebase_source : 73b479ac7e602f5f491f63939a4425af17d6ce25
2017-11-27 17:32:05 +11:00
Mark Hammond
39bf8149a6
Bug 1416788 - limit number of visits we pass to PlacesUtils.history.insertMany to prevent shutdown hangs. r=kitcambridge
...
MozReview-Commit-ID: AU9AMUAD1Rw
--HG--
extra : rebase_source : 205ec0f17f94bd399f4663e552bd75e7b63f7da5
2017-11-23 16:18:55 +11:00
Thom Chiovoloni
dc2fe37c66
Bug 1421452 - Fix deprecation warning in test_bookmark_engine by passing an osfile path instead of nsifile. r=markh
...
MozReview-Commit-ID: 4XrzA0kUXzE
--HG--
extra : rebase_source : bed7a594b854969dd1932449f43ade4dc068ffeb
2017-11-28 17:35:51 -05:00
Thom Chiovoloni
a004052a6e
Bug 1421044 - Make TPS await sync initialization before trying to run r=markh
...
MozReview-Commit-ID: JSBXKHRXjc0
--HG--
extra : rebase_source : f18047d5a71d92acb9712244266909fc9e09dd0f
2017-11-28 13:56:48 -05:00
Thom Chiovoloni
6e7fbdc912
Bug 1420349 - Instantiate the sync scheduler in the service's constructor, instead of in onStartup. r=eoger
...
MozReview-Commit-ID: 3bOnRH5jR9e
--HG--
extra : rebase_source : 63eb169666e6b5694e7324f5eb01349189a895ec
2017-11-28 11:48:10 -05:00
Mark Banner
efaca11893
Bug 1420422 - Enable ESLint rule mozilla/use-services for services/. r=markh
...
MozReview-Commit-ID: LQiMr3ppDuG
--HG--
extra : rebase_source : f509b5360e92db58f14b0f6a41c06e10fe7dd170
2017-11-24 14:46:33 +00:00
Edouard Oger
9f071e2083
Bug 1409534 - Replace Resource impl by fetch. r=kitcambridge,markh,tcsc
...
MozReview-Commit-ID: 5mmVeHeMQKf
--HG--
extra : rebase_source : 84c20e3b90b5bed43e511158270761e2e1da6b15
2017-11-06 16:24:40 -05:00
Edouard Oger
438ca97ce7
Bug 1419990 - Only sync the tabs collection on sleep if there are changes. r=markh
...
MozReview-Commit-ID: GC0KMmQPqqD
--HG--
extra : rebase_source : 2039c7f644b3510dda07839c1e561786ad8c0ba1
2017-11-23 11:24:41 -05:00
Edouard Oger
0154c0f443
Bug 1416320 - Do a quick sync before going to sleep. r=markh
...
MozReview-Commit-ID: I36uvEFlEz5
--HG--
extra : rebase_source : 93812879d3ea19042356e51672f7f464e30e9ee5
2017-11-10 14:09:44 -05:00
Cosmin Sabou
959009f1a8
Backed out changeset 23fbfd83e957 (bug 1416320) for ESlint failure at gecko/services/sync/modules/policies.js:558:71 on a CLOSED TREE
2017-11-21 07:26:51 +02:00
Edouard Oger
ab35b46c98
Bug 1416320 - Do a quick sync before going to sleep. r=markh
...
MozReview-Commit-ID: I36uvEFlEz5
--HG--
extra : rebase_source : 1910ac25084f6a8c37a6d21accf17da974d56493
2017-11-10 14:09:44 -05:00
Dan Banner
b2e847755c
Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
...
MozReview-Commit-ID: GrlcOI9K2hJ
--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Edouard Oger
afa6330a25
Bug 1416322 - Wait until the network is back up to sync after waking-up from sleep. r=markh
...
MozReview-Commit-ID: 2vzmj3UkvtD
--HG--
extra : rebase_source : a152684365627cf1ea68efe10f5e27ad15577135
2017-11-16 13:12:31 -05:00
Edouard Oger
0648f86b7f
Bug 1304898 - Include why in sync ping. r=tcsc
...
MozReview-Commit-ID: G9WnHhuWD7Z
--HG--
extra : rebase_source : 27cb3c2bdf7432e0db1e6a8431d348be50c2afd8
2017-11-15 17:10:45 -05:00
Edouard Oger
fbd7ca1890
Bug 1416807 - Don't schedule syncs while we're behind to a captive portal. r=markh
...
MozReview-Commit-ID: 2CrO3CfKgC3
--HG--
extra : rebase_source : 460fb20172e325a154a4848e6a5ed0bacefd4b77
2017-11-15 16:01:48 -05:00
Kit Cambridge
d6c28d0200
Bug 1417590 - Check for client duplicates in the Sync collection validator. r=tcsc
...
MozReview-Commit-ID: LcPnTEDhbis
--HG--
extra : rebase_source : 5070eebbb1495ac14cc140862dd78d46e638615f
2017-11-10 22:27:30 -08:00
Doug Thayer
43771ba19d
Bug 1414892 - Optimize moz_places_afterinsert_trigger r=mak
...
This uses a similar strategy as that employed by moz_places_afterdelete_trigger,
creating a temp table which we write host inserts into, and then deleting all
the rows from it when we're done inserting, effectively resulting in a per-
statement trigger to only do the significant work per host.
MozReview-Commit-ID: 5TUueknq3ng
--HG--
extra : rebase_source : 1892edfcaa7b6afd29ce794a93d6ab3d46c48895
2017-11-07 12:01:53 -08:00
Thom Chiovoloni
9e62cc5726
Bug 1416313 - Drop old or low priority commands rather than failing to sync the clients engine if too many commands are sent. r=eoger,markh
...
MozReview-Commit-ID: 6BJGmUL28hp
--HG--
extra : rebase_source : 894cafb34f193b802c90052142174ea3187b8396
2017-11-10 15:57:33 -05:00
Thom Chiovoloni
892f157456
Bug 1416902 - Fix missing await in test_service_sync_updateEnabledEngines and test_interval_triggers r=kitcambridge
...
MozReview-Commit-ID: 6rFOWPsxxxj
--HG--
extra : rebase_source : 62e37062876d4dd38cc43f532df622c09b94cf1b
2017-11-13 16:53:15 -05:00
Edouard Oger
8a3dc70885
Bug 1416321 - Do a sync after we successfully connect to a captive portal. r=markh
...
MozReview-Commit-ID: HuXyJ8IrNwA
--HG--
extra : rebase_source : b1171a1235011d5393dcd90a950b55320302c254
2017-11-10 14:55:19 -05:00
Thom Chiovoloni
93a711ae04
Bug 1416374 - Handle getting an abortincoming error in sync telemetry r=markh
...
MozReview-Commit-ID: LFmbkGa4ypu
--HG--
extra : rebase_source : 93e7e9fcfbdf141c86cede055b58d82985fea370
2017-11-10 18:02:58 -05:00
Ryan VanderMeulen
177a5a8bdc
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
...
--HG--
extra : histedit_source : 46923056fd09298724464a4df4466357821a361f
2017-11-12 21:22:25 -05:00
Kit Cambridge
31aa407113
Bug 1383623 - Remove synchronous Places API usage from the Sync unit tests. r=tcsc
...
MozReview-Commit-ID: Cip7LSSi2fE
--HG--
extra : rebase_source : deaff010d15d7ae9812d1d38f3b39c1100c62cf3
2017-11-09 15:46:27 -08:00
Ryan VanderMeulen
b16410f51c
Merge inbound to m-c. a=merge
2017-11-10 16:13:15 -05:00
Geoff Brown
cbb956e0c3
Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh
2017-11-10 07:03:36 -07:00
Sebastian Hengst
96b3be2c0d
Bug 1415957 - Remove MozMill from TPS: Fix merge conflict. r=conflict-fix a=conflict-fix on a CLOSED TREE
...
--HG--
extra : amend_source : fd6fe1681aa192ed44675bd52cd46e954ffad9b8
2017-11-10 13:45:48 +02:00
Margareta Eliza Balazs
7e070192d7
Merge inbound to mozilla-central r=merge a=merge
2017-11-10 11:55:43 +02:00
Nicholas Nethercote
f4dd5e2636
Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
...
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.
This patch finishes the job.
- It removes the nsISupportsString support.
- It converts existing code that relied on the nsISupportsString.
- It removes the lint that was set up to detect such uses of nsISupportsString.
--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Andrea Marchesini
207b8d909e
Bug 1347515 - Get rid of nsIJSON.decodeFromStream, r=qdot
2017-11-10 00:27:22 +01:00
Edouard Oger
1873a289f7
Bug 1415957 - Remove MozMill from TPS. r=tcsc
...
MozReview-Commit-ID: HyBXrNqhzIf
--HG--
extra : rebase_source : da197fa045f70621d5549e961876cfc6ce15264b
2017-11-09 15:34:06 -05:00
tfe
be730a069d
Bug 1414438 - Use `getBatched` instead of `get` to backfill records r=kitcambridge
...
MozReview-Commit-ID: LLTg0ae5BbW
***
Bug 1414438 - Use `getBatched` instead of `get` in sync
--HG--
extra : rebase_source : b9b057160470ec5bc5544a1a4d5d429bee460452
2017-11-08 09:05:11 +01:00
Sebastian Hengst
21b6b18b0b
merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
2017-11-10 13:47:59 +02:00
Kit Cambridge
d93840902b
Bug 1382937 - Rewrite Sync's master password functions to use the `nsILoginManagerCrypto` wrappers. r=MattN
...
Using `nsISecretDecoderRing` directly bypasses
`nsILoginManagerCrypto.uiBusy` and the observer notifications, so other
consumers might not be aware we're already showing the dialog. We also
bail early if the UI is busy, to avoid showing multiple dialogs.
MozReview-Commit-ID: I7xzUWZkyPH
--HG--
extra : rebase_source : 91cef140cc54d1c81fe5c1986ffd2b8983ddd575
2017-10-23 10:40:56 -07:00
Thom Chiovoloni
edeaf1bc14
Bug 1415012
- Don't trigger a resync if the previous sync wasn't completely successful r=kitcambridge
...
MozReview-Commit-ID: DcNsFUxXR1O
--HG--
extra : rebase_source : 2632aa8d6db8e9e101e949c237b559015444f808
2017-11-06 20:56:57 -05:00
Sebastian Hengst
af670f4147
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-11-07 02:47:30 +02:00
Manish Kumar
53383c5b3f
Bug 1408108 - Rename "Sync ID" to "record ID" in the bookmarks engine and `PlacesSyncUtils`. r=kitcambridge
...
--HG--
extra : rebase_source : da3acfc4f7393a615c44f238c624bb826ff5b766
2017-11-06 12:17:07 -08:00
Thom Chiovoloni
935734388d
Bug 1412351 - Make sync behave better during shutdown r=kitcambridge
...
MozReview-Commit-ID: 4zWNph8Zdld
--HG--
extra : rebase_source : 12e9f82222a4bcfe2161ad02669619b57f0442fe
2017-10-27 13:37:49 -04:00
Sebastian Hengst
d61954557d
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: Ai6Y5GGfkfT
2017-11-04 10:58:24 +01:00
Nicholas Nethercote
b9c6a1d730
Bug 1413413 (part 2) - Remove support for extensions having their own prefs file. r=glandium,kmag.
...
It's no longer needed, now that legacy extensions aren't supported.
Pieces removed include the following.
- The "load-extension-default" observer notification.
- The code for reading defaults/preferences/*.js from extensions.
- The unit test for this stuff.
- A crash reporter annotation relating to very long prefs set by add-ons.
- All references to "ExtPrefDL".
MozReview-Commit-ID: KMBoYn3uZ3x
--HG--
extra : rebase_source : 4dc8ffd425c6cdf06806409090c4f9d04a64930b
2017-10-31 16:34:57 +11:00
Luciano I
e4007fdbe7
Bug 1375223 - Remove Async.querySpinningly. r=kitcambridge
...
MozReview-Commit-ID: bMo1jyIY5g
--HG--
extra : rebase_source : ac69fde2cb8216300bdb9e7d19528c15cdceb7c8
2017-10-31 18:50:31 -04:00