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

67583 Коммитов

Автор SHA1 Сообщение Дата
Daisuke Akatsuka d13e84ccdd Bug 897954: Add a test for purging caches. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105589
2021-02-25 00:12:41 +00:00
Daisuke Akatsuka 9f8f7cf96f Bug 897954: Remove onBeginUpdateBatch and onEndUpdateBatch functions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105441
2021-02-25 00:12:40 +00:00
Daisuke Akatsuka 88810c4c22 Bug 897954: Implement and apply purge-caches mechanism. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105440
2021-02-25 00:12:40 +00:00
smolnar f7be142901 Backed out changeset 98ce934ae615 (bug 1694777) for causing multiple failures in RustMozCrash. CLOSED TREE 2021-02-25 01:38:45 +02:00
Matthew Gregan 45b135164f Bug 1694777 - Update audioipc to a5fd9eef. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D106322
2021-02-24 22:22:40 +00:00
Florian Quèze 2376f91e05 Bug 1694728 - pause the fluent observer while updating the about:processes or about:performance page, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D106299
2021-02-24 22:04:30 +00:00
Erica Wright 2d8a4639b5 Bug 1690561 - Update context menu strings for clarity. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106031
2021-02-24 21:54:42 +00:00
Csoregi Natalia e50ad13694 Backed out 2 changesets (bug 1693927, bug 1693126) for failures on browser_urlbar_telemetry_quicksuggest.js. CLOSED TREE
Backed out changeset 681c90aa832e (bug 1693126)
Backed out changeset 7525ec04b82a (bug 1693927)
2021-02-24 22:00:43 +02:00
Drew Willcoxon 8b20784ab6 Bug 1693126 - Add telemetry for when users disable Quick Suggest. r=harry,nanj
This adds event telemetry that's recorded when the
`browser.urlbar.suggest.quicksuggest` pref is toggled. This pref corresponds to
the checkbox in about:preferences#search labeled "Show suggested and sponsored
results in the address bar".

I used `contextservices.quicksuggest` as the event telemetry category name to be
similar to the `contextual.services.quicksuggest.*` scalars. Event names are
limited to 30 chars, so it couldn't be exactly the same.

This is based on my earlier revision for scalar telemetry in D106173.

Depends on D106173

Differential Revision: https://phabricator.services.mozilla.com/D106248
2021-02-24 19:13:50 +00:00
Drew Willcoxon 0b23a69777 Bug 1693927 - Record keyed scalar telemetry for impressions and clicks on Quick Suggest results. r=harry,nanj
This adds three new keyed scalars:

* `contextual.services.quicksuggest.impression`: Incremented when a Quick
  Suggest result is shown in an address bar engagement where the user picks any
  result.
* `contextual.services.quicksuggest.click`: Incremented when the user picks a
  Quick Suggest result (not including the help button).
