Commit Graph

823163 Commits

Author SHA1 Message Date
Alexandre Poirot
e6022f56a1 Bug 1801695 - [devtools] Rename SourceMapService to SourceMapLoader. r=bomsy
Also rename a few symbols to better identify SourceMapURLService.

Differential Revision: https://phabricator.services.mozilla.com/D162969
2022-12-12 13:15:53 +00:00
Alexandre Poirot
afbbe6b04b Bug 1801695 - [devtools] Remove Proxy on top of SourceMapLoader. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D162968
2022-12-12 13:15:52 +00:00
Alexandre Poirot
8fdcc84648 Bug 1801695 - [devtools] Remove applySourceMap proxy in favor of an event. r=bomsy
This will help get rid of the proxy entirely.

Differential Revision: https://phabricator.services.mozilla.com/D162967
2022-12-12 13:15:52 +00:00
Alexandre Poirot
5686dffbd0 Bug 1801695 - [devtools] Use regular devtools loader to load SourceMap modules. r=bomsy
Now that source-map-loader uses ChromeLoader, it doesn't need to be loaded
via the Browser Loader. It was mostly used to be able to access window.Worker symbol.

It was also exposing `fetch` global symbol. DevTools Loader wasn't exposing it.
I fixed that as this symbol is available in JSM/ESM.

Differential Revision: https://phabricator.services.mozilla.com/D162966
2022-12-12 13:15:52 +00:00
Alexandre Poirot
33808f7737 Bug 1801695 - [devtools] Store worker URL in their index.js module instead of callsite. r=bomsy
This simplify the frontend code/callsites by not having to know where the worker file is.

Differential Revision: https://phabricator.services.mozilla.com/D162965
2022-12-12 13:15:51 +00:00
Alexandre Poirot
4d279c19da Bug 1801695 - [devtools] Use ChromeWorker for devtools frontend workers. r=bomsy
This allows using a regular worker and no longer have to be related to any particular document.

Differential Revision: https://phabricator.services.mozilla.com/D162964
2022-12-12 13:15:51 +00:00
Nazım Can Altınova
0d5987410a Bug 1803751 - Make some marker fields searchable and bump the profile version r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D163714
2022-12-12 13:11:56 +00:00
moz-wptsync-bot
a520e8705c Bug 1805107 - [wpt-sync] Update web-platform-tests to 4a4653e088039aec186d6dc1d488120d77695c3a, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 4a4653e088039aec186d6dc1d488120d77695c3a
wpt-type: landing
2022-12-12 11:39:22 +00:00
Tim Nguyen
e0b2ad5e5d Bug 1804999 [wpt PR 37442] - Revert "Drop funcsigs", a=testonly
Automatic update from web-platform-tests
Revert "Drop funcsigs"

This reverts commit ef70ce9623f50e9e7a89bb713920588cfb1259cf.

This broke the WebKit import-w3c-tests script, reverting until someone has time to look more closely into it.

--

wpt-commits: 4a4653e088039aec186d6dc1d488120d77695c3a
wpt-pr: 37442
2022-12-12 11:39:21 +00:00
Anne van Kesteren
1010b47a9e Bug 1804850 [wpt PR 37422] - EME: remove util/fetch.js and simplify utf8.js, a=testonly
Automatic update from web-platform-tests
EME: remove util/fetch.js and simplify utf8.js

Closes #37408.

--

wpt-commits: 36e73cdc80940d8d3e2d699c707c240c460769a3
wpt-pr: 37422
2022-12-12 11:39:21 +00:00
Karl Dubost
ba9f72022a Bug 1804890 [wpt PR 37427] - Issue #37425. Adds test for ::marker with variable, a=testonly
Automatic update from web-platform-tests
Add tests for ::marker with variable (#37427)

Fixes #37425.
--

wpt-commits: 305aa1be5f5f2adc46edf05171b05bf380e2518f
wpt-pr: 37427
2022-12-12 11:39:20 +00:00
moz-wptsync-bot
f40abba605 Bug 1804992 [wpt PR 37441] - Update wpt metadata, a=testonly
wpt-pr: 37441
wpt-type: metadata
2022-12-12 11:39:20 +00:00
Austin Sullivan
9e0ebca546 Bug 1804992 [wpt PR 37441] - FSA: Migrate remove WPTs from file-system-access to fs, a=testonly
Automatic update from web-platform-tests
FSA: Migrate remove WPTs from file-system-access to fs

Spec PR: https://github.com/whatwg/fs/pull/9

Bug: 1114923
Change-Id: Ie52068e0053cf3a1b693e09c5623eb4b42dd6eb9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4073126
Reviewed-by: Daseul Lee <dslee@chromium.org>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Auto-Submit: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081718}

