Skip to content

Releases: web-platform-tests/wpt

merge_pr_49250

20 Nov 06:40
b71cc3b
Compare
Choose a tag to compare

Add myself to WPT reviewers for specs I edit (#49250)

Co-authored-by: François Daoust fd@tidoust.net

merge_pr_49229

20 Nov 10:10
Compare
Choose a tag to compare

[Sanitizer] Reland: Implement core Sanitizer data structures + logic.

This implements the core Sanitizer logic. This is still missing
spec-mandated handling of "javascript:" URLs, and will have to be
updated as the spec develops. But other than that, the basics are now
there.


This a re-land of crrev.com/c/5922125. Patch set #1 is the original version,
as reviewed and submitted there. Patch set #2 contains the fix. Analysis of
the bug is in https://issues.chromium.org/issues/356601280#comment16

Bug: 356601280, 379235386, 379246316
Change-Id: I06d4a9a378330cc76015e3922b9e288d9503881a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6021482
Reviewed-by: Yifan Luo lyf@chromium.org
Reviewed-by: Joey Arhar jarhar@chromium.org
Commit-Queue: Daniel Vogelheim vogelheim@chromium.org
Cr-Commit-Position: refs/heads/main@{#1385522}

merge_pr_49138

20 Nov 09:20
5ec8ba6
Compare
Choose a tag to compare

HTML: Consume user activation for window.open (multi-global test)

See whatwg/html#10547

merge_pr_49276

19 Nov 23:19
Compare
Choose a tag to compare

Correct additional test for inlines in item-less container fragments.

The two tests in crrev.com/c/6022897 were identical, except for the
description. I had prepared two different tests, but somehow only
the description made it past the finishing line, and not the actual
test contents.

Thanks to dholbert for noticing this it in
#49174

Bug: 40287080
Change-Id: I5e0e078c5a7780b02c47113a1b51d86868479bbd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6034400
Commit-Queue: Morten Stenshorne mstensho@chromium.org
Reviewed-by: Xianzhu Wang wangxianzhu@chromium.org
Cr-Commit-Position: refs/heads/main@{#1385266}

merge_pr_49274

19 Nov 22:25
Compare
Choose a tag to compare

Add WPT for DisplayAnimation WebDX feature

Change-Id: I398ad8829e76f8ad0a8cdff3d6472a79d2633ed7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6035996
Commit-Queue: Joey Arhar jarhar@chromium.org
Reviewed-by: Robert Flack flackr@chromium.org
Cr-Commit-Position: refs/heads/main@{#1385241}

merge_pr_49273

19 Nov 22:58
Compare
Choose a tag to compare

Don't pass null expression from InterpolableNumber::Scale.

This avoids passing a null expression in InterpolableNumber::Scale(const
InterpolableNumber&), which was previously possible when
this->IsDoubleValue() but the earlier branch is not taken. It makes the
same change to InterpolableNumber::Scale(double) even though that change
is not needed today, to reduce risk of the same problem happening there
as a result of future changes.

This fixes a regression from
https://crrev.com/93eaf2b2bfc793353bd4a86ede01e9b0e2bfaf8d .

Fixed: 375798131
Change-Id: I98e17ab8afca29fa6924585eb77cc496290bfa37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6034421
Commit-Queue: David Baron dbaron@chromium.org
Reviewed-by: Daniil Sakhapov sakhapov@chromium.org
Cr-Commit-Position: refs/heads/main@{#1385252}

merge_pr_49272

19 Nov 22:00
Compare
Choose a tag to compare

IDB: Consolidated previously extended idbobjectstore_get WPT files.

Consolidate 7 test files related to idbobjectstore_get into one file.
These tests were previously extended to cover dedicated, shared &
service workers but were spread across multiple files. All tests
consolidated to one file: idbobjectstore_get.any.js

The tests have been changed to adopt the async_test() approach.

Bug: 41455766

Change-Id: If389b90ea762914f61738e9a62cefb100a66dabd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6021616
Reviewed-by: Steve Becker stevebe@microsoft.com
Commit-Queue: Sneha Agarwal snehagarwal@microsoft.com
Reviewed-by: Rahul Singh rahsin@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1385202}

merge_pr_49270

19 Nov 21:17
Compare
Choose a tag to compare

Fix test_not_animatable() when underlying value not supported.

Currently test_not_animatable() produces an error outside of a test()
when the underlying value is not supported. This is a problem,
particularly if the error can vary between implementations (rather than
being a test authoring error) because then the resulting exception leads
to a harness error and causes differences in test counts between
implementations. This is undesirable in WPT and causes the current
weird state of
https://wpt.fyi/results/css/css-values/calc-size/animation/interpolate-size-interpolation.html

This effectively moves the problematic assertion inside the test() --
except that the problematic assertion was already there but it wasn't
working because it depended on the scope of the "underlying" variable,
which was incorrect. So this fixes the scope of "underlying" so that
the existing assertion of the same thing inside the test() works. This
helps test_not_animatable() tests produce the same test counts on both
supporting and non-supporting implementations.

I left the test assertion that is catching test authoring error the way
it was since it isn't really a problem in this way.

Bug: 346977015
Change-Id: I4b1a18c13cdfab4e2a8fa597ecfd22cd7e02a40f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6033413
Commit-Queue: David Baron dbaron@chromium.org
Reviewed-by: Joey Arhar jarhar@chromium.org
Cr-Commit-Position: refs/heads/main@{#1385186}

merge_pr_49269

19 Nov 20:48
Compare
Choose a tag to compare

IDB: idbindex_openCursor WPT extended to workers in addition to window.

web_tests/external/wpt/IndexedDB/Tests currently only verify in window
environment. Extend tests to cover dedicated, shared and service
workers.
Three tests related to idbindex_openCursor.htm have been extended and
consolidated into one file: idbindex_openCursor.any.js

Bug: 41455766
Change-Id: I388870aca2912cb401bc8983b89e41599aa43465
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6020897
Reviewed-by: Rahul Singh rahsin@microsoft.com
Commit-Queue: Sneha Agarwal snehagarwal@microsoft.com
Reviewed-by: Steve Becker stevebe@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1385163}

merge_pr_49267

19 Nov 18:37
Compare
Choose a tag to compare

DOM: Flag-guard moveBefore()'s range and selection preservation

Per discussion in whatwg/dom#1307, we've
decided to not ship range and selection preservation initially. Since
this was mostly implemented in Chromium, this CL flag-gaurds our
implementation of that preservation (so it does not ship along with
the rest of the API's side-effects) and updates the tests.

R=nrosenthal@chromium.org

Bug: 40150299
Change-Id: Ia4412d95859497593ac2e4d9e9b87dfc36240ef4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6022661
Reviewed-by: Noam Rosenthal nrosenthal@chromium.org
Commit-Queue: Dominic Farolino dom@chromium.org
Cr-Commit-Position: refs/heads/main@{#1385070}