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

793254 Коммитов

Автор SHA1 Сообщение Дата
Mozilla Releng Treescript e8998d1828 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
el -> 2b437f2153afb5b1318a07790de99c1ee12f5b9c
hye -> 411ba9d7c647ba1447e55e89652624af95f6cec4
kab -> 8487cf9a902ad0441599fdf964e9a71712c1c26d
tg -> 9902330001fac244e9aff16162e2dfb5e52e2167
th -> 63e941e9d17f32a203a98b4c46b793375d41f8d2
2022-05-01 06:57:29 +00:00
Mozilla Releng Treescript 61cc6cd0b3 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
ca -> 8199a4f4bac4a7a1c5ce5f4ce771e0cbedf094b9
de -> 4e91361cc8080cadf10f215c5ea9a96a8acc0646
hye -> 2e466207c462a52c19799ccebfe468f58530b9ee
kab -> 41bd212703e0703f905489242716c7a0296aacea
tg -> 910b4b02bc634c2103d059863f45b96da46ef2e3
2022-04-30 19:02:06 +00:00
Andreea Pavel 6d7f2b26b5 Merge autoland to mozilla-central a=merge 2022-04-30 12:16:39 +03:00
Mozilla Releng Treescript 0775ebd17e no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
cs -> 3ce5f6ed9d1d08b411463f6a4c4f51532310d650
hye -> 073deebe8ef6d2e1ea44b3cf369d232e2fdf7da6
it -> 42a36e828a9dba5231e7ee448d0977bf3aa41297
rm -> 2e861fe331e4bb99d2d1330f2fccd776a2c793d4
sk -> 1e80ae650e925f87af34128b1ead77b9435e1471
te -> cc7242a9915795300cdfb1c09ee5136a8cdb34d2
tg -> 08e98b4dc6d0a6574d4f7c150a41bc80b594635d
2022-04-30 07:00:08 +00:00
Dan Robertson 47b6f96706 Bug 1676299 Part 4: Modify BaseMatrix::ScaleFactors() to return a ScaleFactors2D. r=botond
This changes BaseMatrix::ScaleFactors() to return a ScaleFactors2D instead of
a SizeTyped.

Depends on D145041

Differential Revision: https://phabricator.services.mozilla.com/D144666
2022-04-30 01:35:24 +00:00
Dan Robertson abf76f9787 Bug 1676299 Part 3: Limit early return from PaintFilteredFrame. r=botond
Only return early from PaintFilteredFrame if the scale matrix determinant will
be zero. This should only occur if either the height or width of the context
matrix scale factors are zero.

Depends on D144669

Differential Revision: https://phabricator.services.mozilla.com/D145041
2022-04-30 01:35:24 +00:00
Dan Robertson e8b69c01eb Bug 1676299 Part 2: Check height before exiting PrescaleAndTileDrawable() early. r=mstange
Fix a possible typo, and ensure that both width and height are 1 before
returning from PrescaleAndTileDrawable early.

Depends on D144304

Differential Revision: https://phabricator.services.mozilla.com/D144669
2022-04-30 01:35:23 +00:00
Dan Robertson 959670ae20 Bug 1676299 Part 1: Add the ScaleFactors2DDouble type definition. r=botond
This renames ScaleFactors2D to BaseScaleFactors2D and adds a template
parameter to specify the floating point type to use. This lays the
groudwork for a later patch that will use ScaleFactors2D and
ScaleFactors2DDouble where SizedTyped is used.

Differential Revision: https://phabricator.services.mozilla.com/D144304
2022-04-30 01:35:23 +00:00
Emilio Cobos Álvarez 33e6d54872 Bug 1757604 - Make content-type on JAR channels behave the same as HTTP channels. r=Gijs
That is, treat it as a hint if called before open, and as an override if
called after. Override the hint on open.

This is a less invasive change that is green on try and also fixes the
issue.

Differential Revision: https://phabricator.services.mozilla.com/D145098
2022-04-30 01:24:47 +00:00
alwu eb4bfc22f7 Bug 1764855 - link some MF functions from mfplat.dll r=media-playback-reviewers,jolin
Some functions we're going to use in bug 1758789 haven't been linked yet.

Differential Revision: https://phabricator.services.mozilla.com/D143802
2022-04-30 00:59:05 +00:00
Razvan Cojocaru 90b9d8fa09 Bug 1766078 - Add a ViewAs overload for casting an untyped ScaleFactors2D to a typed one. r=botond
Please note that ScaleFactors2D is missing operator*=() for now,
hence the "resolutionToScreen = resolutionToScreen * X" formula.

