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

5419 Коммитов

Автор SHA1 Сообщение Дата
Arthur Iakab 04787705d2 Backed out changeset 28a9739ba4c4 (bug 1610298) for causing browser-chrome failures on browser_asrouter_snippets.js
CLOSED TREE
2020-01-29 10:48:58 +02:00
Andrei Oprea de60fd5486 Bug 1610298 - Snippets preview messages don't belong to a provider r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D60414

--HG--
extra : moz-landing-system : lando
2020-01-29 07:45:58 +00:00
Daniel Varga cd4e1066fd Backed out changeset 74c36888692b (bug 1610298) for causing browser-chrome failures at browser/components/aboutlogins/tests/browser/browser_breachAlertShowingForAddedLogin.js
CLOSED TREE
2020-01-28 12:50:44 +02:00
Andrei Oprea 4d3579227c Bug 1610298 - Snippets preview messages don't belong to a provider r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D60414

--HG--
extra : moz-landing-system : lando
2020-01-24 13:48:58 +00:00
Gabriel Luong aa684c0c76 Bug 1602841 - Implement keystroke handling for PiP window for video controls. r=mconley
This implements keystroke handling behind a pref "media.videocontrols.picture-in-picture.keyboard-controls.enabled".
This patch handles all the keystrokes for video controls, which include play, pause,
volume decrease and increase, mute, unmute, seek forward and backward for 15 seconds
or by 10% of the max video duration, seek to beginning and seek to end.
This reuses the key handler logic from https://searchfox.org/mozilla-central/rev/cfd1cc461f1efe0d66c2fdc17c024a203d5a2fd8/toolkit/content/widgets/videocontrols.js#1687-1810.

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

--HG--
extra : moz-landing-system : lando
2020-01-26 06:21:23 +00:00
Nihanth Subramanya ec2865c8d7 Bug 1608320 - DoH Rollout Extension: Don't show the doorhanger if the user has seen the post-DoH privacy statement. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59830

--HG--
extra : moz-landing-system : lando
2020-01-22 22:16:44 +00:00
Kendall Werts 7f966c7fbf Bug 1606265 - Work on new tab containers menu popup. r=fluent-reviewers,Gijs,flod
Added right click on new tab button to open containers menu.
Removed long press and added option to enable left click in preferences menu.
Renamed privacy.userContext.longPressBehavior to privacy.userContext.newTabContainer.enabled

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

--HG--
extra : moz-landing-system : lando
2020-01-23 22:28:30 +00:00
ffxbld 2f2c6ee707 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D60838

--HG--
extra : moz-landing-system : lando
2020-01-23 13:31:34 +00:00
Belén Albeza ec4650bec8 Bug 1609356 - Enable application panel in Nightly r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60143

--HG--
extra : moz-landing-system : lando
2020-01-22 16:42:17 +00:00
Cosmin Sabou 158024baa6 Backed out 4 changesets (bug 1600109, bug 1609037, bug 1608320) for turning bug 1605297 into permafail.
Backed out changeset ca3381ffade1 (bug 1609037)
Backed out changeset 6f3358db89c7 (bug 1608320)
Backed out changeset 0614bbf65c82 (bug 1600109)
Backed out changeset ea650c48ddcb (bug 1600109)
2020-01-23 00:12:00 +02:00
Alex Henrie b670bcef3e Bug 1606731 - Ignore diacritics when searching the browser history. r=jfkthame,mak
Differential Revision: https://phabricator.services.mozilla.com/D58584

--HG--
extra : moz-landing-system : lando
2020-01-22 17:39:56 +00:00
Jason Laster b14b35557c Bug 1603356 - Enable Eager evaluation in Nightly. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D60519

--HG--
extra : moz-landing-system : lando
2020-01-21 16:40:51 +00:00
Csoregi Natalia 77cb44a9dc Backed out changeset f6ccc4ba38d9 (bug 1609356) for failures on browser_toolbox_dynamic_registration.js. CLOSED TREE 2020-01-22 00:28:37 +02:00
Belén Albeza fb1055410b Bug 1609356 - Enable application panel in Nightly r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60143

--HG--
extra : moz-landing-system : lando
2020-01-21 17:49:02 +00:00
Jason Laster dc3aa3a63a Bug 1592725 - Enable async live stacks in Nightly and DevEdition. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D59435

--HG--
extra : moz-landing-system : lando
2020-01-17 21:19:43 +00:00
Nihanth Subramanya 7dc0b07882 Bug 1608320 - DoH Rollout Extension: Don't show the doorhanger if the user has seen the post-DoH privacy statement. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59830

--HG--
extra : moz-landing-system : lando
2020-01-21 08:22:03 +00:00
ffxbld 2dea3bc808 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D60400

--HG--
extra : moz-landing-system : lando
2020-01-20 17:59:00 +00:00
Emilio Cobos Álvarez 256c124f94 Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj
This was done by:

This was done by applying:

```
diff --git a/python/mozbuild/mozbuild/code-analysis/mach_commands.py b/python/mozbuild/mozbuild/code-analysis/mach_commands.py
index 789affde7bbf..fe33c4c7d4d1 100644
--- a/python/mozbuild/mozbuild/code-analysis/mach_commands.py
+++ b/python/mozbuild/mozbuild/code-analysis/mach_commands.py
@@ -2007,7 +2007,7 @@ class StaticAnalysis(MachCommandBase):
         from subprocess import Popen, PIPE, check_output, CalledProcessError

         diff_process = Popen(self._get_clang_format_diff_command(commit), stdout=PIPE)
-        args = [sys.executable, clang_format_diff, "-p1", "-binary=%s" % clang_format]
+        args = [sys.executable, clang_format_diff, "-p1", "-binary=%s" % clang_format, '-sort-includes']

         if not output_file:
             args.append("-i")
```

Then running `./mach clang-format -c <commit-hash>`

Then undoing that patch.

Then running check_spidermonkey_style.py --fixup

Then running `./mach clang-format`

I had to fix four things:

 * I needed to move <utility> back down in GuardObjects.h because I was hitting
   obscure problems with our system include wrappers like this:

0:03.94 /usr/include/stdlib.h:550:14: error: exception specification in declaration does not match previous declaration
0:03.94 extern void *realloc (void *__ptr, size_t __size)
0:03.94              ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/malloc_decls.h:53:1: note: previous declaration is here
0:03.94 MALLOC_DECL(realloc, void*, void*, size_t)
0:03.94 ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/mozilla/mozalloc.h:22:32: note: expanded from macro 'MALLOC_DECL'
0:03.94     MOZ_MEMORY_API return_type name##_impl(__VA_ARGS__);
0:03.94                                ^
0:03.94 <scratch space>:178:1: note: expanded from here
0:03.94 realloc_impl
0:03.94 ^
0:03.94 /home/emilio/src/moz/gecko-2/obj-debug/dist/include/mozmemory_wrap.h:142:41: note: expanded from macro 'realloc_impl'
0:03.94 #define realloc_impl mozmem_malloc_impl(realloc)

   Which I really didn't feel like digging into.

 * I had to restore the order of TrustOverrideUtils.h and related files in nss
   because the .inc files depend on TrustOverrideUtils.h being included earlier.

 * I had to add a missing include to RollingNumber.h

 * Also had to partially restore include order in JsepSessionImpl.cpp to avoid
   some -WError issues due to some static inline functions being defined in a
   header but not used in the rest of the compilation unit.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 16:19:48 +00:00
Emilio Cobos Álvarez aa3a695712 Bug 1609996 - Remove mozilla/Move.h. r=froydnj
rg -l 'mozilla/Move.h' | xargs sed -i 's/#include "mozilla\/Move.h"/#include <utility>/g'

Further manual fixups and cleanups to the include order incoming.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 16:18:20 +00:00
Brindusan Cristian f1982e0059 Backed out changeset 5261ea86fa26 (bug 1579440) for xpcshell failures at test_stickyprefs.js. 2020-01-19 20:22:34 +02:00
Agi Sferro b961d56f5d Bug 1579440 - Set browser.tabs.remote.autostart to true everywhere. r=snorp
Now that Fennec is gone we can finally do this.

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

--HG--
extra : moz-landing-system : lando
2020-01-19 16:55:20 +00:00
Agi Sferro ac359bc8bf Bug 1609019 - Define browser.privatebrowsing.autostart on all.js. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D60265

--HG--
extra : moz-landing-system : lando
2020-01-17 16:18:37 +00:00
Cosmin Sabou 7a03de6733 Backed out changeset 17f7eac615fa (bug 1609356) for devtools failures on browser_toolbox_options_multiple_tabs. CLOSED TREE 2020-01-17 20:11:34 +02:00
Narcis Beleuzu a024104573 Backed out 2 changesets (bug 1609037, bug 1608320) for bc failures on browser_cleanFlow.js . CLOSED TREE
Backed out changeset 44539f8e0cea (bug 1609037)
Backed out changeset 3dddea4c5d73 (bug 1608320)
2020-01-17 19:18:49 +02:00
Belén Albeza fc96acd11f Bug 1609356 - Enable application panel in Nightly r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60143

--HG--
extra : moz-landing-system : lando
2020-01-17 16:59:53 +00:00
Harry Twyford b7040f1383 Bug 1609699 - Rename browser.urlbar.searchTips pref to browser.urlbar.update1.searchTips. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D60152

--HG--
extra : moz-landing-system : lando
2020-01-17 16:07:21 +00:00
Nihanth Subramanya 2a5d7c0fe8 Bug 1608320 - DoH Rollout Extension: Don't show the doorhanger if the user has seen the post-DoH privacy statement. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59830

--HG--
extra : moz-landing-system : lando
2020-01-17 15:00:46 +00:00
Jan Sonntag 0d470191cd Bug 616130 - Add option to disable tab detaching r=dao
Differential Revision: https://phabricator.services.mozilla.com/D60180

--HG--
extra : moz-landing-system : lando
2020-01-17 13:44:29 +00:00
ffxbld 5a611b020b No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D60144

--HG--
extra : moz-landing-system : lando
2020-01-16 19:24:27 +00:00
Julian Descottes ec77c620a6 Bug 1585747 - Remove devtools preference devtools.toolbox.content-frame r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D47963

--HG--
extra : moz-landing-system : lando
2020-01-14 14:45:41 +00:00
Shane Caraveo 8351044ded Bug 1524327 remove MOZ_ALLOW_LEGACY_EXTENSIONS and extensions.legacy.enabled r=zombie,aswan
Legacy extensions are no longer loaded, so we can drop the build config for it.  We
still need flags for handling experimental APIs since what we require differs between builds
and distributions.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 21:38:40 +00:00
Harry Twyford 8ad4e1813a Bug 1606909 - Port Tips from the experiment behind a pref. r=adw,fluent-reviewers,flod
Top Sites must be disabled for this to work correctly. This is because we haven't defined the behaviour for when two restricting providers are active. Bug 1607797 must be resolved before this is preffed on.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 16:28:46 +00:00
Narcis Beleuzu 54fa076525 Backed out changeset f49107726254 (bug 1603356) for dt failures on browser_dbg-log-points.js. CLOSED TREE 2020-01-15 06:11:19 +02:00
Jason Laster 2a7fe48965 Bug 1603356 - Enable Eager evaluation in Nightly. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D59539