* `contextual.services.quicksuggest.help``: Incremented when the user picks the
  onboarding help button in a Quick Suggest result.

The changes to telemetry.rst and Scalars.yaml have more details.

I modified `TelemetryEvent.typeFromElement()` to return `"help"` for clicks on
the help button so that the quick suggest provider can tell whether the main
part of the result was picked or the help button. I left `"tiphelp"` for tip
help buttons in case anything depends on that.

Depends on D106060

Differential Revision: https://phabricator.services.mozilla.com/D106173
2021-02-24 18:01:37 +00:00
Michelle Goossens 46dd0460da Bug 1692670 - Remove separator between delete and "select all" in the content context menu r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D105992
2021-02-24 17:54:03 +00:00
Chris H-C d537f7541d Bug 1694466 - Name the 'fog-validation'-ping-sending thread r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D106190
2021-02-24 16:39:32 +00:00
Chris H-C 6932f969a5 Bug 1694505 - Add an optional data path override to FOG init r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D106192
2021-02-24 16:33:58 +00:00
Gijs Kruitbosch d079588fd9 Bug 1694427 - fix background colours and button padding in about:support, r=jaws,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D106281
2021-02-24 16:08:45 +00:00
Chun-Min Chang 22072baa9a Bug 1692910 - P1: Update cubeb-coreaudio to ad56ea1 r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D106252
2021-02-24 15:59:53 +00:00
Tim Nguyen 159428759d Bug 1590884 - Move XUL accesskey handling to DOM and remove nsXULLabelFrame. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D106233
2021-02-24 14:46:28 +00:00
Mark Banner 1379a2bed3 Bug 1694183 - When loading icons, use the content type of the final target, not a redirect response. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105994
2021-02-24 14:33:57 +00:00
Simon Giesecke c54f47465b Bug 1693541 - Improve uses of nsBaseHashtable and descendants in toolkit/components/telemetry. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D106111
2021-02-24 12:49:57 +00:00
Simon Giesecke a89ec49b4d Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in toolkit/components/resistfingerprinting. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D106113
2021-02-24 12:49:57 +00:00
Simon Giesecke 022bf00650 Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in toolkit/components/url-classifier. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D106110
2021-02-24 12:49:56 +00:00
Edmund Wong 6aa9734887 Bug 1675676 - Add --with-crashreporter-url for ac_add_options to allow specifying alternative crash-stats server url. r=glandium,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D96322
2021-02-24 09:46:59 +00:00
Itiel 0bb647b6f6 Bug 1692773 - Fix about:certificate tabs' outline when focused r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D105223
2021-02-24 08:38:15 +00:00
Mike Hommey 34ada26a0e Bug 1693723 - Avoid bootstrapping when an explicit path is given for tools. r=firefox-build-system-reviewers,mhentges
This changes things such that setting e.g. NASM=/usr/bin/nasm will avoid
bootstrapping nasm even when bootstrapping is enabled.

This is not applied to CC/CXX/HOST_CC/HOST_CXX because things are more
complicated.

This also simplifies how check_prog is called for a bootstrapped tool,
and avoids the repetition of when.

CBINDGEN handling needs the pattern being applied manually because it
currently doesn't use check_prog. Once --enable-bootstrap=install
becomes the default on developer builds, it will be possible to simplify
this.

Differential Revision: https://phabricator.services.mozilla.com/D105718
2021-02-24 02:01:33 +00:00
Aaron Klotz 004362bf3e Bug 1690384: Propagate error information up through XPCOMGlueLoad and GetBootstrap; r=glandium
We know that some GV installations (particularly but not exlcusively Focus) are
failing to load `libxul.so` during early Gecko bootstrapping. Unfortunately
a boolean pass/fail result is not giving us sufficient information to be able to
properly troubleshoot this problem.

This patch adds `mozilla::Result`-based return values to `XPCOMGlueLoad` and
`GetBootstrap` in an effort to produce more actionable information about these
failures.

We include either a `nsresult` or, if the failure is rooted in a dynamic linker
failure, appropriate platform-specific error information:

* On Unix-based platforms, a `UniqueFreePtr<char>` containing the string from `dlerror(3)`;
* On Windows, the Win32 `DWORD` error code from `GetLastError()`.

For non-Android platforms, I updated them to handle the new return type, but
otherwise did not make any further changes.

For Android, we include the error information in the message string that we pass
into the Java `Exception` that is subsequently thrown.

Differential Revision: https://phabricator.services.mozilla.com/D104263
2021-02-23 23:25:22 +00:00
Gijs Kruitbosch 75a736b09e Bug 1692376 - stop showing hover state for menuitems in the new windows 10 menus, r=jaws
I'm also updating the colours for the spec updates to menu colours.

Differential Revision: https://phabricator.services.mozilla.com/D106009
2021-02-23 23:20:10 +00:00
Tom Ritter e6322c7b6f Bug 1693861: Record telemetry for popular but unsupported privacy prefs r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D105823
2021-02-23 21:05:46 +00:00
Kris Maglione f508b30e41 Bug 1403348: Follow-up: Remove crash annotations for AsyncShutdown load failures. r=mccr8
They've done their job. It's clear at this point that these failures are
happening because of omni.ja corruption.

Differential Revision: https://phabricator.services.mozilla.com/D105834
2021-02-23 20:18:13 +00:00
Kershaw Chang 59e3afaf3d Bug 1694263 - P2: Record more file types in zero_byte_load telemetry r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D106139
2021-02-23 18:09:55 +00:00
harry 43ec533571 Bug 1594132 - Move background-color rules so they do not appear under appearance rules, enabling sidebar vibrancy. r=ntim,dao
`appearance` CSS rules allow elements to take on system appearance. For UI elements that we want to take on system styling, we set `appearance: auto` combined with platform-specific rules like `-moz-default-appearance: -moz-mac-vibrant-titlebar-light;`

macOS sidebar vibrancy broke because a background-color was being applied to `root`. That colour appeared under elements with `appearance: auto` set, so we wouldn't see the platform-specific styling. This patch moves the root background-color to `#navigator-toolbox`, so that it does not appear under `#sidebar-box`.

