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

859672 Коммитов

Автор SHA1 Сообщение Дата
Thomas Wisniewski 62a5aa5313 Bug 1838841 - Ship v120.0.0 of the WebCompat System Addon; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191233
2023-10-18 16:28:46 +00:00
Marco Bonardo c409f41ef4 Bug 1859779 - Empty Promise.reject() times out an xpcshell test, instead of failing immediately. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D191319
2023-10-18 16:21:13 +00:00
Jan Varga c24a69f06a Bug 1857979 - Ignore responses which need to deserialize structured clone data when the global is already gone; r=dom-storage-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D191271
2023-10-18 16:04:47 +00:00
Jared Hirsch 647ec3c41e Bug 1855810 - Implement telemetry event for shopping ad impressions. r=perry.mcmanis
Differential Revision: https://phabricator.services.mozilla.com/D190959
2023-10-18 15:48:34 +00:00
Jared Hirsch 8f2c031477 Bug 1855812 - Implement telemetry event for shopping ad clicks. r=perry.mcmanis
Differential Revision: https://phabricator.services.mozilla.com/D190958
2023-10-18 15:48:34 +00:00
Iulian Moraru 3772854173 Backed out changeset 667d97f09248 (bug 1847503) for causing reftest failures on anim-css-fill-overflow-1-by.svg. CLOSED TREE 2023-10-18 19:04:41 +03:00
Jari Jalkanen 906080171f Bug 1791767 - Make thread pool event target available in IDB ConnectionPool. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D190599
2023-10-18 15:35:41 +00:00
Tooru Fujisawa 5d9a5df4e1 Bug 1846407 - Use enum class for Task::Run return value. r=bas,win-reviewers,rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D185043
2023-10-18 15:23:29 +00:00
Chris Peterson f0fc75a765 Bug 1859227 - Remove obsolete ogg solaris-types.patch to fix Solaris build. r=media-playback-reviewers,padenot
Compiling ogg on Solaris no longer requires solaris-types.patch because
the ogg typedefs defined using std int types in os_types.h are adequate.

Differential Revision: https://phabricator.services.mozilla.com/D191265
2023-10-18 15:05:51 +00:00
Tiaan Louw 426a8dd5e2 Bug 1847503 - Map colors into gamut limits before rendering. r=layout-reviewers,emilio
When colors are converted to sRGB to render onto the display, make sure
that they are within sRGB gamut limits.

Gamut mapping is implemented according to:
https://drafts.csswg.org/css-color-4/#gamut-mapping

The color-mix-non-srgb-001 test is checking the expected result in
sRGB, which happens to be out of gamut limits, but because the test
is for color-mix and not gamut mapping, I changed the expected
results to the color space of the mix.

Differential Revision: https://phabricator.services.mozilla.com/D191083
2023-10-18 14:16:40 +00:00
CanadaHonk 2e45b3450f Bug 1622090 - Implement loading=lazy for <iframe> r=emilio
Initial implementation for <iframe loading=lazy>

Also cleaned up some image lazy loading to be generalised
(sharing an intersection observer and some enums/funcs in Element).

Unimplemented details:
 - Window load should not wait for in view lazy loading iframes.
   Unplanned for this patch and ship for now.
   (Chromium fail, WebKit pass)

We also pass some other WPTs other engines do not too already too.
Also added a WPT to ensure using parse-time base URI for lazy -> eager iframes.

Differential Revision: https://phabricator.services.mozilla.com/D190662
2023-10-18 14:13:29 +00:00
Benjamin VanderSloot 889a34c39e Bug 1857593 - Enable GPC in Private Browsing Mode by default - r=jewilde,anti-tracking-reviewers,necko-reviewers,valentin,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D191095
2023-10-18 13:30:51 +00:00
Julian Seward bd77206ff9 Bug 1858969 - arm32: make MacroAssembler::wasmBoundsCheck32 handle offsets >= 4096. r=nbp.
On arm32, MacroAssembler::wasmBoundsCheck32 routes the load directly to
`ma_ldr`, but that can't handle an offset of more than 4095.  This patch
routes it via `ma_dataTransferN` instead, which can handle any offset.
For the small-offset case, the generated code remains unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D191280
2023-10-18 13:30:08 +00:00
Makoto Kato a9331c503a Bug 1856267 - Consider incompatible breaking rules for old line segmenteri vs new line segmenter. r=TYLin
Even if ASCII, old line segmenter rules aren't compatible with UAX#14.
`layout/reftests/line-breaking/markup-src-1.html` runs on old segmenter prefs,
so we should use old non-breaking conditions for it with old segmenter.

