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

57605 Коммитов

Автор SHA1 Сообщение Дата
Matthew Noorenberghe 1765f44b34 Bug 1569989 - Show the password visibility toggle in some dismissed-by-default doorhangers. r=sfoster
If the login is older than 2 minutes, don't allow revealing the password in the doorhanger.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 02:22:18 +00:00
Nicholas Nethercote 18a61c2721 Bug 1570212 - Remove `privacy.resistFingerprinting.*` VarCache prefs. r=tjr
The patch:
- changes `privacy.resistFingerprinting.target_video_res` to a static pref;
- changes `privacy.resistFingerprinting.video_frames_per_sec` and
  `privacy.resistFingerprinting.video_dropped_ratio` to code constants;
- removes the unused `RFP_TIMER_VALUE_DEFAULT` and `RFP_JITTER_VALUE_DEFAULT`
  constants.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 00:59:21 +00:00
Ehsan Akhgari 54f399c914 Bug 1569224 - Part 2: Add a unit test for examining the alt-svc cache isolation for third-party trackers; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D41141

--HG--
rename : toolkit/components/antitracking/test/browser/browser_tlsSessionTickets.js => toolkit/components/antitracking/test/browser/browser_networkIsolation.js
extra : moz-landing-system : lando
2019-08-08 22:04:25 +00:00
Ehsan Akhgari 1676b3dd3c Bug 1572258 - Prevent concurrent instances of TemporaryAccessGrantObserver from being created for the same (principal, permission type) pair; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D41115

--HG--
extra : moz-landing-system : lando
2019-08-08 22:00:44 +00:00
Mark Banner 4fa1cb92aa Bug 1572511 - Reduce time for search config tests by removing a bit of logging. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D41258

--HG--
extra : moz-landing-system : lando
2019-08-08 21:14:24 +00:00
Kristen Wright 8f762fbd63 Bug 1571544 - Convert privacy.fuzzyfox.clockgrainus to static pref. r=njn
Converts privacy.fuzzyfox.clockgrainus varcache pref to a static pref. This pref used two #define values, which I also removed.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 17:00:19 +00:00
Carolina 55b8795057 Bug 1568261 - Add tests for handling more than one cert received in the URL (about:certificate).r=keeler,johannh
Differential Revision: https://phabricator.services.mozilla.com/D39397

--HG--
extra : moz-landing-system : lando
2019-08-08 20:11:43 +00:00
Erica Wright cafcffa6a9 Bug 1557050 - Add basic telemetry to protection report. r=mtigley,johannh
Differential Revision: https://phabricator.services.mozilla.com/D39750

--HG--
extra : moz-landing-system : lando
2019-08-08 18:53:41 +00:00
Coroiu Cristina 73cc2c909a Backed out changeset b7a4b4f41c3b (bug 1572258) for causing leaks on a CLOSED TREE 2019-08-08 21:41:19 +03:00
Ehsan Akhgari ef79ab261f Bug 1572393 - Add back browser_storageAccessPrivateWindow.js to undo the test chunking changes which broke Linux64 ASan BC5 tests;
Differential Revision: https://phabricator.services.mozilla.com/D41257

--HG--
extra : moz-landing-system : lando
2019-08-08 18:10:32 +00:00
Mark Banner ae67ac398a Bug 1572141 - Add nsISearchService.originalDefaultPrivateEngine to return the private browsing engine from the configuration. r=daleharvey
test_list_json_searchdefault.js is repurposed, as the tests in the searchconfig sub-directory already check the default engine.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 15:55:32 +00:00
Nika Layzell 143941e2d4 Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37656

--HG--
extra : moz-landing-system : lando
2019-08-08 16:07:12 +00:00
Kris Maglione 64c062d570 Bug 1570773: Move browsingContext getter to nsIDocShellTreeItem and add notxpcom variant. r=nika
This also renames the existing infallible nsDocShell:GetBrowsingContext()
getter to BrowsingContextRef(), and changes the return type, since several
callers rely on it returning a raw pointer rather than an already_AddRefed.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 16:59:30 +00:00
Jared Wein 119b3dc08a Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746