--HG--
extra : moz-landing-system : lando
2020-01-14 22:03:47 +00:00
Razvan Maries 116a3d4df1 Backed out changeset 7c414004b82a (bug 1603356) for dt failures. CLOSED TREE 2020-01-13 21:04:23 +02:00
Jason Laster 3bec0a0325 Bug 1603356 - Enable Eager evaluation in Nightly. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D59539

--HG--
extra : moz-landing-system : lando
2020-01-13 17:05:34 +00:00
ffxbld f55cc5e382 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D59687

--HG--
extra : moz-landing-system : lando
2020-01-13 13:50:15 +00:00
Sylvestre Ledru c521758c5e Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:50:11 +00:00
Erica Wright a273e05e06 Bug 1603545 - Add telemetry for app menu protections button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D58044

--HG--
extra : moz-landing-system : lando
2020-01-09 17:50:11 +00:00
Noemi Erli c01a50c28c Backed out changeset bc55dd49ef82 (bug 1603545) for causing build bustages CLOSED TREE 2020-01-09 18:25:18 +02:00
Erica Wright 1966f381fa Bug 1603545 - Add telemetry for app menu protections button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D58044

--HG--
extra : moz-landing-system : lando
2020-01-09 15:57:02 +00:00
ffxbld 47f9f24123 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D59324

--HG--
extra : moz-landing-system : lando
2020-01-09 15:43:49 +00:00
Patrick Brosset bc984989e9 Bug 1605342 - Let RDM's metaviewport handling ride the trains r=bradwerth
After the gradual rollout of the feature in 72, we can turn it on for all users

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

--HG--
extra : moz-landing-system : lando
2020-01-07 22:01:56 +00:00
Kristen Wright 5fbcf93b87 Bug 1606888 - remove signon.management.page.enabled r=Gijs
Completely removes the signon.management.page.enabled pref.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 01:42:32 +00:00
Kristen Wright 185749a261 Bug 1606390 Convert browser.newtabpage.enabled to a static pref r=Gijs
Converts `browser.newtabpage.enabled` into a static pref. Removes their varcache pref declaration. `signon.management.page.enabled` in the same file will be removed instead (Bug 1606888) as it is no longer needed.

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

--HG--
extra : moz-landing-system : lando
2020-01-03 22:11:33 +00:00
Thomas Nguyen b4435e40e5 Bug 1603674 - Add a new API to check if permission delegation and Feature Policy are enabled r=baku
Differential Revision: https://phabricator.services.mozilla.com/D57077

--HG--
extra : moz-landing-system : lando
2020-01-06 15:28:12 +00:00
ffxbld 92b26fef5d No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D58770

--HG--
extra : moz-landing-system : lando
2020-01-06 13:40:52 +00:00
Chris Peterson 1c077cf213 Bug 1606274 - Remove always-true MOZ_PHOENIX macro. r=firefox-build-system-reviewers,rstewart
MOZ_PHOENIX was a macro added back in 2002 to differentiate SeaMonkey and Phoenix appshell bits. The earliest references to MOZ_PHOENIX I can find in Gecko's pre-hg history are bug 161448, bug 213228, bug 243091, and 05ef2e9b38.

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

--HG--
extra : moz-landing-system : lando
2019-12-30 15:00:20 +00:00
ffxbld cbe062ca0b No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D58244

--HG--
extra : moz-landing-system : lando
2019-12-26 21:30:40 +00:00
Dão Gottwald 731512a1ab Bug 1603778 - Enable openViewOnFocus in Nightly. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D57466

--HG--
extra : moz-landing-system : lando
2019-12-24 16:10:41 +00:00
Coroiu Cristina c2de96e0c4 Backed out 2 changesets (bug 1604932, bug 1603778) on request by dev
Backed out changeset 1b291d3f209e (bug 1604932)
Backed out changeset 4240d2fed367 (bug 1603778)
2019-12-24 17:34:34 +02:00
Dão Gottwald 8a621bb505 Bug 1603778 - Enable openViewOnFocus in Nightly. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D57466

--HG--
extra : moz-landing-system : lando
2019-12-24 11:40:56 +00:00
Daniel Varga 2108a6ac75 Backed out changeset d5eba14afe3e (bug 1603778) for causing xpcshell failures at browser/components/extensions/test/xpcshell/test_ext_urlbar.js
CLOSED TREE
2019-12-24 13:36:04 +02:00
Dão Gottwald c4817cff14 Bug 1603778 - Enable openViewOnFocus in Nightly. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D57466

--HG--
extra : moz-landing-system : lando
2019-12-24 10:15:15 +00:00
Haik Aftandilian 016cd664f6 Bug 1599230 - Part 2 - Remove GMP sandbox earlyinit pref and older sandbox startup code paths r!mjf r=mjf
Remove the security.sandbox.gmp.mac.earlyinit pref now that GMP early sandbox init is the default on release.

Remove the old unused code paths for initializing the GMP sandbox later during process startup (only used when security.sandbox.gmp.mac.earlyinit=false).

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

--HG--
extra : moz-landing-system : lando
2019-12-21 00:31:50 +00:00
Haik Aftandilian c91e72a1c7 Bug 1599230 - Part 1 - Remove RDD sandbox earlyinit pref and older sandbox startup code paths r!mjf r=mjf
Remove the security.sandbox.rdd.mac.earlyinit pref now that RDD early sandbox init is the default on release.

Remove the old unused code paths for initializing the RDD sandbox later during process startup (only used when security.sandbox.rdd.mac.earlyinit=false).

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

--HG--
extra : moz-landing-system : lando
2019-12-21 00:31:41 +00:00
ffxbld 0d4a7ec64a No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D57856

--HG--
extra : moz-landing-system : lando
2019-12-19 19:44:12 +00:00
Andrei Oprea c896e17a5e Bug 1578754 - Implement groups configuration for Messaging System content r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D56545

--HG--
extra : moz-landing-system : lando
2019-12-19 16:54:17 +00:00
Mohd Umar Alam 8f61136be3 Bug 1480542: Add browser.tabs.tabmanager.enabled preference r=sfoster,dao
Added a preference to control the visibility of Tab Manager Menu to facilitate the incremental development.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 11:07:00 +00:00
Alexandre Poirot d90e3e14aa Bug 1588050 - Turn the Multiprocess Browser Toolbox on by default on Nightly. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57346

--HG--
extra : moz-landing-system : lando
2019-12-19 08:50:41 +00:00
Andrei Oprea f2b3ed5158 Bug 1603071 - Enable release snippets in Nightly without telemetry r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D57460

--HG--
extra : moz-landing-system : lando
2019-12-18 12:15:16 +00:00
Narcis Beleuzu d79d5e6906 Backed out changeset 58075bcbdcef (bug 1588050) for dt failures on browser_aboutdebugging_process_main.js . CLOSED TREE 2019-12-18 10:58:56 +02:00
Alexandre Poirot b1c7c38696 Bug 1588050 - Turn the Multiprocess Browser Toolbox on by default on Nightly. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57346

--HG--
extra : moz-landing-system : lando
2019-12-17 18:41:14 +00:00
ffxbld 11ac8caa11 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D57311

--HG--
extra : moz-landing-system : lando
2019-12-16 15:13:53 +00:00
Michael Cooper 2e088d6618 Bug 1601127 - Skew Normandy on-sync recipe runs to avoid crushing servers r=Gijs
This will spread the time that clients run updates in reponse to on-sync
events over an addtional 10 minutes. The events are already spread over
about 5 minutes by the machiners of the push infrastructure. This will
serve to cut the overall server load to about 1/3 it's previous level.

The trade off is that we now have slightly slower response times for
changes on the server. Fifteen minutes is still short enough to be
usefully "real time", while allowing enough time for servers to scale up
gracefully and humans to react to any potential problems.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:58:05 +00:00
Dão Gottwald 5d339ebe6d Bug 1603780 - Set browser.urlbar.update1.expandTextOnFocus default value in Nightly. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D57128

--HG--
extra : moz-landing-system : lando
2019-12-13 16:22:24 +00:00
Thomas Nguyen 9fa06727dd Bug 1600883 - Enable Feature Policy allow attribute and permission delegation by default r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D55627

--HG--
extra : moz-landing-system : lando
2019-12-13 07:00:28 +00:00
Arthur Iakab be62a36395 Backed out changeset 769db72e480a (bug 1600883) for linting failure on profile/firefox.js CLOSED TREE 2019-12-13 02:23:32 +02:00
Thomas Nguyen 83bc8c1039 Bug 1600883 - Enable Feature Policy allow attribute and permission delegation by default r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D55627

--HG--
extra : moz-landing-system : lando
2019-12-13 00:05:43 +00:00
Matthew Noorenberghe a1396dce86 Bug 1602631 - Enable desktop password manager features in toolkit so GV will benefit. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D56495

--HG--
extra : moz-landing-system : lando
2019-12-12 20:24:27 +00:00
Brian Hackett 662a021b39 Bug 1602489 - Basic eager evaluation support, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D56393

--HG--
extra : moz-landing-system : lando
2019-12-12 21:48:03 +00:00
Harry Twyford 0ae5a64d9b Bug 1601339 - Disable expandTextOnFocus. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D56985

--HG--
extra : moz-landing-system : lando
2019-12-12 20:23:46 +00:00
ffxbld 7f9eb46978 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D56907

--HG--
extra : moz-landing-system : lando
2019-12-12 15:32:17 +00:00
Nazım Can Altınova 9adc1d00e3 Bug 1602800 - Move profiler recording preferences from firefox.js to all.js r=gregtatum
We had to do it because firefox android doesn't use that file. There is a
mobile.js file for that purpose. We had to move all recording preferences to
all.js and add the android only preference to mobile.js to be able to handle
that better.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 13:52:34 +00:00
Kearwood Kip Gilbert 19ba3b0322 Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

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

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-12 03:10:51 +00:00
Brindusan Cristian 9c36dcbf23 Backed out 2 changesets (bug 1580567, bug 1599927) for mochitest failures at test_interfaces.html. CLOSED TREE
Backed out changeset 0e0d88942d33 (bug 1599927)
Backed out changeset 522c8d183bd5 (bug 1580567)

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-11 05:31:08 +02:00
Paul Bone bdbf59d30a Bug 1592894 - pt 4. Remove useHttpResponseProcessSelection pref r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D53763

--HG--
extra : moz-landing-system : lando
2019-12-11 02:31:25 +00:00
Kearwood Kip Gilbert 7c8ce74b8f Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

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

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-11 01:38:17 +00:00
shindli 652f3b0296 Backed out 2 changesets (bug 1580567, bug 1599927) for causing permafailures in dom/tests/mochitest/general/test_interfaces.html CLOSED TREE
Backed out changeset aeceec922866 (bug 1599927)
Backed out changeset 29809135f18e (bug 1580567)

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-11 03:32:44 +02:00
Kearwood Kip Gilbert 6a9c22db45 Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

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

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-10 23:55:05 +00:00
Johann Hofmann 841a3f40fb Bug 1600942 - Remove event telemetry for permission prompt studies. r=Ehsan
Depends on D56540

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

