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

21181 Коммитов

Автор SHA1 Сообщение Дата
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