Commit Graph

812900 Commits

Author SHA1 Message Date
Tooru Fujisawa
ed418d41dd Bug 1800641 - Part 10: Add ScriptLoadRequest::mLoadedScript. r=nbp
Depends on D197847

Differential Revision: https://phabricator.services.mozilla.com/D197848
2024-01-08 14:57:39 +00:00
Tooru Fujisawa
c389c518db Bug 1800641 - Part 9: Add LoadedScript::mURI and call SetBaseURL separately. r=nbp
Depends on D197846

Differential Revision: https://phabricator.services.mozilla.com/D197847
2024-01-08 14:57:39 +00:00
Tooru Fujisawa
ad3f8f8a06 Bug 1800641 - Part 8: Add LoadContextBase* parameter to ScriptLoadRequest methods which is going to be moved to LoadedScriptDelegate. r=nbp
Depends on D197845

Differential Revision: https://phabricator.services.mozilla.com/D197846
2024-01-08 14:57:38 +00:00
Tooru Fujisawa
9b4d6d328e Bug 1800641 - Part 7: Add ScriptLoadRequest::State::{CheckingCache,PendingFetchingError}. r=nbp
Depends on D197844

Differential Revision: https://phabricator.services.mozilla.com/D197845
2024-01-08 14:57:38 +00:00
Tooru Fujisawa
e45786c019 Bug 1800641 - Part 6: Add ScriptLoadRequest::{,Set}ReceivedScriptTextLength. r=nbp
Depends on D197843

Differential Revision: https://phabricator.services.mozilla.com/D197844
2024-01-08 14:57:38 +00:00
Tooru Fujisawa
bcb3790794 Bug 1800641 - Part 5: Add ScriptLoadRequest::DropBytecode. r=nbp
Depends on D197842

Differential Revision: https://phabricator.services.mozilla.com/D197843
2024-01-08 14:57:37 +00:00
Tooru Fujisawa
168d0ccdd7 Bug 1800641 - Part 4: Add ScriptLoadRequest::{Get,Set}SRILength. r=nbp
Depends on D197841

Differential Revision: https://phabricator.services.mozilla.com/D197842
2024-01-08 14:57:37 +00:00
Tooru Fujisawa
929368a3f4 Bug 1800641 - Part 3: Add ScriptLoadRequest::SRIAndBytecode. r=nbp
Depends on D197840

Differential Revision: https://phabricator.services.mozilla.com/D197841
2024-01-08 14:57:36 +00:00
Tooru Fujisawa
59f39b43f5 Bug 1800641 - Part 2: Add ScriptLoadRequest::Bytecode and let JSExecutionContext::Decode receive JS::TranscodeRange. r=nbp
Depends on D197839

Differential Revision: https://phabricator.services.mozilla.com/D197840
2024-01-08 14:57:36 +00:00
Tooru Fujisawa
cac32b6d4d Bug 1800641 - Part 1: Move ScriptFetchOptions into its own file. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D197839
2024-01-08 14:57:36 +00:00
andrej
108242bd93 Bug 1857574 - Disable motionmark ramp tests on osx. r=perftest-reviewers,kshampur
On the chrome browser, motionmark ramp tests are returning an invalid score of 1 for all test suites in CI
So we are disabling the tests on osx1015 while we debug the issues

Differential Revision: https://phabricator.services.mozilla.com/D197720
2024-01-08 14:16:13 +00:00
Jon Coppeard
5b616cb064 Bug 1871186 - Make Nursery::allocateZeroedBuffer return |isMalloced| as false on failure r=jandem
This can currently causes an assertion failure but is not otherwise problematic.

Differential Revision: https://phabricator.services.mozilla.com/D197911
2024-01-08 13:56:40 +00:00
Dan Robertson
3a2f988702 Bug 1872772 - Remove apz.scrollend-event.content.enabled preference. r=nchevobbe,botond,devtools-reviewers,webidl,smaug
The scrollend event has been content enabled by default for about a
year. Remove the preference that allows the feature to be chrome-only.

Differential Revision: https://phabricator.services.mozilla.com/D197699
2024-01-08 13:36:42 +00:00
Valentin Gosu
bb40ab94d8 Bug 1859608 - Change the user's DoH region when that changes r=necko-reviewers,sunil,kershaw
The DoHConfig now listens for region change notification and
saves the new region in a pref. On the next initialization of
the DoH config we will use the saved pref to update the doh
region even if the pref was already set.

This should also work for testing (manually setting the value of the
pref) as long as no region changes happen.

Differential Revision: https://phabricator.services.mozilla.com/D195023
2024-01-08 13:11:10 +00:00
Jan de Mooij
300c8b1914 Bug 1474447 - Use MAP_JIT on Intel Macs too. r=iain
We've been using `MAP_JIT` on Apple Silicon since bug 1837194.