--

wpt-commits: e6c9f0d92dc297b51ad970143ee1680a50ac328f
wpt-pr: 37441
2022-12-12 11:39:19 +00:00
moz-wptsync-bot
3b10af3589 Bug 1804836 [wpt PR 37419] - Update wpt metadata, a=testonly
wpt-pr: 37419
wpt-type: metadata
2022-12-12 11:39:18 +00:00
Marcos Cáceres
fa20435a85 Bug 1804836 [wpt PR 37419] - Fullscreen: convert more tests to automated tests, a=testonly
Automatic update from web-platform-tests
Fullscreen: convert more tests to automated tests (#37419)

--

wpt-commits: 10e1a379df9355175a0a4e7d708991fedf5a0a8c
wpt-pr: 37419
2022-12-12 11:39:18 +00:00
moz-wptsync-bot
c9e7222c3d Bug 1804987 [wpt PR 37440] - Update wpt metadata, a=testonly
wpt-pr: 37440
wpt-type: metadata
2022-12-12 11:39:17 +00:00
Austin Sullivan
291c246e46 Bug 1804987 [wpt PR 37440] - FSA: Allow removing the root of an OPFS, a=testonly
Automatic update from web-platform-tests
FSA: Allow removing the root of an OPFS

Removes the extra check added in https://crrev.com/c/3123735. See
recent discussion on the spec here:
https://github.com/whatwg/fs/pull/9#discussion_r1042179453

Bug: 1114923, 1399660
Change-Id: I0afd561238ae44dfa055e6fff234e801ee8de616
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4090632
Auto-Submit: Austin Sullivan <asully@chromium.org>
Reviewed-by: Daseul Lee <dslee@chromium.org>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081696}

--

wpt-commits: 1a3f3a52208c41caad21964990f0b08a56d0264c
wpt-pr: 37440
2022-12-12 11:39:17 +00:00
Joey Arhar
9c38209a40 Bug 1803685 [wpt PR 37287] - Add optional force parameter to togglePopover, a=testonly
Automatic update from web-platform-tests
Add optional force parameter to togglePopover

This was suggested by domenic here:
https://github.com/whatwg/html/pull/8221#discussion_r1036791719

Bug: 1307772
Change-Id: Ie371028dd41601f445b7590d0769e6bf101f6072
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4070786
Commit-Queue: Mason Freed <masonf@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Auto-Submit: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081666}

--

wpt-commits: 574f5c564bf1adf6e4f7cfebc266e03d67a4e257
wpt-pr: 37287
2022-12-12 11:39:16 +00:00
Mason Freed
67732728fa Bug 1804976 [wpt PR 37437] - Fix the popover-attribute-basic.tentative.html test, a=testonly
Automatic update from web-platform-tests
Fix the popover-attribute-basic.tentative.html test

This test has been disabled for some time, while [1] was landed. Then
[2] landed, which changed the event names/behavior, but that CL forgot
to update this test. Additionally, there was a crash that was fixed
in [3]. This CL cleans it up and re-enables it finally.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/4074305
[2] https://chromium-review.googlesource.com/c/chromium/src/+/4035832
[3] https://chromium-review.googlesource.com/c/chromium/src/+/4074665

Bug: 1307772
Change-Id: I3f0b9fb604a04cb0cc28370f40d8b02d5fce11ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4090644
Commit-Queue: Mason Freed <masonf@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081664}

--

wpt-commits: e0177c5fc5372f2b494cc229e55ae5acd6747cf1
wpt-pr: 37437
2022-12-12 11:39:16 +00:00
moz-wptsync-bot
8c34bf9e06 Bug 1804552 [wpt PR 37387] - Update wpt metadata, a=testonly
wpt-pr: 37387
wpt-type: metadata
2022-12-12 11:39:15 +00:00
Blink WPT Bot
a526972a13 Bug 1804552 [wpt PR 37387] - [Interop] Add a WPT for PE attributes for right-button events., a=testonly
Automatic update from web-platform-tests
[Interop] Add a WPT for PE attributes for right-button events. (#37387)

Bug: 876994, 649521
Change-Id: I9d1ef3127fc660862b45809c4aaf22e9ada4a9a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4087242
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081465}

