Граф коммитов

873096 Коммитов

Автор SHA1 Сообщение Дата
moz-wptsync-bot 00ed59d0b2 Bug 1875207 [wpt PR 44059] - Update wpt metadata, a=testonly
wpt-pr: 44059
wpt-type: metadata
2024-02-13 08:17:31 +00:00
Yao Xiao 25a92ff96c Bug 1875207 [wpt PR 44059] - [shared storage] Expose selectURL()/run() on the SharedStorageWorklet interface, a=testonly
Automatic update from web-platform-tests
[shared storage] Expose selectURL()/run() on the SharedStorageWorklet interface

Explainer PR: https://github.com/WICG/shared-storage/pull/130

Bug: 1218540
Change-Id: I7dffe4e026a6ebf4e6705b1df43e2baf01dadb12
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5209512
Commit-Queue: Yao Xiao <yaoxia@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Reviewed-by: Cammie Smith Barnes <cammie@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256903}

--

wpt-commits: aeff916bfb418f93a6d2a25fc90ae9060df5cc30
wpt-pr: 44059
2024-02-13 08:17:31 +00:00
Orr Bernstein 73ab5cb3fb Bug 1878803 [wpt PR 44412] - Move CORS logic from direct-from-seller-signals.py to fledge_http_server_util.py, a=testonly
Automatic update from web-platform-tests
Move CORS logic from direct-from-seller-signals.py to fledge_http_server_util.py

The CORS logic present in direct-from-seller-signals.py is identical to
that needed for other web platform tests. Moving this logic into a
common function available to the endpoints needed for those other web
platform tests prevents duplication. This change also attempts to match
the style of the Python test server in new and existing code.

Change-Id: Ia3db1e263e3e4b1e6b09bfa3408dd905a83ea44b
Bug: 40275797
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5269747
Commit-Queue: Orr Bernstein <orrb@google.com>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256845}

--

wpt-commits: 516158d4bdc86c5de892cc75355841f478999b71
wpt-pr: 44412
2024-02-13 08:17:30 +00:00
moz-wptsync-bot 70ee666c05 Bug 1877456 [wpt PR 44291] - Update wpt metadata, a=testonly
wpt-pr: 44291
wpt-type: metadata
2024-02-13 08:17:29 +00:00
jrandolf 017028aef3 Bug 1877456 [wpt PR 44291] - Add WebDriver BiDi worker tests, a=testonly
Automatic update from web-platform-tests
Add WebDriver BiDi worker tests (#44291)

--

wpt-commits: 33b559dee3d28353d153b09f1db58c7d9f148d41
wpt-pr: 44291
2024-02-13 08:17:29 +00:00
moz-wptsync-bot 6ca06ad32f Bug 1877878 [wpt PR 44338] - Update wpt metadata, a=testonly
wpt-pr: 44338
wpt-type: metadata
2024-02-13 08:17:28 +00:00
David Awogbemila 13cc952c85 Bug 1877878 [wpt PR 44338] - [css-scroll-snap-2] Prioritize focused snap targets, a=testonly
Automatic update from web-platform-tests
[css-scroll-snap-2] Prioritize focused snap targets

An agreed upon proposal[1] by the CSS working group specifies that
where multiple scroll snap targets are visually equally aligned,
scroll containers should give priority to focused elements.
Blink did this for programmatic scrolls but not for user scrolls.
This patch prioritizes focused elements for both types of scrolls
by relying on a bit in SnapAreaData.

[1]https://github.com/w3c/csswg-drafts/issues/9622

Bug: 1523819
Change-Id: I81e2aaf0845e9763abb463a960614beb37b05a8a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5255777
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: David Awogbemila <awogbemila@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256790}

--

wpt-commits: d56b1391cbf0979b0f333a1cae23875acb06be1b
wpt-pr: 44338
2024-02-13 08:17:28 +00:00
moz-wptsync-bot 41c20e6c3e Bug 1878084 [wpt PR 44355] - Update wpt metadata, a=testonly
wpt-pr: 44355
wpt-type: metadata
2024-02-13 08:17:27 +00:00
Thomas Broyer aa4290721e Bug 1878084 [wpt PR 44355] - Improve reflected attribute tests (html/dom/reflection.js), a=testonly
Automatic update from web-platform-tests
Improve reflected attribute tests (html/dom/reflection.js)

