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

835983 Коммитов

Автор SHA1 Сообщение Дата
Chris Harrelson 8325e0f826 Bug 1823099 [wpt PR 39060] - De-flake two tests, a=testonly
Automatic update from web-platform-tests
De-flake two tests

These tests were timing out because window.screenX and window.screenY
were never set during the test run, leading to the code to wait 15
seconds before giving up trying to find them. But once it gave up,
it got the correct result, because there is no expected_screenX
or expected_screenY for these tests anyway.

Tests are:

external/wpt/html/browsers/the-window-object/open-close/open-features-non-integer-innerwidth.html
external/wpt/html/browsers/the-window-object/open-close/open-features-non-integer-width.html

Fixed: 1048149

Change-Id: I9e9620254b0e9284923e7a683213b1c0721ffc81
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4347589
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118959}

--

wpt-commits: cb19b01d65d9677bf53223322e32211c190eee5c
wpt-pr: 39060
2023-03-29 12:52:13 +00:00
Xiaocheng Hu 30550a7c5c Bug 1822920 [wpt PR 39041] - [anchor-position] Make `anchor` attribute work for non-popovers, a=testonly
Automatic update from web-platform-tests
[anchor-position] Make `anchor` attribute work for non-popovers

This patch reimplements how we mark elements that are implicit anchors.
Previously it was only marked for popover element's implicit anchors,
and now it works for all implicit anchors. This is done by a new class
AnchorElementObserver that observes all possible changes in implicit
anchor and replaces the old PopoverAnchorObserver.

This patch also reveals two existing issues:
1. Element::GetElementAttribute() may return non-null result even if
   the element is out of tree scope. As fixing the bug is out of the
   scope here, this patch just works around it. crbug.com/1425215 was
   filed.
2. popover-anchor-idl-property.html has some bugs that made it pass
   previously. This patch fixes those bugs.

Fixed: 1417346
Change-Id: I798977ab1ed7df0c528b7eb98c64fc04476e6106
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4338487
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118933}

--

wpt-commits: e1dabe08c494d1b7aaf5e2e9437b71e51997c299
wpt-pr: 39041
2023-03-29 12:52:12 +00:00
moz-wptsync-bot 333c7c3918 Bug 1822414 [wpt PR 38998] - Update wpt metadata, a=testonly
wpt-pr: 38998
wpt-type: metadata
2023-03-29 12:52:12 +00:00
Xiaocheng Hu cc00170a6b Bug 1822414 [wpt PR 38998] - [anchor-position] Use scroll-adjusted IMCB for position fallback, a=testonly
Automatic update from web-platform-tests
[anchor-position] Use scroll-adjusted IMCB for position fallback

Previously, we've been using the inset-modified containing block for
position fallback, which doesn't work well with scrolling.

This patch fixes the issue by using the scroll-adjusted IMCB instead,
which was introduced earlier on the spec side [1].

As an implementation detail, this patch also calculates and stores
the non-overflowing scroll ranges [2] for each fallback position, so
that we can still use composited scrolling, and need to invalidate
layout only when we have scrolled out of that range.

This patch also adds WPT tests under various writing modes and
directions to cover all the new code paths.

[1] https://drafts4.csswg.org/css-anchor-position-1/#determine-the-position-fallback-styles
[2] https://github.com/w3c/csswg-drafts/issues/8059#issuecomment-1444616906

Bug: 1418725
Change-Id: If9e104c6ac3c51ccdfc4fa7d3cf9cbffcc5af46d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4292618
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118926}

--

wpt-commits: e2169b6b0b5ca89b61b976f512e9ad52bace8597
wpt-pr: 38998
2023-03-29 12:52:11 +00:00
Scott Haseley 35cbdc5799 Bug 1822915 [wpt PR 39040] - Scheduling APIs: Implement scheduler.yield() prototype (part 2: inherit), a=testonly
Automatic update from web-platform-tests
Scheduling APIs: Implement scheduler.yield() prototype (part 2: inherit)

