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

826752 Коммитов

Автор SHA1 Сообщение Дата
Tom Schuster 25629e5c81 Bug 1810488 - Remove unnecessary ShouldResistFingerprinting call from IsImageExtractionAllowed. r=gfx-reviewers,nical,tjr
Document::ShouldResistFingerprinting is fast enough now.

Differential Revision: https://phabricator.services.mozilla.com/D166897
2023-01-18 08:19:49 +00:00
Mike Hommey a5f8d071a0 Bug 1810627 - Allow to build without a wasi sysroot. r=firefox-build-system-reviewers,ahochheiden
On e.g. Debian unstable, the wasi SDK is available via packages in a
multiarch fashion, which doesn't require the --sysroot flag being passed
to the compiler.

Differential Revision: https://phabricator.services.mozilla.com/D166978
2023-01-18 08:07:24 +00:00
Mike Hommey f369efa9a4 Bug 1747145 - Add more configure checks for the wasm toolchain setup. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166977
2023-01-18 08:07:24 +00:00
Mike Hommey 1f7d2749b0 Bug 1747145 - Only apply stlport flags to configure compiler executions for target. r=firefox-build-system-reviewers,andi
(as opposed to host or wasm)

Differential Revision: https://phabricator.services.mozilla.com/D167112
2023-01-18 08:07:23 +00:00
Noemi Erli cf1f195897 Backed out changeset d9c33212d62e (bug 1807583) for causing build bustage CLOSED TREE 2023-01-18 09:02:54 +02:00
Mozilla Releng Treescript 618c6ee26e no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
el -> cd708f6207a426c5abd0bef45d5c227ff33c915c
es-MX -> a8eb56dcba73557d1475309dacdee85ff7886dc0
hsb -> 154cca038c342eecb7c3ed45ac1b1aa9843f57a0
it -> 0f2c883e0200f1c23587f6e9820c461b1dc8d793
sl -> cdef6d3c7738b8ddb84351fb533c261e99fbc31a
sv-SE -> 88c41117f1aaabf994f5c77d067a087181f6d486
2023-01-18 07:01:14 +00:00
Lee Salzman 5293b6100a Bug 1789449 - Adjust clamp order. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D166759
2023-01-18 05:32:38 +00:00
sotaro fa8e3d7ad6 Bug 1810623 - Pref on webgl.out-of-process and webgl.out-of-process.worker on Android until release r=gfx-reviewers,jnicol
webgl.out-of-process and webgl.out-of-process.worker is already enabled on Android nightly. Since Bug 1794237 and Bug 1798703 were addressed, we do not have a regression bug. Then it seems OK to enable them until release.

Differential Revision: https://phabricator.services.mozilla.com/D166974
2023-01-18 05:08:36 +00:00
Karl Tomlinson 8d30867893 Bug 1735923 - test mixing of synthesized and network fallback range responses r=edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D143867
2023-01-18 03:43:51 +00:00
Karl Tomlinson 2692aaa2d6 Bug 1735923 - avoid caching effects with a different query parameter for each subtest r=padenot
to work around https://bugzilla.mozilla.org/show_bug.cgi?id=1129121

Differential Revision: https://phabricator.services.mozilla.com/D143866
2023-01-18 03:43:50 +00:00
Norisz Fay c1fa36ebc4 Backed out 2 changesets (bug 1810627, bug 1747145) for causing build bustages CLOSED TREE
Backed out changeset 93b94212020f (bug 1810627)
Backed out changeset b5d3998c113c (bug 1747145)
2023-01-18 04:37:58 +02:00
Chris Peterson 4a90b146bd Bug 1807583 - Enable -Wtautological-constant-in-range-compare warnings. r=firefox-build-system-reviewers,glandium
There are no -Wtautological-constant-in-range-compare warnings in C or C++ code in mozilla-central, so we can enable this warning.

However, the -Wtautological-constant-in-range-compare flag also enables -Wtautological-value-range-compare warnings and there are some -Wtautological-value-range-compare warnings in some third-party C code.

I filed https://bugs.chromium.org/p/google-breakpad/issues/detail?id=859 for the Google Breakpad warning.

---

toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/ia32_invariant.c:112:30 [-Wtautological-value-range-compare] result of comparison of 3-bit unsigned value == 101 is always false

