Automatic update from web-platform-tests
[Azure Pipelines] limit triggers to branches actually used (#20441)
Branches like epochs/six_hourly wouldn't do anything, but they create
a lot of entries in the Azure DevOps dashboard:
https://dev.azure.com/web-platform-tests/wpt/_build?definitionId=1
The no-op builds are mostly harmless, but make it harder to find the
interesting builds.
--
wpt-commits: 733805e11946718d9a74c2801146fbd30b992ddc
wpt-pr: 20441
Automatic update from web-platform-tests
Convert LayoutShiftTrackerPointerdownTest to WPT.
The original tests are left intact, as they also verify the value of
LayoutShiftTracker::Score() which is not directly available to WPT.
Bug: 984109
Change-Id: I25d8fd48ac86ebbfc742d6dfe10e7097497b31d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1937579
Commit-Queue: Steve Kobes <skobes@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719739}
--
wpt-commits: eab5fd860eaf5def6180a7de2b0186d6ab78d1c5
wpt-pr: 20464
Automatic update from web-platform-tests
Add support for just downloading browser
--
wpt-commits: b980ca9454ebdac791ff153be731b8cea392ff99
wpt-pr: 20463
Automatic update from web-platform-tests
Limit backtracking on regexp called from blink.
It is possible to block the main thread with a invalid pattern, input
and CSS. Now that V8 has added a backtracking limit take advantage of it.
1000000 matches the limit Yarr (webkit's regex engine). See
89c28d471f/Source/JavaScriptCore/yarr/Yarr.h (L50)
BUG=966405
Change-Id: I08bc956806bc7efb8cdc06dc0db30fa94e68df9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1915280
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#715312}
--
wpt-commits: e193831dae8c91392dda58ea9c4752f006c10584
wpt-pr: 20245
Automatic update from web-platform-tests
[css-pseudo] Fix assert failure when combining ::first-line and ::marker
The interaction of a ::marker pseudo-element with a 'content' property
and the ::first-line of the list-item produced a DCHECK failure in debug
builds (it was fine with debug disabled). This patch fixes it.
Bug: 457718
TEST=external/wpt/css/css-pseudo/first-line-and-marker.html
Change-Id: I443934f3a5cbfd95913287ac2bfb0966fa707e3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1937068
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#719561}
--
wpt-commits: afd1488b85e8a6c6381c901f43c27f62049fc256
wpt-pr: 20453
Automatic update from web-platform-tests
Mark idlharness tests for fetch/xhr as slow
They depend on dom/html which is slow. Also remove entries from
TestExpectations because they are covered either by
- the long timeout introduced here, or
- MSAN related expectations (see https://crbug.com/856601)
Bug: 1026151, 990900, 856601
Change-Id: I094590d485c318fef5ab4c2e213a621211a6a3a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936444
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Auto-Submit: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719517}
--
wpt-commits: 8321e0c262cfc7e247b0ae01839f5a7095afe59f
wpt-pr: 20469
Automatic update from web-platform-tests
Cookie Store: Rework the SW change events API.
Looking into two crashers revealed misconceptions in the initial Cookie
Store API implementation for change events in service works. This CL
reworks the API surface and brings it closer to other features.
The current API shape is that a SW version specifies the cookie changes
it's interested in by calling subscribeToCookieChanges() on the SW
global scope. getChangeSubscriptions() is available on the SW global
scope, and reflects the cumulative effect of all
subscribeToCookieChanges() calls during the install event.
Implementation errors aside, this API shape doesn't have a simple model
for continuously monitoring a cookie's change -- in the window between
deactivating an old SW version and activating the new version, there is
no obvious list of cookie change subscriptions.
The new API shape brings Cookie Store in line with the other SW APIs.
Cookie change subscriptions are associated with the SW registration, and
can be managed using
registration.cookies.{subscribe,unsubscribe,getSubscriptions}().
Unlike other SW APIs, the registration's subscriptions can be managed
from the SW itself, as well as from windows. We expect that most
applications will prefer to manage subscriptions from the SW code. This
exposes a rough edge -- a registration cannot be modified until the
first version of a SW is installed, so the methods listed above will
fail during a SW's first install event, but succeed during later install
events. We intend to evaluate the impact of this rough edge in an Origin
Trial.
Associated spec change: https://github.com/WICG/cookie-store/pull/111
Bug: 729800, 956732, 963042
Change-Id: I106a7d9b2e50a7304c5ad126e0f699ecac1de531
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1837146
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Staphany Park <staphany@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719476}
--
wpt-commits: 113960610a8a8e2b5d00943a099059346a6af84a
wpt-pr: 19616
Automatic update from web-platform-tests
[fetch] Designate tests for optional functionality (#20467)
The subtests for "prefetch" have been observed to produce unstable
results in some browsers. Declaring them in a separate test reduces the
impact of this instability and helps to contextualize failures.
--
wpt-commits: 6b9333837fa2a8afcd896f1fa6631643d260c4b6
wpt-pr: 20467
Automatic update from web-platform-tests
Port the border-image-slice-interpolation-stability test
Both Chrome and Firefox pass
The original test is kept because it's in the smoke test
Bug: 900581
Change-Id: Iaa581f78cdde875f25a0accfbd953ba54277e9f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1937513
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Hao Sheng <haozhes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719340}
--
wpt-commits: d76f3002cfbeed2470b4b7c228ba6271f51b4335
wpt-pr: 20460
Automatic update from web-platform-tests
[Documentation] Fix OS string used in manifest example (#20458)
--
wpt-commits: 08023224d6bca0fd7a9b10803984e40b1f626fa3
wpt-pr: 20458
Automatic update from web-platform-tests
Move timed runner into a common subclass
Most executors were implementing very common variations on "run a
function for up to some timeout and then mark the result as
EXTERNAL-TIMEOUT". But the logic for these weren't shared and so fixes
weren't shared between implementations.
Move these into a common subclass such that the implementations can be
shared, and adopt the logic from the WebDriverExecutor which runs the
function in a thread and waits a given amount of time for the flag to
be set. In contrast to the MarionetteExecutor implementation this
actually works in the case where there's a browser hang.
--
Add a timer of last resort to the TestRunner
In the case where the test just doesn't complete after the expected
amount of time (plus some slack), forcibly end the test in the parent
process. This eventually causes the child process to be restarted.
--
wpt-commits: 51e38823c3d4b44010c09655a87b8030800b1697, 35951c31d4f07cefb38a28b97eeda945ab74b851
wpt-pr: 20321
Automatic update from web-platform-tests
intrinsic-size: Move external/wpt tests back to wpt_internal.
This patch removes the published WPT tests for intrinsic-size, since
we believe that the feature as it stands isn't as useful as we
initially thought.
R=chrishtr@chromium.org
Change-Id: Ie6cb1ebdd7e36be9cfc039406563ba8c603c37a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1934244
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719157}
--
wpt-commits: f9b74935e76bf8e1772309fc41481d9a18f97f2f
wpt-pr: 20452
Automatic update from web-platform-tests
Implement TestRendered event for reftests (#20197)
This is described in RFC #34. The TestRendered event is emitted for
reftests with a `reftest-wait` class on the root at the point at which
the screenshot would occurs if that class was not present. It provides
a hook for test authors to dynamically modify the DOM after the
initial layout and paint are complete.
--
wpt-commits: 7b20b28674f71176bf1ad44157eb7287ffcb2c49
wpt-pr: 20197
Automatic update from web-platform-tests
Add --ignore-glob flag to wpt lint. (#20242)
This allows specifying file patterns to ignore via the commandline.
This feature is used inside Chromium CI to skip linting some
auto-generated files that aren't part of WPT. The motivation to make
this change upstream is because we sometimes get conflicts between the
local Chromium copy and the update upstream copy.
--
wpt-commits: cc31ccce0496f075d7db5b08b16b2d2398b20a46
wpt-pr: 20242
Automatic update from web-platform-tests
Re-enable testing of wpt/webrtc/RTCPeerConnection-setRemoteDescription-rollback.html and improve some test cases
Bug: chromium:1025557
Change-Id: I5be63e394c830faf55442d62a053e100875de5a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1932793
Commit-Queue: Eldar Rello <elrello@microsoft.com>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719106}
--
wpt-commits: 8d97a8639365429d65b36d12b96103feb683c72e
wpt-pr: 20443
Automatic update from web-platform-tests
Add WPT test for invalidating WebIDL iterators during forEach
--
wpt-commits: ab975a76a231670a990bbe2e3a967fead7e41c4f
wpt-pr: 20445
Automatic update from web-platform-tests
Reland [sms] Implement AbortController for SMSReceiver API
This change allows developers to use the SMS Receiver API with the Abort
Controller to cancel once the API is called. This will help developers with
flows for retrying and sending a new code and they want to abort the previous
call they made to the API. If the InfoBar is up during abort, it will
leave the InfoBar open while returning an AbortError to the website. If
another request is made while the InfoBar for 1st request is still open (after
abort), upon clicking 'Verify' the SMS retrieved for the 1st request will
return to the 2nd request.
Original CL: https://crrev.com/c/1866914
Revert CL: https://crrev.com/c/1930275
Failure ticket: https://crbug.com/1027386
Failure locally reproducible with following test command:
python testing/scripts/run_isolated_script_test.py third_party/blink/tools/run_web_tests.py -t LinuxTest third_party/blink/web_tests/external/wpt/sms/interceptor.https.html --isolated-script-test-output=output.json --isolated-script-test-perf-output=perftest-output.json --additional-expectations third_party/blink/web_tests/LeakExpectations --enable-leak-detection
Bug: 976401
Change-Id: I9b1208a6cf9c05185fa734809ab275235238cf4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929864
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Ayu Ishii <ayui@chromium.org>
Cr-Commit-Position: refs/heads/master@{#718954}
--
wpt-commits: 3880d9501752362e9c14ccdd9dd99db3271a3bc2
wpt-pr: 20410
Automatic update from web-platform-tests
Restrict portal creation to http(s) schemes
Portal contents are restricted to http(s) schemes. Since the host
contents may be adopted into a portal, it should be subject to this
restriction as well.
It may be that we end up allowing non-http(s) schemes to create portals,
but have them be unadoptable, but for now it's simpler to use the same
restriction. If we do weaken this restriction, we would still want to
prevent portal creation in about:blank, since this is not useful and
involves unnecessary complexity.
Bug: 1008992
Change-Id: I297ec36341912247d0d96833c2a5b08bff9e255c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1853905
Commit-Queue: Kevin McNee <mcnee@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#718888}
--
wpt-commits: 83ef876e3d8a3cfd6130059cb8727239209da339
wpt-pr: 20349
Automatic update from web-platform-tests
Port webkit-mask-position-interpolation to wpt
Firefox passed the tests.
Chrome does not support mask-position which is in the spec.
Bug filed: https://bugs.chromium.org/p/chromium/issues/detail?id=1027585
Bug: 900581
Change-Id: Ibe5db28d0b692ab3d2763d7e52406962d0cbf2c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1924695
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Hao Sheng <haozhes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#718697}
--
wpt-commits: 3385413b4de625b0e8577b0d060722f4830d2bef
wpt-pr: 20405
Automatic update from web-platform-tests
Don't alter query string when submitting form by POST.
--
wpt-commits: 702c6342b2ca667190c77cb8736ba1ec96af66af
wpt-pr: 14344