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

16369 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote cb9400e186 Bug 1567074 - Document libpref properly. r=jya
This is a combination of the All About Prefs google doc and kmag's description
of the shared memory work in
https://bugzilla.mozilla.org/show_bug.cgi?id=1471025#c95, with some updates and
tweaks.

Differential Revision: https://phabricator.services.mozilla.com/D38611

--HG--
extra : moz-landing-system : lando
2019-08-01 02:11:07 +00:00
Ehsan Akhgari bea0b67d17 Bug 1568341 - Part 1: Add a component for consuming the anti-tracking-url-decoration remote settings bucket and making it available to content processes; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D39919

--HG--
extra : moz-landing-system : lando
2019-07-31 19:32:01 +00:00
Ehsan Akhgari 29cce9a268 Bug 1569996 - Enable setting the default referrer policy for third-party tracking resources to strict-origin-when-cross-origin when Enhanced Tracking Protection is turned on; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D39885

--HG--
extra : moz-landing-system : lando
2019-07-31 10:50:20 +00:00
Thomas Wisniewski 694c55b677 Bug 1504344 - Remove the pref dom.xhr.lowercase_header.enabled; r=baku
Remove the pref dom.xhr.lowercase_header.enabled, as we are unaware of any actionable compat concerns now that bug 1540688 landed, and an ESR had been spun off.

Differential Revision: https://phabricator.services.mozilla.com/D39636

--HG--
extra : moz-landing-system : lando
2019-07-31 11:16:25 +00:00
Olli Pettay 85a74a85cd Bug 1507495, Enable Pointer events on GeckoView by default, r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D39965

--HG--
extra : moz-landing-system : lando
2019-07-31 01:02:32 +00:00
Nicholas Nethercote 49bcf3c657 Bug 1568869 - Disallow double definitions in StaticPrefList.yaml. r=glandium
Some double definitions would have caused C++ compile errors, but some would
not, and I'm not even sure what the runtime behaviour would have been in those
latter cases...

The patch also removes a duplicated definition of privacy.resistFingerprinting,
which snuck in recently.

Differential Revision: https://phabricator.services.mozilla.com/D39431

--HG--
extra : moz-landing-system : lando
2019-07-30 22:48:41 +00:00
Dylan Roeh 1e945a8dd6 Bug 1553603 - Support "capture" attribute in Gecko and expose in GV. r=geckoview-reviewers,smaug,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D38746