--HG--
extra : moz-landing-system : lando
2019-08-08 16:18:24 +00:00
Ehsan Akhgari 75723b9e3d Bug 1572258 - Prevent concurrent instances of TemporaryAccessGrantObserver from being created for the same (principal, permission type) pair; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D41115

--HG--
extra : moz-landing-system : lando
2019-08-08 15:17:59 +00:00
Bogdan Tara 844afcfb06 Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Bogdan Tara d9963db85c Backed out changeset 8f699e0bfbad (bug 1571567) for es lint failure on browser/head.js CLOSED TREE 2019-08-08 18:07:05 +03:00
Mark Banner f6d3b79550 Bug 1571567 - Fix test failures from enabling no-fallthrough. r=daleharvey CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D41212

--HG--
extra : histedit_source : e0f75c726f43b01d3dd3891037e3951e7c87c484
2019-08-08 17:17:43 +03:00
Jared Wein 30f7f34419 Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746

--HG--
extra : moz-landing-system : lando
2019-08-08 01:38:50 +00:00
Emilio Cobos Álvarez 2747e35c51 Bug 1528616 - Make nsTypeAheadFind less prone to mismatched pres contexts. r=dholbert
Ranges don't cross documents, and there's no reason the typeahead find passes a
shell around. So just don't do it.

This also fixes a bug where references to frames were kept around a flush.
That's potentially unsafe, so I've avoided the flush by passing false to
nsRange.

If something depends on it all the callers need be audited and fixed to handle a
flush properly.

Depends on D40696

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

--HG--
extra : moz-landing-system : lando
2019-08-08 06:18:39 +00:00
Emilio Cobos Álvarez 5ab3251196 Bug 1528616 - Move PresShell::GetRectVisibility to nsTypeAheadFind.cpp. r=dholbert
nsTypeAheadFind.cpp contains all of the callsites to this function, so it seems like a logical place for it to live.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 11:21:55 +00:00
Bogdan Tara 37ebfd0330 Backed out changeset 7599cc4b6688 (bug 1571831) for browser_renderCertToUI.js failures CLOSED TREE 2019-08-08 12:22:05 +03:00
Carolina e8b6b422b5 Bug 1571831 - Adds some l10n missing strings.r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D40909

--HG--
extra : moz-landing-system : lando
2019-08-08 05:59:42 +00:00
dimi 1e0f988331 Bug 1564041 - P2. Remove old application reputation telemetry r=chutten
APPLICATION_REPUTATION_BINARY is now replaced by APPLICATION_REPUTATION_BINARY_TYPE,
we can remove it from telemetry.

Depends on D37275

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

--HG--
extra : moz-landing-system : lando
2019-08-08 07:39:23 +00:00
dimi 7e316918d8 Bug 1564041 - P1. Add telemetry to measure download protection binary type r=gcp
This patch adds a telemetry, APPLICATION_REPUTATION_BINARY_TYPE, which
records different binary type based on the file extension.

1. BinaryFile, file is considered as a binary file, file is eligible for remote lookup
2. NonBinaryFile, file is not considered as a binary file.
3. MozNonBinaryFile, file is considered as a binary file in Chrome, but we don't
   send a download protection ping for this file
4. UnknownFile, file is not in any of the above lists.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 07:38:19 +00:00
Jeane Carlos 1af80f69c3 Bug 1570697 - Adding BSD 3-Clause to license file r=mhoye
Adding a new package "react-transition-group" which uses a BSD 3-Clause that isn't contained in this license file.

https://github.com/mozilla/activity-stream/pull/5196

It looks like BSD 3 is used in other files too https://searchfox.org/mozilla-central/search?q=bsd+3-clause&path=, but I wasn't sure the paths to add for the other files.

BSD is referenced in our Source Code License Policy and License Runbook


  - https://www.mozilla.org/en-US/MPL/license-policy/ (General BSD)
  - https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=87365351 (New BSD, BSD 2-Clause, BSD 3-Clause)

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