We still want a background colour applied to sidebars when a lwtheme includes one. We only want `appearance: auto` applied to sidebars when the active theme does not have sidebar styling rules. That's why `#sidebar-box:not(:-moz-lwtheme)` is changed to `#sidebar-box:not([lwt-sidebar])`.

This patch also removes the rule
```
:root:-moz-lwtheme {
  appearance: none;
}
```
from osx/global/global.css. There's no corresponding addition of a `#navigator-toolbox { appearance:none; }` rule because that rule already exists in [osx/browser.css](https://searchfox.org/mozilla-central/rev/7067bbd8194f4346ec59d77c33cd88f06763e090/browser/themes/osx/browser.css#45).

Differential Revision: https://phabricator.services.mozilla.com/D104416
2021-02-23 15:03:45 +00:00
Tom Tung f8a32ec9bc Bug 1665942 - Collect userContextId from tab in _collectBaseTabData and stop collecting it in the session history collection; r=nika,geckoview-reviewers,agi
### Story

When a COOP+COEP page is opened, we change the remoteness of the tab. After
changing the remoteness, the tab is then restored by its TabState. However,
we haven't collected userContextId through the current mechanism.

To fix that, this patch changes the way to collect userContextId.

### Test Plan

Test: D98296

Depends on D98296

Differential Revision: https://phabricator.services.mozilla.com/D98468
2021-02-23 08:28:57 +00:00
Rob Wu fa006df8b4 Bug 1693664 - Correctly run prefix logic in getWindowTitleForBrowser r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D105690
2021-02-23 08:23:44 +00:00
Tim Nguyen b2f6b738b8 Bug 1693979 - Adjust visual weight of notification bar shadow and icon spacing. DONTBUILD
Reduces the uneven spacing from the icons, and the weight of the shadow (while keeping some of it, so it still looks over like part of browser chrome).

Differential Revision: https://phabricator.services.mozilla.com/D106070
2021-02-23 07:52:29 +00:00
Mike Hommey 23f4404e5f Bug 1693689 - Avoid bootstrapping toolchains unless needed. r=firefox-build-system-reviewers,andi,sheehan,mhentges
- Only bootstrap sccache when building with --with-ccache=sccache or
  CCACHE=sccache
- Don't bootstrap dump_syms or nasm on builds that don't compile