Also, if word-break is break-all, we might have break opportunity for AL, NU,
IS, and QU combinations. So we should use ICU4X segmenter if break-all.

Differential Revision: https://phabricator.services.mozilla.com/D191144
2023-10-18 13:21:58 +00:00
Makoto Kato dccb39dd6d Bug 1856267 - Don't use ICU4X segmenter if word is ASCII only and non-breakable character. r=TYLin,jfkthame
`mCurrentWordContainsComplexChar` and `wordHasComplexChar` seem to be used
 whether a word has breakable character. I would like to rename it for clean
up.

Also, `nsLineBreaker` has a fast path if character is ASCII, alphabet (AL) and
number (NU). But IS and QU are also unbreakable. So we should add it by using
simple table.

Differential Revision: https://phabricator.services.mozilla.com/D190379
2023-10-18 13:21:57 +00:00
DJ 546538be6e Bug 1859632 - add CFR for cookie banner blocking. r=aminomancer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D191231
2023-10-18 13:13:44 +00:00
Julian Seward 95ab6db5d9 Bug 1855732 - Make wasm-gc trailer sizes available to the tenured-heap's when-to-GC decision-making machinery. r=jonco.
For trailer blocks whose owning Wasm{Struct,Array}Objects make it into the
tenured heap, we have to tell the tenured heap how big those trailers are in
order to get major GCs to happen sufficiently frequently.  If we don't do
that, programs that allocate many such objects with big trailers can end up
with wildly excessive space use, because the tenured heap's when-to-GC
heuristics are unaware that each (relatively small) Wasm{Struct,Array}Object
is "shadowed" by a large amount of malloc'd space, and so major collection
happens far too infrequently.

The changes are simple -- they just notify the the tenured heap's accounting
system by calling `AddCellMemory` when an object enters the tenured heap and
`GCContext::removeCellMemory` when an object leaves the tenured heap (is
finalized).

Some comments have been updated.

As a ridealong, the bizarrely-misnamed `MallocedBlockCache::allowSlow` has
been renamed to `::allocSlow`.

Differential Revision: https://phabricator.services.mozilla.com/D191093
2023-10-18 12:49:58 +00:00
Iulian Moraru 151633bf92 Backed out changeset 44247957cb7a (bug 1857593) for causing build bustages on nsHttpChannel.cpp. CLOSED TREE 2023-10-18 15:44:25 +03:00
Emilio Cobos Álvarez 760f3d70ca Bug 1796268 - Add a test for IntersectionObserver root with clip and padding. r=smaug
This is a spec issue. See the test. The element is completely visible,
so the intersection ratio should be 1.

Spec issue: https://github.com/w3c/IntersectionObserver/issues/504
Spec PR: https://github.com/w3c/IntersectionObserver/pull/517

Differential Revision: https://phabricator.services.mozilla.com/D191277
2023-10-18 12:31:29 +00:00
Benjamin VanderSloot 62081e7036 Bug 1857593 - Enable GPC in Private Browsing Mode by default - r=jewilde,anti-tracking-reviewers,necko-reviewers,valentin,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D191095
2023-10-18 12:05:05 +00:00
Dimi 790c3f6f38 Bug 1859274 - When testing equality for street addresses that cannot be parsed, comparing user value directly r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D191072
2023-10-18 11:59:07 +00:00
Ziran Sun e37662380b Bug 1858979 - Mark some popover interminttent test results as passes. r=emilio
With a recent try  runs (20 rebuilds configured) at
https://treeherder.mozilla.org/jobs?repo=try&revision=7f814cc2f61a771f87dab944e2bd6222e0816611

