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

46029 Коммитов

Автор SHA1 Сообщение Дата
Doug Thayer 57731e3f90 Bug 1426721 - Encrypt Chrome logins in background thread r=keeler,MattN
A significant chunk of migration jank that I observe locally
happens due to login encryption. This patch reduces the locally
observed jank (measured importing 100 logins) from 180ms to 25ms.

Try is green, and as far as I can tell I don't see any thread
safety issues, but I'm not 100% sure on that. I don't see any
red flags inside the SecretDecoderRing::Encrypt implementation.

I only moved Chrome logins over since I wanted to frontload any
potential issues with the whole approach. It shouldn't be too
hard to move the MSMigrationUtils and IEProfileMigrator uses
over though.


MozReview-Commit-ID: 75edUqJlk8x

--HG--
extra : rebase_source : 0a8e16c46e05972fb01c9703b52cdb5755b0b40b
2018-01-04 15:10:54 -08:00
Doug Thayer ac49bf6b85 Bug 1426721 - Add async/bulk encryption interface to SDR r=keeler,MattN
Since encryption can be somewhat CPU intensive, if we're encrypting
a large number of strings we want to be able to do so in a background
thread. This will be consumed by the profile migrators when importing
logins.

MozReview-Commit-ID: JoJGOgMzZ4u

--HG--
extra : rebase_source : 4677482b4e9b1df7c7ca70a0e817204ef6638cdf
2018-01-23 10:06:31 -08:00
Sylvestre Ledru 3a35e750f3 Bug 1433417 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: LRgL0CMJdDP

--HG--
extra : rebase_source : b99364bb96c1501a674a1726a3b5fdf0664a8e4f
2018-01-26 12:50:07 +01:00
Mark Banner dd6c928ffd Bug 1433492 - Remove remaining instances of PlacesUtils.asyncHistory.isURIVisited being called directly. r=mak
MozReview-Commit-ID: B1sqEtJcq4L

--HG--
extra : rebase_source : 62a7c91e06f28712e9ba29a2e3ef73fa7dd9a0e1
2018-01-26 16:40:25 +00:00
Mark Banner a73a6015a8 Bug 1433492 - Fix a missed callback to .then conversion causing RSS feeds to not show their read/unread status properly after a restart. r=mak
MozReview-Commit-ID: 3iG8JbyGJul

--HG--
extra : rebase_source : 2240904ed63bed5db93354bcc9dd255b0c2fc40c
2018-01-26 16:23:04 +00:00
Zibi Braniecki 4bdf6bf95e Bug 1428698 - Align intl::locale::Locale with BCP47. r=jfkthame
MozReview-Commit-ID: AT9MPppx99p

--HG--
extra : rebase_source : ef98f45c430822de0eb400d1256d61988e9cc1f9
2018-01-25 14:50:32 -08:00
Andreea Pavel 1e5f9a6650 Backed out changeset 5421387a997d (bug 1345081)for failing browser chrome browser/components/extensions/test/browser/browser_ext_menus_events.js on a CLOSED TREE 2018-01-26 17:23:27 +02:00
Gijs Kruitbosch 625c300198 Bug 1345081 - update use of spellchecker 'editable' flags, r=zombie
MozReview-Commit-ID: Hxgc0UuIOPj

--HG--
extra : rebase_source : 5a72fb58f7c610e0906db9a283a8b136c840a07a
2018-01-12 18:51:41 +00: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
Andrew Swan 29864d9b88 Bug 1428234 Part 2: Force extensions database rebuild r=kmag
Prior to the first patch for this bug, users with non-ascii characters
in the path to their profile directory got bad data in extensions.json.
With that bug fixed, now force a rebuild to rescue those users.

MozReview-Commit-ID: F3l87A67Ojc

--HG--
extra : rebase_source : d28322dafdcdff4dcc00e9b816f3f47b8f425de6
2018-01-23 21:11:38 -08:00
Andrew Swan ca99a26bae Bug 1428234 Part 1: Remove incorrect uses of persistentDescriptor in AddonManager r=emk,kmag
MozReview-Commit-ID: 3pyF58rQcoa

--HG--
extra : rebase_source : c3d497b27f9172da1410080286ebca7d855b4597
2018-01-22 21:52:28 -08:00
Brian Grinstead a35b976252 Bug 1424095 - Use display: block on iframes in XUL flexbox emulation mode;r=Gijs
With emulated flex display we wrap inline-level children into anonymous
wrapper-blocks, and those wrapper blocks serve as the flex items. Using
display: block and then resetting the hardcoded width/height does the trick.

MozReview-Commit-ID: Grh1KsSmngP