This CL implements the scheduler.yield() "inherit" option:
 - Signal selection: GetTaskSignalFromOptions() is updated to take
   inheritance into account. If either the signal or priority options
   are to inherit, the inherited signal is retrieved from V8 and used
   in the computation:
     - signal: "inherit", priority: unset - use the inherited signal
     if there is one, otherwise default priority.
     - signal: "inherit", priority: fixed - create a composite signal
     from the inherited signal and fixed priority. If the inherited
     signal is null, just use a fixed priority signal.
     - signal: unset, priority: "inherit" - if there's nothing to
     inherit use the default priority; if the inherited signal has
     fixed priority and can't abort, use that; otherwise create a
     new composite signal.

 - DOMTask is updated to support continuation, passing its signal
   when creating a task scope (main thread). For workers, DOMTask
   will set the continuation preserved embedder data manually before
   running the task.

 - WPT tests are added and modified to cover the "inherit" option.

Bug: 979020
Change-Id: Ia9776b9292d70636e2b1eea191e9c09b1809fa84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4326152
Commit-Queue: Scott Haseley <shaseley@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118868}

--

wpt-commits: c19eb6a201cf1dd04915ef9a2de24b779532df9d
wpt-pr: 39040
2023-03-29 12:52:10 +00:00
Khushal Sagar 4c249eb318 Bug 1823054 [wpt PR 39058] - view-transitions: Update CSS to name the root element., a=testonly
Automatic update from web-platform-tests
view-transitions: Update CSS to name the root element.

Default UA CSS is supposed to add view-transition-name to the root
element. Currently it targets html which is incorrect since multiple
html elements can exist on the page. Update it to target :root.

This also aligns with the spec. See
https://drafts.csswg.org/css-view-transitions-1/#ua-styles.

Bug: 1425445
Change-Id: If989e5549f1977c248b4f7e933379e2bfc17d07d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4350707
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118792}

--

wpt-commits: c2a197e2cbb2afc7cc7849f926884bb1ffdd3109
wpt-pr: 39058
2023-03-29 12:52:10 +00:00
Anders Hartvoll Ruud 372e33257e Bug 1823087 [wpt PR 39051] - [CSSTransitionDiscrete] Fix custom property issues, a=testonly
Automatic update from web-platform-tests
[CSSTransitionDiscrete] Fix custom property issues

When attempting to transition a custom property with universal syntax,
we hit a DCHECK in StyleBuilder::ApplyProperty because we send
a CSSVariableReferenceValue, which is normally expected to be resolved
at this point. However, such custom properties represent their
computed values as CSSVariableReferenceValues, and the discrete
transitions machinery sends those computed values to ApplyProperty
without "transformations". This is expected behavior as of CL:4315803.

Representing the computed value of universal custom properties with
CSSVariableReferenceValue is a bit suspicious and might warrant further
investigation, but this CL does not attempt to address that. Instead
we alter the DCHECK to expect CSSVariableReferenceValues for relevant
custom properties.

Also:

 - Fixed usage of irrelevant custom property in the WPT
   token-stream-type-type-interpolation.html.
 - Fixed accumulation of "transitionrun" event listeners when
   testing multiple transitions in the same .html file
   (e.g. custom-property-transition-mismatched-list.html).

WPTs related to <transform-function> and <transform-list> are still
failing, because we don't implement interpolation for those syntaxes
yet.

Bug: 1399631
Change-Id: I22f0766921061216421839def84bc305edda2a41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4334509
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118779}

--

wpt-commits: e6c2d4cacfa621bc2656b577c1fb63f080bac2f5
wpt-pr: 39051
2023-03-29 12:52:09 +00:00
moz-wptsync-bot b2fb192dfe Bug 1823048 [wpt PR 39057] - Update wpt metadata, a=testonly
wpt-pr: 39057
wpt-type: metadata
2023-03-29 12:52:09 +00:00
Sam Sneddon 952131bf81 Bug 1823048 [wpt PR 39057] - Test which XSLT functions are defined, a=testonly
Automatic update from web-platform-tests
Test which XSLT functions are defined

This currently expects only functions defined in XSLT 1.0 (and references) to be defined. This matches what all browsers currently implement.
--

