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

805071 Коммитов

Автор SHA1 Сообщение Дата
Dimi 7535712f30 Bug 1784860 - Do not use transform function for testConfidence pref r=sgalich
`parseFloat` returns NaN when we pass null to it.
Since we use "null" to distinguish the case when the pref is set or
not, this patch moves `parseFloat` inside the if statemenet so we only
call it when the pref is set.

Differential Revision: https://phabricator.services.mozilla.com/D154666
2022-08-16 16:08:37 +00:00
Meg Viar ace27f6e86 Bug 1781155 - Add strings for localization and update message configuration for Firefox View feature callout r=flod,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D153778
2022-08-16 16:05:24 +00:00
Emilio Cobos Álvarez 59a062ee78 Bug 1785053 - Only dispatch permission state changes when permissions actually change. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D154788
2022-08-16 15:32:32 +00:00
Noemi Erli 163b6ffe4a Backed out changeset 9b69d9a0881b (bug 1784575) for causing build bustage in nsStyleStruct.cpp CLOSED TREE 2022-08-16 18:23:50 +03: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
Pier Angelo Vendrame 83aafd9331 Bug 1769030: Add a configure flag to load policies only from the local policies.json file r=mkaply,glandium
Add a configuration flag to make Enterprise Policies mechanism only
consult a policies.json file (avoiding the Windows Registry, macOS's
file system attributes, and /etc/firefox/policies/policies.json on
other OS).

Differential Revision: https://phabricator.services.mozilla.com/D146300
2022-08-16 14:42:20 +00:00
Nicolas Silva 0f41553847 Bug 1780051 - Avoid crashing when taking an invalid array buffer in writeBuffer. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D154533
2022-08-16 14:03:27 +00:00
Cristian Tuns 517ada709c Backed out 4 changesets (bug 1783738) for causing reftest failures with getBuildConfiguration CLOSED TREE
Backed out changeset a10f3d51daad (bug 1783738)
Backed out changeset 6cd01666a991 (bug 1783738)
Backed out changeset 9d7f488a2cd9 (bug 1783738)
Backed out changeset 3ca5e3471c04 (bug 1783738)
2022-08-16 09:26:43 -04:00
Andrew Creskey 118f5ba0d6 Bug 1773234 - Add debugging section, minor improvements in new-to-necko doc r=edgul DONTBUILD
Replaced link to Glean IPC, added Debugging section + minor changes

Differential Revision: https://phabricator.services.mozilla.com/D154700
2022-08-16 13:09:32 +00:00
Tomislav Jovanovic 641991c1f2 Bug 1774642 - Automatic activeTab for ungranted host permissions with origin controls, r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D154107
2022-08-16 13:09:04 +00:00
Oriol Brufau 8dd9f29ad0 Bug 1784575 - Let contain-intrinsic-size:auto use last remembered size. r=emilio
This has no effect for now since the last remembered size is never set
(will be implemented in bug 1784577).

Differential Revision: https://phabricator.services.mozilla.com/D154575
2022-08-16 13:07:05 +00:00
Renovate Bot 84efbfcef4 no bug - Update dependency rstcheck to v3.5.0 r=linter-reviewers,andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154070
2022-08-16 13:02:48 +00:00
Dão Gottwald 4016b9009f Bug 1784241 - [Colorway Closet] Make hompeage reset success checkmark more visible. r=bigiri
Differential Revision: https://phabricator.services.mozilla.com/D154790
2022-08-16 12:54:42 +00:00
Dan Minor 490faf0f03 Bug 1783738 - Support decorator expressions on classes; r=mgaudet
This adds decorator support to class definitions and expressions

Differential Revision: https://phabricator.services.mozilla.com/D154190
2022-08-16 12:54:42 +00:00
Dan Minor 59b75591fa Bug 1783738 - Support decorator expressions on methods and fields; r=mgaudet
This adds support for decorator expressions inside classes for methods
and fields. Support for class declarations and expressions is added in
the next commit.

Differential Revision: https://phabricator.services.mozilla.com/D154189
2022-08-16 12:54:41 +00:00
Dan Minor 346e7f1bee Bug 1783738 - Make 'accessor' a contextual keyword; r=mgaudet
This should be a contextual keyword to avoid conflicting with existing
uses of the identifier. It's inserted out of alphabetical order to
avoid having to make the range conditional on whether ENABLE_DECORATORS
is defined.

Differential Revision: https://phabricator.services.mozilla.com/D154188
2022-08-16 12:54:41 +00:00
Dan Minor e6ad5e1689 Bug 1783738 - Add decorators to build configuration; r=mgaudet
This is necessary to be able to skip tests when we haven't built with support
for decorators.

Differential Revision: https://phabricator.services.mozilla.com/D154187
2022-08-16 12:54:41 +00:00
Jonathan Kew 8e8d6fbbce Bug 1740530 - patch 10 - Basic reftests for COLRv1 font rendering. r=gfx-reviewers,lsalzman
The font here is a copy of Ahem with a COLRv1 table added, using various of the
COLRv1 paint and transform tables. This is far from an exhaustive set of tests,
but serves to check that basic rendering functionality is working.