* Fix reflection tests wrt valueOf

Without a toString:null in test values that are objects
with a valueOf method, the DOM attribute would actually
be set to "[object Object]" without ever calling the
valueOf method (effectively turning those tests into
behaving exactly the same as the {"test": 6} ones).

Most existing tests were passing because the implemented
algorithms would actually compute a WRONG expected value.
The only test that doesn't compute the expected value
("double") won't actually run because all reflected IDL
attributes of type "double" have custom getters.

Fixes #44315

* Fix reflection tests wrt -0 for "double" attributes

Setting -0 to the IDL attribute will set the DOM
attribute to "0" (per ECMAScript's ToString, from the
rules for the the best representation of a number as
a floating point number), and the rules for parsing
flowting-point number values won't ever turn that "0"
into a -0 value.

This test value is never actually being used though,
as all the reflected attributes of type "double" have
custom getters.

* Add a few more reflection tests around whitespace for numeric types

Specifically leading non-ASCII whitespace following leading
ASCII whitespace (should be rejected), and trailing non-ASCII
whitespace (should be ignored)

* Add a few more numeric values to reflection tests

Specifically "+" and "-" to exercise all possible code
paths of failures.

* Add exponential notation to reflection tests of double values

* Implement "limited double" in reflection tests

* Implement the reflect algorithm for doubles

This should make it easier to extend tests with more values.
--

wpt-commits: cdafbec95bd598d0bd109e1210053dfe664e6901
wpt-pr: 44355
2024-02-13 08:17:26 +00:00
moz-wptsync-bot bd673afccd Bug 1878729 [wpt PR 44403] - Update wpt metadata, a=testonly
wpt-pr: 44403
wpt-type: metadata
2024-02-13 08:17:26 +00:00
syvb 1cd992c228 Bug 1878729 [wpt PR 44403] - Fix crash on console logging large array, a=testonly
Automatic update from web-platform-tests
Fix crash on large console log

--

wpt-commits: e3f0f309963f48c0f7a4433c1cb31d8e013400a0
wpt-pr: 44403
2024-02-13 08:17:25 +00:00
moz-wptsync-bot b2643800d1 Bug 1877927 [wpt PR 44346] - Update wpt metadata, a=testonly
wpt-pr: 44346
wpt-type: metadata
2024-02-13 08:17:24 +00:00
TAMURA, Kent 78148e8bf9 Bug 1877927 [wpt PR 44346] - html: Tests for field-sizing, a=testonly
Automatic update from web-platform-tests
html: Tests for field-sizing (#44346)

This includes tests to confirm size/cols/rows are not presentational hints.

Issue: https://github.com/whatwg/html/issues/6807
--

wpt-commits: df6595ec7e75fdf8fb524a039c32a030fc1075e9
wpt-pr: 44346
2024-02-13 08:17:23 +00:00
Noam Rosenthal 1ada39c550 Bug 1877777 [wpt PR 44325] - Split LoAF sourceLocation to 3 attributes, a=testonly
Automatic update from web-platform-tests
Split LoAF sourceLocation to 3 attributes

As per spec, sourceURL / sourceFunctionName / sourceCharPosition
Amended existing test.

Bug: 1523675
Change-Id: Ic3bb8df05bb822fa8b56990e2696d67324b4763f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5250540
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Rick Byers <rbyers@chromium.org>
Reviewed-by: Michal Mocny <mmocny@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256409}

--

wpt-commits: 3c54afacc53e3ee37daed02593f21e7057c81327
wpt-pr: 44325
2024-02-13 08:17:23 +00:00
Joey Arhar e7927abe9c Bug 1878066 [wpt PR 44354] - Support :user-valid/:user-invalid on checkboxes, a=testonly
Automatic update from web-platform-tests
Support :user-valid/:user-invalid on checkboxes

