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

21474 Коммитов

Автор SHA1 Сообщение Дата
Rob Wu 9e70d31e32 Bug 1766881 - Drop object-src requirement from extension CSP r=mixedpuppy
object-src used to be required because it controls plugins, and we did
not want to load unsafe sources as plugins. With NPAPI plugin support
having been dropped a long time ago, this reason no longer exist.
The requirement for "secure" object-src CSP directive meant that
extensions had to specify a boilerplate object-src if they wanted to
modify script-src.

This patch removes the object-src requirement from extension CSP,
which simplifies the usage and learning curve of CSP usage in
extensions.

With this change, extensions can now load "unsafe" (remote) content
via `<embed>` and `<object>` tags. This relaxation does not reduce
the security because this was already possible with `<iframe>` tags.

Differential Revision: https://phabricator.services.mozilla.com/D156747
2022-09-10 23:49:48 +00:00
Hiroyuki Ikezoe 0272cc2c21 Bug 1789962 - Enable overscroll on Windows in nightly. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D156926
2022-09-09 21:57:06 +00:00
Greg Tatum 34d49c8bb3 Bug 1790078 - Enable the text recognition modal pref; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D156974
2022-09-09 18:33:37 +00:00
Tom Ritter 4087cb4f67 Bug 1782544: Add tests for sanitized preferences event telemetry r=KrisWright
Because the number of telemetry events we get back can vary we can't
use the existing Telemetry Test functions, and need to introduce a
new one.  It does duplicate some code, but because the functions differ
in a few ways it's not straightforward or clean to refactor it in a shared
way.

Differential Revision: https://phabricator.services.mozilla.com/D155622
2022-09-09 14:58:55 +00:00
Tom Ritter 46f46fe026 Bug 1782544: Add event telemetry for blocklisted pref access r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D155621
2022-09-09 14:58:54 +00:00
William Durand db8c495fba Bug 1789796 - Enable Manifest V3 on Nightly and early Beta. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D156799
2022-09-09 06:56:38 +00:00
Dão Gottwald f0e33014a0 Bug 1788822 - Simplify color-scheme content override pref to only be [dark, light, auto]. r=emilio,fluent-reviewers,extension-reviewers,robwu,flod
Differential Revision: https://phabricator.services.mozilla.com/D156710
2022-09-08 17:55:07 +00:00
Kershaw Chang cc6c147f88 Bug 1760580 - P1: Make nsIRequest support to store canceled reason, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156070
2022-09-08 09:11:18 +00:00
Emilio Cobos Álvarez a11c622dc7 Bug 1786147 - Remove layout.css.webkit-line-clamp.enabled, and add a new pref to apply line-clamp to all BFCs. r=dholbert
It's always true, so remove it.

Add another pref to allow -webkit-line-clamp to work on all blocks
rather than just legacy -webkit-boxes, which seems something we should
try to look into, eventually.

Depends on D155181

Differential Revision: https://phabricator.services.mozilla.com/D155182
2022-09-07 23:57:18 +00:00
Frederic Wang bf1dfd8446 Bug 1789083 - Remove doMathvariantStyling fallback from MathMLTextRunFactory. r=emilio
In order to perform basic mathvariant transforms (italic, bold, and
bold-italic) on systems that don't provide the proper characters from
the Mathematical Alphanumeric Symbols block, a fallback using font
italic/bold style was implemented in Gecko. Nowadays, several fonts
provide glyphs for these characters and are pre-installed on Desktop:

- Cambria Math (pre-installed on Windows Vista and higher)
- STIX General (pre-installed from OS X Lion to macOS Monterey)
- STIX Two Math (pre-installed on macOS Ventura and higher)
- DejaVu (pre-installed on the most popular Linux distributions)

This commit put the fallback under a preference that is disabled by
default on Desktop. It is still required on Android because the
default fonts are not enough.

Differential Revision: https://phabricator.services.mozilla.com/D156396
2022-09-07 12:24:55 +00:00
Butkovits Atila d45268508b Backed out 4 changesets (bug 1787159) for causing failures at test_ext_webRequest_eventPage_StreamFilter.js. CLOSED TREE
Backed out changeset 333d1c3b1139 (bug 1787159)
Backed out changeset 0f9e3836fef5 (bug 1787159)
Backed out changeset ad0cc19207ce (bug 1787159)
Backed out changeset 3ff8337743bd (bug 1787159)
2022-09-07 16:44:13 +03:00
Paul Adenot ae58c58305 Bug 1787159 - It can be necessary to sniff more data in some cases. r=necko-reviewers,valentin
Sometimes, media needs more than 512 bytes to determine the content type.

Differential Revision: https://phabricator.services.mozilla.com/D155587
2022-09-07 11:24:25 +00:00
Martin Stransky ddf51b273c Bug 1709009 [Linux] Use media decoders for WebRTC r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D149975
2022-09-07 09:54:48 +00:00
nchevobbe ff932142b9 Bug 1788578 - Add preference for enabling SitePermsAddonProvider. r=gsvelto.
This pref will be used to enable the new site permission addon flow that
is being worked on in Bug 1778959.

Differential Revision: https://phabricator.services.mozilla.com/D156158
2022-09-07 04:58:49 +00:00
Marian-Vasile Laza 7ec7dec6f1 Backed out changeset f1e6746037f7 (bug 1785925) for causing reftest failures on DCLayerTree.cpp. CLOSED TREE 2022-09-06 23:35:51 +03:00
Kelsey Gilbert 24a9bc97bb Bug 1785925 - Add LUT and Colorspace support to GLBlitHelper. r=lsalzman,media-playback-reviewers,alwu
This code was originally developed in bug 1771374, but here we omit the
DCLayerTree changes for later.

Differential Revision: https://phabricator.services.mozilla.com/D155027
2022-09-06 18:36:34 +00:00
Jonathan Kew d002b86978 Bug 1779202 - Disable use of CGLayer-backed cairo quartz surfaces to work around scaling bug affecting XObject images in pdf.js output. r=dholbert
This avoids the apparent Core Graphics bug whereby the PDF output it generates will mis-render
when subsequently processed again by Core Graphics (although it renders OK in Adobe products).
Unfortunately, this will regress bug 1772225, so that pdf.js documents will be rasterized when
printed or in Save to PDF output on macOS.

(Setting the pref gfx.cairo_quartz_cg_layer.enabled to true will restore "good" (vector-based)
output, but embedded XObject bitmap images may be mis-scaled.)

Differential Revision: https://phabricator.services.mozilla.com/D156570
2022-09-06 18:25:20 +00:00
Emilio Cobos Álvarez c8f967f6ac Bug 1789248 - Remove @supports selector pref. r=firefox-style-system-reviewers,layout-reviewers,boris
We've shipped it for a while.

Differential Revision: https://phabricator.services.mozilla.com/D156469
2022-09-06 17:03:20 +00:00
Norisz Fay 813f391883 Backed out 4 changesets (bug 1787159) for causing AAC related build bustages CLOSED TREE
Backed out changeset 8bbff0f18e88 (bug 1787159)
Backed out changeset a78016cc2812 (bug 1787159)
Backed out changeset c095a999a3db (bug 1787159)
Backed out changeset 9ae487b3afeb (bug 1787159)
2022-09-06 17:18:34 +03:00
Paul Adenot 17ddff359f Bug 1787159 - It can be necessary to sniff more data in some cases. r=necko-reviewers,valentin
Sometimes, media needs more than 512 bytes to determine the content type.

Differential Revision: https://phabricator.services.mozilla.com/D155587
2022-09-06 13:30:09 +00:00
Sandor Molnar 572b2bd7ba Backed out 4 changesets (bug 1787159) for causing mochitest failures in dom/media/webaudio/test/test_decodeMultichannel.html CLOSED TREE
Backed out changeset bf145275b8a9 (bug 1787159)
Backed out changeset 99c8eac7322c (bug 1787159)
Backed out changeset fe795b47f5ea (bug 1787159)
Backed out changeset 1e7451eb44d9 (bug 1787159)
2022-09-06 15:51:54 +03:00
Paul Adenot e5c42be5a6 Bug 1787159 - It can be necessary to sniff more data in some cases. r=necko-reviewers,valentin
Sometimes, media needs more than 512 bytes to determine the content type.

Differential Revision: https://phabricator.services.mozilla.com/D155587
2022-09-06 11:45:10 +00:00
Frederic Wang e6f0b0f7cb Bug 1583037 - Do not layout MathML as an error message when a layout error occurs. r=emilio
See https://groups.google.com/g/mozilla.dev.platform/c/hMf_Z1JSApQ

Differential Revision: https://phabricator.services.mozilla.com/D46725
2022-09-06 09:51:52 +00:00
Frederic Wang 39dd537031 Bug 1588733 - Make maction/semantics elements behave as an mrow with the first child. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/BWUvjERSXUM

Differential Revision: https://phabricator.services.mozilla.com/D49285
2022-09-06 04:32:15 +00:00
Dimi 18e3e3f923 Bug 1787162 - Treat form with cc-name and cc-exp field as a valid credit card form r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D155580
2022-09-05 09:15:40 +00:00
Olli Pettay a6912c2eb2 Bug 1788125, skip rAF and rAF initiated painting when the relevant window global is suspended, r=emilio
This simple approach seems to match quite well what other browsers do. And tryserver results weren't horrible.
I noticed only one test failing because of the change, and it is using synchronous XHR + timers.
Now it is using rAF + sync XHR.

Differential Revision: https://phabricator.services.mozilla.com/D156238
2022-09-03 13:49:29 +00:00
Csoregi Natalia 39a48ce1b2 Backed out changeset f67b16cac9e0 (bug 1788125) for causing geckoview failures. CLOSED TREE 2022-09-03 14:44:14 +03:00
Olli Pettay a208677627 Bug 1788125, skip rAF and rAF initiated painting when the relevant window global is suspended, r=emilio
This simple approach seems to match quite well what other browsers do. And tryserver results weren't horrible.
I noticed only one test failing because of the change, and it is using synchronous XHR + timers.
Now it is using rAF + sync XHR.

Differential Revision: https://phabricator.services.mozilla.com/D156238
2022-09-03 10:19:00 +00:00
alwu febce2c500 Bug 1785738 - part7 : remove the pref 'media.wmf.media-engine.video-output.enabled'. r=azebrowski
This pref is for testing purpose, as we already finished implementing
both audio and video playback, so we don't need that anymore.

Differential Revision: https://phabricator.services.mozilla.com/D155032
2022-09-03 00:54:00 +00:00
Cristian Tuns 3d56a1da28 Backed out changeset b14b975aa6d7 (bug 1785925) for causing build bustages on GLBlitHelper.cpp CLOSED TREE 2022-09-02 20:12:33 -04:00
Kelsey Gilbert 75cccdd5cb Bug 1785925 - Add LUT and Colorspace support to GLBlitHelper. r=lsalzman,media-playback-reviewers,alwu
This code was originally developed in bug 1771374, but here we omit the
DCLayerTree changes for later.

Differential Revision: https://phabricator.services.mozilla.com/D155027
2022-09-02 22:15:58 +00:00
Luca Greco 30c7a556bf Bug 1788108 - Enable event pages support for manifest_version 2 extensions. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D156171
2022-09-02 19:58:25 +00:00
Emilio Cobos Álvarez e3d2060438 Bug 1740989 - Implement focus fixup rule. r=smaug
This implements the proposal in the linked spec issue, and makes
it nightly-only pending resolution + edits.

Differential Revision: https://phabricator.services.mozilla.com/D155970
2022-09-01 11:28:47 +00:00
Iulian Moraru c4572532eb Backed out changeset d8f983951128 (bug 1740989) for causing mochitest-chrome failures on test_modal_prompts.html. CLOSED TREE 2022-09-01 01:03:29 +03:00
Emilio Cobos Álvarez c5ffe23435 Bug 1740989 - Implement focus fixup rule. r=smaug
This implements the proposal in the linked spec issue, and makes
it nightly-only pending resolution + edits.

Differential Revision: https://phabricator.services.mozilla.com/D155970
2022-08-31 17:10:17 +00:00
Nicolas Silva 403b0c1b58 Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel
It improves rasterization and upload times by a lot in almost all of the test cases I can find. The only drawback is that our invalidation granulatiry is the tile so invalidation gets coarser as we increase the tile size.

512 is a bit special because it is the limit above which a different texture upload path is taken, so there will be more risk of performance side effects if/when we decide to make tiles even larger.