The reference file uses CSS blocks filled with gradients, etc, to simulate the
expected rendering of the colored Ahem glyphs. This is unlikely to be a perfect
match in any but the simplest cases, thanks to antialiasing, pixel-rounding, etc.,
but the results are visually indistinguishable, or virtually so, and the amount
of "fuzz" is far less than the differences would be in the case of the COLRv1
glyphs actually being mis-rendered.

(There's a try run *without* the fuzz annotations at
https://treeherder.mozilla.org/jobs?repo=try&revision=4a2e2f7190661614ecddd223dd7178589d0ec5f2
where the results can be viewed in reftest-analyzer.)

We may eventually want to move this or similar tests into WPT, but I'm expecting
more extensive test coverage to be a co-operative effort with the other vendors
who are also implementing support, so this is intended as an interim step just to
ensure we have the basic functionality tested in-tree.

Depends on D154585

Differential Revision: https://phabricator.services.mozilla.com/D154586
2022-08-16 12:48:35 +00:00
Jonathan Kew 248f9c2891 Bug 1740530 - patch 9 - Expose COLRv1 support via the CSS @font-face tech() function if the pref is enabled. r=gfx-reviewers,lsalzman
Depends on D154590

Differential Revision: https://phabricator.services.mozilla.com/D154585
2022-08-16 12:48:35 +00:00
Jonathan Kew 581bf9c465 Bug 1740530 - patch 8 - Guard against cycles in the paint graph during Paint() and GetBoundingRect(). r=gfx-reviewers,lsalzman
Depends on D152162

Differential Revision: https://phabricator.services.mozilla.com/D154590
2022-08-16 12:48:34 +00:00
Jonathan Kew 8e21945f4b Bug 1740530 - patch 7 - Route COLRv1 fonts on macOS through our COLR-rendering path; only COLRv0 can use the native Core Text support. r=gfx-reviewers,lsalzman
Depends on D153880

Differential Revision: https://phabricator.services.mozilla.com/D152162
2022-08-16 12:48:34 +00:00
Jonathan Kew 8aa2e5b256 Bug 1740530 - patch 6 - Update old COLRv0 code to better align with spec naming, and refactor COLRv1 header. r=gfx-reviewers,lsalzman
Depends on D152041

Differential Revision: https://phabricator.services.mozilla.com/D153880
2022-08-16 12:48:33 +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
Jonathan Kew a28049152d Bug 1740530 - patch 4 - Use harfbuzz color-palette access functions, instead of rolling our own. r=gfx-reviewers,lsalzman
Depends on D152038

Differential Revision: https://phabricator.services.mozilla.com/D153870
2022-08-16 12:48:33 +00:00
Jonathan Kew b424a79ca6 Bug 1740530 - patch 3 - Replace GetColorGlyphLayers and the layer-rendering code in gfxFont with a zero-copy implementation in COLRFonts. r=gfx-reviewers,lsalzman
Depends on D152037

Differential Revision: https://phabricator.services.mozilla.com/D152038
2022-08-16 12:48:32 +00:00
Jonathan Kew b55969e54c Bug 1740530 - patch 2 - Simplify COLR-glyph rendering a bit, by calling COLRFonts methods directly from gfxFont instead of via gfxFontEntry wrappers. r=gfx-reviewers,lsalzman
Depends on D152036

Differential Revision: https://phabricator.services.mozilla.com/D152037
2022-08-16 12:48:32 +00:00
Jonathan Kew 81c6e793b9 Bug 1740530 - patch 1 - Move COLR font support functions from gfxUtils into their own class. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D152036
2022-08-16 12:48:31 +00:00
Tim Huang f3616b887b Bug 1746349 - Add a test to verify that the window.name won't reset if document.domain was set. r=smaug
This patch adds a test in the web-platform test
clear-window-name.https.html. The test will load the sub domain and set
the document.domain to the parent domain. And verify that the
window.name won't be reset after navigating to the sub domain.

Depends on D143994

Differential Revision: https://phabricator.services.mozilla.com/D154786
2022-08-16 12:40:10 +00:00
Tim Huang 4bcf9694bb Bug 1746349 - Stop considering document.domain when deciding if we need to reset the window name. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D143994
2022-08-16 12:40:09 +00:00
Cristian Tuns 51db164284 Backed out 2 changesets (bug 1780150) for causing build bustages on AudioSinkWrapper.h CLOSED TREE
Backed out changeset d060eced6ecf (bug 1780150)
Backed out changeset 9c2c6af6a7cf (bug 1780150)
2022-08-16 08:45:40 -04:00
Paul Adenot b24d32bcb7 Bug 1780150 - Test that a muted media element with an audio track never has currentTime exceeding its duration. r=alwu
Depends on D152405