--HG--
extra : moz-landing-system : lando
2019-12-10 14:39:49 +00:00
Michael Cooper 9c3a767d03 Bug 1472097 - Run Normandy immediately on start up if the buildid changes r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D56223

--HG--
extra : moz-landing-system : lando
2019-12-09 22:55:58 +00:00
ffxbld ddfb9c0ff8 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D56358

--HG--
extra : moz-landing-system : lando
2019-12-09 18:02:19 +00:00
Aaron Klotz ff5730d1a7 Bug 1602383: Make InitializeDllBlocklistOOP a no-op on aarch64; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D56380

--HG--
extra : moz-landing-system : lando
2019-12-09 15:50:03 +00:00
Aaron Klotz 5db063f48a Bug 1522830: Part 12 - ASAN fix for DllBlocklistInit in launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D53685

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:07 +00:00
Aaron Klotz 78b5fd3fbf Bug 1522830: Part 6 - Add API to be able to initialize launcher dll blocklist during spawning of child process; r=mhowell
We need a way for the sandbox broker to be able to initialize the launcher
DLL blocklist when starting a new content process.

This patch adds the ability to resolve the initialization function through
DLL services.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:03:45 +00:00
Aaron Klotz 24253580aa Bug 1522830: Part 5 - Provide a launcher result type that unconditionally includes file and line info; r=mhowell
`LauncherResult` only includes file and line info when built into the launcher
process. Now that there will be `xul.dll`-based code calling into launcher
process startup, this would create an ABI mismatch.

This patch creates a new type, `LauncherResultWithLineInfo`, that
unconditionally includes the file and line so that APIs called by both `xul`
and non-`xul` code can have the same ABI for both.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:02:31 +00:00
Aaron Klotz b43c0975e4 Bug 1522830: Part 2 - Make launcher blocklist work in child processes; r=mhowell
* We change `InitializeDllBlocklistOOP` to be able to set the correct flags
  when initializing a sandbox child process.
* We change the freestanding DLL blocklist code to be sensitive to the
  `CHILD_PROCESSES_ONLY` flag;
* We move the declaration of `gBlocklistInitFlags` to `WindowsDllBlocklist.h`
  so that it is visible to more code.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:00:18 +00:00
Aaron Klotz 1ebde9174f Bug 1522830: Part 1 - Init legacy blocklist using gBlocklistInitFlags; r=mhowell
When we initialize the legacy blocklisting code, we should carry forward any
flags that were set by the launcher process and/or sandbox launcher.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 21:59:30 +00:00
Andrei Oprea a06612790c Bug 1596118 - Remove fxa accounts badge that has been replaced by Messaging System badging r=eoger,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D52843

--HG--
extra : moz-landing-system : lando
2019-12-06 13:53:07 +00:00
Gabriele Svelto 69790bc62e Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

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

--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
shindli 83be0128f4 Backed out 13 changesets (bug 1522830) for causing xpc shell failures in test_ThirdPartyModulesPing.js CLOSED TREE
Backed out changeset a3e44bbc9ce3 (bug 1522830)
Backed out changeset 11078767a246 (bug 1522830)
Backed out changeset c7ee156830cf (bug 1522830)
Backed out changeset 810f0cb2308d (bug 1522830)
Backed out changeset f8ab75219387 (bug 1522830)
Backed out changeset ec293f9a5e32 (bug 1522830)
Backed out changeset 4bfc013c3d79 (bug 1522830)
Backed out changeset f4ae67f2f231 (bug 1522830)
Backed out changeset 2737350b7d40 (bug 1522830)
Backed out changeset 52931597c652 (bug 1522830)
Backed out changeset bc8985a34539 (bug 1522830)
Backed out changeset 09cbbbc5c802 (bug 1522830)
Backed out changeset d5e366ea4657 (bug 1522830)
2019-12-06 02:07:16 +02:00
Aaron Klotz 8bc4f093b0 Bug 1522830: Part 12 - ASAN fix for DllBlocklistInit in launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D53685

--HG--
extra : moz-landing-system : lando
2019-12-05 22:00:50 +00:00
Aaron Klotz a62a0441c9 Bug 1522830: Part 6 - Add API to be able to initialize launcher dll blocklist during spawning of child process; r=mhowell
We need a way for the sandbox broker to be able to initialize the launcher
DLL blocklist when starting a new content process.

This patch adds the ability to resolve the initialization function through
DLL services.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 21:55:02 +00:00
Aaron Klotz e27c1bca50 Bug 1522830: Part 5 - Provide a launcher result type that unconditionally includes file and line info; r=mhowell
`LauncherResult` only includes file and line info when built into the launcher
process. Now that there will be `xul.dll`-based code calling into launcher
process startup, this would create an ABI mismatch.

This patch creates a new type, `LauncherResultWithLineInfo`, that
unconditionally includes the file and line so that APIs called by both `xul`
and non-`xul` code can have the same ABI for both.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 21:53:41 +00:00
Aaron Klotz 1faa66d3d6 Bug 1522830: Part 2 - Make launcher blocklist work in child processes; r=mhowell
* We change `InitializeDllBlocklistOOP` to be able to set the correct flags
  when initializing a sandbox child process.
* We change the freestanding DLL blocklist code to be sensitive to the
  `CHILD_PROCESSES_ONLY` flag;
* We move the declaration of `gBlocklistInitFlags` to `WindowsDllBlocklist.h`
  so that it is visible to more code.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 21:51:35 +00:00
Aaron Klotz 9a66b26b8a Bug 1522830: Part 1 - Init legacy blocklist using gBlocklistInitFlags; r=mhowell
When we initialize the legacy blocklisting code, we should carry forward any
flags that were set by the launcher process and/or sandbox launcher.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 21:51:33 +00:00
Gabriel Luong db27a01299 Bug 1601761 - Enable the PiP audio toggle in nightly. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D56055

--HG--
extra : moz-landing-system : lando
2019-12-05 20:36:24 +00:00
Mark Striemer 749ba15c52 Bug 1337627 - Remove remote discovery pane from about:addons r=robwu,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55719

--HG--
rename : browser/base/content/test/general/browser_bug581242.js => browser/base/content/test/webextensions/browser_aboutaddons_blanktab.js
extra : moz-landing-system : lando
2019-12-05 18:32:17 +00:00
Shane Caraveo 8919631c95 Bug 1393834 remove legacy.exceptions pref, code using it was removed r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D55873

--HG--
extra : moz-landing-system : lando
2019-12-05 10:49:58 +00:00
ffxbld 029fc78ac3 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D55956

--HG--
extra : moz-landing-system : lando
2019-12-05 15:40:18 +00:00
Thinker Li 7cfdf6a788 Bug 1470591 - Part 6: Create a fork server process. r=gsvelto
This patch make changes of Gecko infrastrutures to run a fork server
process.

 - ForkServerLauncher is a component, which creates a fork server
   process at XPCOM startup.

 - nsBrowserApp.cpp and related files have been chagned to start a
   fork server in a process.

 - Logging and nsTraceRefcnt were changed to make it work with the
   fork server.

Depends on D46883

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

--HG--
extra : moz-landing-system : lando
2019-12-05 00:02:40 +00:00
Razvan Maries 30d4c4f26d Backed out changeset 15f8fa34d2f4 (bug 1580567) for perma fails on browser_temporary_permissions_expiry.js and browser_privatebrowsing_rememberprompt.js. CLOSED TREE
--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-05 01:05:34 +02:00
Kearwood Kip Gilbert ef6bdce0ec Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

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

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-04 21:10:56 +00:00
Shane Caraveo d27218da77 Bug 1572140 remove compat override handling from AOM r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D55762

--HG--
extra : moz-landing-system : lando
2019-12-04 17:51:27 +00:00
Thomas Nguyen a0b817ac65 Bug 1483631 - Restrict nested permission requests in webrtc with permission delegate r=jib
Differential Revision: https://phabricator.services.mozilla.com/D47417

--HG--
extra : moz-landing-system : lando
2019-12-04 15:39:14 +00:00
Thomas Nguyen fd744cea01 Bug 1483631 - Restrict nested permission requests in ContentPermissionPrompt with permission delegate r=baku,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D47416

--HG--
extra : moz-landing-system : lando
2019-12-04 15:39:03 +00:00
Harry Twyford 35c4199231 Bug 1599784 - Enable update1 prefs by default. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D55179

--HG--
extra : moz-landing-system : lando
2019-12-03 21:27:58 +00:00
Bogdan Tara 3732e1f17c Backed out 6 changesets (bug 1470591) for test_punycodeURIs & test_nsIProcess* crashes CLOSED TREE
Backed out changeset 3ca19f8f388e (bug 1470591)
Backed out changeset f80db6e63169 (bug 1470591)
Backed out changeset cbac2d7dfe42 (bug 1470591)
Backed out changeset daad4d736ec0 (bug 1470591)
Backed out changeset ca1b804d404a (bug 1470591)
Backed out changeset a10772f780f7 (bug 1470591)
2019-12-04 00:53:14 +02:00
Thinker Li 035717ac2d Bug 1470591 - Part 6: Create a fork server process. r=gsvelto
This patch make changes of Gecko infrastrutures to run a fork server
process.

 - ForkServerLauncher is a component, which creates a fork server
   process at XPCOM startup.

 - nsBrowserApp.cpp and related files have been chagned to start a
   fork server in a process.

 - Logging and nsTraceRefcnt were changed to make it work with the
   fork server.

Depends on D46883

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

--HG--
extra : moz-landing-system : lando
2019-12-03 19:08:10 +00:00
Gurzau Raul 4f21dcd081 Backed out 4 changesets (bug 1483631) for failing at browser_temporary_permissions.js on a CLOSED TREE.
Backed out changeset f5bb5f6a148f (bug 1483631)
Backed out changeset c5e562c1d590 (bug 1483631)
Backed out changeset 7ef09193a7ef (bug 1483631)
Backed out changeset a909dcbbea2b (bug 1483631)
2019-12-03 21:57:55 +02:00
Thomas Nguyen 023216a561 Bug 1483631 - Restrict nested permission requests in webrtc with permission delegate r=jib
Differential Revision: https://phabricator.services.mozilla.com/D47417

--HG--
extra : moz-landing-system : lando
2019-12-03 16:25:31 +00:00
Thomas Nguyen d48ace2c5f Bug 1483631 - Restrict nested permission requests in ContentPermissionPrompt with permission delegate r=baku,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D47416

--HG--
extra : moz-landing-system : lando
2019-12-03 16:25:51 +00:00
Tom Ritter 4f9313ba4e Bug 1582512 - Register a ScriptValidationCallback to examine script loads in the parent process r=Gijs,ckerschb
Additionally, we disable validation on PAC scripts.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 17:27:09 +00:00
Noemi Erli 434c4a9abd Backed out 4 changesets (bug 1592894) for failing in browser_httpResponseProcessSelection.js
Backed out changeset 2e3a515756cc (bug 1592894)
Backed out changeset f431b1c95887 (bug 1592894)
Backed out changeset d9fcadf796da (bug 1592894)
Backed out changeset 79a9d3e1e255 (bug 1592894)
2019-12-03 04:09:56 +02:00
Paul Bone 6f5059af2e Bug 1592894 - pt 2. Remove useHttpResponseProcessSelection pref r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D53763

