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

799260 Коммитов

Автор SHA1 Сообщение Дата
Alexandra Borovova f49bf0fabd Bug 1741861 - Move shared logic from _subscribeEvent and _unsubscribeEvent. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D149401
2022-06-22 12:15:08 +00:00
Jan de Mooij 6a2f271bac Bug 1774848 part 3 - Push a profiler entry when resuming generators and async functions in the C++ interpreter. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D149864
2022-06-22 12:07:09 +00:00
Jan de Mooij 3878b76d96 Bug 1774848 part 2 - Add testing function and tests for reading the interpreter profiling stack. r=iain
`readGeckoProfilingStack` only reads the JIT frames. This adds a similar function
for C++ interpreter frames.

Differential Revision: https://phabricator.services.mozilla.com/D149863
2022-06-22 12:07:08 +00:00
Jan de Mooij 8a9dfe40a6 Bug 1774848 part 1 - Improve assertion in EnterScript. r=iain
We push a new `InterpreterFrame` for generators/async nowadays, so the flag should
never be set.

Differential Revision: https://phabricator.services.mozilla.com/D149862
2022-06-22 12:07:08 +00:00
Tooru Fujisawa edc20fad88 Bug 1774287 - Part 2: Add helpers.getIsTopLevelScript. r=Standard8
Depends on D149606

Differential Revision: https://phabricator.services.mozilla.com/D149607
2022-06-22 12:05:26 +00:00
Tooru Fujisawa 74881f888d Bug 1774287 - Part 1: Add helpers.getIsGlobalThis and use it when handling global variable. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D149606
2022-06-22 12:05:25 +00:00
Mark Banner 5526fffc2a Bug 1775312 - Add simple tests for user and policy engines. r=mak
Depends on D149929

Differential Revision: https://phabricator.services.mozilla.com/D149930
2022-06-22 10:51:13 +00:00
Mark Banner c362058eb9 Bug 1775312 - When reporting an empty submission url to Glean, use a dummy value as it requires a non-empty string. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D149929
2022-06-22 10:51:12 +00:00
Martin Robinson 83640bbee6 Bug 1463600 - Implement CSS 'contain: style' r=emilio
Add an implementation of CSS `contain: style`. This introduces two new
data structures, the ContainStyleScope and ContainStyleScopeManager.

ContainStyleScope manages one `contain: style` "world" which has its own
counter and quote lists. The contents of these lists depend on their
parent scopes, but are not affected by their children.
ContainStyleScopeManager manages a tree of scopes starting at a root
scope which is outside of any `contain: style` element.

Scopes are stored in a hash table that is keyed off of the nsIContent
which establishes the `contain: style` scope. When modifying quote or
content lists, the ContainStyleScopeManager is responsible for finding
the appropriate `contain: style` scope to modify.

Perhaps the most complex part of this is that counters and quotes have
read access to the state of counters and quotes that are in ancestor
`contain: style` scopes. In the case of counters, USE nodes that are at
the beginning of counter lists might have a counter scope that starts in
an ancestor `contain: style` scope. When nsCounterNode::SetScope() is
called, the code may look upward in the `contain: style` scope tree to
find the start of the counter scope. In the case of quotes, the first
node in the quote list must look for the state of quotes in ancestor
`contain: style` scopes.

Differential Revision: https://phabricator.services.mozilla.com/D149508
2022-06-22 10:42:34 +00:00
Hubert Boma Manilla 33a1ae1c8f Bug 1775217 - [devtools] Update MDN compat data (2022 June) r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D149971
2022-06-22 10:30:03 +00:00
Gabriele Svelto 7ad6cca012 Bug 1774298 - Install watchman only on Debian 11+ r=andi
Differential Revision: https://phabricator.services.mozilla.com/D149358
2022-06-22 10:08:23 +00:00
Gabriele Svelto 1cc62be3ff Bug 1775117 - Fix Windows builds when using version 10.0.22621.0 of the Windows SDK r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D149868
2022-06-22 10:07:43 +00:00
Gabriele Svelto 48c14e7d51 Bug 1713160 - Avoid crashes when setting the description of the minidump generation thread r=rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D149869
2022-06-22 10:06:25 +00:00
Cristian Tuns 6d0ba065e3 Backed out changeset e863269355cd (bug 1774834) for causing python failures on test_vendor.py CLOSED TREE 2022-06-22 07:14:59 -04:00
James Graham 94d8b3ec57 Bug 1775222 - Fix wdspec test failures after sync, a=testonly CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D149977
2022-06-22 10:58:36 +00:00
Manuel Bucher 1585146833 no bug - Fix indentation of bullet list in ipdl document DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D149969
2022-06-22 09:52:06 +00:00
serge-sans-paille b122b6d13d Bug 1774865 - extra cleanup mozglue, security, intl and netwerk includes r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D149670
2022-06-22 09:51:52 +00:00
serge-sans-paille 5b0ab0f5a6 Bug 1775340 - Cleanup gfx/ includes r=sylvestre
This one is a bit messy so I was very conservative on the changes.