Differential Revision: https://phabricator.services.mozilla.com/D152406
2022-08-16 12:31:28 +00:00
Paul Adenot 33d6b2bc65 Bug 1780150 - Cap currentTime to the end time of the last packet when a video with an audio track is muted. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D152405
2022-08-16 12:31:28 +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
Emilio Cobos Álvarez c94712abf1 Bug 1783069 - Make aspect-ratio work on <video> properly. r=boris,Oriol,layout-reviewers
See https://github.com/w3c/csswg-drafts/issues/7524 for discussion. This
matches what we do for images.

Differential Revision: https://phabricator.services.mozilla.com/D153664
2022-08-16 12:20:15 +00:00
Paul Zuehlcke a5d1294a68 Bug 1783019 - Tests for nsICookieBannerService and nsCookieInjector. r=timhuang,necko-reviewers,valentin
Depends on D153642

Differential Revision: https://phabricator.services.mozilla.com/D154426
2022-08-16 12:07:14 +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
Paul Zuehlcke 4a75c4c2b3 Bug 1783019 - Add 'http-on-modify-request-before-cookies' observer message. r=necko-reviewers,timhuang,valentin
Differential Revision: https://phabricator.services.mozilla.com/D153641
2022-08-16 12:07:13 +00:00
Henrik Skupin 69cedc69ba Bug 1784957 - [marionette] Don't fail when unregistering "browser-delayed-startup-finished" observer. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D154687
2022-08-16 11:37:14 +00:00
stransky ed73cbe3bf Bug 1784336 [Linux] Don't resume compositor if mCompositorWidgetDelegate is missing r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D154785
2022-08-16 11:30: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
Dão Gottwald db846ca094 Bug 1784448 - Increase visibility of toolbar separators. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D154779
2022-08-16 11:00:28 +00:00
Oriol Brufau 49dba20520 Bug 1783296 - Obey contain-intrinsic-size in videos. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153816
2022-08-16 10:59:30 +00:00
Jonathan Kew 44c5fab730 Bug 1740530 - patch 10 - Basic reftests for COLRv1 font rendering. r=gfx-reviewers,lsalzman
The font here is a copy of Ahem with a COLRv1 table added, using various of the
COLRv1 paint and transform tables. This is far from an exhaustive set of tests,
but serves to check that basic rendering functionality is working.

The reference file uses CSS blocks filled with gradients, etc, to simulate the
expected rendering of the colored Ahem glyphs. This is unlikely to be a perfect
match in any but the simplest cases, thanks to antialiasing, pixel-rounding, etc.,
but the results are visually indistinguishable, or virtually so, and the amount
of "fuzz" is far less than the differences would be in the case of the COLRv1
glyphs actually being mis-rendered.

(There's a try run *without* the fuzz annotations at
https://treeherder.mozilla.org/jobs?repo=try&revision=4a2e2f7190661614ecddd223dd7178589d0ec5f2
where the results can be viewed in reftest-analyzer.)

We may eventually want to move this or similar tests into WPT, but I'm expecting
more extensive test coverage to be a co-operative effort with the other vendors
who are also implementing support, so this is intended as an interim step just to
ensure we have the basic functionality tested in-tree.

Depends on D154585

Differential Revision: https://phabricator.services.mozilla.com/D154586
2022-08-16 10:39:53 +00:00
Jonathan Kew 9ae0d60d81 Bug 1740530 - patch 9 - Expose COLRv1 support via the CSS @font-face tech() function if the pref is enabled. r=gfx-reviewers,lsalzman
Depends on D154590

Differential Revision: https://phabricator.services.mozilla.com/D154585
2022-08-16 10:39:53 +00:00
Jonathan Kew 995546377b Bug 1740530 - patch 8 - Guard against cycles in the paint graph during Paint() and GetBoundingRect(). r=gfx-reviewers,lsalzman
Depends on D152162

Differential Revision: https://phabricator.services.mozilla.com/D154590
2022-08-16 10:39:53 +00:00
Jonathan Kew 896bda2731 Bug 1740530 - patch 7 - Route COLRv1 fonts on macOS through our COLR-rendering path; only COLRv0 can use the native Core Text support. r=gfx-reviewers,lsalzman
Depends on D153880

Differential Revision: https://phabricator.services.mozilla.com/D152162
2022-08-16 10:39:52 +00:00
Jonathan Kew ed80c54b45 Bug 1740530 - patch 6 - Update old COLRv0 code to better align with spec naming, and refactor COLRv1 header. r=gfx-reviewers,lsalzman
Depends on D152041

Differential Revision: https://phabricator.services.mozilla.com/D153880
2022-08-16 10:39:52 +00: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
Jonathan Kew 6012755291 Bug 1740530 - patch 4 - Use harfbuzz color-palette access functions, instead of rolling our own. r=gfx-reviewers,lsalzman
Depends on D152038

Differential Revision: https://phabricator.services.mozilla.com/D153870
2022-08-16 10:39:51 +00:00
Jonathan Kew 15a732fbb5 Bug 1740530 - patch 3 - Replace GetColorGlyphLayers and the layer-rendering code in gfxFont with a zero-copy implementation in COLRFonts. r=gfx-reviewers,lsalzman
Depends on D152037

Differential Revision: https://phabricator.services.mozilla.com/D152038
2022-08-16 10:39:51 +00:00