Commit Graph

48490 Commits

Author SHA1 Message Date
Dorel Luca
9769f2300a Merge mozilla-inbound to mozilla-central. a=merge 2018-05-18 12:56:07 +03:00
James Teh
2081cc1019 Bug 1462238: Extend/clarify expiry of accessibility instantiator/consumers telemetry. r=MarcoZ data-review=francois
1. Set A11Y_INSTANTIATORS to never expire.
2. A11Y_CONSUMERS was already set to never expire, but only because expiry was never explicitly declared (when this was allowed). Explicitly set it as never expiring now. This also means it can be removed from the associated whitelist.
3. Change the email for both so it gets to the team and me (since policy requires a responsible person and that's me now for these).

MozReview-Commit-ID: BgjMoVnVp6U

--HG--
extra : rebase_source : f5fbe6f1cec985d762523b32eb2d23a03d824168
2018-05-17 16:55:03 +10:00
Bogdan Tara
a59328d28f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-18 01:07:35 +03:00
Bogdan Tara
3287e1104c Merge inbound to mozilla-central. a=merge 2018-05-18 01:04:08 +03:00
Boris Zbarsky
c4000f8b65 Bug 1377980 part 3. Remove nsIDOMRange use in JS. r=mccr8 2018-05-17 12:01:38 -04:00
Boris Zbarsky
2e09ba1f75 Bug 1377980 part 2. Remove most C++ use of nsIDOMRange. r=mccr8 2018-05-17 12:01:38 -04:00
Boris Zbarsky
40d2bf9d7f Bug 1377980 part 1. Remove use of nsIDOMRange in xpidl. r=mcc8 2018-05-17 12:01:37 -04:00
Marco Bonardo
28e096ad83 Bug 1432583 - Better corruption handling for favicons.sqlite. r=standard8
MozReview-Commit-ID: LEotg2dbibB

--HG--
rename : toolkit/components/places/tests/unit/corruptDB.sqlite => toolkit/components/places/tests/maintenance/corruptDB.sqlite
rename : toolkit/components/places/tests/unit/test_corrupt_telemetry.js => toolkit/components/places/tests/maintenance/test_corrupt_telemetry.js
rename : toolkit/components/places/tests/unit/test_database_replaceOnStartup.js => toolkit/components/places/tests/maintenance/test_favicons_replaceOnStartup.js
rename : toolkit/components/places/tests/unit/test_database_replaceOnStartup.js => toolkit/components/places/tests/maintenance/test_favicons_replaceOnStartup_clone.js
rename : toolkit/components/places/tests/unit/test_database_replaceOnStartup.js => toolkit/components/places/tests/maintenance/test_places_replaceOnStartup.js
rename : toolkit/components/places/tests/unit/test_database_replaceOnStartup.js => toolkit/components/places/tests/maintenance/test_places_replaceOnStartup_clone.js
rename : toolkit/components/places/tests/unit/test_preventive_maintenance.js => toolkit/components/places/tests/maintenance/test_preventive_maintenance.js
rename : toolkit/components/places/tests/unit/test_preventive_maintenance_checkAndFixDatabase.js => toolkit/components/places/tests/maintenance/test_preventive_maintenance_checkAndFixDatabase.js
rename : toolkit/components/places/tests/unit/test_preventive_maintenance_runTasks.js => toolkit/components/places/tests/maintenance/test_preventive_maintenance_runTasks.js
extra : rebase_source : 91e9875f9e4fc7a0d0c72af1b52ddaca80a52175
2018-05-09 14:53:59 +02:00
Jan de Mooij
575aec161b Bug 1461677 - Rename compartment to realm in the memory reporting code. r=njn 2018-05-17 16:15:18 +02:00
Cosmin Sabou
caba9f10be Merge mozilla-central to inbound. a=merge 2018-05-17 12:49:47 +03:00
Cosmin Sabou
0917b1478d Merge inbound to mozilla-central. a=merge 2018-05-17 12:46:31 +03:00
Bogdan Tara
1088ae6a98 Backed out changeset c4caca025498 (bug 1389099) for failing toolkit/components/extensions/test/xpcshell/test_locale_converter.js CLOSED TREE 2018-05-17 21:08:42 +03:00
Rob Wu
8116795104 Bug 1389099 - Properly encode multi-byte translations in CSS r=kmag
The localization filter was not unicode-aware because convertToStream
assigns the output to a nsIStringInputStream (which takes 8-bit chars).
The input was read as a 8-bit string, but after localization it can
contain wide strings if a translation has a multi-byte character.

To fix this, the input stream is now first read as a UTF-8 string, then
localized, and finally exported via a nsIArrayBufferInputStream..

MozReview-Commit-ID: LjCxczIFKCR

--HG--
extra : rebase_source : 732fadd498bd8360d7a9eed7b26e5d4b8d355dd5
2018-05-08 22:35:22 +02:00
Tom Ritter
faac718e99 Bug 1457295 Trick clang+lld+lto into ordering NSModules correctly also r=glandium
MozReview-Commit-ID: 4JgOOVhA3YU

--HG--
extra : rebase_source : e99d6fdf715064339b01935eedc213bbe98a3deb
2018-04-27 09:29:37 -05:00
Cosmin Sabou
b1f0577d88 Merge mozilla-central to autoland. a=merge 2018-05-17 18:29:40 +03:00
Kris Maglione
4c4a449e09 Bug 1461045: Disable ESLint in dead code. r=bustage,test-only CLOSED TREE
MozReview-Commit-ID: CXi3YSZJwJe

--HG--
extra : amend_source : f1cf41da000c84e831ad81b67a53feb481ac83f5
2018-05-16 15:23:00 -07:00
Kris Maglione
369c4d7dec Bug 1461045: Remove unused AddonInternal.bootstrap flag. r=aswan
MozReview-Commit-ID: 8NKCZaq0dVc

--HG--
extra : rebase_source : aebbcfaef64e72f40fb7894bb59ef9da40c6d774
extra : amend_source : 7b3500cf092753193c7a897435edf085798cecc0
2018-05-11 17:58:45 -07:00
Noemi Erli
f14c13d39f Backed out changeset 5edae29aca32 (bug 1461652) for ES Linting opt failure on a CLOSED TREE 2018-05-16 23:58:02 +03:00
Jan-Erik Rediger
04395f5998 Bug 1461652 - Mock gzip compression in tests to simulate large payloads. r=chutten
MozReview-Commit-ID: Gct9oVfPVou
2018-05-16 02:21:00 -04:00
shindli
55f2b0d77a Merge inbound to mozilla-central. a=merge 2018-05-16 21:31:38 +03:00
Adam Gashlin
dfbba9a1fa Bug 1451366: Part 2 - Wait after launch from installer r=mhowell 2018-05-14 14:28:15 -07:00
Adam Gashlin
22530d5691 Bug 1451366: Part 1 - Wait after launch from update and restart, r=mhowell, jimm 2018-05-14 14:43:36 -07:00
Xidorn Quan
5896b33074 Bug 1461933 - Remove ServoBindings.h from ComputedStyleInline.h. r=emilio
For doing this, ServoComputedData is split into separate files, so that
files don't need to include ServoBindings.h just for accessing style
structs from ComputedStyles.

MozReview-Commit-ID: DPAd7PUUCl9

--HG--
extra : rebase_source : 7d6f739b7fb58a46e1624ba62e717412057ea9c1
2018-05-16 15:35:59 +10:00
Jan-Erik Rediger
dee16f4e92 Bug 1460400 - Don't enable dynamic builtin events on registration. r=chutten
This makes sure dynamic builtin events follow the same semantics as static builtin events.
On registration of the event the category is stored, but not enabled.
For fully-dynamic events, e.g. those registered by addons, the category
is enabled immediately (and can't be disabled).

This removes now-unused type definitions and switches from a map to a
simple set to store the category names.
The value stored in the map previously was not used at all.
In theory the map was effectively immutable after initialization, but
the check was only forced in debug anyway.
Now the set is mutable, but is only mutated in exactly 2 places.

MozReview-Commit-ID: 8tLEVXzHuHw

--HG--
extra : rebase_source : c21ebd5718f895ff8a06def95265a2c1c5930521
2018-05-14 12:31:30 +02:00
Mark Banner
d13db67be4 Bug 1460849 - Allow new items (as well as existing) to be skipped in nsNavHistoryFolderResultNode::OnItemMoved if excludeItems is set. r=mak
MozReview-Commit-ID: CUCAsmG99A8

--HG--
extra : rebase_source : d190f2a5d236dfea25fe247142c69f9754b3cd4f
2018-05-11 13:23:41 +01:00
Margareta Eliza Balazs
d4b9e50875 Merge inbound to mozilla-central. a=merge 2018-05-16 13:00:51 +03:00
Markus Stange
68470bc3c0 Bug 1461555 - Rename PseudoStack to ProfilingStack. r=njn
This also changes many references to the 'pseudo stack' to refer to the 'label
stack' instead. The label stack is one of the two stacks that are managed by
the profiling stack, the other stack being the JS interpreter stack.

MozReview-Commit-ID: Ed0YMMeCBY8

--HG--
extra : rebase_source : 5675d670f424c7d7dda04bafc2b3431fa2485e3c
2018-05-15 01:03:11 -04:00
Markus Stange
633ac66e7f Bug 1461555 - Rename ProfileEntry to ProfilingStackFrame. r=njn
The term "entry" is already used for elements in the profile buffer.

MozReview-Commit-ID: 1aB22V6veQh

--HG--
extra : rebase_source : c664eb4d6bed6cb74ba8a1b67ea99bd8ca57bcf7
extra : source : 3264c0cc0027b240b55bd3aebf27263b1e1d1cc0
2018-05-15 01:14:03 -04:00
Dorel Luca
7285fe0e8b Merge mozilla-central to autoland
--HG--
extra : rebase_source : 28cf949fe5cbd372058adac2d3a9d6e66902e6e3
2018-05-16 00:58:05 +03:00
Dorel Luca
0d2ff9e60d Merge mozilla-inbound to mozilla-central. a=merge 2018-05-16 00:54:22 +03:00
Drew Willcoxon
42990f9146 Bug 1461691 - Increase places.sqlite max size for new autofill. r=mak
MozReview-Commit-ID: 21BSiFJYoV7

--HG--
extra : rebase_source : 740b3982f85da04b9ee578ec2bd3e14cff7cddf0
2018-05-15 13:16:00 -07:00
Eugen Sawin
c9811f9e91 Bug 1457472 - [2.1] Adjust telemetry controller to support the simplified GeckoView API, the unified clear method and the snapshot persistence lifecycle. r=Dexter,jchen 2018-05-15 16:02:26 +02:00
Matthew Noorenberghe
cb74ea4e08 Bug 1461449 - Add password manager and form autofill preferences to about:support. r=sfoster
MozReview-Commit-ID: LlrLPsOGztc

--HG--
extra : rebase_source : e90ad2edde8e074b26cc5e1b2dfaaee852f48c53
2018-05-14 13:13:06 -07:00
Mike Cooper
534d274b4d Bug 1459899 - Reuse previous values when updating an existing rollout r=Gijs
MozReview-Commit-ID: 3kHo7b69vdS

--HG--
extra : rebase_source : 58700651c8b1e8342df765cd6aa8a7e770d47b42
2018-05-10 15:35:14 -07:00
Marco Bonardo
c67bc6cc9a Bug 1430023 - Get rid of some remaining localstore.rdf code. r=mossop
MozReview-Commit-ID: LqqSsb2h1Yv

--HG--
extra : rebase_source : 1a89abfbe75e17ed4be3a9fa52eef2d1db9f99bd
2018-05-09 10:49:35 +02:00
Kirk Steuber
5dc34a8c12 Bug 1428459 - Divorce system add-ons from app.update prefs r=rhelmer
Currently system addons will not be updated if app.update.enabled or app.update.auto are set to false. This patch introduces a new pref, extensions.systemAddon.update.enabled, which will control system addon updates. app.update.enabled and app.update.auto will no longer affect system addon updates.

MozReview-Commit-ID: 37JJa1jICTh

--HG--
extra : rebase_source : 755dd8b81eff244aff675f568532581a6b457952
2018-05-14 14:43:25 -07:00
Luca Greco
182e694688 Bug 1452685 - Extend existing WebExtension telemetry probes to expire on version 67. r=chutten
MozReview-Commit-ID: 7mQiZrUNhhI

--HG--
extra : rebase_source : 0a1dd6f9b8a72fe7cd23e1cacc48730c182e4bda
2018-05-02 20:16:17 +02:00
Gijs Kruitbosch
1919ec670b Bug 1414246 - only create page-icon URLs for some schemes (avoiding long page-icon:data URIs), r=mak
MozReview-Commit-ID: KptAl88so0B

--HG--
extra : rebase_source : 8fc482c6baebb1f01430fbabe4e8c154376a7e0c
2018-05-07 22:43:27 +01:00
Gijs Kruitbosch
6bb7b981af Bug 1414246 - actually use textRunsMaxLen to limit autocomplete text run length in address bar autocomplete, r=jaws
MozReview-Commit-ID: AB9RFtxXee7

--HG--
extra : rebase_source : 455ec8bebe2b07b62fbc7548d4e50b3506cdff56
2018-05-14 11:43:54 +01:00
Csoregi Natalia
00dd116638 Merge inbound to mozilla-central. a=merge 2018-05-15 12:53:24 +03:00
Boris Zbarsky
1b656c34aa Bug 1455802. Get rid of web-visible XMLStyleSheetProcessingInstruction. r=peterv
MozReview-Commit-ID: GBumpNuvzZf
2018-05-14 18:54:16 -04:00
Nika Layzell
2d188849ae Bug 1455217 - Part 3: Use the new xpidl Promise type instead of nsISupports, r=bz 2018-05-14 17:55:54 -04:00
Adrian Wielgosik
c501e3beb0 Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
MozReview-Commit-ID: LKRnyDPNlle

--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
3309929466 Bug 1460940 - Remove nsIDOMDocument uses in toolkit/. r=bz
MozReview-Commit-ID: LJhw1bKsUkn

--HG--
extra : rebase_source : bb6f877f75ced11f33ae37d7d2e430e54d82517c
2018-05-11 19:46:15 +02:00
Alessio Placitelli
cc6f8e0cb0 Bug 1430531 - Refactor JS exposed keyed snapshotting to avoid races and deadlocks. r=chutten
This patch makes sure that snapshotting is performed while
holding the histogram mutex. JS reflection code is only called
after the snapshot is taken, outside of the locked section.

MozReview-Commit-ID: H1uJz1H7rIu

--HG--
extra : rebase_source : abcf77a4cb5073377eddc24a9c1f16b57616b96e
2018-05-11 13:57:50 +02:00
Alessio Placitelli
99eb4637b0 Bug 1430531 - Refactor histogram code to allow for JS-free snapshotting. r=chutten
This patch introduces a couple of new functions to copy histogram data
to Mozilla-friendly arrays. This solves the problem of passing Histogram
pointers around and makes working away from JS functions easier.

MozReview-Commit-ID: BIg3FXBzxfT

--HG--
extra : rebase_source : 79f967f73cc1f3e70a27e32e4022fa59b2a58df3
2018-05-14 14:09:47 +02:00
Marco Bonardo
c8e987256f Bug 1460570 - Merge mozIAsyncFavicons into nsIFaviconService. r=standard8
MozReview-Commit-ID: JAxNj9MfcUI

--HG--
extra : rebase_source : b096792719a74fcf15909ce93f0d9341754009f6
2018-05-10 13:49:00 +02:00
Makoto Kato
f5fa8a68b9 Bug 1460210 - Don't use GetProcAddress on Parental Control code. r=dmajor 2018-05-14 10:58:53 +09:00
vinoth
4c8a45010a Bug 1459561 - Apply Meta CSP to Content Privileged about:studies. r=ckerschb, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D1146

--HG--
extra : amend_source : 4e0a9dbf405e8d8ec135336e5149797fad8f348e
2018-05-13 14:47:36 -04:00
Brindusan Cristian
1df25b391a Merge inbound to mozilla-central. a=merge 2018-05-12 12:47:14 +03:00