--HG--
extra : moz-landing-system : lando
2019-12-02 04:01:53 +00:00
Ciure Andrei e473bd5f57 Backed out 10 changesets (bug 1582512) for causing browser_preferences_usage.js to permafail CLOSED TREE
Backed out changeset a615a2c07523 (bug 1582512)
Backed out changeset 7dd0266da0a1 (bug 1582512)
Backed out changeset dfdefc6ede97 (bug 1582512)
Backed out changeset 59db30e1915f (bug 1582512)
Backed out changeset 1eb6f6b02149 (bug 1582512)
Backed out changeset 391ed11326fb (bug 1582512)
Backed out changeset 02865605c1c3 (bug 1582512)
Backed out changeset 017582048986 (bug 1582512)
Backed out changeset 1374c08302f9 (bug 1582512)
Backed out changeset 40dd63b6910a (bug 1582512)
2019-12-02 19:23:12 +02:00
Tom Ritter 40826aaf6c Bug 1582512 - Register a ScriptValidationCallback to examine script loads in the parent process r=Gijs,ckerschb
Additionally, we disable validation on PAC scripts.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:13 +00:00
ffxbld 095a889675 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D55438

--HG--
extra : moz-landing-system : lando
2019-12-02 14:02:17 +00:00
Patrick Brosset 3cdb7a0a1d Bug 1521934 - Set devtools.responsive.metaViewport.enabled pref to true; r=bradwerth
Now that all of the important metaViewport simulation bugs have been fixed, we would
like to let feature ride the trains, enabled by default.

This means we can also stop setting the pref in tests that rely on it.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 12:54:35 +00:00
Kate Hudson 0735359d70 Bug 1599762 - Add filtering and sorting by score to ASRouterTargeting r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D55066

--HG--
extra : moz-landing-system : lando
2019-11-28 23:28:23 +00:00
Nazım Can Altınova c413bb265b Bug 1599745 - Update default values of profiler recording preferences. r=julienw
This patch:
- Removes the responsiveness feature from the default features since we don't
  have it anymore.
- Adds "Renderer" thread to the default threads list. That is needed to capture
  screenshots with webrender.

Depends on D55103

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

--HG--
extra : moz-landing-system : lando
2019-11-28 17:37:29 +00:00
Nazım Can Altınova e77b282b59 Bug 1599745 - Register all performance panel recording preferences and move their default values there. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D55102

--HG--
extra : moz-landing-system : lando
2019-11-28 17:19:54 +00:00
Harry Twyford 49cad2a3ea Bug 1599785 - Hide and rename Urlbar searchButton pref. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D54961

--HG--
extra : moz-landing-system : lando
2019-11-27 16:38:47 +00:00
Harry Twyford 9b61c484ab Bug 1597698 - Move all megabar prefs under a urlbar.update1 branch. r=mak,dao
Differential Revision: https://phabricator.services.mozilla.com/D54146

--HG--
extra : moz-landing-system : lando
2019-11-26 17:15:31 +00:00
ffxbld 97c99c1595 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D54500

--HG--
extra : moz-landing-system : lando
2019-11-25 13:53:13 +00:00
Mihai Alexandru Michis d91d093c9a Backed out changeset 1f45ebce0c2d (bug 1521934) for causing devtools failures in responsive/test/browser 2019-11-25 14:48:07 +02:00
Patrick Brosset 87e12139b3 Bug 1521934 - Set devtools.responsive.metaViewport.enabled pref to true; r=bradwerth
Now that all of the important metaViewport simulation bugs have been fixed, we would
like to let feature ride the trains, enabled by default.

This means we can also stop setting the pref in tests that rely on it.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 17:20:28 +00:00
Steven Englehardt bf545007e9 Bug 1598493 - Enable fingerprinting blocking by default, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D54227

--HG--
extra : moz-landing-system : lando
2019-11-22 19:57:42 +00:00
Scott e84094e553 Bug 1567273 - Pref to enable lang config for Discovery Stream layouts r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D53236

--HG--
extra : moz-landing-system : lando
2019-11-20 21:19:23 +00:00
Mike Conley b22ac23808 Bug 1598455 - Enable User Initiated Picture-in-Picture for macOS and Linux GTK by default. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D54188

--HG--
extra : moz-landing-system : lando
2019-11-21 21:56:47 +00:00
ffxbld 533132c23d No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D54125

--HG--
extra : moz-landing-system : lando
2019-11-21 15:29:52 +00:00
Harry Twyford d3de0e27da Bug 1593664 - Add urlbar.megabar.expandTextOnFocus pref and increase font size to the equivalent of 15px on focus. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D53723

--HG--
extra : moz-landing-system : lando
2019-11-21 09:15:21 +00:00
Nan Jiang 6914a98c54 Bug 1597697 - Stop sending AS heartbeat ping to Tiles data pipeline. r=thecount
This turns off the telemetry to Tiles in m-c. Activity Stream related telemetry to Tiles will be handled separately.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 21:30:43 +00:00
Cosmin Sabou be84eb7037 Backed out 11 changesets (bug 1582512) for causing valgrind bustages.
Backed out changeset 8b850fd66bf5 (bug 1582512)
Backed out changeset 07d3631e609a (bug 1582512)
Backed out changeset fa91b085eb59 (bug 1582512)
Backed out changeset 232d5735d404 (bug 1582512)
Backed out changeset 47045fa2ffd2 (bug 1582512)
Backed out changeset 40a0f6c6cd61 (bug 1582512)
Backed out changeset 5fb3e489c31f (bug 1582512)
Backed out changeset 379318a35b20 (bug 1582512)
Backed out changeset bf81985c33b7 (bug 1582512)
Backed out changeset 1e0dd57b8041 (bug 1582512)
Backed out changeset 2787043f1fab (bug 1582512)
2019-11-20 18:44:45 +02:00
Tom Ritter e7037fe85f Bug 1582512 - Register a ScriptValidationCallback to examine script loads in the parent process r=Gijs,ckerschb
Additionally, we disable validation on PAC scripts.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 13:04:00 +00:00
ffxbld a55a956277 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D53414

--HG--
extra : moz-landing-system : lando
2019-11-18 13:25:41 +00:00
Toshihito Kikuchi bd457a84a8 Bug 1587642 - Make the blocklist work when the process heap is not initialized. r=aklotz
`patched_NtMapViewOfSection` uses the process default heap to copy a string.
However, `patched_NtMapViewOfSection` can be invoked even before the process
heap is initialized. One example we found is Windows Defender's EAF, with
which "verifier.dll" is loaded before the process heap is initialized.

This patch adds a check whether the heap is initialized or not in
`patched_NtMapViewOfSection` and `NativeNtBlockSet::Add`. This also minimizes
the usage of the heap, i.e. not copying a string when we block a dll.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 22:53:49 +00:00
Gijs Kruitbosch 885a346c7a Bug 1596090 - use staticprefs for flash enabled state pref, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D52845

--HG--
extra : moz-landing-system : lando
2019-11-13 21:17:12 +00:00
Erica Wright 364299690c Bug 1593258 - set milestone achieved flag only when milestone shown, to allow it to trigger the show message again. r=k88hudson,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D52771

--HG--
extra : moz-landing-system : lando
2019-11-15 21:40:26 +00:00
ffxbld 6e44b2aa1e No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D53009

--HG--
extra : moz-landing-system : lando
2019-11-14 23:48:44 +00:00
Gabriele Svelto 6ff1e8b815 Bug 1516367 - Move the minidump-analyzer out of the crash reporter application bundle r=spohl,dmajor
The minidump-analyzer tool was originally conceived to be used from the crash
report client and as such was installed in the crash reporter client
application bundle on macOS. It was later adapted to work from Firefox itself
but this caused linking problems when invoked from the Firefox app bundle.
This patch moves the minidump-analyzer into the Firefox app bundle and adapts
the relevant code to find it there.

The minidump-analyzer was also not signed like the rest of our executables and
this patch addresses that issue too.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 21:11:59 +00:00
Julian Descottes 4a8f004c68 Bug 1594885 - Basic scaffolding for whatsnew panel in DevTools r=jlast,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D52733

--HG--
extra : moz-landing-system : lando
2019-11-14 08:11:07 +00:00
Gurzau Raul 425b85a3c0 Backed out changeset 1fb9356c0a94 (bug 1594885) for devtools failures at browser_toolbox_tools_per_toolbox_registration.js on a CLOSED TREE. 2019-11-14 03:53:42 +02:00
Julian Descottes 1d6356e957 Bug 1594885 - Basic scaffolding for whatsnew panel in DevTools r=jlast,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D52733

--HG--
extra : moz-landing-system : lando
2019-11-13 23:21:52 +00:00
Gijs Kruitbosch b5a7317ab9 Bug 1595831 - use StaticPrefs for dom.ipc prefs for ContentParent and the hang monitor code, r=kmag
This additionally turns on dom.ipc.processHangMonitor on non-m-c consumers of gecko, as well as turning off dom.ipc.reportProcessHangs on debug geckoview.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 21:30:11 +00:00
Andrei Oprea 9497d181df Bug 1595090 - Expose scores and values to targeting expression r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D52368

--HG--
extra : moz-landing-system : lando
2019-11-12 15:39:20 +00:00
Doug Thayer c36e1fb750 Bug 1565902 - Test the impact of removing startup dll readahead r=glandium
We haven't tested this in recent times, and it would be good to understand
what the impact is looking at telemetry measures of startup in Nightly.
This doesn't rip out everything, but we will need to do that if we
determine that the readahead has a neutral / negative effect.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 04:00:00 +00:00
ffxbld 46cd67e91a No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D52533

--HG--
extra : moz-landing-system : lando
2019-11-11 14:21:48 +00:00
Johann Hofmann 27c6c032ae Bug 1593644 - Also enable permissions.desktop-notification.postPrompt.enabled. r=Ehsan
This is being enabled alongside dom.webnotifications.requireuserinteraction to ensure
a good user experience when automatically denying notification prompts.

Depends on D51595

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

--HG--
extra : moz-landing-system : lando
2019-11-06 17:20:46 +00:00
Jan Odvarko 5c358a6fd0 Bug 1592692 - Enable Resource blocking in all channels r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D52335

--HG--
extra : moz-landing-system : lando
2019-11-08 18:40:04 +00:00
Jan Odvarko 9cdd87b0eb Bug 1583446 - Enabling Search in all channels r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D52334

--HG--
extra : moz-landing-system : lando
2019-11-08 18:40:21 +00:00
Jan Odvarko d32bcc377c Bug 1573805 - Enable WS Monitor in all channels r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D52333

--HG--
extra : moz-landing-system : lando
2019-11-08 18:40:38 +00:00
joshua stein d2fd2a4478 Bug 1584839 - Move OpenBSD pledge promises to files r=gcp
this way, preferences cant be modified by an extension, and they're
locked down in root-owned files.

Pledge promises files consist of a promise by line, are read first from
/etc/MOZ_APP_NAME/pledge.${processtype} (allowing overriding by a local
root if needed), and if not found
/usr/local/lib/MOZ_APP_NAME/browser/defaults/preferences is used, which
is where the OpenBSD packaging system will install the defaults.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 09:52:18 +00:00
ffxbld 02b887e62e No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D52150