Co-authored-by: Mustaq Ahmed <mustaq@google.com>
--

wpt-commits: 09345e98acfc34e5a57db37bd73d00f991e8f391
wpt-pr: 37387
2022-12-12 11:39:14 +00:00
moz-wptsync-bot
ded9878398 Bug 1804550 [wpt PR 37386] - Update wpt metadata, a=testonly
wpt-pr: 37386
wpt-type: metadata
2022-12-12 11:39:14 +00:00
Mustaq Ahmed
5e427667c7 Bug 1804550 [wpt PR 37386] - [CodeHealth] Update PE attribute tests for a cleaner wpt.fyi status., a=testonly
Automatic update from web-platform-tests
[CodeHealth] Update PE attribute tests for a cleaner wpt.fyi status.

- Remove redundant assert messages.
- Combine related asserts into fewer tests.
- Add missing type checks for inherited attributes.
- Clean up the use of action Promises.

Change-Id: I1e87af6e55d13be23a959bd0ee5e28d96a510ab9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4086645
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081495}

--

wpt-commits: 47ce936ed6075bff2bea802ba79b2ec253a90195
wpt-pr: 37386
2022-12-12 11:39:13 +00:00
Sammy Gill
a1525ef331 Bug 1804942 [wpt PR 37431] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=247079, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=247079 (#37431)

[css-grid] Use masonry-auto-flow when performing masonry layout
https://commits.webkit.org/257643@main
--

wpt-commits: 3b757bc4d28af363ca8442603c833be435ac96b7
wpt-pr: 37431
2022-12-12 11:39:13 +00:00
moz-wptsync-bot
6933e6210d Bug 1804791 [wpt PR 37413] - Update wpt metadata, a=testonly
wpt-pr: 37413
wpt-type: metadata
2022-12-12 11:39:12 +00:00
Anders Hartvoll Ruud
c349dc4f5f Bug 1804791 [wpt PR 37413] - [container-queries] Start CQ search for :host:part() correctly, a=testonly
Automatic update from web-platform-tests
[container-queries] Start CQ search for :host:part() correctly

We are supposed to start the search for container queries at the
ultimate originating element, but we did not respect this for
:host:part() rules. This is because the first iteration of a for-loop
in MatchPseudoPartRules starts with the part_matching_element, which
is used as the starting element for the container queries search.

To meet the "ultimate originating element" criteria, we should instead
start at that element's host.

Fixed: 1399539
Change-Id: Icfc4265f5dae083c15a204f78962e8a356312cdc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4088568
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081384}

--

wpt-commits: 9f571c78869652c5283562c6348a03af9a3fabb6
wpt-pr: 37413
2022-12-12 11:39:12 +00:00
moz-wptsync-bot
2b9cd0affc Bug 1801796 [wpt PR 37073] - Update wpt metadata, a=testonly
wpt-pr: 37073
wpt-type: metadata
2022-12-12 11:39:11 +00:00
Blink WPT Bot
e0fb28af15 Bug 1801796 [wpt PR 37073] - [bfcache] Reset NotRestoredReasons for redirect, a=testonly
Automatic update from web-platform-tests
[bfcache] Reset NotRestoredReasons for redirect (#37073)

This CL implements resetting of NotRestoredReasons when redirect happens.
For example, a.com->b.com->(back but server redirect)c.com
When this happens, we should not be reporting the reasons for a.com for c.com.

This CL does this by adding NotRestoredReasons as a part of commit navigation params instead of a parameter in CommitNavigation() method.

This is to implement what we discussed here:
https://chromium-review.googlesource.com/c/chromium/src/+/3986625/5..12/content/browser/renderer_host/back_forward_cache_impl.cc#1551

Change-Id: Idee05c88d1073fbe5c3d19c0b9edcd360ce6c1a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4006065
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Commit-Queue: Yuzu Saijo <yuzus@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080776}

Co-authored-by: Yuzu Saijo <yuzus@chromium.org>
--