wpt-commits: d963cd40e87f20bbfaaffdb9eca2e539bac4d631
wpt-pr: 39057
2023-03-29 12:52:08 +00:00
Joey Arhar 150156e0df Bug 1820368 [wpt PR 38817] - CSSTransitionDiscrete: Fix counter related crashes, a=testonly
Automatic update from web-platform-tests
CSSTransitionDiscrete: Fix counter related crashes

The generated code in CounterIncrement::ApplyValue expects to receive a
CSSValueList with a CSSValuePair inside of it, so this patch adds a
CSSValuePair to ComputedStyleUtils::ValueForCounterDirectives

Bug: 1399631, 1413556
Change-Id: If38d51d026965b2f481a9ed6432ce519587847ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4310132
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118697}

--

wpt-commits: 98afc8a86461237414d32da9e6628499c0a0022a
wpt-pr: 38817
2023-03-29 12:52:07 +00:00
Geoffrey Sneddon 6a10bc415d Bug 1440713 [wpt PR 8150] - Fix #8122: Upstream Mozilla counter-style tests, a=testonly
Automatic update from web-platform-tests
Fix #8122: Upstream Mozilla counter-style tests

These don't cover all of the counter styles, but they give us automated tests
for most of them.

They are all originally authored by @dbaron and @upsuper.

--

wpt-commits: 5e9421703a3de453d0792109a714f624e5185f27
wpt-pr: 8150
2023-03-29 12:52:07 +00:00
moz-wptsync-bot 409ce1270d Bug 1822296 [wpt PR 38981] - Update wpt metadata, a=testonly
wpt-pr: 38981
wpt-type: metadata
2023-03-29 12:52:06 +00:00
Mason Freed ac0f2e548c Bug 1822296 [wpt PR 38981] - Collect popover invokers on root instead of document, a=testonly
Automatic update from web-platform-tests
Collect popover invokers on root instead of document

See this HTML spec PR:

  https://github.com/whatwg/html/pull/8993

It points out that it would be better to look within `root`
rather than `document` for invokers. Otherwise this use case
will be broken:

<div>
  <template shadowrootmode=open>
    <button popovertarget=p1>Click</button>
    <div popover id=p1>Popover 1
      <button popovertarget=p2>Click</button>
    </div>
    <div popover id=p2>Popover 2 (I'm not detected as a being related to p1)</div>
  </template>
</div>

I.e. nested popovers entirely within a shadow tree. This CL
fixes that behavior and adds a test.

Bug: 1307772
Change-Id: I28521ec1008d43994ca738c5673da3b704d7ba9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4335444
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118671}

--

wpt-commits: 887ed601ff82d1cee8a358559e2c963528e6520b
wpt-pr: 38981
2023-03-29 12:52:05 +00:00
moz-wptsync-bot fb0d84dd10 Bug 1822668 [wpt PR 39019] - Update wpt metadata, a=testonly
wpt-pr: 39019
wpt-type: metadata
2023-03-29 12:52:04 +00:00
Shuran Huang 04623b7ec5 Bug 1822668 [wpt PR 39019] - Fix inconsistent hasStorageAccess behavior for A(B(A)) frame tree case, a=testonly
Automatic update from web-platform-tests
Fix inconsistent hasStorageAccess behavior for A(B(A)) frame tree case

This change for document.hasStorageAccess() is based on spec PR
fd28dc0543.

Bug: 1422628
Change-Id: I72cc1bb21a5d075a00b4b6719e2010855e5c2a63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4340989
Reviewed-by: Johann Hofmann <johannhof@chromium.org>
Commit-Queue: Shuran Huang <shuuran@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118658}

--

wpt-commits: 186820b4ea00e96be00a7f57a2f709c67d78d05c
wpt-pr: 39019
2023-03-29 12:52:04 +00:00
moz-wptsync-bot 52100a5166 Bug 1823014 [wpt PR 39052] - Update wpt metadata, a=testonly
wpt-pr: 39052
wpt-type: metadata
2023-03-29 12:52:03 +00:00
Rune Lillesveen 4526e548f3 Bug 1823014 [wpt PR 39052] - Use base::ValuesEquivalent for custom property style queries, a=testonly
Automatic update from web-platform-tests
Use base::ValuesEquivalent for custom property style queries

