Releases: web-platform-tests/wpt
merge_pr_51697
Implement forgiving parsing for require-trusted-types-for directive.
Currently, we only accepts require-trusted-types-for directive with
exactly one trusted-types-sink-group-keyword equals to "'script'".
Instead accept more than one trusted-types-sink-group-keyword and
maybe-not-quoted values other than "'script'", discarding the
directive if it does not contain any "'script'" value. This aligns with
the behavior of other browsers and make more tests pass.
Test changes:
- fix the "'script''script'" tests to match its description.
- add tests to check we also accept unquoted values.
Differential Revision: https://phabricator.services.mozilla.com/D243259
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1956731
gecko-commit: 2882613aed1cb391c111709718f9d2c62d3b2914
gecko-reviewers: smaug
merge_pr_51694
Only clip CSP createPolicy violation sample once.
This avoids double clipping and changes behavior for strings with
surrogate pairs, aligning with what we currently do for other CSP
violation reports.
Differential Revision: https://phabricator.services.mozilla.com/D243400
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1937564
gecko-commit: 6b6543ba75a8cc8151e6dbf34068d7b89fff5042
gecko-reviewers: smaug
merge_pr_51550
Fix assumed typo in container queries test (#51550)
merge_pr_51707
wpt: Fix script to call onAllClosed properly
test.step_func was only referencing onAllClosed, but never calling it.
Tested with the clearkey-mp4-playback-temporary-events.https.html test,
which was previously failing, but with this changed, it passed.
Bug: 349649084
Change-Id: I5230fa5d0ea66ee2bfdeeb05a653e375852c886c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6410055
Reviewed-by: Feras Aldahlawi [email protected]
Commit-Queue: Vikram Pasupathy [email protected]
Cr-Commit-Position: refs/heads/main@{#1439819}
merge_pr_51669
Simplify how we suppress the canvas background color.
Instead of conditionally inserting the item at the bottom of the
BorderBackground() list, just suppress its color.
Differential Revision: https://phabricator.services.mozilla.com/D243317
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1956453
gecko-commit: d1cbe9636c3a2c8034db1e6e5abd0bd9def37a57
gecko-reviewers: mstange
merge_pr_51626
Map tests for SVG context-fill and context-stroke to web-features (#51626)
merge_pr_51706
[gap-decorations] Paint gap decorations for flex
This CL implements basic painting for Gap Decorations in flex.
In order to implement the rules, we had to add some data to the
GapIntersections
as well as the GapGeometry
. For flex, we use
is_blocked_before_/after
to indicate whether the intersection borders
the edge of the container (is blocked by the edge).
This CL adds the ContainerType
enum, and adds a member of this type to
GapGeometry
which dictates for what type of container that
GapGeometry
object is (i.e. flex).
We also add inline_gap_size_
. In flex it refers to the gap between
flex items, and in grid it refers to the column gutter size.
For block_gap_size_
in flex, it refers to the gap between flex lines
and in grid it refers to the row gutter size.
Bug: 357648037
Change-Id: Ifc65ba53049bff52388f57afda2471e3dce6adb1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6367772
Commit-Queue: Javier Contreras [email protected]
Reviewed-by: Sam Davis Omekara [email protected]
Reviewed-by: Alison Maher [email protected]
Reviewed-by: Kevin Babbitt [email protected]
Cr-Commit-Position: refs/heads/main@{#1439763}
merge_pr_51701
Don't expose page zoom in screenPixelRatio
This ensures it is updated with the spec defined in
https://w3c.github.io/mediacapture-screen-share/#dfn-screenpixelratio.
This CL also renames pixelRatio to screenPixelRatio as it is called in
the spec.
Bug: 396746625
Change-Id: I3ed1b0c3f2212d86207ce6167d227230781d7fcb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6405674
Reviewed-by: Guido Urdaneta [email protected]
Commit-Queue: Guido Urdaneta [email protected]
Cr-Commit-Position: refs/heads/main@{#1439690}
merge_pr_51700
Fix inf is wrongly clamped to 0
This CL changes clamping +inf/-inf to zero to use
gfx::ClampFloatGeometry
because +inf/-inf should never becomes to
zero.
Bug: 401393578,403071968
Change-Id: I2a9dd4474e6dc9158b254ac6e62780af89b439f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6401053
Reviewed-by: Fredrik Söderquist [email protected]
Commit-Queue: Jason Leo [email protected]
Auto-Submit: Jason Leo [email protected]
Cr-Commit-Position: refs/heads/main@{#1439643}
merge_pr_51699
[Protected Audiences] Make WPT tests reject unexpected CORS preflights.
Bug: None
Change-Id: I0d529fc16856476b4a40c1745f521ab05cf81330
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6404777
Reviewed-by: Maks Orlovich [email protected]
Commit-Queue: mmenke [email protected]
Cr-Commit-Position: refs/heads/main@{#1439642}