Automatic update from web-platform-tests
webrtc: add WPT test for handling of unknown media types
asserting that a media type which is not understood is still kept in the
answer.
Bug: webrtc:3513
Change-Id: Ice96c09d7d1990dba677095fe882aab0fbe1a91d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2270180
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#820298}
--
wpt-commits: 304915c05721c2dbbf0f439618e1125b343f258a
wpt-pr: 24357
Automatic update from web-platform-tests
Remove invalid relative import in vcs.py (#26262)
It was introduced by e98eee5, but absolute import alone works on both Py2/3.
Closes#26071
--
wpt-commits: 3db9eb442bedcc796ab7ecd1666cc1b6682e103a
wpt-pr: 26262
Automatic update from web-platform-tests
Revert "[mathml] Implement special drawing of largeop operator in displaystyle"
This reverts commit 830b5b3af88cbe3fc7e6169c9772fdebe01f6797.
Reason for revert: Causing crashes in several mathml tests on the MSAN bot. First failing build: https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20MSAN/8001
Original change's description:
> [mathml] Implement special drawing of largeop operator in displaystyle
>
> This implements special drawing of largeop <mo> element in display style
> as described in step 3. of [1]. A new algorithm is introduced for that
> purpose and in particular only used for <mo> elements that are made of
> a single glyph. Existing painting logic for stretchy radical symbol is
> reused and adapted to work with largeop operators.
>
> [1] https://mathml-refresh.github.io/mathml-core/#layout-of-operators
>
> Bug: 6606
> Change-Id: Icca70f4bf464417809970fecc101e5aa7f149621
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414298
> Commit-Queue: Rob Buis <rbuis@igalia.com>
> Reviewed-by: Koji Ishii <kojii@chromium.org>
> Reviewed-by: Frédéric Wang <fwang@igalia.com>
> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#819855}
TBR=wangxianzhu@chromium.org,kojii@chromium.org,ikilpatrick@google.com,ikilpatrick@chromium.org,fwang@igalia.com,mstensho@chromium.org,rbuis@igalia.com
Change-Id: I97a8a0708d5acd3d43fd67a2deff3fed5967fc5e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 6606
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2495061
Reviewed-by: Bret Sepulveda <bsep@chromium.org>
Commit-Queue: Bret Sepulveda <bsep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820204}
--
wpt-commits: 0c6b6ed8b55e50fbf5669874815bd6ea0eb1c5a9
wpt-pr: 26254
Automatic update from web-platform-tests
Fix NGLineBreaker::RewindOverflow crash
This patch is a re-fix of r819722 <crrev.com/c/2489730>.
It turned out that |NGLineBreaker| hangs the attached test
case before r819722, and crashes after. This is because
|Rewind| may fail if the line has floats, and in that case,
the current item is not a text item.
This patch changes it to just setting the state to |kTrailing|
and return, so that, if |Rewind| succeeds, |BreakLine| will
call |HandleText|, which will call |HandleTrailingSpaces| when
the text item starts with spaces.
When |Rewind| fails, |BreakLine| can handle non-text items too.
Bug: 1141384
Change-Id: I96e428d2c9ff50b3685c2a83eafdcea509749594
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2492700
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820154}
--
wpt-commits: 382094f140d39f6fa8b14ab15107bed84317e89a
wpt-pr: 26248
Automatic update from web-platform-tests
[beacon] Fix ArrayBuffer and URLSearchParams data
`navigator.sendBeacon()` was not handling DOMArrayBuffer and
URLSearchParams inputs properly, resulting in failing WPTs related to
the sent Content-Type, as well as in the wrong data sent in the case
of DOMArrayBuffers.
This CL fixes that.
Bug: 876671
Change-Id: I17674b3041aa0f0bdbd1a570ab34be48b0dd98b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2489986
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820134}
--
wpt-commits: 4a65f5002f1e2e778f62a9b99f4298dc8948f26c
wpt-pr: 26214
Automatic update from web-platform-tests
2d canvas: drawImage() does not throw "IndexSizeError" when source width/height is zero
Fixes#2835.
--
wpt-commits: c71e3bf23f8a328f68614fc1716d2659f2547eda
wpt-pr: 26246
Automatic update from web-platform-tests
HTMLPluginElement: Add object to frame view's update part if locked.
This patch ensures that when we delay the load because the plugins
need to be loaded and we're under a content-visibility lock, then
we add the object to be updated into frame view's list immediately
This is typically done during layout, but if layout is prevented then
we run into a possibility of delaying load event forever. Adding
the object to the update set immediately avoids the problem.
R=masonfreed@chromium.org
Bug: 1138128
Change-Id: I4d918c6bbdcd80aa6f01bf3b068acb64a93b0196
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485671
Commit-Queue: vmpstr <vmpstr@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820068}
--
wpt-commits: 3dd0797f48bc867df582d7e6d5673622e3593ed3
wpt-pr: 26193
Automatic update from web-platform-tests
Remove sorting and de-duplication in media queries.
This was removed from the spec per resolution[1] and incompatible with
never media queries. Improves interop with Gecko which have not seen any
issues with the different serialization.
Removed fast/media test which is covered by existing wpt tests.
[1] https://github.com/w3c/csswg-drafts/issues/5627#issuecomment-712475204
Bug: 1138859
Change-Id: I1483008c81df90f8277dcad7e90c8036c5cc019b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2478992
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819090}
--
wpt-commits: d004bddde373550fe9a563487adda3e17fc4c697
wpt-pr: 26242
Automatic update from web-platform-tests
Document expectations for usage of new JS features (#26204)
These expectations were discussed by project maintainers at:
This is intended to resolve gh-6266.
Closes#6333
Co-authored-by: jugglinmike <mike@mikepennisi.com>
Co-authored-by: Robert Ma <robertma@chromium.org>
--
wpt-commits: 6ce75f4b08fff33f67d5e52005a8378ecbb82937
wpt-pr: 26204
Automatic update from web-platform-tests
Check that CSS.supports and CSSStyleDeclaration agree
These should both reflect the supported property list, so they shouldn't
ever disagree with each other.
--
wpt-commits: f5aba4f4794e0c88a896af7f1168cba89bab9fb0
wpt-pr: 26086
Automatic update from web-platform-tests
Fix line cache when `-webkit-line-clamp` is specified
|NGBlockLayoutAlgorithm| has two branches, one when
|lines_until_clamp_| becomes |<= 0| by the layout, and another
when it is |== 0|.
To make sure we run all these logic, this patch:
* Updates |lines_until_clamp_| by the number of reused lines.
* Limits reusing only up to 1, so that conditions above go
normal layout codepath.
Bug: 1140951
Change-Id: I15fe81b4957fe70d23bb88aae700642297bb1550
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491561
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819867}
--
wpt-commits: 97022d8af975e4f7612e58dbf56a8df93bf6c4d4
wpt-pr: 26229
Automatic update from web-platform-tests
Make schemeful websocket test more robust
This change makes the regexp more strict and cleans up the test's
cookies when finished.
Bug: 1141450
Change-Id: I706e42f321f4dbcc58931634356bab2b1e56fb05
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2492240
Commit-Queue: Steven Bingler <bingler@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819880}
--
wpt-commits: dedb110a5f5f4366af3348fc44f7cd4c5063359a
wpt-pr: 26236
Automatic update from web-platform-tests
[mathml] Implement special drawing of largeop operator in displaystyle
This implements special drawing of largeop <mo> element in display style
as described in step 3. of [1]. A new algorithm is introduced for that
purpose and in particular only used for <mo> elements that are made of
a single glyph. Existing painting logic for stretchy radical symbol is
reused and adapted to work with largeop operators.
[1] https://mathml-refresh.github.io/mathml-core/#layout-of-operators
Bug: 6606
Change-Id: Icca70f4bf464417809970fecc101e5aa7f149621
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414298
Commit-Queue: Rob Buis <rbuis@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Frédéric Wang <fwang@igalia.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819855}
--
wpt-commits: 849c93ccec0cf5fcfbd641d003639be851c51c45
wpt-pr: 25617
Automatic update from web-platform-tests
Reland "[Longtasks] Fix buffering before observer"
This is a reland of c2d62d3604e218cfd1b62877684c634980aea3f7. This is
safe to reland because it got reverted due to the issue that has been
fixed in https://bugs.chromium.org/p/chromium/issues/detail?id=1108676.
Original change's description:
> [Longtasks] Fix buffering before observer
>
> When we shipped longtasks with buffered flag, we forgot to remove a
> check that would prevent longtask creation when there's no observer.
> This CL fixes this and adds a test for this case. It also moves the
> UseCounter to the observe() method.
>
> Bug: 1131385
> Change-Id: I2911b9ab044db7394bcf64f64b1e599959cbdc37
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463594
> Reviewed-by: Steve Kobes <skobes@chromium.org>
> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#816664}
Bug: 1131385
Change-Id: I8640abc566fc7eceaf44e80c04d23ca59182542d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491100
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819832}
--
wpt-commits: 9816079c0f88f2a5562ee3245d53e202123a5a36
wpt-pr: 26209
Automatic update from web-platform-tests
Handle spaces in path in |wpt test-files|
Previously spaces in path would produce ValueError: too many values to
unpack. Explicitly only split on the first space to account for this.
--
wpt-commits: 294638b205fc7c03f65fdd41ffc5ef82f529a07f
wpt-pr: 7942
Automatic update from web-platform-tests
bluetooth: Fix tests which assume cross-origin user activation
These tests were broken by User Activation v2 because they assumed that
an activation is inherited by cross-origin child frames. The tests have
been updated to use test_driver.click() in the iframe to create their
own activation.
Bug: 860713
Change-Id: I5b3d6d17d97098eaa1689e77f5fc112002f76795
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491683
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819815}
--
wpt-commits: 4ba4f7e3d12c71799c531f72eeee946d1433aef5
wpt-pr: 26212
Automatic update from web-platform-tests
CSS parsing of scrollbar-width
The scrollbar-width CSS property allows the author to set the
maximum thickness of an element’s scrollbars when they are shown.
Its value is one of the keywords "auto", "thin", and "none".
This is part of the CSSScrollbars feature (status: test).
See the CSS Scrollbars spec for more details:
https://drafts.csswg.org/css-scrollbars
Bug: 891944
Change-Id: Iddc833d6af877c312a11452a6cfdcb05d45b1a63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2488947
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Felipe Erias Morandeira <felipeerias@gmail.com>
Cr-Commit-Position: refs/heads/master@{#819763}
--
wpt-commits: 7fda9d4ab2a78b76848500554894bbfc3836f092
wpt-pr: 26210
Automatic update from web-platform-tests
Remove worklets.idl and let tests depend on html.idl for worklets (#26200)
Closes https://github.com/web-platform-tests/wpt/pull/26194.
--
wpt-commits: c4ed5ee1674c2b18f8aa6b3d26a2bd7861e8f450
wpt-pr: 26200
Automatic update from web-platform-tests
html: Merge two fieldset tests
Having both of fieldset-percent-height.html and
fieldset-percetage-block-size.html is confusing. Merge the new one into
the old one.
Change-Id: Ibcdf17d744c4cd622a8db33f6706cdc9f65ad416
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491573
Commit-Queue: Koji Ishii <kojii@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819761}
--
wpt-commits: 6b9d4a7cccaa6e6d551002aa2025faad50199795
wpt-pr: 26228
Automatic update from web-platform-tests
Call |HandleTrailingSpaces| even if |shape_result| is nullptr
r796465 crrev.com/c/2344431 changed |HandleOverflow| to call
|HandleTrailingSpaces| only if |shape_result| is not nullptr.
crbug.com/1139513 found that this change caused M86 to hang.
M87 and later has a new trailing space code in r807457
crrev.com/c/2412307 and that the symptom is not observed.
However, this indicates that we may hang if we go to the
codepath in any other conditions.
This patch:
1. Reverts the behavior to M85/86.
2. Change the function to take the pointer of |shape_result|
instead of ref to indicate it can be nullptr.
|HandleTrailingSpaces| needs |shape_result| only under certain
condition, and the current assumption is that the combination
will not occur.
Change-Id: Ide9f48e14657c8e3c893fd506fee8412216df25f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2489730
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819722}
--
wpt-commits: a84b1954e0a68fcd7cfb7b4c0fd9101c3359c680
wpt-pr: 26211
Automatic update from web-platform-tests
MSE-in-Workers: Enable experimental proactive feature detection
Adds a readonly, boolean-valued, static attribute named
`canConstructInDedicatedWorker` to the MediaSource interface.
Currently, this attribute is only visible to web apps if the
RunTimeEnabledFeature "MediaSourceInWorkers" is enabled. When visible,
this attribute always returns true.
The primary goal of having this attribute is to enable web app's main
thread to proactively determine whether or not MSE is supported from a
dedicated worker context *before* deciding whether or not to create or
try using MSE from such a context.
As an initial example of this use case, the existing MSE-in-Workers
web_tests are updated to use this new attribute's existence and value
to fail-fast rather than potentially flakily fail (e.g. previously, the
...worker-terminate test might flakily pass/fail some of its test cases
on implementations lacking MSE-in-Workers support if the test completed
before handling receipt of error message from worker.)
A further test is added to ensure that, if the attribute is missing or
exists but is not `true`, a dedicated worker does not have ability to
construct a MediaSource instance. See also
https://github.com/w3c/media-source/issues/175 for further discussion
which led to this new attribute.
BUG=878133
Change-Id: I697ca6adc5b5dc65d5c5084ff67a541430a9237b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2487834
Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org>
Reviewed-by: Will Cassella <cassew@google.com>
Cr-Commit-Position: refs/heads/master@{#819564}
--
wpt-commits: 0718e9cda140e8e786a0810a6ab4bda161158c91
wpt-pr: 26197
Automatic update from web-platform-tests
[testdriver] Binary values should be base64url
On testdriver virtual authenticator tests, binary values were being
encoded as base64 instead of base64url. This didn't blow anything up
because the test values happened to have the same representation in
both, but is still a bug.
Bug: 1141104
Change-Id: I6edd7fdfd4ab0f9ae1d196d8f2e14ed2bd9e334d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2490230
Commit-Queue: Nina Satragno <nsatragno@chromium.org>
Auto-Submit: Nina Satragno <nsatragno@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819523}
--
wpt-commits: 784233cdb816df877bcd4dcfa87ee71bb14f01de
wpt-pr: 26206
Automatic update from web-platform-tests
[Image-Orientation] Always orient cross-origin images
Enforce the requirement that all uses of images
always orient when the image is cross origin. We
rely on ImageResourceContent::IsAccessAllowed and
ConvasImageSource::WouldTaintOrigin.
Bug: 1110330
Change-Id: I017b4fbf045eb8b0080ba85c49abfba02d2843ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2473799
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819513}
--
wpt-commits: b92c26342b057bca99f31cb3a5e0efea4f06f4d2
wpt-pr: 26198
Automatic update from web-platform-tests
webdriver: handle events with Unidentified key code (#26183)
WebKit sets the event key code as Unidentified as per the spec (see
https://www.w3.org/TR/uievents-code/), but WebDriver tests expect an
empty string for the case of unidentified key codes. This patch changes
the code to an empty string when Unidentified is found.
--
wpt-commits: b57da97fc05e5440ae675027dd45a26be48e2dbd
wpt-pr: 26183
Automatic update from web-platform-tests
[testharness.js] Fix bug in get_test_name
The duplicate detection code previously mutated 'trimmed' before
checking the duplicate-detection cache, so repeated subtest names would
all just get '1' appended, rather than 1, 2, 3, ...
--
Actually fix bug
--
Fix properly
--
Address review comemnt
--
wpt-commits: a88b2a57daf3ddaf6405a52269fe8aa60341f520, bd11431fbbda3865475c7d2ac12f920224ecea53, fbb40dbaa03a8a6e5b8644ed455aabc7a8a541fc, f38fb11d44877268aae773a170720de80d748a36
wpt-pr: 26155
Automatic update from web-platform-tests
[css-flex] Add regression test for SVG sizing bug fixed in FlexNG
Just a test, no behavior change.
Fixed: 965672
Change-Id: Iaf1f86a92aa6c65e33736850ea2fbd5411db45d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2488984
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819403}
--
wpt-commits: 9d0fce868073a1b4bb8e603352d559f727d44ba3
wpt-pr: 26199
Automatic update from web-platform-tests
Deflake external/wpt/infrastructure/testdriver/click_iframe_crossorigin.sub.html
This test can flake if the iframe is loaded OOP and the child script
runs before the parent script.
Bug: 1137228
Change-Id: I13b8d2d85cae6d0eb5ab00029a388ea321c86150
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2481347
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819340}
--
wpt-commits: 74df723a13ac81eae8f6d31d59eaba0c43b8b5df
wpt-pr: 26157
Automatic update from web-platform-tests
Python3: Remove xfail for wpt unit tests in PY3 (#26202)
Tests in test_wpt.py were marked as xfail due to virtualenv
activation issue (https://github.com/pypa/virtualenv/issues/1710)
This issue has now been solved.
--
wpt-commits: 35faa70dcf2889231814b97c6a04e6fee8916e0e
wpt-pr: 26202
Automatic update from web-platform-tests
Check that contain strict and content compute to the longhands (#26201)
They serialize back to the shorthand thanks to the shortest
serialization principle
--
wpt-commits: 98c4e2d52402156bfafcd1466985b5336f6c7240
wpt-pr: 26201
Automatic update from web-platform-tests
Encoding: more ISO-2022-JP encoder tests
Also correct existing "SO/SI ESC" test for which expected behavior changed in 2016 as per f9540e53e7.
Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
--
wpt-commits: 1821fb5f77723b5361058c6a8ed0b71f9d2d6b8d
wpt-pr: 26158
Automatic update from web-platform-tests
screen enumeration: rename test to run in secure context.
Test is not passing in upstream wpt due to insecure
context error.
https://wpt.fyi/results/screen_enumeration/screen_enumeration_permission.window.html?run_id=728120001
Renaming file with .https. extension to use secure context.
Bug: 1075656
Change-Id: I5842a253d296b364bfc26130b7f0f0af23dc90de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485503
Reviewed-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Michael Wasserman <msw@chromium.org>
Commit-Queue: Arnaud Mandy <arnaud.mandy@intel.com>
Cr-Commit-Position: refs/heads/master@{#819237}
--
wpt-commits: 0a45e9baf952da4787f81ca93d34dfad3ca24d33
wpt-pr: 26185