Commit Graph

65092 Commits

Author SHA1 Message Date
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
Harry Twyford
d20b4a18cb Bug 1582329 - Correct promises in browser_urlbar_resultSpan.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D46791

--HG--
extra : moz-landing-system : lando
2019-09-23 19:51:37 +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
Ryan VanderMeulen
3778a57619 Bug 1582724 - Update pdf.js to version 2.3.183. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D46592

--HG--
extra : moz-landing-system : lando
2019-09-23 17:07:39 +00:00
Dan Mosedale
cb082e96f2 Bug 1581545 - Make New Tab docs reference bug to enable mach test, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D46039

--HG--
extra : moz-landing-system : lando
2019-09-23 15:05:36 +00:00
Vijay Budhram
b8b5911e89 Bug 1572212 - Add sync side button back r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D46514

--HG--
extra : moz-landing-system : lando
2019-09-20 17:01:06 +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
Johann Hofmann
3ba04bcead Bug 1581415 - Add missing wrap attributes to toolbarbuttons in the protections panel. r=nhnt11
See bug 1564077 on why this is necessary.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 12:26:48 +00:00
Johann Hofmann
1489dc82e4 Bug 1578265 - Remove security.ui.identitypopup event telemetry. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D46752

--HG--
extra : moz-landing-system : lando
2019-09-23 12:26:03 +00:00
Francesco Lodolo (:flod)
0fe378d851 Bug 1583171 - Add new locales (ca-valencia, tl, trs) to shipped-locales r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D46771

--HG--
extra : moz-landing-system : lando
2019-09-23 11:50:13 +00:00
Emilio Cobos Álvarez
2e05768081 Bug 1578379 - Make pageshow / pagehide during frame loader swaps not mess with document visibility. r=bzbarsky
Also while doing it:

 * Ensure activity observers get notified after visibility is computed already.
This is how we notify all other activity observers already, and we are
double-notifying in the case we actually get a page show _and_ a visibility
change, but this is a pre-existing problem.

 * Remove special-cases for InFrameSwap() from MediaRecorder. Now that pagehide
doesn't mess up with our visibility state the regular check just works. I
ensured I didn't regress bug 1444541.

 * Had to fix a UITour test that relied on the visibility changing back and
forth for the detached tab. It seems there's no real place in UITour that
listens to that event so we should be good.

 * Added tests, verifying that they both fail without the patch.

After this we can remove nsDocShell::InFrameSwap(), as the only caller is the
assertion, but I wanted to keep it regardless, at least for now, until this
patch has been in for a bit.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 10:16:44 +00:00
Bogdan Tara
8675cadd18 Backed out changeset d984fd004e7e (bug 1578379) for ES lint failure on browser_tab_replace_while_loading.js CLOSED TREE 2019-09-23 13:00:56 +03:00
Emilio Cobos Álvarez
10fa3b178f Bug 1578379 - Make pageshow / pagehide during frame loader swaps not mess with document visibility. r=bzbarsky
Also while doing it:

 * Ensure activity observers get notified after visibility is computed already.
This is how we notify all other activity observers already, and we are
double-notifying in the case we actually get a page show _and_ a visibility
change, but this is a pre-existing problem.

 * Remove special-cases for InFrameSwap() from MediaRecorder. Now that pagehide
doesn't mess up with our visibility state the regular check just works. I
ensured I didn't regress bug 1444541.

 * Had to fix a UITour test that relied on the visibility changing back and
forth for the detached tab. It seems there's no real place in UITour that
listens to that event so we should be good.

 * Added tests, verifying that they both fail without the patch.

After this we can remove nsDocShell::InFrameSwap(), as the only caller is the
assertion, but I wanted to keep it regardless, at least for now, until this
patch has been in for a bit.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 09:36:59 +00:00
Matthew Noorenberghe
9e2406cc05 Bug 1550631 - Include the entryPoint for navigations from about:protections to about:logins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D46630

--HG--
extra : moz-landing-system : lando
2019-09-22 15:15:52 +00:00
Matthew Noorenberghe
0b4eb51041 Bug 1550631 - Record telemetry for direct navigation to about:logins. r=jaws
Also remove empty `filter` query params.

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

--HG--
extra : moz-landing-system : lando
2019-09-22 15:15:29 +00:00
Matthew Noorenberghe
280f3dd879 Bug 1581969 - Don’t activate the newSavedLogin trigger on accounts.firefox.com. r=jaws
The user may be in the process of setting up Sync so prompting to setup login Sync from a CFR would be untimely.

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

--HG--
extra : moz-landing-system : lando
2019-09-22 09:58:47 +00:00
Jean-Yves Avenard
4986f63ec2 Bug 1575744 - P2. Add nsIProcessSwitchRequestor interface. r=mayhemer,nika
Will allow for SessionStore.jsm process switching to be used by other objects than nsHttpChannel.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 04:09:46 +00:00
shindli
d362073fc6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-09-22 00:56:23 +03:00
shindli
921b45df78 Merge autoland to mozilla-central. a=merge 2019-09-22 00:46:56 +03: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
arthur.iakab
78b937649f Backed out changeset 33b58a35cd4e (bug 1435915)for causing Nighlty bustages a= backout 2019-09-21 16:38:54 +03:00
arthur.iakab
b6a627c094 Merge inbound to mozilla-central. a=merge
--HG--
extra : amend_source : 39c72a7f01f9afa5abf7587d732d1e63969cc9da
2019-09-21 13:00:40 +03:00
Dorel Luca
f5e74811ca Merge mozilla-central to mozilla-inbound 2019-09-21 00:58:45 +03:00
Vijay Budhram
9ebe6010d5 Bug 1575706 - Add account sub menu to fxa toolbar menu r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D45725

--HG--
extra : moz-landing-system : lando
2019-09-20 17:00:51 +00:00
Matthew Noorenberghe
e4c6b38671 Bug 1582768 - Add UITour target for Logins and Passwords in the main menu. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D46604

--HG--
extra : moz-landing-system : lando
2019-09-20 16:50:43 +00:00
Zibi Braniecki
5e03cd7ff2 Bug 1435915 - Remove preferences.properties. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45723

--HG--
extra : source : 33b58a35cd4e9c52f6b0969c8e28e249e2a92154
2019-09-20 15:44:55 +00:00
Andreea Pavel
31d9596a28 Backed out 8 changesets (bug 1542830) for gecko decision failure on a CLOSED TREE
DONTBUILD