Differential Revision: https://phabricator.services.mozilla.com/D155822
2022-08-31 11:24:31 +00:00
Paul Zuehlcke 71655f76a1 Bug 1785870 - Add a test pref for importing cookie banner handling rules. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D155896
2022-08-31 09:44:27 +00:00
Butkovits Atila 3189560325 Backed out changeset c8b33bd2b4bf (bug 1787706) for causing reftest failures at webkit-text-stroke-property-004.html. CLOSED TREE 2022-08-30 20:59:08 +03:00
David Shin feca6731ff Bug 1785305: Set Resize Observer's last reported size to -1x-1 initially. r=emilio
It used to be 0x0, but changed per the CSSWG resolution:
https://github.com/w3c/csswg-drafts/issues/3664
Sits behind pref `dom.resize_observer.last_reported_size_invalid`.

Differential Revision: https://phabricator.services.mozilla.com/D155710
2022-08-30 17:05:56 +00:00
Sean Feng a2f0103b42 Bug 1750034 - Permanently change the lazy-loading root margin defaults to 600px in all directions r=emilio
Depends on D155879

Differential Revision: https://phabricator.services.mozilla.com/D155880
2022-08-30 16:00:12 +00:00
Nicolas Silva 82bc33be19 Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel
It improves rasterization and upload times by a lot in almost all of the test cases I can find. The only drawback is that our invalidation granulatiry is the tile so invalidation gets coarser as we increase the tile size.

512 is a bit special because it is the limit above which a different texture upload path is taken, so there will be more risk of performance side effects if/when we decide to make tiles even larger.

Differential Revision: https://phabricator.services.mozilla.com/D155822
2022-08-30 14:05:39 +00:00
Marian-Vasile Laza 240089d98f Backed out changeset 7223a50e6cbf (bug 1787706) for causing reftest failures on 1524353.html and marker-path-021.svg. CLOSED TREE 2022-08-30 14:10:56 +03:00
Nicolas Silva 32429a665b Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel
It improves rasterization and upload times by a lot in almost all of the test cases I can find. The only drawback is that our invalidation granulatiry is the tile so invalidation gets coarser as we increase the tile size.

512 is a bit special because it is the limit above which a different texture upload path is taken, so there will be more risk of performance side effects if/when we decide to make tiles even larger.

Differential Revision: https://phabricator.services.mozilla.com/D155822
2022-08-30 09:44:43 +00:00
Sandor Molnar 9230fb65c3 Backed out changeset 2f9e4f4b4131 (bug 1787706) for causing reftest/wpt failures. CLOSED TREE 2022-08-29 20:07:46 +03:00
Nicolas Silva 0a7b583271 Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel
It improves rasterization and upload times by a lot in almost all of the test cases I can find. The only drawback is that our invalidation granulatiry is the tile so invalidation gets coarser as we increase the tile size.

512 is a bit special because it is the limit above which a different texture upload path is taken, so there will be more risk of performance side effects if/when we decide to make tiles even larger.

Differential Revision: https://phabricator.services.mozilla.com/D155822
2022-08-29 15:11:36 +00:00
Henrik Skupin 5677d6f202 Bug 1697047 - Extend asyncshutdown crash timeout for CCOV builds to 3 minutes. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D155811
2022-08-29 13:52:44 +00:00
Dimi 53ab8ee4a9 Bug 1783129 - P1. Use a higher confidence threshold when determining whether a form with only a credit card number field as a valid cc section r=sgalich
In nightly and early beta, we still use 0.5 as the threshold so we can collect more data.
In release, use 0.95 as the threshold

Differential Revision: https://phabricator.services.mozilla.com/D155486
2022-08-29 06:44:32 +00:00
Frederic Wang ecf2b4d3d6 Bug 1784014 - Remove MathML preference mfrac_bevelled_attribute. r=emilio
- remove flag and corresponding warning/counter.
- remove attribute from parsers, but keep the atom since it's
  used by TreeSanitizer.
- remove tests for mfrac@bevelled, there is a WPT test to check it's
  not supported.
- layout/mathml/tests/test_bug975681.html is removed, its tests are
  currently (wrongly) all disabled when the flag is off and equivalent
  tests for attributes other than bevelled exist in WPT.

Differential Revision: https://phabricator.services.mozilla.com/D154199
2022-08-27 07:22:22 +00:00
Eitan Isaacson b3dca0593e Bug 1786584 - Enable CtW in Android Beta/Release. r=Jamie,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D155403
2022-08-26 16:27:01 +00:00
Frederic Wang 065a295a1b Bug 1784009 - Remove MathML preference mfrac_linethickness_names. r=emilio
- Remove preference, warning and counter.
- Remove tests checking support for it, or replacing with
  equivalent 50% and 300% values.

Differential Revision: https://phabricator.services.mozilla.com/D154198
2022-08-26 14:21:47 +00:00
Mark Banner 9ed9c3503d Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for modules. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D155172
2022-08-26 13:39:37 +00:00
Frederic Wang 501296082e Bug 1784003 - Remove MathML preference deprecated_alignment_attributes. r=emilio
- Remove code for align/denumalign/numalign attributes.
- Remove tests checking support for them.
- Remove warning message and counter.
- numalign/denomalign atoms are not removed, since they
  are still used by nsTreeSanitizer.

Differential Revision: https://phabricator.services.mozilla.com/D154197
2022-08-26 12:31:16 +00:00
Frederic Wang 79e3532d7f Bug 1783998 - Remove MathML preference script_shift_attributes. r=emilio
- Remove script_shift_attributes preference and related test, warning
  message and parsing.
- Do not remove subscriptshift/supscripshift atoms, since they are
  still needed for nsTreeSanitizer.

Differential Revision: https://phabricator.services.mozilla.com/D154195
2022-08-25 09:03:58 +00:00
Mathew Hodson 422ff2ebd3 Bug 1782651 - Disable mozCurrentTransform by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153431
2022-08-25 02:47:49 +00:00
Jonathan Kew 9a9e4251de Bug 1786804 - Put the @font-face src tech() function behind a pref, enabled only on Nightly for now. r=emilio
There are a couple of current issues/discussions that may lead to a change in the set of supported keywords, so we may want to hold back a little on actually shipping this.

- In https://github.com/w3c/IFT/pull/113, the WebFonts WG proposes several new incremental-* keywords (and maybe implies dropping the currently-defined incremental?)

- In https://github.com/w3c/csswg-drafts/issues/7633, I just proposed renaming the feature-* keywords to features-* (plural) for better readability; I'd like to see a decision on that before we ship this to release.

Differential Revision: https://phabricator.services.mozilla.com/D155458
2022-08-24 11:27:42 +00:00
Kagami Sascha Rosylight 32a02a7021 Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.

Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-24 10:58:46 +00:00
Jens Stutte 194e14d685 Bug 1777198 - Enable dom.abort_script_on_child_shutdown in nightly. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D151825
2022-08-24 09:37:30 +00:00
Tim Huang f27065f013 Bug 1783045 - Part 4: Add tests for the banner auto clicking. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D155199
2022-08-23 22:11:54 +00:00
Tim Huang ae650f36c0 Bug 1783045 - Part 3: Implementing CookieBanner JSWindowActor to handle the cookie banner. r=pbz
The patch implements a CookieBanner JSWindowActor. The CookieBanner
actor will be created when the DOMContentLoaded event files, and try to
detect the cookie banner and click the button to handle it.

Differential Revision: https://phabricator.services.mozilla.com/D154806
2022-08-23 22:11:53 +00:00
David Parks dbd4628744 Bug 1774453: Disable hiding cursor while typing on Windows r=cpeterson
There are compat issues with the approach.  There are future plans to restore the functionality but only when typing into a text area.

Differential Revision: https://phabricator.services.mozilla.com/D155275
2022-08-23 19:05:18 +00:00
Butkovits Atila 9cc48263b4 Backed out 4 changesets (bug 1783045) for causing xpcshell failures complaining about CookieBanner. CLOSED TREE
Backed out changeset 858bd17dff03 (bug 1783045)
Backed out changeset 73d747392a6c (bug 1783045)
Backed out changeset 07cc853ae0ec (bug 1783045)
Backed out changeset d23dc4db85cc (bug 1783045)
2022-08-23 14:53:24 +03:00
Tim Huang 4c3e242721 Bug 1783045 - Part 4: Add tests for the banner auto clicking. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D155199
2022-08-23 11:02:18 +00:00
Tim Huang 14f1efd0fa Bug 1783045 - Part 3: Implementing CookieBanner JSWindowActor to handle the cookie banner. r=pbz
The patch implements a CookieBanner JSWindowActor. The CookieBanner
actor will be created when the DOMContentLoaded event files, and try to
detect the cookie banner and click the button to handle it.

Differential Revision: https://phabricator.services.mozilla.com/D154806
2022-08-23 11:02:18 +00:00
Luca Greco 9efa813720 Bug 1760608 - Restrict MV2 pageAction/browserAction setPopup to same extension urls on GeckoView. r=mixedpuppy,geckoview-reviewers,owlish
This patch extends restricts setPopup to extension url to MV2 extensions running on GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D154549
2022-08-23 10:35:58 +00:00
Sergey Galich 8c44b387c3 Bug 1786329 - Remove signon.showAutoCompleteOrigins pref r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D155255
2022-08-23 01:02:24 +00:00
Marian-Vasile Laza e32b8c70e9 Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html. CLOSED TREE
Backed out changeset cd284ba05fbb (bug 1784590)
Backed out changeset 2f714355a8c8 (bug 1784590)
2022-08-23 01:26:37 +03:00
Kagami Sascha Rosylight ee9aec5cb9 Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.

Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-22 20:48:33 +00:00
Boris Chiou d19f353924 Bug 1694741 - Part 9: Enable the preference on Nightly. r=emilio
Both Blink and WebKit shipped this feature already, so it should be fine to
enable this on Nightly for testing.

Differential Revision: https://phabricator.services.mozilla.com/D152587
2022-08-22 20:18:41 +00:00
Boris Chiou b0e1f7a8ac Bug 1694741 - Part 1: Support width and height attributes in HTMLSourceElement's webidl. r=emilio
This also introduce a pref which protect these two attributes:
dom.picture_source_dimension_attributes.enabled.

These two dimension attributes will be mapped to the style of <img> elements
if the <source> element's parent is <picture>. This will be implemented
in the later patch. For now, we just implement the DOM interface.

Differential Revision: https://phabricator.services.mozilla.com/D152585
2022-08-22 20:18:37 +00:00
Marian-Vasile Laza b92a6b8396 Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html.
Backed out changeset 36d36e75930f (bug 1784590)
Backed out changeset 35dbbd6dbb70 (bug 1784590)
2022-08-22 22:50:41 +03:00
Kagami Sascha Rosylight bfc04ec1a4 Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.

Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-22 18:48:12 +00:00
Emilio Cobos Álvarez 9df7e6bca8 Bug 1782596 - Propagate preferred color-scheme to non-top frames. r=jwatt
The ColorSchemeMode::Preferred change doesn't make a difference (that
is, always use the preferred one), since when we only propagate from
top's embedder the embedder is chrome, which always has the preferred
color-scheme.

Differential Revision: https://phabricator.services.mozilla.com/D154931
2022-08-22 14:23:09 +00:00
Paul Zuehlcke 4a5b412e66 Bug 1785083 - Extend CookieBannerListService to sync rules from remote settings collection. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D154992
2022-08-19 18:56:16 +00:00
Butkovits Atila 9610bacc35 Backed out changeset 24d6d6816f34 (bug 1746524) as requested by Andrew. CLOSED TREE 2022-08-18 20:00:48 +03:00
Calixte 0a96678803 Bug 1785810 - Enabled PDF in nightly and early beta r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D154980
2022-08-18 14:24:00 +00:00
Andrew Osmond 5a36e3dd85 Bug 1785366 - Blocklist backdrop filter on some Ivy/Sandybridge Intel Windows drivers. r=jrmuizel,emilio
Backdrop filter crashes newer Intel drivers on Windows. This patch adds
support to the blocklist infrastructure for backdrop filter, and hooks
this up with the CSS property table.

Differential Revision: https://phabricator.services.mozilla.com/D154950
2022-08-18 12:29:20 +00:00
Emilio Cobos Álvarez 6d0f2b63a9 Bug 1682444 - Add basic support for nan / infinity in calc(). r=boris
Fix some tests to:

 * Not assume `double` precision.
 * Account for recent working group resolution with regards to NaN: https://github.com/w3c/csswg-drafts/issues/7067#issuecomment-1111211295