Checkboxes support validity via the required attribute and the other
browsers support :user-valid/:user-invalid on them. The existing
:user-valid/:user-invalid machinery only works on text fields, so this
patch adds some code to checkboxes to make them work as well.

Fixed: 1521781
Change-Id: I91309f36348470db5b1c706b519e6303e5deeab1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5258739
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256264}

--

wpt-commits: 81c06c7deb8241aa22d39f5f7fffbe33c555bf34
wpt-pr: 44354
2024-02-13 08:17:22 +00:00
Aaron Leventhal bd351aa7b4 Bug 1864295 [wpt PR 43095] - [A11y] Do not include hidden nodes when they are ignored, a=testonly
Automatic update from web-platform-tests
[A11y] Do not include hidden nodes when they are ignored

The only time we need hidden nodes is when they are part of a
label or description. This CL keeps track of whether a given node
has ever been part of a label or description. If the node is hidden,
it removes it from the tree unless it's needed for a label/description.

In combination with CL:4852390, which removes hidden line breaks,
reduces the time spent in serialization and deserialization by
massive amounts in tests that involve heavy usage of hidden subtrees.
For the specific results, see:
https://docs.google.com/spreadsheets/d/1ozLJMRT32yIxE0ja0rDhdZPb76hQtDd0klcRcR_uWYU/edit?pli=1#gid=0
This will make a significant difference in web apps with panels,
chats, slides, etc. where a significant percentage of the content
is hidden.

Bug: 1448706, 1353788
Cq-Include-Trybots: luci.chromium.try​:fuchsia-x64-accessibility-rel,linux-blink-web-tests-force-accessibility-rel
Change-Id: I1b0de1d9b6f037c107efd3ca93c073382fd0ece1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4574033
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256230}

--

wpt-commits: 83ca3f916e893dbdc3cfaa498aa10fc5674ed006
wpt-pr: 43095
2024-02-13 08:17:21 +00:00
moz-wptsync-bot dd6662ef5c Bug 1877899 [wpt PR 44342] - Update wpt metadata, a=testonly
wpt-pr: 44342
wpt-type: metadata
2024-02-13 08:17:21 +00:00
syvb a4ef692aa9 Bug 1877899 [wpt PR 44342] - Make console methods take `any` instead of `string`, a=testonly
Automatic update from web-platform-tests
Add test for console logging a Symbol

Signed-off-by: syvb <me@iter.ca>

--

wpt-commits: d0a66dfb73bb3925157f4768beee24d30d73f355
wpt-pr: 44342
2024-02-13 08:17:20 +00:00
Tooru Fujisawa 9bfe8b243c Bug 1879680 - Part 2: Verify JS::Value::dump result. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D201305
2024-02-13 08:11:11 +00:00
Tooru Fujisawa 7fbc5579f3 Bug 1879680 - Part 1: Remove JSONPrinter::{beginStringPropertyName,endStringPropertyName} to reduce state transition complexity. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D201304
2024-02-13 08:11:11 +00:00
Tooru Fujisawa 41e495e434 Bug 1879753 - Replace maximal subparts of an ill-formed subsequence with single U+FFFD at the end of string. r=sfink
Align with "middle of the string" case, and also align with Encoding Standard.

Differential Revision: https://phabricator.services.mozilla.com/D201330
2024-02-13 07:32:35 +00:00
Sandor Molnar 4fe00e0322 Backed out 3 changesets (bug 1878308) for causing webgpu failures. CLOSED TREE
Backed out changeset 2887e360adb9 (bug 1878308)
Backed out changeset c5f276e2774d (bug 1878308)
Backed out changeset b3fb55591aa7 (bug 1878308)
2024-02-13 09:00:38 +02:00
Mozilla Releng Treescript c9013b3172 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
br -> 46f02dc507d1e4906b32ea11aeb4530e4e218c05
cak -> f36dc195a0c5cfcb94add94ba991802da6528845
it -> 4d8af33eeba11f70ceac8a45435ce95dc33e0d45
2024-02-13 07:04:30 +00:00
sotaro 002ec97aa4 Bug 1880011 - RenderDXGITextureHost::SyncObjectNeeded() r=gfx-reviewers,lsalzman
When RenderDXGITextureHost has keyed mutex, RenderDXGITextureHost::SyncObjectNeeded() should return false. But RenderDXGITextureHost::SyncObjectNeeded() return true. Then the Synchronize() is called when it is not necessary