Backed out changeset 4f72161be496 (bug 1542830)
Backed out changeset 7ee12138946d (bug 1542830)
Backed out changeset 9e90ee4981c6 (bug 1542830)
Backed out changeset 363039c98534 (bug 1542830)
Backed out changeset 70ffff30551a (bug 1542830)
Backed out changeset c25b7bf354d9 (bug 1542830)
Backed out changeset d156dc595b69 (bug 1542830)
Backed out changeset 9f5dbd1b2959 (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-20 19:49:27 +03:00
Noemi Erli
1b40747ce1 Backed out 2 changesets (bug 1550631) for failing in browser_aaa_eventTelemetry_run_first.js
Backed out changeset 87ed1b3f9b4f (bug 1550631)
Backed out changeset 889be6c334ae (bug 1550631)
2019-09-21 08:45:02 +03:00
Zibi Braniecki
d19841f79e Bug 1435915 - Remove preferences.properties. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45723

--HG--
extra : moz-landing-system : lando
2019-09-20 15:44:55 +00:00
Zibi Braniecki
3e2efa20f0 Bug 1508156 - Use fluent for the default application choice section of about:preferences. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45622

--HG--
extra : moz-landing-system : lando
2019-09-20 20:09:42 +00:00
Matthew Noorenberghe
4283e9bb98 Bug 1582534 - about:logins: Always set the password value with .value so it's not easily visible in the Inspector. r=jaws
The previous approach of using space characters would sometimes end up causing spaces to get saved in storage and cause data loss.

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

--HG--
extra : moz-landing-system : lando
2019-09-21 04:06:57 +00:00
Matthew Noorenberghe
b461f7947f Bug 1550631 - Include the entryPoint for navigations from about:protections to about:logins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D46630

--HG--
extra : moz-landing-system : lando
2019-09-20 18:29:13 +00:00
Matthew Noorenberghe
b00674a4f5 Bug 1550631 - Record telemetry for direct navigation to about:logins. r=jaws
Also remove empty `filter` query params.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 18:28:57 +00:00
Yuan Cheng
5913925d4e Bug 1576189 - The "Discard unsaved changes" pop-up is wrongly displayed after an edited login is deleted in "Edit" mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D46529

--HG--
extra : moz-landing-system : lando
2019-09-21 02:19:18 +00:00
Tim Nguyen
f6434a147c Bug 1582639 - Fix browser_426329.js and browser_940307_panel_click_closure_handling.js failures.
Differential Revision: https://phabricator.services.mozilla.com/D46680

--HG--
extra : moz-landing-system : lando
2019-09-21 00:26:36 +00:00
Tim Nguyen
c87e8cb82b Bug 1582639 - Fix 'Clear Search History' menu item and clean up related code. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D46660

--HG--
extra : moz-landing-system : lando
2019-09-21 00:27:38 +00:00
Oana Pop Rus
65d7eaa6ed Backed out changeset b510b386edff (bug 1582639) for bc failures in browser/components/search/test/browser/browser_426329.js on a CLOSED TREE 2019-09-21 03:21:54 +03:00
Kris Maglione
7dbe15f5f1 Bug 1553804: Part 5 - Fix callers which create chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45656

--HG--
extra : source : 301e0d883a5f39053ab02ba11133f1b23156e240
extra : histedit_source : 241111e45e10e49eb5add12e1b69689ea9783b16
2019-09-20 04:43:55 +00:00
Kris Maglione
99714a4e22 Bug 1553804: Part 4 - Make some evil tests less evil/failing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45329

--HG--
extra : source : acff4a6636719d9302d1a893e1f3ca392c8f99e5
extra : histedit_source : c727f4637a48f89ecb29233dba0a4aba0ed9ffd9%2Cfd70bbd8400e8aba9a4dc57956bfc9f1320e20db
2019-09-20 04:43:48 +00:00
Andreea Pavel
e18057a961 Merge mozilla-inbound to mozilla-central. a=merge 2019-09-20 12:48:30 +03:00
Daniel Varga
f0411a344a Backed out 6 changesets (bug 1553804) for browser-chrome failure at browser/base/content/test/general/browser_fullscreen-window-open.js. On a CLOSED TREE
Backed out changeset 86b3d469b4ff (bug 1553804)
Backed out changeset 301e0d883a5f (bug 1553804)
Backed out changeset acff4a663671 (bug 1553804)
Backed out changeset 1574aecf3177 (bug 1553804)
Backed out changeset 3acf056e792e (bug 1553804)
Backed out changeset 1ed250faeb2e (bug 1553804)
2019-09-20 10:09:54 +03:00
Emilio Cobos Álvarez
98014b07a8 Bug 1582617 - Split up assertions in browser_multiselect_tabs_mute_unmute.js. r=alwu
I have to debug this test and some of these are failing. It'd be good to know
which one of these fail separately.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 05:17:55 +00:00
Tim Nguyen
fe0f35121d Bug 1582639 - Fix 'Clear Search History' menu item and clean up related code. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D46660

--HG--
extra : moz-landing-system : lando
2019-09-20 21:30:21 +00:00
Aaron Klotz
6c7b43b9c8 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 00:09:41 +00:00
Aaron Klotz
64eef06887 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 00:09:39 +00:00
Aaron Klotz
ee19c319fd 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 00:09:35 +00:00
Nihanth Subramanya
6310039b5f Bug 1582763 - [Protections Panel] Remove blue badge from shield and toggle when TP is disabled. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46618

--HG--
extra : moz-landing-system : lando
2019-09-20 16:12:46 +00:00
Kris Maglione
ee31fee500 Bug 1582523: Part 2 - Update tests which rely on OOP frames blocking load. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D46504

MANUAL PUSH: Still cannot update reopened Phabricator revisions.

--HG--
extra : source : 2e8fcb1718611e8ce81e7c83fb480d664000c2cc
extra : histedit_source : 29005a64bf92828ed472f378d36feff98d3d3a9f
2019-09-19 11:50:45 -07:00
Bogdan Tara
ecffbb2d40 Backed out changeset 6c464eede88a (bug 1405031) for browser_ext_pageAction_click_types.js failures CLOSED TREE 2019-09-20 01:03:17 +03:00
David Walsh
faeb87384f Bug 1580541 - Implement basic UI for request blocking r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D46308

--HG--
rename : devtools/client/netmonitor/src/components/RequestBlockingPanel.js => devtools/client/netmonitor/src/components/request-blocking/RequestBlockingPanel.js
extra : moz-landing-system : lando
2019-09-20 14:21:01 +00:00
Andreea Pavel
5b9c485d55 Backed out 2 changesets (bug 1582523) for build bustages at ContentChild.cpp on a CLOSED TREE
Backed out changeset 72ca7d054061 (bug 1582523)
Backed out changeset a6c10aa450ba (bug 1582523)
2019-09-20 08:45:25 +03:00
Kris Maglione
afef6a355c Bug 1582523: Part 2 - Update tests which rely on OOP frames blocking load. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D46504

--HG--
extra : moz-landing-system : lando
2019-09-19 20:57:51 +00:00
Kris Maglione
cc8f94a921 Bug 1553804: Part 5 - Fix callers which create chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45656

--HG--
extra : moz-landing-system : lando
2019-09-20 04:43:55 +00:00
Kris Maglione
b79b2c3aa0 Bug 1553804: Part 4 - Make some evil tests less evil/failing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45329

--HG--
extra : moz-landing-system : lando
2019-09-20 04:43:48 +00:00
Olli Pettay
5a966fa06e Bug 1518410, try to make browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js fail a bit less likely, r=Ehsan
There is still another related bug 1579591, which this may make a bit less likely, since that seems to be timing dependent, but
the patch is not trying to fix that.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 14:29:09 +00:00
Bogdan Tara
bee28f01d7 Backed out 8 changesets (bug 1575744) for HttpChannelParent related assertion failures
Backed out changeset af61675dd488 (bug 1575744)
Backed out changeset bf794b9373c8 (bug 1575744)
Backed out changeset 39ffb74d2e12 (bug 1575744)
Backed out changeset c1547b3df672 (bug 1575744)
Backed out changeset 382ee8672027 (bug 1575744)
Backed out changeset 5abb38484f11 (bug 1575744)
Backed out changeset d5244c1bbfe8 (bug 1575744)
Backed out changeset c74b81debf73 (bug 1575744)

--HG--
rename : netwerk/base/nsIProcessSwitchRequestor.idl => netwerk/base/nsICrossProcessSwitchChannel.idl
2019-09-20 06:58:44 +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
Tim Nguyen
278a0d3de7 Bug 1582316 - Fix CSS broken by un-blockification of display: -moz-box - round 2. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D46497

--HG--
extra : moz-landing-system : lando
2019-09-20 18:13:45 +00:00
Ciure Andrei
7db4ad5d80 Backed out 8 changesets (bug 1542830) for causing spidermonkey bustages CLOSED TREE
Backed out changeset b9f7fc8d0172 (bug 1542830)
Backed out changeset b85f58fd5bbd (bug 1542830)
Backed out changeset 0a9169ab2623 (bug 1542830)
Backed out changeset 39a7c05d54ef (bug 1542830)
Backed out changeset 7a3cbd2f59f0 (bug 1542830)
Backed out changeset 268530552281 (bug 1542830)
Backed out changeset df658ffb8599 (bug 1542830)
Backed out changeset e7bef6486a38 (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-20 21:21:39 +03:00
Aaron Klotz
12843d81e9 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 17:00:14 +00:00
Aaron Klotz
1d681f2935 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 16:59:57 +00:00
Aaron Klotz
b09839c047 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 16:59:40 +00:00
Gurzau Raul
5589deded8 Backed out changeset 4ce6c9d4041a (bug 1575706) for failing at browser_duplicateIDs.js on a CLOSED TREE. 2019-09-20 00:54:38 +03:00
Vijay Budhram
35c8f2a5ea Bug 1575706 - Add account sub menu to fxa toolbar menu r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D45725

--HG--
extra : moz-landing-system : lando
2019-09-19 19:27:02 +00:00
Jared Wein
daeea469fc Bug 1570937 - Disable the sort select when there are no visible logins in the list. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D46474

--HG--
extra : moz-landing-system : lando
2019-09-19 17:21:32 +00:00
Jared Wein
79f0725ce8 Bug 1579482 - Header should use --in-content-page-background. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D46346

--HG--
extra : moz-landing-system : lando
2019-09-19 17:47:48 +00:00
Jared Wein
36fe930baf Bug 1579180 - Adjust the logged-out-view of the FxA button to match the spec. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D46343

--HG--
extra : moz-landing-system : lando
2019-09-19 17:49:14 +00:00
Marco Bonardo
5e4e4da1ce Bug 1580792 - "Paste and Go" no longer searches for the clipboard term if strings are in the address bar. r=dao
Autocomplete used to close the urlbar panel when opening the contextual menu.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 11:14:07 +00:00
gfmcknight
38ae518715 Bug 1405031 - Add middle-click and click modifiers to browserAction r=robwu
and pageActions.

Before this change, browserActions and pageActions did not trigger
onClick events when middle-clicked, and no information on the button or
any modifiers were passed in the onClick event. With this change, middle
clicking triggers an event, and a clickData object is passed in the
onClick event, with the button and a list of modifiers.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 17:06:22 +00:00
Alexander Surkov
8a522eccdf Bug 1582227 - remove unnecessary -moz-bindings css styles r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D46330

--HG--
extra : moz-landing-system : lando
2019-09-18 18:58:20 +00:00
Dão Gottwald
9fb99cae94 Bug 1580538 - Make OverflowableToolbar work without overflow:hidden. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D46297

--HG--
extra : moz-landing-system : lando
2019-09-20 13:11:23 +00:00
Dale Harvey
5c9c5d5aad Bug 1572468 - Add telemetryIds to modern config. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D46370

--HG--
extra : moz-landing-system : lando
2019-09-20 11:43:10 +00:00
Daniel Varga
ebca709c01 Merge mozilla-central to autoland. On a CLOSED TREE 2019-09-20 12:55:32 +03:00
Rob Wu
cda779b4c4 Bug 1581300 - Remove unneeded browser.webProgress r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D45936

--HG--
extra : moz-landing-system : lando
2019-09-17 15:32:41 +00:00
Harry Twyford
a90e45458c Bug 1582240 - Differentiate hover and selected states on TIP help buttons. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D46347

--HG--
extra : moz-landing-system : lando
2019-09-19 14:21:08 +00:00
Jared Wein
cfb357924d Bug 1574498 - Scroll the login-list to the top after changing the sort order. r=MattN
This patch does not attempt to keep the selected login visible, as we select a login upon loading so the user may not care where their currently selected login resides within the sort order.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 16:39:50 +00:00
Jared Wein
689691cf5c Bug 1558235 - Record telemetry events for sorting the login list. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D46334

--HG--
extra : moz-landing-system : lando
2019-09-19 14:54:41 +00:00
Marco Bonardo
8d45311eb0 Bug 1582505 - OpenViewOnFocus should not open the view on the new tab page using a shortcut. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D46491

--HG--
extra : moz-landing-system : lando
2019-09-19 21:20:34 +00:00
Tim Huang
7dec9a666a Bug 1582471 - Unset the CSS 'outline-offset' rule for the TP switch when it gets focused on Windows. r=nhnt11
On Windows, there is a global CSS rule to set 'outline-offset' to -2px
on toolbarbuttons. We need to unset it on the TP switch button in order
to make the focus indicator to work correctly.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 07:21:46 +00:00
Jean-Yves Avenard
db9dcef811 Bug 1575744 - P2. Add nsIProcessSwitchRequestor interface. r=mayhemer,nika
Will allow for SessionStore.jsm process switching to be used by other objects than nsHttpChannel.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 23:49:51 +00:00
Gijs Kruitbosch
0077e210fe Bug 1561581 - listen for key events in panels 'later' than the builtin menu handling code, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D44679

--HG--
extra : moz-landing-system : lando
2019-09-18 22:48:15 +00:00
Edouard Oger
dc0356a8c5 Bug 1581170 - Normalize FxA mobile type to phone. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D46479

--HG--
extra : moz-landing-system : lando
2019-09-19 15:25:44 +00:00
Mark Hammond
7531325c86 Bug 1582023 - Replace "sync disconnect" dialog and local data removal with simple confirmation dialog. r=eoger,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D46253

--HG--
extra : moz-landing-system : lando
2019-09-19 05:59:51 +00:00
Yuan Cheng
cc97995953 Bug 1577513 - The website's favicon from the login item changes to the default one if the saved login is edited, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D46080

--HG--
extra : moz-landing-system : lando
2019-09-19 04:06:37 +00:00
Erica Wright
8de48d853d Bug 1582265 - Add animations to the bar graph. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46364

--HG--
extra : moz-landing-system : lando
2019-09-20 00:04:50 +00:00
Erica Wright
72ad4af298 Bug 1582491 - Allow button to expand with text. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46508

--HG--
extra : moz-landing-system : lando
2019-09-19 21:20:24 +00:00
Drew Willcoxon
d7663129bb Bug 1578439 - Quantumbar WebExt API: Add "tip" to ResultType enum and UrlbarProviderExtension.RESULT_TYPES. r=harry,mixedpuppy
Add "tip" to the ResultType enum and UrlbarProviderExtension.RESULT_TYPES, corresponding to the new TIP type. Update the existing test.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 17:02:39 +00:00
Zibi Braniecki
f61e4a0e3b Bug 1581692 - Remove unused .properties from browser. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D46102

--HG--
extra : histedit_source : f91989ec78aa0f4279e59a066161b52d33b0ecbf
2019-09-18 19:38:09 +03:00
Alexander Surkov
322bf35c3e Bug 1555497 - Remove menupopup binding, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33282

--HG--
extra : moz-landing-system : lando
2019-09-19 02:13:43 +00:00
ffxbld
959ff7f82f 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/D46469

--HG--
extra : moz-landing-system : lando
2019-09-19 14:37:28 +00:00
Jared Wein
41432e53cf Bug 1579252 - Bring metadata treatment into spec alignment. r=sfoster
I confirmed using the built-in accessibility tools that there is enough contrast in regular and dark mode.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 17:59:42 +00:00
Jared Wein
08b6d3b14e Bug 1579265 - Color of edit/delete icon and text should be lighter. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D46493

--HG--
extra : moz-landing-system : lando
2019-09-19 20:36:14 +00:00
Erica Wright
b575a6d9a1 Bug 1581428 - Show tooltips for links in Protection Report. r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D46215

--HG--
extra : moz-landing-system : lando
2019-09-18 21:39:43 +00:00
Mark Striemer
36d30a8597 Bug 1533031 - Update strings and background in about:config r=fluent-reviewers,flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D45071

--HG--
extra : moz-landing-system : lando
2019-09-18 19:37:49 +00:00
Mike Shal
56ba0730bc Bug 1580899 - Remove MOZ_PGO from mozconfigs; r=glandium
Setting this flag still attempts to build with 1-tier PGO, unless we
detect that 3-tier PGO is enabled. Since we should be using 3-tier PGO
everywhere, the flag should be redundant in our automation mozconfigs.
It can still be used locally in a mozconfig to do a 1-tier PGO build.

Depends on D46069

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

--HG--
extra : moz-landing-system : lando
2019-09-18 18:29:00 +00:00
Mike Shal
00a274530f Bug 1580899 - Remove mozconfig.pgo; r=firefox-build-system-reviewers,chmanchester
This file is no longer required, since taskcluster handles scheduling
PGO tasks.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 03:11:11 +00:00
Erica Wright
ab9ddae183 Bug 1581885 - check for en-us language without being case sensitive. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46197

--HG--
extra : moz-landing-system : lando
2019-09-18 15:00:22 +00:00
Edouard Oger
d22de3281b Bug 1580906 p2 - Update FxA buttons copy in menubar. r=vbudhram,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45729

--HG--
extra : moz-landing-system : lando
2019-09-18 18:36:53 +00:00
Edouard Oger
79295df67b Bug 1580906 p1 - Update page action menu Send Tab copy. r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com/D45728

--HG--
extra : moz-landing-system : lando
2019-09-18 18:36:51 +00:00
Noemi Erli
3a5ced0d32 Backed out 2 changesets (bug 1580906) for failures in browser_page_action_menu.js CLOSED TREE
Backed out changeset ae5fe308e4b2 (bug 1580906)
Backed out changeset 2dab1e9ada47 (bug 1580906)
2019-09-18 21:17:01 +03:00
Mark Striemer
042478c80f Bug 1522659 - Cancel editing a pref with escape in about:config r=jaws,paolo
Differential Revision: https://phabricator.services.mozilla.com/D45087

--HG--
extra : moz-landing-system : lando
2019-09-18 17:50:12 +00:00
Mark Striemer
4aa4f27a70 Bug 1553624 - Select current text when editing in about:config r=paolo,jaws
Differential Revision: https://phabricator.services.mozilla.com/D45078

--HG--
extra : moz-landing-system : lando
2019-09-18 17:49:44 +00:00
Jared Wein
61f8317ba2 Bug 1581977 - Re-send favicons and breach alert information after logins are sent following MP auth. r=MattN
This patch fixes the issue but has the unfortunate side effect of occasionally flickering the favicons if there are many logins (> 400).

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

--HG--
extra : moz-landing-system : lando
2019-09-18 17:23:50 +00:00
Jared Wein
f63ed12815 Bug 1579852 - The login-item area should be blank when loading about:logins as well as loading about:logins with a prepopulated search filter with 0 results. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D46287

--HG--
extra : moz-landing-system : lando
2019-09-18 17:21:40 +00:00
Harry Twyford
fa430b0d12 Bug 1581096 - Align search panel engine icon with clock icons. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D45938

--HG--
extra : moz-landing-system : lando
2019-09-18 17:20:47 +00:00
Edouard Oger
55eda5d947 Bug 1580906 p2 - Update FxA buttons copy in menubar. r=vbudhram,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45729

--HG--
extra : moz-landing-system : lando
2019-09-18 16:32:35 +00:00
Edouard Oger
54bd49740d Bug 1580906 p1 - Update page action menu Send Tab copy. r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com/D45728

--HG--
extra : moz-landing-system : lando
2019-09-18 16:26:22 +00:00
Paul Zuehlcke
21d4a7024e Bug 1201618 - Removed image permission from pageInfo permission ui. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46149

--HG--
extra : moz-landing-system : lando
2019-09-18 16:56:16 +00:00
Zibi Braniecki
f421461cc8 Bug 1581185 - Migrate pageActionContextMenu in browser.xhtml to Fluent. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D45881

--HG--
extra : moz-landing-system : lando
2019-09-18 16:53:54 +00:00
Andreea Pavel
aa63cb5bb5 Backed out 2 changesets (bug 1581185) for linting failure at xul.py on a CLOSED TREE
Backed out changeset 86f77b5cc705 (bug 1581185)
Backed out changeset 5bb71874a9f3 (bug 1581185)
2019-09-18 19:43:45 +03:00
Zibi Braniecki
92b3a465b8 Bug 1581185 - Migrate pageActionContextMenu in browser.xhtml to Fluent. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D45881

--HG--
extra : moz-landing-system : lando
2019-09-18 16:25:27 +00:00
Andreea Pavel
f09273c694 Backed out changeset 8c4399f3a332 (bug 1581428) for failing browser_protections_report_ui.js on a CLOSED TREE 2019-09-18 19:17:52 +03:00
Drew Willcoxon
cfb89e146b Bug 1581989 - Properly account for tip results in histogram telemetry. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D46243

--HG--
extra : moz-landing-system : lando
2019-09-18 13:42:14 +00:00
harry
35f1ed25e6 Bug 1578583 - Add support for a resultSpan property on results. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D46220

--HG--
extra : moz-landing-system : lando
2019-09-18 15:18:55 +00:00
prathiksha
103e8878c6 Bug 1578239 - Remove security.ui.certerror telemetry. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46115

--HG--
extra : moz-landing-system : lando
2019-09-18 10:53:46 +00:00
Erica Wright
049e9d1b0b Bug 1581428 - Show tooltips for links in Protection Report. r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D46215

--HG--
extra : moz-landing-system : lando
2019-09-18 12:33:08 +00:00
Tim Nguyen
e92db864f2 Bug 1581973 - Restore unintentionally deleted blank line.
Differential Revision: https://phabricator.services.mozilla.com/D46269

--HG--
extra : moz-landing-system : lando
2019-09-18 11:22:47 +00:00
Tim Nguyen
6630b99357 Bug 1582060 - Merge .urlbarView display: block rules. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46264

--HG--
extra : moz-landing-system : lando
2019-09-18 11:04:55 +00:00
Mihai Alexandru Michis
a6faaf2933 Merge mozilla-central to autoland. CLOSED TREE 2019-09-18 13:05:29 +03:00
L10n Bumper Bot
4218cb868d no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
ca-valencia -> default
2019-09-18 10:00:32 +00:00
Neil Deakin
f2fcce14e4 Bug 1553384, update letterboxing to be fission compatible now that findbar isn't using the message manager. Add a findbar open/close test for letterboxing, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D45757

--HG--
extra : moz-landing-system : lando
2019-09-18 09:33:52 +00:00
Neil Deakin
4ca768c7f6 Bug 1553384, update find extension api to support out-of-process iframes. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D41229

--HG--
extra : moz-landing-system : lando
2019-09-17 23:31:34 +00:00
Neil Deakin
1ab71ae6f9 Bug 1553384, update findbar actors to inherit from JSWindowActor so that type ahead find works in out of process iframes, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41226

--HG--
extra : moz-landing-system : lando
2019-09-17 23:29:46 +00:00
Timothy Nikkel
0b5b344a76 Bug 1581687. Check window.PopupNotifications exists before using it in PluginParent::showClickToPlayNotification. r=Gijs
The reftest harness hits this with tests with the test plugin.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 09:31:24 +00:00
Tim Nguyen
68a8d951e4 Bug 1581973 - Set display: block; on elements relying on blockification behaviour. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D45280

--HG--
extra : moz-landing-system : lando
2019-09-18 07:40:14 +00:00
Tim Nguyen
d6dabffc3f Bug 1581929 - Clean up font inheritance rules. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46199

--HG--
extra : moz-landing-system : lando
2019-09-18 07:03:49 +00:00
lloan
04e671c0c5 Bug 1581088 - Enable search on Beta/DevEdition. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D46044

--HG--
extra : moz-landing-system : lando
2019-09-18 08:06:14 +00:00
Matthew Noorenberghe
9fefa39499 Bug 1423714 - Import logins from Chrome/Chromium on macOS. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45155

--HG--
rename : browser/components/migration/tests/unit/AppData/Local/Google/Chrome/User Data/Default/Login Data => browser/components/migration/tests/unit/Library/Application Support/Google/Chrome/Default/Login Data
extra : moz-landing-system : lando
2019-09-18 04:47:34 +00:00
Matthew Noorenberghe
3ddb338cd5 Bug 1423714 - Add a module to decrypt Chrome/Chromium Login Data from macOS. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45969

--HG--
extra : moz-landing-system : lando
2019-09-18 04:47:22 +00:00
Matthew Noorenberghe
4d10eed5d3 Bug 1423714 - Add an API to retrieve a password from Keychain by account and service. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D45968

--HG--
extra : moz-landing-system : lando
2019-09-18 04:47:10 +00:00
Jared Wein
746966587f Bug 1567423 - Allow for searching passwords in about:logins when MP is disabled. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D45016

--HG--
extra : moz-landing-system : lando
2019-09-18 03:47:22 +00:00
Jared Wein
9e6039ee22 Bug 1567423 - Combine all synchronous messages sent at startup of about:logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D45739

--HG--
extra : moz-landing-system : lando
2019-09-17 15:01:02 +00:00
Oana Pop Rus
fb30970354 Backed out changeset 613a1aca13b5 (bug 1577513) for bc failures in aboutlogins/tests/browser/browser_confirmDeleteDialog.js on a CLOSED TREE 2019-09-18 04:20:46 +03:00
Dana Keeler
906a2fa178 bug 1579906 - disable sending new TLS error reports while we rethink our approach r=kjacobs
This also disables the UI on TLS error pages.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 23:55:29 +00:00
Alexander Surkov
e12771ba94 Bug 1581588 - remove unnecessary moz-binding style from richlistitems r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D46158

--HG--
extra : moz-landing-system : lando
2019-09-17 18:22:37 +00:00
Dorel Luca
c36b2923b0 Backed out changeset 7eba83975e7e (bug 1578436) for Browser-chrome failures in browser/components/urlbar/tests/browser/browser_tip_selection.js
--HG--
rename : browser/components/urlbar/tests/browser/browser_tip_selection.js => browser/components/urlbar/tests/browser/browser_tip_keyboard_selection.js
2019-09-18 01:57:19 +03:00
Yuan Cheng
675e92ce17 Bug 1577513 - The website's favicon from the login item changes to the default one if the saved login is edited, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D46080

--HG--
extra : moz-landing-system : lando
2019-09-17 21:53:40 +00:00
Dorel Luca
359db7cbe7 Backed out changeset 61808b1ff0a8 (bug 1555497) for reftest failure in chrome://reftest/content/xul/menulist-shrinkwrap-2.xul
--HG--
extra : rebase_source : 10e991002af8ad42e6e2e7efba8cf9e89c16a6ee
2019-09-18 00:28:54 +03:00
Harry Twyford
bb98c8df10 Bug 1578436 - Handle enter keypresses and mouse clicks on tip buttons. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D46067

--HG--
rename : browser/components/urlbar/tests/browser/browser_tip_keyboard_selection.js => browser/components/urlbar/tests/browser/browser_tip_selection.js
extra : moz-landing-system : lando
2019-09-17 20:34:11 +00:00
Dale Harvey
94b162a8ea Bug 1575554 - Support default region in search configuration. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45537

--HG--
extra : moz-landing-system : lando
2019-09-17 17:58:23 +00:00
Tim Huang
9fe7574570 Bug 1578052 - Add the focus outline of the TP switch in protections panel. r=nhnt11
We add the focus outline of the TP switch according to different
platforms.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 20:05:29 +00:00
Scott
806d4691d5 Bug 1581915 - Turn on DS pref to match rollout r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D46207

--HG--
extra : moz-landing-system : lando
2019-09-17 19:21:29 +00:00
Andrei Oprea
27712eefb8 Bug 1577148 - Open What's New Panel message links with the keyboard r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D46150

--HG--
extra : moz-landing-system : lando
2019-09-17 18:56:03 +00:00
Gabriel Luong
2a62837bcb Bug 1578824 - Land initial boilerplate for embedding RDM UI into the browser. r=mtigley,mconley,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D45091

--HG--
extra : moz-landing-system : lando
2019-09-17 16:56:16 +00:00
Alexander Surkov
b0d64dae86 Bug 1555497 - Remove menupopup binding, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33282

--HG--
extra : moz-landing-system : lando
2019-09-17 18:29:40 +00:00
Jonathan Kingston
6c5244b7a9 Bug 1579444 - Remove offline storage usage prompt r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46075

--HG--
extra : moz-landing-system : lando
2019-09-17 16:21:45 +00:00
Bogdan Tara
7fd9d0c40e Backed out changeset d6a50efcae08 (bug 1579444) for ES lint failure on OfflineAppsChild.jsm CLOSED TREE 2019-09-17 18:42:36 +03:00
Gijs Kruitbosch
6a3d84c2f8 Bug 1580949 - avoid re-entry when showing extension subviews in the overflow panel, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46078

--HG--
extra : moz-landing-system : lando
2019-09-17 14:57:52 +00:00
David Walsh
4f1d186333 Bug 1580530 - Implement NetworkActionBar in the netmonitor r=Honza
Creates a left sidebar panel for both search and request blocking.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 14:14:50 +00:00
Erica Wright
7a3dec146c Bug 1579944 - Align elements matching grids. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45451

--HG--
extra : moz-landing-system : lando
2019-09-17 13:42:14 +00:00
Erica Wright
8b7d823b40 Bug 1561184 - Show tooltip text for protection report in app menu r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D45583

--HG--
extra : moz-landing-system : lando
2019-09-17 12:56:43 +00:00
Erica Wright
4bf7c15876 Bug 1581544 - Use data from 1 week, not 8 days. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46046

--HG--
extra : moz-landing-system : lando
2019-09-17 12:48:17 +00:00
Paul Zuehlcke
5cc91c0754 Bug 1577480 - Fixed hideTab webRTC sharing state check. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45820

--HG--
extra : moz-landing-system : lando
2019-09-17 15:00:49 +00:00
Jonathan Kingston
d2f8bed096 Bug 1579444 - Remove offline storage usage prompt r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46075

--HG--
extra : moz-landing-system : lando
2019-09-17 13:31:40 +00:00
Jared Wein
42aa27ad4c Bug 1579311 - Adjust the order of the buttons in the confirmation dialog based on OS and focus the confirmation button by default. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D45274

--HG--
extra : moz-landing-system : lando
2019-09-17 14:35:47 +00:00
Jared Wein
5034cee76f Bug 1579184 - Login list items should be taller to match the spec. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D45904

--HG--
extra : moz-landing-system : lando
2019-09-17 14:03:33 +00:00
Jared Wein
49b1c2f727 Bug 1581014 - Select the login item on keyup instead of keydown to prevent the 'Edit' button, which gets focused on login selection, from getting an erroneous click event. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D45898

--HG--
extra : moz-landing-system : lando
2019-09-17 14:02:35 +00:00
Jared Wein
f886569dd6 Bug 1580859 - Keyboard navigation in the login-list should cycle through only visible login-list-items. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D45894

--HG--
extra : moz-landing-system : lando
2019-09-17 14:03:31 +00:00
Jared Wein
da7478953c Bug 1580505 - Add the message target to the subscribers set anytime we receive a message. r=MattN
If a docshell is swapped, we will need to update the targets. Any stale targets will get cleaned up by the subscriber iterator.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 14:02:26 +00:00
Jared Wein
365f9fb7d8 Bug 1580450 - Move tab focus to the origin input when no logins are present and the 'create' mode is entered. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D45889

--HG--
extra : moz-landing-system : lando
2019-09-17 14:02:22 +00:00
Jared Wein
55f31447a8 Bug 1575516 - Show the Discard Changes dialog if a login is modified while being edited. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D44910

--HG--
extra : moz-landing-system : lando
2019-09-17 14:02:18 +00:00
Johann Hofmann
fe6f796bbc Bug 1579489 - Check the persistent permission checkbox by default for WebExtension WebRTC prompts. r=jib
This is done to offset the requirement that extensions have to get persistent permission before
they can start using WebRTC in popups.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 12:55:42 +00:00
Johann Hofmann
efa1d05d2d Bug 1579489 - Add tests for getUserMedia handling in WebExtensions. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45334

--HG--
extra : moz-landing-system : lando
2019-09-17 12:55:30 +00:00
Johann Hofmann
0985571105 Bug 1579489 - Improve getUserMedia handling in extension pages. r=jib,rpl
The goal is to

- Avoid showing any permission prompt when calling getUserMedia in webextension popups,
  while still checking for persistent permissions.
- Never allow getUserMedia calls on background pages.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 12:55:22 +00:00
Dão Gottwald
f483b72fe2 Bug 1581377 - Let display:flex not override the hidden attribute on the one off search button container. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D46124

--HG--
extra : moz-landing-system : lando
2019-09-17 13:03:40 +00:00
Mark Banner
9569721e58 Bug 1579420 - Fix remaining ESLint no-async-promise-executor issues in browser/ and toolkit/. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D45010

--HG--
extra : moz-landing-system : lando
2019-09-16 17:26:58 +00:00
Mark Banner
e075d5cd6e Bug 1579420 - Fix ESLint no-async-promise-executor issues in extensions code. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45009

--HG--
extra : moz-landing-system : lando
2019-09-17 13:03:24 +00:00
Marius Gedminas
1fee916641 Bug 1550721 - Fix GTK title bar for tiled windows. r=stransky,dao
Differential Revision: https://phabricator.services.mozilla.com/D45500

--HG--
extra : moz-landing-system : lando
2019-09-17 12:05:00 +00:00
Dão Gottwald
2bef84930b Bug 1581763 - Fix broken megabar check. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D46130

--HG--
extra : moz-landing-system : lando
2019-09-17 12:42:29 +00:00
Bogdan Tara
06351a8472 Backed out 3 changesets (bug 1579489) for ES lint failure on browser_ext_webrtc.js CLOSED TREE
Backed out changeset 281d238e6259 (bug 1579489)
Backed out changeset 764628963a3c (bug 1579489)
Backed out changeset 680a45ca89b7 (bug 1579489)
2019-09-17 13:01:37 +03:00
prathiksha
474ef9a0f2 Bug 1561443 - Move _getErrorMessageFromCode from NetErrorChild.jsm to aboutNetError.js. r=fluent-reviewers,flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D36542

--HG--
extra : moz-landing-system : lando
2019-09-17 09:49:59 +00:00
Francesco Lodolo (:flod)
40b8474578 Bug 1580094 - Add 'ca-valencia' to Firefox Nightly build r=Pike,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45550

--HG--
extra : moz-landing-system : lando
2019-09-17 09:06:08 +00:00
Johann Hofmann
5ee7e03637 Bug 1579489 - Check the persistent permission checkbox by default for WebExtension WebRTC prompts. r=jib
This is done to offset the requirement that extensions have to get persistent permission before
they can start using WebRTC in popups.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 09:26:01 +00:00
Johann Hofmann
80cfe832b3 Bug 1579489 - Add tests for getUserMedia handling in WebExtensions. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45334

--HG--
extra : moz-landing-system : lando
2019-09-17 09:25:49 +00:00
Johann Hofmann
b368e3b21a Bug 1579489 - Improve getUserMedia handling in extension pages. r=jib,rpl
The goal is to

- Avoid showing any permission prompt when calling getUserMedia in webextension popups,
  while still checking for persistent permissions.
- Never allow getUserMedia calls on background pages.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 09:25:37 +00:00
Tim Nguyen
e043df8d78 Bug 1534455 - Convert autocomplete binding to a customized input element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33250

--HG--
rename : toolkit/content/widgets/autocomplete.xml => toolkit/content/widgets/autocomplete-input.js
extra : moz-landing-system : lando
2019-09-17 06:22:42 +00:00
Mihai Alexandru Michis
f9580519b8 Backed out changeset e859a5aebb5b (bug 1534455) for causing failures at test_bug437844.xul
--HG--
rename : toolkit/content/widgets/autocomplete-input.js => toolkit/content/widgets/autocomplete.xml
2019-09-17 07:51:36 +03:00
Tim Nguyen
5d8a3da397 Bug 1534455 - Convert autocomplete binding to a customized input element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33250

--HG--
rename : toolkit/content/widgets/autocomplete.xml => toolkit/content/widgets/autocomplete-input.js
extra : moz-landing-system : lando
2019-09-17 01:35:25 +00:00
Thomas Wisniewski
547077eb9b Bug 1564594 - re-sync browser/ and mobile/ versions of the addon to correct a telemetryKey typo, remove the now unusued regex-matching code, and bump version to 6.0.3; r=miketaylr
re-sync browser/ and mobile/ versions of the addon to correct a telemetryKey typo, remove the now unusued regex-matching code, and bump version to 6.0.3

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

--HG--
extra : moz-landing-system : lando
2019-09-15 07:21:25 +00:00
Brindusan Cristian
e32489a0d8 Backed out changeset 44d3452f6a07 (bug 1550721) for build bustages on nsWindow.cpp. CLOSED TREE 2019-09-17 02:27:52 +03:00
Marius Gedminas
880d097a69 Bug 1550721 - Fix GTK title bar for tiled windows. r=stransky,dao
Differential Revision: https://phabricator.services.mozilla.com/D45500

--HG--
extra : moz-landing-system : lando
2019-09-16 20:35:47 +00:00
Brindusan Cristian
c2ee78aa6f Backed out changeset 3af4309ffce7 (bug 1237782) for wpt assertions/leaks. CLOSED TREE 2019-09-17 01:03:46 +03:00
Jonathan Kingston
bd229a5c73 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-16 17:24:39 +00:00
Ehsan Akhgari
89fcae5179 Bug 1581625 - Move fingerprinting blocking out of the Standard mode of content blocking; r=tanvi
Differential Revision: https://phabricator.services.mozilla.com/D46062

--HG--
extra : moz-landing-system : lando
2019-09-16 19:55:09 +00:00
Zibi Braniecki
6db45733a9 Bug 1581204 - Remove unused DTDs from browser, part2. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D45908

--HG--
extra : moz-landing-system : lando
2019-09-16 19:42:13 +00:00
Zibi Braniecki
a07224edcf Bug 1581204 - Remove unused DTDs from browser. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D45888

--HG--
extra : moz-landing-system : lando
2019-09-16 19:41:25 +00:00
Mihai Alexandru Michis
ee8e5475f4 Backed out 3 changesets (bug 1579489) for causing bc failures at browser_ext_webrtc.js CLOSED TREE
Backed out changeset 71978ebe41f1 (bug 1579489)
Backed out changeset b5e35c96c2f7 (bug 1579489)
Backed out changeset 71130160afee (bug 1579489)
2019-09-16 22:02:47 +03:00
Tim Huang
15cf9f859c Bug 1566813 - Part 3: Show a warning lock icon for the 'about:certerror' page in identity popup. r=johannh
We add a new connection type 'cert-error-page' and will show a warning
lock icon for it. We add a test for it and update existing tests.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 18:00:04 +00:00
Tim Huang
5ffe9356f3 Bug 1566813 - Part 2: Show a warning lock icon as the identity icon if it is in a 'about:certerror' page. r=johannh
This patch adds a new class 'certError' for the identity icon if it is
in the 'about:certerror' page. The identity icon will show a warning
lock icon if this class is present.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 17:58:38 +00:00
Tim Huang
732f7d561b Bug 1566813 - Part 1: Divide gIdentityHandler.refreshIdentityBlock(). r=johannh
Right now, the gIdentityHandler.refreshIdentityBlock() is gigantic. In
order to not hit the eslint assert 'complexity', we segregate this
function into two functions according to the functionalities. This
slightly improves the readability of this function.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 17:56:49 +00:00
Johann Hofmann
cbdf930501 Bug 1579489 - Check the persistent permission checkbox by default for WebExtension WebRTC prompts. r=jib
This is done to offset the requirement that extensions have to get persistent permission before
they can start using WebRTC in popups.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 15:40:50 +00:00
Johann Hofmann
b3169e3b66 Bug 1579489 - Add tests for getUserMedia handling in WebExtensions. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45334

--HG--
extra : moz-landing-system : lando
2019-09-16 15:40:35 +00:00
Johann Hofmann
ec59c497c6 Bug 1579489 - Improve getUserMedia handling in extension pages. r=jib,rpl
The goal is to

- Avoid showing any permission prompt when calling getUserMedia in webextension popups,
  while still checking for persistent permissions.
- Never allow getUserMedia calls on background pages.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 15:40:21 +00:00
Marco Bonardo
fdfb9d4446 Bug 1578856 - browser.fixup.dns_first_for_single_words and the keyword-uri-fixup UI are broken. r=adw
In the Quantum Bar it's usually the urlbar code that decides whether a search
string should be visited or searched. if dns_first_for_single_words is set,
we can't make a final decision, because that depends on a dns lookup. For now
we don't want to duplicate the docshell code, also because we must keep the
old behavior functioning for cases where the urlbar value is set without input.

Similarly, when the docshell decides to search for a single word host, and a
dns lookup resolves it, it also shows a prompt asking the user if he meant to
visit it instead of searching. Because the urlbar skips the docshell decision
making, we must manually call the fixup prompt code from the urlbar.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 16:46:34 +00:00
Drew Willcoxon
03d547d224 Bug 1579963 - Quantumbar experiments doc: Fix incorrect statement about hacking the Extension.isPrivileged getter r=harry
I was conflating two different things: loading extensions and giving them access to privileged APIs. I think this does a better job of explaining things.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 16:41:50 +00:00
Drew Willcoxon
f9936c08e4 Bug 1580259 - Quantumbar experiments doc: Update signing contacts r=harry
Differential Revision: https://phabricator.services.mozilla.com/D45914

--HG--
extra : moz-landing-system : lando
2019-09-16 16:39:59 +00:00
Rob Wu
64ad4811f6 Bug 1570715 - Treat (deprecation) warnings as errors r=rpl
Add new preference `extensions.webextensions.warnings-as-errors` that
defaults to `true` in tests. Tests that expect warnings are modified
to briefly flip the pref for the specific part of the test that needs
an exception.

As part of the refactor, log entries for schema entries that contain
`"onError": "warn"` will now be prefixed by "Warning" instead of
"Error", to be consistent with the change from bug 1495908.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 16:35:59 +00:00