We previously compared the tokens from the tokenizated string instead.

Add tests for matching and serializing original string in style()
queries.

Bug: 1302630
Change-Id: I2768b930407f65c979b320597276e0d5d01a1b93
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4342894
Reviewed-by: Steinar H Gunderson <sesse@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118626}

--

wpt-commits: 0b9590a78d353217ae0bc6321ecc456f2da197ec
wpt-pr: 39052
2023-03-29 12:52:02 +00:00
Frédéric Wang 1f4085b8d3 Bug 1822982 [wpt PR 39049] - Fix MathML Python code to conform to the PEP 8 style guide, a=testonly
Automatic update from web-platform-tests
Fix MathML Python code to conform to the PEP 8 style guide

This commit fixes PEP 8 errors reported by `check-webkit-style` script:

```
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/largeop.py:59:  continuation line under-indented for hanging indent  [pep8/E121] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/mathvariant-transforms.py:75:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/mathvariant-transforms.py:103:  missing whitespace around operator  [pep8/E225] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/mathvariant-transforms.py:176:  expected 2 blank lines after class or function definition, found 1  [pep8/E305] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:28:  at least two spaces before inline comment  [pep8/E261] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:29:  at least two spaces before inline comment  [pep8/E261] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:28:  at least two spaces before inline comment  [pep8/E261] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:29:  at least two spaces before inline comment  [pep8/E261] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174:  unexpected spaces around keyword / parameter equals  [pep8/E251] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:189:  missing whitespace around arithmetic operator  [pep8/E226] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:189:  missing whitespace around arithmetic operator  [pep8/E226] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:195:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:200:  the backslash is redundant between brackets  [pep8/E502] [5]
ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:206:  the backslash is redundant between brackets  [pep8/E502] [5]
```

--

wpt-commits: 3a3453c62176c97ab51cd492553c2dacd24366b1
wpt-pr: 39049
2023-03-29 12:52:02 +00:00
moz-wptsync-bot 2f0f7d95f0 Bug 1822232 [wpt PR 38974] - Update wpt metadata, a=testonly
wpt-pr: 38974
wpt-type: metadata
2023-03-29 12:52:01 +00:00
Arnaud Mandy ae4bbc4900 Bug 1822232 [wpt PR 38974] - compute pressure: Add support for Workers, a=testonly
Automatic update from web-platform-tests
compute pressure: Add support for Workers

Implementation of compute pressure for dedicated workers and
shared workers.[1]

WPT tests have been updated accordingly.

[1]: https://w3c.github.io/compute-pressure/#supporting-algorithms

Bug: 1421715
Change-Id: Ia8a9b8c13677f6eeb0d302838e8d20224aa5512f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4204027
Reviewed-by: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Fr <beaufort.francois@gmail.com>
Commit-Queue: Arnaud Mandy <arnaud.mandy@intel.com>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118524}

--

wpt-commits: 19d101562394344018f4ea72bc6cb5220a4148b2
wpt-pr: 38974
2023-03-29 12:52:00 +00:00
moz-wptsync-bot b84174d31d Bug 1822543 [wpt PR 39012] - Update wpt metadata, a=testonly
wpt-pr: 39012
wpt-type: metadata
2023-03-29 12:51:59 +00:00
Ming-Ying Chung a7659ea430 Bug 1822543 [wpt PR 39012] - Refactor fetch keepalive-related WPT tests and add a basic one., a=testonly
Automatic update from web-platform-tests
Refactor fetch keepalive-related WPT tests and add a basic one.

Bug: 1356128
Change-Id: I279af0c91db27158f3836eb554853e853a5e5d06
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4340429
Commit-Queue: Ming-Ying Chung <mych@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118488}

--

wpt-commits: 37bb8d987c28d9e435e5f1e2f24df1d42eeb6f62
wpt-pr: 39012
2023-03-29 12:51:58 +00:00
Joey Arhar b0cb6db46f Bug 1822407 [wpt PR 38997] - CSSTransitionDiscrete: Fix text-decor related crashes, a=testonly
Automatic update from web-platform-tests
CSSTransitionDiscrete: Fix text-decor related crashes