--HG--
extra : source : 90745d442c4b0885b14449065509484da5de9fe5
2019-11-07 15:36:28 +00:00
Ciure Andrei 98e9f97749 Backed out changeset 90745d442c4b for causing build bustages CLOSED TREE 2019-11-07 18:19:01 +02:00
Thomas Nguyen 7e65be9414 Bug 1583142 - Remove third-party "persistent-storage" prompting support r=baku
Differential Revision: https://phabricator.services.mozilla.com/D50908

--HG--
extra : moz-landing-system : lando
2019-11-07 14:29:02 +00:00
ffxbld 3d9a3dab4a No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D52150

--HG--
extra : moz-landing-system : lando
2019-11-07 15:36:28 +00:00
Ciure Andrei c5a6643d39 Backed out changeset dde0354521ab (bug 1583142) for causing PermissionDelegateHandler.cpp bustages CLOSED TREE 2019-11-07 14:17:02 +02:00
Thomas Nguyen f431604a62 Bug 1583142 - Remove third-party "persistent-storage" prompting support r=baku
Differential Revision: https://phabricator.services.mozilla.com/D50908

--HG--
extra : moz-landing-system : lando
2019-11-07 11:56:28 +00:00
Harry Twyford 4dce9bbdfa Bug 1593659 - Put the search button behind a pref. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51674

--HG--
extra : moz-landing-system : lando
2019-11-04 20:40:40 +00:00
Gabriel Luong d1c32b6f80 Bug 1575075 - Add an audio toggle button in PiP to mute and unmute a video. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D51413

--HG--
extra : moz-landing-system : lando
2019-11-04 21:14:50 +00:00
ffxbld 7ecd576f74 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D51601

--HG--
extra : moz-landing-system : lando
2019-11-04 13:51:07 +00:00
ffxbld c1e90a0ee7 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D51261

--HG--
extra : moz-landing-system : lando
2019-10-31 14:46:55 +00:00
Chris H-C 82bcf7f5be Bug 1520491 - Remove Hybrid Content Telemetry r=janerik,Dexter
It isn't in use. We haven't been able to identify a project that will use it
any time soon. And its test (and, thus, possibly the code itself) isn't
Fission-compatible.

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

--HG--
rename : toolkit/components/telemetry/docs/collection/hybrid-content.rst => toolkit/components/telemetry/docs/obsolete/hybrid-content.rst
extra : moz-landing-system : lando
2019-10-30 17:35:36 +00:00
Marco Bonardo d973ff4e31 Bug 1525296 - Remove any remaining references to old search suggestions notifications. r=adw,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D50932

--HG--
extra : moz-landing-system : lando
2019-10-29 17:57:10 +00:00
Mike Conley 3c16817a75 Bug 1590428 - Enable Picture-in-Picture by default on Windows. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D50950

--HG--
extra : moz-landing-system : lando
2019-10-29 16:48:10 +00:00
Marco Bonardo abe6482b65 Bug 1592126 - Disable the megabar redesign until the next design iteration. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D50864

--HG--
extra : moz-landing-system : lando
2019-10-29 00:25:08 +00:00
Mark Banner d01a9d2ee9 Bug 1592134 - Turn on the display of default private search engine feature for Nightly users only. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50866

--HG--
extra : moz-landing-system : lando
2019-10-29 08:14:25 +00:00
Gabriel Luong 7d8648596f Bug 1578745 - Introduce a preference to enable fission frame inspection in DevTools. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D50666

--HG--
extra : moz-landing-system : lando
2019-10-28 20:45:21 +00:00
Arthur Iakab e12bd930c4 Backed out changeset 94a89e567444 (bug 1578745) for causing multiple devtools failures on browser_dbg-inline-preview.js. CLOSED TREE 2019-10-28 22:15:51 +02:00
Gabriel Luong fb2769e50c Bug 1578745 - Introduce a preference to enable fission frame inspection in DevTools. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D50666

--HG--
extra : moz-landing-system : lando
2019-10-28 18:42:45 +00:00
Toshihito Kikuchi 99c8b1c9ac Bug 1572788 - Make nsXULAppInfo::GetUserCanElevate reuse GetElevationType. r=aklotz
`nsXULAppInfo::GetUserCanElevate` can reuse `GetElevationType` and we can remove
`VistaTokenElevationType` definition.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 14:53:42 +00:00
Nicolas Chevobbe d76b60f122 Bug 1519103 - Remove Scratchpad panel. r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D50583

--HG--
extra : moz-landing-system : lando
2019-10-27 09:05:58 +00:00
Jared Wein a53ed5169f Bug 1571425 - Add a 'Don't ask again' button to the Sync Options notification bar in about:logins. r=fluent-reviewers,flod
Depends on D49475

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

--HG--
extra : moz-landing-system : lando
2019-10-25 21:50:27 +00:00
Mike Conley 213a1925ac Bug 1591227 - Enable Picture-in-Picture on Nightly for macOS and Linux GTK. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D50603

--HG--
extra : moz-landing-system : lando
2019-10-25 14:59:28 +00:00
Gabriel Luong 48625f2f06 Bug 1550804 - Add color scheme simulation to the inspector. r=pbro
This adds a color scheme simulation toggle button in the rules view,
which will toggle between 4 different states: default, dark, light,
and no-preference.

This feature is currently hidden away under a preference:
devtools.inspector.color-scheme-simulation.enabled

The final UI/UX still needs to be figured out, however, this initial step is
to land the ability to prototype this feature.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 19:28:02 +00:00
Johann Hofmann c85c3306cf Bug 1590755 - Enable the new certificate viewer everywhere. r=carolina.jimenez.g
Differential Revision: https://phabricator.services.mozilla.com/D50575

--HG--
extra : moz-landing-system : lando
2019-10-25 12:46:12 +00:00
Gurzau Raul a11233a256 Backed out changeset 5eb5f44dcf96 (bug 1550804) for failures at browser_parsable_css.js on a CLOSED TREE. 2019-10-25 02:03:36 +03:00
Gabriel Luong f950443d4d Bug 1550804 - Add color scheme simulation to the inspector. r=pbro
This adds a color scheme simulation toggle button in the rules view,
which will toggle between 4 different states: default, dark, light,
and no-preference.

This feature is currently hidden away under a preference:
devtools.inspector.color-scheme-simulation.enabled

The final UI/UX still needs to be figured out, however, this initial step is
to land the ability to prototype this feature.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 20:39:00 +00:00
Gurzau Raul 4e686f7962 Backed out changeset f3fee3ded743 (bug 1550804) for many devtools failures e.g. browser_markup_accessibility_focus_blur.js on a CLOSED TREE. 2019-10-24 21:39:31 +03:00
Gabriel Luong 627912f5f2 Bug 1550804 - Add color scheme simulation to the inspector. r=pbro
This adds a color scheme simulation toggle button in the rules view,
which will toggle between 4 different states: default, dark, light,
and no-preference.

This feature is currently hidden away under a preference:
devtools.inspector.color-scheme-simulation.enabled

The final UI/UX still needs to be figured out, however, this initial step is
to land the ability to prototype this feature.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 17:23:18 +00:00
David Walsh be94813f39 Bug 1580544 - Enable blocked resources in Nightly and Dev Edition r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D50222

--HG--
extra : moz-landing-system : lando
2019-10-24 07:27:45 +00:00
Oana Pop Rus 98a637091e Backed out 2 changesets (bug 1571425, bug 1584524) for bc perma failures in browser_noLoginsView.js on a CLOSED TREE
Backed out changeset f94bd5f33670 (bug 1571425)
Backed out changeset eadf47e498ff (bug 1584524)
2019-10-24 00:36:09 +03:00
Jared Wein e129164357 Bug 1571425 - Add a 'Don't ask again' button to the Sync Options notification bar in about:logins. r=sfoster,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D49471

--HG--
extra : moz-landing-system : lando
2019-10-23 20:03:42 +00:00
Mike de Boer efd1aba9d9 Bug 1590775 - Ensure to enable the default private search engine feature for Nightly users only. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D50235

--HG--
extra : moz-landing-system : lando
2019-10-23 14:59:19 +00:00
Punam Dahiya f95a2a64f7 Bug 1590504 - About welcome modal variant with Start Here and Meet the rest of Firefox UI r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D50123

--HG--
extra : moz-landing-system : lando
2019-10-23 00:16:13 +00:00
fluks 686acfc93a Bug 1230453 - Add a hidden preference to change the number of folders in the recent list of the "bookmark this page" popup. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D43679

--HG--
extra : moz-landing-system : lando
2019-10-22 07:57:49 +00:00
Dão Gottwald 786dcf2f6a Bug 1589923 - Strip https:// instead of http:// from URLs in the results view. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49842

--HG--
extra : moz-landing-system : lando
2019-10-22 07:22:55 +00:00
shindli e5617f8407 Backed out changeset 675c7c3794bc (bug 1589923) for causing xpcshell failures in xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_urlbar.js CLOSED TREE 2019-10-22 00:58:58 +03:00
Dão Gottwald e3dfaefb00 Bug 1589923 - Strip https:// instead of http:// from URLs in the results view. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49842

--HG--
extra : moz-landing-system : lando
2019-10-21 18:55:25 +00:00
ffxbld 4c889635b4 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D49928

--HG--
extra : moz-landing-system : lando
2019-10-21 13:23:30 +00:00
Nicolas Chevobbe 5c94cfcc44 Bug 1576568 - Enable editor mode everywhere. r=Honza.
The focus previous element function needed to be modified
in order to not find non-visible elements.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 08:39:42 +00:00
Mark Banner 2e1253978b Bug 1588785 - Make the search service also detect when the UI is not enabled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49652

--HG--
extra : moz-landing-system : lando
2019-10-18 18:53:36 +00:00
Kristen Wright e5f8dfc9dd Bug 1588650 - Remove duplicate prefs from firefox.js r=njn
Removes the three duplicate prefs from firefox.js where the `value` field matches with StaticPrefList.yaml. Imports any additional comments from firefox.js to their accompanying static pref.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 18:16:21 +00:00
Oana Pop Rus 852f034b58 Backed out 2 changesets (bug 1588785) for causing bc perma failures in browser_searchDefaultEngine.js on a CLOSED TREE
Backed out changeset 6ad4b26b21d7 (bug 1588785)
Backed out changeset 4a4afa268baf (bug 1588785)
2019-10-18 18:45:58 +03:00
Mark Banner c481f33c74 Bug 1588785 - Make the search service also detect when the UI is not enabled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49652

--HG--
extra : moz-landing-system : lando
2019-10-18 13:48:17 +00:00
Mark Banner 183b11bae0 Bug 1588576 - Add a preference to control the maximum number of shows of the private search introduction banner. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D49584

--HG--
extra : moz-landing-system : lando
2019-10-17 13:42:53 +00:00
ffxbld 716fe01e26 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D49605

--HG--
extra : moz-landing-system : lando
2019-10-17 14:34:51 +00:00
Erica Wright da9bdae004 Bug 1579974 - Add celebrating milestone toast when certain numbers of trackers are blocked. r=k88hudson,johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D47512