wpt-commits: f669a3dcd53b34e995226059b5536de8a4ace04f
wpt-pr: 37073
2022-12-12 11:39:10 +00:00
moz-wptsync-bot
3bff28476f Bug 1803825 [wpt PR 37299] - Update wpt metadata, a=testonly
wpt-pr: 37299
wpt-type: metadata
2022-12-12 11:39:10 +00:00
Mason Freed
6c798eacd4 Bug 1803825 [wpt PR 37299] - WPT: Allow window.onload to contain multiple test()s, a=testonly
Automatic update from web-platform-tests
WPT: Allow `window.onload` to contain multiple `test()`s

******************************************************************
*** SHERIFFS: please don't revert this CL if it causes web_tests
              to flake/fail. If that happens, the cause is a bad
              test. Please mark that test as flaky/fail in
              TestExpectations, with a new crbug. Please block the
              new bug against crbug.com/1395228. Thanks!
******************************************************************

Prior to this CL, a test like this:

```
<script>
window.onload = () => {
  test((t) => { ... }, 'test 1');
  test((t) => { ... }, 'test 2');
  test((t) => { ... }, 'test 3');
};
</script>
```

would not run anything after test #1. The issue is that the testharness
immediately adds a window load handler that marks `all_loaded = true`,
and that ends the tests as soon as the first result from the first test
is processed. (The test runner waits for the first test because
`Tests.prototype.all_done()` also waits until `this.tests.length > 0`.)
There were various mitigating corner cases, such as if you started
the list of tests with a promise_test(), that would increment a
counter that kept the rest of the tests alive. Etc.

With this CL, the testharness-added window.onload handler runs a
setTimeout(0), so that `all_loaded` is only set to true after all of
the tests are loaded by any window.onload handler.

This exposed a few tests that should have been failing but were
masked by the lack of test coverage - bugs have been filed for
those. Also, several tests that were working around this via various
means are also cleaned up in this CL. I'm sure there are more of
those.

Bug: 1395228,1395226,1307772
Change-Id: I6f12b5922186af4e1e06808ad23b47ceac68559c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4074305
Reviewed-by: Weizhong Xia <weizhong@google.com>
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081558}

--

wpt-commits: e085ff159a16b0a40c38cf745d511c4687bb3937
wpt-pr: 37299
2022-12-12 11:39:09 +00:00
Tab Atkins Jr
8229ae6b56 Bug 1804947 [wpt PR 37433] - :has() is unforgiving now, a=testonly
Automatic update from web-platform-tests
:has() is unforgiving now (#37433)

--

wpt-commits: 7d8e7db6d333dc6aaa2896db9c6fdd33fea41ed6
wpt-pr: 37433
2022-12-12 11:39:09 +00:00
Wan-Teh Chang
7b22135366 Bug 1804773 [wpt PR 37411] - Re-implement AVIFImageDecoder::RepetitionCount(), a=testonly
Automatic update from web-platform-tests
Re-implement AVIFImageDecoder::RepetitionCount()

Re-implement AVIFImageDecoder::RepetitionCount() using the new
repetitionCount member of the avifDecoder struct.

Three animated AVIF test files actually contain a repetition count of 0,
so their expected repetition counts in the unit test need to be
adjusted.

The WPT AVIF test file four-colors-flip.avif also contains a repetition
count of 0. Remove all edits from four-colors-flip.avif so that Chrome
will treat a missing repetition count as Infinity for backward
compatibility.

Change-Id: I1963efaf0123fd05f8caabc4cf7d538b058f511f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4053784
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Wan-Teh Chang <wtc@google.com>
Cr-Commit-Position: refs/heads/main@{#1081550}

--

wpt-commits: 88004c48e5f4daff5a98af4d19bb0b7e2198f612
wpt-pr: 37411
2022-12-12 11:39:08 +00:00
moz-wptsync-bot
a07818848c Bug 1804284 [wpt PR 37355] - Update wpt metadata, a=testonly
wpt-pr: 37355
wpt-type: metadata
2022-12-12 11:39:07 +00:00
Vladimir Levin
25c2d3eff4 Bug 1804284 [wpt PR 37355] - VT: Ensure all layers that recalculate their draw props push props too, a=testonly
Automatic update from web-platform-tests
VT: Ensure all layers that recalculate their draw props push props too

This patch is a more comprehensive fix for the referenced bug.
Previously, we've only addressed opacity animations, but the same bug
is present for transform animations as well. The problem with
transforms is that to detect changes in the matrix, we need to do
a lot of float comparisons. It seems better to just unconditionally
say that if we recalculated draw properties, then that layer needs
to push properties as well.

Note for picture layer impls, this is still a no-op, since they
always push their properties.

R=pdr@chromium.org

Bug: 1385432
Change-Id: I6df15e6e344507f26336698e4bf890728690da52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4081632
Reviewed-by: Philip Rogers <pdr@chromium.org>
Auto-Submit: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Vladimir Levin <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081505}

--

wpt-commits: 74b130a8568849fbe41898789c19c1382171e931
wpt-pr: 37355
2022-12-12 11:39:07 +00:00
moz-wptsync-bot
bd6979fd04 Bug 1804273 [wpt PR 37353] - Update wpt metadata, a=testonly
wpt-pr: 37353
wpt-type: metadata
2022-12-12 11:39:06 +00:00
Fredrik Söderquist
aac58e3a63 Bug 1804273 [wpt PR 37353] - Rework load/error event dispatch for <use> elements, a=testonly
Automatic update from web-platform-tests
Rework load/error event dispatch for <use> elements

The way events are dispatch (for <use> 'load' of external resources) is
racy, since the resource reference can change from "external" to "local"
in the space between the resource finished loading and the event was
dispatched.

Instead post 'load' (and 'error') events as cancellable tasks, and then
cancel the event task if the target reference changes before the event
has been dispatched. This somewhat matches similar types of loading
sequences.

Fixed: 1130925
Change-Id: Icd4e89a0288ab0ed5e4c7ee0fe218ee30329d477
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4047289
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081477}