--HG--
extra : moz-landing-system : lando
2019-07-30 18:13:05 +00:00
Daniel Varga c7ecfc9e12 Backed out 9 changesets (bug 1387894) for wpt failures at /web-animations/timing-model/animations/finishing-an-animation.html on a CLOSED TREE
Backed out changeset 998582bf083d (bug 1387894)
Backed out changeset cd58aae7d47b (bug 1387894)
Backed out changeset a51919fb2062 (bug 1387894)
Backed out changeset ef7b589d751b (bug 1387894)
Backed out changeset 75c0249b594a (bug 1387894)
Backed out changeset 4a75f2556242 (bug 1387894)
Backed out changeset 0bff9ba4237c (bug 1387894)
Backed out changeset 80040c0a275e (bug 1387894)
Backed out changeset 02814f69872d (bug 1387894)
2019-07-30 21:05:59 +03:00
Tom Ritter 83a41908c3 Bug 1387894 - Resolve timer intermittents when reduceTimerPrecision is disabled r=smaug
We unconditionally clamp all times to 20us and not just performance.now()
This will consistently apply a 'safe' minimal clamping (it's not safe but
I guess it's safer than ns-level precision) to all timestamps, and remove
intermittents that are caused by comparing a clamped performance.now() to
an unclamped [something else].

Differential Revision: https://phabricator.services.mozilla.com/D38806

--HG--
extra : moz-landing-system : lando
2019-07-30 15:11:41 +00:00
Tom Ritter 11011497a9 Bug 1387894 - Move all Resist Fingerprinting/Reduce Time Precision prefs to StaticPrefs r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D39212

--HG--
extra : moz-landing-system : lando
2019-07-30 15:11:32 +00:00
Andreea Pavel 8cbd06b810 Backed out 8 changesets (bug 1387894) for build bustages on a CLOSED TREE
Backed out changeset 09785dc4c5aa (bug 1387894)
Backed out changeset 05728160b89e (bug 1387894)
Backed out changeset 01e5b31bcc17 (bug 1387894)
Backed out changeset c5e16646ddb1 (bug 1387894)
Backed out changeset d1f09b772bac (bug 1387894)
Backed out changeset de538a48f455 (bug 1387894)
Backed out changeset d49cd8ef0825 (bug 1387894)
Backed out changeset fcfe77fab0ec (bug 1387894)
2019-07-30 17:17:39 +03:00
Tom Ritter b3e9fe99de Bug 1387894 - Resolve timer intermittents when reduceTimerPrecision is disabled r=smaug
We unconditionally clamp all times to 20us and not just performance.now()
This will consistently apply a 'safe' minimal clamping (it's not safe but
I guess it's safer than ns-level precision) to all timestamps, and remove
intermittents that are caused by comparing a clamped performance.now() to
an unclamped [something else].

Differential Revision: https://phabricator.services.mozilla.com/D38806

--HG--
extra : moz-landing-system : lando
2019-07-30 13:19:05 +00:00
Tom Ritter 1a2f32cd2d Bug 1387894 - Move all Resist Fingerprinting/Reduce Time Precision prefs to StaticPrefs r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D39212

--HG--
extra : moz-landing-system : lando
2019-07-30 13:37:28 +00:00
Christoph Kerschbaumer ad40847192 Bug 1567877: Apply Meta CSP to about:devtools-toolbox. r=jdescottes,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D39328

--HG--
extra : moz-landing-system : lando
2019-07-30 07:14:09 +00:00
Nicholas Nethercote cd426e3ad2 Bug 1569526 - Remove return values from `Add*VarCache()`. r=KrisWright
They're infallible in practice and always `NS_OK`. (This stems from
`AddVarCacheNoAssignment()` always returning `NS_OK`.)

As a result, the commit removes lots of unnecessary checks.

Differential Revision: https://phabricator.services.mozilla.com/D39804

--HG--
extra : moz-landing-system : lando
2019-07-30 06:19:46 +00:00
Nicholas Nethercote 670a5bfd26 Bug 1569526 - Rename `PreferencesInternalMethods`. r=KrisWright
It's an annoyingly long name that causes lots of line breaking, and it's not
exposed outside of libpref.

Differential Revision: https://phabricator.services.mozilla.com/D39803

--HG--
extra : moz-landing-system : lando
2019-07-30 06:14:48 +00:00
Nicholas Nethercote a7d5766bb8 Bug 1569526 - Remove PrefsIter::Remove. r=KrisWright
It's unused.

Differential Revision: https://phabricator.services.mozilla.com/D39651

--HG--
extra : moz-landing-system : lando
2019-07-30 06:14:29 +00:00
Nicholas Nethercote 49ad1ba06b Bug 1569526 - Rename `SetPref_*()` as `InitPref_*()`. r=KrisWright
This makes it clear that these run when prefs are initialized (like
`InitVarCache()`) rather than being vanilla `set` calls that happen at any
point during runtime.

Differential Revision: https://phabricator.services.mozilla.com/D39650

--HG--
extra : moz-landing-system : lando
2019-07-30 06:14:17 +00:00
Nicholas Nethercote 42b4ba2041 Bug 1569526 - Add more thread/process assertions to libpref. r=KrisWright
Lots of operations in Preferences.cpp can only occur in the parent process
and/or on the main thread. It has a bunch of assertions to enforce/document
this. This commit adds some more, because they're really useful for
understanding the code.

The commit also removes an unnecessary `XRE_IsParentProcess()` check in
`pref_SetPref()` (because that condition is always true, as the added assertion
indicates), and renames a parameter in `InitVarCachePrefs()`.

Differential Revision: https://phabricator.services.mozilla.com/D39649

--HG--
extra : moz-landing-system : lando
2019-07-30 06:14:05 +00:00
Kristen Wright 05b0ade9f4 Bug 1569004 - Convert dom.timeout.enable_budget_timer_throttling to static pref. r=njn
Converts dom.timeout.enable_budget_timer_throttling from varcache pref to static pref, removes entry from all.js, adds entry to StaticPrefList.yaml. Uses the all.js value and not the value declared in TimeoutManager.cpp. Since this removes the last varcache pref from TimeoutManager::Initialize(), I also removed the Initialize() function and its call in nsGlobalWindowInner.

Differential Revision: https://phabricator.services.mozilla.com/D39455

--HG--
extra : moz-landing-system : lando
2019-07-26 20:14:48 +00:00
Kristen Wright c6f7b5dbfa Bug 1569004 - Convert dom.timeout.budget_throttling_max_delay to static pref. r=njn
Converts dom.timeout.budget_throttling_max_delay varcache pref to static pref, removes entry from all.js, and adds entry to StaticPrefList.yaml

Differential Revision: https://phabricator.services.mozilla.com/D39451

--HG--
extra : moz-landing-system : lando
2019-07-26 21:11:41 +00:00
kriswright 340d7a78d1 Bug 1569004 - Convert dom.timeout.foreground_throttling_max_budget to static pref. r=njn
Converts dom.timeout.foreground_throttling_max_budget to static pref, removes all.js entry, updates usage, adds entry to StaticPrefList.yaml.

Differential Revision: https://phabricator.services.mozilla.com/D39439

--HG--
extra : moz-landing-system : lando
2019-07-26 20:09:34 +00:00
kriswright 17e79b1478 Bug 1569004 - Convert dom.timeout.background_throttling_max_budget to static pref. r=njn
Converts dom.timeout.background_throttling_max_budget varcache pref to static pref, removes all.js entry, adds entry to StaticPrefList.yaml.

Differential Revision: https://phabricator.services.mozilla.com/D39438

--HG--
extra : moz-landing-system : lando
2019-07-26 20:06:08 +00:00
kriswright f9c7a23a96 Bug 1569004 - Convert dom.timeout.foreground_budget_regeneration_rate to StaticPref. r=njn
Converts dom.timeout.foreground_budget_regeneration_rate varcache pref in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry in StaticPrefList.yaml.

Differential Revision: https://phabricator.services.mozilla.com/D39436

--HG--
extra : moz-landing-system : lando
2019-07-26 20:32:25 +00:00
kriswright a717c209a1 Bug 1569004 - Convert dom.timeout.background_budget_regeneration_rate to StaticPref. r=njn
Converts dom.timeout.background_budget_regeneration_rate varcache pref in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry to StaticPrefList.yaml.

Differential Revision: https://phabricator.services.mozilla.com/D39435

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:42 +00:00
kriswright 8e4a9f02c1 Bug 1569004 - convert dom.disable_open_click_delay to StaticPref. r=njn
Converts dom.disable_open_click_delay from a VarCache pref in TimeoutManager.cpp to StaticPref, removes all.js entry, and corrects a typo where the value was mentioned in nsGlobalWindowInner.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D39424

--HG--
extra : moz-landing-system : lando
2019-07-26 19:28:30 +00:00
kriswright 3d34dc8c5b Bug 1569004 - Convert dom.timeout.max_consecutive_callbacks_ms to static pref. r=njn
Converts dom.timeout.max_consecutive_callbacks_ms varcache pref in TimeoutManager.cpp to static pref, removes associated variables and all.js entry, and adds entry to StaticPrefList.yaml.

Differential Revision: https://phabricator.services.mozilla.com/D39425

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright 7c1f644ceb Bug 1569004 - Convert dom.timeout.throttling_delay to static pref. r=njn
Converts dom.timeout.throttling_delay in TimeoutManager.cpp from varcache pref to static pref, removes entry in all.js, and adds entry in StaticPrefList.yaml. Favors the all.js value over the declared value in TimeoutManager.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D39426

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright 90656e48ae Bug 1569004 - Remove dom.min_tracking_timeout_value and dom.min_tracking_background_timeout_value varcache prefs. r=njn
Removes dom.min_tracking_timeout_value and dom.min_tracking_background_timeout_value, because they are never used.

Differential Revision: https://phabricator.services.mozilla.com/D39429

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright 49f219f27c Bug 1569004 - Convert dom.min_background_timeout_value to StaticPref. r=njn
Converts dom.min_background_timeout_value in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry to StaticPrefList.yaml.

Differential Revision: https://phabricator.services.mozilla.com/D39430

--HG--
extra : moz-landing-system : lando
2019-07-26 19:21:47 +00:00
kriswright 0f96a859f0 Bug 1569004 - Convert dom.min_timeout_value to StaticPref r=njn
Converts dom.min_timeout_value varcache pref from TimeoutManager::Initialize() to a static pref, and removes its entry and associated constants from TimeoutManager.cpp and all.js

Differential Revision: https://phabricator.services.mozilla.com/D39416

--HG--
extra : moz-landing-system : lando
2019-07-26 19:15:44 +00:00
Jonathan Kew 112c636e6e Bug 1437367 - Remove the layout.css.paint-order.enabled pref, this feature is always enabled. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D39340

--HG--
extra : moz-landing-system : lando
2019-07-26 14:07:17 +00:00
Andrea Marchesini 7044fec84c Bug 1566961 - Integrate SocialTracking and ETP, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38451

--HG--
extra : moz-landing-system : lando
2019-07-29 12:20:39 +00:00
Dragana Damjanovic 6bb0ea26c5 Bug 1567133 - Call ForceRecv if there is data in the tunnel buffer. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D38989

--HG--
extra : moz-landing-system : lando
2019-07-29 10:58:08 +00:00
Csoregi Natalia 755219489e Backed out 3 changesets (bug 1566961) for eslint failure on browser_socialtracking.js. CLOSED TREE
Backed out changeset a85686cb5dfa (bug 1566961)
Backed out changeset 9cb916e52712 (bug 1566961)
Backed out changeset 4c747eb1c370 (bug 1566961)
2019-07-29 15:17:28 +03:00
Andrea Marchesini 7f34a5abc1 Bug 1566961 - Integrate SocialTracking and ETP, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38451

--HG--
extra : moz-landing-system : lando
2019-07-29 11:27:23 +00:00
Tom Schuster c90eade61e Bug 1569122 - Limit Worker/SharedWorker MIME type blocking to Beta/Nightly. r=ckerschb
Depends on D39634

Differential Revision: https://phabricator.services.mozilla.com/D39635

--HG--
extra : moz-landing-system : lando
2019-07-29 07:25:37 +00:00
Tom Schuster bc9bb616f7 Bug 1569122 - Use StaticPrefs for our MIME type script blocking prefs. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D39634

--HG--
extra : moz-landing-system : lando
2019-07-29 07:25:05 +00:00
Nicholas Nethercote 7774e3aaea Bug 1569036 - Remove all the `aSkipAssignment` parameters. r=KrisWright
`AddVarCache()` has a `bool aSkipAssignment` parameter. This patch removes that
parameter by splitting the function in two: `AddVarCache()` and
`AddVarCacheNoAssignment()`. (The former calls the latter.)

There are also tons of `Add*VarCache()` functions with `aSkipAssignment`
parameters that default to `false`. These defaults are never overridden, so
this patch removes the unnecessary arguments.

Differential Revision: https://phabricator.services.mozilla.com/D39433

--HG--
extra : moz-landing-system : lando
2019-07-26 21:11:18 +00:00
Nicholas Nethercote 18fae65f38 Bug 1563139 - Remove StaticPrefs.h. r=glandium
This requires replacing inclusions of it with inclusions of more specific prefs
files.

The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.

Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.

Differential Revision: https://phabricator.services.mozilla.com/D39138

--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
Nicholas Nethercote 12fb2835a9 Bug 1563139 - Generate multiple pref list headers instead of just one. r=glandium
Instead of generating a single `init/StaticPrefList.h`, we now generate:
- `init/StaticPrefListAll.h`;
- `StaticPrefsAll.h`;
- one `init/StaticPrefList_*.h` file for each pref group;
- one `StaticPrefs_*.h` file for each pref group.

`StaticPrefs.h` still exists -- it's equivalent to all the `StaticPrefs_*.h`
files combined -- so no `.cpp` files are changed by this commit. The next
commit will remove that file and replace inclusions of it with inclusions of
the new files.

The patch also adds checking of the type of the `do_not_use_directly` field.

Differential Revision: https://phabricator.services.mozilla.com/D39134

--HG--
extra : moz-landing-system : lando
2019-07-25 23:16:08 +00:00
Jim Porter ffc17053bb Bug 1562782 - Enable "cancel content JS" by default r=smaug,nalexander
For background information on what "cancel content JS" does, see bug 1493225.

Differential Revision: https://phabricator.services.mozilla.com/D38264

--HG--
extra : moz-landing-system : lando
2019-07-25 17:38:28 +00:00
Jan de Mooij ff7f0dd1f9 Bug 1565807 - Bump Baseline JIT threshold from 50 to 100. r=dpalmeiro
Detailed page load performance measurements from Denis indicate this should be okay
on the reference hardware and now we have 10/100/1000 warm-up thresholds so there's
a nice pattern there.

Differential Revision: https://phabricator.services.mozilla.com/D39146

--HG--
extra : moz-landing-system : lando
2019-07-24 16:01:47 +00:00
Nicholas Nethercote cbaaacf6ae Bug 1563139 - Remove StaticPref{s,List}_accessibility.h. r=glandium
These files exist because they were the proof-of-concept first step for
splitting the static prefs header files. Now that those header files can be
generated from a script, we need to move the `accessibility.*` prefs into the
YAML file.

Differential Revision: https://phabricator.services.mozilla.com/D39132

--HG--
extra : moz-landing-system : lando
2019-07-25 04:08:14 +00:00
Nicholas Nethercote 2c71663c5e Bug 1568516 - Allow a `uint32_t` static pref with a mirror value of `never`. r=KrisWright
There was a missing setter function for this combination, which hasn't been
used before.

Differential Revision: https://phabricator.services.mozilla.com/D39263

--HG--
extra : moz-landing-system : lando
2019-07-25 02:26:14 +00:00
Christoph Kerschbaumer a908700415 Bug 1567867: Remove about:newtab from 'not providing a CSP' whitelist.r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D38849

--HG--
extra : moz-landing-system : lando
2019-07-24 18:39:40 +00:00
Kristen Wright 84fc68c47f bug 1567063 - 3. Clean up instances of PREF_VALUE, streamline ifdefs r=njn
Streamlined ifdefs by removing the remaining instances of PREF_VALUE. Also, changed media.eme.enabled to benefit from IS_NIGHTLY_BUILD, and removed duplicate logic in media.rdd-vorbis.enabled.

Differential Revision: https://phabricator.services.mozilla.com/D38952

--HG--
extra : moz-landing-system : lando
2019-07-24 16:16:34 +00:00
Kristen Wright 53a9e9e5a1 Bug 1567063 - 2. Expand on constants for commonly-recurring patterns in StaticPrefs r=njn
Defines and uses constants for patterns that commonly recur in StaticPrefList.yaml, such as #ifdef NIGHTLY_BUILD

Differential Revision: https://phabricator.services.mozilla.com/D38948

--HG--
extra : moz-landing-system : lando
2019-07-24 01:21:00 +00:00
Kristen Wright eb6bdacd58 Bug 1567063 - 1. Use existing NOT_IN_RELEASE_OR_BETA_VALUE instead of creating a PREF_VALUE r=njn
Updated repetitive #ifdef RELEASE_OR_BETA pattern to use the existing constant at the top of the file. Renamed NOT_IN_RELEASE_OR_BETA_VALUE to IS_NOT_RELEASE_OR_BETA, to follow naming conventions in child revisions.

Differential Revision: https://phabricator.services.mozilla.com/D38947

--HG--
extra : moz-landing-system : lando
2019-07-24 17:55:00 +00:00
Paul Adenot f57ad1f88d Bug 1566369 - Lower the audioipc thread pool thread count to 1 on Linux. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D38170

--HG--
extra : moz-landing-system : lando
2019-07-23 15:33:13 +00:00