js/src/zydis/Zydis/Decoder.c:2200:43 [-Wtautological-value-range-compare] result of comparison of 2-bit unsigned value < 4 is always true
js/src/zydis/Zydis/Decoder.c:2213:43 [-Wtautological-value-range-compare] result of comparison of 2-bit unsigned value < 4 is always true
js/src/zydis/Zydis/Decoder.c:2226:43 [-Wtautological-value-range-compare] result of comparison of 2-bit unsigned value < 4 is always true
js/src/zydis/Zydis/Decoder.c:3650:46 [-Wtautological-value-range-compare] result of comparison of 3-bit unsigned value < 8 is always true
js/src/zydis/Zydis/SharedData.c:119:47 [-Wtautological-value-range-compare] result of comparison of 15-bit unsigned value != 65535 is always true

third_party/aom/aom_dsp/intrapred.c:94:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:123:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:152:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:413:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:444:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:475:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true

Differential Revision: https://phabricator.services.mozilla.com/D165522
2023-01-18 02:04:53 +00:00
Masayuki Nakano 11e6b5ed0f Bug 1810620 - Make `ContentCacheInChild::CacheTextRects` check `mSelection.isSome()` at logging it r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D166980
2023-01-18 01:32:55 +00:00
Mike Hommey 0b48226343 Bug 1810627 - Allow to build without a wasi sysroot. r=firefox-build-system-reviewers,ahochheiden
On e.g. Debian unstable, the wasi SDK is available via packages in a
multiarch fashion, which doesn't require the --sysroot flag being passed
to the compiler.

Differential Revision: https://phabricator.services.mozilla.com/D166978
2023-01-18 01:08:12 +00:00
Mike Hommey 2cea3ab762 Bug 1747145 - Add more configure checks for the wasm toolchain setup. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166977
2023-01-18 01:08:11 +00:00
alwu 1f44f13846 Bug 1810840 - correct wrong process name in the comment. r=media-playback-reviewers,azebrowski
Differential Revision: https://phabricator.services.mozilla.com/D167079
2023-01-18 01:02:54 +00:00
Eden Chuang 473cb0ffa2 Bug 1351231 - Integrate FetchChild into Fetch.cpp r=dom-worker-reviewers,jesup
Depends on D142437

Differential Revision: https://phabricator.services.mozilla.com/D142704
2023-01-18 00:50:20 +00:00
Eden Chuang 159a61e1f2 Bug 1351231 - FetchService integration for PFetch. r=dom-worker-reviewers,jesup
Depends on D142436

Differential Revision: https://phabricator.services.mozilla.com/D142437
2023-01-18 00:50:20 +00:00
Eden Chuang 594d02ea78 Bug 1351231 - PFetch protocol declaration and implementation. r=dom-worker-reviewers,jesup
Depends on D138813

Differential Revision: https://phabricator.services.mozilla.com/D142436
2023-01-18 00:50:19 +00:00
Eden Chuang 0493dfe7d9 Bug 1351231 - Support conversation between InternalRequest and IPCInternalRequest. r=dom-worker-reviewers,jesup
Depends on D138812

Differential Revision: https://phabricator.services.mozilla.com/D138813
2023-01-18 00:50:19 +00:00
Eden Chuang 93c60889a2 Bug 1351231 - Preference for PFetch. r=dom-worker-reviewers,jesup.
Differential Revision: https://phabricator.services.mozilla.com/D138812
2023-01-18 00:50:18 +00:00
Karl Tomlinson 964f46610a Bug 1794961 enable Audio Output Devices API on Desktop Nightly r=jib
Differential Revision: https://phabricator.services.mozilla.com/D160308
2023-01-18 00:47:29 +00:00
Iain Ireland daf613efc5 Bug 1799024: Add emitOptimisticClassGuard r=jandem
I looked at every call to `guardClass` in CacheIR.cpp and modified it unless:
1. It was in an IC that we already only attach once (eg tryAttachTypedArrayConstructor).
2. It was only being generated in megamorphic code.
3. It was for WindowProxy (we already have issues with globals changing shape).

Then I collected rough statistics from Speedometer / Facebook / CNN / Reddit:

```
                  | FirstStub | NotFirstStub | Percent
Array             |     11882 |         1141 |  9.6%
Map               |      1425 |           41 |  2.9%
Set               |       447 |            0 |  0.0%
DataView          |        42 |            5 | 11.9%
MappedArguments   |       952 |          716 | 75.2%
UnmappedArguments |     25688 |        13724 | 53.4%
JSFunction        |       121 |           99 | 81.8%
```

The failure rate for arguments and JSFunction was way too high, so I removed the code for those.

Differential Revision: https://phabricator.services.mozilla.com/D166840
2023-01-18 00:40:56 +00:00
Zach Hoffman 4e80d75bce Bug 1810657 - Apply slow selector flags before matching r=emilio
This patch fixes a bug introduced by bug 1808228/D166266, where, if an
element does not initially match :nth-child(An+B of selector list) or
:nth-last-child(An+B of selector list), changing a sibling or ancestor
will not invalidate that element.