--

wpt-commits: 6f1c494b9a42cfe0703bcfa84d07ccdba82b7152
wpt-pr: 37353
2022-12-12 11:39:05 +00:00
Monica Basta
d739045fac Bug 1804918 [wpt PR 37430] - Revert "Prerender2 CSP: Implement script-src 'inline-speculation-rules'", a=testonly
Automatic update from web-platform-tests
Revert "Prerender2 CSP: Implement script-src 'inline-speculation-rules'"

This reverts commit 9a89f759b68a49bb969ec1a7a4d3d966cb5707bc.

Reason for revert: Introduces consistent web tests failures on multiple Mac bots.
https://ci.chromium.org/ui/p/chromium/builders/ci/mac11-arm64-rel-tests/11486/overview
https://ci.chromium.org/ui/p/chromium/builders/ci/mac12-arm64-rel-tests/4418/overview
https://ci.chromium.org/ui/p/chromium/builders/ci/Mac12%20Tests/4679/overview

Original change's description:
> Prerender2 CSP: Implement script-src 'inline-speculation-rules'
>
> This patch implements CSP 'inline-speculation-rules' source for
> <script type="speculationrules">. This source is available only for
> script-src directive, and can permit inline script tags that has
> the type attribute with "speculation-rules". This allows developers
> to permit inline script only for speculationrules.
>
> With this patch, the change is applied only for isolated worlds
> where we run Chrome Extensions. But it will be extended to the
> open web platform once we publish a patch spec and follow the I2S.
>
> Bug: 1382361
> Change-Id: I69b1f3e61e64c3f956964fe59e2e847239654c81
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4056835
> Reviewed-by: Dominic Farolino <dom@chromium.org>
> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
> Reviewed-by: John Abd-El-Malek <jam@chromium.org>
> Reviewed-by: Mike West <mkwst@chromium.org>
> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1081341}

Bug: 1382361
Change-Id: Id9507ac4fe114b3f2b61a43df592f0efaf358e87
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4092170
Reviewed-by: Monica Basta <msalama@chromium.org>
Commit-Queue: Monica Basta <msalama@chromium.org>
Owners-Override: Monica Basta <msalama@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1081474}

--

wpt-commits: c786cc8cec396f7a793d2cd0e6a517aa993bfb96
wpt-pr: 37430
2022-12-12 11:39:05 +00:00
moz-wptsync-bot
950a3d585c Bug 1804852 [wpt PR 37423] - Update wpt metadata, a=testonly
wpt-pr: 37423
wpt-type: metadata
2022-12-12 11:39:04 +00:00
Byungwoo Lee
70e809d611 Bug 1804852 [wpt PR 37423] - Make :has() unforgiving, a=testonly
Automatic update from web-platform-tests
Make :has() unforgiving

