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

63423 Коммитов

Автор SHA1 Сообщение Дата
Adam Roach [:abr] 233a700de8 Bug 1399356: Test & test adjustments for anti-clickjacking r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D80229
2020-06-25 00:11:19 +00:00
Adam Roach [:abr] 2755241b1f Bug 1399356: Delay input to autofill popup r=zbraniecki,MattN
Differential Revision: https://phabricator.services.mozilla.com/D79775
2020-06-24 23:59:01 +00:00
Kevin Jacobs 3c3f5268d1 Bug 1645082 - Extend Delegated Credentials telemetry probe expiration to Fx86. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D80260
2020-06-24 21:22:20 +00:00
Jared Wein 5a67b515ea Bug 1644639 - Set the label on the checkbox directly, and remove the 'control' attribute on the description since clicking a link shouldn't also toggle the checkbox. r=mstriemer,fluent-reviewers,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D79953
2020-06-24 20:53:26 +00:00
Jared Wein 30e7b0bb02 Bug 1644639 - Add ability for FeatureGate descriptions to include links. r=mstriemer,fluent-reviewers,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D79952
2020-06-24 20:53:18 +00:00
Rob Wu f76a8e49fe Bug 1635781 - Fully replace the web page's CSP if modified by add-on r=mixedpuppy
The original addition of CSP to `headersAlreadySet` in bug 1462989 was
to make sure that CSP response headers from different extensions are
merged as expected. The logic did however not take into account that
unconditionally merging modified headers means that the header would be
merged with the original CSP from the web page, which prevented add-ons
from relaxing a CSP from the web page.

This commit fixes the bug by tracking the CSP status on the
`ResponseHeaderChanger` instance, which is shared by all webRequest
handlers of a single request.

Differential Revision: https://phabricator.services.mozilla.com/D80761
2020-06-24 20:39:00 +00:00
Rob Wu 94507ab6ae Bug 1635781 - Fix broken logic in test_ext_webRequest_mergecsp.js r=mixedpuppy
- Most importantly: Fix the `test_csp` helper to actually replace the
  page's CSP header. The existing tests verify that the web page's CSP
  is still applied, which is trivially true if the helper extension
  appends the CSP instead of replacing it.

- Expand comment on the meaning of the parameters in `test_csp`.

- `sendMessage` is not async, properly await the result.

- Unload extensions before checking assertions, to avoid unhelpful error
  messages about extensions not having been unloaded at the end of the
  test.

- Report which test case is being run to make debugging easier.

Differential Revision: https://phabricator.services.mozilla.com/D80760
2020-06-24 20:17:22 +00:00
Mark Banner 07547b40a2 Bug 1647699 - Extend test_distribution to cover Acer distribution fixes. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D80715
2020-06-24 20:26:57 +00:00
Matt Woodrow b351d48f0c Bug 1646582 - Pull the inner window id from the WindowGlobalParent, rather than passing it across PBrowser for updateForLocationChange. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80131
2020-06-24 19:59:32 +00:00
Matt Woodrow ea21b3dd8e Bug 1646582 - Remove RemoteWebProgressManager. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80129
2020-06-24 19:59:04 +00:00
Matt Woodrow 00dc8d3d73 Bug 1646582 - Remove DOM(Inner)WindowID from nsIWebProgress. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D80128
2020-06-24 19:58:15 +00:00
Kris Maglione aa9718c2e0 Bug 1648178: Stop loading TelemetryUtils in content processes. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D80919
2020-06-24 20:03:53 +00:00
Shane Caraveo 6c815b0bcf Bug 1647935 cleanup test_updatecheck.js r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D80772
2020-06-24 18:22:43 +00:00
Csoregi Natalia e87da2a354 Backed out 2 changesets (bug 1635781) for failures on /test_ext_webRequest_cached.js. CLOSED TREE
Backed out changeset 26d1f4a237a3 (bug 1635781)
Backed out changeset 866413f80f63 (bug 1635781)
2020-06-24 21:25:41 +03:00
Kris Maglione 4f021f549e Bug 1645862: Part 2 - Get rid of ContentProcessSingleton. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D79871
2020-06-24 17:33:52 +00:00
Kris Maglione 977f86fb80 Bug 1645862: Part 1 - Split TelemetryController into parent and content modules. r=chutten
Most of TelemetryController is only used in the parent process, but is
currently loaded in all processes, where it needlessly consumes tens of KB of
memory. This patch splits the parent- and content-specific parts, and only
loads each in the processes where they're needed.

Differential Revision: https://phabricator.services.mozilla.com/D79870
2020-06-24 17:33:49 +00:00
Daosheng Mu 16ae869cfe Bug 1636011 - Remove FxR PC installation probes. r=kip,thomasmo,chutten
We don't need these telemetry in Gecko now because we are working on it with Glean.