--HG--
extra : rebase_source : d0792b19387e50d7c70a50a741c060655d4a3669
2018-01-25 15:09:23 -08:00
Brian Grinstead 7748a17ff2 Bug 1424095 - Tweak frontend CSS to play nicely in XUL flexbox emulation mode;r=Gijs
There are still known issues with the browser chrome when emulating, but this changeset is
done in service of getting the UI to be close enough to start running Talos tests against
it in Bug 1425330.

MozReview-Commit-ID: B0w1aOmi4FJ

--HG--
extra : rebase_source : e8b13f9203f0e368fb6f36bc9d2059fff7061b54
2018-01-04 10:25:30 -08:00
arthur.iakab 39d63fc827 Merge mozilla-central to autoland 2018-01-26 02:31:18 +02:00
arthur.iakab 94ab855658 Merge inbound to mozilla-central. a=merge 2018-01-26 02:21:47 +02:00
Kris Maglione b3cac601f6 Bug 1432966: Sanitize HTML fragments created for chrome-privileged documents. r=bz f=gijs
This is a short-term solution to our inability to apply CSP to
chrome-privileged documents.

Ideally, we should be preventing all inline script execution in
chrome-privileged documents, since the reprecussions of XSS in chrome
documents are much worse than in content documents. Unfortunately, that's not
possible in the near term because a) we don't support CSP in system principal
documents at all, and b) we rely heavily on inline JS in our static XUL.

This stop-gap solution at least prevents some of the most common vectors of
XSS attack, by automatically sanitizing any HTML fragment created for a
chrome-privileged document.

MozReview-Commit-ID: 5w17celRFr

--HG--
extra : rebase_source : 1c0a1448a06d5b65e548d9f5362d06cc6d865dbe
extra : amend_source : 7184593019f238b86fd1e261941d8e8286fa4006
2018-01-24 14:56:48 -08:00
Chris H-C 1f517c62bd bug 1432855 - Early-return if we're asked to clear the expired histogram. r=gfritzsche
MozReview-Commit-ID: IH4BCDq8fgz
2018-01-25 14:05:05 -05:00
Eric Rahm ba599d7f41 Bug 1428612 - Part 2: Add an assertion to check the histogram name pointer. r=gfritzsche
This adds a dignostic assertion that the name pointer is actually within the
static name table.

--HG--
extra : rebase_source : 4f82f72c83444a3ccd5be270080837f60110766e
2018-01-17 16:52:37 -08:00
Eric Rahm 67e0ab19b7 Bug 1428612 - Part 1: Use nsLiteralCString to wrap histogram names. r=gfritzsche
This switches from `nsDependentCString` to `nsLiteralCString` when adding
histograms to the table. It will help save some memory and should avoid the OOM
smalls we have been seeing.

--HG--
extra : rebase_source : b59725b1ffa40353d4dd5b3016d201b8a65325d4
2018-01-17 16:38:18 -08:00
Gurzau Raul ea1ff80377 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-25 19:08:48 +02:00
Gurzau Raul 062e1cf551 Merge inbound to mozilla-central. a=merge 2018-01-25 19:02:48 +02:00
Gurzau Raul 49c692983a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-25 13:02:27 +02:00
Csoregi Natalia 6f5bb993b2 Merge inbound to mozilla-central. a=merge 2018-01-25 12:14:20 +02:00
Alejandro Rodriguez 3433b4f607 Bug 1422849 - Drop support for full display versions in Histograms.json, Scalar.yaml and Events.yaml. r=chutten
--HG--
extra : rebase_source : 7f24909ecba5a61a1dc2c25a7f3e0a78c53f80da
2018-01-24 19:36:12 -05:00
Ryan VanderMeulen 2af1d9d442 Bug 1432486 - Remove the unneeded FX_SESSION_RESTORE_DOM_STORAGE_SIZE_ESTIMATE_CHARS probe. r=mikedeboer 2018-01-25 09:28:22 -05:00
Andrea Marchesini c6da271117 Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Marco Bonardo 4196362786 Bug 1346554 - Incremental vacuum favicons.sqlite. r=standard8
MozReview-Commit-ID: 9bcCgkF5uU1

--HG--
extra : rebase_source : 11921dd6178b173deaa28f40b5ceef830ded2ea1
2018-01-18 15:06:39 +01:00
Gurzau Raul 501d80ba77 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-25 19:06:59 +02:00
Marco Bonardo 52f4c19c6b Bug 1432746 - Some folders in the Library may not show their bookmark children. r=standard8
Don't use the parent node options when creating new folder nodes, since they should retain
their original options.
Additionally, we can filter nodes in the queries rather than building a lot of nodes that
will be filtered out.

MozReview-Commit-ID: MmlGDe5QgV

--HG--
extra : rebase_source : 66eea325825007266e08424630b092b9e8d75b67
2018-01-24 17:55:42 +01:00
Marco Bonardo 1cf72a16cd Bug 1432436 - Remove getItemType. r=standard8
MozReview-Commit-ID: 1gnQzJkYZgH