Differential Revision: https://phabricator.services.mozilla.com/D201674
2024-02-13 06:54:58 +00:00
Drew Willcoxon 3ce33db8ec Bug 1878444 - Update quick suggest config to account for Rust. r=daisuke
There are two types of config in Rust Suggest: global and per-provider. Right
now global contains `show_less_frequently_cap`, and the only provider config is
for weather, which contains `min_keyword_length`. This patch uses both of them.

It makes sense to me to fetch config as part of the ingest process, so that's
what I've done. I'm not sure when else would be a good time. It's async so it's
not too convenient to do it on demand.

In RS records and attachement JSON, we use snake_case, but Rust converts it to
camelCase (actually UniFFI does, I think). That means the JS backend will use
snake_case for all config, but the Rust backend will use camelCase. I wrote a
helper for converting snake to camel so we can always just use camel.

Depends on D200755

Differential Revision: https://phabricator.services.mozilla.com/D201023
2024-02-13 06:16:19 +00:00
Erich Gubler c90be413af Bug 1878308: chore(wgpu_bindings): run `cargo fmt` r=nical
Formatting regressed with in D199874, fixing with `cargo fmt` here.

Differential Revision: https://phabricator.services.mozilla.com/D200860
2024-02-13 04:59:05 +00:00
Nicolas Silva 28dad5781e Bug 1878308 - Move the compute pass remoting logic into wgpu bindings. r=webgpu-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D200460
2024-02-13 04:59:05 +00:00
Nicolas Silva 1a0ae0fce6 Bug 1878308 - Move the render pass remoting logic into wgpu's bindings. r=webgpu-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D200444
2024-02-13 04:59:04 +00:00
Jeff Muizelaar 239afc7998 Bug 1877726. Revert "Bug 1664063 - Ensure we consistently handle all errors from IDXGIKeyedMutex::AcquireSync.".
This reverts commit e25a5f344af32bdd689500bae7b4f24f205ba9f0.

We believe bug 1664063 was causing to hit some broken device reset
handling code.

Differential Revision: https://phabricator.services.mozilla.com/D201658
2024-02-13 04:25:35 +00:00
Mike Hommey 6cdcc2b550 Bug 1879464 - Disable -Wshorten-64-to-32 when making implicit-int-conversion an error. r=firefox-build-system-reviewers,ahochheiden
clang 19 is making -Wshorten-64-to-32 enabled by
-Wimplicit-int-conversion. This returns to the error level we could
handle up to clang 18.

Differential Revision: https://phabricator.services.mozilla.com/D201194
2024-02-13 03:54:31 +00:00
Natalia Csoregi 490f9ee48d Backed out 2 changesets (bug 1879954, bug 1878725) for causing failures on test_delegated_credentials.js. CLOSED TREE
Backed out changeset e7724c952412 (bug 1878725)
Backed out changeset 4390892ecb4b (bug 1879954)
2024-02-13 07:01:47 +02:00
Natalia Csoregi f184ae90a6 Backed out 2 changesets (bug 1879680) for causing spidermonkey failures on dumpValue.js CLOSED TREE
Backed out changeset 52fc8e3041c5 (bug 1879680)
Backed out changeset 09b62792ef91 (bug 1879680)
2024-02-13 06:42:12 +02:00
Tooru Fujisawa 0bedea5fda Bug 1879680 - Part 2: Verify JS::Value::dump result. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D201305
2024-02-13 02:48:24 +00:00
Tooru Fujisawa 3ad082818a Bug 1879680 - Part 1: Remove JSONPrinter::{beginStringPropertyName,endStringPropertyName} to reduce state transition complexity. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D201304
2024-02-13 02:48:24 +00:00
Tooru Fujisawa a20556237f Bug 1874248 - Add non-function global variables to help() shell function. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D201306
2024-02-13 02:48:14 +00:00
scottdowne 6e22ba805b Bug 1879587 - Update Pocket dev dependencies and build bundle from resulting dependencies update r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D201244
2024-02-13 02:38:48 +00:00
Mike Hommey 03d635c2b0 Bug 1879466 - Add node 18 toolchains. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D201186
2024-02-13 01:07:19 +00:00
Emilio Cobos Álvarez bbd30d2300 Bug 1879415 - Fix translation locale background. r=gregtatum
Using a background for text color is not great.

