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

869936 Коммитов

Автор SHA1 Сообщение Дата
serge-sans-paille ce3d15a17b Bug 1793001 - s/egrep/grep -E/ r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D197508
2024-01-17 14:37:17 +00:00
jneuberger 4ada05f545 Bug 1875063 - Fix wrong handling of FormScenarios.detect method r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D198796
2024-01-17 14:31:53 +00:00
Cristina Horotan 6f390e9eed Backed out 2 changesets (bug 1866939) for causing very frequent Android mochitest failure in test_group_zoomToFocusedInput.html on a CLOSED TREE
Backed out changeset b0542bbe1fe7 (bug 1866939)
Backed out changeset 6fb1b891307b (bug 1866939)
2024-01-17 16:09:45 +02:00
Jan de Mooij 3933e3d6f8 Bug 1873027 - Add a shell flag to override use of monomorphic inlining. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D197677
2024-01-17 14:10:54 +00:00
Luca Greco 5e217b6435 Bug 1874487 - Add perfdocs to describe browsertime-tp6-webextensions and browsertime-tp6m-webextensions jobs. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198603
2024-01-17 14:07:53 +00:00
Luca Greco 398b822d42 Bug 1868144 - Introduce a new condprof-addons linter and condprof-addons-verify taskcluster task. r=sparky,jmaher,linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D195434
2024-01-17 14:07:53 +00:00
James Teow 40e1d9883e Bug 1870857 - Add single page app properties to search-telemetry-v2 schema - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D196927
2024-01-17 14:07:42 +00:00
Hubert Boma Manilla 2fa2142a50 Bug 1873432 - [devtools] Cleanup the use of parser worker for framework info r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D197907
2024-01-17 13:56:07 +00:00
Nicolas B. Pierron b2aa371449 Bug 1868693 - Move "unused DT" linker warning out of the way. r=jandem
This patch moves the warning coming out of the linker to their own
sections. This do not solve the problem that stdout is sometimes
truncated, but the hope is to solve the issue where the linker issues
are being reported as part of the failure reason instead of the
unexpected assertion or errors.

Differential Revision: https://phabricator.services.mozilla.com/D198676
2024-01-17 13:39:10 +00:00
Tim Huang 925645c429 Bug 1849864 - Don't recalculate the userAgent header if it has been modified. r=tjr,jesup,necko-reviewers,devtools-reviewers
The userAgent header can be modified in several ways, such as using the
header field to set a custom userAgent header for a fetch request. We
want to preserve the custom header, so we shouldn't recalculate the
userAgent header if it's been overridden after the channel was created.
Otherwise, the custom header won't work.

Differential Revision: https://phabricator.services.mozilla.com/D197655
2024-01-17 13:18:21 +00:00
Tim Huang a2deaaa213 Bug 1849864 - Update the userAgent header once the AntiTracking Info is updated. r=tjr,necko-reviewers,jesup
The userAgent was decided when the channel was created, but the channel
hasn't known about whether it should exempt fingerprinting protection at
the moment. To properly set the userAgent, we need to update the
userAgent header once we know the AntiTracking info.

Differential Revision: https://phabricator.services.mozilla.com/D196953
2024-01-17 13:18:20 +00:00
Stanca Serban d99695fbd7 Backed out 2 changesets (bug 1874186, bug 1822097) for causing mochitests failures in browser_contextualsearch.js. CLOSED TREE
Backed out changeset 9932105bd747 (bug 1822097)
Backed out changeset bfa522e43b51 (bug 1874186)
2024-01-17 14:52:41 +02:00
Sebastian Hengst fa313e3423 Bug 1874875 - set clonable attribute check to only pass in Nightly. r=saschanaz DONTBUILD
The 'clonable' attribute is only available in Nightly (see bug 1868428).

Differential Revision: https://phabricator.services.mozilla.com/D198783
2024-01-17 12:31:02 +00:00
Mark Banner 0598f7fd1d Bug 1822097 - Separate out OpenSearch loading into a separate module. r=search-reviewers,daleharvey
This improves the architecture by separating out the loading and therefore not having
the object try to load itself.

There are no functional changes nor removals here, the code is only being restructured.

