Automatic update from web-platform-tests
Remove extra double quotes in manifest_build.py (#19560)
There's no shell escaping at this layer, so these quotes were treated
as literal and included in the release body.
This also simplies the code by using --format=%B.
--
wpt-commits: be08de67a0b21e800cc263e319aa4f17034bae53
wpt-pr: 19560
Automatic update from web-platform-tests
mojo-js: Use correct style for constants
Use CONSTANT_CASE for generated constants. Changes all instances that
used the incorrect case.
Bug: 1009251
Change-Id: I79b856996f543650b4cd20e329978936a12adeae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1842976
Reviewed-by: Ken Rockot <rockot@google.com>
Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704073}
--
wpt-commits: f44adb8c6eef6ae422f145e1a74d0b0c916f2a64
wpt-pr: 19547
Automatic update from web-platform-tests
CompressionStream
Implement compression for "gzip" and "deflate". That implementation is
hidden behing ExperimentalCompressionStream flag.
For unit tests, we compress and stream and uncompress it with pako, and
we make sure its output is the same as our original data.
Change-Id: I89dde0e06a07b695be93a3b4f81fa6b3ee80d760
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763344
Commit-Queue: Adam Rice <ricea@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704009}
--
wpt-commits: a2c2030db3229967bcac856d06b1d8bf48c8de34
wpt-pr: 19261
Automatic update from web-platform-tests
[ElementTiming] Report text paints of size 0
Currently, TextPaintTimingDetector uses |invisible_objects_| to keep
track of text paints which occupy a size of 0. It is an optimization:
LCP does not care about these paints, so it does not need to queue
them to obtain paint times nor store a full TextRecord for them. However
ElementTiming wants to expose all of the text paints for elements that
are annotated with the elementtiming attribute. It is confusing for an
element that is painted when outside the viewport to never be reported.
To solve this problem, there are two alternatives. One is to use a
single |painted_objects_| map which would contain both the visible and
the invisible objects, and hence no extra logic would be needed for
ElementTimng to receive these objects (but some care might be needed so
LCP does not report objects of size 0). This is simpler to code but is
less efficient as it adds extra work and memory for the invisible
objects.
The second alternative is to use a new data structure for text nodes
that are of size 0 but need to be reported to ElementTiming. Paint times
for these are assigned in AssignPaintTimeToQueuedRecords() and then the
TextRecords are deleted (the fact that the element has been painted is
still being handled by |invisible_objects_| so there is no need to keep
the records for longer). This is the alternative implemented in this CL.
Bug: 1011009
Change-Id: I2d15393fc61134b08a5c15bd81d062d42dfb29e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1838260
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704002}
--
wpt-commits: 9931f3bcb6077db1dc7e90db4daf333c9350c73b
wpt-pr: 19525
Automatic update from web-platform-tests
[2dcontext] Include required resource (#19587)
"common.sub.js" references a function named `getVideoURI` at the top
level. This function is provided by "/common/media.js"; if the latter
file is not included, "common.sub.js" cannot be executed.
Load the required resource prior to "common.sub.js" so that the test may
run to completion.
--
wpt-commits: 72fcf2b027ede6465ee5ad9edbab8c8b8bd8c888
wpt-pr: 19587
Automatic update from web-platform-tests
css-flexbox: updates special case for flex-box emulating webkit-box
LayoutBox::SizesLogicalWidthToFitContent() has special logic that returns
true for -webkit-box. This makes it return true if flex-box is used for
-webkit-box
BUG=1010809
TEST=wpt/compat/webkit-box-vertically-centered.html
Change-Id: Ibf6045234c0513e2c5d6cb686ecc0a1001b47fe0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1845506
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#703963}
--
wpt-commits: a710fb5c9c08ac1dda1af041cac81789f656e999
wpt-pr: 19576
Automatic update from web-platform-tests
[GitHub Actions] dry run the manifest workflow on pull requests (#19573)
* [GitHub Actions] dry run the manifest workflow on pull requests
To avoid mishaps like https://github.com/web-platform-tests/wpt/pull/19568#issuecomment-539546267.
* Run as much code as possible before exiting dry run
* Update manifest_build.py
* Exit before `get_pr` when dry running manifest_build.py
--
wpt-commits: ca1a7a206f4ff0f8de1169b183b3b2474850a7c0
wpt-pr: 19573
This ensures the coordinates of tap events are adjusted as well.
Depends on D50361
Differential Revision: https://phabricator.services.mozilla.com/D50362
--HG--
extra : moz-landing-system : lando
The offset is applied (added) during rendering; it needs to be un-applied
(subtracted) during hit testing.
Depends on D50360
Differential Revision: https://phabricator.services.mozilla.com/D50361
--HG--
extra : moz-landing-system : lando
Added a loop for repeating the requested test(s).
With --run-until-failure, loop until a test fails.
With --repeat=N, repeat N times. eg, --repeat=1 implies 2 runs total (same as mochitest).
(Incidentally moved code for --enable-webrender since it was not in the appropriate section.)
Differential Revision: https://phabricator.services.mozilla.com/D50299
--HG--
extra : moz-landing-system : lando
Maybe<T>::emplace has a MOZ_DIAGNOSTIC_ASSERT that the value is not already assigned.
When revalidating, the method ends up being called twice - so we must instead assign to Some(T) to avoid the assertion, since that is the correct way to do this.
Differential Revision: https://phabricator.services.mozilla.com/D50179
--HG--
extra : moz-landing-system : lando
Update sandbox rules to allow services and files needed for global UI system preferences.
Update tests now that stat() calls on the filesystem are permitted.
Differential Revision: https://phabricator.services.mozilla.com/D50298
--HG--
extra : moz-landing-system : lando