Differential Revision: https://phabricator.services.mozilla.com/D149922
2022-06-22 09:50:52 +00:00
Emilio Cobos Álvarez 5f68dd7dd3 Bug 1775310 - Add some accent-color-based dark mode system colors on Windows. r=handyman
This matches UWP apps like Settings on Windows 11, and what we do for other
desktop platforms too.

The system colors match the ones from Win32 otherwise, but using UIUtils we can
access the accent color pallete from UWP apps.

Add a pref just to be safe in any case.

Differential Revision: https://phabricator.services.mozilla.com/D149905
2022-06-22 09:47:27 +00:00
serge-sans-paille a909699ad6 Bug 1774863 - Cleanup mfbt includes r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D149669
2022-06-22 09:47:14 +00:00
Bogdan Szekely 02617d2f1e Merge mozilla-central to autoland. CLOSED TREE 2022-06-22 12:59:05 +03:00
Emilio Cobos Álvarez 3ef07530a4 Bug 1775247 - Enable widget.use-theme-accent on Windows. r=cmartin
Just like we do in all other platforms where we use the system accent
color.

Differential Revision: https://phabricator.services.mozilla.com/D149878
2022-06-22 09:45:07 +00:00
Emilio Cobos Álvarez fe85e4d99d Bug 1775247 - Make AccentColor/Text consistent with accent-color: auto. r=mstange
It'd be weird otherwise, as in platforms where use-theme-accent is false
(Windows), form controls would be blue (the default accent color) but
the AccentColor color would be the system accent color still.

Differential Revision: https://phabricator.services.mozilla.com/D149877
2022-06-22 09:45:07 +00:00
Emilio Cobos Álvarez 4c5f20179e Bug 1775247 - Implement AccentColor/AccentColorText and remove -moz-prefixed version of the color. r=mstange
As per https://github.com/w3c/csswg-drafts/issues/7347.

Mostly renaming, doesn't change behavior other than exposing the new
color keywords (tested in wpt).

Differential Revision: https://phabricator.services.mozilla.com/D149876
2022-06-22 09:45:06 +00:00
serge-sans-paille 0f59369eb4 Bug 1773897 - cleanup extra js/src includes r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D149023
2022-06-22 09:45:04 +00:00
Bogdan Szekely c30349265c Merge autoland to mozilla-central. a=merge 2022-06-22 12:39:06 +03:00
Nicolas Chevobbe 3c8d1a8b26 Bug 1775411 - [devtools] Fix append new stylesheet link. r=ochameau.
The link was missing an event listener, that we add in this patch.
A test case is added to make sure the link does work.

Differential Revision: https://phabricator.services.mozilla.com/D149953
2022-06-22 09:30:05 +00:00
moz-wptsync-bot fd8937a635 Bug 1775222 - [wpt-sync] Update web-platform-tests to a18e6b2b21fc2dec06eb319ee6ae1348ccfeaace, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: a18e6b2b21fc2dec06eb319ee6ae1348ccfeaace
wpt-type: landing
2022-06-22 09:22:18 +00:00
Morten Stenshorne dbede31c45 Bug 1775090 [wpt PR 34498] - Properly handle floats leaving an inline formatting context., a=testonly
Automatic update from web-platform-tests
Properly handle floats leaving an inline formatting context.

Revert all code changes from CL:3613771 and replace with this. The bad
CL just did SetIsInLayoutNGInlineFormattingContext(false), which would
leave fragment items behind pointing to layout objects. When such a
layout object would later on be deleted, the fragment items wouldn't be
notified, since IsInLayoutNGInlineFormattingContext was false.