Bug: 1399631, 1413556
Change-Id: Ia7274d4df0eda59fce9692262964607cdb81ad14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4338433
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118403}

--

wpt-commits: afdce893ed51bc1a7a7ac03b16b5a575caad071a
wpt-pr: 38997
2023-03-29 12:51:57 +00:00
moz-wptsync-bot a84c01eab4 Bug 1822947 [wpt PR 37063] - Update wpt metadata, a=testonly
wpt-pr: 37063
wpt-type: metadata
2023-03-29 12:51:57 +00:00
Javier Fernández García-Boente f0d04fa0fa Bug 1822947 [wpt PR 37063] - Initial implementation of the X25519 algorithm, a=testonly
Automatic update from web-platform-tests
Initial implementation of the X25519 algorithm

This CL implements the DeriveBits and import/export operations
for the X25519 algorithms (spki, pkcs, raw and jwk).

Additionally, it adds the new algorithm in the registry and implements
its normalization, which is quite simple due to the lack of parameters.

The feature is implemented behind the WebCryptoCurve25519 runtime flag
for now. See the intent-to-prototype request [1] for details.

[1] https://groups.google.com/a/chromium.org/g/blink-dev/c/n0uKIqfypW0/m/xu5UBbaBAwAJ

Bug: 1370697
Change-Id: Ibad2a728a5b25b40c130e4da270747104ae056ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4016576
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1118402}

--

wpt-commits: 1406b5c0d07b5e8dd08e328c451e42c23f3b96c8
wpt-pr: 37063
2023-03-29 12:51:56 +00:00
hungngo04 3c7015f743 Bug 1822166 [wpt PR 38962] - Split vr_services.mojom to multiple files based on its functionality., a=testonly
Automatic update from web-platform-tests
Split vr_services.mojom to multiple files based on its functionality.

Method moved from vr_service to xr_session:
enum XRSessionFeature()
enum XRSessionMode()

Bug:1420093

Change-Id: Ide102ec4495d32aca6aedc5f2233b2ed6a101058
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4307278
Reviewed-by: Will Harris <wfh@chromium.org>
Reviewed-by: Brendon Tiszka <tiszka@chromium.org>
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118389}

--

wpt-commits: 4904eff5021a5ab057de49fbbf0b4916b5a1f336
wpt-pr: 38962
2023-03-29 12:51:55 +00:00
moz-wptsync-bot ec842970f9 Bug 1819560 [wpt PR 38762] - Update wpt metadata, a=testonly
wpt-pr: 38762
wpt-type: metadata
2023-03-29 12:51:55 +00:00
lingqi 6ad340c2d7 Bug 1819560 [wpt PR 38762] - InlineLayout: add parsing logic for the text-box-trim property, a=testonly
Automatic update from web-platform-tests
InlineLayout: add parsing logic for the text-box-trim property

This CL includes:
- Introducing the new property.
- Adding a new RuntimeEnabledFeature
- Adding the parsing logic
- Adding initial web tests for parsing

Bug: 1411581
Change-Id: I8e9f6f023a505ac1ae97a827048d836972e97a73
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4296655
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Lingqi Chi <lingqi@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118311}

--

wpt-commits: 1eb5a3613d962922f982715e3ca09d4aedbb6a35
wpt-pr: 38762
2023-03-29 12:51:54 +00:00
Jonathan Lee 0172227f13 Bug 1822891 [wpt PR 39036] - [wptrunner] Downgrade URL validation in content shell driver, a=testonly
Automatic update from web-platform-tests
[wptrunner] Downgrade URL validation in content shell driver (#39036)

See the comment in `testharnessreport-content-shell.js`. URL mismatches
will no longer be treated as a harness `ERROR`.

For the URLs to match as much as possible, this change partially undoes
web-platform-tests/wpt#39007, which broke validation for final URLs with
fragments. Instead, we use the standard `URL(...)` instead of `<a>` to
parse the original `location.href`.
--

wpt-commits: 071134cb4d44b95f8068828830498a19c60ad120
wpt-pr: 39036
2023-03-29 12:51:53 +00:00
Joey Arhar c1a2920300 Bug 1822742 [wpt PR 39023] - Make animations to display:none also apply inert, a=testonly
Automatic update from web-platform-tests
Make animations to display:none also apply inert

https://github.com/w3c/csswg-drafts/issues/8389

Bug: 1422736
Change-Id: Ica770040e6932b00fdd0c3a2051c9aee745e4b2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4342420
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118269}