With this change we no longer need the `com.apple.security.cs.allow-unsigned-executable-memory`
entitlement for the JITs (pre-release Firefox still needs it for the `IOInterposer`
on Intel).

Support for `MAP_JIT` is enabled by the separate `com.apple.security.cs.allow-jit` entitlement.

Intel Macs don't have the `pthread_jit_write_protect_np` API, so we use a similar
strategy as on Apple Silicon but with `mprotect` added to it.

Differential Revision: https://phabricator.services.mozilla.com/D197787
2024-01-08 12:33:33 +00:00
Timothy Nikkel
e1e0b80f9b Bug 1873414. In MaybeCreateDisplayPortInFirstScrollFrameEncountered descend into leaf frames because they can contain anonymous content. r=layout-reviewers,emilio
Leaf frames can contain anonymous content, for example text control frames, and we were activating them before and not activating them caused a perf regression in some tests, so restore that behaviour.

This illustrates that some of the performance improvement of using the leaf check came from not descending into some subtrees and changes the perf balance of the patch from bug 1872564. I re-did the measurements with this new constraint and now the IsScrollContainer check is faster, so I switched to using that.

Differential Revision: https://phabricator.services.mozilla.com/D197904
2024-01-08 11:56:19 +00:00
Updatebot
a8fea3bed6 Bug 1872670 - Update xsimd to 3216c13f180e671d61b8bf7ecb96168f78592100 r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D197498
2024-01-08 10:56:51 +00:00
Emilio Cobos Álvarez
b7fd0acf52 Bug 1872997 - Refactor some code in tooltips-overlay.js. r=devtools-reviewers,nchevobbe
Debugging with disable_autohide, I saw a few "tooltip.revert is not a
function errors". Unify this code to deal with that consistently, but I
don't think it has user impact.

Differential Revision: https://phabricator.services.mozilla.com/D197792
2024-01-08 10:00:44 +00:00
Emilio Cobos Álvarez
5451b23739 Bug 1869796 - Minor nsWindow clean-ups. r=stransky
nsBaseWidget already stores these / exposes IsPIPWindow().

Differential Revision: https://phabricator.services.mozilla.com/D197866
2024-01-08 09:55:58 +00:00
Vinny Diehl
0a423a8247 Bug 1873402 - Remove vestigal code from Date.parse r=arai
Differential Revision: https://phabricator.services.mozilla.com/D197881
2024-01-08 08:27:36 +00:00
Emilio Cobos Álvarez
34b23f39ab Bug 1873370 - Enable custom highlight API on css/cssom tests. r=jjaschke
And remove stale fission + android timeout expectation.

Differential Revision: https://phabricator.services.mozilla.com/D197873
2024-01-08 08:10:29 +00:00
Emilio Cobos Álvarez
70c3b51082 Bug 1871535 - Use a less opaque check color for dark disabled checkboxes. r=spohl
On a darker background this should be fine.

Differential Revision: https://phabricator.services.mozilla.com/D197875
2024-01-08 08:00:37 +00:00
Mozilla Releng Treescript
51fd5bfae2 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
br -> 4a456a84084370d6967e3bd266ebbc9f0e7d64ba
eo -> ed48cf52c1971c82289a38fc8824f1259cfbea81
fi -> ff897095a0dc645cc6863aa16ed189b64505b572
pa-IN -> 045ef84c4a0f61d7e87502f77e5632befd1b742f
2024-01-08 07:02:17 +00:00
alwu
74dc396f6a Bug 1872973 - part2 : add EME tests on wmfme. r=ci-and-tooling,jolin,aryx
Depends on D197763

Differential Revision: https://phabricator.services.mozilla.com/D197764
2024-01-08 02:37:04 +00:00
alwu
601ab59392 Bug 1872973 - part1 : use default config for clearkey. r=jolin
For the media fundation based CDMs, we usually use WMFCDMImpl to get a
capabilities from the MFCDM process in order to get a precise
capabilites result from CDMs.

However, for clearkey, it's all implemented by ourselves and its
capabilites always keep the same, so we can simply just use our
predefined capabilites without asking the MFCDM process.

Differential Revision: https://phabricator.services.mozilla.com/D197763
2024-01-08 02:37:03 +00:00
Paul Bone
80f3563f0f Bug 1870550 - Enable some existing memory telemetry in release r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D196695
2024-01-08 00:54:01 +00:00
Karl Tomlinson
05aadf51e4 Bug 1871838 simply produce silence if stop time is before start time r=media-playback-reviewers,alwu
OscillatorNode is now similar in this way to ConstantSourceNode.
https://searchfox.org/mozilla-central/rev/f6776253b65c05351b4004fe7c3353cac8d8a4af/dom/media/webaudio/ConstantSourceNode.cpp#88-89