--HG--
extra : moz-landing-system : lando
2019-10-15 19:30:11 +00:00
Cosmin Sabou 5d6e6dc693 Backed out changeset adbcc583862c (bug 1579974) for browser chrome failures on browser_asrouter_trigger_listeners.js 2019-10-15 00:12:26 +03:00
Toshihito Kikuchi ee1f6d7a78 Bug 1529593 - Make LauncherRegistryInfo delay write to the registry. r=aklotz
We have the `LauncherRegistryInfo` class to check the launcher process was
launched successfully on Windows by comparing the timestamps in the registry
when each process was launched.

The problem was when the process is launched from an elevated process, we
relaunch a new launcher process via shell after we updated the launcher's
timestamp.  As a result, `LauncherRegistryInfo` unexpectedly disabled the
launcher process even though there was nothing wrong.

A proposed fix is to introduce delay-write to the `LauncherRegistryInfo`.  With
this, `LauncherRegistryInfo::Check` modifies only the image timestamp. To update
the launcher/browser timestamps, we need to call `LauncherRegistryInfo::Commit`.
When we ask shell to relaunch a new process, we hold back commit, delegating it
to the new process.

There is another consideration needed.  If something fails during `LauncherMain`,
we call `DisableDueToFailure()` to disable the launcher until the image timestamp
is changed.  In such a case, we should not change the stored timestamps even
though commit is attempted.  The problem is we use a different instance to call
`DisableDueToFailure()` in `HandleLauncherError`.  To deal with this design,
`LauncherRegistryInfo` has a static boolean to indicate disablement happens or not.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 17:14:54 +00:00
Erica Wright 994cf2a525 Bug 1579974 - Add celebrating milestone toast when certain numbers of trackers are blocked. r=k88hudson,johannh,fluent-reviewers,flod
test with:
`./mach run --temp-profile --setpref browser.newtabpage.activity-stream.asrouter.providers.cfr="{\"id\":\"cfr\",\"enabled\":true,\"type\":\"local\",\"localProvider\":\"CFRMessageProvider\",\"frequency\":{\"custom\":[{\"period\":\"daily\",\"cap\":10}]},\"categories\":[\"cfrAddons\",\"cfrFeatures\"],\"updateCycleInMs\":3600000}"`

for testing: Change `browser/components/newtab/lib/CFRPageActions.jsm` line 136, to `if (false)` instead of `if (resource)` or comment out that block. This is to force using the local ftl file.


  - you can use the newtab devtools, set `browser.newtabpage.activity-stream.asrouter.devtoolsEnabled=true`
 - change the pref `privacy.trackingprotection.cfr-milestone.milestone-achieved=1` and `privacy.trackingprotection.cfr-milestone.milestones="1, 5000, 10000, 25000, 50000, 100000, 500000"`
 - ensure at least one tracker has been saved in the database by visiting a tracking page and refreshing (this is so we can get the date it was saved from the database).
- open a new tab and click the wrench to the top right.
- change provider to "cfr" scroll down to find the milestone_message and click "show"
- I've now added a 24 hour timeout in `toolkit/components/antitracking/TrackingDBService.jsm` line 270 - you'll want to comment this out in order to see the popup.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 20:06:41 +00:00
ffxbld cbc7251ad9 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D49151

--HG--
extra : moz-landing-system : lando
2019-10-14 13:16:30 +00:00
Razvan Caliman 56cd72319f Bug 1572651 - (Part 2) Split BoxModelHighlighter into observer and renderer parts. r=pbro,jdescottes
NOTE: To use the new box model highlighter, flip this pref to true: `devtools.inspector.use-new-box-model-highlighter`