Differential Revision: https://phabricator.services.mozilla.com/D80116
2020-06-24 17:29:45 +00:00
Rob Wu b84e5f4143 Bug 1635781 - Fully replace the web page's CSP if modified by add-on r=mixedpuppy
The original addition of CSP to `headersAlreadySet` in bug 1462989 was
to make sure that CSP response headers from different extensions are
merged as expected. The logic did however not take into account that
unconditionally merging modified headers means that the header would be
merged with the original CSP from the web page, which prevented add-ons
from relaxing a CSP from the web page.

This commit fixes the bug by tracking the CSP status on the
`ResponseHeaderChanger` instance, which is shared by all webRequest
handlers of a single request.

Differential Revision: https://phabricator.services.mozilla.com/D80761
2020-06-24 17:17:08 +00:00
Rob Wu 89ab97b36b Bug 1635781 - Improve initialization and documentation of test_ext_webRequest_mergecsp.js r=mixedpuppy
- Expand comment on the meaning of the parameters in `test_csp`.

- `sendMessage` is not async, properly await the result.

- Unload extensions before checking assertions, to avoid unhelpful error
  messages about extensions not having been unloaded at the end of the
  test.

- Report which test case is being run to make debugging easier.

Differential Revision: https://phabricator.services.mozilla.com/D80760
2020-06-24 17:04:21 +00:00
Chris H-C c1a1045511 Bug 1635255 - Don't compile FOG IPC layer and tests if not MOZ_GLEAN r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D80722
2020-06-24 16:16:48 +00:00
Chris H-C 269e1833eb Bug 1635255 - Adapt to get_AppInfoService removal r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D80516
2020-06-24 16:16:39 +00:00
Chris H-C 0f5f388a16 Bug 1635255 - Test child-process counter metrics r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D79898
2020-06-24 16:16:37 +00:00
Chris H-C 5a90b156f6 Bug 1635255 - Implement the Rust <-> C++ ffi for FOG IPC r=janerik
Bringing it all together.

Differential Revision: https://phabricator.services.mozilla.com/D79747
2020-06-24 16:16:29 +00:00
Chris H-C a622fa625c Bug 1635255 - Skeleton IPC impl for Counter r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D79746
2020-06-24 16:16:27 +00:00
Chris H-C 61ff9175f3 Bug 1635255 - Document FOG's IPC r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D79745
2020-06-24 16:16:20 +00:00
Chris H-C 6f5695446e Bug 1635255 - Build glean crate conditionally on Gecko symbols r=janerik
Introduces a gkrust Cargo feature `glean_with_gecko` and `with_gecko` on fog
and glean. This feature signifies the presence of gecko symbols in the build.

Use this feature to implement needs_ipc() which asks Gecko which process type
we're running as.

Differential Revision: https://phabricator.services.mozilla.com/D79744
2020-06-24 16:16:17 +00:00
Chris H-C afc734d4c0 Bug 1635255 - Add skeleton FOG IPC GTests r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D79743
2020-06-24 16:16:10 +00:00
Chris H-C b661a96155 Bug 1635255 - Flesh out FOG IPC one additional layer r=janerik
Introducing FOGIPC, the central clearinghouse for the C++ layer between
PContent and FOG's Rust impl.

Gotta add tests.