Differential Revision: https://phabricator.services.mozilla.com/D198378
2024-01-17 12:02:35 +00:00
Mark Banner 5546e33c2a Bug 1874186 - Remove remains of extension ID facility from OpenSearch engines. r=search-reviewers,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D198284
2024-01-17 12:02:34 +00:00
Mark Banner e8c16fb064 Bug 1871019 - Fix telemetry reporting about search engines not matching the installed WebExtension when using post parameters. r=search-reviewers,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D198037
2024-01-17 11:25:38 +00:00
Jon Coppeard da88777c95 Bug 1828648 - Part 2: Move WeakCache into the js namespace r=jandem
Since this is no longer public it can move to the internal namespace.

Depends on D198686

Differential Revision: https://phabricator.services.mozilla.com/D198687
2024-01-17 11:11:09 +00:00
Jon Coppeard 161b4ddba4 Bug 1828648 - Part 1: Make SweepingAPI.h an internal header r=jandem
This moves the file from js/public to js/src/gc and moved the template
specialization for GCHashMap into it from js/public/GCHashTable.h.

Differential Revision: https://phabricator.services.mozilla.com/D198686
2024-01-17 11:11:08 +00:00
Emilio Cobos Álvarez 7dfb36cb12 Bug 1874776 - Add a test for extension use counters being ignored. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D198717
2024-01-17 11:02:01 +00:00
Emilio Cobos Álvarez b8802dc22b Bug 1874776 - Refactor browser_use_counters.js to avoid some duplication. r=chutten
This will make testing the patches in this bug easier too.

Differential Revision: https://phabricator.services.mozilla.com/D198716
2024-01-17 11:02:01 +00:00
Dave Townsend ec53a95d14 Bug 1864896: Remove some unused arguments from webextension APIs. r=geckoview-reviewers,extension-reviewers,robwu,owlish
Depends on D195630

Differential Revision: https://phabricator.services.mozilla.com/D195631
2024-01-17 10:07:12 +00:00
Dave Townsend 9072796008 Bug 1864896: Remove some unused function arguments from a DOM test. r=dom-core,peterv
Differential Revision: https://phabricator.services.mozilla.com/D195630
2024-01-17 10:07:11 +00:00
Dimi 46d144b458 Bug 1873440 - Dot not update address data that has less information than the original data r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D197926
2024-01-17 10:05:53 +00:00
Mark Banner 80ddb3d9c2 Bug 1875027 - Remove deprecated ESLint rule no-return-await. r=mossop
Eslint has now deprecated the rule.

Depends on D198777

Differential Revision: https://phabricator.services.mozilla.com/D198778
2024-01-17 09:51:30 +00:00
Mark Banner a8abfad9b0 Bug 1875026 - Enable ESLint rules on more dom/ directories where the rules are already passing. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D198777
2024-01-17 09:51:29 +00:00
Tom Schuster 58300c5e90 Bug 1873474 - Use ImageBlocker directly instead of nsIContentPolicy::ShouldProcess in ImageDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D198142
2024-01-17 09:49:32 +00:00
Malte Juergens 7c11f39184 Bug 1857894 - Recalculate referrer based on original referrer after non-HSTS HTTPS upgrade r=necko-reviewers,freddyb,kershaw
Per fetch spec [1], we should perform CSP upgrade-insecure-requests and mixed
content upgrades before determining the referrer, while HSTS upgrades happen
after the referrer is determined. In our implementation, we determine the
referrer before all the upgrades, so we need to recalculate the referrer
after we upgrade through anything but HSTS.

[1] https://fetch.spec.whatwg.org/#main-fetch

Differential Revision: https://phabricator.services.mozilla.com/D193417
2024-01-17 09:36:53 +00:00
Malte Juergens ad91a46064 Bug 1857894 - Make includesubdomains.preloaded.test available to mochitest r=freddyb
This way we have a domain available that is on the HSTS preload list.

cert9.db, key4.db and mochitest.client have been generated by `./mach python build/pgo/genpgocert.py`,
as per https://firefox-source-docs.mozilla.org/build/buildsystem/test_certificates.html.