Differential Revision: https://phabricator.services.mozilla.com/D166982
2023-01-18 00:36:42 +00:00
Jim Blandy cd4137f9be Bug 1808985: Check for force-enabled WebGPU in the proper order. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D166856
2023-01-18 00:16:31 +00:00
Butkovits Atila 48deb38631 Backed out 2 changesets (bug 1735923) for causing wpt failures at fetch-canvas-tainting-video-with-range-request.https.html. CLOSED TREE
Backed out changeset 7069c85fec77 (bug 1735923)
Backed out changeset 84202394415c (bug 1735923)
2023-01-18 03:34:09 +02:00
Butkovits Atila 9268f063c3 Backed out changeset 39f3534179a7 (bug 1743887) for causing failures at browser_screenshots_test_screenshot_too_big.js. 2023-01-18 03:30:07 +02:00
Butkovits Atila 25ce224366 Backed out 2 changesets (bug 1809464, bug 1644104) for causing failures at test_principal.html.
Backed out changeset f537b6744b81 (bug 1644104)
Backed out changeset c56d2c4b4f77 (bug 1809464)
2023-01-18 02:36:00 +02:00
Masayuki Nakano c83d685fe9 Bug 1808906 - Make the style editor handle `<font>` at last when there are multiple preserved styles r=m_kato
Height of inline elements are considered with current `font-size` and
`line-height`.  Therefore, if content in inline elements are taller, the
`background-color` does not fill the bigger content background entirely.
For solving this issue, Chrome handles styles of `<font>` element as
outer-most style.  This is reasonable approach, let's follow this.

For solving this issue, we can change the order of `PreservedStyle`s at setting
the preserved styles.  Then, `SetInlinePropertiesAsSubAction` is called with
reversed order and apply later style first and applies newer styles to all
content in an element which is previously inserted.  Therefore, the `<font>`
element styles should be last elements of `PendingStyles::mPreservingStyles`.

When applying new style, our style editor does not reuse existing `<font>`
element, and this causes writing WPT harder.  Therefore, this patch also changes
the applying range of `<font>` style to wrapping existing `<font>` element if
and only if its content is entirely selected.

Unfortunately, this approach cannot get exactly same result as Chrome because we
insert outer-most `<font>` element first, then, try to apply `background-color`,
at this moment, our style editor applies the style to the previously inserted
`<font>` element instead of creating new `<span>` element.  This behavior is
required for compatibility in the other cases.  Additionally, changing only this
behavior requires a lot of method changes to specify how to handle it.  However,
this incompatible behavior may not cause any problems in web apps in the wild.
Therefore, this patch does not solve this incompatible issue.  I think that once
we get a bug report caused by this difference, we should redesign how to set
multiple inline styles once.

Differential Revision: https://phabricator.services.mozilla.com/D166617
2023-01-17 23:46:58 +00:00
Nico Grunbaum cf15cf16a9 Bug 1810274 - correct typo in update action move-dir;r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D166862
2023-01-17 23:27:33 +00:00
Hanna Jones 9529a09b44 Bug 1803676 - expanding storybook/reusable components documentation r=tgiles,mstriemer
Took a stab at revamping and adding to the Storybook README. The stuff on reusable components should probably be in a separate document, but I wasn't sure where to put it just yet. Eventually some part of this doc will become our Storybook landing page.

Differential Revision: https://phabricator.services.mozilla.com/D166209
2023-01-17 22:07:24 +00:00
Norisz Fay ffdd7aec10 Backed out 2 changesets (bug 1809640, bug 1809638) for causing failures on test_TelemetryEnvironment_search.js CLOSED TREE
Backed out changeset 3a9f7afc3a03 (bug 1809640)
Backed out changeset d55613298e72 (bug 1809638)
2023-01-17 23:53:18 +02:00
Mark Banner 1b717b4a1f Bug 1809640 - Move add-on search engine checks from the search service to AddonSearchEngine. r=search-reviewers,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D166530
2023-01-17 21:13:49 +00:00
Mark Banner 1eb7e9059d Bug 1809638 - Save the extension id in AddonSearchEngine's constructor rather than in init(). r=search-reviewers,mcheang
This save passing around the id in the update and init functions.