Differential Revision: https://phabricator.services.mozilla.com/D191273
2023-10-18 11:48:21 +00:00
Marc Seibert 50ac791deb Bug 1853418 - Prepare tab-related tests.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D190555
2023-10-18 11:27:21 +00:00
Julian Gaibler 349f65349d Bug 1859655 - Fixed competitiveness shopping icon. r=shopping-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D191239
2023-10-18 11:13:29 +00:00
Paul Zuehlcke 7568c4e6f1 Bug 1859513 - Add a test for purging the SessionStore on PBM reset action. r=sessionstore-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D191187
2023-10-18 10:40:37 +00:00
Marc Seibert d779ded2b1 Bug 1853418 - Prepare Site-Identity and Statuspanel Tests.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D190553
2023-10-18 10:35:21 +00:00
Marc Seibert 04d7ba785a Bug 1853418 - Prepare remaining tests.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D190557
2023-10-18 10:15:34 +00:00
Marc Seibert 39cc41e155 Bug 1853418 - Prepare netwerk tests.r=dao,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D190556
2023-10-18 10:11:07 +00:00
Valentin Gosu 28d717a5d9 Bug 1855174 - Process xpcshell node output in realtime r=jmaher,necko-reviewers,kershaw
Spawned nodejs servers sometimes print output to stdout or stderr.
While it's not strictly necessary to display, it's sometimes useful for
debugging, but it's problematic that we only dump the output when killing
the node server.

After landing D189212 this becomes even more problematic, as killing the
process via os.killpg means the file descriptors are already closed.

This patch makes it so for each started server we also spawn a new thread
that reads from stdout and stderr. This way the output is present in the
logs at the correct time.

Depends on D189212

Differential Revision: https://phabricator.services.mozilla.com/D189213
2023-10-18 10:07:19 +00:00
Valentin Gosu 5712d32553 Bug 1772329 - Force kill node process and subprocesses in xpcshell tests at the end of the test r=jmaher,necko-reviewers,kershaw
Added the start_new_session=True argument to Popen so that the node instance gets its own pgid.
On POSIX platforms the server shutdown will now be done using os.killpg() instead of process.terminate()

Differential Revision: https://phabricator.services.mozilla.com/D189212
2023-10-18 10:07:18 +00:00
Lu Yahan 99f7a412bd Bug 1857829 - Fix missing right bracket in fromUint32Truncate. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D191260
2023-10-18 09:09:32 +00:00
Kershaw Chang 826802ef8d Bug 1858757 - Don't coalesce WebTransport connections, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D191162
2023-10-18 08:55:25 +00:00
Mirko Brodesser 45832ddae3 Bug 1839315: part 5) Add links to spec for parsing the Link header fields a HTTP header contains. r=necko-reviewers,valentin
Otherwise it's hard to understand what's supposed to happen there.

Depends on D190666

Differential Revision: https://phabricator.services.mozilla.com/D190667
2023-10-18 08:43:37 +00:00
Lu Yahan a56c04572f Bug 1855963 - [riscv] Part 3: add function SummarizeTrapInstruction.r=jseward.
This is a port of D187459

Depends on D190654

Differential Revision: https://phabricator.services.mozilla.com/D190655
2023-10-18 08:41:08 +00:00
Lu Yahan 06a47b3817 Bug 1855963 - [riscv] Part 6: make some assembler routines return FaultingCodeOffset, and use them to improve TrapSite placement accuracy. r=jseward
This a port of D187462

Depends on D188222

Differential Revision: https://phabricator.services.mozilla.com/D190654
2023-10-18 08:41:07 +00:00
Lu Yahan 924f1e7048 Bug 1853119 - [riscv]wasm: Generalize load/store instructions for multiple memories. r=jandem
The patch is a port of D170986

Differential Revision: https://phabricator.services.mozilla.com/D188222
2023-10-18 08:41:07 +00:00
Henri Sivonen d1d1ba1d91 Bug 1859527 - Update the generated includes in the HTML parser. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D191186
2023-10-18 08:40:49 +00:00
Jan de Mooij e7895885f3 Bug 1859359 - Push VMFunctionId instead of VMFunctionData* for VM calls. r=iain
This lets us generate a bit more compact code for VMFunction wrappers on
64-bit platforms. It also makes it easier to bake those stubs into the binary
in the future.