Notify the fragment items that layout object becoming in-flow
non-floated will be "moved", to properly clear the association. There
was already code for this when going out-of-flow, but we also need this
when becoming in-flow non-floated.

Bug: 1331189
Change-Id: I888d81495627952b75ec33a83edce165f6a3ad01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3714111
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1016000}

--

wpt-commits: d0cc6394218081bea51fc0352cd521fbf1fc1f47
wpt-pr: 34498
2022-06-22 09:22:18 +00:00
moz-wptsync-bot 71d00e0750 Bug 1770705 [wpt PR 34162] - Update wpt metadata, a=testonly
wpt-pr: 34162
wpt-type: metadata
2022-06-22 09:22:18 +00:00
Maksim Sadym f83e3932e1 Bug 1770705 [wpt PR 34162] - BiDi `script.evaluate`, a=testonly
Automatic update from web-platform-tests
BiDi script.evaluate (#34162)

* BiDi `script` module.
* `script.evaluate` BiDi method.
* Tests for happy case scenarios.
* Tests for invalid params.

Not included:
* Switching tests to BiDi command `script.evaluate`.
--

wpt-commits: d4dd7c0f23325fd8533aa78d294d5bf47244b32d
wpt-pr: 34162
2022-06-22 09:22:18 +00:00
Brad Triebwasser 8e38901023 Bug 1774102 [wpt PR 34414] - Add web platform test coverage for fullscreen companion windows., a=testonly
Automatic update from web-platform-tests
Add web platform test coverage for fullscreen companion windows.

Bug: 1323361
Change-Id: I26862b2d67f600e212f4a5c10e059af51def43ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3704161
Reviewed-by: Mike Wasserman <msw@chromium.org>
Commit-Queue: Brad Triebwasser <btriebw@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1015571}

--

wpt-commits: 6411a0bdb59d5c82d9cc513474ba7f23b6825f69
wpt-pr: 34414
2022-06-22 09:22:18 +00:00
Alison Maher b08de18036 Bug 1774690 [wpt PR 34475] - [TableFragmentation] Nested repeated table headers, a=testonly
Automatic update from web-platform-tests
[TableFragmentation] Nested repeated table headers

If a table header was nested inside of another, we would end up
breaking forever. This happened because we would set if the header
ConstraintSpace IsRepeated() based on its parent's ConstraintSpace.
Because the parent's ConstraintSpace had IsRepeated() set to true in
this case, the inner header would never terminate repeating itself,
even when RelayoutAsLastTableBox() was called.

To fix this, don't rely on the parent ConstraintSpace to set this.
Also consider what repeat_mode is set to for the current header.

Once this was fixed, we also ran into an issue when cloning these
nested headers (because they were already repeated). To get this
working, NGFragmentRepeater::GetClonableLayoutResult() needed to be
updated to consider if the repeated break token was the result of
a different fragmentation context than the current header being
cloned.

Bug: 1336683
Change-Id: I13e7af8ce91144e4c3c22eca6dc2a45a0f1a9b80
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3710528
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1015548}

--

wpt-commits: 73380548ab5f7f6fe47ece278005b500e45f8c4d
wpt-pr: 34475
2022-06-22 09:22:18 +00:00
moz-wptsync-bot 4513d435a9 Bug 1747708 [wpt PR 32200] - Update wpt metadata, a=testonly
wpt-pr: 32200
wpt-type: metadata
2022-06-22 09:22:18 +00:00
Romain Menke 40381889f9 Bug 1747708 [wpt PR 32200] - css selectors `:has` error recovery test, a=testonly
Automatic update from web-platform-tests
css selectors `:has` error recovery test (#32200)

--

wpt-commits: daaa300a0d833135db872cb4c8b5e48b5f61897d
wpt-pr: 32200
2022-06-22 09:22:18 +00:00
Ana SollanoKim 4beba6b368 Bug 1774718 [wpt PR 34480] - Reland "Implementing grid-template-columns/rows interpolation support", a=testonly
Automatic update from web-platform-tests
Reland "Implementing grid-template-columns/rows interpolation support"

This is a reland of commit b266b143ec994a7a97349cd2d54e18f52bf9534f

It was reverted due to failures in MSAN builds: https://crrev.com/c/3704863. The variable |progress_| in InterpolableGridTrackList was uninitialized, resulting in crashes in Add(...) and RawClone().

Original change's description:
> Implementing grid-template-columns/rows interpolation support
>
> This CL adds new interpolation types to represent grid track lists and
> their track sizes, allowing interpolation of grid-template-columns and
> grid-template-rows. A more detailed explanation of the design can be
> found in this doc: https://docs.google.com/document/d/1byO4UU-gFRNrqAEuhL3AKgUuFprz4ZQYNEeXSF9T6w0/edit?usp=sharing
>
> Bug: 759665
> Change-Id: Iecef825cd843c60bf6268cdbfc2f9180c884f853
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3403003
> Reviewed-by: Ethan Jimenez <ethavar@microsoft.com>
> Commit-Queue: Ana Sollano Kim <ansollan@microsoft.com>
> Reviewed-by: Robert Flack <flackr@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1013983}