--

wpt-commits: 286d2ea3aa0cd9630d5402474c989cfa29c7bc7b
wpt-pr: 39023
2023-03-29 12:51:53 +00:00
moz-wptsync-bot 57bfc1347d Bug 1822437 [wpt PR 39001] - Update wpt metadata, a=testonly
wpt-pr: 39001
wpt-type: metadata
2023-03-29 12:51:52 +00:00
Scott Haseley 5ded787e91 Bug 1822437 [wpt PR 39001] - Scheduling APIs: Implement scheduler.yield() prototype (part 1), a=testonly
Automatic update from web-platform-tests
Scheduling APIs: Implement scheduler.yield() prototype (part 1)

This adds the full API surface of scheduler.yield() to the IDL and
implements all the options except inheritance (split off to keep the
size reasonable). Details:

 - The scheduler's fixed and dynamic priority collections are
   mirrored for continuations, and algorithms have been updated to
   select the collection based on WebSchedulingQueueType.
 - When yield is called, the options are used to get a TaskSignal
   for the continuation, using the same algorithm as postTask().
   This in turn is used to select the continuation queue which is
   used to schedule a DOMTaskContinuation (wrapper around resolving
   the yield() promise).
 - Passing "inherit" for the signal or priority option will CHECK.
   This will be implemented in a follow-up CL.
 - Tentative WPT test coverage is added for the implemented portion
   of the API.

Bug: 979020
Change-Id: I601cd0ce801f02bdc236995124a36951431da5b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4324266
Reviewed-by: Nate Chapin <japhet@chromium.org>
Commit-Queue: Scott Haseley <shaseley@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118256}

--

wpt-commits: 8ab8d9d6ae09d7cf62657115a1fd4366b7de8b11
wpt-pr: 39001
2023-03-29 12:51:51 +00:00
moz-wptsync-bot f013d1378d Bug 1822866 [wpt PR 39035] - Update wpt metadata, a=testonly
wpt-pr: 39035
wpt-type: metadata
2023-03-29 12:51:50 +00:00
Morten Stenshorne df3ddd8fbe Bug 1822866 [wpt PR 39035] - Only add trailing border/padding to the right fragment., a=testonly
Automatic update from web-platform-tests
Only add trailing border/padding to the right fragment.

We used to always subtract trailing border/padding for every fragment
that shouldn't have it, but this changed for table cells in CL:4303193.
To fix this, make sure that we only include trailing border/padding when
at the fragment that has the block-end edge of the box.

Bug: 1425075
Change-Id: Id7afa2eee764e1a8bb3017a90b212495278fe623
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4345873
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118245}

--

wpt-commits: e385e89cfcfb7170f098736c8ecefa89451aa62a
wpt-pr: 39035
2023-03-29 12:51:50 +00:00
moz-wptsync-bot 8025dbe551 Bug 1822765 [wpt PR 39027] - Update wpt metadata, a=testonly
wpt-pr: 39027
wpt-type: metadata
2023-03-29 12:51:49 +00:00
Henrik Boström 0df86d8de7 Bug 1822765 [wpt PR 39027] - Add test coverage for VP9 simulcast in WPTs., a=testonly
Automatic update from web-platform-tests
Add test coverage for VP9 simulcast in WPTs.

The majority of this work already happened inside third_party/webrtc (webrtc:14884). This CL simply adds test coverage for VP9 simulcast,
with and without using scalabilityMode.

For now, a field trial is needed in order for the scalabilityMode path
to opt-in and pass the test.

Bug: webrtc:14884
Change-Id: I453e15f329f424b74c6f82befe718c237dc9bff1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4340569
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118156}