Differential Revision: https://phabricator.services.mozilla.com/D144883
2022-04-30 00:24:46 +00:00
Marian-Vasile Laza 0add34c236 Backed out changeset d0ac2dc764de (bug 1766648) for causing sm bustage on bug-1766648-markQueue.js. CLOSED TREE 2022-04-30 02:50:13 +03:00
Ed Lee 2a2b665fa4 Bug 1763666 - Revert various changes back to before Fx100 onboarding r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D145121
2022-04-29 23:40:43 +00:00
Drew Willcoxon f92772721e Bug 1765881 - Part 2: Record Suggest impression cap reset telemetry periodically and on shutdown. r=nanj
Currently we record reset telemetry only when the user performs a search. When I
talked with Rebecca today about the part-1 patch, she mentioned we ought to have
a better guarantee about when this telemetry is recorded. Many users don't
perform searches very often, so we may miss out on this telemetry for them.

There are a couple of ways to mitigate it: Record telemetry periodically and on
shutdown, and this patch does both. I chose one hour for the periodic reporting
period, which seems not too long and not too short.

Now that we are recording periodically, I also moved the existing
`_resetElapsedImpressionCounters()` call from when any search starts (in
`startQuery()`) to when suggestions are triggered (in `_canAddSuggestion()`),
which is right before the impression counters are examined to determine if the
suggestion has hit the cap.

So in summary, we'll now record reset telemetry (when necessary) in these cases:

* When the user triggers a suggestion
* Every hour
* On shutdown

Differential Revision: https://phabricator.services.mozilla.com/D145050
2022-04-29 23:32:44 +00:00
Drew Willcoxon 833ac3d948 Bug 1765881 - Part 1: Limit the number of Suggest impression cap reset telemetry events recorded at once. r=nanj
This records multiple reset "events" inside a single telemetry event instead of
using one telemetry event per reset event like we currently do. It also stops
recording reset events for interval periods that elapsed while the app wasn't
running. This will prevent us from recording a bunch of events at once like we
currently do. Please see the bug for more background.

A new `eventCount` property in the telemetry event's `extra` indicates the
number of reset events that are being reported in the telemetry event.

I talked with Rebecca about these changes and she's OK with them.

Differential Revision: https://phabricator.services.mozilla.com/D145049
2022-04-29 23:32:43 +00:00
Steve Fink a3347529d5 Bug 1766741 - Add some structured clone comments
Differential Revision: https://phabricator.services.mozilla.com/D144892
2022-04-29 22:58:09 +00:00
Andreas Farre a477caf060 Bug 1763527 - Remove OPAQUE_RESPONSE_BLOCKING* probes. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D144791
2022-04-29 22:31:44 +00:00
Steve Fink 3ef5bba257 Bug 1766648 - Disallow marking black if marking will revert to gray r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D145001
2022-04-29 22:21:20 +00:00
Steve Fink 016f33cef4 Bug 1638464 - Do not access HelperThreadState() if it has not been initialized or has been torn down r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D145004
2022-04-29 22:20:45 +00:00
William Durand 31113891df Bug 1767042 - Improve the output of unexpected errors in `SimpleTest.js`. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D145107
2022-04-29 21:02:33 +00:00
William Durand fa75862271 Bug 1761550 - Remove tab after having unloaded the extensions. r=rpl
Initially, I thought the bug was related to a missing `extension.id` in
`ExtensionProcessScript.jsm` [1] but that isn't always reproducible.

