Automatic update from web-platform-tests
Add feature policy for client hints, used for third-party subresources.
This disables all client hints for third parties by default, except for
the simplified UA hint. Feature Policy can then be used to delegate
specific hints. Currently, only the hints which were previously being
sent to third parties on Android are available for delagation. A follow-
up CL adds the remaining ones.
Bug: 968201
Change-Id: Idea42e814078592f3bdaec67bd931a99cfaea046
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1567927
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664347}
--
Add the remaining Client Hints to Feature Policy.
This allows all client hints to be potentially delegated to third-party
requests. By default, no hints (Except for the simplified UA hint) are
sent with any third party resource requests, but these can be enabled
for specific origins through the use of Feature Policy.
Bug: 968201
Change-Id: I60a94deb0e5553b85da351f08cbabfc8ae0f6e65
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1584400
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664498}
--
wp5At-commits: e3d17026a01cfe9350663ef03346c65be63c366f, 519b228e4717f4c196a6ce58bcefb71ebf7909d8
wpt-pr: 16720
Automatic update from web-platform-tests
Add WPT tests for WheelEvent
The wheelevent sends a signal when a supported device is rotated in the
x, y, or z rotational dimensions. These tests only check whether this
signal is received for any rotation at all.
--
wp5At-commits: e360ebb2f9363b2a31d813b8c77c69b6bb52fc86
wpt-pr: 16199
Automatic update from web-platform-tests
Block-start of a float must be >= that of previous floats.
Final layout would eventually end up being correct anyway, but during
layout we need to calculate the inline-size of the float, before we can
tell whether it's going to fit next to the current line or not. This
piece of code forgot to check with the block-start of preceding floats,
so that it would temporarily be put at the wrong offset, triggering a
DCHECK failure during block fragmentation.
Move some code out of LayoutBlockFlow::PlaceNewFloats() into a new
utility method.
Note that the test included also passes without this fix (except for the
DCHECK failure).
Bug: 961516
Change-Id: I3bbd37c7affcb5fa7143e951f9f1bba78a2a4a0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1649477
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#667467}
--
wp5At-commits: e7b1c6eb7d9a419fa441dad5241ce7c54a73c284
wpt-pr: 17237
Automatic update from web-platform-tests
Implement forced-colors media query
This change adds support for the forced-colors media query and adds
forced colors to settings. The logic for updating forced colors from
its default state based on the OS has not yet been implemented.
Spec:
https://drafts.csswg.org/mediaqueries-5/#forced-colors
Bug: 970285
Change-Id: I634b4abeec22f2d166648948f290fff8f4229478
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643650
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Kevin Babbitt <kbabbitt@microsoft.com>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#667332}
--
wp5At-commits: ff68ea3b82edf80386445ab5d86daa6b7d4da9e7
wpt-pr: 17171
Automatic update from web-platform-tests
Canvas::TestMetrics: Measure the TextMetrics info after loading the font
Change-Id: Iabcb3d7c34f20376d02df420ef0baa4649d94219
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1645676
Commit-Queue: Yi Xu <yiyix@chromium.org>
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#667305}
--
wp5At-commits: c911d7af6553f9541a6661fce6b28355f4d683a4
wpt-pr: 17192
Automatic update from web-platform-tests
Canvas::TestMetrics: Add tests to measure the TextMetrics info for offscreencanvas
Change-Id: I7ca3f8d00a48b0f61872363a36b565d68258dfad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1646077
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Commit-Queue: Yi Xu <yiyix@chromium.org>
Cr-Commit-Position: refs/heads/master@{#667250}
--
wp5At-commits: ecba6cc365f5c7d3a75f237e1e5b0db0596a1082
wpt-pr: 17193
Automatic update from web-platform-tests
[LayoutNG] Minor inline container DCHECK fix
We already had a fix for inline, misssed fixing
it for block.
Bug: 967977
Change-Id: Iad883eca7761f0db203fc6e01d48466d7b09dfd5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1648299
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#667249}
--
wp5At-commits: 72d169bb495070a1531d4fac4e8b60d3e5111679
wpt-pr: 17234
Automatic update from web-platform-tests
Rewrite clamping tests for math-script-level. (#17228)
CSS WG resolved to remove font-min-size and font-max-size.
Remove the corresponding math-script-level tests and instead test interaction
with the internal browser's min font-size.
--
wp5At-commits: 3b20b5cc0d4f73a4b7ee1357e53798828683d99e
wpt-pr: 17228
Automatic update from web-platform-tests
[Azure Pipelines] Make it possible to trigger Safari stable manually (#17225)
--
wp5At-commits: 7f06b24fc97d9c8db550f52e8d624cacc6f96670
wpt-pr: 17225
Automatic update from web-platform-tests
Service worker: Altering ready test due to resurrection (#17203)
Firefox flakiness bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1557634
--
wp5At-commits: 3fb7ab3512ecd03d989e143f389db08d4d0b5272
wpt-pr: 17203
Automatic update from web-platform-tests
Import mo form tests (#17215)
Import mo form tests, taken from WebKit and asjusted to wpt style.
--
wp5At-commits: 524beeaec4be172eae668b3cf476f641b2ad6c62
wpt-pr: 17215
Automatic update from web-platform-tests
Removing 'currentchange', which only existed in early prototypes (#17206)
--
wp5At-commits: 2ff7fb5817b38973e8024db86467ba72b23bed95
wpt-pr: 17206
Automatic update from web-platform-tests
Worker: Set correct RequestContextType for Plz{Dedicated,Shared}Worker
This RequestContextType will be exposed to JavaScript as Request.destination.
Bug: 971581
Change-Id: I0e68aeea27d9bf1603ff4623aaa7a92776824d9f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647652
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666955}
--
wp5At-commits: 1fcb4cadbe4338a85bb0a66cf27f4f7d91b93b80
wpt-pr: 17202
Automatic update from web-platform-tests
Add support for timing functions jump-start|end|both|none.
Jump-start is equivalent to start, with a discontinuity at t = 0.
Jump-end is equivalent to end, with a discontinuity at t=1.
Jump-both has discontinuities at t=0 and 1.
Jump-none is continuous at t=0 and t=1.
The patch also addresses some serialization issues with existing
step functions since the code needed to be updated in support of the
new step types.
https://drafts.csswg.org/css-easing-1/#step-easing-functionshttps://www.chromestatus.com/feature/5730327525851136
Bug: 827560
Change-Id: I950ed09b2ca72c9e09a4f5e3f8d373cc5acbd07b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1634722
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666871}
--
wp5At-commits: 38bf3be2f0272b35ade3d8c0c91ae49d5efdd013
wpt-pr: 17117
Automatic update from web-platform-tests
Do not collect GraphicsLayers under svg defs
The <defs> SVG element creates a hidden subtree that is never directly
rendered or hit test. This subtree has its property tree state rooted at
the root property tree state, and we will crash trying to render content
with this property tree state.
This patch stops collecting GraphicsLayers under hidden subtrees. This
mirrors code added in https://crrev.com/544756 to not paint
GraphicsLayers under hidden subtrees. It is not simple to prevent
GraphicsLayers for PaintLayers in hidden subtrees because we do
not determine the |IsUnderSVGHiddenContainer| bit until PrePaint, which
is after the compositing lifecycle step.
Bug: 969311
Change-Id: I67f81e70dfd046c3fa30f687936e9bbfcf14af7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1648279
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666864}
--
wp5At-commits: 8bb75988f802b7cfea40fa36214f0eb5848652ca
wpt-pr: 17216
Automatic update from web-platform-tests
Use Chromium based Edge for Edge test runs (#16920)
* Replaced Edge runs with Chromium based Edge runs
* Add --yes to request to download driver
* Uninstall Edge on cleanup
* Addressed PR feedback
* Install WebDriver binary for Windows
* Switch to Dev channel and enable WebDriver tests
* Enable --enable-experimental-web-platform-features flag for Edge Dev channel runs
* Removed ChromeDriver specific hack
--
wp5At-commits: c93c30db45b4337057f7dcaf64b00ce5d19939db
wpt-pr: 16920
Automatic update from web-platform-tests
[ci] Collect results from prior release of Safari (#17187)
Safari Technology Preview version 83 includes a bug which interferes
with some of the web-platform-tests.
--
wp5At-commits: 317b65149363ff2a25159b6f83deee6b5894e073
wpt-pr: 17187
Automatic update from web-platform-tests
[testharness.js] Refactor integration tests
Some of the tests for testharness.js are intended to verify the
framework's behavior following test timeouts. Because these tests are
expressed in terms of the framework, the task of executing them is also
susceptible to timeouts. This is partially mitigated by using the "long"
timeout metadata, but experience has demonstrated that the tests may
exceed even this extended duration in some contexts.
Relocate the tests for timeout behavior to a dedicated file, and
refactor them to occur in parallel. This halves the execution time for
the current tests and also provides a more reliable pattern for the
future introduction of additional tests.
--
[testharness.js] Correct automated tests
The automated tests for testharness.js contained three errors. These
errors were only recently discovered because the affected sub-tests are
skipped in environments which do not implement the `unhandledrejection`
event. Firefox implemented this event in version 68 [1], so the errors
are now apparent.
Fix the errors so the newly-executed tests accurately describe the
correctness of testharness.js.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1362272
--
wp5At-commits: 8abdb543b6f4ab745d3016db51089d4285fc2a05, 217253f445f21696255e2b3a26836a03e82de3b6
wpt-pr: 17191
Automatic update from web-platform-tests
Service workers: Resurrection is no longer a thing (#17139)
* Updating tests now we've removed resurrection
* Async test to promise test
* Proper cleanup after tests
* More feedback fixes
* Removing comments
* Adding test for controlled iframe
* Fixing tests following feedback
--
wp5At-commits: c6839851b45931abc17290130cd6d1e83da8f672
wpt-pr: 17139
Automatic update from web-platform-tests
[css-contain] Fix <select> dimensions when size containment is set
In r666210 we fixed the dimensions of <select> elements
with size containment.
However the fix was not covering the case when you set
"contain: size" to an already existent <select> element.
To fix this we need to reset the options width
in LayoutMenuList::UpdateOptionsWidth().
BUG=966673
TEST=external/wpt/css/css-contain/contain-size-select-002.html
Change-Id: I162134ff050d64e9ff1d824b5747adafb9a993c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647152
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#666594}
--
wp5At-commits: 65edf8d7f9938826764fd1796fc24ee0b26f8ea9
wpt-pr: 17196
Automatic update from web-platform-tests
[Native File System] Remove copyTo and moveTo features
These features are no longer part of the spec. This code removes their
implementation.
Bug: 968552
Change-Id: I089254cac5ebc52a989194c69236497d347260d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643892
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Auto-Submit: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Oliver Chang <ochang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666502}
--
wp5At-commits: 6a9b97ac6d224b2a4d238d1fe1a7f61e70888970
wpt-pr: 17175
Automatic update from web-platform-tests
Mark subtree of a scroller as having dirty compositing inputs after scroll.
This is because the overlap-testing rects depend on scroll offset.
Bug: 950154
Change-Id: Iacb3d373fe1b9be315701a55d604e44edb88f040
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638620
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666480}
--
wp5At-commits: da9264974d2cb05537302778e7c34838560722ed
wpt-pr: 17153
Automatic update from web-platform-tests
[ElementTiming] Text support part 2
This CL allows dispatching text Element Timing entries. The
TextElementTiming attribute in TextRecordsManager cannot be set on the
constructor of TextPaintTimingDetector because it is constructed too
early, upon construction of LocalFrameView. The intersectionRect is not
supported yet because TextRecord does not include that information.
Bug: 942033
Change-Id: I65001c25d5ba874456a7bdea4cc26df8d059ee63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1639107
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666397}
--
wp5At-commits: 072daa708b4fb36091a52cadbafdabc9166c0f85
wpt-pr: 17122
Automatic update from web-platform-tests
Load Ahem as a web font everywhere (part 1a) (#17190)
Small fixup for two tests that are non-reftests but use Ahem. They need
to use explicit_done and also wait for font load event before running.
--
wp5At-commits: 3cf12b53ad8be6862771d3975b59eda56db6c42e
wpt-pr: 17190
Automatic update from web-platform-tests
Fix ref image for border-radius-dynamic-from-no-radius
Drawing a 100px x 100px div with border radius 50px is not the same as
with border radius calc(100% - 1px) = 99px.
R=foolip@chromium.org
BUG=968430
Change-Id: I953c26b72d55d930cdbbcfa969f38b892e3151f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1639566
Auto-Submit: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666247}
--
wp5At-commits: fe2961715f4663be36d5ff849e3f78374c1fc2f6
wpt-pr: 17150
Automatic update from web-platform-tests
[css-contain] Fix <select> dimensions with size containment
Elements with "contain: size" should be treated as having no contents,
that's not happening for <select> elements.
To fix this we add a check for size containment in
LayoutMenuList::UpdateOptionsWidth().
BUG=966673
TEST=external/wpt/css/css-contain/contain-size-select-001.html
Change-Id: Ie71a16e113d7bef4fd5c7b62e1838feba9b15cb2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643872
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#666210}
--
wp5At-commits: b47e5692282cf7ca834f138fcffcbc6d1693c40f
wpt-pr: 17181
Automatic update from web-platform-tests
Adjust imagesrcset test for device pixel ratio (#17184)
--
wp5At-commits: 62c5b2855a5d54ef66165dc23a511871715f3ab4
wpt-pr: 17184
Automatic update from web-platform-tests
NativeFileSystemDirectoryHandleImpl::GetChildURL should validate |name|
Updates NativeFileSystemDirectoryHandleImpl::GetChildURL() to return a
base::File::Error for invalid |name| input. |name| must specify a
direct child of the current directory. Invalid |name| inputs include:
1. Empty string: ''
2. Current directory: '.'
3. Parent directory: '..'
4. Strings containing path separators like '/'
Updates the callers of GetChildURL() to handle errors by immediately
running callbacks with the base::File::Error returned by GetChildURL().
Extends existing NativeFileSystem API webtests by adding invalid 'name'
input tests for each JavaScript API with a 'name' parameter, including
getFile(), getDirectory(), moveTo(), and copyTo().
Bug: 960411
Change-Id: Ida6ebf1cb2d1017e2cafe386c30d5cb65430055c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643984
Commit-Queue: Steve Becker <stevebe@microsoft.com>
Auto-Submit: Steve Becker <stevebe@microsoft.com>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666118}
--
wp5At-commits: 78171013d97f5416ccc24e91a43d44d98fc30036
wpt-pr: 17178
Automatic update from web-platform-tests
Add test for active processing of AudioBufferSourceNode
Test that when an AudioBufferSourceNode stops, the number of channels
of its output changes (eventually) to 1 as required when a node is not
actively processing anymore.
Chrome already supports this notion (via |DisableOutputs()|), so we're
just adding a test for this.
Bug: 954545
Test: the-audiobuffersourcenode-interface/active-processing.https.html
Change-Id: I4fab646df204720cc1efe2e3ae325e60cb22e49b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643729
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666013}
--
wp5At-commits: c027c41a085a874404922c638387c97df74b4ebf
wpt-pr: 17169
Automatic update from web-platform-tests
Expand set of allowed types when updating manifest. (#17172)
--
wp5At-commits: 53706a93e0963339ae02865f78062af5cc054886
wpt-pr: 17172
Automatic update from web-platform-tests
[LayoutNG] Fix :first-letter not getting a legacy layout object.
:first-letter is weird. The element which the first letter is attached
to can differ from the layout object which it is attached to.
This difference caused us to crash.
Bug: 967194
Change-Id: Id186ae1d61ce42ae0d6d54d8524cc854abb3c78a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636312
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#665965}
--
wp5At-commits: e8bfd2e0fbd346d90f673ddfd0f7fe11ce496388
wpt-pr: 17091
Automatic update from web-platform-tests
[ElementTiming] Change |name| and add |url| to PerformanceElementTiming
This CL makes the implementation match the changes in the explainer:
https://github.com/WICG/element-timing. In particular, name is now set
to "image-paint" for image entries, and url is added.
Bug: 879270
Change-Id: Id02e5305ac1e9bf9fa1fc18efe63d8cc280c5f4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635733
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#665930}
--
wp5At-commits: 3e07a6ab685f2f924ee066017d50d9708f74b3d9
wpt-pr: 17087
Automatic update from web-platform-tests
Adjust for device pixel ratio (#17160)
The test assumes device pixel ratio of 1 but there are platforms where 2
is used, adjust the test for that.
--
wp5At-commits: b0fefa679fc09c6ee4d976ee27c1b11222e05e12
wpt-pr: 17160
Automatic update from web-platform-tests
[wpt] Correctly set the browser channel for Edge
This PR fixes two issues:
1. Add the "dev" channel for Edge (edgechromium).
2. When a channel is unrecognized for a browser, the channel is now
correctly passed as is to wptrunner (as the log message says).
--
wp5At-commits: a1105b53b298653f76ca1c4c1d429397964d4f6b
wpt-pr: 17147
Automatic update from web-platform-tests
Add new tests for CSS properties math-style and math-script-level (#17100)
* Add tests for new CSS property math-style.
* Add tests for CSS property math-script-level
* Add tests using scaling factors from the MATH table.
* Improve coverage of math-script-level-004:
- Test scaling without MATH font.
- Test scaling up and down.
- Test all transitions between levels -3, -1, 0, 1, 2, 3, 5.
* Add tests to check issue #3739 and interaction with script-level.
* Add a tentative reftest to check how math-script-level and font-family interacts on font-size change. This is related to https://github.com/w3c/csswg-drafts/issues/3906
--
wp5At-commits: 90d09993c72864735e76cf4d5f152436273ffdcd
wpt-pr: 17100