Not sure I caught all, but normalizing to 0 was already our existing
behavior. This feature needs more work before it can be enabled more
generally, so make it nightly-only, for now.

Also, it's unclear per spec what the serialization for infinity*1s or so
should be. Right now we serialize to <very-big-number>s, which seems
reasonable, but some tests (but not others!) expect different behavior.

I left those untouched for now.

Differential Revision: https://phabricator.services.mozilla.com/D154883
2022-08-18 08:54:30 +00:00
Emilio Cobos Álvarez 9cb731ca93 Bug 1774589 - Implement atan2(), and enable calc() trigonometric functions by default on nightly. r=boris
We now have test coverage, so let's do this.

The remaining failures are just about infinity/nan, which is a
completely different feature.

Differential Revision: https://phabricator.services.mozilla.com/D154831
2022-08-18 08:49:30 +00:00
Marian-Vasile Laza d774d6ecb3 Backed out changeset 49c7536f01db (bug 1785366) for causing xpcshell failures on test_css-properties-db.js. CLOSED TREE 2022-08-18 07:41:44 +03:00
Andrew Osmond 96648c7055 Bug 1785366 - Blocklist backdrop filter on some Ivy/Sandybridge Intel Windows drivers. r=jrmuizel,emilio
Backdrop filter crashes newer Intel drivers on Windows. This patch adds
support to the blocklist infrastructure for backdrop filter, and hooks
this up with the CSS property table.

Differential Revision: https://phabricator.services.mozilla.com/D154950
2022-08-18 03:21:27 +00:00
Marian-Vasile Laza 77fe747849 Backed out 5 changesets (bug 1682444, bug 1774589) for causing wpt failures on acos-asin-atan-atan2-serialize.html. CLOSED TREE
Backed out changeset 1d850765046a (bug 1774589)
Backed out changeset 08ec785b9923 (bug 1682444)
Backed out changeset bf0c0ff13cc1 (bug 1682444)
Backed out changeset bcf5fcb47b4a (bug 1774589)
Backed out changeset 03b2061c924b (bug 1774589)
2022-08-18 04:28:11 +03:00
Greg Tatum a90d82f617 Bug 1784489 - Pref on text recognition for nightly and early beta; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154532
2022-08-18 00:33:35 +00:00
Boris Chiou ac0a5cdfb4 Bug 1785329 - Enable animation-composition on Nightly. r=hiro
It seems that making animation shorthand supports animation-composition may be
very tricky, so it's unlikely to include animation-composition into the
shorthand for now, per spec issue:
https://github.com/w3c/csswg-drafts/issues/6946.

WebKit also supports the longhand only on STP (Safari Technology Preview), so
it should be fine to enable the longhand property only on Firefox Nightly,
for experiemental testing.

Differential Revision: https://phabricator.services.mozilla.com/D154934
2022-08-17 23:39:55 +00:00
Timothy Nikkel 2aefbf2cde Bug 1758196. Let swipe to navigate on Windows ride the trains. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D154861
2022-08-17 22:42:37 +00:00
Emilio Cobos Álvarez 5e73feeb12 Bug 1682444 - Add basic support for nan / infinity in calc(). r=boris
Fix some tests to:

 * Not assume `double` precision.
 * Account for recent working group resolution with regards to NaN: https://github.com/w3c/csswg-drafts/issues/7067#issuecomment-1111211295

Not sure I caught all, but normalizing to 0 was already our existing
behavior. This feature needs more work before it can be enabled more
generally, so make it nightly-only, for now.

Also, it's unclear per spec what the serialization for infinity*1s or so
should be. Right now we serialize to <very-big-number>s, which seems
reasonable, but some tests (but not others!) expect different behavior.

I left those untouched for now.

Differential Revision: https://phabricator.services.mozilla.com/D154883
2022-08-17 21:12:08 +00:00
Emilio Cobos Álvarez 3372ba4c5d Bug 1774589 - Implement atan2(), and enable calc() trigonometric functions by default on nightly. r=boris
We now have test coverage, so let's do this.

The remaining failures are just about infinity/nan, which is a
completely different feature.

Differential Revision: https://phabricator.services.mozilla.com/D154831
2022-08-17 20:56:38 +00:00
Marian-Vasile Laza aaa3eeea77 Backed out changeset 592feee00d7b (bug 1784489) for causing bc failures on browser_contextmenu.js. CLOSED TREE 2022-08-17 23:32:54 +03:00
Greg Tatum 7955da4416 Bug 1784489 - Pref on text recognition for nightly and early beta; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154532
2022-08-17 13:12:12 +00:00
Jonathan Kew b9285f930f Bug 1740530 - patch 5 - Implement support for COLRv1 glyphs represented as acyclic graphs of paint records. r=gfx-reviewers,lsalzman
Depends on D153870

Differential Revision: https://phabricator.services.mozilla.com/D152041
2022-08-17 10:59:35 +00:00
Razvan Cojocaru 88058d9bfe Bug 1781209 - Swipe navigation does not work when kinetic scroll is disabled. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D154239
2022-08-16 20:54:43 +00:00
Iulian Moraru 084a4c188b Backed out changeset 592feee00d7b (bug 1784489) for causing multiple failures. CLOSED TREE 2022-08-16 21:29:24 +03:00
Iulian Moraru 04e55eb8e5 Backed out 10 changesets (bug 1740530) for causing reftest failures on colrv1.
Backed out changeset 6f6a55195489 (bug 1740530)
Backed out changeset adc2b1544c4c (bug 1740530)
Backed out changeset cf530e9fea50 (bug 1740530)
Backed out changeset 10b6bafbbd9a (bug 1740530)
Backed out changeset 1c9205a0193f (bug 1740530)
Backed out changeset 06f7b45d044a (bug 1740530)
Backed out changeset 02d6294b7a6d (bug 1740530)
Backed out changeset 673f9010ea75 (bug 1740530)
Backed out changeset 429601610f26 (bug 1740530)
Backed out changeset e6523049b675 (bug 1740530)
2022-08-16 21:28:46 +03:00
Andreas Farre 4b493b6a30 Bug 1595491 - Part 1: Make <embed> and <object> behave more like <iframe>. r=smaug,emilio
By making image loading in <embed> and <object> behave more like when
an <iframe> loads an image, we can make sure that the synthetic
document generated is process switched if the image is cross
origin. This is done by making image loading in nsObjectLoadingContent
follow the document loading path.

We also make sure that we pass the image size back to the embedder
element to not get stuck with the intrinsic size.

To avoid named targeting being able to target these synthetic
documents, as well as showing up in `Window.frames` and being counted
in `Window.length`, we keep a filtered list of non-synthetic browsing
contexts for that use-case.

This feature is controlled by two prefs:

* browser.opaqueResponseBlocking.syntheticBrowsingContext

  This triggers the creation of synthetic documents for images loaded
  in <object> or embed.

* browser.opaqueResponseBlocking.syntheticBrowsingContext.filter

  This turns on the filtering of synthetic browsing contexts in named
  targeting, `Window.length` and `Window.frames`.

Differential Revision: https://phabricator.services.mozilla.com/D148117
2022-08-16 16:42:58 +00:00
Greg Tatum 866f5bf48b Bug 1784489 - Pref on text recognition for nightly and early beta; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154532
2022-08-16 15:15:42 +00:00
Jonathan Kew 0ee0c4c341 Bug 1740530 - patch 5 - Implement support for COLRv1 glyphs represented as acyclic graphs of paint records. r=gfx-reviewers,lsalzman
Depends on D153870

Differential Revision: https://phabricator.services.mozilla.com/D152041
2022-08-16 12:48:33 +00:00
Tim Huang bbb1959d03 Bug 1784900 - Enable Service Worker Partitioning. r=anti-tracking-reviewers,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D154689
2022-08-16 12:20:59 +00:00
Paul Zuehlcke 017ccb0be2 Bug 1783019 - Implement cookie banner handling components. r=timhuang,necko-reviewers,valentin
This patch adds the following components:
 - nsICookieBannerService: Main service singleton managing the rules and initiating other components.
   It's exposed via Services.cookieBanners and can be configured via the cookiebanners.* prefs.
   To enable it set "cookiebanners.service.mode" to 1 or 2 and restart the browser.
 - nsCookieInjector: Looks up rules and injects cookies for matching top level loads.
 - nsICookieBannerListService: Imports and updates the cookie banner rules.
 - nsICookieBannerRule: Rules for a given domain.
 - nsICookieRule: Part of nsICookieBannerRule. Holds cookie specific rules.

Depends on D153641

Differential Revision: https://phabricator.services.mozilla.com/D153642
2022-08-16 12:07:13 +00:00
Noemi Erli dd80638572 Backed out 10 changesets (bug 1740530) for causing build bustage in COLRFonts.cpp CLOSED TREE
Backed out changeset afbcf312dbaf (bug 1740530)
Backed out changeset dfcb59684ed2 (bug 1740530)
Backed out changeset cc1a41e1bf44 (bug 1740530)
Backed out changeset 4c3cb20a5203 (bug 1740530)
Backed out changeset 275eb6c4900b (bug 1740530)
Backed out changeset 768df8b3c770 (bug 1740530)
Backed out changeset 4db61d87c172 (bug 1740530)
Backed out changeset a95e62dc9288 (bug 1740530)
Backed out changeset fdc71479fcd9 (bug 1740530)
Backed out changeset 8b26219a4294 (bug 1740530)
2022-08-16 14:31:39 +03:00
Jonathan Kew 85d0caa7ab Bug 1740530 - patch 5 - Implement support for COLRv1 glyphs represented as acyclic graphs of paint records. r=gfx-reviewers,lsalzman
Depends on D153870