Differential Revision: https://phabricator.services.mozilla.com/D196316
2024-01-17 09:36:53 +00:00
Makoto Kato 1e01e5fa87 Bug 1832627 - Popup should be closed. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D197067
2024-01-17 08:48:29 +00:00
Frédéric Wang 56a3e0d495 Bug 1765615 - Handle most changes to CSS `contain` and `content-visibility` without needing to reconstruct frames. r=layout-reviewers,emilio
Right now, we reconstruct frames in response to a change in the CSS
`contain` property or `content-visibility`. This patch tries to optimize
this a bit:

1. Updates involving style containment change continue to force a
  reconstruction, due to the need to handle counters/quotes.

2. Updates involving paint/layout containment change only force a
   reconstruction if it's needed to handle absolutely/fixed
   positioned descendants or floats (for this one, see also bug 1874826).

3. Other containment changes will only force a reflow and repaint.

Per the CSS contain spec, layout, style and paint containments are
enabled for `content-visibility: hidden` and `content-visibility: auto`.
As a consequence, changing `content-visibility` between `hidden` and
`auto` values no longer requires reconstruction. Changing between these
values and `visible` may need a reconstruction although authors may
generally avoid that in practice by forcing `style` containment.

Differential Revision: https://phabricator.services.mozilla.com/D197043
2024-01-17 08:22:48 +00:00
Lee Salzman a8d122991e Bug 1872776 - Avoid multiplying by NaN in draw_perspective. r=gfx-reviewers,ahale
Differential Revision: https://phabricator.services.mozilla.com/D198772
2024-01-17 07:22:29 +00:00
Dão Gottwald 40d1565027 Bug 1851481 - Clean up vertical alignment within result rows. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D198596
2024-01-17 07:04:04 +00:00
Mozilla Releng Treescript 1e8384d8ef no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
sq -> 67ac42db31209176946b175dee850f0714a4868c
2024-01-17 06:59:00 +00:00
Hiroyuki Ikezoe d6384b20c1 Bug 1875011 - Use non-rounded scroll position behind layout.scroll.disable-pixel-alignment in nsHTMLScrollFrame::ScrollByCSSPixelsInternal. r=botond
Depends on D198766

Differential Revision: https://phabricator.services.mozilla.com/D198767
2024-01-17 06:27:05 +00:00
Hiroyuki Ikezoe 0fcc48906c Bug 1875011 - Rename GetScrollPositionCSSPixels to GetRoundedScrollPositionCSSPixels. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D198766
2024-01-17 06:27:05 +00:00
Nicolas Chevobbe 6e30d94d7a Bug 1874822 - [devtools] Remove devtools/client/debugger/src/utils/connect.js. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D198663
2024-01-17 06:23:05 +00:00
Ting-Yu Lin 26f682fd73 Bug 1874897 - Revert Bug 1873530 Part 3 to fix performance regression. r=dholbert
This reverts commit https://hg.mozilla.org/mozilla-central/rev/dfcfa98a7e21
without any additional modification.

Differential Revision: https://phabricator.services.mozilla.com/D198764
2024-01-17 05:14:35 +00:00
Lee Salzman 15f758f06d Bug 1874810 - Implement RecordedStrokeGlyphs. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D198654
2024-01-17 05:02:01 +00:00
Daniel Holbert 8a40de016a Bug 1874986: Fixups for nits/cosmetic issues in WPT client-props-zoom.html. r=TYLin
This patch doesn't change the behavior (or pass/fail status) of the test at
all; it's just fixing some issues in the test that trigger parser errors and/or
make the test results hard to read.