Differential Revision: https://phabricator.services.mozilla.com/D197405
2024-01-07 23:24:05 +00:00
sotaro
c66558645d Bug 1868927 - Remove RemoteTextureHostWrapper's async mode r=gfx-reviewers,lsalzman
By removing the async mode, remote texture implementation becomes simpler.

Differential Revision: https://phabricator.services.mozilla.com/D197323
2024-01-07 22:47:05 +00:00
Mark Banner
fd7cb7d12a Bug 1873010 - Remove chai-json-schema module from aboutwelcome/asrouter/newtab test code as it is not used. r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D197669
2024-01-07 22:10:13 +00:00
Mozilla Releng Treescript
d5c39f2cd1 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
br -> e218e3e38d896457364bba63fb6c460bfde82ed0
fi -> 112685688916b3591ad9da77280fbdad649c88be
ia -> d2c543b7f582de3a2f90975613896058c15a1876
skr -> 0b2e28e1b67169583839b1e3be11523bf6ab656e
2024-01-07 19:01:39 +00:00
Rob Wu
581929fadf Bug 1870905 - Skip repopulate on error in AddonRepository r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D197593
2024-01-06 21:41:22 +00:00
Andrew Osmond
f8fdd66fbb Bug 1873084 - Prefer downgrading acceleration over disabling GPU process with initialization failures. r=jrmuizel
This patch makes it so that if we encounter an issue launching the GPU
process, we attempt to fallback first over disabling the GPU process.
This is because the different acceleration modes we might start with
change how we initialize. It may be possible to have a pure Software
WebRender GPU process with a given users configuration.

Differential Revision: https://phabricator.services.mozilla.com/D197827
2024-01-06 19:41:35 +00:00
Anna Yeddi
affcfa031b Bug 1789051 - Re-enable a11y_checks for browser/components/urlbar/tests/browser/browser_view_selectionByMouse.js. r=CosminS
The test was skipped while the main fix for the underlying issue was resolved in bug 1867430. Since the blocking bug was resolved, test should be re-enabled.

In general, using `skip-if` notation instead of `fail-if` prevents the test from reporting when it would actually start passing, when the issue is resolved.

Differential Revision: https://phabricator.services.mozilla.com/D197805
2024-01-06 19:11:44 +00:00
Mozilla Releng Treescript
3e8c16a90a no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
da -> 6e0c2caf35cd65e1e8e0f07d4d766f81f1fa9e75
he -> 8751742466a1c840e4191ee0f8531310b9901eb9
it -> 51126575a26261f8df104f0a35a8e9a14f84e167
ja -> 1c7847fd40c2da2043ff352418188b1fb6642792
ja-JP-mac -> d136ccaaa8eb1cac529a69243f9002a3a9d49d3f
nb-NO -> 07f0920574b888a9b250feed0c1ef820512b1be9
nn-NO -> 9b921b19db9d4558cf67853940d7561ae6b27dd4
sk -> e648faf55a04b9e6e2943ef78cb34dbfe6cc560c
skr -> 917c748cc2ac994f93df8ab00c07732175475348
sq -> 1ec84d3cf9982ffe3ec226a51e1c71c4d51727dd
uk -> cd82c1a732784cc6f23cac5ef6fff1bfcd4bbb21
zh-CN -> 2d00ee7f558f9ce66885702536e00bbb4dacf0d6
2024-01-06 18:59:48 +00:00
Redfire
607de96208 Bug 1873317 - Change JS_PUBLIC_API function parameters with mozilla::Range to take references. r=spidermonkey-reviewers,evilpie
Differential Revision: https://phabricator.services.mozilla.com/D197851
2024-01-06 18:37:22 +00:00
Jim Blandy
228b78e4e7 Bug 1809567: Propagate promise creation failures in mozilla::webgpu::Device::CreateShaderModule. r=webgpu-reviewers,webidl,smaug,saschanaz,ErichDonGubler
If creation of the `CompilationInfo` promise fails in
`mozilla::webgpu::Device::CreateShaderModule`, propagate the error
properly, rather than leaving a local `ErrorResult` unhandled.

Differential Revision: https://phabricator.services.mozilla.com/D197600
2024-01-06 17:06:19 +00:00
Vinny Diehl
79499d3f89 Bug 1873186 - Deprecate day of week late in Date.parse format r=arai
Differential Revision: https://phabricator.services.mozilla.com/D197838
2024-01-06 12:45:21 +00:00
Gregory Pappas
286b4da55f Bug 1873311 - Remove unused layout.spammy_warnings.enabled pref r=dholbert
Since bug 1726291 this pref does not do anything