Differential Revision: https://phabricator.services.mozilla.com/D152041
2022-08-16 10:39:52 +00:00
Emilio Cobos Álvarez 7a044adc89 Bug 1784943 - Enable bug 1483798 in all channels. r=boris
As per spec
(https://drafts.csswg.org/cssom/#extensions-to-the-window-interface).

This has been 9 months on nightly without regressions reported.

Differential Revision: https://phabricator.services.mozilla.com/D154685
2022-08-16 06:18:26 +00:00
Andrew Osmond 5b2fd01232 Bug 1783309 - Convert OffscreenCanvas domain allowlist pref to DataMutexString. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D153831
2022-08-16 01:00:23 +00:00
Andrew Osmond 8d1323b0e8 Bug 1782722 - Make WebGL override unmasked renderer/vendor pref accesses thread safe. r=gfx-reviewers,lsalzman,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D153469
2022-08-16 01:00:22 +00:00
Andrew Osmond e8f9ed23ec Bug 1783299 - Add support for threadsafe mirrored StaticPref strings. r=KrisWright
Prior to this patch, one would need to manually instantiate a copy of a
string from a preference on the main thread in order to access it in a
threadsafe manner on another thread.

This patch adds support for a `DataMutexString` threadsafe type for
mirror: always type StaticPrefs, and works similarly to the existing
atomic types.

Differential Revision: https://phabricator.services.mozilla.com/D153829
2022-08-16 01:00:21 +00:00
Dan Robertson 00d8c08f59 Bug 1770515 - Let dominant axis locking ride the trains on mac. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D154254
2022-08-15 13:58:39 +00:00
Frederic Wang 3c65c69660 Bug 1783995 - Remove MathML preference deprecated_menclose_notation_radical. r=emilio
- Remove the preference and corresponding tests.
- nsMathMLmencloseFrame continues to implement the radical notation for
  now, since it's still used by nsMathMLmsqrtFrame. Ideally, we should
  refactor our code so that msqrt/mroot share the same implementation.

Differential Revision: https://phabricator.services.mozilla.com/D154194
2022-08-15 08:55:50 +00:00
Valentin Gosu 00ed953e23 Bug 1705676 - Purge HTTP disk cache using backgroundtasks (out-of-process) r=nalexander,necko-reviewers,dragana
Purge HTTP disk cache using backgroundtasks

Motivation:

In the History settings preferences panel you may choose to
`Clear History when Firefox closes` - which sets the
`privacy.sanitize.sanitizeOnShutdown` pref.
If the `Cache` checkbox is also checked it sets the
`privacy.clearOnShutdown.cache` pref to true.

When both of these prefs are true `CacheObserver::ClearCacheOnShutdown()`
will return true, which will cause Firefox to clear the HTTP disk cache
during shutdown. This will block shutdown for howeverlong this takes. If the
user has a slow disk, or the user is on Windows and something is blocking the
deletion of those files, this will trigger a shutdown hang making Firefox
crash. This leads to a bad user experience as trying to start Firefox again
during this time will show the "Firefox is already running message".
Eventually a crash dump is produced. Bug 1356853 and bug 1682899 are caused
by this specific issue.

In order to avoid these crashes and a bad user experience we have
a few options:

1. Completely disable the disk cache when a user checks this box.
  This option will degrade the user's browsing experience.
2. Don't delete the folder at shutdown
  Whether we do this by removing the checkbox or simply not respecting
  the pref value, users who already have this setting would be surprised
  if the cache folder stops being deleted.
3. Use a thread pool to delete the files
  While it's likely to speed up the deletion at least a little bit,
  this would introduce additional complexity while not completely
  fixing the issue. A slow disk will still block shutdown.
4. Delete the cache at shutdown using a separate process
  This is likely the best option. It has the advantage of not blocking
  shutdown while at the same time maintaining similar properties to the
  existing functionality:
  - The cache folder is deleted at shutdown.
  - Has the same behaviour if Firefox gets killed or crashes for different issues.
  - Behaves similarly if the OS is forcefully shutdown during or before we begin to purge.
  - Additionaly, because we rename the folder prior to dispatching the background task, if the purging isn't completed we
    - don't rebuild the cache from an incomplete folder on next restart
    - are able to resume the purging after Firefox startup

A particularly special case is the Windows shutdown.
If the user shuts down windows that will try to close Firefox. If the shutdown
takes too long, the user will see the "Close anyway" button and may click
it thus preventing the cache purge to complete.
When using a background task we have a similar situation, but the button won't
even appear. So after the next Firefox restart we will check if the cache
needs to be purged.

Largely, the new behaviour will be:
- At shutdown we conditionally dispatch a background task to delete the folder
- If creating the process fails (for some reason) we fallback to the old way
  of synchronously deleting the folder.
- The task will then try to delete the folder in the background
- If for some reason it fails, we will dispatch a new background task shortly
  after Firefox restarts to clean up the old folders.

Differential Revision: https://phabricator.services.mozilla.com/D126339
2022-08-15 07:07:45 +00:00
Robert Mader cf107073bf Bug 1784453 - Use correct compiler macro for ARM builds,
`_ARM64_` appears to be a Windows-only thing.

Fixes D154506

Differential Revision: https://phabricator.services.mozilla.com/D154589
2022-08-13 17:17:53 +00:00
Sandor Molnar 8aada8ee04 Backed out 2 changesets (bug 1595491) for causing build bustages in docshell/base/BrowsingContext.cpp CLOSED TREE
Backed out changeset 3687b7153c44 (bug 1595491)
Backed out changeset 91d87de145e3 (bug 1595491)
2022-08-12 19:50:20 +03:00
Yulia Startsev ddbc6378de Bug 1784477 - Remove Dynamic Import option; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D154529
2022-08-12 16:18:44 +00:00
Andreas Farre ec3d91462e Bug 1595491 - Part 1: Make <embed> and <object> behave more like <iframe>. r=smaug,emilio
By making image loading in <embed> and <object> behave more like when
an <iframe> loads an image, we can make sure that the synthetic
document generated is process switched if the image is cross
origin. This is done by making image loading in nsObjectLoadingContent
follow the document loading path.

We also make sure that we pass the image size back to the embedder
element to not get stuck with the intrinsic size.

To avoid named targeting being able to target these synthetic
documents, as well as showing up in `Window.frames` and being counted
in `Window.length`, we keep a filtered list of non-synthetic browsing
contexts for that use-case.

This feature is controlled by two prefs:

* browser.opaqueResponseBlocking.syntheticBrowsingContext

  This triggers the creation of synthetic documents for images loaded
  in <object> or embed.

* browser.opaqueResponseBlocking.syntheticBrowsingContext.filter

  This turns on the filtering of synthetic browsing contexts in named
  targeting, `Window.length` and `Window.frames`.

Differential Revision: https://phabricator.services.mozilla.com/D148117
2022-08-12 15:48:26 +00:00
Robert Mader e990df3d9c Bug 1784453 - Prefer GLES by default on Linux-ARM, r=gfx-reviewers,nical
On most ARM devices the integrated GPUs and their drivers are
usually better optimized for GLES than desktop GL. Thus lets
prefer GLES on ARM builds, potentially reducing bug and improving
performance.

In case of v3d this is also needed to turn on HW-WR by default
as we disable it due to the first default GL context not supporting
GL >= 3.0.

Notes:
 - Unfortunately we can't straightly use `StaticPrefs` in `glxtest`
 - We need to ask for a 2.x context as GLES defaults to 1.x. Asking
   for 2.x should, however, should give us a 3.x/4.x one if supported.

Differential Revision: https://phabricator.services.mozilla.com/D154506
2022-08-12 14:04:35 +00:00
Tom Schuster d37dd913aa Bug 1779184 - Logging. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153361
2022-08-12 10:33:25 +00:00
Emilio Cobos Álvarez ff538cab0e Bug 1784349 - Don't use -moz-bool-pref for flexbox -moz-box emulation. r=dholbert,perftest-reviewers,sparky
Use a bool pref media query which allows dynamic changes to get
reflected instantly.

Differential Revision: https://phabricator.services.mozilla.com/D154449
2022-08-11 23:22:52 +00:00
Calixte 3cf759f201 Bug 1784272 - Enable editing in the PDF viewer r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D154393
2022-08-11 17:29:37 +00:00
Janvi Bajoria 82a08acc5c Bug 1779127 - PIP fullscreen button r=kpatenio,niklas,desktop-theme-reviewers,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152252
2022-08-11 17:08:17 +00:00
Frederic Wang df0d17b174 Bug 1783841 - Remove MathML preferences deprecated_style_attributes and mathsize_names. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D154087
2022-08-11 10:20:41 +00:00
Andrew McCreight 68fb70b8e6 Bug 1746524 - Enable browser.tabs.documentchannel.parent-controlled pref. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D150421
2022-08-10 20:50:57 +00:00
Brad Werth e45f347e15 Bug 1772024 Part 2: Fix clause for Apple Silicon for video specialize pref. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D154290
2022-08-10 20:31:16 +00:00
Emilio Cobos Álvarez e23e2a0212 Bug 1783934 - Add a chrome-only -moz-box-layout: legacy | flex, and use that to implement flexbox emulation. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D154153
2022-08-10 19:46:37 +00:00
Norisz Fay df7a75af14 Backed out changeset 44255b7d9b1c (bug 1746524) for causing xpcshell failures on test_ext_userScripts_register.js CLOSED TREE 2022-08-10 21:06:23 +03:00
Marian-Vasile Laza 8274331cda Backed out changeset 449fe2d946ea (bug 1783934) for causing mochitest failures on test_animation-type-longhand.html. CLOSED TREE 2022-08-10 19:48:38 +03:00
Emilio Cobos Álvarez f4206bdde5 Bug 1783934 - Add a chrome-only -moz-box-layout: legacy | flex, and use that to implement flexbox emulation. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D154153
2022-08-10 15:47:41 +00:00
Emilio Cobos Álvarez 9f8d56e747 Bug 1783940 - Remove -moz-* display values enabled-in-content prefs. r=dholbert
We have unshipped these since forever, no point in keeping the pref
around. Move the relevant tests to chrome ref/mochitests.

Differential Revision: https://phabricator.services.mozilla.com/D154152
2022-08-10 15:43:51 +00:00
Tooru Fujisawa 2260a5120e Bug 1595259 - Part 3: Update fdlibm to 369ea0520a3061c07400d7cd32172efb6af39815. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D154079
2022-08-10 07:00:31 +00:00
Tooru Fujisawa b70dbe55b7 Bug 1595259 - Part 2: Update patches. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D154078
2022-08-10 07:00:31 +00:00
Tooru Fujisawa 925004d845 Bug 1595259 - Part 1: Use python3 in modules/fdlibm/update.sh. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D154077
2022-08-10 07:00:30 +00:00
Sandor Molnar 2fd0743a13 Backed out changeset 28c712b01ff9 (bug 1783940) for causing mochitest plain failures in layout/generic/test/test_dynamic_reflow_root_disallowal.html 2022-08-10 02:26:47 +03:00
Emilio Cobos Álvarez 8efdb3cc26 Bug 1783940 - Remove -moz-* display values enabled-in-content prefs. r=dholbert
We have unshipped these since forever, no point in keeping the pref
around. Move the relevant tests to chrome ref/mochitests.

Differential Revision: https://phabricator.services.mozilla.com/D154152
2022-08-09 21:59:45 +00:00
Sandor Molnar 519b18befe Backed out 3 changesets (bug 1595259) for causing build bustages. CLOSED TREE
Backed out changeset b9f69ae62997 (bug 1595259)
Backed out changeset 313d7588e499 (bug 1595259)
Backed out changeset 3de1cc55fdbb (bug 1595259)
2022-08-09 20:51:28 +03:00
Andrew McCreight 9b40d5974a Bug 1746524 - Enable browser.tabs.documentchannel.parent-controlled pref. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D150421
2022-08-09 17:13:02 +00:00
Tooru Fujisawa b010a15625 Bug 1595259 - Part 3: Update fdlibm to 369ea0520a3061c07400d7cd32172efb6af39815. r=mgaudet
Depends on D154078

Differential Revision: https://phabricator.services.mozilla.com/D154079
2022-08-09 16:09:57 +00:00
Tooru Fujisawa a0ad1d3f81 Bug 1595259 - Part 2: Update patches. r=mgaudet
Depends on D154077

Differential Revision: https://phabricator.services.mozilla.com/D154078
2022-08-09 16:09:56 +00:00
Tooru Fujisawa c4405ed5dc Bug 1595259 - Part 1: Use python3 in modules/fdlibm/update.sh. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D154077
2022-08-09 16:09:56 +00:00
Iulian Moraru e0ce4ec1ed Backed out changeset bcc86b98d4f9 (bug 1783841) for causing reftest mathml related failures. CLOSED TREE 2022-08-09 19:23:24 +03:00
Frederic Wang db39310640 Bug 1783841 - Remove MathML preferences deprecated_style_attributes and mathsize_names. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D154087
2022-08-09 14:12:48 +00:00
Razvan Cojocaru 31923e13de Bug 1753814 - Add an option to configure the maximum amount of pinch zoom that is available. r=dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D153888
2022-08-09 12:47:59 +00:00
Andrew Osmond 24dd519dd4 Bug 1779009 - Ship OffscreenCanvas to release. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D152918
2022-08-08 13:01:53 +00:00
Tom Schuster 34c8b152df Bug 1779184 - Start rewrite of Sanitizer API for elements. r=emilio
There are still a lot of TODOs, but I want to make some incremental progress on this.

Differential Revision: https://phabricator.services.mozilla.com/D152271
2022-08-08 09:23:55 +00:00
Masayuki Nakano c15a8dbac2 Bug 1782852 - part 3: Revert the pref value to enable legacy editor commands in late beta and release r=smaug
This is my silly mistake. I set reverted value to the prefs and the expectation
of WPTs. We need to enable them in late beta and release and disable them in
early beta and nightly.

Differential Revision: https://phabricator.services.mozilla.com/D153885
2022-08-07 00:21:32 +00:00
Shane Caraveo 3978bd8144 Bug 1783078 require web_accessible_resources for any extension loads from a content script r=robwu,ckerschb
Enforce requiring web accessible resources in MV3 and use a pref to turn on later for MV2.

Differential Revision: https://phabricator.services.mozilla.com/D153677
2022-08-05 04:36:30 +00:00
Masayuki Nakano 5b6dc29ff6 Bug 1782852 - part 2: Disable Gecko specific commands which are disabled only in the Nightly channel in early beta too r=smaug
This is a trial to get reports of breakage of web apps in the wild from (early)
beta users. Currently we don't have any bug reports from Nightly users of
disabling `contentReadOnly` and `insertBROnReturn` commands, but according
to the telemetry in the Beta channel, there are some web apps using them
(perhaps, for feature detection or one of finger prints) because we get over
1k pings per day.

`contentReadOnly`:
https://telemetry.mozilla.org/new-pipeline/evo.html#!aggregates=True%2520percentage&cumulative=0&end_date=2022-07-25&include_spill=0&keys=!__none__!__none__&max_channel_version=beta%252F103&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDCONTENTREADONLY_DOCUMENT&min_channel_version=beta%252F100&processType=*&product=Firefox&sanitize=0&sort_keys=submissions&start_date=2022-06-27&trim=0&use_submission_date=0

`insertBROnReturn`:
https://telemetry.mozilla.org/new-pipeline/evo.html#!aggregates=True%2520percentage&cumulative=0&end_date=2022-07-25&include_spill=0&keys=!__none__!__none__&max_channel_version=beta%252F103&measure=USE_COUNTER2_DOCUMENTQUERYCOMMANDSUPPORTEDORENABLEDINSERTBRONRETURN_DOCUMENT&min_channel_version=beta%252F100&processType=*&product=Firefox&sanitize=0&sort_keys=submissions&start_date=2022-06-27&trim=0&use_submission_date=0

If we won't have any regression reports with this, for example, it's used only
for a finger print, perhaps, we could try to roll out to disable these commands.

Differential Revision: https://phabricator.services.mozilla.com/D153721
2022-08-05 02:55:23 +00:00
Masayuki Nakano bea9bf4233 Bug 1782852 - part 1: Get rid of unused editor commands in the wild r=smaug
`increaseFontSize`, `decreaseFontSize`, `gethtml`, `heading` and `readonly`
commands were disabled for a year in all channels, but no regression reports
have been filed.  Therefore, we can delete the commands and the telemetry
probes.

Note that `cmd_getContents` command which is the internal command of `gethtml`
is not used in comm-central too.  Therefore, this patch deletes the command
handler, `nsClipboardGetContentsCommand`, and `Command::GetHTML` too.

Differential Revision: https://phabricator.services.mozilla.com/D153720
2022-08-05 02:55:22 +00:00
Boris Chiou 82bf45d69f Bug 1746528 - Remove aspect-ratio preference. r=emilio
We shipped this in Firefox 89, one year ago. It should be okay to drop
this preference now.

Differential Revision: https://phabricator.services.mozilla.com/D153680
2022-08-04 17:58:03 +00:00
Fabrice Desré c50cb528fc Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 16:39:41 +00:00
Andreea Pavel 3ccd75af8d Backed out changeset b9d2965591b9 (bug 1761040) for landing with wrong author CLOSED TREE DONTBUILD 2022-08-03 18:55:00 +03:00
Andreea Pavel fdb7cb2ecd Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 15:27:43 +00:00
Lee Salzman 6e50eec03b Bug 1773712 - Enable accelerated Canvas2D on macOS nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D148917
2022-08-03 15:16:28 +00:00
Jan-Niklas Jaeschke 536950b708 Bug 1772399: Disable dom.select_events.textcontrols.selectstart. r=edgar
Disabled pref dom.select_events.textcontrols.selectstart also for nightly build.

Differential Revision: https://phabricator.services.mozilla.com/D153561
2022-08-03 14:53:30 +00:00
Bogdan Szekely 9b19959381 Backed out changeset 07e7637819ec (bug 1773712)for causing reftest failures on 1304353-text-global-composite-op-1.html 2022-08-03 10:03:39 +03:00
Kelsey Gilbert 8969436550 Bug 1778144 - Add limit webgl.fake-verts.max=10M. r=gfx-reviewers,lsalzman
Otherwise seemingly lightweight but unusual calls like
drawArrays(offset:1.5billion) will try to allocate a very large gpu
buffer, which sometimes takes a very long time.

This is unusual and we shouldn't encourage it, so let's just add a
limit. 10M is 160MB, which is generally big enough but not too big.

Differential Revision: https://phabricator.services.mozilla.com/D153533
2022-08-03 06:11:14 +00:00
Daisuke Akatsuka afb41c840f Bug 1782557: Get sponsored session timeout pref only when needed. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153421
2022-08-03 01:26:40 +00:00
Geoff Lankow 057be4d33e Bug 1780137 - Make browser.sessionstore.platform_collection false for Thunderbird. r=calu
Differential Revision: https://phabricator.services.mozilla.com/D153441
2022-08-03 00:40:42 +00:00
Marian-Vasile Laza 1748a6af5e Backed out changeset 2430b3a3c59b (bug 1780137) for causing linting failures on firefox.js. CLOSED TREE 2022-08-03 02:37:27 +03:00
Hiroyuki Ikezoe 74df765210 Bug 1776795 - Move the swipe-to-nav icon in response to the swipe gestures on Windows. r=tnikkel,desktop-theme-reviewers,sfoster
Both Chrome and Edge on Windows also move the swipe-to-nav arrow icon, the
distance of move seems to be a fixed value, it doesn't depend on the browser
window size. So we also use a fixed value, 100px here.

Chrome on Mac also moves the icon, but in a slightly different way. The icon is
a semicircle shape, it never leaves the edge of the browser window even if it's
moving during swipe gestures. So we introduce a new preference named
"browser.swipe.navigation-icon-move-distance" to implement platform dependent
swipe-to-nav icon behaviors. As of now the value on platforms other than Windows
is zero so that the icon never moves on the platforms.

Depends on D152951

Differential Revision: https://phabricator.services.mozilla.com/D150433
2022-08-02 23:08:46 +00:00
Geoff Lankow 2da11a22fe Bug 1780137 - Make browser.sessionstore.platform_collection false for Thunderbird. r=calu
Differential Revision: https://phabricator.services.mozilla.com/D153441
2022-08-02 23:01:22 +00:00
Andrew Osmond f39bf41b7f Bug 1782731 - Make gfx.font_rendering.fontconfig.max_generic_substitutions threadsafe. r=jfkthame
This pref could be accessed off the main thread with workers. Convert it
to a threadsafe StaticPref.

Differential Revision: https://phabricator.services.mozilla.com/D153470
2022-08-02 20:58:41 +00:00
Lee Salzman b8c6b1034f Bug 1773712 - Enable accelerated Canvas2D on macOS nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D148917
2022-08-02 19:26:49 +00:00
criss 0d7af74214 Backed out changeset 32689459fc62 (bug 1782731) for causing reftest failures. CLOSED TREE 2022-08-02 21:34:06 +03:00
Andrew Osmond 94fc207dd3 Bug 1782731 - Make gfx.font_rendering.fontconfig.max_generic_substitutions threadsafe. r=jfkthame
This pref could be accessed off the main thread with workers. Convert it
to a threadsafe StaticPref.

Differential Revision: https://phabricator.services.mozilla.com/D153470
2022-08-02 15:07:34 +00:00
Jens Stutte 3ca1fb43c7 Bug 1777198 - Cancel content JS execution on quit-application-granted or on normal content process shutdown. r=smaug
We want to signal content processes to cancel content JS unconditionally on shutdown.
In the case of parent shutdown this has to happen as early as "quit-application-granted", given that both extensions and session storage shutdown rely on the possibility to interact with content processes (which is not possible when they are inside long running JS).
In addition in the case of a normal child shutdown we cancel content JS execution, too.
For now we put this behind the pref "dom.abort_script_on_child_shutdown" which remains default off.

Depends on D150539

Differential Revision: https://phabricator.services.mozilla.com/D150598
2022-08-02 14:02:40 +00:00
Jan de Mooij 420304b600 Bug 1774178 - Add a pref to disable Spectre mitigations for Fission content processes. r=nika,tjr,iain
These flags are usually initialized very early on, but because child processes are
pre-allocated and then later specialized for a specific process type, we need to
reset them later. This patch adds a new API for this that has some extra assertions.

Differential Revision: https://phabricator.services.mozilla.com/D152373
2022-08-02 13:23:58 +00:00
Sandor Molnar 646227cd7d Backed out 2 changesets (bug 1777198) for causing build bustage in dom/ipc/ProcessHangMonitor.cpp CLOSED TREE
Backed out changeset 472fe2d7af01 (bug 1777198)
Backed out changeset 0b9cb5b44360 (bug 1777198)
2022-08-02 14:08:45 +03:00
Jon Coppeard 0ebad143ef Bug 1770768 - Part 3: Add browser prefs for the new GC parameters r=mccr8,sfink
Differential Revision: https://phabricator.services.mozilla.com/D152864
2022-08-02 10:05:05 +00:00
Jens Stutte f9302b34cc Bug 1777198 - Cancel content JS execution on quit-application-granted or on normal content process shutdown. r=smaug
We want to signal content processes to cancel content JS unconditionally on shutdown.
In the case of parent shutdown this has to happen as early as "quit-application-granted", given that both extensions and session storage shutdown rely on the possibility to interact with content processes (which is not possible when they are inside long running JS).
In addition in the case of a normal child shutdown we cancel content JS execution, too.
For now we put this behind the pref "dom.abort_script_on_child_shutdown" which remains default off.

Depends on D150539

Differential Revision: https://phabricator.services.mozilla.com/D150598
2022-08-02 09:08:23 +00:00
Norisz Fay 17e1015627 Backed out 2 changesets (bug 1776795) for causing bc failures on browser_test_swipe_gesture.js CLOSED TREE
Backed out changeset 7bed4509ae7c (bug 1776795)
Backed out changeset 344336b54939 (bug 1776795)
2022-08-02 10:48:53 +03:00
Hiroyuki Ikezoe 0cc2a4681a Bug 1776795 - Move the swipe-to-nav icon in response to the swipe gestures on Windows. r=tnikkel,desktop-theme-reviewers,sfoster
Both Chrome and Edge on Windows also move the swipe-to-nav arrow icon, the
distance of move seems to be a fixed value, it doesn't depend on the browser
window size. So we also use a fixed value, 100px here.

Chrome on Mac also moves the icon, but in a slightly different way. The icon is
a semicircle shape, it never leaves the edge of the browser window even if it's
moving during swipe gestures. So we introduce a new preference named
"browser.swipe.navigation-icon-move-distance" to implement platform dependent
swipe-to-nav icon behaviors. As of now the value on platforms other than Windows
is zero so that the icon never moves on the platforms.

Differential Revision: https://phabricator.services.mozilla.com/D150433
2022-08-02 06:49:55 +00:00
Andreea Pavel 89d63c91e6 Backed out changeset a907159a482f (bug 1761040) for causing build bustages on a CLOSED TREE 2022-08-02 04:59:08 +03:00
Fabrice Desré 0f4ac7ad97 Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-02 00:49:41 +00:00
Iulian Moraru 27d760c7c2 Backed out 9 changesets (bug 1771374) for causing mochitest-webgl failures. CLOSED TREE
Backed out changeset ded977dd1896 (bug 1771374)
Backed out changeset adeb8b7d48f9 (bug 1771374)
Backed out changeset 7767340872c5 (bug 1771374)
Backed out changeset 33282b4ffaae (bug 1771374)
Backed out changeset 75db498cd0e7 (bug 1771374)
Backed out changeset 70035903ea37 (bug 1771374)
Backed out changeset 7c7de0fb66e1 (bug 1771374)
Backed out changeset 615df05e016f (bug 1771374)
Backed out changeset ac3411d21928 (bug 1771374)
2022-08-02 03:38:09 +03:00
Kelsey Gilbert fa6e66aedd Bug 1771374 - Support display-p3 output via DirectComposition on Windows. r=sotaro,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D150275
2022-08-01 19:49:26 +00:00
Tom Schuster 4b8ffda4e2 Bug 1529338 - Implement CSP 'style-src-elem' and 'style-src-attr' directives. r=freddyb,emilio,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D151926
2022-08-01 12:32:59 +00:00
Tom Schuster 0610723e31 Bug 1529337 - Implement CSP 'script-src-elem' and 'script-src-attr' directives. r=freddyb,webidl,smaug,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D150965
2022-08-01 12:32:58 +00:00
Benjamin VanderSloot c737ca4ccc Bug 1781818 - Allow unpartitioning of SessionStorage, r=timhuang
This is controlled by a preference so we can disable it for experimentation later.

Differential Revision: https://phabricator.services.mozilla.com/D152893
2022-07-29 13:44:28 +00:00
Sean Feng 288cbe9f46 Bug 1778492 - Add an origin trial for coep: credentialless r=emilio,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D151381
2022-07-27 20:33:19 +00:00
Tom Ritter 29842b82d7 Bug 1780403: Allowlist a few browser preferences r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D152811
2022-07-27 14:02:45 +00:00
Yury Delendik 4fab1299a3 Bug 1762409 - Remove wormhole instructions. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D152118
2022-07-26 22:39:37 +00:00
Kershaw Chang fb786a3c1b Bug 1778460 - Disable mode 2.5 on Nightly, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D151236
2022-07-26 16:03:18 +00:00
Marian-Vasile Laza 2ab97e789a Backed out 2 changesets (bug 1778492) for causing eslint failures.
Backed out changeset 6c3ac3569d31 (bug 1778492)
Backed out changeset 34227495753a (bug 1778492)
2022-07-26 17:43:53 +03:00
Emilio Cobos Álvarez ec58d0cfd5 Bug 1781127 - Enable linear() timing function on Nightly. r=dshin
This allows other developers and folks to test it more easily, while not
shipping it to the web just yet.

Differential Revision: https://phabricator.services.mozilla.com/D152684
2022-07-26 14:07:38 +00:00
Sean Feng 38f70ee5fc Bug 1778492 - Add an origin trial for coep: credentialless r=emilio,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D151381
2022-07-26 14:06:04 +00:00
Razvan Cojocaru fd92081aec Bug 1779812 - We are entering the pinch lock too easily. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D151972
2022-07-26 03:24:41 +00:00
Brad Werth cb169a543e Bug 1772024: Turn pref on for Apple Silicon on all channels, update pref comment. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D150795
2022-07-26 01:41:49 +00:00
Andrew Osmond a1992cd1a7 Bug 1779835 - Ship OffscreenCanvas to early beta and earlier. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D151954
2022-07-26 01:19:55 +00:00
sotaro d9703c55fe Bug 1780815 - Disable yuv video overlay on Windows r=jrmuizel,gfx-reviewers
Video scaling to RGB with VideoProcessor seems to have better quality than Video scaling to YUV with VideoProcessor.

It seems better to disable yuv video overlay on Windows for now.

Differential Revision: https://phabricator.services.mozilla.com/D152534
2022-07-25 22:38:38 +00:00
Dan Robertson b3308af056 Bug 1773378 - Add basic axis lock mode compatibility test. r=botond
Add a basic test to ensure the delta for the pan start gesture is evaluated for
all axis locking modes.

Differential Revision: https://phabricator.services.mozilla.com/D152482
2022-07-25 18:23:04 +00:00
Dan Robertson 8e5b76b18b Bug 1773378 - Implement stateless dominant axis scrolling. r=botond,mstange
Implement the new dominant axis locking mode for the apz.axis_lock.mode
preference. When using this mode, we do not use the traditional axis locks.
Instead we only consider the input pan displacement for the axis with
a larger value, zeroing out the displacement on the opposite axis.

Differential Revision: https://phabricator.services.mozilla.com/D152104
2022-07-25 18:23:04 +00:00
Tom Ritter dd80800569 Bug 1780403: Allowlist capability.policy.policynames r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D152517
2022-07-22 13:44:25 +00:00
Butkovits Atila ef9a3e7051 Merge mozilla-central to autoland. CLOSED TREE 2022-07-22 00:52:02 +03:00
Andreea Pavel 15b656909e Merge autoland to mozilla-central a=merge 2022-07-22 00:20:52 +03:00
Tom Ritter 03b648383b Bug 1780403: Allowlist the undocumented pdfjs.defaultZoomValue pref r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D152294
2022-07-21 17:27:25 +00:00
Tom Ritter 8aa82247c1 Bug 1780403: Allowlist some more preferences to avoid crashes r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D152418
2022-07-21 15:06:14 +00:00
Tom Ritter 19f3d0a2cd Bug 1780403: Allowlist the entire gfx.blacklist pref tree r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D152377
2022-07-21 14:51:56 +00:00
Tom Ritter b2bec281cd Bug 1780403: Allowlist browser.uitour.testingOrigins r=agibson
Differential Revision: https://phabricator.services.mozilla.com/D152376
2022-07-21 14:51:56 +00:00
Tom Ritter 2e035edc7d Bug 1780403: Disable pref sanitization in Nightly temporarily r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D152378
2022-07-21 14:51:13 +00:00
Tom Ritter 0182a404d2 Bug 1780403: Allowlist the ui. pref branch r=emilio
There's a large list of dynamic preferences in the ui. tree
but none of them should contain personally identifiable data.

Differential Revision: https://phabricator.services.mozilla.com/D152340
2022-07-21 11:30:42 +00:00
Tom Schuster 8389ad4530 Bug 1750972 - Enable same-site schemeful by default. r=freddyb
Depends on D150600

Differential Revision: https://phabricator.services.mozilla.com/D150602
2022-07-21 07:48:08 +00:00
Tom Ritter 45e1a36e15 Bug 1780403: Remove browser.region.update.updated from the blocklist r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D152339
2022-07-21 02:31:04 +00:00
Emilio Cobos Álvarez 92c9ff22dc Bug 1780385 - Remove canvas hit region api. r=jrmuizel
Add a pref for MouseEvent.region since that wasn't un-exposed. No other
browser supports it so we can probably safely remove it, but just in
case.

Differential Revision: https://phabricator.services.mozilla.com/D152274
2022-07-20 16:52:47 +00:00
Tom Ritter 2d51d162ba Bug 1780403: Allowlist media.decoder-doctor. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D152279
2022-07-20 14:23:58 +00:00
Emilio Cobos Álvarez f2dbdbfde7 Bug 1776592 - Make auto outline draw two differently-colored strokes instead of one. r=mstange
Behind a pref, just in case.

Differential Revision: https://phabricator.services.mozilla.com/D150466
2022-07-20 11:43:35 +00:00
William Durand 5a2ee397e7 Bug 1777481 - Introduce a new extension button on the toolbar. r=rpl,mstriemer,fluent-reviewers,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D151497
2022-07-20 11:08:40 +00:00
criss dcedbd6b45 Backed out changeset 6aefdcf0d53b (bug 1773378) for causing mochitest failures on browser_test_background_tab_scroll.js. CLOSED TREE 2022-07-20 07:36:07 +03:00
Dan Robertson 9950071606 Bug 1773378 - Implement stateless dominant axis scrolling. r=botond,mstange
Implement the new dominant axis locking mode for the apz.axis_lock.mode
preference. When using this mode, we do not use the traditional axis locks.
Instead we only consider the input pan displacement for the axis with
a larger value, zeroing out the displacement on the opposite axis.

Differential Revision: https://phabricator.services.mozilla.com/D152104
2022-07-20 00:51:27 +00:00
criss b51dc963d5 Backed out changeset 99d1caaa88e2 (bug 1776592) for causing reftest failures on outline-auto-002.html. CLOSED TREE 2022-07-20 02:08:55 +03:00
Emilio Cobos Álvarez 63f146831e Bug 1776592 - Make auto outline draw two differently-colored strokes instead of one. r=mstange
Behind a pref, just in case.

Differential Revision: https://phabricator.services.mozilla.com/D150466
2022-07-19 21:53:45 +00:00
Tim Huang 1427bdd614 Bug 1773701 - Part 3: Add email tracking telemetry probes. r=dimi
This patch adds two telemetry probes.
1. The counter of classified third-party email trackers in different
   categories.
2. The counter of whether the email tracker is loaded under a email
   webapp.
We use a list of known email webapp domains to check if the top-level
content is an email webapp.

Differential Revision: https://phabricator.services.mozilla.com/D151523
2022-07-19 20:04:25 +00:00
Tim Huang 60b6f25dfe Bug 1773701 - Part 2: Implement the email tracking data collection feature. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151522
2022-07-19 20:04:24 +00:00
Tim Huang edd54f5806 Bug 1773701 - Part 1: Add email tracking data collection feature to SafeBrowsing.jsm. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151521
2022-07-19 20:04:24 +00:00
Tom Ritter fb72d5e03c Bug 1772345: Allowlist a few more dynamic preferences r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D152111
2022-07-19 18:58:29 +00:00
Tom Ritter cf56260f19 Bug 1772345: Enable preference sanitization and crashing by default in Nightly r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D148127
2022-07-19 18:58:28 +00:00
Cristian Tuns 5edf070c1a Backed out 2 changesets (bug 1772345) for causing mochitest failures on test_font_whitelist.html CLOSED TREE
Backed out changeset bb7898587a0f (bug 1772345)
Backed out changeset e41e26ded66e (bug 1772345)
2022-07-19 13:28:28 -04:00
Butkovits Atila 9f6e3b1ee1 Backed out 2 changesets (bug 1777481, bug 1778722) for causing failures at browser_unified_extensions.js. CLOSED TREE
Backed out changeset 43863430aaa7 (bug 1778722)
Backed out changeset c4a72d22cd4f (bug 1777481)
2022-07-19 19:02:53 +03:00
Cosmin Sabou 3835f734ac Backed out 4 changesets (bug 1773701) for causing hybrid build bustages. CLOSED TREE
Backed out changeset 8ec2108b4a5b (bug 1773701)
Backed out changeset 2d2f3f95544d (bug 1773701)
Backed out changeset 8d3727e19ade (bug 1773701)
Backed out changeset fab41f0c857f (bug 1773701)
2022-07-19 18:45:05 +03:00
William Durand e0a2e35190 Bug 1777481 - Introduce a new extension button on the toolbar. r=rpl,mstriemer,fluent-reviewers,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D151497
2022-07-19 15:10:00 +00:00
Tim Huang c3aa62859f Bug 1773701 - Part 3: Add email tracking telemetry probes. r=dimi
This patch adds two telemetry probes.
1. The counter of classified third-party email trackers in different
   categories.
2. The counter of whether the email tracker is loaded under a email
   webapp.
We use a list of known email webapp domains to check if the top-level
content is an email webapp.

Differential Revision: https://phabricator.services.mozilla.com/D151523
2022-07-19 14:46:08 +00:00
Tim Huang 0850157f2d Bug 1773701 - Part 2: Implement the email tracking data collection feature. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151522
2022-07-19 14:46:08 +00:00
Tim Huang 95975ea401 Bug 1773701 - Part 1: Add email tracking data collection feature to SafeBrowsing.jsm. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151521
2022-07-19 14:46:07 +00:00
Tom Ritter 7c19d07139 Bug 1772345: Allowlist a few more dynamic preferences r=freddyb
Depends on D148127

Differential Revision: https://phabricator.services.mozilla.com/D152111
2022-07-19 13:28:04 +00:00
Tom Ritter 07c9ed6a90 Bug 1772345: Enable preference sanitization and crashing by default in Nightly r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D148127
2022-07-19 13:28:03 +00:00
Calixte b325722266 Bug 1779389 - Enable editing in the PDF viewer on EARLY_BETA_OR_EARLIER r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D152157
2022-07-19 10:03:52 +00:00
Emilio Cobos Álvarez 3b6039fcf1 Bug 1780075 - Remove outline-style: auto pref. r=layout-reviewers,dholbert
All platforms support it, so just assert instead.

Differential Revision: https://phabricator.services.mozilla.com/D152109
2022-07-19 09:25:11 +00:00
Tim Huang bf66ae0486 Bug 1773695 - Part 1: Add prefs for email tracking protection. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151048
2022-07-18 21:48:15 +00:00
Tim Huang b08bc24b83 Bug 1773691 - Add email tracking prtoection and annotation to the safebrowsing module. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151047
2022-07-18 21:48:14 +00:00
Stephen A Pohl a945096f93 Bug 1773752: Remove more workarounds for old macOS SDKs. r=mstange,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D151532
2022-07-18 17:08:59 +00:00
Jonathan Watt 20f83ae7db Bug 1749598 p2 - Stop synchronizing the print_printer preference to content processes. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D150099
2022-07-18 14:34:27 +00:00
smolnar aad7ba8a33 Backed out 2 changesets (bug 1777198) for causing leakcheck failures. CLOSED TREE
Backed out changeset 1bf944a0828d (bug 1777198)
Backed out changeset 05afbf32acea (bug 1777198)
2022-07-18 15:54:46 +03:00
Jens Stutte 416238d1b5 Bug 1777198 - Cancel content JS execution on quit-application-granted or on normal content process shutdown. r=smaug
We want to signal content processes to cancel content JS unconditionally on shutdown.
In the case of parent shutdown this has to happen as early as "quit-application-granted", given that both extensions and session storage shutdown rely on the possibility to interact with content processes (which is not possible when they are inside long running JS).
In addition in the case of a normal child shutdown we cancel content JS execution, too.
For now we put this behind the pref "dom.abort_script_on_child_shutdown" which remains default off.

Depends on D150539

Differential Revision: https://phabricator.services.mozilla.com/D150598
2022-07-18 10:56:41 +00:00
Cathy Lu df9bafbf73 Bug 1734394 - Make Geckoview use the session store collector r=geckoview-reviewers,agi,farre,peterv
When the session storage prefs are enabled, GeckoSession updateSessionState will provide the bundle of information, including zoom, scroll, and form data, to the delegate. Currently works for Fission and on Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D148215
2022-07-15 20:44:55 +00:00
James Teow b09009da4c Bug 1679556 - Toggle browser.fixup.alternate.enabled and add telemetry, r=mak
The suggested solution for this bug is to disable browser.fixup.alternate.enabled
unless toggled by the user, and to add telemetry to the preference so that if we
find users rarely use the option, we can safely remove the feature in a future release.

Many tests rely on expecting URI's to be modified, so I modified them so that they
should not expect the prefix or suffix to be modified.

Differential Revision: https://phabricator.services.mozilla.com/D147795
2022-07-15 19:08:56 +00:00
Iulian Moraru 26f8a8400a Backed out 6 changesets (bug 1773691, bug 1773695) for causing condprof xpcshell failures on test_ext_webRequest_urlclassification.js. CLOSED TREE
Backed out changeset f1d59396c406 (bug 1773695)
Backed out changeset db926abd402c (bug 1773695)
Backed out changeset 1c2556d56a53 (bug 1773695)
Backed out changeset cd29b0766f86 (bug 1773695)
Backed out changeset 6c7bd0531bc6 (bug 1773695)
Backed out changeset 0b4036e39469 (bug 1773691)
2022-07-15 18:53:49 +03:00
Tim Huang fb52aa79c4 Bug 1773695 - Part 1: Add prefs for email tracking protection. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151048
2022-07-15 14:30:20 +00:00
Tim Huang bbc73340ad Bug 1773691 - Add email tracking prtoection and annotation to the safebrowsing module. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151047
2022-07-15 14:30:19 +00:00
Thomas Wisniewski 6d5c77421c Bug 1758740 - Create a preference for always partitioning third party non-cookie web storage, privacy.partition.always_partition_third_party_non_cookie_storage; r=bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D143626
2022-07-15 13:26:16 +00:00
Kagami Sascha Rosylight 931e4cc2ae Bug 1779000 - Part 2: Replace use of AtomicBoolPrefChangedCallback with StaticPrefs r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151504
2022-07-15 04:25:22 +00:00
criss 512ac8c6d0 Backed out 3 changesets (bug 1779000) for causing build bustages on ActorsParentCommon.cpp. CLOSED TREE
Backed out changeset f33bbb0568fa (bug 1779000)
Backed out changeset 31ba65d120ff (bug 1779000)
Backed out changeset f3a44c2ade2c (bug 1779000)
2022-07-15 06:52:44 +03:00
Kagami Sascha Rosylight d556fc498d Bug 1779000 - Part 2: Replace use of AtomicBoolPrefChangedCallback with StaticPrefs r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151504
2022-07-15 03:22:31 +00:00
Kagami Sascha Rosylight cdb7d00f1e Bug 1354500 - Part 2: Remove IDBDatabase#storage r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D151417
2022-07-15 01:55:26 +00:00
Cristian Tuns 2f5fe88da3 Backed out 19 changesets (bug 1758745, bug 1758740, bug 1762462, bug 1779603) for causing mochitest failures on browser_partitionedConsoleMessage.js CLOSED TREE
Backed out changeset e3c8cd6f00b6 (bug 1779603)
Backed out changeset 4e46a6f209b4 (bug 1762462)
Backed out changeset 00c0c6314640 (bug 1762462)
Backed out changeset 8f11221f859f (bug 1762462)
Backed out changeset ffbf90e3bbab (bug 1762462)
Backed out changeset 0c760428dfec (bug 1762462)
Backed out changeset 7c99293cc8f9 (bug 1762462)
Backed out changeset 92bd237a95e1 (bug 1762462)
Backed out changeset 74539a3cc7fc (bug 1762462)
Backed out changeset acf08a10c6fb (bug 1762462)
Backed out changeset 0cf191a7739f (bug 1762462)
Backed out changeset 030c276d6669 (bug 1762462)
Backed out changeset a88a099c684d (bug 1762462)
Backed out changeset cbd69786a24b (bug 1762462)
Backed out changeset e5e0655206a8 (bug 1762462)
Backed out changeset 707f9dfed501 (bug 1762462)
Backed out changeset 619e4bb01a81 (bug 1762462)
Backed out changeset 02b7641683b0 (bug 1758745)
Backed out changeset a2f110442038 (bug 1758740)
2022-07-14 17:26:17 -04:00
criss b77dc7a479 Backed out 6 changesets (bug 1773691, bug 1773695) for causing Bp-hybrid bustages on UrlClassifierFeatureEmailTrackingProtection
Backed out changeset f402f1bd4caa (bug 1773695)
Backed out changeset 001c38822c53 (bug 1773695)
Backed out changeset 8ef4d3597d92 (bug 1773695)
Backed out changeset f4770b2fe53d (bug 1773695)
Backed out changeset fb625ae08f73 (bug 1773695)
Backed out changeset 6c23adf9184f (bug 1773691)
2022-07-14 23:41:50 +03:00
Tim Huang 382ab848d1 Bug 1773695 - Part 1: Add prefs for email tracking protection. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151048
2022-07-14 19:39:31 +00:00
Tim Huang 34f2abc5d9 Bug 1773691 - Add email tracking prtoection and annotation to the safebrowsing module. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D151047
2022-07-14 19:39:31 +00:00
Thomas Wisniewski 6b2b919b87 Bug 1758740 - Create a preference for always partitioning third party non-cookie web storage, privacy.partition.always_partition_third_party_non_cookie_storage; r=bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D143626
2022-07-14 19:26:25 +00:00
Botond Ballo 5a6eae75b5 Bug 1771822 - Remove the layers.low-precision-{buffer,resolution} prefs. r=tnikkel
These are no longer used.

Depends on D151796

Differential Revision: https://phabricator.services.mozilla.com/D151797
2022-07-14 18:39:33 +00:00
Botond Ballo 10724a7eb3 Bug 1771822 - Remove the apz.minimap.enabled pref. r=tnikkel
It's currently unused.

Depends on D151795

Differential Revision: https://phabricator.services.mozilla.com/D151796
2022-07-14 18:39:33 +00:00
Emilio Cobos Álvarez 64e4056cb8 Bug 1779457 - Make prefers-color-scheme of SVG images match embedder on content too. r=aosmond
As per discussion in https://github.com/w3c/csswg-drafts/issues/7213.

Differential Revision: https://phabricator.services.mozilla.com/D151751
2022-07-14 10:04:38 +00:00
Norisz Fay 388468729f Backed out 18 changesets (bug 1762462, bug 1758745, bug 1758740) for causing mochitest failures on test_storage_copied.html
Backed out changeset a27ae15872a9 (bug 1762462)
Backed out changeset b7d979a36324 (bug 1762462)
Backed out changeset 6249efe40513 (bug 1762462)
Backed out changeset 1e81ed3014a0 (bug 1762462)
Backed out changeset 92cec5f5db1c (bug 1762462)
Backed out changeset fa3c45b4de5c (bug 1762462)
Backed out changeset 64df67f43ad7 (bug 1762462)
Backed out changeset d66dd76ec2b6 (bug 1762462)
Backed out changeset 4f8aaba02a03 (bug 1762462)
Backed out changeset 81eb7d60dea9 (bug 1762462)
Backed out changeset 01504f5f818a (bug 1762462)
Backed out changeset 2615b571c9ba (bug 1762462)
Backed out changeset 73ed8be3f117 (bug 1762462)
Backed out changeset edb94ba8ec59 (bug 1762462)
Backed out changeset 21dd6fdc672e (bug 1762462)
Backed out changeset 31a70f9ad879 (bug 1762462)
Backed out changeset 5261ee5a2368 (bug 1758745)
Backed out changeset ad6ffd85ef3c (bug 1758740)
2022-07-14 03:16:08 +03:00
Thomas Wisniewski 56cd61bb00 Bug 1758740 - Create a preference for always partitioning third party non-cookie web storage, privacy.partition.always_partition_third_party_non_cookie_storage; r=bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D143626
2022-07-13 22:44:57 +00:00
Narcis Beleuzu dce2ae28ba Merge Mozilla-Central to autoland on a CLOSED TREE 2022-07-14 00:55:03 +03:00
Narcis Beleuzu a9e7761934 Backed out 4 changesets (bug 1771374) for causing Google docs and maps rendering regressions. a=backout
Backed out changeset 9c65411d1843 (bug 1771374)
Backed out changeset 9f5cf953fcc8 (bug 1771374)
Backed out changeset 8b39f60971e4 (bug 1771374)
Backed out changeset ef52a6c462b6 (bug 1771374)
2022-07-14 00:43:56 +03:00
Dan Minor c48e5ac0e0 Bug 1775026 - Ship Array.{findLast,findLastIndex}; r=yulia
This removes the pref and options for findLast and findLastIndex so that
they are shipped by default.

Differential Revision: https://phabricator.services.mozilla.com/D150633
2022-07-13 16:39:30 +00:00
Cosmin Sabou 85307ea6b9 Backed out 3 changesets (bug 1750972) for potential site breakage.
Backed out changeset 90d51383665c (bug 1750972)
Backed out changeset 3b7d15317952 (bug 1750972)
Backed out changeset b1a8adcb9099 (bug 1750972)
2022-07-13 12:36:32 +03:00
Kelsey Gilbert 8eb05ff04b Bug 1771374 - Support display-p3 output via DirectComposition on Windows. r=sotaro,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D150275
2022-07-12 23:55:50 +00:00
Boris Chiou 41a30d913e Bug 1293490 - Part 1: Implement CSS animation-composition longhand in style system. r=emilio
This patch introduces animation-composition longhand but we don't
accept it in @keyframe rule for now. I will support this for @keyframe
in the patch series.

Besides, the shorthand of animation doesn't include animation-composition.
The spec issue is: https://github.com/w3c/csswg-drafts/issues/6946.
We could fix the shorthand once this spec issue gets updated.

Differential Revision: https://phabricator.services.mozilla.com/D150299
2022-07-12 19:02:03 +00:00
Alexandra Borovova 61d71c792e Bug 1777951 - Enable partially implemented WebDriver BIDi features on Nightly channel only. r=webdriver-reviewers,whimboo,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D151364
2022-07-12 15:55:37 +00:00
Tom Ritter 811166b3c7 Bug 1778747: Allowlist the other, very similar, printer preference tree r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D151527
2022-07-12 14:14:29 +00:00
Lee Salzman 99b56e9be6 Bug 1777426 - Add gfx.canvas.accelerated.async-present for toggling async present with Canvas2D independent of WebGL. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D150881
2022-07-12 06:56:20 +00:00
Lee Salzman a3854ee714 Bug 1777426 - Add pref to force async present to sync anyway so we can use remote textures. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D151325
2022-07-12 06:56:19 +00:00
criss 95f4f0498b Backed out changeset 67fae8447273 (bug 1734394) for causing Assertion failures on StaticPrefList_browser.h. CLOSED TREE 2022-07-12 09:00:39 +03:00
Robert Mader 3131f02fc8 Bug 1779146 - Define media.ffmpeg.vaapi.enabled on X11-only builds aswell, r=gfx-reviewers,lsalzman
In order to match changes in D150959

Differential Revision: https://phabricator.services.mozilla.com/D151567
2022-07-12 04:24:08 +00:00
Cathy Lu c89057028e Bug 1734394 - Make Geckoview use the session store collector r=geckoview-reviewers,agi,farre,peterv
When the session storage prefs are enabled, GeckoSession updateSessionState will provide the bundle of information, including zoom, scroll, and form data, to the delegate. Currently works for Fission and on Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D148215
2022-07-12 02:50:01 +00:00
Robert Mader f922ff35ad Bug 1777927 - Force-disable VAAPI if vaapitest() failed, r=gfx-reviewers,aosmond
`vaapitest()` is meant to be a sanity check. If it failed there's
likely something very broken about the driver and we log gfx
warnings accordingly, allowing to debug the problem.

Ensure to force-disable VAAPI in this case but still allow users
to enable the feature in blocklisted cases.

While on it add some additional fixes for issues encoutered while
testing:
- `InitVAAPIConfig()` was not run on X11-only builds, wrongly
  setting `sLayersSupportsHardwareVideoDecoding` to `true` there
  on allowlisted drivers. Thus replace `MOZ_WAYLAND` with
  `MOZ_WIDGET_GTK`, ensuring the "Wayland support missing" warning
  is shown in `about:support`.
- `UserForceEnable` must be run before `ForceDisable`, otherwise an
  assert is triggered on debug builds. Reorder this.
- `GetFeatureStatus` was run twice for
  `FEATURE_HARDWARE_VIDEO_DECODING`, once in `InitAcceleration()` in the
  common code path, the again in `InitVAAPIConfig()`. Untangle the common
  code path to only run `InitVAAPIConfig()`.
- Use the chance to turn `media.hardware-video-decoding.enabled` into a
  static pref so it matches `media.hardware-video-decoding.force-enabled`

Differential Revision: https://phabricator.services.mozilla.com/D150959
2022-07-12 01:49:39 +00:00
Butkovits Atila 071d1fd9a9 Backed out changeset eae66c448e16 (bug 1777927) for causing failures at test_gfxBlacklist_Version.js. CLOSED TREE 2022-07-12 04:37:54 +03:00
Robert Mader 23d8b84193 Bug 1777927 - Force-disable VAAPI if vaapitest() failed, r=gfx-reviewers,aosmond
`vaapitest()` is meant to be a sanity check. If it failed there's
likely something very broken about the driver and we log gfx
warnings accordingly, allowing to debug the problem.

Ensure to force-disable VAAPI in this case but still allow users
to enable the feature in blocklisted cases.

While on it add some additional fixes for issues encoutered while
testing:
- `InitVAAPIConfig()` was not run on X11-only builds, wrongly
  setting `sLayersSupportsHardwareVideoDecoding` to `true` there
  on allowlisted drivers. Thus replace `MOZ_WAYLAND` with
  `MOZ_WIDGET_GTK`, ensuring the "Wayland support missing" warning
  is shown in `about:support`.
- `UserForceEnable` must be run before `ForceDisable`, otherwise an
  assert is triggered on debug builds. Reorder this.
- `GetFeatureStatus` was run twice for
  `FEATURE_HARDWARE_VIDEO_DECODING`, once in `InitAcceleration()` in the
  common code path, the again in `InitVAAPIConfig()`. Untangle the common
  code path to only run `InitVAAPIConfig()`.
- Use the chance to turn `media.hardware-video-decoding.enabled` into a
  static pref so it matches `media.hardware-video-decoding.force-enabled`

Differential Revision: https://phabricator.services.mozilla.com/D150959
2022-07-12 00:00:59 +00:00
Sean Feng b6ee73153a Bug 1772552 - Enable BFCache for pages with beforeunload event listeners on Desktop on EARLY_BETA_OR_EARLIER r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D151267
2022-07-11 14:33:51 +00:00
Tooru Fujisawa 47c8f80432 Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D150895
2022-07-11 12:41:51 +00:00
Tooru Fujisawa bf93d07148 Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Andrew Osmond ae6ec0a611 Bug 1746110 - Enable OffscreenCanvas by default on nightly. r=emilio
This patch turns on FontFaceSet in workers and OffscreenCanvas on
workers and the main thread in nightly only.

Differential Revision: https://phabricator.services.mozilla.com/D151409
2022-07-11 11:08:01 +00:00
Benjamin VanderSloot 6b4c4bc2dd Bug 1774854, part 1 - Create new preferences and document member functions for the forward-declared SAAPI, r=timhuang,emilio
Differential Revision: https://phabricator.services.mozilla.com/D149660
2022-07-08 18:16:37 +00:00
smolnar 1547adcf3d Backed out 4 changesets (bug 1774854) for causing browser-chrome failures in antitracking/test/browser/browser_subResources.js
Backed out changeset 46884d2a4eb4 (bug 1774854)
Backed out changeset ee02080a80cc (bug 1774854)
Backed out changeset 5e01fd1a1423 (bug 1774854)
Backed out changeset 98244d30acff (bug 1774854)
2022-07-08 17:08:49 +03:00
Benjamin VanderSloot 5b9e145ce3 Bug 1774854, part 1 - Create new preferences and document member functions for the forward-declared SAAPI, r=timhuang,emilio
Differential Revision: https://phabricator.services.mozilla.com/D149660
2022-07-08 12:36:42 +00:00
sotaro b9e60f30de Bug 1778431 - Allocate canvas render thread for out-of-process WebGL r=gfx-reviewers,aosmond
If dedicated thread for out-of-process WebGL exists, compositor thread tasks are not delayed by WebGL tasks.

And Bug 1712486 requests that WebGL run on non-compositor thread.

Differential Revision: https://phabricator.services.mozilla.com/D151210
2022-07-08 04:02:41 +00:00
Andrew Osmond c5989fee52 Bug 1072107 - Part 9. Expose FontFaceSet on workers. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D149254
2022-07-07 21:24:11 +00:00
Tom Ritter b66abd2909 Bug 1778505: Remove the temporary pref sanitization prefs r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D151289
2022-07-07 18:40:59 +00:00
Karl Tomlinson 54571ce8b0 Bug 1777902 don't change the size of system fonts when ui.textScaleFactor is set r=emilio
Depends on D150930

Differential Revision: https://phabricator.services.mozilla.com/D151111
2022-07-07 10:22:32 +00:00
Karl Tomlinson e632bec9e0 Bug 1777902 update layout.css.devPixelsPerPx doc for text scale factor changes r=emilio
as of https://hg.mozilla.org/integration/autoland/rev/6e1cbabce0af

Differential Revision: https://phabricator.services.mozilla.com/D150930
2022-07-07 10:22:32 +00:00
Ziran Sun 435c380565 Bug 1778062 - Add support for parsing the `contain-intrinsic-size` property from the CSS-sizing specification. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D151001
2022-07-06 11:47:51 +00:00
Dragana Damjanovic 0cb9ae544a Bug 1778272 - Revert the change to the LoadInfo release function. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D151103
2022-07-06 08:10:51 +00:00
Emilio Cobos Álvarez a7e9f1597b Bug 1771150 - Make fullscreen modal. r=smaug
As per https://github.com/w3c/csswg-drafts/issues/7311.

Differential Revision: https://phabricator.services.mozilla.com/D150335
2022-07-06 00:16:28 +00:00
Mirko Brodesser e88a939fae Bug 1778055: exclude `ClipboardReadTextPaste` actors on Android. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D150993
2022-07-05 12:04:52 +00:00
Tooru Fujisawa 854319c8ab Bug 1777641 - Suppress CheckForBrokenChromeURL and RecordZeroLengthEvent for JSM loaded by mozJSModuleLoader. r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150875
2022-07-05 09:18:31 +00:00
Tom Schuster 2f42f424bc Bug 1750972 - Enable same-site schemeful and noneRequiresSecure by default. r=freddyb
Depends on D150600

Differential Revision: https://phabricator.services.mozilla.com/D150602
2022-07-04 10:22:50 +00:00
alwu c925033c81 Bug 1758789 - part12 : use the media engine for channel decoder for testing. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D145401
2022-06-30 22:34:20 +00:00
alwu dbe39a1668 Bug 1758789 - part9 : add a pref to control video output. r=jolin
There are still some weird bugs about the media engine inside when enabling the video playback. So use a pref to switch the video playback for testing.

The pref should be removed after we finish implementing video playback on via the media engine.

Differential Revision: https://phabricator.services.mozilla.com/D145156
2022-06-30 22:34:19 +00:00
Dennis Jackson 2414436eb0 Bug 1776441 - Enable ECH for Nightly Users. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D150259
2022-06-30 20:18:59 +00:00
smolnar 50d8d18c90 Backed out 18 changesets (bug 1758789) for causing win AArch64 build bustages. CLOSED TREE
Backed out changeset e3f1d216b7b0 (bug 1758789)
Backed out changeset 737731f1056d (bug 1758789)
Backed out changeset 76a2ae95718a (bug 1758789)
Backed out changeset c134ab07a603 (bug 1758789)
Backed out changeset 84f574f95348 (bug 1758789)
Backed out changeset 7dae17111210 (bug 1758789)
Backed out changeset cdec8c010960 (bug 1758789)
Backed out changeset a1976aeac84e (bug 1758789)
Backed out changeset 6aac8720ffa5 (bug 1758789)
Backed out changeset 48b798f102e5 (bug 1758789)
Backed out changeset 310e551d433b (bug 1758789)
Backed out changeset b3d6df1153c1 (bug 1758789)
Backed out changeset 61775207f73b (bug 1758789)
Backed out changeset f0c28aea2f4b (bug 1758789)
Backed out changeset 0a65ff00244a (bug 1758789)
Backed out changeset 0b747e748709 (bug 1758789)
Backed out changeset cdf4acea8c87 (bug 1758789)
Backed out changeset 0c4009da7d1e (bug 1758789)
2022-06-30 23:54:23 +03:00
Gijs Kruitbosch 09c246ab41 Bug 1771774, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D150457
2022-06-30 19:41:47 +00:00
alwu 42745e854f Bug 1758789 - part12 : use the media engine for channel decoder for testing. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D145401
2022-06-30 18:14:48 +00:00
alwu de68361972 Bug 1758789 - part9 : add a pref to control video output. r=jolin
There are still some weird bugs about the media engine inside when enabling the video playback. So use a pref to switch the video playback for testing.

The pref should be removed after we finish implementing video playback on via the media engine.

Differential Revision: https://phabricator.services.mozilla.com/D145156
2022-06-30 18:14:47 +00:00
smolnar 3fa084ce2f Backed out 3 changesets (bug 1771374) for causing build bustage in gfx/gl/gtest/TestColorspaces.cpp CLOSED TREE
Backed out changeset 4d01f260c43a (bug 1771374)
Backed out changeset fc62679f0a6c (bug 1771374)
Backed out changeset f4f12470f8b7 (bug 1771374)
2022-06-30 21:19:17 +03:00
Kelsey Gilbert bb48a57a8a Bug 1771374 - Support display-p3 output via DirectComposition on Windows. r=sotaro,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D150275
2022-06-30 17:56:26 +00:00
Csoregi Natalia e3f6b53b3b Backed out changeset 1491786f8402 (bug 1775194) for multiple reporting failures. CLOSED TREE 2022-06-30 17:25:47 +03:00
Kagami Sascha Rosylight 48adbee64d Bug 1776109 - Part 3: Hide caches/indexedDB/serviceWorker in PBMode r=asuth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D150064
2022-06-30 11:33:56 +00:00
Frederik Braun 9861c6626a Bug 1775194 - disable reporting API r=ckerschb,emilio
This disables the outdated, incorrect implementation of the
Reporting API. The current implementation was only enabled
on Nightly builds, but given its current state it does not
even make sense there.

Differential Revision: https://phabricator.services.mozilla.com/D149873
2022-06-30 10:41:48 +00:00
Iulian Moraru 23c0c3baed Backed out 3 changesets (bug 1776109) for causing hazzard build bustages on ServiceWorker.cpp.
Backed out changeset b6222b68a403 (bug 1776109)
Backed out changeset 80fb3c3a5a40 (bug 1776109)
Backed out changeset 021a94a72d0c (bug 1776109)
2022-06-30 09:53:28 +03:00
criss d5ece910a9 Backed out 3 changesets (bug 1771374) for causing bustages on Colorspaces.h. CLOSED TREE
Backed out changeset 498c27656dc3 (bug 1771374)
Backed out changeset 6f97bc39643f (bug 1771374)
Backed out changeset b4fdb70808b6 (bug 1771374)
2022-06-30 05:28:11 +03:00
Kagami Sascha Rosylight 30b8df0dc0 Bug 1776109 - Part 3: Hide caches/indexedDB/serviceWorker in PBMode r=asuth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D150064
2022-06-30 01:35:13 +00:00
criss a78fdd3dc0 Backed out 3 changesets (bug 1776109) for causing multiple failures. CLOSED TREE
Backed out changeset 8e76401f7c43 (bug 1776109)
Backed out changeset 1cdbbad1d996 (bug 1776109)
Backed out changeset 66bb4c49d615 (bug 1776109)
2022-06-30 03:23:01 +03:00
Kelsey Gilbert c4f86e2e33 Bug 1771374 - Support display-p3 output via DirectComposition on Windows. r=sotaro,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D150275
2022-06-29 23:38:22 +00:00
Kagami Sascha Rosylight 4c9ef0bb36 Bug 1776109 - Part 3: Hide caches/indexedDB/serviceWorker in PBMode r=asuth,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D150064
2022-06-29 22:52:39 +00:00
criss efb5f18b59 Backed out 3 changesets (bug 1771374) for causing build bustages on GLBlitHelper.cpp. CLOSED TREE
Backed out changeset 71d40a0a3c9c (bug 1771374)
Backed out changeset 6a42df6834fe (bug 1771374)
Backed out changeset be888d0fd0bf (bug 1771374)
2022-06-30 01:12:46 +03:00