--HG--
extra : moz-landing-system : lando
2019-08-07 21:18:58 +00:00
Kannan Vijayan e53a880b1c Bug 1569262 - Rename nsIDocShellTreeItem::GetRootTreeItem to GetInProcessRootTreeItem for Fission marking. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D41064

--HG--
extra : moz-landing-system : lando
2019-08-07 19:24:00 +00:00
Tim Nguyen 5d39d36499 Bug 1572265 - Fix background-color and text color on download dialog. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41118

--HG--
extra : moz-landing-system : lando
2019-08-07 23:23:12 +00:00
Andrew Swan 036b82a357 Bug 1569135 Fix --screenshot r=kmag
This patch ressurects HiddenFrame.jsm and uses it when handling
the --screenshot command line argument to load the requested page
in a content process.  The actual logic for grabbing the image is
also ported to a JSWindowActor.  The test for this feature remains
suboptimal as described in the bug.

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

--HG--
rename : browser/components/shell/HeadlessShell.jsm => browser/components/shell/ScreenshotChild.jsm
extra : moz-landing-system : lando
2019-08-07 21:33:49 +00:00
Ehsan Akhgari 48be4dff24 Bug 1572139 - Fix the assertion
Landing on a CLOSED TREE.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 19:31:14 +00:00
Ehsan Akhgari ea6d504d63 Bug 1572139 - Enable sending UI notifications for ETP on mobile; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D41036

--HG--
extra : moz-landing-system : lando
2019-08-07 16:44:36 +00:00
Ehsan Akhgari f96fa1b4b2 Bug 1570802 - Relax the Storage Access API rules to allow calling the API from private browsing mode; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D40883

--HG--
extra : moz-landing-system : lando
2019-08-07 16:45:01 +00:00
Rob Wu 7fa47a343f Bug 1570700 - Drop support for resource/chrome icons in search engines r=mkaply,daleharvey,mixedpuppy
All built-in engines have migrated from OpenSearch to WebExtensions.
WebExtensions do not support resource: or chrome:-URLs in their
`favicon_url` field, so the "resource:" and "chrome:" URLs can only be
used by external opensearch XML files. These should not rely on internal
resources from omni.ja, as the bug shows. So just drop support for
"chrome:" and "resource:"-URLs, as we don't need them any more.

Current OpenSearch engines that relied on chrome/resource:-URLs can
either replace the URL with a data:-URL, or migrate to WebExtensions.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 16:38:54 +00:00
Carolina 75d85e4a0c Bug 1571427 - Fixes adjustCertInformation function not accessing elements that are not defined.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40639

--HG--
extra : moz-landing-system : lando
2019-08-07 16:51:14 +00:00
Shane Caraveo ce613549bf Bug 1566548 add test for https onAuthRequired r=mayhemer
A passing test for https requests over http/1 proxy

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

--HG--
extra : moz-landing-system : lando
2019-07-31 18:44:18 +00:00
Brindusan Cristian eadcacfe30 Backed out changeset b4678e759a18 (bug 1569135) for mochitest failures at test_headless_screenshot.html. CLOSED TREE 2019-08-07 20:38:53 +03:00
Andrew Swan 34c3a8c80d Bug 1569135 Fix --screenshot r=kmag
This patch ressurects HiddenFrame.jsm and uses it when handling
the --screenshot command line argument to load the requested page
in a content process.  The actual logic for grabbing the image is
also ported to a JSWindowActor.  The test for this feature remains
suboptimal as described in the bug.

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

--HG--
rename : browser/components/shell/HeadlessShell.jsm => browser/components/shell/ScreenshotChild.jsm
extra : moz-landing-system : lando
2019-08-07 16:07:08 +00:00
Ehsan Akhgari b05ce1a78b Bug 1571893 - Remove the prefs that can cause Gecko to stop honouring the Content Blocking allow list; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D40895