Provide a text color to draw on top of the toolbarbutton-icon-attention
color.

Differential Revision: https://phabricator.services.mozilla.com/D201202
2024-02-13 01:03:11 +00:00
Chun-Min Chang 65e7831047 Bug 1876414 - Catch overflow in ChromiumCDMParent::CreateVideoFrame r=media-playback-reviewers,padenot
The change suppresses the clang-tidy warning. This patch doesn't change
the behavior in the release. However, if overflow happens, the
assertions will be triggered in nightly and beta.

Depends on D200887

Differential Revision: https://phabricator.services.mozilla.com/D201610
2024-02-13 00:18:16 +00:00
Chun-Min Chang bd60228b79 Bug 1876414 - Return nsresult if TextureClientRecycleAllocator::CreateOrRecycle fails r=gfx-reviewers,sotaro
Differential Revision: https://phabricator.services.mozilla.com/D200887
2024-02-13 00:18:16 +00:00
Chun-Min Chang a004fc516f Bug 1876414 - Sort header order in TextureClientRecycleAllocator.h r=gfx-reviewers,sotaro
Sort the header order by Mozilla's C++ coding style [1].

[1] https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes

Differential Revision: https://phabricator.services.mozilla.com/D200886
2024-02-13 00:18:15 +00:00
Chun-Min Chang 98cd60d371 Bug 1876414 - Let SharedPlanarYCbCrImage::CreateEmptyBuffer return nsresult r=media-playback-reviewers,gfx-reviewers,sotaro,padenot
Differential Revision: https://phabricator.services.mozilla.com/D200885
2024-02-13 00:18:15 +00:00
Chun-Min Chang e1dd7d948e Bug 1876414 - Remove unused CreateEmptyBuffer shortcut r=gfx-reviewers,sotaro
Differential Revision: https://phabricator.services.mozilla.com/D200884
2024-02-13 00:18:14 +00:00
Chun-Min Chang d4c8cb75ca Bug 1876414 - Let PlanarYCbCrImage::CopyData return nsresult r=media-playback-reviewers,gfx-reviewers,sotaro,padenot
Differential Revision: https://phabricator.services.mozilla.com/D200570
2024-02-13 00:18:14 +00:00
Chun-Min Chang f48800da3b Bug 1876414 - Let PlanarYCbCrImage::AdoptData return nsresult r=gfx-reviewers,media-playback-reviewers,sotaro,padenot
Differential Revision: https://phabricator.services.mozilla.com/D200569
2024-02-13 00:18:14 +00:00
Chun-Min Chang af045ec3b4 Bug 1876414 - Let SetVideoDataToImage return MediaResult r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D200568
2024-02-13 00:18:13 +00:00
Chun-Min Chang 9d206aa4a4 Bug 1876414 - Assert existence of given image in SetVideoDataToImage r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D200540
2024-02-13 00:18:13 +00:00
Chun-Min Chang 86bd53ef61 Bug 1876414 - Let ValidateBufferAndPicture returns MediaResult r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D200248
2024-02-13 00:18:12 +00:00
Chun-Min Chang dccae20110 Bug 1876414 - Update error message in ValidateBufferAndPicture r=media-playback-reviewers,padenot
Depends on D200539

Differential Revision: https://phabricator.services.mozilla.com/D201609
2024-02-13 00:18:12 +00:00
Chun-Min Chang 0decff79ff Bug 1876414 - Return MediaResult on VideoData::CreateAndCopyData error r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D200539
2024-02-13 00:18:12 +00:00