--

wpt-commits: d70009880ec0c8cff26adf08f56cd44945cde35d
wpt-pr: 39027
2023-03-29 12:51:49 +00:00
Dan Burzo cab344b8bb Bug 1822795 [wpt PR 39029] - [css-color] Unwrap lab/oklab and lch/oklch for-loops, a=testonly
Automatic update from web-platform-tests
[css-color] unwrap lab/oklab and lch/oklch for-loops (#39029)

Make separate tests for lab() vs. oklab() and lch() vs. oklch(), since with clamping of L > 100% they will have different computed values (#39000).
--

wpt-commits: 490fc650dac1e61fd2be2dc76ce571a9a89e0135
wpt-pr: 39029
2023-03-29 12:51:48 +00:00
moz-wptsync-bot 07bf0abf07 Bug 1820148 [wpt PR 38932] - [Gecko Bug 1820148] Add typing-extensions to third_party, a=testonly
Automatic update from web-platform-tests
Add typing-extensions to third_party

This appears to be a pytest-asyncio dependency on some platforms.

For now we vendor 4.1.1 since that seems to be the last version that
works with Python 3.6+

Differential Revision: https://phabricator.services.mozilla.com/D171479

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1820148
gecko-commit: 054f50e94968d683575a1bafb5805ae5a83b01dd
gecko-reviewers: whimboo

--
Update pytest-asyncio to 0.19.0

Differential Revision: https://phabricator.services.mozilla.com/D157966

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1820148
gecko-commit: 5370f562cb3adda23354d3313190349bddbbe891
gecko-reviewers: whimboo

--
Mark async fixtures explicitly

Differential Revision: https://phabricator.services.mozilla.com/D157967

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1820148
gecko-commit: 2318fcb01d083e4791197566fd6d2a5bf3649da5
gecko-reviewers: webdriver-reviewers, whimboo

--
Update creating websockets connection in BiDi client

Differential Revision: https://phabricator.services.mozilla.com/D157969

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1820148
gecko-commit: 3f5f9ada5164ae429db4876dcc4b3d8cefb50cf4
gecko-reviewers: webdriver-reviewers, whimboo

--

wpt-commits: 490088b1cc295ae172d2002f1fd03cddbebca398, 163f422afb31d65d7c209ea2b2d15c0256e8dfea, 38e3dabff44cdc208d194868e374d4d7e1377f81, b68e9003ff83ae458f24b974684f83bae34050ec
wpt-pr: 38932
2023-03-29 12:51:47 +00:00
moz-wptsync-bot 80189e7043 Bug 1822398 [wpt PR 38996] - Update wpt metadata, a=testonly
wpt-pr: 38996
wpt-type: metadata
2023-03-29 12:51:47 +00:00
Matt Reichhoff bbc517d9d5 Bug 1822398 [wpt PR 38996] - [rsafor] Rename requestStorageAccessForOrigin to requestStorageAccessFor, a=testonly
Automatic update from web-platform-tests
[rsafor] Rename requestStorageAccessForOrigin to requestStorageAccessFor

This allows for evolution of the scope of the permission without
requiring deprecation of the old name.

Change-Id: Iee11f56a41ec116b800515adaf4ee3fe7fc91e26
Bug: 1424452
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4337982
Reviewed-by: Dominic Farolino <dom@chromium.org>
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Commit-Queue: Matt Reichhoff <mreichhoff@chromium.org>
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118038}

--

wpt-commits: b185124819558842359d60f2715797ceaf997fa6
wpt-pr: 38996
2023-03-29 12:51:46 +00:00
Noam Rosenthal 1f81392869 Bug 1822776 [wpt PR 39028] - Another attempt to deflake loaf tests, a=testonly
Automatic update from web-platform-tests
Another attempt to deflake loaf tests

Relax time comparisons to have a ~5ms approximation

Relanding, deleting a couple of failed expectations

Bug: 1422630
Change-Id: I66d1b216b3a02c42958b07acd9d5c3d9aa571a5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4342721
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118021}

--