--HG--
rename : toolkit/components/places/tests/bookmarks/test_bookmarks.js => toolkit/components/places/tests/legacy/test_bookmarks.js
extra : rebase_source : 9f976dcd5a5bdd92aa96c10f86b5c4ec3cdc8701
2018-01-23 16:02:03 +01:00
Gurzau Raul 9abd2a937c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-25 13:00:18 +02: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
Hector Zhao 92ed511d9a Bug 1427712 - full installer page to install optional extensions with partner distribution. r=mhowell
MozReview-Commit-ID: FGIgyQTwfj

--HG--
extra : rebase_source : a4abe52dfd85c8603f82dba214bf6f4826215f67
2018-01-03 19:00:23 +08:00
Kris Maglione aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione b1f8945974 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : rebase_source : e6325fc83bd2fef811a4f1e97634ce5d32eddc9c
extra : absorb_source : 64645bed5d58034f4240ce4cd9eb932739c0c63d
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : histedit_source : 81a28bce375dd35da39c8a27b15cbf49c971c454
2018-01-18 16:27:26 -08:00
Kris Maglione 30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Kris Maglione ded77ac796 Bug 1431533: Part 3 - Define ChromeUtils on chrome-privileged Sandboxes that need it. r=mixedpuppy
This is necessary before we enable the ESLint rule to require using
ChromeUtils for module imports rather than older methods.

MozReview-Commit-ID: mKqByUS0o2

--HG--
extra : rebase_source : d4b856aac7ff7eddc37cbf591c4e6522c45453e2
extra : histedit_source : 1ca2b6031e480fb44a15991241901224acc9e52f
2018-01-18 14:52:39 -08:00
Jonathan Kingston e1223b7941 Bug 1374114 - Add a pref to disable ftp. r=valentin
MozReview-Commit-ID: ckzZ8bOKlk

--HG--
extra : rebase_source : 9070f2c1a1491836cc96e646fe526022d16d72a0
2017-11-26 20:46:31 +00: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 4dac8ecfe1 Bug 1432439 - Remove getBookmarkIdsForURI. r=standard8
MozReview-Commit-ID: FoXR3IclKQk

--HG--
extra : rebase_source : dff4b7f763706c60603fb4501b314bdd0c20f5c6
2018-01-23 13:12:23 +01: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
Tom Ritter 5a600ec834 Bug 1431797 Fix capitalization in mozilla files so the sandbox can compile on MinGW r=bobowen
This patch also adds the capitalization patch file to the chromium patches

MozReview-Commit-ID: BzAkEtCKAi4

--HG--
extra : rebase_source : 8f24d2b855e721f354f12b0d3fca5783cc66702e
2018-01-24 14:27:21 -06:00
Cosmin Sabou 7e6e71746a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-25 00:04:12 +02:00
Narcis Beleuzu 9279994eae Merge inbound to mozilla-central. a=merge 2018-01-24 23:56:14 +02:00
Chris Manchester b71a45f1e7 Bug 1431229 - Add configure variables to specify the webidl and ipdl root directories. r=mshal
MozReview-Commit-ID: 1zvO7vAEp5c

--HG--
extra : rebase_source : 206d653b2da551c761a8be4bb2c1d21eb87ae882
2018-01-24 13:55:05 -08:00
Margareta Eliza Balazs 20f389535e Backed out changeset 2b3180f034b0 (bug 1422849) for f8 lint failure in /builds/worker/checkouts/gecko/toolkit/components/telemetry/parse_histograms.py:319:14 on a CLOSED TREE 2018-01-24 17:26:14 +02:00
Alejandro Rodriguez 9d1d42d129 Bug 1422849 - Drop support for full display versions in Histograms.json, Scalar.yaml and Events.yaml r=chutten
--HG--
extra : rebase_source : 02619bcf390f51fa59e992e92f86c4231c342cf3
2018-01-23 19:09:32 -05:00
Gijs Kruitbosch 8fb9cc73bf Bug 1432488 - bump migration data telemetry probes, r=dthayer,liuche
MozReview-Commit-ID: 1PH4HlIdVBD

--HG--
extra : rebase_source : 0a254a43c327a52363410dc6aa700077a2588a5f
2018-01-23 23:32:04 +01:00
Mike Conley ac777b46dc Bug 1432482 - Extend the lifetime of the FX_TAB_REMOTE_NAVIGATION_DELAY_MS probe to Firefox 66. r=Gijs,liuche, data-review=liuche
MozReview-Commit-ID: 1HTGcBahL7G

--HG--
extra : rebase_source : ddcb311787196b9d8f24e72591305b7290441908
2018-01-23 17:55:36 -05:00
Sebastian Hengst 78d2a3c1db Merge mozilla-central to mozilla-inbound 2018-01-24 14:24:05 +02:00