Bug: 759665
Change-Id: I71aba0c2be7e4cd56aa92521b9b0008ab25c0ed6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3705054
Commit-Queue: Ana Sollano Kim <ansollan@microsoft.com>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Daniel Libby <dlibby@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1015433}

--

wpt-commits: 97330944a2b19338d3f58955adb3250cf4b5279e
wpt-pr: 34480
2022-06-22 09:22:18 +00:00
Morten Stenshorne 83571b72c8 Bug 1774653 [wpt PR 34470] - May need paint invalidation on cache hit inside fragmentation., a=testonly
Automatic update from web-platform-tests
May need paint invalidation on cache hit inside fragmentation.

When block-fragmented, LayoutBox stores the location in the flow thread
coordinate space, not the actual visual location. This means that we may
miss location changes, if the flow thread offset remains unchanged (if
the fragmentainer size changes without needing to re-lay out the
object).

Explicitly mark direct flow thread children for a paint invalidation
check, in case the cache was hit.

Bug: 1336180
Change-Id: I66342c80f2e6cb6478eff6f06d103a9a9c8ecd12
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3706987
Reviewed-by: Alison Maher <almaher@microsoft.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1015412}

--

wpt-commits: 8b9da29d2d6907de99c080562fdd9c69cda698f1
wpt-pr: 34470
2022-06-22 09:22:18 +00:00
Alison Maher cea99366e1 Bug 1774663 [wpt PR 34472] - Breaking before a float, a=testonly
Automatic update from web-platform-tests
Breaking before a float

In the added test case, the second float is processed in an earlier
fragmentainer than the first (nested) float. If the first float
ends up breaking before, we may try to break before the second
float, as well, even though it had already broken.

Instead, check if a float has broken previously before attempting to
add a break before it.

Bug: 1336847
Change-Id: Ic9231f3d93fbebae3bbf022641082c2b78829db6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3710174
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1015370}

--

wpt-commits: 22d425520a0de4af40b56b5a35bc18b07cd9996c
wpt-pr: 34472
2022-06-22 09:22:18 +00:00
moz-wptsync-bot 1ba41668c1 Bug 1774797 [wpt PR 34482] - Update wpt metadata, a=testonly
wpt-pr: 34482
wpt-type: metadata
2022-06-22 09:22:18 +00:00
Rune Lillesveen 2e5ca71253 Bug 1774797 [wpt PR 34482] - [@container] Add tests for grid and grid item containers, a=testonly
Automatic update from web-platform-tests
[@container] Add tests for grid and grid item containers

Bug: 1145970
Change-Id: Ie056d850a95f9c34fee0a5eca8afd734e8a68938
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3711802
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1015346}

--

wpt-commits: 6fd33e196498fc5c274f559992adfbb1fdee5aae
wpt-pr: 34482
2022-06-22 09:22:18 +00:00
moz-wptsync-bot 500767a53a Bug 1774795 [wpt PR 34481] - Update wpt metadata, a=testonly
wpt-pr: 34481
wpt-type: metadata
2022-06-22 09:22:18 +00:00
Rune Lillesveen 2bfef325e6 Bug 1774795 [wpt PR 34481] - [@container] Add test for column:span all inside size container, a=testonly
Automatic update from web-platform-tests
[@container] Add test for column:span all inside size container