Differential Revision: https://phabricator.services.mozilla.com/D166529
2023-01-17 21:13:49 +00:00
James Teh 29c03d7779 Bug 1757127 part 2: Use the unified Language method for ATK, IA2 and XPCOM. r=nlapre
Differential Revision: https://phabricator.services.mozilla.com/D166858
2023-01-17 20:35:22 +00:00
James Teh 4b0234eb8e Bug 1757127 part 1: Move LocalAccessible::Language to Accessible and implement for cached RemoteAccessible. r=nlapre
Since language is also exposed as a text attribute and we cache all text attributes, we already cache this.
Thus, the RemoteAccessibleBase implementation just fetches it from the text attributes cache.

Differential Revision: https://phabricator.services.mozilla.com/D166857
2023-01-17 20:35:21 +00:00
Otto Länd 50d8582bf4 Bug 1809498, 1810240: apply code formatting via Lando
# ignore-this-changeset
2023-01-17 20:33:50 +00:00
Mike Conley 5dc341d64b Bug 1810240 - Make sure migration dialog container resizes when the wizard changes size. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D166839
2023-01-17 20:30:59 +00:00
Mike Conley 57e1ffed61 Bug 1809498 - Make browser.migrate.content-modal.enabled also control opening the new migration-dialog.html document. r=niklas
Differential Revision: https://phabricator.services.mozilla.com/D166838
2023-01-17 20:30:58 +00:00
Geoff Brown 81116a72da Bug 1808968 - Sync mozharness tooltool with mozbuild tooltool r=bhearsum
Update the mozharness version of tooltool.py to be identical with the copy
in python/mozbuild.
The main changes to mozharness tooltool.py are:
https://hg.mozilla.org/mozilla-central/rev/4aae9dc67310a0d7cc8eae3c415205b9930c153d
https://hg.mozilla.org/mozilla-central/rev/e2325123dc9724fefc8184a4538280670f3f2500
https://hg.mozilla.org/mozilla-central/rev/994acf4a06d5c2ac892e287a42617989e3d43ce4
The only expected change to functionality is that mozharness tooltool.py will now support .tar.zst files.

Differential Revision: https://phabricator.services.mozilla.com/D167084
2023-01-17 20:28:07 +00:00
Gijs Kruitbosch 0fe7b6877b Bug 1810715 - update gc / cc leak finding documents a tiny bit for clarity, r=mccr8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D167007
2023-01-17 20:25:47 +00:00
Edgar Chen b7397e64ea Bug 1794622; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D161133
2023-01-17 20:22:16 +00:00
alwu b4652a98ce Bug 1809985 - part2 : create a browser test task for wmfme. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166729
2023-01-17 20:00:49 +00:00
alwu b6fd1283a6 Bug 1809985 - part1 : add a test to ensure that playback can be recovered from crash. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D166721
2023-01-17 20:00:49 +00:00
alwu 9ebf1f03a8 Bug 1808804 - part4 : recover playback to what it was before crash. r=jolin
We will recover playback by performing seeking to the last played
position and keep the play state correct.

Differential Revision: https://phabricator.services.mozilla.com/D166490
2023-01-17 20:00:48 +00:00
alwu f146623d42 Bug 1808804 - part3 : keep statistic data growing correctly. r=jolin
The new statistic data sent from the new media engine which we created
after crash would be a completedly new data.

However, we might have accumulated some data in our `mFrameStats` before
crash. We need to consider the statistic data we've accumulated before
in order to make `mFramsStats` growing correctly.

Differential Revision: https://phabricator.services.mozilla.com/D166412
2023-01-17 20:00:47 +00:00
alwu d7d8b580d4 Bug 1808804 - part2 : handle the MF CDM process crash in the external state machine. r=jolin
This patch makes the external state machine be able to recover playback
when the MF CDM process crash.

In addition, one of the important thing is that, the external state
machine would need to recreate the MFMediaEngineParent/Child actor
first, before the media format reader recreate the remote decoder.

Otherwise, the new created remote decoder won't be able to find the
correct media engine stream, which would be created after finishing
the initializtion of the engine parent actor and the media source.

Differential Revision: https://phabricator.services.mozilla.com/D166411
2023-01-17 20:00:47 +00:00
alwu 470b9ff545 Bug 1808804 - part1 : return a new error when the MF CDM process crashes. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D166409
2023-01-17 20:00:46 +00:00
Gijs Kruitbosch bfd7c98ba3 Bug 1635761 - disable cancel drag animation on macOS for tabs dragged out of the window, r=emilio,mconley
Differential Revision: https://phabricator.services.mozilla.com/D166963
2023-01-17 19:48:24 +00:00
Mark Striemer 2c4c02137b Bug 1804162 - Enable context-properties in local Storybook r=hjones
Differential Revision: https://phabricator.services.mozilla.com/D166959
2023-01-17 19:21:32 +00:00