Differential Revision: https://phabricator.services.mozilla.com/D191170
2023-10-18 08:33:24 +00:00
Edgar Chen 8e9d770444 Bug 1686012 - Make Headless clipboard support the HTML type; r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D191195
2023-10-18 08:15:27 +00:00
Alexandre Poirot cf37085d32 Bug 1857214 - [devtools] Avoid computing expression untill this is actually used. r=devtools-reviewers,bomsy
Computing the expression would involve calling Babel's `generate` method on the AST node,
which is expansive. But we rarely read this attribute.

Differential Revision: https://phabricator.services.mozilla.com/D190179
2023-10-18 08:00:12 +00:00
Alexandre Poirot 64e957f08d Bug 1857214 - [devtools] Remove unused attributes and methods from SimplePath. r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D190178
2023-10-18 08:00:12 +00:00
Alexandre Poirot 17baf2bc60 Bug 1857214 - [devtools] Avoid creating duplicated identifiers. r=devtools-reviewers,bomsy
We were creating them and later filtering them out.
Also `getUniqueIdentifiers` was duplicating a possibly 100M+ large array...

Differential Revision: https://phabricator.services.mozilla.com/D190177
2023-10-18 08:00:11 +00:00
Alexandre Poirot 793f14087f Bug 1857214 - [devtools] Avoid instantiating lots of intermediate arrays when computing the identifiers. r=devtools-reviewers,nchevobbe
On bug 1843454 STR, symbols.identifiers is a 100M large array.
So all these intermediate array cause a serious amount of short-lived arrays.

Differential Revision: https://phabricator.services.mozilla.com/D190176
2023-10-18 08:00:11 +00:00
Alexandre Poirot 62fdf7e78e Bug 1857214 - [devtools] Don't store name for member expressions. r=devtools-reviewers,nchevobbe
This attribute isn't used. Member expressions are only used by `findBestMatchExpression`.

Differential Revision: https://phabricator.services.mozilla.com/D190783
2023-10-18 08:00:10 +00:00
Alexandre Poirot 7900c2529b Bug 1857214 - [devtools] Stop collecting call expressions to know if the module is a react module. r=devtools-reviewers,nchevobbe
As `callExpressions` are only used for knowing if that's a react module...
We could avoid a bunch of intermediate objects by computing right away if we have a react import.

Differential Revision: https://phabricator.services.mozilla.com/D190782
2023-10-18 08:00:10 +00:00
Alexandre Poirot e7623d2952 Bug 1857214 - [devtools] Stop collecting imports to know if the module is a react module. r=devtools-reviewers,nchevobbe
As `imports` are only used for knowing if that's a react module...
We could avoid a bunch of intermediate objects by computing right away if we have a react import.

Differential Revision: https://phabricator.services.mozilla.com/D190781
2023-10-18 08:00:09 +00:00
Alexandre Poirot 3b9158d032 Bug 1857214 - [devtools] Remove some unused attributes from parser worker. r=devtools-reviewers,nchevobbe
There might be more.

While doing that, document the objects being stored and their precise usage.

Differential Revision: https://phabricator.services.mozilla.com/D190780
2023-10-18 08:00:09 +00:00
serge-sans-paille 68a21b66e3 Bug 1858164 - Properly vendor pywebsocket3 r=jmaher,padenot
This was vendored without any reference of the vendored version, no
update script and a patch bundled into a README.

Vendor it using mach vendor, updating to the latest version.

Differential Revision: https://phabricator.services.mozilla.com/D190584
2023-10-18 07:58:09 +00:00
serge-sans-paille 766f65d18e Bug 1858065 - Replace distutils' StrictVersion r=saschanaz,perftest-reviewers,sparky
distutils have been removed from Python 3.12, so replace it:

Sometimes using packaging's Version, sometimes providing our own in the
case of mozrelease/versions.py. Add more tests for the latter.

Differential Revision: https://phabricator.services.mozilla.com/D190540
2023-10-18 07:58:03 +00:00
Julien Cristau acfc7392ea Bug 1858681 - mozsystemmonitor: use monotonic clock r=firefox-build-system-reviewers,glandium,sergesanspaille,florian
We don't need to support python 2.7 anymore, so let's do the right thing
here.

Differential Revision: https://phabricator.services.mozilla.com/D190798
2023-10-18 07:51:32 +00:00