Adding Julian as reviewer to check the sanity of the communication system (see `BoxModelHiglighterObserver` constructor and `BoxModelHighlighterRenderer.setMessageManager()`, `BoxModelHighlighterRenderer.onMessage()`,  `BoxModelHighlighterRenderer.postMessage()`) and Patrick for the overall highlighter behavior which is mostly a clean split of the existing [`BoxModelHighlighter`](https://searchfox.org/mozilla-central/rev/f43ae7e1c43a4a940b658381157a6ea6c5a185c1/devtools/server/actors/highlighters/box-model.js)).

---

Depends on D47091

## Preamble

This patch looks more frightening than it actually is. Let me explain:

The vast majority of the code in `box-model-highlighter-observer.js` and `box-model-highlighter-renderer.js` is a clean split of the code existing in `box-model-highlighter.js` into distinct parts which handle the node measurement (observer) and the drawing the highlighter (renderer). I kept the method names identical to help in matching them up with their original sources.

There was no simple way chunk this without confusing the daylight out of you so I decided to co-locate all changes so it's easier to track and reference methods.

I will detail below the important differences.


## Overview:

The box model highlighter is split into two distinct parts:
- an observer which monitors the node's position
- a renderer which draws the highlighter on top of the node

The renderer always lives in the parent process (browser window) and overlays an iframe with the highlighter markup:
- either over the content if highlighting in the context of the content toolbox
- or over the whole browser UI if highlighting in the context of the browser toolbox

When in the context of the browser toolbox (i.e. highlighting the browser UI), both observer and renderer live in the parent process. Communication is done by direct calls.

When in the context of the content toolbox (i.e. highlighting the page content), the observer lives in content process (so it can measure the node) while the renderer lives in the parent process. Communication is done by message passing via `MessageManager` (soon to be deprecated and replaced with JSWindowActor API)

## Notable differences after the split

- the observer checks whether it is in the content process (aka child process) and sets up the highlighter in the parent process by using [`setupInParent()`](https://docs.firefox-dev.tools/backend/actor-e10s-handling.html) and establishes a communication system to it via message manager. If the observer is in the parent process (browser toolbox scenario), the renderer is setup directly via its constructor and no additional communication system is required.

- whenever the node quads change (as determined by the untouched existing base class `auto-refresh.js`), the observer gathers the data about the node position and sends it over to the renderer. This happens in the `BoxModelHighlighterObserver._update()` (corresponding to the [`_update()` from the existing highlighter](https://searchfox.org/mozilla-central/rev/45f30e1d19bde27bf07e47a0a5dd0962dd27ba18/devtools/server/actors/highlighters/box-model.js#361-383)).

- the renderer expects its `render()` method to be called with the necessary node position information whenever it should update the highlighter. It is the entry point which then calls all the DOM manipulation methods copied over from the existing box model highlighter.

- the only notable change in DOM manipulation methods is in `BoxModelHighlighterRenderer._updateBoxModel()` (corresponding to [`updateBoxModel()` from the existing highlighter](https://searchfox.org/mozilla-central/rev/45f30e1d19bde27bf07e47a0a5dd0962dd27ba18/devtools/server/actors/highlighters/box-model.js#504-560)) where the `_nodeNeedsHighlighting()` is kept on the observer part and the canvas zoom adjustment is removed  (`this.markup.scaleRootElement(this.currentNode, rootId)`) because the canvas is no longer influenced by the page zoom (the canvas lives in the browser window, not the content window)

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

--HG--
rename : devtools/server/actors/highlighters/box-model.js => devtools/server/actors/highlighters/box-model-renderer.js
extra : moz-landing-system : lando
2019-10-11 12:39:42 +00:00
Sam Foster 3120dbb435 Bug 1563330 - Let login autocomplete for subdomains ride trains for release. r=MattN
Needs a rs to enable the feature for 71.

Try: https://treeherder.mozilla.org/#/jobs?repo=try&searchStr=mochitest&revision=811f92d684564767fdfcfabf9408905e41ec1de0
I guess all the autocomplete tests are skipped for android anyhow, but I also ran: https://treeherder.mozilla.org/#/jobs?repo=try&searchStr=mochitest&revision=f7d3c7dbb98654e8345030ca3058f44a9c31b510

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

--HG--
extra : moz-landing-system : lando
2019-10-12 08:51:20 +00:00
Nan Jiang d4893635c3 Bug 1585434 - Add a pref to control ASRouter remote l10n r=Mardak
By flipping this pref, we can force ASRouter to load the local flient files for l10n. Note I will make another change for ASRouter to decide which fluent source to use.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 21:01:20 +00:00
Mark Banner 0f977493e1 Bug 1576160 - Turn on the display of default private search engine feature for nightly/early beta users. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D47223

--HG--
extra : moz-landing-system : lando
2019-10-11 07:22:23 +00:00
Bianca Danforth 61e0ee2fd9 Bug 1585499 - Enable Extension Storage actor in addon debugger by default r=rpl,miker
Differential Revision: https://phabricator.services.mozilla.com/D47851

--HG--
extra : moz-landing-system : lando
2019-10-09 11:49:45 +00:00
Daniel Varga 6a27b47313 Backed out 3 changesets (bug 1572651) for devtools failure at devtools/client/inspector/test/browser_inspector_highlighter-by-type.js. On a CLOSED TREE
Backed out changeset 71db1896c459 (bug 1572651)
Backed out changeset fb5863ee4d37 (bug 1572651)
Backed out changeset 5ef33867cacb (bug 1572651)
2019-10-10 18:51:17 +03:00
ffxbld 8d4072c53b No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D48836

--HG--
extra : moz-landing-system : lando
2019-10-10 14:38:00 +00:00
Razvan Caliman 780c3bc0b5 Bug 1572651 - (Part 2) Split BoxModelHighlighter into observer and renderer parts. r=pbro,jdescottes
NOTE: To use the new box model highlighter, flip this pref to true: `devtools.inspector.use-new-box-model-highlighter`

Adding Julian as reviewer to check the sanity of the communication system (see `BoxModelHiglighterObserver` constructor and `BoxModelHighlighterRenderer.setMessageManager()`, `BoxModelHighlighterRenderer.onMessage()`,  `BoxModelHighlighterRenderer.postMessage()`) and Patrick for the overall highlighter behavior which is mostly a clean split of the existing [`BoxModelHighlighter`](https://searchfox.org/mozilla-central/rev/f43ae7e1c43a4a940b658381157a6ea6c5a185c1/devtools/server/actors/highlighters/box-model.js)).

---

Depends on D47091

## Preamble

This patch looks more frightening than it actually is. Let me explain:

The vast majority of the code in `box-model-highlighter-observer.js` and `box-model-highlighter-renderer.js` is a clean split of the code existing in `box-model-highlighter.js` into distinct parts which handle the node measurement (observer) and the drawing the highlighter (renderer). I kept the method names identical to help in matching them up with their original sources.

There was no simple way chunk this without confusing the daylight out of you so I decided to co-locate all changes so it's easier to track and reference methods.

I will detail below the important differences.


## Overview:

The box model highlighter is split into two distinct parts:
- an observer which monitors the node's position
- a renderer which draws the highlighter on top of the node

The renderer always lives in the parent process (browser window) and overlays an iframe with the highlighter markup:
- either over the content if highlighting in the context of the content toolbox
- or over the whole browser UI if highlighting in the context of the browser toolbox

When in the context of the browser toolbox (i.e. highlighting the browser UI), both observer and renderer live in the parent process. Communication is done by direct calls.

When in the context of the content toolbox (i.e. highlighting the page content), the observer lives in content process (so it can measure the node) while the renderer lives in the parent process. Communication is done by message passing via `MessageManager` (soon to be deprecated and replaced with JSWindowActor API)

## Notable differences after the split

- the observer checks whether it is in the content process (aka child process) and sets up the highlighter in the parent process by using [`setupInParent()`](https://docs.firefox-dev.tools/backend/actor-e10s-handling.html) and establishes a communication system to it via message manager. If the observer is in the parent process (browser toolbox scenario), the renderer is setup directly via its constructor and no additional communication system is required.

- whenever the node quads change (as determined by the untouched existing base class `auto-refresh.js`), the observer gathers the data about the node position and sends it over to the renderer. This happens in the `BoxModelHighlighterObserver._update()` (corresponding to the [`_update()` from the existing highlighter](https://searchfox.org/mozilla-central/rev/45f30e1d19bde27bf07e47a0a5dd0962dd27ba18/devtools/server/actors/highlighters/box-model.js#361-383)).

- the renderer expects its `render()` method to be called with the necessary node position information whenever it should update the highlighter. It is the entry point which then calls all the DOM manipulation methods copied over from the existing box model highlighter.

- the only notable change in DOM manipulation methods is in `BoxModelHighlighterRenderer._updateBoxModel()` (corresponding to [`updateBoxModel()` from the existing highlighter](https://searchfox.org/mozilla-central/rev/45f30e1d19bde27bf07e47a0a5dd0962dd27ba18/devtools/server/actors/highlighters/box-model.js#504-560)) where the `_nodeNeedsHighlighting()` is kept on the observer part and the canvas zoom adjustment is removed  (`this.markup.scaleRootElement(this.currentNode, rootId)`) because the canvas is no longer influenced by the page zoom (the canvas lives in the browser window, not the content window)

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

--HG--
rename : devtools/server/actors/highlighters/box-model.js => devtools/server/actors/highlighters/box-model-renderer.js
extra : moz-landing-system : lando
2019-10-10 14:15:22 +00:00
Julian Descottes 3ee99df695 Bug 1586819 - Add DevTools command button to show the currently enabled devtools-fission prefs r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D48367

--HG--
extra : moz-landing-system : lando
2019-10-10 13:00:03 +00:00
Erica Wright 66f7bcab3e Bug 1586882 - Add params to lockwise and proxy links from protection report. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D48582

--HG--
extra : moz-landing-system : lando
2019-10-10 08:06:58 +00:00
Bogdan Tara a5bb9b3228 Backed out changeset 6cdb3133f50f (bug 1586882) by lizzard's request
--HG--
extra : rebase_source : eb43ef89bf7d30160747bd196a42c142749449bb
2019-10-10 01:13:00 +03:00
Jared Wein cb59d6042b Bug 1576276 - Persist sort direction in about:logins. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D48543

--HG--
extra : moz-landing-system : lando
2019-10-09 18:15:05 +00:00
Erica Wright b272610ee8 Bug 1586882 - Add params to lockwise and proxy links from protection report. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D48582

--HG--
extra : moz-landing-system : lando
2019-10-09 15:00:56 +00:00
Alexandre Poirot 52a0e9273a Bug 1565263 - Support target switching for the console. r=nchevobbe,yulia,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D40016

--HG--
extra : moz-landing-system : lando
2019-10-09 08:03:43 +00:00
Daisuke Akatsuka 7e29410b9e Bug 1586634: Enable the compatibility tool by devtools.inspector.compatibility.enabled pref. r=pbro,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D48323

--HG--
extra : moz-landing-system : lando
2019-10-09 00:35:32 +00:00
Ricky Stewart c010710916 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c

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

--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
Luke Crouch 80e1549825 Bug 1586342 update proxy card to new FPN domain r=baku
***
fixup

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

--HG--
extra : moz-landing-system : lando
2019-10-07 20:15:14 +00:00
Daniel Varga 052ef806b5 Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00
Ricky Stewart 940d91af38 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e

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

--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
Tomislav Jovanovic 22b3b8b535 Bug 1560059 - Bug 1530371 - Restore XPInstall permission for addons.mozilla.org r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D48264

--HG--
extra : moz-landing-system : lando
2019-10-07 08:30:55 +00:00
ffxbld 5a0922f7cb No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D48342

--HG--
extra : moz-landing-system : lando
2019-10-07 13:11:07 +00:00
Luke Crouch cda6d84e6e Bug 1586354: add install permission for new proxy domain r=baku
Differential Revision: https://phabricator.services.mozilla.com/D48207

--HG--
extra : moz-landing-system : lando
2019-10-04 18:04:06 +00:00
shindli 1f419c5c75 Backed out changeset 97efcd0fa370 (bug 1585747) for causing mochitest permafailures in /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/BrowsingContextGroup CLOSED TREE 2019-10-04 12:03:47 +03:00
Julian Descottes 5f317e2d24 Bug 1585747 - Remove devtools preference devtools.toolbox.content-frame r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D47963

--HG--
extra : moz-landing-system : lando
2019-10-03 15:15:49 +00:00
ffxbld 9238ced3bb No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D48055

--HG--
extra : moz-landing-system : lando
2019-10-03 13:40:24 +00:00
Dão Gottwald f9b9d71d3d Bug 1577541 - Enable megabar pref by default in Nightly. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D46595

--HG--
extra : moz-landing-system : lando
2019-10-02 17:26:37 +00:00
Emilio Cobos Álvarez 4b9dcc4e53 Bug 1584950 - Use StaticPrefs in ScrollFrameHelper::IsSmoothScrollingEnabled. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D47589

--HG--
extra : moz-landing-system : lando
2019-10-01 08:01:22 +00:00
Mark Banner f9c236531f Bug 1563021 - Add preferences UI to allow enabling and selection of a separate default private engine. r=fluent-reviewers,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D46971

--HG--
extra : moz-landing-system : lando
2019-09-30 19:18:26 +00:00
ffxbld 8a664f77d8 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D47597

--HG--
extra : moz-landing-system : lando
2019-09-30 13:11:37 +00:00
ffxbld c9b081d8c9 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D47244

--HG--
extra : moz-landing-system : lando
2019-09-26 14:33:06 +00:00
Julian Descottes f1e794d6c5 Bug 1539462 - Remove the DevTools connect page r=ladybenko
Depends on D46704

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

--HG--
extra : moz-landing-system : lando
2019-09-25 18:50:24 +00:00
Julian Descottes 5c1a679523 Bug 1539462 - Remove WebIDE r=ochameau,jryans,janerik,fluent-reviewers,flod
Per deprecation roadmap on https://developer.mozilla.org/en-US/docs/Tools/Deprecated_tools#WebIDE_and_Connect_page

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:24:58 +00:00
Tom Ritter 4c863c9c5b Bug 1557074 - Enable process isolation for AMO and FXA on Nightly r=nika
And Nightly only, this isn't riding trains yet.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 15:27:48 +00:00
Florens Verschelde 83af8e000a Bug 1578097 - Add prefs to persist the open states of flexbox accordion items separately; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D44331

--HG--
extra : moz-landing-system : lando
2019-09-25 07:57:26 +00:00
Edouard Oger 00b4395dc0 Bug 1577449 - Replace Learn about Send Tab link. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D46631

--HG--
extra : moz-landing-system : lando
2019-09-24 22:50:36 +00:00
Robert Helmer 10013d31ee Bug 1582608 - add elapsed time to FirstStartup telemetry and bump timeout to 30s r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D46556

--HG--
extra : moz-landing-system : lando
2019-09-20 17:35:44 +00:00
Aaron Klotz fccd6eb9ba Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell
* At this point our DLL blocking infra is complicated enough that I decided to
  bite the bullet and move all of this code out of `mozglue/build` and into its
  own subdirectory, `mozglue/dllservices`.
* We delete the original `UntrustedDllsHandler` code which is now obsolete.
* We implement mozglue's `LoaderObserver`:
** When this observer registers itself with the launcher process API, it
   receives a vector containing all saved records of loaded DLLs that happened
   until that moment.
** This code handles profiler labels and stackwalking suppression.
** Once a load has completed, we either pass the load on to XUL for further
   processing, or save it for later if XUL is not initialized yet.
* mozglue has its own `ModuleLoadFrame` implementation for the legacy blocklist.
* `DllServicesBase` is updated to support the new interfaces.
* We implement `FallbackLoaderAPI` for `plugin-container`, `xpcshell`, and
  any other non-`firefox` processes that do not have a launcher process
  providing a loader API.
* We add some wide to UTF8 conversion functions.

Depends on D43157

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

--HG--
rename : mozglue/build/Authenticode.cpp => mozglue/dllservices/Authenticode.cpp
rename : mozglue/build/Authenticode.h => mozglue/dllservices/Authenticode.h
rename : browser/app/winlauncher/freestanding/LoaderAPIInterfaces.h => mozglue/dllservices/LoaderAPIInterfaces.h
rename : browser/app/winlauncher/freestanding/ModuleLoadInfo.h => mozglue/dllservices/ModuleLoadInfo.h
rename : browser/app/winlauncher/NtLoaderAPI.h => mozglue/dllservices/NtLoaderAPI.h
rename : mozglue/build/WindowsDllBlocklist.cpp => mozglue/dllservices/WindowsDllBlocklist.cpp
rename : mozglue/build/WindowsDllBlocklist.h => mozglue/dllservices/WindowsDllBlocklist.h
rename : mozglue/build/WindowsDllBlocklistCommon.h => mozglue/dllservices/WindowsDllBlocklistCommon.h
rename : mozglue/build/WindowsDllBlocklistDefs.in => mozglue/dllservices/WindowsDllBlocklistDefs.in
rename : mozglue/build/WindowsDllServices.h => mozglue/dllservices/WindowsDllServices.h
rename : mozglue/build/gen_dll_blocklist_defs.py => mozglue/dllservices/gen_dll_blocklist_defs.py
rename : mozglue/build/moz.build => mozglue/dllservices/moz.build
rename : mozglue/build/MozglueUtils.h => mozglue/misc/WinUtils.h
extra : moz-landing-system : lando
2019-09-23 20:18:41 +00:00
Aaron Klotz f9be0e1c7f Bug 1542830: Part 3 - Add ntdll_freestanding.lib to freestanding; r=mhowell,froydnj
The `freestanding` library is built with specific compiler flags to signify
that it is indeed freestanding code. That is, it does not depend on a
standard library.

One of the requirements of freestanding code is that the toolchain still
expects implementations of `memcpy`, `memmove`, `memcmp`, and `memset`.

I did briefly implement my own naive versions of these functions, but that
solution is less than ideal since the implementations must be `extern` and are
thus picked up by the entire `firefox.exe` binary. This denies the rest of
`firefox.exe` the benefit of optimized implementations. On Windows, the
sandbox is linked into `firefox.exe`, so we cannot just shrug and
assume that naive implementations will not have any effect on anything.

There are, however, optimized implementations of these functions that are
exported by `ntdll.dll`. They are not included in the `ntdll.lib` that is
included in the Windows SDK. Using `llvm-dlltool`, we can build an import
library containing the missing entries and then add that library to `OS_LIBS`.

Depends on D43156

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

--HG--
extra : moz-landing-system : lando
2019-09-23 20:18:37 +00:00
Aaron Klotz 5690759b5c Bug 1542830: Part 2 - Modify launcher process blocklist to collect information about untrusted module loads; r=mhowell
* We refactor the blocklist code. Code that may possibly run before
  initialization of the Win32 subsystem and the CRT is contained within the
  `freestanding` library.
* The `freestanding` library's static initializers are placed in their own
  section so that they may be manually invoked separately from the remaining
  initializers in the binary.
* `CheckBlockInfo` and `IsDllAllowed` are modified to return a `BlockAction`
  enum instead of a `bool`. This will be used more extensively in the future for
  LSP blocking.
* The launcher process now hooks `LdrLoadDll` in addition to
  `NtMapViewOfSection`. This is necessary so that we can collect timing
  information.
* Telemetry recorders must implement the `LoaderObserver` interface.
* `ModuleLoadFrame` is a RAII class that collects the information about the
  DLL load and dispatches the information to `LoaderObserver`s.
* The launcher process exposes an implementation of the `LoaderAPI` interface
  that may be called by either the launcher process blocklist or the legacy
  blocklist in `mozglue`.
* During startup, the launcher process implements its own `LoaderObserver`.
  Once mozglue is running, it connects its `LoaderObserver` to the launcher
  process, receives a vector containing the module load events, and then
  stores and forwards them into XUL.

Depends on D43155

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

--HG--
rename : browser/app/winlauncher/DllBlocklistWin.cpp => browser/app/winlauncher/DllBlocklistInit.cpp
rename : browser/app/winlauncher/DllBlocklistWin.h => browser/app/winlauncher/DllBlocklistInit.h
rename : browser/app/winlauncher/DllBlocklistWin.cpp => browser/app/winlauncher/freestanding/DllBlocklist.cpp
rename : browser/app/winlauncher/DllBlocklistWin.h => browser/app/winlauncher/freestanding/DllBlocklist.h
rename : browser/app/winlauncher/moz.build => browser/app/winlauncher/freestanding/moz.build
extra : moz-landing-system : lando
2019-09-23 20:17:10 +00:00
Toshihito Kikuchi 1cc025cecd Bug 1578895 - Compare NT paths if NtOpenFile failed with STATUS_OBJECT_PATH_NOT_FOUND. r=aklotz
We compare two file ids to check the current process is launched from the same
executable.  However, our telemetry showed a number of Win7 users failed to open
a file handle of the parent process with STATUS_OBJECT_PATH_NOT_FOUND even
though we opened a process handle and retrieved a module path of the parent
process successfully.  We don't have data to explain how this happens or why
this happens only on Win7, Win10 10240, and 10586.

To mitigate this situation, this patch introduces a logic to compare NT path
strings.  The benefit from doing this is 1) we don't have to open a file handle
of a parent process executable and 2) when we get an NT path, a network drive
or a symbolic link is already solved.

This new logic is much faster, but we still compare file ids on the first
attempt to minimize the impact.  We fall back to the new logic only if we
detect the STATUS_OBJECT_PATH_NOT_FOUND failure.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 17:59:42 +00:00
ffxbld bdeece726d No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D46777

--HG--
extra : moz-landing-system : lando
2019-09-23 13:09:04 +00:00
Brindusan Cristian 125c934a04 Backed out 8 changesets (bug 1542830) for causing Nightly bustages. a=backout
Backed out changeset 6fcb417f7ff4 (bug 1542830)
Backed out changeset 1aa253e6604a (bug 1542830)
Backed out changeset 73ec288886cd (bug 1542830)
Backed out changeset 84b903e60dc9 (bug 1542830)
Backed out changeset 8e2da9ff5f5a (bug 1542830)
Backed out changeset c4e547a6a039 (bug 1542830)
Backed out changeset 919f1af7c135 (bug 1542830)
Backed out changeset da7e775c4051 (bug 1542830)

--HG--
rename : browser/app/winlauncher/freestanding/DllBlocklist.cpp => browser/app/winlauncher/DllBlocklistWin.cpp
rename : browser/app/winlauncher/freestanding/DllBlocklist.h => browser/app/winlauncher/DllBlocklistWin.h
rename : mozglue/dllservices/Authenticode.cpp => mozglue/build/Authenticode.cpp
rename : mozglue/dllservices/Authenticode.h => mozglue/build/Authenticode.h
rename : mozglue/misc/WinUtils.h => mozglue/build/MozglueUtils.h
rename : mozglue/dllservices/WindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
rename : mozglue/dllservices/WindowsDllBlocklist.h => mozglue/build/WindowsDllBlocklist.h
rename : mozglue/dllservices/WindowsDllBlocklistCommon.h => mozglue/build/WindowsDllBlocklistCommon.h
rename : mozglue/dllservices/WindowsDllBlocklistDefs.in => mozglue/build/WindowsDllBlocklistDefs.in
rename : mozglue/dllservices/WindowsDllServices.h => mozglue/build/WindowsDllServices.h
rename : mozglue/dllservices/gen_dll_blocklist_defs.py => mozglue/build/gen_dll_blocklist_defs.py
rename : toolkit/components/telemetry/docs/data/third-party-modules-ping.rst => toolkit/components/telemetry/docs/data/untrusted-modules-ping.rst
rename : toolkit/components/telemetry/tests/unit/test_ThirdPartyModulesPing.js => toolkit/components/telemetry/tests/unit/test_UntrustedModulesPing.js
rename : toolkit/xre/UntrustedModulesProcessor.cpp => toolkit/xre/ModuleEvaluator_windows.cpp
rename : toolkit/xre/UntrustedModulesProcessor.h => toolkit/xre/ModuleEvaluator_windows.h
rename : toolkit/xre/ModuleVersionInfo.cpp => toolkit/xre/ModuleVersionInfo_windows.cpp
rename : toolkit/xre/ModuleVersionInfo.h => toolkit/xre/ModuleVersionInfo_windows.h
2019-09-22 00:01:01 +03:00
Tom Ritter f858abb2cd Bug 1582229 - Unrestrict the eval() preferences from Nightly r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D46331

--HG--
extra : moz-landing-system : lando
2019-09-19 04:08:18 +00:00
Aaron Klotz 8d1be668f6 Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell
* At this point our DLL blocking infra is complicated enough that I decided to
  bite the bullet and move all of this code out of `mozglue/build` and into its
  own subdirectory, `mozglue/dllservices`.
* We delete the original `UntrustedDllsHandler` code which is now obsolete.
* We implement mozglue's `LoaderObserver`:
** When this observer registers itself with the launcher process API, it
   receives a vector containing all saved records of loaded DLLs that happened
   until that moment.
** This code handles profiler labels and stackwalking suppression.
** Once a load has completed, we either pass the load on to XUL for further
   processing, or save it for later if XUL is not initialized yet.
* mozglue has its own `ModuleLoadFrame` implementation for the legacy blocklist.
* `DllServicesBase` is updated to support the new interfaces.
* We implement `FallbackLoaderAPI` for `plugin-container`, `xpcshell`, and
  any other non-`firefox` processes that do not have a launcher process
  providing a loader API.
* We add some wide to UTF8 conversion functions.

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

--HG--
rename : mozglue/build/Authenticode.cpp => mozglue/dllservices/Authenticode.cpp
rename : mozglue/build/Authenticode.h => mozglue/dllservices/Authenticode.h
rename : mozglue/build/WindowsDllBlocklist.cpp => mozglue/dllservices/WindowsDllBlocklist.cpp
rename : mozglue/build/WindowsDllBlocklist.h => mozglue/dllservices/WindowsDllBlocklist.h
rename : mozglue/build/WindowsDllBlocklistCommon.h => mozglue/dllservices/WindowsDllBlocklistCommon.h
rename : mozglue/build/WindowsDllBlocklistDefs.in => mozglue/dllservices/WindowsDllBlocklistDefs.in
rename : mozglue/build/WindowsDllServices.h => mozglue/dllservices/WindowsDllServices.h
rename : mozglue/build/gen_dll_blocklist_defs.py => mozglue/dllservices/gen_dll_blocklist_defs.py
rename : mozglue/build/moz.build => mozglue/dllservices/moz.build
rename : mozglue/build/MozglueUtils.h => mozglue/misc/WinUtils.h
extra : moz-landing-system : lando
2019-09-20 19:43:33 +00:00
Aaron Klotz 4f7aaf1573 Bug 1542830: Part 3 - Add ntdll_freestanding.lib to freestanding; r=mhowell,froydnj
The `freestanding` library is built with specific compiler flags to signify
that it is indeed freestanding code. That is, it does not depend on a
standard library.

One of the requirements of freestanding code is that the toolchain still
expects implementations of `memcpy`, `memmove`, `memcmp`, and `memset`.

I did briefly implement my own naive versions of these functions, but that
solution is less than ideal since the implementations must be `extern` and are
thus picked up by the entire `firefox.exe` binary. This denies the rest of
`firefox.exe` the benefit of optimized implementations. On Windows, the
sandbox is linked into `firefox.exe`, so we cannot just shrug and
assume that naive implementations will not have any effect on anything.

There are, however, optimized implementations of these functions that are
exported by `ntdll.dll`. They are not included in the `ntdll.lib` that is
included in the Windows SDK. Using `llvm-dlltool`, we can build an import
library containing the missing entries and then add that library to `OS_LIBS`.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 19:43:21 +00:00
Aaron Klotz dc2d20955f Bug 1542830: Part 2 - Modify launcher process blocklist to collect information about untrusted module loads; r=mhowell
* We refactor the blocklist code. Code that may possibly run before
  initialization of the Win32 subsystem and the CRT is contained within the
  `freestanding` library.
* The `freestanding` library's static initializers are placed in their own
  section so that they may be manually invoked separately from the remaining
  initializers in the binary.
* `CheckBlockInfo` and `IsDllAllowed` are modified to return a `BlockAction`
  enum instead of a `bool`. This will be used more extensively in the future for
  LSP blocking.
* The launcher process now hooks `LdrLoadDll` in addition to
  `NtMapViewOfSection`. This is necessary so that we can collect timing
  information.
* Telemetry recorders must implement the `LoaderObserver` interface.
* `ModuleLoadFrame` is a RAII class that collects the information about the
  DLL load and dispatches the information to `LoaderObserver`s.
* The launcher process exposes an implementation of the `LoaderAPI` interface
  that may be called by either the launcher process blocklist or the legacy
  blocklist in `mozglue`.
* During startup, the launcher process implements its own `LoaderObserver`.
  Once mozglue is running, it connects its `LoaderObserver` to the launcher
  process, receives a vector containing the module load events, and then
  stores and forwards them into XUL.

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

--HG--
rename : browser/app/winlauncher/DllBlocklistWin.cpp => browser/app/winlauncher/DllBlocklistInit.cpp
rename : browser/app/winlauncher/DllBlocklistWin.h => browser/app/winlauncher/DllBlocklistInit.h
rename : browser/app/winlauncher/DllBlocklistWin.cpp => browser/app/winlauncher/freestanding/DllBlocklist.cpp
rename : browser/app/winlauncher/DllBlocklistWin.h => browser/app/winlauncher/freestanding/DllBlocklist.h
rename : browser/app/winlauncher/moz.build => browser/app/winlauncher/freestanding/moz.build
extra : moz-landing-system : lando
2019-09-20 19:43:00 +00:00