Apply the issue resolution of making :has() unforgiving:
https://github.com/w3c/csswg-drafts/issues/7676#issuecomment-1341347244

Bug: 1399744
Change-Id: Ibb499e251ecce7ba22bd454ea94b2c8c8b1d8afb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4090967
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Byungwoo Lee <blee@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1081452}

--

wpt-commits: 37e131cadfd27444fa4223b826edbd6bed29c356
wpt-pr: 37423
2022-12-12 11:39:03 +00:00
moz-wptsync-bot
cbbda6c85b Bug 1804316 [wpt PR 37359] - Update wpt metadata, a=testonly
wpt-pr: 37359
wpt-type: metadata
2022-12-12 11:39:03 +00:00
Anders Hartvoll Ruud
92603c0343 Bug 1804316 [wpt PR 37359] - [scroll-animations] Support animation-duration:auto, a=testonly
Automatic update from web-platform-tests
[scroll-animations] Support animation-duration:auto

This CL supports using 'auto' (explicitly) as an animation duration.

Whether or not 'auto' should become the new initial value of
animation-duration will be handled separately.

Fixed: 1382873
Change-Id: I50a669fdf53323f32299948081d316997c7820c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4079648
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081438}

--

wpt-commits: f12151ee06f095fc75a42bef5613e5f3d8220431
wpt-pr: 37359
2022-12-12 11:39:02 +00:00
moz-wptsync-bot
f9140e4c3d Bug 1802814 [wpt PR 37175] - Update wpt metadata, a=testonly
wpt-pr: 37175
wpt-type: metadata
2022-12-12 11:39:01 +00:00
Abin K Paul
c8eafd7f6e Bug 1802814 [wpt PR 37175] - WPT for testing content-type parsing, a=testonly
Automatic update from web-platform-tests
WPT for testing content-type parsing

Browsers may not parse out Content-type headers and mime-type strings correctly. This WPT makes use of the field contentType in PerformanceResourceTiming to validate the parsing that was done.

Bug: 1366706
Change-Id: I87a443f6f8890d5f43147ec96d8c3c70c0185de3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4058549
Commit-Queue: Abin Paul <abin.paul1@gmail.com>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081390}

--

wpt-commits: 77eadc1dc505a2d27794c06aa7fdb2d8fefb4df9
wpt-pr: 37175
2022-12-12 11:39:01 +00:00
moz-wptsync-bot
554ff0982f Bug 1804826 [wpt PR 37327] - Update wpt metadata, a=testonly
wpt-pr: 37327
wpt-type: metadata
2022-12-12 11:39:00 +00:00
Takashi Toyoshima
10be8ae3d7 Bug 1804826 [wpt PR 37327] - Prerender2 CSP: Implement script-src 'inline-speculation-rules', a=testonly
Automatic update from web-platform-tests
Prerender2 CSP: Implement script-src 'inline-speculation-rules'

This patch implements CSP 'inline-speculation-rules' source for
<script type="speculationrules">. This source is available only for
script-src directive, and can permit inline script tags that has
the type attribute with "speculation-rules". This allows developers
to permit inline script only for speculationrules.

With this patch, the change is applied only for isolated worlds
where we run Chrome Extensions. But it will be extended to the
open web platform once we publish a patch spec and follow the I2S.

Bug: 1382361
Change-Id: I69b1f3e61e64c3f956964fe59e2e847239654c81
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4056835
Reviewed-by: Dominic Farolino <dom@chromium.org>
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081341}

--

wpt-commits: 6699aa7554add6df9c9fc23de808772a19dcfa34
wpt-pr: 37327
2022-12-12 11:39:00 +00:00
Keishi Hattori
0d132f83eb Bug 1804810 [wpt PR 37416] - Revert "Use direct compositing for canvases rendered on the CPU", a=testonly
Automatic update from web-platform-tests
Revert "Use direct compositing for canvases rendered on the CPU"

This reverts commit c6b115aecd3b02b953bcdbffd5884910c25a6a69.

Reason for revert: fast/canvas/canvas-incremental-repaint.html is failing on Mac12 Tests
https://ci.chromium.org/ui/p/chromium/builders/ci/Mac12%20Tests/4657/overview