Differential Revision: https://phabricator.services.mozilla.com/D105704
2021-02-23 03:34:04 +00:00
Mihai Alexandru Michis ac04bdcbeb Bug 1692940 - Fix bustages on Win 2012 AArch64. a=bustage-fix
CLOSED TREE
2021-02-23 05:05:43 +02:00
Mike Hommey fbbe02d958 Bug 1692940 - Remove build system support for yasm. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D105432
2021-02-23 01:26:46 +00:00
Mike Hommey ed44c83111 Bug 1692940 - Switch ffvpx build to nasm instead of yasm. r=firefox-build-system-reviewers,dmajor
nasm doesn't like compiling simple_idct10.asm on x86
(https://bugzilla.nasm.us/show_bug.cgi?id=3392738), which is empty once
preprocessed for x86, so exclude it there.

Differential Revision: https://phabricator.services.mozilla.com/D105429
2021-02-23 01:26:45 +00:00
Mike Hommey a2f6caf5a0 Bug 1692940 - Switch jpeg build to nasm instead of yasm. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D105428
2021-02-23 01:26:45 +00:00
Mike Hommey 0aa2e2da9a Bug 1692940 - Switch vpx build to nasm instead of yasm. r=firefox-build-system-reviewers,dmajor
We also remove the dependency on the check for GNU as, because all the
build environments we support for arm use GNU as, and the dependency
causes complications.

Differential Revision: https://phabricator.services.mozilla.com/D105427
2021-02-23 01:26:44 +00:00
Mike Hommey 5479923a50 Bug 1692940 - Change the logic to check for nasm. r=firefox-build-system-reviewers,dmajor
Instead of preemptively check for it, and then check if it's good enough to
build AV1, only check for (and bootstrap) nasm when building AV1 requires
it.

At the same time, we future-proof the code to be able to handle multiple
things requiring nasm, which we're going to add shortly.

Differential Revision: https://phabricator.services.mozilla.com/D105425
2021-02-23 01:26:43 +00:00
smolnar c245e071f7 Backed out changeset 7c67e3cb1ded (bug 1403348) for causing xpc failures in AsyncShutdown. CLOSED TREE 2021-02-23 02:17:08 +02:00
Tim Nguyen 617dd08efc Bug 1689230 - Simplify gViewController API methods. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D103251
2021-02-22 22:44:03 +00:00
Mike Hommey e83b8b7220 Bug 1693215 - Simplify the ffvpx configuration. r=firefox-build-system-reviewers,dmajor
Since MOZ_LIBAV_FFT doesn't need the flags, we simplify the libav_fft
function to return true in the conditions it used to return flags for,
which is clearer.
We then move all these flags to the ffvpx function, and rearrange the
tests to be less convoluted, and with hope, more readable.

This has been verified to not change the outcomes on the following
targets:
- i686-pc-linux-gnu
- x86_64-pc-linux-gnu
- aarch64-unknown-linux-gnu
- arm-unknown-linux-gnueabi
- s390x-unknown-linux-gnu
- i686-apple-darwin
- x86_64-apple-darwin
- aarch64-apple-darwin
- i686-pc-mingw32
- x86_64-pc-mingw32
- aarch64-pc-mingw32

Differential Revision: https://phabricator.services.mozilla.com/D105400
2021-02-22 22:11:26 +00:00
Mike Hommey caa72b33bd Bug 1693215 - Don't check for yasm for libav. r=firefox-build-system-reviewers,dmajor
Bug 1476231 actually removed libav, so we don't build it, and don't need
neither the yasm check nor the LIBAV_FFT_ASFLAGS variable.
However, we still have checks, both in moz.build and code, for
MOZ_LIBAV_FFT, so we need to keep that.

Differential Revision: https://phabricator.services.mozilla.com/D105399
2021-02-22 22:11:26 +00:00
Mike Hommey 346820ef1f Bug 1693215 - Always depend on yasm >= 1.2 for ffvpx. r=firefox-build-system-reviewers,dmajor
Yasm 1.2 was released in October 2011. Let's just assume everyone can
use that now.

Differential Revision: https://phabricator.services.mozilla.com/D105398
2021-02-22 22:11:25 +00:00
Kris Maglione 9e57d6f966 Bug 1403348: Follow-up: Remove crash annotations for AsyncShutdown load failures. r=mccr8
They've done their job. It's clear at this point that these failures are
happening because of omni.ja corruption.

Differential Revision: https://phabricator.services.mozilla.com/D105834
2021-02-22 21:37:28 +00:00
Emma Malysz f05741c80d Bug 1690854, remove slow startup notification r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D105993
2021-02-22 21:20:36 +00:00
Florian Quèze b58b45313b Bug 1693561 - avoid stat'ing profiles.ini twice during startup, r=mossop.
Differential Revision: https://phabricator.services.mozilla.com/D105644
2021-02-22 20:48:14 +00:00
Emilio Cobos Álvarez 15ff419df0 Bug 1694059 - Rename various nnt prefs. r=spohl,mstange
As per feedback in D105931.

Differential Revision: https://phabricator.services.mozilla.com/D105991
2021-02-22 20:05:35 +00:00
Nan Jiang 1a0e71c351 Bug 1688698 - Add telemetry for sponsored TopSites r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D104846
2021-02-22 20:03:18 +00:00
Gijs Kruitbosch 8002a3c48c Bug 1678255 - prompt for external protocol links whose loads were also triggered externally, instead of looping forever, r=pbz,nika
This passes around the "are we external" bit of load information a bunch,
such that the external protocol handling code has access to it.

In this bug and bug 1667468, I think ideally I would have used a check
if we're the OS default for a given protocol before continuing. However,
this information is currently unavailable on Linux (bug 1599713), and
worse, I believe is likely to remain unavailable in flatpak and other
such restricted environments (cf. bug 1618094 - we aren't able to find
out anything about protocol handlers from the OS).

So instead, we prompt the user if we are about to open a link passed
to us externally. There is a small chance this will be Breaking People's
Workflows, where I don't know whether anyone relies on Firefox happily
passing these URIs along to the relevant application (more convenient
than doing all the registry/API work yourself in scripts!) or anything
like that. To help with that, there's a pref,
`network.protocol-handler.prompt-from-external`, that can be created and
set to false to avoid prompting in this case.

Differential Revision: https://phabricator.services.mozilla.com/D103967
2021-02-22 19:00:10 +00:00
Calixte Denizet 298788c5e7 Bug 1684928 - Enable mochitest for pdf.js JS sandbox r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D105832
2021-02-22 17:13:24 +00:00
Nihanth Subramanya b88988a027 Bug 1460314 - TRR: add telemetry probe for used HTTP version. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D100519
2021-02-22 14:43:15 +00:00
Valentin Gosu a9cce9ac08 Bug 1646452 - Key TRR telemetry by domain of DoH server r=nhnt11,necko-reviewers,dragana
This allows us to separate general TRR performance issues from "this user's
custom DoH server is slow or malfunctioning".
Any DoH servers domains that are not shipped by Firefox are reported as (other).

Differential Revision: https://phabricator.services.mozilla.com/D105602
2021-02-22 13:51:44 +00:00
Stephen A Pohl ca8b4e2c68 Bug 1693950: Ensure that chrome tests continue to use the native theme to not lose test coverage since we do not intend to enable the non-native theme in chrome at this time. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D105856
2021-02-22 13:12:17 +00:00
Tim Nguyen b7714f3775 Bug 1693979 - Reduce the size of notification bars. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D105865
2021-02-22 12:47:30 +00:00
Simon Giesecke c5f7800f35 Bug 1691913 - Rename nsClassHashtable::LookupOrAdd to GetOrInsertNew. r=xpcom-reviewers,nika
It should be called "Get" rather than "Lookup" because it returns
UserDataType. "Add" is called "Insert" in the other methods.

Differential Revision: https://phabricator.services.mozilla.com/D105470
2021-02-22 12:07:47 +00:00
Simon Giesecke d2caea36fa Bug 1691894 - Simplify uses of WithEntryHandle that only use OrInsert(With) by using GetOrInsertWith. r=xpcom-reviewers,necko-reviewers,jgilbert,nika
Differential Revision: https://phabricator.services.mozilla.com/D104676
2021-02-22 12:07:46 +00:00
Gijs Kruitbosch 0598e83a2b Bug 1693276 - update button styles for proton r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D105481
2021-02-22 10:53:34 +00:00
Henri Sivonen 9d6d02b341 Bug 1663931 - Avoid moving focus when changing iframe remoteness. r=nika,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D99215
2021-02-22 10:51:51 +00:00
Butkovits Atila 7bb1cc6abf Bug 1676659 - disable browser_preview_switch_print_selected.js for frequent failures. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D105413
2021-02-20 15:33:00 +00:00
Kate Hudson 5ed61e3b12 Bug 1692230 - Move nimbus code to its own directory r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D105567
2021-02-20 02:51:12 +00:00
Kirk Steuber 72ce961859 Bug 1690062 - r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D105382
2021-02-20 00:49:02 +00:00
Michael Cooper 1aaf619aea Bug 1693402 - Add telemetry to determine source of unenrollFailed events r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D105541
2021-02-19 21:48:21 +00:00
MuraliAchanti 6c503d3275 Bug 1442053 - Change the following global variables from the C string to the C++ ones:pendingDirectory,crashReporterPath,memoryReportPath,libraryPath and eventsDirectory. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D105222
2021-02-19 20:50:23 +00:00
Dragana Damjanovic 66692fa536 Bug 1693738 - Extend HTTP3_CONNECTION_CLOSE_CODE telemetry and add more detail codes for the internal errors r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D105725
2021-02-19 20:37:24 +00:00
Neil Deakin 2c12c67037 Bug 1676943, add telemetry for how often tab or subframe crash ui is presented to the user. In addition, add telemetry to indicate that the user is shown the unsubmitted crashes notification bar, r=mconley
The telemetry is triggered either when the user is shown the tab crashed page, or when the subframe notification is displayed and the crash occurs in an active tab, or when the user switches to a tab that has a subframe crash notification displayed. The telemetry only applies the first time the tab is switched to. The unsubmitted crashes notification bar appears after 10 minutes or so and is shown in the top-most browser window, if one exists, and telemetry applies once when this occurs.

Differential Revision: https://phabricator.services.mozilla.com/D100349
2021-02-19 19:24:17 +00:00
Emilio Cobos Álvarez 1663bc278f Bug 1693690 - Enable the native theme in toolkit/themes/osx. r=spohl
These tests rely on implementation details of nsNativeThemeCocoa.mm

Differential Revision: https://phabricator.services.mozilla.com/D105808
2021-02-19 18:16:55 +00:00
Brendan Dahl 587acac680 Bug 1693855 - Update pdf.js to version 2.8.117 r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D105804
2021-02-19 18:07:48 +00:00
Calixte Denizet 582df65115 Bug 1667973 - Add a sandbox to evaluate js embedded in PDF r=bdahl,dveditz,robwu
PDF files can embed some js code in order to validate, format, ... the data entered by a user in a PDF form.
So in order to safely execute this js code, we create a Cu.Sandbox with only what we need/want to expose to the scripts.

Differential Revision: https://phabricator.services.mozilla.com/D91746
2021-02-19 16:14:38 +00:00
Ed Lee f348f8d342 Bug 1686343 - Ask user to pin Firefox during windows about:welcome onboarding r=pdahiya
Support pin special action and add a new action property to wait for default browser that changes styles and content.

Differential Revision: https://phabricator.services.mozilla.com/D105653
2021-02-19 10:25:54 +00:00
Butkovits Atila 7c91bb869c Backed out changeset 8c8e776cbd29 (bug 1667973) for causing failures on browser_all_files_referenced.js. CLOSED TREE 2021-02-19 12:24:56 +02:00
Calixte Denizet 28de5d33f4 Bug 1667973 - Add a sandbox to evaluate js embedded in PDF r=bdahl,dveditz,robwu
PDF files can embed some js code in order to validate, format, ... the data entered by a user in a PDF form.
So in order to safely execute this js code, we create a Cu.Sandbox with only what we need/want to expose to the scripts.

Differential Revision: https://phabricator.services.mozilla.com/D91746
2021-02-19 09:24:31 +00:00
Itiel 127183db97 Bug 1693663 - Add dark mode support for about:serviceworkers r=ntim,asuth
Differential Revision: https://phabricator.services.mozilla.com/D105689
2021-02-19 09:08:29 +00:00
Swapnik Katkoori b2263951cf Bug 1679174 - Filter out videos with NaN duration. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D103845
2021-02-19 01:51:25 +00:00
Magnus Melin d1e5dba9f7 Bug 1474397 - followup to really not try to import normandy modules in about:support / Troubleshoot.jsm, if normandy is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D105658
2021-02-19 00:06:19 +00:00
Ping Chen b2fa673570 Bug 902346 - Support socks proxy in TCPSocket. r=mixedpuppy,necko-reviewers
- Use nsIProtocolProxyService to look up proxy
- Pass the found proxy to CreateTransport

Differential Revision: https://phabricator.services.mozilla.com/D104357
2021-02-18 23:47:44 +00:00
Narcis Beleuzu 641e8b352b Backed out 2 changesets (bug 1571419) for bc failure on browser_headless_screenshot.js
Backed out changeset f96850b1cb38 (bug 1571419)
Backed out changeset 0c018b593000 (bug 1571419)
2021-02-19 01:03:13 +02:00
Mike Hommey 5e19605601 Bug 1692939 - Add sorted() as an allowed builtin in python configure. r=firefox-build-system-reviewers,mhentges
It has no side effects and is safe to use in the configure sandbox.

Differential Revision: https://phabricator.services.mozilla.com/D105262
2021-02-18 22:44:39 +00:00
Itiel 05d88b715b Bug 1692301 - Add dark mode support for about:buildconfig r=mconley,glandium
Also make it so it'd match the style of other about: pages.

Differential Revision: https://phabricator.services.mozilla.com/D104877
2021-02-18 22:05:09 +00:00
Itiel 1fc32fef7f Bug 1693642 - Vertically align the radio buttons' text on about:addons details panel r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D105677
2021-02-18 22:01:12 +00:00
Brendan Dahl 183f77768a Bug 1571419 - Make --screenshot fission compatible. r=kmag
Move capturing the window into the parent process to use the new
drawSnapshot API.

Differential Revision: https://phabricator.services.mozilla.com/D104734
2021-02-18 21:51:11 +00:00
Mark Banner d5b805a6e4 Bug 1692623 - When loading a search engine icon, if it is not an image/ content type then ignore it. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105483
2021-02-18 18:38:28 +00:00
Doug Thayer 32df9dca47 Bug 1689258 - Remove expiration for tab spinner probes r=mconley
I don't see us *not* wanting this information for the foreseeable future. They
are not the most actively tracked probes, but any time we change anything with
tab switching I expect them to be relevant.

Differential Revision: https://phabricator.services.mozilla.com/D104838
2021-02-18 18:33:29 +00:00
Dorel Luca 7c23ebad3e Backed out changeset 4a3f1073b7b5 (bug 1693176) for Browser-chrome failures in extensions/test/browser/browser_ext_browserAction_contextMenu.js. CLOSED TREE 2021-02-18 20:43:58 +02:00
Andrei Oprea d4bf0aebf2 Bug 1692227 - Add ExperimentFeature to newnewtab/settings panel r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D104987
2021-02-18 17:05:15 +00:00
Emilio Cobos Álvarez 1ab6cf4876 Bug 1693176 - Destroy frames of contents inside panels. r=Gijs
Panels don't rely so much on the popup manager code to deal with
menuitems etc, so this is trivial and fixes the issue as reported.

I think it's pretty unlikely to have animated stuff in menulists /
menupopups, so this should get us most of the way.

Differential Revision: https://phabricator.services.mozilla.com/D105550
2021-02-18 16:44:12 +00:00
Gijs Kruitbosch 21285db89d Bug 1693406 - fix select dropdown styling in proton when the page customizes it, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D105642
2021-02-18 16:33:20 +00:00
Doug Thayer a794acaa37 Bug 1689257 - Update expiration for startup cache / script preloader probes r=mconley
These I could see us wanting to rip out at some point, so I am just going to
kick the can down the road.

Depends on D104838

Differential Revision: https://phabricator.services.mozilla.com/D104839
2021-02-18 16:32:19 +00:00
Emma Malysz b8fb1100c5 Bug 1669732, add error message for invalid number of copies r=mstriemer,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D103385
2021-02-18 16:23:54 +00:00
William Durand 77c9e5340c Bug 1588801 - Add test coverage for JS files loaded from XPIs. r=mixedpuppy,robwu
JS files in packed webextensions (XPIs) are loaded via `nsJARChannel`,
which checks the content type of a file based on the extension by
calling `nsIMIMEService::GetTypeFromExtension()`.

We might not be able to guarantee the exact set of JS file extensions
because this method also asks the OS but it should still be reliable.
We allow `.js`, `.jsm` and `.mjs` (defined in `defaultMimeEntries` and
`extraMimeEntries`).

Differential Revision: https://phabricator.services.mozilla.com/D104450
2021-02-18 15:35:46 +00:00
Steven Englehardt 2478333276 Bug 1689271 - Extend COOKIE_PURGING_* probes indefinitely; r=timhuang, data-review=tdsmith
Differential Revision: https://phabricator.services.mozilla.com/D105062
2021-02-18 15:05:15 +00:00
Andrei Oprea 613f319b79 Bug 1693437 - Fix Intermittent toolkit/components/messaging-system/test/browser/browser_remotesettingsexperimentloader_init.js r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D105603
2021-02-18 14:13:57 +00:00
Alexis Beingessner 07f2f659c6 Bug 1686616 - make StringBundle use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105531
2021-02-18 13:26:32 +00:00
Alexis Beingessner 3f1a425606 Bug 1686616 - make IO use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105530
2021-02-18 13:26:32 +00:00
Alexis Beingessner ddff243f3c Bug 1686616 - make Directory use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105529
2021-02-18 13:26:32 +00:00
Alexis Beingessner 8fea71cdd5 Bug 1686616 - make PermissionManager use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105528
2021-02-18 13:26:31 +00:00
Alexis Beingessner 07ad6bc655 Bug 1686616 - make UUIDGenerator use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105526
2021-02-18 13:26:30 +00:00
Alexis Beingessner 442e2d6fa1 Bug 1686616 - make History use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105524
2021-02-18 13:26:30 +00:00
Alexis Beingessner bd14ca539e Bug 1686616 - make ThirdPartyUtil use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105523
2021-02-18 13:26:29 +00:00
Alexis Beingessner 92afde7986 Bug 1686616 - register all Services.py services with components.conf. r=kmag,necko-reviewers,valentin
These services had their name added to components.conf:

* GfxInfo
* ThirdPartyUtil
* History
* HttpActivityDistributor
* UUIDGenerator
* ServiceWorkerManager
* PermissionManager

These services were added to componenets.conf under a different name:

* DirectoryService => Directory
* IOService => IO
* StringBundleService => StringBundle
* CacheStorageService => CacheStorage
* StreamTransportService => StreamTransport
* SocketTransportService => SocketTransport

These services weren't migrated to components.conf because only Rust
code uses them:

* RemoteAgent
* XULRuntime
* PrefService

These services weren't migrated to components.conf because they're unused:

* ToolkitChromeRegistry (used as ChromeRegistry)
* XULChromeRegistry (used as ChromeRegistry)
* Bits (completely unused)

These services were already available in components.conf but are still
used by rust code:

* URIFixup

These services weren't migrated because they will be handled in
subsequent patchsets:

* ObserverService

For the record, the following Services are being used by Rust code
and must remain until a Rust version of Components.h is written:

* RemoteAgent
* XULRuntime
* PrefService
* URIFixup
* ObserverService
* DirectoryService
* ThirdPartyUtil

Also the cocoa GfxInfo service was changed to use components.conf instead
of registering it at runtime, as all the other widgets were already doing
it this way.

Differential Revision: https://phabricator.services.mozilla.com/D105521
2021-02-18 13:26:28 +00:00