There is possibly an issue there but I don't think it is the root cause
of the intermittent here (I would think that other OSes would be affected,
which isn't the case according to [2]).

@rpl and I investigated and we noticed that the mochitest error reported
didn't contain a meaningful error:

```
[object Object] - Should not throw any errors
```

Once we fixed the test framework output, we got:

```
FAIL {"operation":"remove","path":"C:\\Users\\William\\AppData\\Local\\Temp\\generated-extension-23.xpi","winLastError":5,"stack":"","fileName":"(unknown module)"} - Should not throw any errors
```

This is why this patch attempts to fix the intermittent by unloading the
extensions first and then removing the tab. As @rpl said:

> That may actually make sense, maybe removing the tab right before the
> unload prevented the extension to coordinate with the child process and
> make sure we flushed the cache, and that process may not have been yet
> fully destroyed.

[1]: https://searchfox.org/mozilla-central/rev/ecd91b104714a8b2584a4c03175be50ccb3a7c67/toolkit/components/extensions/ExtensionProcessScript.jsm#124
[2]: https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2022-04-22&endday=2022-04-29&tree=trunk&bug=1761550

Differential Revision: https://phabricator.services.mozilla.com/D145104
2022-04-29 21:01:54 +00:00
Steve Fink 036abc801c Bug 1735434 - Gather additional information for cycle collection profiler markers r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D128316
2022-04-29 20:07:23 +00:00
Bobby Holley 83a758a1fb Bug 1767052 - Upgrade crossbeam-utils from 0.8.6 to 0.8.8. r=Gankra
Differential Revision: https://phabricator.services.mozilla.com/D145114
2022-04-29 19:20:00 +00:00
Evgenia Kotovich 884ca04191 Bug 1747689 - Fix browser_addBookmarkForFrame.js running in test verify mode. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D144519
2022-04-29 19:14:22 +00:00
Tom Ritter afd75e5813 Bug 1766323: If the preference service is not initialized; don't say we checked hacks r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D145113
2022-04-29 19:01:22 +00:00
edguloien ee944b4098 Bug 1758524 (WIP) - Implement the http priority incremental flag: added lint fixes and test coverage. Differential Revision: https://phabricator.services.mozilla.com/D142694 r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D142965
2022-04-29 18:36:16 +00:00
edguloien 16595acde2 Bug 1758524 (WIP) - Implement http priority flag r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D142694
2022-04-29 18:36:16 +00:00
Marian-Vasile Laza 871465d2b6 Backed out changeset 3cf1c157d1ef (bug 1762482) for causing bc failures on browser_cross_origin_isolated_performance_api.js. CLOSED TREE 2022-04-30 00:44:18 +03:00
Greg Tatum 9884018277 Bug 1758012 - Add a tutorial for writing an XPCOM Interface; r=xpcom-reviewers,kmag
I wrote this tutorial while documenting my process of adding a
component. I attempted to figure out the process rather than just cargo
culting from examples. The idea is that you can follow along with this
to get a new component going, and then reference the more detailed
documentation for implementation details.

Differential Revision: https://phabricator.services.mozilla.com/D140262
2022-04-29 18:26:54 +00:00
Michael Comella 399f762e90 Bug 1762482 - update PerformanceMeasure to User Timing L3. r=sefeng,smaug
Differential Revision: https://phabricator.services.mozilla.com/D143858
2022-04-29 18:15:56 +00:00
Henrik Skupin dcd3dae49f Bug 1719505 - [remote] Add CDP and WebDriver BiDi tests for navigator.webdriver. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D144984
2022-04-29 17:38:14 +00:00
Henrik Skupin 4d7a8c9ac8 Bug 1719505 - [remote] Add Remote Agent class for content processes. r=webdriver-reviewers,jdescottes
When accessing the nsIRemoteAgent interface from a content
process the running state cannot be determined without
communicating with the Remote Agent class from the parent
process.

Similar to Marionette this patch adds a dedicated class of
the Remote Agent for content processes, and exports an
instance of the appropriate class depending on in which
process the Remote Agent gets created in.

Differential Revision: https://phabricator.services.mozilla.com/D144983
2022-04-29 17:38:14 +00:00
Henrik Skupin 78f7bbce86 Bug 1719505 - [remote] Unify Remote Agent's running state with Marionette. r=webdriver-reviewers,mossop,smaug,keeler,jdescottes
Both components are related to WebDriver and should expose the
same flag for their running state.

Differential Revision: https://phabricator.services.mozilla.com/D144982
2022-04-29 17:38:14 +00:00
Henrik Skupin 19c9ee78f9 Bug 1719505 - [remote] Remove no longer used methods from Remote Agent interface. r=webdriver-reviewers,jdescottes
Both methods have been removed via bug 1717899 and can no
longer be used.

Differential Revision: https://phabricator.services.mozilla.com/D144980
2022-04-29 17:38:13 +00:00
Henrik Skupin bf6675f411 Bug 1719505 - [wdspec] Improvements for WebDriver BiDi Python client. r=webdriver-reviewers,jgraham
The "session.new" command currently doesn't work because the
transport is started after sending the command. This needed
to be flipped.

Also it is helpful to have the event loop of the current
transport available as property on the BiDi session directly.

Differential Revision: https://phabricator.services.mozilla.com/D144979
2022-04-29 17:38:13 +00:00
Henrik Skupin 077de71c0b Bug 1719505 - [wdspec] Fix browser fixture for already existing CDP or BiDi port files. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D144978
2022-04-29 17:38:12 +00:00
Morgan Reschenberg 99932a8cb7 Bug 1735101: Adjust GetCharacterRectsInRange to return physical coordinates for RtL text r=emilio,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D144767
2022-04-29 17:30:59 +00:00
Mark Striemer d521f07ddb Bug 1765634 - Followup: Add start-storybook for Windows support r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D145093
2022-04-29 16:47:45 +00:00
Chun-Min Chang cecfff8df3 Bug 1765312 - Wait for error stop before AudioInputSource::Stop() r=padenot
We need to wait for the stream stop called by the forced error
before calling `AudioInputSource::Stop` to ensure the callback order in
the test. Otherwise, the stream stop called by the forced error on the
background thread will race with the stream stop called by the
`AudioInputSource::Stop` in its task thread.

The problem of the intermittently unexpected callbacks can be reproduced
by adding a delay/thread-sleep in the forced-error's background thread
task. When MockCubeb runs into the error state by `ForceError()`, it
will create a background-thread task to stop the cubeb stream. On the
other hand, when `AuidioInputSource::Stop` is called, it will create a
task to stop the cubeb stream first and then destroy the cubeb stream,
on its own task thread. Most of time, when `AudioInputSource::Stop` is
called, the underlying cubeb stream has been stopped by the brackground
task, so the `MockCubebStream` won't fire the stopped-state callback.
`MockCubeb::StopStream` in `MockCubebStream::Stop()` called by
`AudioInputSource::Stop()` will return a `CUBEB_ERROR` in this case
since no stream needs to be stopped, and so no callback need to be
fired.

However, in rare cases, the stream stop on the AudioInputSource's task
thread finishes before the one in the background thread. Hence, the
`MockCubebStream::Stop()` called by `AudioInputSource::Stop()` can stop
the stream successfully and then fire a stopped state callback.

We don't care what thread stop the stream in
`TestAudioInputSource.ErrorCallback` test, as long as the error-state
cabllback can be forwarded correctly and the stream can be destroyed in
the end. To avoid the racy stream stop calls between the background
thread and the task thread, we don't call `AudioInputSource::Stop()`
until stream is stopped in background thread.

Differential Revision: https://phabricator.services.mozilla.com/D144637
2022-04-29 16:30:29 +00:00
Jed Davis b7bb4def88 Bug 1765299 - Set fd resource limits correctly for child processes on Android. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D144380
2022-04-29 15:29:10 +00:00
Nicolas Chevobbe 8be10dc59d Bug 1766630 - [devtools] Update MDN compat data (2022 April). r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D144810
2022-04-29 14:50:56 +00:00
Emilio Cobos Álvarez fe69d6f771 Bug 1766691 - Add a pref per origin trial. r=k88hudson
This will allow more fine-grained control on a per-trial basis.

Differential Revision: https://phabricator.services.mozilla.com/D144874
2022-04-29 14:44:33 +00:00
Hubert Boma Manilla e8139922ea Bug 1762865 - [devtools] Add assertion for server breakpoints in breakpoints tests r=ochameau
This patch also adds assertions for breakpoints on the server to the
breakpoints reload tests. This also asserts that the breakpoint is not removed
on the server when related source no longer exists after a reload

Differential Revision: https://phabricator.services.mozilla.com/D142545
2022-04-29 14:23:51 +00:00
Hubert Boma Manilla 04c36fa3a5 Bug 1764055 - [devtools] Add tests for breakpoints in original source whose generated source content changes on reload r=ochameau
Updating the bug id

Differential Revision: https://phabricator.services.mozilla.com/D142047
2022-04-29 14:23:51 +00:00
Alexandre Lissy 80d49e2615 Bug 1756407 - Avoid NS_IsMainThread() during exception handling r=gsvelto
Thread local variables might be doing lazy allocation in our back, so
querying for NS_IsMainThread() within an exception handler would trigger
memory allocation which in turn will deadlock our process.

Differential Revision: https://phabricator.services.mozilla.com/D144954
2022-04-29 13:44:12 +00:00
Alexandre Lissy 68da11d927 Bug 1756407 - Make about:restartrequired tests more robust r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D144953
2022-04-29 13:44:12 +00:00
Geoff Brown fb36ca3259 Bug 1745203 - For release, trigger on promote shipping-phase; r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D145018
2022-04-29 13:40:19 +00:00
Butkovits Atila fc54f60211 Backed out 6 changesets (bug 1719505) for causing failures at browser_Troubleshoot.js. CLOSED TREE
Backed out changeset 915b5331f6b2 (bug 1719505)
Backed out changeset 8df69b3445e5 (bug 1719505)
Backed out changeset 674fe8523cf6 (bug 1719505)
Backed out changeset f40c2fe6872d (bug 1719505)
Backed out changeset 3e3df2a6b1e3 (bug 1719505)
Backed out changeset 621024810236 (bug 1719505)
2022-04-29 17:32:32 +03:00
Butkovits Atila b54904a5b3 Backed out changeset 9953ac710a84 (bug 1766630) for causing failures at browser_compatibility_css-property_issue.js. 2022-04-29 17:16:55 +03:00
Frederik Braun 3139021e67 Bug 1757210 - sanitizer restrict href in svg:use to fragment-only URLs r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D139823
2022-04-29 13:04:38 +00:00