Original change's description:
> Use direct compositing for canvases rendered on the CPU
>
> Before this CL, we already had the plumbing for presenting CPU-rendered canvases via GpuMemoryBuffer for direct compositing.  That code path was originally implemented to support LowLatency mode. With this change, we exercise the GpuMemoryBuffer code path for "regular" latency canvases.  This accelerates compositing, especially for pages that have many canvases.
>
> With this change, MotionMark Images test runs significantly faster, especially with angle/metal enabled.
>
> Bug:1363627
>
> Change-Id: I25b9e3105773fee84a1fc88432ed6640dac4c976
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4081383
> Commit-Queue: Justin Novosad <junov@chromium.org>
> Reviewed-by: Juanmi Huertas <juanmihd@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1080998}

Bug: 1363627
Change-Id: Idb59c9044dcc584db332a18a28312e1f4332d14e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4090966
Commit-Queue: Keishi Hattori <keishi@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081287}

--

wpt-commits: ec7818ad7daec0b07b3815cb7c5f02498dab0a0d
wpt-pr: 37416
2022-12-12 11:38:59 +00:00
Xiaocheng Hu
2013d69eb8 Bug 1804802 [wpt PR 37414] - Fix a bug in CSSNumericValue parsing, a=testonly
Automatic update from web-platform-tests
Fix a bug in CSSNumericValue parsing

In CSSNumericValue parsing, there's a part of code that tries to merge
consecutive binary operations (e.g., `a + b + c`) into a variable
Typed OM operation node. The code was written before the introduction
of min/max/clamp, and incorrectly loops into such nodes, and then tries
to convert a min/max/clamp as a binary arithmetic operation.

This patch makes it aware that there are comparison nodes in the
expression tree and therefore fixes the bug.

Fixed: 1395232
Change-Id: Iff12c5f26785effa716b705630c21219935f9861
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4090552
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081264}

--

wpt-commits: f8579f36b038208e5a7feef1ff1658871643c508
wpt-pr: 37414
2022-12-12 11:38:58 +00:00
Adithya Srinivasan
70223718c1 Bug 1802051 [wpt PR 37095] - Add WPT tests for <meta name="referrer">, a=testonly
Automatic update from web-platform-tests
Add WPT tests for <meta name="referrer">

Add tests to check behaviour when <meta name="referrer"> tags are
removed.

Bug: 1392851
Change-Id: I646c7551b4b0767a943a4e1777325f6b99b63e70
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4048890
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081246}

--

wpt-commits: 4685601aabd6bdbc5860404748e9bd5423ede93a
wpt-pr: 37095
2022-12-12 11:38:58 +00:00
Fredrik Söderquist
c1afe7c676 Bug 1804289 [wpt PR 37356] - Only synthesize a 'viewBox' in <img> for the document element <svg>, a=testonly
Automatic update from web-platform-tests
Only synthesize a 'viewBox' in <img> for the document element <svg>

SVGSVGElement::ShouldSynthesizeViewBox() needs to check that it is the
document element as well.

Use the IsDocumentElement() helper from Element, and replace another
instance of the same check as well.

Fixed: 1313530
Change-Id: I785a8ce83780cc2a4c9d697065453f69bc3d69e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4079162
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081216}

--

wpt-commits: 161ce8659673b5d66b1bb35e7ea96700f10b3d30
wpt-pr: 37356
2022-12-12 11:38:57 +00:00
Fredrik Söderquist
a8c64f2f3f Bug 1804517 [wpt PR 37383] - Invalidate ancestor-chain in FilterPrimitiveChanged(), a=testonly
Automatic update from web-platform-tests
Invalidate ancestor-chain in FilterPrimitiveChanged()

Since a descendant of a resource - for example a <mask> - can reference
a <filter> we need to walk up the ancestor chain to look for resources.

Factor out parts of LayoutSVGResourceContainer's
MarkForLayoutAndParentResourceInvalidation() into separate helpers
(InvalidateAncestorChainResources() and InvalidateDependentElements())
so that they can be called from the FilterPrimitiveChanged() handler.

Fixed: 1297837
Change-Id: I203b2087a441c1cb564f6f44e58e93c38237af1f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4085050
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081214}

--

wpt-commits: 68dd1e3b016a4e6385f725219b944ec5747696a2
wpt-pr: 37383
2022-12-12 11:38:57 +00:00