Overview of the fixes:
- Removing a stray quote character (near the start) and a stray comma (in the
  middle of an element's attribute list).
- Wrapping the test content in an element that we can use to scope the rules,
  so that we don't end up with a generic 'div' css selector that inadvertently
  targets the test-results divs that the harness appends to the page.
- Removing the 'head' element since it's unnecessary and was being opened later
  than appropriate (after head content had already begun).
- Changing a background color from blue to cyan so that black text remains
  readable.
- Adding a newline at the end of the file.

Differential Revision: https://phabricator.services.mozilla.com/D198751
2024-01-17 03:47:26 +00:00
Daniel Holbert 7a67d2d5a0 Bug 1874871: Enable the css zoom about:config pref, for WPT 'client-props-zoom.html'. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D198750
2024-01-17 03:45:29 +00:00
Niklas Baumgardner 6fedd4b29e Bug 1873882 - Canceling screenshots selected state should go to crosshairs state. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D198468
2024-01-17 01:18:08 +00:00
Masayuki Nakano 0bd548362f Bug 1872302 - Make `nsIFrame::PeekOffsetForLine` never dig into native anonymous subtree r=emilio
`Selection.modify` with `"line"` calls `nsIFrame::PeekOffsetForLine` (which
is also used to move caret). To compute the destination,
`nsIFrame::PeekOffsetForLine` is used, but it may return a native anonymous
node because its helper function, `GetSelectionClosestFrame`, does not check
the boundary.  On the other hand, it's used by pointing device event handlers
too.  In this case, it needs to return a native anonymous node.  Therefore,
the helper method requires additional flag to consider whether it can return
native anonymous node.

Differential Revision: https://phabricator.services.mozilla.com/D198358
2024-01-17 01:10:47 +00:00
Cosmin Sabou 7dd48d8760 Backed out changeset 28c56a4f3af6 (bug 1874810) for causing Moz2DImageRenderer related failures. CLOSED TREE 2024-01-17 03:17:31 +02:00
Masayuki Nakano 9ea801e994 Bug 1872301 - Make `nsFocusManager::GetSelectionLocation` never fail when found text node has no frame r=NeilDeakin
In the test case, `nsFocusManager::GetSelectionLocation` is called with
collapsed selection at end of the `<svg>` which ends with collapsible
white-spaces.  Therefore, it reaches the white-space only text node and it
does not have a primary frame due to invisible.

Previously, creating `nsFrameIterator` failed and then the method returned
error, but after bug 779684, `nsFrameIterator` constructor wants non-nullptr
frame avoiding crash.  Therefore, I added the `MOZ_ASSERT` there to get a
way to reproduce the case and now we got it.

I think that just removing `MOZ_ASSERT` and keeping returning error is not
correct. The text can be invisible with the other reasons and it does not
collapsed at end of invisible text, this does not return error.  Therefore,
this patch makes just returning the text in the case without error.

Differential Revision: https://phabricator.services.mozilla.com/D198128
2024-01-17 00:25:04 +00:00
Lee Salzman e12f705e69 Bug 1874842 - Avoid redundant transformed copies of Canvas2d path builder. r=aosmond
If a path builder is left in place after a drawing command, and then user then
sets up new transforms before beginning a new path, the old path will get spuriously
transformed every time the transform is changed, even though it will never be used.
We want to delay actually transforming the path until we need to read from it or
write to it.

Differential Revision: https://phabricator.services.mozilla.com/D198672
2024-01-17 00:18:05 +00:00
Lee Salzman 6f8d3af8d8 Bug 1874810 - Implement RecordedStrokeGlyphs. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D198654
2024-01-17 00:17:34 +00:00
Lee Salzman 1c02a6a2ed Bug 1874908 - Ensure mInvalidContents is cleared on CreateDrawTarget. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D198753
2024-01-17 00:08:38 +00:00
Kagami Sascha Rosylight ab70dae57a Bug 1834055 - Drop the hack to be too smart about mouse detection r=win-reviewers,handyman
Trying to see whether the system-reported mouse is a REAL mouse causes problem in certain situation with Wacom driver. The driver makes the system believe it has a pen while it still reports that the input device count is 1. Our heuristic thus thinks that the single device is not a real mouse but something else, which then breaks web compatibility with Twitter.

That hack was added by bug 1493128, but the capability report behavior change is already reverted with bug 1813979. Keeping this hack thus has no point as of now. This patch follows the comment: "We shouldn't assume we know better."

Differential Revision: https://phabricator.services.mozilla.com/D197813
2024-01-16 23:51:32 +00:00
Sammy Khamis 58b3a8439a Bug 1873766: Add fill for VPN icon in PXI toolbar r=teshaq,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D198737
2024-01-16 23:44:45 +00:00
Alexandre Poirot 7ef76d10d3 Bug 1874696 - [devtools] Use a Set (instead of Array) for removed message IDs. r=devtools-reviewers,nchevobbe
As we are only doing inclusion test, and this dataset is often large,
this will be signficantly faster.

Differential Revision: https://phabricator.services.mozilla.com/D197771
2024-01-16 22:40:54 +00:00