wpt-commits: b4a4a4892b6bb3d87a77789b1ab3a3d63783365a
wpt-pr: 39028
2023-03-29 12:51:45 +00:00
moz-wptsync-bot 09be89bd2a Bug 1822500 [wpt PR 39008] - Update wpt metadata, a=testonly
wpt-pr: 39008
wpt-type: metadata
2023-03-29 12:51:45 +00:00
Hiroki Nakagawa 9cee42c496 Bug 1822500 [wpt PR 39008] - Prerender: Add WPT for worker creation in cross-origin iframes, a=testonly
Automatic update from web-platform-tests
Prerender: Add WPT for worker creation in cross-origin iframes

Bug: 1424250
Change-Id: Ib956dbdea5ccba8684f3d3e03571e56e8c333a2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4339339
Reviewed-by: Lingqi Chi <lingqi@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1117915}

--

wpt-commits: 0a0015daece3e9e495ca5505668ff304fb533742
wpt-pr: 39008
2023-03-29 12:51:44 +00:00
moz-wptsync-bot 895239c3c8 Bug 1822666 [wpt PR 39018] - Update wpt metadata, a=testonly
wpt-pr: 39018
wpt-type: metadata
2023-03-29 12:51:44 +00:00
Eugene Zemtsov d05fd8b8e8 Bug 1822666 [wpt PR 39018] - webcodecs: Support for per-frame QP configuration in VideoEncoder, a=testonly
Automatic update from web-platform-tests
webcodecs: Support for per-frame QP configuration in VideoEncoder

This is a resubmit of https://crrev.com/1117235

Currently only software AV1 and VP9 are supported.
 - IDL changes necessary pluming
 - web tests and
 - improved error messaging for profiles and config params

Demo: https://webcodecs-qp.glitch.me/

Bug: 1424154, 1406372
Change-Id: Ia7a89364700184fcfe55d0b6b298785784f1332d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4342072
Commit-Queue: Eugene Zemtsov <eugene@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1117801}

--

wpt-commits: eb59e8b777bb8d80932cc241a6a417c69a891c15
wpt-pr: 39018
2023-03-29 12:51:43 +00:00
moz-wptsync-bot a82330317d Bug 1821811 [wpt PR 38944] - Update wpt metadata, a=testonly
wpt-pr: 38944
wpt-type: metadata
2023-03-29 12:51:42 +00:00
fantasai c77976005d Bug 1821811 [wpt PR 38944] - [css-backgrounds] replace clip-text-multi-line, a=testonly
Automatic update from web-platform-tests
[css-backgrounds] replace clip-text-multi-line

See https://github.com/web-platform-tests/wpt/pull/38305#issuecomment-1426926262

--

wpt-commits: 94f9d6f73c48ce41146120c2350bfb8669fd96b3
wpt-pr: 38944
2023-03-29 12:51:42 +00:00
moz-wptsync-bot 9bec14a8b0 Bug 1822335 [wpt PR 38991] - Update wpt metadata, a=testonly
wpt-pr: 38991
wpt-type: metadata
2023-03-29 12:51:41 +00:00
Kevin Ellis a755c04972 Bug 1822335 [wpt PR 38991] - Implement getter and setter for rangeStart and rangeEnd., a=testonly
Automatic update from web-platform-tests
Implement getter and setter for rangeStart and rangeEnd.

Bug: 1424538

Change-Id: I69506a04387ed76e5daf9d0c173f12afce8b0b6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4335845
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1117717}

--

wpt-commits: 9a3b35afc5804647a145e5d8e1650725082cf82d
wpt-pr: 38991
2023-03-29 12:51:40 +00:00
Gérard Talbot 70fea10674 Bug 1814952 [wpt PR 38352] - [css-values] Added 3 complex getComputedStyle tests with calc(), a=testonly
Automatic update from web-platform-tests
[css-values] Added 3 complex getComputedStyle tests with calc() (#38352)

* [css-values] Added 3 complex getComputedStyle tests with calc()

* Merged into 1 3 gCS calc() bg and height tests
--

wpt-commits: e9eca5e74e121ddd96bc9ad01e03dfb3e1b82015
wpt-pr: 38352
2023-03-29 12:51:40 +00:00