Automatic update from web-platform-tests
[css-flex] More changes to test suite after review of files (#7947)
* Made more changes based on analysis of tests that were <= 5 tests to a given url hash in flex
* Restore assert
Co-authored-by: Greg Whitworth <865244+gregwhitworth@users.noreply.github.com>
Co-authored-by: Stephen McGruer <stephen.mcgruer@gmail.com>
--
wpt-commits: 81a0e680add2d790bc8e0473c2b9407855703b40
wpt-pr: 7947
Automatic update from web-platform-tests
Major new manifest version (v8): path trie edition
This essentially implements https://github.com/web-platform-tests/rfcs/pull/40.
--
wpt-commits: 31c0f5efba38b7d1d7f45ac449bcbc892e8771ce
wpt-pr: 16537
Automatic update from web-platform-tests
[ElementTiming and LargestContentfulPaint]Fix background img sizes
Currently, we use exclusively the size of the LayoutObject to compute
the background image sizes. This is incorrect, for instance when looking
at CSS styles like ::first-letter. This CL fixes this by passing the
image border to ImagePaintTimingDetector and ImageElementTiming.
Bug: 996921
Change-Id: I94e4a2f3c8873be765b144179f7729430c885dac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2023523
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737289}
--
wpt-commits: 3061f228d3d8b900b3aec8c7642ff58fc04ea011
wpt-pr: 21474
Automatic update from web-platform-tests
Drop pypy from tox.ini
This has been broken for a while due to https://bitbucket.org/pypy/pypy/issues/3157
--
wpt-commits: 9469d80dc489346bb2f8e71c35ad1d350b4d649d
wpt-pr: 21522
Automatic update from web-platform-tests
Clamp the presentation time to a usable range
If the time container is seeked to a large enough value, we will end up
truncating it to SMILTime::Latest(), which is the largest value that
isn't one of the two special values ("indefinite" and "unresolved").
When trying to derive other values from this value - like if we have an
interval begin at it - we can end up in a loop since any the result of
any additions will yield the same value, leading to the element being
rescheduled at the same point in time, hanging UpdateIntervals().
This mechanism can also be used to implement the "once" animation-policy
in a slightly nicer way. This will be done as a follow-up.
Bug: 1039886
Change-Id: If13d7d7d3c44c4f586d15852eb05105879f44918
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2030885
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#737260}
--
wpt-commits: 0db6154c63f5412dd557b1ae70acd17bc1c32b25
wpt-pr: 21514
Automatic update from web-platform-tests
Support crashtests in testfiles.affected_testfiles (#21531)
Co-Authored-By: Robert Ma <robertma@chromium.org>
--
wpt-commits: c7227ea61e08f972023767b22cbea7ab23209426
wpt-pr: 21531
Automatic update from web-platform-tests
Resize Observer - Simple content-box and border-box observations
It is possible to now observe changes to content box and border box of
an element that is being observed. However, changes to an element's
content box without a change in its border box can not be observed yet,
and will be addressed in a subsequent change.
Bug: 1042537
Change-Id: I6415fc4f5cec783cc717051c11b2fdd95d3a28e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2004051
Reviewed-by: Philip Rogers <pdr@chromium.org>
Reviewed-by: Daniel Libby <dlibby@microsoft.com>
Commit-Queue: Sahir Vellani <sahir.vellani@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#737369}
--
wpt-commits: 276cbde855f10082da600bef4d2e8432f4e3a9fe
wpt-pr: 21212
Automatic update from web-platform-tests
[webnfc] Support writing/reading local type records
Some notable points:
1) Local type in WebNFC APIs is always prefixed by ':', but, the ':'
will be omitted when it's actually written into the nfc tag.
":act" --> "act" to be written as the TYPE field into the nfc tag.
":text" --> "text"
The reading direction is vice versa.
"act" --> ":act" to be exposed as NDEFRecord#recordType.
"text" --> ":text"
2) Only "smart-poster", external, and local type records are supposed to
be able to carry a ndef message as payload.
3) Local type is only expected to exist inside a ndef message that is
another ndef record's payload. Top level ndef message is not allowed
to have a local type record.
The spec changes:
https://github.com/w3c/web-nfc/pull/491https://github.com/w3c/web-nfc/pull/493https://github.com/w3c/web-nfc/pull/495https://github.com/w3c/web-nfc/pull/502https://github.com/w3c/web-nfc/pull/506
BUG=520391
Change-Id: Ic2890c031109aa583437ac93a8901ff71992af78
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1996946
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#737290}
--
wpt-commits: a1652e2faab5c92db0d3a2523ef9a94003e1e8f5
wpt-pr: 21157
Automatic update from web-platform-tests
ServiceWorkerSingleScriptUpdateChecker has credentials
Before the new byte-for-byte checking, credentials_mode was set to
kInclude for imported scripts. However,
ServiceWorkerSingleScriptUpdateChecker sets the flag to kOmit because
it's missed from the current spec. This CL is to correct the mode to
fix the unintentional change.
Spec issue: https://github.com/w3c/ServiceWorker/issues/1497
Bug: 1042159
Change-Id: I553d7bec015eb4cb80f7f59c640f26491fa02b75
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032689
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737253}
--
wpt-commits: acc51c1f9cb98db4419132c4cf8510c13e958f0f
wpt-pr: 21528
Automatic update from web-platform-tests
[WPT] Remove testharness-helper.sub.js
This CL migrates
wpt/content-security-policy/securitypolicyviolation/upgrade-insecure-requests-reporting.https.html
to use the new /common/security-features/ infrastructure.
This CL removes the last use of
wpt/upgrade-insecure-requests/support/testharness-helper.sub.js
(other tests under wpt/upgrade-insecure-requests/ have been
already migrated) and thus removes the file.
Follow-up of a comment at
https://chromium-review.googlesource.com/c/chromium/src/+/2024249
Bug: 906850
Change-Id: I7a992491652d988115d1d9e62eafe179473e534a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2027899
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Eriko Kurimoto <elkurin@chromium.org>
Reviewed-by: Andy Paicu <andypaicu@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737307}
--
wpt-commits: 87011862748b009f7ef5134f23315655e1600073
wpt-pr: 21497
Automatic update from web-platform-tests
Set network_isolation_key for signed exchange cert fetch (#21511)
Currently network_isolation_key is not set for signed exchange cert fetch.
So, even if the signed exchange and the certificate were prefetched,
the certificate is fetched again while navigation when
SplitCacheByNetworkIsolationKey is enabled.
Bug=1047110
Change-Id: I524df1da097c6f544777f20cca5a3e53246693cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2029564
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737251}
Co-authored-by: Tsuyoshi Horo <horo@google.com>
--
wpt-commits: 171fdd773bef185a7b4adb9238d090141dbee3fa
wpt-pr: 21511
Automatic update from web-platform-tests
Fix#4813: document when screenshots are taken for visual tests
--
wpt-commits: 638f1774d565ba228feee10dc3707dea566bc45f
wpt-pr: 21523
Automatic update from web-platform-tests
Test the CSS round() function. (#21506)
* Test the CSS round() function.
* Indent with spaces.
* Sigh, don't shadow the test() function with an argument name.
* assert_not_equal*s*(); the weird grammar of that name always messes me up
--
wpt-commits: 5c5f1c18f51f5774b67cfd6672b88dae3fa8af25
wpt-pr: 21506
Automatic update from web-platform-tests
Use parseFloat() to parse CSS pixels values in two WPT
Two WPT use CSSNumericValue.parse() to parse CSS pixel values, which
makes the tests basically Chrome-only. This patch changes them to use
parseFloat() directly so that other browsers can pass.
Bug: 441925
Change-Id: I01d6d2999cf4266bd6d3bda521d2bdfc8732ab7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2031932
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737036}
--
wpt-commits: f6e67637596cccd6bd38b8837440b394b9e14aef
wpt-pr: 21519
Automatic update from web-platform-tests
Mark wpt/cookies/http-state/{general,name}-tests.html slow
Seeing some flakiness due to timeouts in them, and they do look like they
do a lot of things.
Bug: 1047067
Change-Id: I1892f35a8047fdad8c50aeafc2da54665b522bc6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2031364
Reviewed-by: Lily Chen <chlily@chromium.org>
Commit-Queue: Maksim Orlovich <morlovich@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736938}
--
wpt-commits: 78ca07deef3efc7aea53ae69f17eadcc92af5544
wpt-pr: 21516
Automatic update from web-platform-tests
ConvolverNode channel count and mode can be changed
The channelCount and channelCountMode for a convolver node is no
longer fixed. The count can be 1 or 2 and the mode can be set to any
valid value other than "max". This is basically the same constraints
as for a StereoPannerNode.
Also see https://github.com/WebAudio/web-audio-api/issues/2050
Feature: https://www.chromestatus.com/feature/6248507407073280
Bug: 1021552
Change-Id: I1cd814376d88ff4a525bae1f5e608ca4b989ac07
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1988714
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736899}
--
wpt-commits: 7b7fb5c3e26d92be655cbca00a233fbe4243c085
wpt-pr: 21493
Automatic update from web-platform-tests
Python3: replace the usage of cStringIO with StringIO
--
wpt-commits: 122146ab4ede32ff6d97dcaf1f003435bfd005cf
wpt-pr: 21371
Automatic update from web-platform-tests
Remove instance of 'whitelist' in webdriver/
As per https://whatwg.org/style-guide
--
wpt-commits: 4024c744fb9e543155dc18bbce9947014ed48cf6
wpt-pr: 21325
Automatic update from web-platform-tests
Test that CSS animations composite in their animation-name order.
This adds a WPT test verifying that CSS animations are composited in the
order of their name within the animation-name property.
Bug: 1045835
Change-Id: I8e746e1841cd4f5ca55e3e067762c2ea93e5c101
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2022616
Auto-Submit: Robert Flack <flackr@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736825}
--
wpt-commits: 80c04f7d1db0d311f46eb44abfd321cacb36192f
wpt-pr: 21437
Automatic update from web-platform-tests
Separated willValidate check in HTMLInputElement::validationMessage
This change is for following the spec of validationMessage.
It affects the situation where willValidate is false and
actual validation message exists.
It enables validationMessage to return empty string in this situation.
Bug: 1046211
Change-Id: Ie501535464b61366c81ee08d6b234fb52cc076f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2024132
Auto-Submit: Kei Nakashima <keinakashima@google.com>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736778}
--
wpt-commits: 0e5a09f42726d971c206f2ba70455f3790513c6c
wpt-pr: 21486
Automatic update from web-platform-tests
Fix beacon referrer test to pass when blocked for mixed content (#21508)
--
wpt-commits: d65350a4df0b65794ff408ea06e2c3668031a9ea
wpt-pr: 21508
Automatic update from web-platform-tests
Let color-scheme affect the initial color value.
We used to have a root element color value based on an internal UA sheet
value, but this is not according to spec since it affects the initial
value for the color property, hence setting the color value to 'initial'
should result in a used value that depends on the color-scheme for that
element.
Initial value for the color property is canvastext, but we do not yet
ship color-scheme aware system colors, so instead we implement this as a
method on ComputedStyle which is color-scheme aware and currently return
black for light and white for dark.
The devtools test changes are basically a revert of the necessary
changes done when we introduced -internal-root-color.
Bug: 939811
Change-Id: I63477751e1fe4aa3ce8292e8a3fc2cdb1dd3afbd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2027469
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736763}
--
wpt-commits: 6a7bdc42ab3688499203b154772cccc3f01c0f5b
wpt-pr: 21491
Automatic update from web-platform-tests
Add WPTs for requiring a completed navigation in a portal before activation
We've started rejecting activation of a portal contents with no
committed navigations. We already have a test relating to 1P navigation
restrictions. We introduce WPTs to cover this condition more generally.
We also convert one of the bail out conditions for transferring session
history to a DCHECK as this is now covered by the rejection.
Bug: 942198
Change-Id: I2f4a9aae5aa3461c7c5e25a677f659a7e7d7ffc2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2028755
Commit-Queue: Kevin McNee <mcnee@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736597}
--
wpt-commits: 4017c884097baf142893dd7aeebdb972c6832d7c
wpt-pr: 21499
Automatic update from web-platform-tests
Make sure layout is triggered when changing clip-path resource
When changing the 'clip-path' property on an (SVG) element we need to
recompute the visual rect since it includes contributions from the clip
bounds (as well as the mask and filter bounds). This wasn't happening,
which meant that the element wouldn't repaint properly if the old bounds
were smaller than the new bounds.
Add some detection of bounds-affecting changes to SVGResourcesCache and
Make use of that in SVGResourcesCache::ClientStyleChanged() to mark the
element for layout if needed so that its bounds are updated properly.
Fixed: 1045915
Change-Id: Ia08904945b26c382e0b9c90c15b7cc45d40434cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2023561
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#736486}
--
wpt-commits: c206a3b3b144ae607acb040303a7740073eba8a0
wpt-pr: 21487
Automatic update from web-platform-tests
Avoid dereferencing a null pointer in list_interpolation_function
The current code doesn't catch the case where non_interpolatable_value
is null for the interpolation_list. This patch add a protection for
this situation.
Bug: 1039733
Change-Id: I442a56e4984285dfe524dcd669fae9f4da0a7f94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2011167
Commit-Queue: Hao Sheng <haozhes@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Xida Chen <xidachen@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736481}
--
wpt-commits: 71a49b6a48ef83837562485f1349793a858717d6
wpt-pr: 21342
Automatic update from web-platform-tests
SVG default forced colors
This change adds the default color and fill forced colors for SVG
elements (WindowText). Before this change, SVG fill and color
would default to black in forced colors mode, making certain elements
un-readable.
Bug: 970285
Change-Id: I68ecb4769a502fbb1c4ceb27ba0b3d21205aeb45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2026147
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#736418}
--
wpt-commits: 0db0c67f7499409479ec020cf636184a986f7fcd
wpt-pr: 21480