Automatic update from web-platform-tests
Add a test checking that deviceId is empty before getUserMedia is called (#23202)
* Add a test checking that deviceId is empty before getUserMedia is called
* Add test for number of exposed devices before capture
--
wpt-commits: 2d95f2025c31214e6e5747816496d5867646969c
wpt-pr: 23202
Automatic update from web-platform-tests
wpt: Add WPT tests for navigation preload and same site cookies.
WPT tests to check if the navigation request handled by navigation
preload contains cookies in its headers. There are 3 tests depending on
the `SameSite` attribute.
Bug: 920488
Change-Id: I0a2c539443f9216c7d5fabd714e9cf4a3ff3d0a7
--
wpt-commits: 79617e1f06ebb131e7c816d519c11192b7c63930
wpt-pr: 22990
Automatic update from web-platform-tests
Wait for resource to be fetched completely (#23131)
Wait for resource to be fetched completely before comparing headers, since
some implementations only cache when the complete resource is fetched, rather
than just the first response, and this test relies on caching the first fetch.
--
wpt-commits: f98b6fb53c68797b35c5268e039f4a7b19df9411
wpt-pr: 23131
Automatic update from web-platform-tests
Add a test for declarative Shadow DOM after attachShadow()
This is a new test to verify that declarative shadow DOM (properly)
fails if attachShadow() has already been called on the host node.
Bug: 1042130
Change-Id: Ibca94f9be5f6a1eb3c3bdd491f84e782e8cc6d9f
--
wpt-commits: 84f93271efe15a4e37fed477a2ad364f8659a0f8
wpt-pr: 23195
Automatic update from web-platform-tests
Meta: remove need for !worker in workers/ tests
Helps with #23111.
--
wpt-commits: b7f09dc81131e15c19fec3a9e198257f9bc9b43e
wpt-pr: 23121
Automatic update from web-platform-tests
WebXR - AR - adjust XRRay to match the spec
Bring XRRay up to spec, adjusting the behavior with changes introduced
by PR:
https://github.com/immersive-web/hit-test/pull/85
Additionally, fix Chrome's Web IDL to not rely on overloads.
Change-Id: I98af1a4ed90dbeb8e311795e818efb64bb15034d
--
wpt-commits: fd045759df43fa155b34a5e4fe4187610ad1bb24
wpt-pr: 23126
Automatic update from web-platform-tests
[@property] Mark for recalc when removing declarations
I forgot to notify StyleEngine when the property registry changes
due to declarations being cleared. This meant removals would not
take effect correctly/predictably.
Since CSS.registerProperty / @property use the pattern of static
methods on PropertyRegistration to do some work + notifying
StyleEngine, we can follow the same pattern for this case.
Also rename CustomPropertyRegistered to PropertyRegistryChanged.
Bug: 978780, 973830
Change-Id: I3bd03f548a7783f1270d823501e4bf9b1c0778e6
--
wpt-commits: cd987667984a6d28c51e6335535c3e585c7e4ee1
wpt-pr: 23168
Automatic update from web-platform-tests
[server-timing] Populate values for NavigationTiming
Currently, Navigation Timing's Server Timing values are populated when
the entry is first created, which happens when it is first queried. For
long documents, that can happen before the body is loaded, which is the
point in which the response is set on the NavigationTiming entry's
TimingInfo.
This CL fixes that, by setting the response on the TimingInfo earlier,
at the document's commit time.
Change-Id: I10522342a7d92560167bdb7d33956823e588d9d8
Bug: 1068937
Change-Id: I10522342a7d92560167bdb7d33956823e588d9d8
--
wpt-commits: 0084aa71d4d4935fcbb43bd8122328da9d305098
wpt-pr: 23087
Automatic update from web-platform-tests
Correct input connection and automatic pull behavior of AudioWorkletNode
This CL fixes a failing test (process-parameters.https.html) and
it needs two changes in AudioWorkletNode:
1. Handling of unconnected inputs:
- spec: https://webaudio.github.io/web-audio-api/#dom-audioworkletprocessor-process-inputs-outputs-parameters-inputs
- "If there are no actively processing AudioNodes connected to
the 𝑛th input of the AudioWorkletNode for the current render
quantum, then the content of inputs[n] is an empty array,
indicating that zero channels of input are available."
- Thus, if an input is not connected, it will have an array with
zero element. (length == 0)
2. Handling of automatic pull:
- The implementation did not have a proper automatic pull
functionality for AudioWorkletNode. Without connect() or
disconnect() call the node will not be automatically pulled.
This change introduces failures in the "active processing" tests,
because those tests are expecting non-zero channel count for the
unconnected input:
- the-audiobuffersourcenode-interface/active-processing.https.html
- the-channelmergernode-interface/active-processing.https.html
- the-convolvernode-interface/active-processing.https.html
I prefer to mark 3 tests above "failure", and handle them later in
a separate patch.
Bug: 1046516
Test: the-audioworklet-interface/process-parameters.https.html
Change-Id: I55f9a1b6eb88c172a8d050598c6e5f946fe9692b
--
wpt-commits: e764b34bd01c8ed11efeb9205589dc4dbf09cf54
wpt-pr: 23158
Automatic update from web-platform-tests
Reland "[EventTiming] Add shadow DOM test for first input"
This is a reland of 9591b7074cacf1e8aeb9082dee2a4f46a171083f
Original change's description:
> [EventTiming] Add shadow DOM test for first input
>
> This CL tests event.target for first-input. The DOM elements do not have
> event listeners to show that event retargetting correctly retargets to
> the shadow host.
>
> Bug: 543598
> Change-Id: Ibd5a4a37a50f79b86d93a5c9c18c8ac7300ba723
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159622
> Reviewed-by: Steve Kobes <skobes@chromium.org>
> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#761417}
Bug: 543598
Change-Id: I21537ddc47075a5f0acaf0b53662b4db242c66a0
--
wpt-commits: 2a3389554f038ed396be6f699414aad23e7fe581
wpt-pr: 23180
Automatic update from web-platform-tests
[@property] Initial should be required for non-universal syntax
- Require an initial value for the @property rule to be valid.
(Except universal syntax definitions).
- Rename IsTokenStream -> IsUniversal. (It's nice to have names that
match the spec concepts).
- Fix typo 'initalValue' in an otherwise unrelated test.
Bug: 973830
Change-Id: I675f0c46b7918e4a81287d600d977ff76484cf8b
--
wpt-commits: 959a0d091354d3cb78d71c00a418092f29ce9857
wpt-pr: 23169
Automatic update from web-platform-tests
css-flexbox: convert 7 manual-tests to ref-tests (#23170)
* This converts the css-flexbox align-content_*.html tests and
flexbox-order-only-flexitems.html test to ref-tests.
* css-flexbox/align-content_space-around.html change height to 210:
that way the numbers of the ref-test spacer become 20 and 10 and
are perfectly round avoiding possible problems with subpixel layout.
--
wpt-commits: b3cc52b6cfaa5b6852bf9b07e62d007ab142ffa9
wpt-pr: 23170
Automatic update from web-platform-tests
[FlexNG] Add test for replaced %-block-size descendant.
With FlexNG we now cache on the ComputeMinMaxSizes level.
This fixes a subtle dynamic edge case.
Previously (legacy) wouldn't invalidate the flex-item base size due to
a parent height changes.
This adds a test for this case.
Bug: 845235
Change-Id: Ic711c3f8110b08fcc89351274a7bd283f66c1ce1
--
wpt-commits: 9eb7edb448e51c8c3e024608484290f19f374415
wpt-pr: 23178
Automatic update from web-platform-tests
Sort CSS computed style properties in lexicographical order, again
This is a follow-up of r760732, where I included logical properties when
iterating a computed style declaration. The problem was that I inserted
some of them at the wrong position, breaking the lexicographical order
achieved in r760690.
This time I add a test that checks that the order is right.
BUG=1072722,1072180
TEST=external/wpt/css/cssom/cssstyledeclaration-csstext.html
TEST=external/wpt/css/cssom/getComputedStyle-property-order.html
Change-Id: I3ea31024deed8b5a4c67a5a117c358cab6c9d7d4
--
wpt-commits: dbe025b0ce82a78a68bf63e7f657615378cbcb39
wpt-pr: 23175
Automatic update from web-platform-tests
Add support for canceling CSS transitions
This change adds support for canceling CSS transitions when a property
is no longer transitionable or when an element becomes styled with
display:none. Support for canceling and replacing CSS transitions when
the end value changes is still pending. This change also takes advantage
of updating the constellation message to fix a bug where transition
events could be sent for closed pipelines.
Fixes#15079.
--
wpt-commits: 7c3ddf7343d1577cd5279fb132a17617feeebfe3
wpt-pr: 23166
Automatic update from web-platform-tests
DedicatedWorker: Refine WPTs to test parse error handling
This CL modifies web-platform-test for parse error handling in classic
and module dedicated workers.
This CL does followings:
1. Divide workers/modules/dedicated-worker-parse-error-failure.html into
the tests for classic workers and for module workers.
2. For module workers, check if module script is supported before
testing parse error handling.
3. Check the content of the dispatched event.
This change is based on WPTs for shared workers parse error handling.
Bug: 1071345
Change-Id: I738c89d5241a94df17092a3b106b5b795a26a7de
--
wpt-commits: f6f6077aab9fea53099084cd009e0701ca5dcfa7
wpt-pr: 22994
Automatic update from web-platform-tests
ServiceWorker: Fix timeout on client-navigate.https.html
This CL fixes timeout on client-navigate.https.html, and removes unused
code in testharness.js.
This change is a follow-up for:
[1] https://github.com/web-platform-tests/wpt/pull/21162
[2] https://github.com/web-platform-tests/wpt/pull/22086
After the change [1], fetch_tests_from_workers() helper uses
ExtendableMessageEvent.source instead of MessageChannel to communicate
between a window and a service worker. This change works well for most
of cases, but fails some tests.
The fetch_tests_from_workers() helper takes a service worker object to
post a "connect" message to the worker, and then passes the worker
object to RemoteContext in testharness.js. RemoteContext adds an
onmessage event handler on self.navigator.serviceWorker. This works well
as long as the given worker object is associated with `self`. However,
these failing tests pass the worker object associated with the inner
frame to the helper. In this case, the helper uses an inner frame's
service worker object for postMessage(), while the helper waits on the
main frame's navigator.serviceWorker.onmessage. Consequently
event.source is the inner frame, and a reply from the service worker is
dispatched on the inner frame's navigator.serviceWorker.onmessage. This
results in timeout.
To fix this, this CL makes the main frame pass its own service worker
object instead of the inner frame's service worker object. Those
objects should be equal other than associated contexts, and this change
doesn't affect what the tests verify.
Bug: 1057682
Change-Id: I0f30f1fe9c54c3de1006276f3445c5e2b92ea5a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2155760
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760974}
--
wpt-commits: 0a9ee5f5458c922aab15c25339db79e93df5c707
wpt-pr: 23105
Automatic update from web-platform-tests
Migrate pointerevents/touch-pointercancel.html to wpt
pointerevents/touch-pointercancel.html test verifies
the touch and pointer events interaction in single
and multi touch point cases when scrolling happens or
not. The single touch point portion is already tested
as part of
wpt/pointerevents/pointerevent_pointercancel_touch.html
The two finger interaction is not very well specified
and is tested as part of
wpt/pointerevents/compat/pointerevent_touch-action_two-finger_interaction.html
and that only is missing the pointerid checks that
this CL adds as well.
Change-Id: I3ee27866dddc02cb87b1082b5a4fe2f9e8ba9220
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159577
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761123}
--
wpt-commits: eec9d65928b85f2ab8dc5252deb128d2246994af
wpt-pr: 23151
Automatic update from web-platform-tests
Replace assert_precondition with assert_equals in domparsing/ (#23007)
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
In this particular case, the assertion is actually checking for an
equality rather than an 'implements' phrase, so switch to assert_equals.
--
wpt-commits: e65087045387dd4ecb9d5c675062a6643e00c7ad
wpt-pr: 23007
Automatic update from web-platform-tests
Revert "[EventTiming] Add shadow DOM test for first input"
This reverts commit 9591b7074cacf1e8aeb9082dee2a4f46a171083f.
Reason for revert:
Failed blink_web_tests on webkit linux leak: https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20Leak/13490:
({"numberOfLiveContextLifecycleStateObservers":[2,5],"numberOfLiveDocuments":[1,2],"numberOfLiveNodes":[4,21],"numberOfLiveResourceFetchers":[1,2],"numberOfLiveResources":[0,4]})
Original change's description:
> [EventTiming] Add shadow DOM test for first input
>
> This CL tests event.target for first-input. The DOM elements do not have
> event listeners to show that event retargetting correctly retargets to
> the shadow host.
>
> Bug: 543598
> Change-Id: Ibd5a4a37a50f79b86d93a5c9c18c8ac7300ba723
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159622
> Reviewed-by: Steve Kobes <skobes@chromium.org>
> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#761417}
TBR=skobes@chromium.org,npm@chromium.org
Change-Id: I941e3f093e3d1fcba6662a54dec51b66690c9d70
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 543598
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2161125
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761446}
--
wpt-commits: b0e8930b6ed1b39a4bb9341a772b4efbc9ccb5f6
wpt-pr: 23173
Automatic update from web-platform-tests
Add MathML tests for color/visibility of normal, large and stretchy mo. (#23171)
https://github.com/mathml-refresh/mathml/issues/57
--
wpt-commits: 4338d5203d020abe7249f34f93dc170c32c23dfa
wpt-pr: 23171
Automatic update from web-platform-tests
XHR: align with Fetch's Content-Type stripping
Also modernize the code a tiny bit.
Closes#23156.
--
wpt-commits: 79311e3ce537612a80c21afc0013ee074d1fc5c1
wpt-pr: 23164
Automatic update from web-platform-tests
[EventTiming] Add shadow DOM test for first input
This CL tests event.target for first-input. The DOM elements do not have
event listeners to show that event retargetting correctly retargets to
the shadow host.
Bug: 543598
Change-Id: Ibd5a4a37a50f79b86d93a5c9c18c8ac7300ba723
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159622
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761417}
--
wpt-commits: 8fe6544d7211fe841ada747897674310973ee429
wpt-pr: 23155
Automatic update from web-platform-tests
[@property] Support unregistering properties
Having a declarative version of CSS.registerProperty means we must
effectively support unregistering properties as well: after all,
the stylesheet containing the @property can be removed with JS.
This CL implements that by clearing all declared registrations
from the registry when the active stylesheets change.
Bug: 973830, 978780
Change-Id: I5d5688176ecba75354a3b07750ebe47fb9c2949a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159216
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761359}
--
wpt-commits: 8e6a1cd4151d2a3387bfafebd54650c54a890695
wpt-pr: 23154
Automatic update from web-platform-tests
[@property] Add PropertyRegistry::Version
The version is simply a number that increases monotonically for each
change to the registry. This is needed by the animations machinery to
handle cases where the type of a registered custom property changes
on the fly during an ongoing animation. (See InvalidatableInterpolation
::EnsureValidInterpolationTypes). When the version changes, we can
clear the conversion cache, which causes the keyframes to be
reinterpreted according to the new registration.
Also move some utils from at-property.html to utils.js, for reuse
in other test files.
Bug: 973830
Change-Id: I97d0a37f016ccde649fe1482084707edd123903b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159212
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761323}
--
wpt-commits: 0a970f919e3a8f134f6b8b4cd03e63ef865bd38f
wpt-pr: 23159
Automatic update from web-platform-tests
Wasm: test SharedArrayBuffer-ness in another way (#23112)
--
wpt-commits: 6a1b15e5d699a00d58844b53e8c18d368169018d
wpt-pr: 23112
Automatic update from web-platform-tests
SignedExchange: Extend timeout of two tests
This extends timeout of two WPTs that are flakily timing out on bots:
- sxg-reporting-navigation-parse_error.tentative.html
- sxg-referrer-remote-physical-remote-logical.tentative.https.html
Bug: 1067502,1067264
Change-Id: I94a5fdaa0f4e8cf810438c8fba370300d4f72195
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159386
Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761303}
--
wpt-commits: c4d9e7b35b0b011c4f7fc15d618261500efa8c8d
wpt-pr: 23161
Automatic update from web-platform-tests
Scripts moved between documents (#19632)
This follows the changes in https://github.com/whatwg/html/pull/2673, but also tests the issue at https://github.com/whatwg/html/issues/2137 in favor of the current spec.
Co-Authored-By: Domenic Denicola <d@domenic.me>
--
wpt-commits: 299dd665683c2c5a4896bfb7727d8666aa6bba89
wpt-pr: 19632
Automatic update from web-platform-tests
Fix Webxr WPTs
The "is webkit" heuristic only checks that self.internals exists;
however, this is also true on chromium. Chromium however does not have
an "internals.xrTest", this expands the "is webkit" heuristic to also
account for the presence of "internals.xrTest" and thus ensure chromium
tests run
Fixed: 1072929
Change-Id: Ieba043ba1634b393905e4494d0c59294aa6df12b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159320
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761158}
--
wpt-commits: ef350cb9bd09615e8519a6d3ce08b478e4961207
wpt-pr: 23153
Automatic update from web-platform-tests
[@property] Set status to 'test' and move tests to WPT
Bug: 973830
Change-Id: I5d950496834ab17dc8615335c9c4ae25f2a4179b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2157528
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761157}
--
wpt-commits: 8ab9b393636f35a1ddeb0526483b9c03013a4f98
wpt-pr: 23134
Automatic update from web-platform-tests
Set up py3-only tools/quic and its venv (#23075)
* [quic] Set up py3-only tools/quic and its venv
This does not include the actual server, but only sets up the skeleton:
* Introduce a "py3only" to commands.json
* Create the skeleton of tools/quic and set up its venv
The plan is to have `wpt serve` call `wpt servequic` (behind a flag).
For more details, see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/quic.md
* Squashed 'tools/third_party/aioquic/' content from commit 88f258ae47
git-subtree-dir: tools/third_party/aioquic
git-subtree-split: 88f258ae47b7ec85de5ecf4104665054b969a9bb
--
wpt-commits: 4b870dfffeb7031d3657af7a950dd0ea1304bf10
wpt-pr: 23075
Automatic update from web-platform-tests
[lint] Add support for QUIC handlers and tests
* handlers: .quic.py files are Python 3-only so don't try to parse them.
* tests: add "quic" as a valid kind of metadata (note that manifest
support hasn't been implemented yet).
--
Skip tools/quic in py27-flake8
It contains code invalid in Python 2.
Drive-by: rename py36-flake8.ini to py3-flake8.ini as it's used by
multiple Python 3 versions.
--
wpt-commits: 8cdf17f2eca3a8fab82eccbe907627f2052382bd, 1d787b148b6bc65324746339d903c84e653e8ac5
wpt-pr: 23078
Automatic update from web-platform-tests
Rename a bunch of older idlharness test (#23149)
The modern naming convention seems to be to have the test include the
word 'idlharness' in some way, whereas 'interfaces' was the old version.
--
wpt-commits: e00d15c0e09f84bb65588fff9546f80c3721f04b
wpt-pr: 23149
Automatic update from web-platform-tests
[@property] Determine the registration
The current behavior for dealing with multiple registrations on the
same custom property was highly temporary, and not based on any spec.
The spec has since been updated to describe how it should work:
in short, registrations originating from CSS.registerProperty are
stored independently from those originating from @property, and
CSS.registerProperty-registrations (if present) win over @property-
registrations.
Changes in this CL:
- Separates storage for CSS.registerProperty-registrations
(registered_properties_) and @property-registrations
(declared_properties_). The old code put @property registrations
in the same map as CSS.registerProperty-registrations, and only
if no registration exited already. (Meaning for example that the
first @property seen would win---opposite of how it's spec'd to
work now).
- Determines the registration [1] correctly. I.e. first checks the
the CSS.registerProperty-registrations, and the @property ones.
- Adds an iterator which yields the currently active registrations
across both registration types. (I wanted to do this separately,
but initial values won't work properly without it, and there's a
test that relies heavily on that being functional).
Note that it's not explicitly stated in the spec that the storage for
the two registration types shall be separate, but that _is_ the
background for the current spec text on the subject. The rationale is
that it makes it easier to reason about which registration is the
current one when @property rules can appear and disappear via JS.
It's also expected that CSS.unregisterProperty will be added in the
future, making the situation even more unstable.
[1] https://drafts.css-houdini.org/css-properties-values-api-1/#determining-registration
Bug: 973830
Change-Id: I69b48629034b333ebed5d374f943d08b39579334
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2157071
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761075}
--
wpt-commits: 7aa1b761a317d924763915d2505f3a500659b47f
wpt-pr: 23135
Automatic update from web-platform-tests
CookieStore: Add validation behavior for __Host- prefixed cookies
This change adds the following checks for "__Host-" prefixed cookies:
1. Disallows overwriting with an explicit domain
2. Disallows non "/" path
This behavior is mentioned in the spec here [1].
Creating a cookie that violates this will cause a crash without
this change.
[1] https://wicg.github.io/cookie-store/#prefixes
Change-Id: I20968f11759019921aa7a6b37602878a17b091ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2151825
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760776}
--
wpt-commits: e731ebbe61dc7cd861633585c704fb59bde64b9f
wpt-pr: 23026
Automatic update from web-platform-tests
Screen Enumeration: Add a placeholder Screen.id to replace Screen.name
Use placeholder ordinal ids for now (0, 1, 2, ...); update tests.
TODO: generate per-origin UUIDs that reset when cookies are deleted
Test Screen.id values returned via window.getScreens() with:
chrome://flags#enable-experimental-web-platform-features OR
$ chrome --enable-blink-features=ScreenEnumeration
Try https://michaelwasserman.github.io/window-placement-demo
Bug: 994889
Test: Automated, Screen.id placeholder values
Change-Id: I0c5b18b92fef251211822f3473ea85472a7ee945
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2155113
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Michael Wasserman <msw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761040}
--
wpt-commits: f8d36b93adcfb21622c935a77427bf99caf3d1e3
wpt-pr: 23082
Automatic update from web-platform-tests
Animations modified with setKeyframes must not mask !important
CSS declarations that are !important have higher priority in the
cascade than animation effects. Unfortunately the information about
which declarations were and weren't important is lost once the
StyleCascade disappears. Specifically, it's not stored on the
ComputedStyle. This causes a problem (once again) for the base computed
style optimization, since we can't naively add animation effects on
top of the base anymore. We might be overwriting something in the base
that was important.
The previous attempt at fixing this (flag on ElementAnimations) doesn't
work properly. For example, it fails to detect the case where an
animation initially doesn't conflict with important declarations, but
then suddenly does via setKeyframes.
To solve this, this CL stores a bitset containing information about
important declarations alongside the base ComputedStyle on
ElementAnimations. When we're considering whether the base can be used
or not, we then check if there's any animation matching the set of
important declarations.
Persisting that many bits is slightly uncomfortable, but the only
viable alternative I see is disabling the optimization when *any*
important declaration exists in the base, which is probably a worse
option.
Sidenote: Initially I tried to always use the base, even when there
were conflicts with important declarations. The bitset of important
declarations is effectively a set of animations to be skipped, so we
should still be able to use the base if we just don't apply the
properties present in the set. However, it unfortunately didn't work
due to visited/unvisited colors being animated together
(crbug.com/1062217).
Bug: 552085
Change-Id: I39e2879af8a858ce1bd97eaa2ceb6e222591df79
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152449
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761034}
--
wpt-commits: 9f16de83abdee864d6dafebbacc298b08964750d
wpt-pr: 23032
Automatic update from web-platform-tests
Replace assert_precondition with assert_implements in vibration/ (#23022)
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
Since navigator.vibrate is not an OPTIONAL part of the Vibration API
spec, this test should use assert_implements.
--
wpt-commits: 440e3632f10aadb0fc0f90c923ca6b6467887fd8
wpt-pr: 23022
Automatic update from web-platform-tests
Add more references to sticky position ref tests
This is a follow-up patch of
https://chromium-review.googlesource.com/c/chromium/src/+/2105754
This patch adds more reference rectangles to sticky ref-tests to catch
when the main thread position is different from the sticky position.
Bug: 1059272
Change-Id: Ib3101e58a95db134a427b2852bca4c4bd58f805e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2137828
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Hao Sheng <haozhes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761027}
--
wpt-commits: 9586cd0785957c1f58c58cc9df9bc7410ffe8aff
wpt-pr: 22752
Automatic update from web-platform-tests
[WPT] Fix paths in svg-image-orientation.html and ref
When this test was landed, a file move was not reflected in the
paths to resources. Fix it.
TBR: fs@opera.com
Change-Id: I6b1df77d11c63e657369e681f52d9091b27b428a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159305
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760934}
--
wpt-commits: 083c17b74c10722fed558dfb5bb26b4956be5a1d
wpt-pr: 23139
Automatic update from web-platform-tests
[cssom] Add a test for enumeration of logical props in getComputedStyle.
Also test environment variables because webkit exposes them.
--
wpt-commits: 6cb7fa4dd30e1f9e2c303a49dad2ba9b4a5d76b1
wpt-pr: 23088
Automatic update from web-platform-tests
Make transition in FCP test faster, otherwise test is slow (#23132)
Co-authored-by: Noam Rosenthal <noam@webkit.org>
--
wpt-commits: c1bc664ebc3bd5132eb57727f7656c8c82444fec
wpt-pr: 23132
Automatic update from web-platform-tests
[css-flexbox] Move fixedpos-video-in-abspos-quirk-crash.html to WPT
Migrate this test out of third_party/blink/web_tests/css3/flexbox
and into the WPT-specific directory, adding links to the relevant
specs and a test assertion describing its purpose.
Bug: 1063749
Change-Id: I89f11b01b18f3b4f1bcc58c6578ed24cdcc2ff6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153460
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Julie Kim <jkim@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760799}
--
wpt-commits: 9a6026305062c90d84a567d81434010dde6c6c22
wpt-pr: 23051
Automatic update from web-platform-tests
Fix inline box positions when RTL and has trailing spaces
This patch fixes inline box positions when the line is in RTL
and has preserved trailing spaces.
Two issues were found for this case:
a. Computes incorrect value for how much the line hangs.
b. When hang is not zero, inline box positions are incorrect.
This patch fixes the issue b.
The issue a is related but does not contribute to the
reported symptom. It should be worked with better trailing
space support and UAX#9 L1 support (crbug.com/316409). TODO
comment added for this issue.
Bug: 1062716
Change-Id: Ie33db517ebc886a724116b594699f8d59751c808
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2156235
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760793}
--
wpt-commits: 44215ed1f182054fdd55a43035b70041b50d61b0
wpt-pr: 23119
Automatic update from web-platform-tests
[css-logical] Include logical properties when iterating a computed style
The logical properties were not added into kComputedPropertyArray, so
they were skipped when iterating a computed CSSStyleDeclaration like
[...getComputedStyle(document.body)].
BUG=1072180
TEST=external/wpt/css/css-logical/getComputedStyle-listing.html
TEST=external/wpt/css/cssom/cssstyledeclaration-csstext.html
TEST=external/wpt/css/cssom/cssstyledeclaration-custom-properties.html
TEST=fast/css/getComputedStyle/computed-style-listing.html
TEST=fast/css/getComputedStyle/computed-style-without-renderer-listing.html
TEST=svg/css/getComputedStyle-listing.html
Change-Id: Ia83ac8608b2b98601f454653900e76f89291b4aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153442
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760732}
--
wpt-commits: 17b3f85c94583270571b8b8e4a8815d664dbb1c8
wpt-pr: 23125
Automatic update from web-platform-tests
Fix customized built-in element constructor behavior
This CL implements two changes:
1. It fixes the implementation to better match the spec for the
"create an element for the token" [1] algorithm. Prior to this CL,
step 7 of that algorithm was skipping directly to step 6 of the
"create an element" [2] algorithm, skipping over step 5 for
customized built-in elements. This is now fixed. This case is
illustrated by the issue and example at [3] and [4]. This becomes
the first test in customized-built-in-constructor-exceptions.html.
2. It updates the comments to match the new behavior discussed in [3]
and the [5] spec PR, which changes the return value in the case
that a customized built-in element constructor throws an exception.
With the change above, that is actually already the behavior. So
this is just a comment change. Two new tests are added to
customized-built-in-constructor-exceptions.html.
[1] https://html.spec.whatwg.org/multipage/parsing.html#create-an-element-for-the-token
[2] https://dom.spec.whatwg.org/#concept-create-element
[3] https://github.com/whatwg/html/issues/5084
[4] https://crbug.com/1024866
[5] https://github.com/whatwg/dom/pull/797
Bug: 1071059, 1024866
Change-Id: I814c81991eb5e83501304bcb3d2da476743aef52
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152986
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760705}
--
wpt-commits: 8086723599f2bcdcbf54bcecff8cc50038cf939a
wpt-pr: 23072
Automatic update from web-platform-tests
Add a test for unexpected activation triggered during space keydown driven focus management (#22424)
Relevant spec: https://w3c.github.io/uievents/#event-flow-activation
This is targeting a Firefox bug where when forwarding focus on space and enter
keydown events, a unexpected click event is triggered on the forward target.
Here's a demo page for the buggy behavior:https://html-is.glitch.me/firefox-space-focus.html
This test case only cover the Space key case where Firefox is the outlier.
--
wpt-commits: cc87c188abc5c88460d24379e69d540372f0c683
wpt-pr: 22424
Automatic update from web-platform-tests
Add WebKit support for WebXR tests (#23031)
WebXR and the WebXR testing API are in the process of being implemented. The way we designed the integration of the test API with the rest of the engine is by adding WebXRTest to an object called Internals which is injected in JSC and that provides JS access to WebKit's internal APIs. That Internals object is only available for testing so we can ensure that WebXRTest is never exposed to the Web.
--
wpt-commits: 603ea91ccada76c2796bc51d1cf027882582cd83
wpt-pr: 23031
Automatic update from web-platform-tests
Rework WPT: /fetch/stale-while-revalidate/stale-image.html
Previous patch:
https://chromium-review.googlesource.com/c/chromium/src/+/2154786
improves ./stale-script.html
For consistency and because the test looks slightly nicer, this patch
applies the same kind of refactoring to ./stale-image.html
Bug: 1070117
Change-Id: Idae5a373154d9f6e8cc63d054d3abfe2662b621e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152797
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760574}
--
wpt-commits: fddc3a878fbc036ae2c5d9cda328814e8c0f4f60
wpt-pr: 23068
Automatic update from web-platform-tests
Rework WPT: /fetch/stale-while-revalidate/stale-css.html
Previous patch:
https://chromium-review.googlesource.com/c/chromium/src/+/2152797/1
improves ./stale-image.html
For consistency and because the test looks slightly nicer, this patch
applies the same kind of refactoring to ./stale-css.html
Bug: 1070117
Change-Id: I5a30c105aca4c2bde0962004f9a97e4fbde2ab4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152798
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760552}
--
wpt-commits: c07b77f5e6844e49972496a5ec5d8c19e114a7d7
wpt-pr: 23067
Automatic update from web-platform-tests
Rework WPT: /fetch/stale-while-revalidate/stale-script.html
Mainly for improving my own understanding. I would like to make some
tests about CSP vs stale-while-revalidate for issue 1070117
This patch:
1) Use Promise(s) instead of callback(s). This unwrap the logic flow.
2) Make "last_modified_count" to count the number of new version being
served. Previously, it was a bit confusing to me.
3) Extend the test to check the "revalidated" version is served on the
3rd load.
4) Small misc refactorings.
Bug: 1070117
Change-Id: Ifba23d78e539eb50262244f59e7c16e1b9ca56ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154786
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760550}
--
wpt-commits: 786254638cb557073634ba37262f31668712df4b
wpt-pr: 23069
Automatic update from web-platform-tests
Pass a protocol to the TimedRunner constructor instead of a session.
--
wpt-commits: 13231f31e635216979d3cba401f31d929d89ba95
wpt-pr: 23120
Automatic update from web-platform-tests
MIME Sniffing: tests for MIME type groups
Note: these are currently not run by browsers, but might be useful for tooling.
--
wpt-commits: 5c417eadfaa7ff328eb1cbc6338b843d73de4f63
wpt-pr: 23116
Automatic update from web-platform-tests
[blink] Add tests for destructive writes with JavaScript modules (#22723)
* [blink] Add tests for destructive writes with JavaScript modules
This adds test for document.write in different situations with
modules that were previously not tested or documented to the same
extent.
This also adds a test for future top-level await implementation.
- JavaScript proposal: https://github.com/tc39/proposal-top-level-await
- HTML proposal: https://github.com/whatwg/html/pull/4352
Bug: 1022182, v8:9344
Change-Id: I873df1e6aab2aa1ac6f7bf1b842059053f4a7cc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134132
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760411}
Co-authored-by: Camillo Bruni <cbruni@chromium.org>
Co-authored-by: Stephen McGruer <smcgruer@chromium.org>
--
wpt-commits: 3a31f9c2822c84b2cbad5287a41c42c8ecbd7708
wpt-pr: 22723
Automatic update from web-platform-tests
Remove instances of 'whitelist' in content-security-policy/ (#21321)
As per https://whatwg.org/style-guide
--
wpt-commits: 0bd159c15fee1dd38da28b094276a785982518e0
wpt-pr: 21321
Automatic update from web-platform-tests
Add interfaces/page-lifecycle.idl and test (#22832)
A test for Client is not added as even
service-workers/service-worker/resources/interfaces-worker.sub.js does
not test this interface yet.
Closes https://github.com/web-platform-tests/wpt/pull/21313
--
wpt-commits: 199399bba42377979e8a2c89c2c7f16300cf6782
wpt-pr: 22832
Automatic update from web-platform-tests
HTML: remove title argument for registerProtocolHandler()
For https://github.com/whatwg/html/pull/5425.
--
wpt-commits: 5f24b1946045577454f2b93300d7fdbad9921515
wpt-pr: 22678
Automatic update from web-platform-tests
Update interfaces/pointerevents.idl and test (#23092)
The test had an incorrect import order, which was causing an error
during the IDL setup.
Closes https://github.com/web-platform-tests/wpt/pull/23086
--
wpt-commits: bc186b9d26f0c75581a374dfec2a3a311e487de8
wpt-pr: 23092
Automatic update from web-platform-tests
The specification does not define the concept of or algorithm for "ownership" of a SpeechSynthesisUtterance (#23098)
Fixes https://github.com/web-platform-tests/wpt/issues/23097
--
wpt-commits: a12b280bc38ae366807ad9324e1a6fc3d8b5e82e
wpt-pr: 23098
Automatic update from web-platform-tests
[css-grid] Migrate grid-automatic-minimum-for-auto-rows to WPT
Migrate this test out of web_tests/fast/css-grid-layout/ and into the
WPT-specific directory, adding links to the relevant specs and a test
assertion describing its purpose.
Bug: 1063749, 767015
Change-Id: Id3fe39a3ce2d81e8e378d55fc0b21bc74426670d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152791
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760445}
--
wpt-commits: 2d81266d7fb3ce5cecbd01a8d8539bdb6990e092
wpt-pr: 23054
Automatic update from web-platform-tests
[css-grid] Migrate grid-automatic-minimum-intrinsic-aspect-ratio to WPT
Migrate this test out of web_tests/fast/css-grid-layout/ and into the
WPT-specific directory, adding links to the relevant specs and a test
assertion describing its purpose.
Bug: 1063749, 767015
Change-Id: I52c5fb0db32eacdfe338b4970dab7841875fe150
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152834
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760444}
--
wpt-commits: 6d1019b5a1cae4263ed21e2097f9c259b498d89c
wpt-pr: 23058
Automatic update from web-platform-tests
[css-grid] Migrate grid-container-width-should-include-scroll-bar-width.html to WPT
This CL migrates
grid-container-width-should-include-scroll-bar-width.html
from fast/css-grid-layout to
external/wpt/css/css-grid/grid-model with WPT styles,
adding links to the relevant specs, and test description.
Additionally, this test is renamed to
grid-scrollbars-sizing-002.html to be align with existing
tests.
Bug: 1063749
Change-Id: Iec5c026bdcbf8d23cdef4a4789ee4c68c87e40ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153456
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760443}
--
wpt-commits: 2a0ac4cc10a6c486756ed77e74bb2593f52a9bf9
wpt-pr: 23045
Automatic update from web-platform-tests
[css-grid] Migrate grid-self-baseline-* tests to WPT
Migrate all these tests out of blink/web_tests/fast/css-grid-layout
and into the WPT-specific directory, adding links to the relevant
specs and a test assertion describing its purpose.
This is a fairly big CL because it migrates 28 tests at once, but
we decided to do that since the changes done for all those tests
are pretty much the same, so both the elaboration of this patch
and the review might become easier this way, as changes are quite
mechanical in general.
Bug: 767015, 1063749
Change-Id: Ib19287254bf6aa70553ba805b2844e36884f52e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154945
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Commit-Queue: Mario Sanchez Prada <mario@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760420}
--
wpt-commits: 05ec95b3c6277c773f8fc02fc93b8c088b7d01d9
wpt-pr: 23066
Automatic update from web-platform-tests
Allow wpt.py to be called from outside the WPT directory
Note that this is about wpt.py, which is a file specifically used for
Windows, and not 'wpt' which is the main entry-point file.
Previously wpt.py would just try to exec 'wpt' in the current working
directory, which may not be the directory that contains 'wpt.py' (and
thus, no 'wpt'!). To fix that, we os.chdir into the same directory as
the __file__.
Fixes https://github.com/web-platform-tests/wpt/issues/23095
--
wpt-commits: 07ca316106218e6c21133fed91176d8e41df1d17
wpt-pr: 23096
Automatic update from web-platform-tests
Replace assert_precondition with assert_equals in native-io/ (#23023)
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
The usage in these tests was to check equality rather than whether a
feature was supported, so replace with assert_equals.
--
wpt-commits: 9b5bdedc2ad7797a6b99895157aeaa2b3a2d61e6
wpt-pr: 23023
Automatic update from web-platform-tests
Replace assert_precondition with assert_implements in credential-management (#23008)
assert_precondition is deprecated (see
https://github.com/web-platform-tests/rfcs/blob/master/rfcs/assert_precondition_rename.md).
Since PasswordCredential is not an OPTIONAL part of the Credential
Management spec, these tests should use assert_implements.
--
wpt-commits: f4f991aac0026225ca453a749ddaaca993ac8101
wpt-pr: 23008
Automatic update from web-platform-tests
[css-ruby] Test for M/B/P around base/annotation container boxes (#22843)
Relates to https://github.com/w3c/csswg-drafts/issues/4937
--
wpt-commits: 73c2c2bbb9c8ea7ef99649f342099aee16718e78
wpt-pr: 22843
Automatic update from web-platform-tests
Fix unintentional case-sensitivity for COEP header parsing
https://crrev.com/c/2132902 introduced case-sensitivity unintentionally.
Fix it.
Having a test for COEP header parsing for responses coming from service
workers in reporting.https.html is not good. Create a separate test
file and remove the corresponding test case from reporting.https.html.
Bug: 887967
Change-Id: I50da8ee5e38162fbb81699fc1c55f5b4cb9cd903
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154364
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760391}
--
wpt-commits: 1eaf296e2efa00f24f62b34122a1950ca9f28f1e
wpt-pr: 23052
Automatic update from web-platform-tests
[wake-lock] Rename wpt/wake-lock to wpt/screen-wake-lock
WPT test directories should named after the shortname of the spec,
this CL renames wpt/wake-lock to wpt/screen-wake-lock and moves
system wake lock related tests to web_tests/wake-lock since
there's no w3c spec for system wake lock at present.
This CL also moves the idlharness tests for system wake lock
to wpt_internal/system-wake-lock to use wptserve.
Relevant spec issue: https://github.com/w3c/screen-wake-lock/issues/257
Bug: 1064685
Change-Id: I77939065ca82257fc261dcdfd07c9e7608fc9c92
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2147352
Commit-Queue: Wanming Lin <wanming.lin@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760380}
--
wpt-commits: 229773d606f8b9603046580b32935968a4326004
wpt-pr: 22883
Automatic update from web-platform-tests
allowing the body to shrink when necessary on mobile
don't allow the video to exceed 100% width
--
wpt-commits: 8fe8560ef976747be54269abceca7664bebf61a6
wpt-pr: 23094
Automatic update from web-platform-tests
[css-grid] Migrate grid-dynamic-updates-relayout.html to WPT
This CL migrates grid-dynamic-updates-relayout.html to
external/wpt/css/css-grid/grid-definition, adding links to the relevant
specs and a test assertion describing its purpose, renaming it to
grid-template-columns-rows-changes-001.html.
Bug: 1063749
Change-Id: I077502f4b40d0c0744d775c9a0382097b8a31672
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154360
Reviewed-by: Manuel Rego <rego@igalia.com>
Commit-Queue: Julie Kim <jkim@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760349}
--
wpt-commits: c2826f6758784df10e7c84c75be74c283ac62ce3
wpt-pr: 23050
Automatic update from web-platform-tests
fixup! [css-grid] Migrate flex-sizing-columns-min-max-width.html to WPT
This CL updates the title and assert slightly to be aligned
with flex-sizing-rows-min-max-height-001.html.
Bug: 1063749
Change-Id: Ie16502fa396475e402a7649a74f1cfced215f478
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153177
Reviewed-by: Manuel Rego <rego@igalia.com>
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Cr-Commit-Position: refs/heads/master@{#759990}
--
wpt-commits: 8d11959e5d2917a3e01471d2ee058a4b8c127297
wpt-pr: 23039
Automatic update from web-platform-tests
[performance-timeline] simplify idlharness.js test signficantly (#23079)
All of the complexity here was due to using a PerformanceMark to test
some of the aspects of PerformanceEntry which can only be tested with an
instance, and PerformanceEntry is an abstract interface with no
instances.
However, the downside is that this ends up testing more than should be
tested for Performance Timeline. This is not a good tradeoff.
--
wpt-commits: eeb7c6fdfc6ad1b1ca1deb0cda52e0e9a06b7e29
wpt-pr: 23079
Automatic update from web-platform-tests
Handle 'revert' in StylePropertySerializer::CommonShorthandChecks
The 'initial', 'inherit' and 'unset' keywords were handled, but
'revert' was not. This caused crashes when trying to represent certain
declaration block serializations using shorthands.
Change to use IsCSSWideKeyword instead, which includes 'revert'.
(It should also avoid the same problem the next time a new CSS-wide
keyword is added).
Bug: 1071454
Change-Id: I968a32a5ad5b2a1a1958f60ec19679c6a642df14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152817
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760310}
--
wpt-commits: d5b0a8aaf66c841e4236980e1a2970c0f053b6c1
wpt-pr: 23077
Automatic update from web-platform-tests
[css-grid] Migrate floating-not-effect-on-grid-items.html to WPT
This CL migrates floating-not-effect-on-grid-items.html
from fast/css-grid-layout to
external/wpt/css/css-grid/grid-model with WPT styles,
adding links to the relevant specs, and test description.
Additionally, this test is renamed to grid-float-002.html
to be aligned with existing tests.
Bug: 1063749
Change-Id: I1fe5a1a554ee2e2a15f526c8d1f18b8ba013ce6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153446
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760297}
--
wpt-commits: 6c3bf3042bebd8c1b37ef8755267bdaaa8e38f32
wpt-pr: 23040
Automatic update from web-platform-tests
[css-grid] Migrate grid-container-scroll-accounts-for-sizing.html to WPT
This CL migrates grid-container-scroll-accounts-for-sizing.html
from fast/css-grid-layout to
external/wpt/css/css-grid/grid-model with WPT styles,
adding links to the relevant specs, and test description.
Additionally, this test is renamed to
grid-container-scrollbars-sizing-001.html to be aligned with
existing tests.
Bug: 1063749
Change-Id: I370f3a02a7d5aac8bcfad2544447e1fe046b7a13
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153453
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760294}
--
wpt-commits: b6da2c5d662df12d399685b3a0be79978b5479d2
wpt-pr: 23044
Automatic update from web-platform-tests
[css-grid] Migrate grid-container-scroll-accounts-for-auto-margin.html to WPT
This CL migrates grid-container-scroll-accounts-for-auto-margin.html
from fast/css-grid-layout to
external/wpt/css/css-grid/alignment with WPT styles,
adding links to the relevant specs, and test description.
Additionally, this test is renamed to
grid-container-auto-margin-scrollbars-001.html to be aligned
with existing tests.
Bug: 1063749
Change-Id: Ib44cdce4fc7c20121efd8cbf0af76cc325a90f1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153449
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760293}
--
wpt-commits: 3c10aed1f63a9628e891b4c48c80f99055377821
wpt-pr: 23042
Automatic update from web-platform-tests
[FlexNG] Fix static position for abspos flex items
Absolutely positioned flex items were getting placed wrong when the
containing block was legacy. This patch stores the relevant edges in
legacy and makes NG pick them up on the other side.
The above only works for abspos items controlled by NG. Legacy abspos
flex items with a legacy containing block, e.g.
position-absolute-009.html in this CL, still don't work.
Bug: 845235, 1066859
Change-Id: I3d6beb0bfe80292181b81d2e42bf79bf73ddc834
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146133
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760290}
--
wpt-commits: 838f1813d0ad18b9fefb836936af6bfc2c8051c1
wpt-pr: 22863
Automatic update from web-platform-tests
[EventTiming] Implement target
This CL adds the 'target' attribute to PerformanceEventTiming under the
disabled-by-default EventTiming flag. Note that this is needed since
first input timing is already shipped. The implementation simply sets
the value upon finishing running event handlers, which guarantees that
the very last target is the one used.
In addition, the webexposed value needs to perform some checks to make
sure that the target can be exposed. These are the same checks as the
ElementTiming currently does for its 'element' attribute, and that the
LayoutInstability API will need to perform as well, so these are moved
to a static method in Performance.
Bug: 543598
Change-Id: I10fa259713406c3898eebc0b682fe3d48ca7f641
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152999
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760250}
--
wpt-commits: bc01db77c4d739582f51c3b418037ae410116b06
wpt-pr: 23035
Automatic update from web-platform-tests
Clean up lazy load tests
This CL cleans up the image lazy loading cross-origin iframe tests. The
tests assert that lazy loading works even for images in cross-origin
iframes.
Before this CL, the main test files didn't make use of promise_test
correctly, so the tests would just timeout for implementations that
didn't support lazy load. This happened because none of the promises the
test awaits actually perform assertions, so in the error case, they
never resolve or reject. This CL fixes that by refactoring the tests to
use a chain of promises that correctly employ assertions, and return a
final fulfilled promise.
R=sclittle@chromium.org
Bug: N/A
Change-Id: I4462cf7fd3d2a67fc1ccfb18ec8196bfdb50891f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154820
Reviewed-by: Scott Little <sclittle@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760205}
--
wpt-commits: 248e44b485b2a69c1c25f7c6f64b681b3aca4424
wpt-pr: 23076
Automatic update from web-platform-tests
Remove duplicated copies of 60x60-red.png file
Update paths to use the only copy that is kept under "/css/support/".
--
wpt-commits: 701892246be156a8a051083c9c50ab22a89a26a5
wpt-pr: 12818
Automatic update from web-platform-tests
Update MathML cramped tests to match the updated specification (#23073)
* Update MathML cramped tests to match the updated specification
The new effect on scripts is described by
https://mathml-refresh.github.io/mathml-core/#displaystyle-and-scriptlevel-in-scripts
* Add tests for mmultiscripts
--
wpt-commits: 38c366d3f8a1063937259696ef61a5c7f553d18b
wpt-pr: 23073
Automatic update from web-platform-tests
[css-grid] Migrate grid-content-alignment-with-span-vertical-rl.html to WPT
Migrate this test out of blink/web_tests/fast/css-grid-layout
and into the WPT-specific directory, adding links to the relevant
specs and a test assertion describing its purpose.
Bug: 767015, 1063749
Change-Id: Ibd15ce759845f954dea022aa9fca97dfbc89406f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152827
Commit-Queue: Mario Sanchez Prada <mario@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760000}
--
wpt-commits: 2e1205f9760922c64539128ac90ccf793a6a759e
wpt-pr: 23019
Automatic update from web-platform-tests
[css-grid] Migrate grid-container-percentage-rows.html to WPT
Note: This test fails in Firefox (and EdgeHTML) but this is
expected as both haven't implemented the change on the spec yet.
This is the Firefox bug about [1].
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1481876
BUG=767015, 1063749
R=rego@igalia.com
Change-Id: I42392e66f6fabb3550907ad3309907f48e5fe18d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153268
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760048}
--
wpt-commits: 4296b184a6d3980cb2c0aefd5fc6ac880bc6a79b
wpt-pr: 23033
Automatic update from web-platform-tests
[css-grid] Migrate grid-automatic-minimum-for-auto-columns to WPT
Migrate this test out of web_tests/fast/css-grid-layout/ and into the
WPT-specific directory, adding links to the relevant specs and a test
assertion describing its purpose.
Bug: 1063749, 767015
Change-Id: Icdb180274b6d82ae02dc25461efa1b5819670195
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2151512
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760041}
--
wpt-commits: 94cf50595a7970d07e71a4274200482a844f6296
wpt-pr: 23034
Automatic update from web-platform-tests
Fix overscroll behavior manual test automation script
The test was moved but not its chrome specific automation script.
Moved the script to correct folder and updated expectation file.
Minor: Also rename the test to match the convention.
FIXED: 912613
Change-Id: I44ddc7d5693df18f00400f79e63a95aeb626f03f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2150397
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#760035}
--
wpt-commits: 4eadc9b121275fe7d067c464712714364b669414
wpt-pr: 22977