--HG--
extra : moz-landing-system : lando
2019-08-07 15:54:54 +00:00
Noemi Erli f74ee121f7 Backed out changeset 6ec4bd94bb51 (bug 1564346) for causing build bustages in TestVariableLengthPrefixSet.cpp CLOSED TREE 2019-08-07 18:57:31 +03:00
dlee b113ed0aad Bug 1564346 - SafeBrowsing gtest code refactoring. r=gcp
Refactor the gtest code because it confused me while adding new tests.
This patch focus on refining utility function but it also contains other
minor refinements.

Changes includes:
1. Add comments to utility function
2. Move common utility functions to Common.cpp and remove duplicates
3. Header file removal and reorder
4. Unify MPL commnetc
5. Replace anonymouse namespace with static function

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

--HG--
extra : moz-landing-system : lando
2019-08-07 15:17:49 +00:00
Aaron Klotz 679da25801 Bug 1571881: Use StaticLocalRefPtr to hold the DllServices singleton; r=mhowell
This patch modifies `DllServices::Get()` to use a magic static to initialize
itself, thus ensuring atomicity and thread safety.

We also remove a redundant kung-fu death grip, as it causes
`DllServices->EnableFull` to reenter `DllServices::Get` but is unnecessary.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 15:07:03 +00:00
Cosmin Sabou e405a1c250 Backed out changeset 2cc907d4c59c (bug 1570802) for assertion failures on /base/Document.cpp. CLOSED TREE
--HG--
extra : rebase_source : 525e61d8018ea5938e35091d361dae1d7b0611e3
2019-08-07 18:24:07 +03:00
Andrea Marchesini bf1c4bb4a2 Bug 1570805 - [stp] Turn on Social Tracking Protection Prefs, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40928

--HG--
extra : moz-landing-system : lando
2019-08-07 15:02:50 +00:00
Ehsan Akhgari 89f6d7f7c7 Bug 1571770 - Part 1: Stop using Preferences.jsm inside URLDecorationAnnotationsService.jsm; r=florian,baku
Differential Revision: https://phabricator.services.mozilla.com/D40843

--HG--
extra : moz-landing-system : lando
2019-08-07 14:44:00 +00:00
Ehsan Akhgari 2aeb59e775 Bug 1570802 - Relax the Storage Access API rules to allow calling the API from private browsing mode; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D40883

--HG--
extra : moz-landing-system : lando
2019-08-07 06:20:35 +00:00
Ehsan Akhgari 5537145c64 Bug 1570801 - Add an automated test for bug 1566825; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D40872

--HG--
extra : moz-landing-system : lando
2019-08-07 06:19:47 +00:00
Moritz Birghan 899a70f4b9 Bug 1563849 - Get btoa(getDERString(cert)) from an API r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39970

--HG--
extra : moz-landing-system : lando
2019-08-06 09:03:38 +00:00
Julian Descottes 0959f84ac4 Bug 1567497 - Record telemetry events when user uses ctrl-P ctrl-shift-P r=Harald,janerik,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38676

--HG--
extra : moz-landing-system : lando
2019-08-05 15:55:02 +00:00
Nicholas Nethercote 12640bca82 Bug 1563555 - Generate static pref getters usable from Rust code. r=glandium
This patch introduces a new Rust crate called `static_prefs`.

It also changes generate_static_pref_list.py to generate two new files.

- StaticPrefsCGetters.cpp: contains C getters, which are just wrappers around
  the C++ getters. This is included into Preferences.cpp.

- static_prefs.rs: contains declarations for the C getters, plus the `pref!`
  macro which provides nice syntax for calling the C getters. This is included
  into static_prefs/src/lib.rs.

The new code is only generated for prefs marked with the new `rust` field in
the YAML. It's opt-in because there's no point generating additional code for
900+ static prefs when only about 20 are currently used from Rust.

This patch only marks a single pref (`browser.display.document_color_use`) with
`rust: true`. That pref isn't accessed from Rust code in this patch, but it's
necessary because the generated Rust code is invalid if there are zero
Rust-accessed prefs. (The next patch will access that pref and others from Rust
code.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 05:16:55 +00:00
Ciure Andrei adef2661b1 Merge inbound to mozilla-central. a=merge 2019-08-07 07:34:55 +03:00