Differential Revision: https://phabricator.services.mozilla.com/D79742
2020-06-24 16:16:07 +00:00
Chris H-C 086780a93b Bug 1635255 - Sketch out StringMetric ipc support r=janerik
This isn't 100% of a solution yet as the main process has no way of turning
a MetricId into a StringMetric (we're gonna a need a table. Maybe several.)
which we'll need before we can replay.

Also, there's no serialization or communication yet, which I guess is a bigger
deal.

Oh, and no detection of which process we're even on.

Differential Revision: https://phabricator.services.mozilla.com/D79741
2020-06-24 16:15:57 +00:00
Chris H-C f177f29a3f Bug 1635255 - Add FOG IPC to PContent r=janerik
Temporarily on PContent instead of managed by PBackground, there's one
parentbound message for occasionally uplifting Glean data from child processes
and one childbound message for forcing the immediate flush of Glean data in the
async return.

Can't write gtests for this as ContentChild and ContentParent include things
that aren't present in gtest.

Differential Revision: https://phabricator.services.mozilla.com/D78077
2020-06-24 16:15:50 +00:00
Gijs Kruitbosch 380e9f04f1 Bug 1631991 - stop wasting minutes of infra time waiting for the startup cache in gtests, r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D80765
2020-06-24 16:00:32 +00:00
Andrea Marchesini 1a01cb3d74 Bug 1646136 - Improve the comments in the preload/prefetch tests for network state isolation, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D80903
2020-06-24 16:16:00 +00:00
Jared Wein 7639e4f712 Bug 1643093 - Remove references to 'whitelist' in browser/components/urlbar. r=jaws
Depends on D78124

Differential Revision: https://phabricator.services.mozilla.com/D78122
2020-06-24 15:59:04 +00:00
Andrea Marchesini 7c0f7e892c Bug 1646136 - Isolate preload channels per first-party when privacy.partition.network_state is set to true, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D80047
2020-06-24 15:34:33 +00:00
Andrea Marchesini 2753380aaa Bug 1646136 - Isolate prefetch channels per first-party when privacy.partition.network_state is set to true, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D80046
2020-06-24 15:31:31 +00:00
Mihai Alexandru Michis fe89d1f20e Backed out 11 changesets (bug 1635255) for causing bustages in FOGIPC.cpp
CLOSED TREE

Backed out changeset d3e93edb1c76 (bug 1635255)
Backed out changeset 27df18486bff (bug 1635255)
Backed out changeset 4675772344eb (bug 1635255)
Backed out changeset 4d0c4beb910e (bug 1635255)
Backed out changeset 9b79c8208144 (bug 1635255)
Backed out changeset cb54f7a3177d (bug 1635255)
Backed out changeset d0591dc8d5a1 (bug 1635255)
Backed out changeset 5fc5e1070d4d (bug 1635255)
Backed out changeset bfcfda9cb19d (bug 1635255)
Backed out changeset 49447f10ad6e (bug 1635255)
Backed out changeset 0862a33399cf (bug 1635255)
2020-06-24 17:21:10 +03:00
Chris H-C 67d32c35b2 Bug 1647408 - Update FOG logging info for MOZ_LOG support r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D80522
2020-06-24 07:53:54 +00:00
Chris H-C e5c7e3f262 Bug 1635255 - Don't compile FOG IPC layer and tests if not MOZ_GLEAN r=janerik
Depends on D80516

Differential Revision: https://phabricator.services.mozilla.com/D80722
2020-06-24 07:54:16 +00:00
Chris H-C 1258155ad5 Bug 1635255 - Adapt to get_AppInfoService removal r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D80516
2020-06-23 20:44:06 +00:00
Chris H-C 024dfe2e4a Bug 1635255 - Test child-process counter metrics r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D79898
2020-06-23 20:44:04 +00:00
Chris H-C 220a31aa49 Bug 1635255 - Implement the Rust <-> C++ ffi for FOG IPC r=janerik
Bringing it all together.

Differential Revision: https://phabricator.services.mozilla.com/D79747
2020-06-23 20:44:01 +00:00
Chris H-C 63147fd06c Bug 1635255 - Skeleton IPC impl for Counter r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D79746
2020-06-23 20:43:51 +00:00
Chris H-C 3e84357b98 Bug 1635255 - Document FOG's IPC r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D79745
2020-06-23 20:43:49 +00:00
Chris H-C 2f90804e01 Bug 1635255 - Build glean crate conditionally on Gecko symbols r=janerik
Introduces a gkrust Cargo feature `glean_with_gecko` and `with_gecko` on fog
and glean. This feature signifies the presence of gecko symbols in the build.

Use this feature to implement needs_ipc() which asks Gecko which process type
we're running as.

Differential Revision: https://phabricator.services.mozilla.com/D79744
2020-06-23 20:43:41 +00:00
Chris H-C 3870dab10b Bug 1635255 - Add skeleton FOG IPC GTests r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D79743
2020-06-23 20:43:39 +00:00
Chris H-C b876426809 Bug 1635255 - Flesh out FOG IPC one additional layer r=janerik
Introducing FOGIPC, the central clearinghouse for the C++ layer between
PContent and FOG's Rust impl.

Gotta add tests.

Differential Revision: https://phabricator.services.mozilla.com/D79742
2020-06-23 21:20:12 +00:00
Chris H-C 48dd24675c Bug 1635255 - Sketch out StringMetric ipc support r=janerik
This isn't 100% of a solution yet as the main process has no way of turning
a MetricId into a StringMetric (we're gonna a need a table. Maybe several.)
which we'll need before we can replay.

Also, there's no serialization or communication yet, which I guess is a bigger
deal.

Oh, and no detection of which process we're even on.

Differential Revision: https://phabricator.services.mozilla.com/D79741
2020-06-23 20:43:26 +00:00
Chris H-C f2d85a24e8 Bug 1635255 - Add FOG IPC to PContent r=janerik
Temporarily on PContent instead of managed by PBackground, there's one
parentbound message for occasionally uplifting Glean data from child processes
and one childbound message for forcing the immediate flush of Glean data in the
async return.

Can't write gtests for this as ContentChild and ContentParent include things
that aren't present in gtest.

Differential Revision: https://phabricator.services.mozilla.com/D78077
2020-06-23 20:43:16 +00:00
Francesco Lodolo (:flod) a4b5e4d9bd Bug 1647692 - Add language packs and dictionaries to about:support, r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80808
2020-06-24 13:30:22 +00:00
Erica Wright 822b9b6b54 Bug 1645089 - Update Data Sanitization Scalars. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D79922
2020-06-22 07:09:08 +00:00