Test column-span:all depending on size container queries

Bug: 1145970
Change-Id: I00d4f50b41a26d6dec923adda0098b8f5f942f1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3707224
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1015345}

--

wpt-commits: 493ad1309e3da2503554108525649e8d98b3e12e
wpt-pr: 34481
2022-06-22 09:22:18 +00:00
dependabot[bot] 771749ba45 Bug 1774094 [wpt PR 34411] - Bump actions/setup-python from 3 to 4, a=testonly
Automatic update from web-platform-tests
Bump actions/setup-python from 3 to 4

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: fd596c7a6d981e960458f309464dbe04f35040ab
wpt-pr: 34411
2022-06-22 09:22:18 +00:00
dependabot[bot] b193252c78 Bug 1774503 [wpt PR 34459] - Bump taskcluster from 44.16.1 to 44.16.3 in /tools, a=testonly
Automatic update from web-platform-tests
Bump taskcluster from 44.16.1 to 44.16.3 in /tools

Bumps [taskcluster](https://github.com/taskcluster/taskcluster) from 44.16.1 to 44.16.3.
- [Release notes](https://github.com/taskcluster/taskcluster/releases)
- [Changelog](https://github.com/taskcluster/taskcluster/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taskcluster/taskcluster/compare/v44.16.1...v44.16.3)

---
updated-dependencies:
- dependency-name: taskcluster
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: 61d1201b0719c18b4bd2992a4bd6de54dedcda1a
wpt-pr: 34459
2022-06-22 09:22:18 +00:00
moz-wptsync-bot ca42b60a85 Bug 1774744 [wpt PR 34400] - Update wpt metadata, a=testonly
wpt-pr: 34400
wpt-type: metadata
2022-06-22 09:22:18 +00:00
Emilio Cobos Álvarez 8e24ff89f9 Bug 1774744 [wpt PR 34400] - [intersection-observer] Add a test for clip-path being accounted for, a=testonly
Automatic update from web-platform-tests
[intersection-observer] Add a test for clip-path being accounted for.

From https://w3c.github.io/IntersectionObserver/#calculate-intersection-rect-algo
step 3.3:

> If container has a content clip or a css clip-path property, update
> intersectionRect by applying container’s clip.

--

wpt-commits: d3d0aa492ab758a9b0ab55a27bd3957301071644
wpt-pr: 34400
2022-06-22 09:22:18 +00:00
moz-wptsync-bot 95e650df21 Bug 1774491 [wpt PR 34454] - Update wpt metadata, a=testonly
wpt-pr: 34454
wpt-type: metadata
2022-06-22 09:22:18 +00:00
Mason Freed a36765a3a4 Bug 1774491 [wpt PR 34454] - Fix popup animation bug, and add more testing of animations, a=testonly
Automatic update from web-platform-tests
Fix popup animation bug, and add more testing of animations

Primarily, this CL adds a test of popup animations for these two cases:
 1. descendant elements have an animation: make sure "hide" waits for it
 2. there are already-running animations: make sure "hide" doesn't wait

These were follow-up action items from [1].

While writing this test, I found and fixed a corner case bug: if there
are *only* pre-existing animations, a popup would never be hidden.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/3688871

Bug: 1307772
Change-Id: I133f4d682bb8081b137fb23675137b06e6a15565
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3708115
Reviewed-by: Robert Flack <flackr@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1015056}

--

wpt-commits: 93a98d6ac4785d3c78b57845d91c78e2bf12c6eb
wpt-pr: 34454
2022-06-22 09:22:18 +00:00
Emilio Cobos Álvarez d1939b2c9d Bug 1773985 [wpt PR 34397] - [intersection-observer] Allow to write promise-tests., a=testonly
Automatic update from web-platform-tests
[intersection-observer] Allow to write promise-tests.

And port display-none.html to that.

--

wpt-commits: ec0a8769149aaf77d3520360ceb1277e9af43a22
wpt-pr: 34397
2022-06-22 09:22:18 +00:00
moz-wptsync-bot d36c1e4535 Bug 1774228 [wpt PR 34431] - Update wpt metadata, a=testonly
wpt-pr: 34431
wpt-type: metadata
2022-06-22 09:22:18 +00:00