Differential Revision: https://phabricator.services.mozilla.com/D197835
2024-01-06 07:29:32 +00:00
Mozilla Releng Treescript
0d24ab0ce4 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
gl -> 785615c09463f9722fbc00168cf07b0c90c6ace9
zh-CN -> b108a6748a8cd10a59df0ee6fb107799750d53d9
2024-01-06 07:03:03 +00:00
moz-wptsync-bot
5e65a44648 Bug 1873246 - [wpt-sync] Update web-platform-tests to 0a3f2e840cf62c44f5b0961dacc6df7e2f0bf071, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 0a3f2e840cf62c44f5b0961dacc6df7e2f0bf071
wpt-type: landing
2024-01-06 03:57:41 +00:00
moz-wptsync-bot
4c60ae7ae8 Bug 1864410 [wpt PR 43110] - Update wpt metadata, a=testonly
wpt-pr: 43110
wpt-type: metadata
2024-01-06 03:57:40 +00:00
Filip Skokan
1da6c95ca3 Bug 1864410 [wpt PR 43110] - WebCryptoAPI: add a test for any ECDH importKey JWK alg, a=testonly
Automatic update from web-platform-tests
WebCryptoAPI: add a test for any ECDH importKey JWK alg (#43110)

--

wpt-commits: 0a3f2e840cf62c44f5b0961dacc6df7e2f0bf071
wpt-pr: 43110
2024-01-06 03:57:39 +00:00
moz-wptsync-bot
2474d2f792 Bug 1872156 [wpt PR 43803] - Update wpt metadata, a=testonly
wpt-pr: 43803
wpt-type: metadata
2024-01-06 03:57:39 +00:00
Jonathan Hao
7cdcf9bb85 Bug 1872156 [wpt PR 43803] - [CSP] Regression WPT for nonce hiding on dangling html/body, a=testonly
Automatic update from web-platform-tests
[CSP] Regression WPT for nonce hiding on dangling html/body

See bug or https://crrev.com/c/5149755

Bug: 1513216
Change-Id: Ie04e0d900e8d49ffd99fc60579f50cbd460cad2a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5148217
Commit-Queue: Jonathan Hao <phao@chromium.org>
Commit-Queue: Yifan Luo <lyf@chromium.org>
Reviewed-by: Yifan Luo <lyf@chromium.org>
Auto-Submit: Jonathan Hao <phao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1241168}

--

wpt-commits: 4ec8cb88ca8735aada4e6be7721f5ed65241c0f2
wpt-pr: 43803
2024-01-06 03:57:38 +00:00
Nolan Lawson
c32c65ec43 Bug 1861214 [wpt PR 42748] - Remove the content attribute when a JS ARIA attribute is set to undefined, a=testonly
Automatic update from web-platform-tests
Include undefined in ARIA reflection nullability tests

--

wpt-commits: cf158fc100994197206a71c69e72bbd4107d0568
wpt-pr: 42748
2024-01-06 03:57:37 +00:00
moz-wptsync-bot
8f38dadf29 Bug 1871990 [wpt PR 43796] - Update wpt metadata, a=testonly
wpt-pr: 43796
wpt-type: metadata
2024-01-06 03:57:37 +00:00
Tab Atkins Jr
f4d35e633c Bug 1871990 [wpt PR 43796] - Pseudos after ::part() are valid, a=testonly
Automatic update from web-platform-tests
Pseudos after ::part() are valid (#43796)

<https://drafts.csswg.org/selectors/#pseudo-element-states> restricts pseudo-classes on pseudo-elements to the user action and logical combo ones *by default*, but allows other specs to allow other pseudos.

<https://drafts.csswg.org/css-shadow-parts/#part> allows all pseudo-classes (but defines that a few never match, if they reveal tree structure).
--

wpt-commits: 58d32991e2856b75576fbf6b32a40fc3390c60bb
wpt-pr: 43796
2024-01-06 03:57:36 +00:00
Aditya Keerthi
d730d6055e Bug 1871993 [wpt PR 43798] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=261898, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=261898 (#43798)

--

wpt-commits: aa1c1309dc52077e454713c7718746bc5282e393
wpt-pr: 43798
2024-01-06 03:57:36 +00:00
moz-wptsync-bot
3de7f3a338 Bug 1871855 [wpt PR 43788] - Update wpt metadata, a=testonly
wpt-pr: 43788
wpt-type: metadata
2024-01-06 03:57:35 +00:00
Anne van Kesteren
1a82c4a531 Bug 1871855 [wpt PR 43788] - Generalize ::marker getComputedStyle test to also cover ::view-transition, a=testonly
Automatic update from web-platform-tests
Generalize ::marker getComputedStyle test to cover more pseudo elements

--

wpt-commits: 73caf716542762aab6646f0a02de208bc0ec4124
wpt-pr: 43788
2024-01-06 03:57:34 +00:00