Commit Graph

844504 Commits

Author SHA1 Message Date
Brad Werth
9256e56ea5 Bug 1802193 Part 1: Turn macOS native fullscreen pref on for Nightly. r=mac-reviewers,spohl
Differential Revision: https://phabricator.services.mozilla.com/D162890
2023-06-09 13:43:39 +00:00
Andrew Osmond
62bf794063 Bug 1792758 - Part 2. Expose CanvasFilter on OffscreenCanvasRenderingContext2D. r=webidl,lsalzman,emilio,smaug
This patch exposes the filter operation for OffscreenCanvas and works
off the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D179995
2023-06-09 13:38:40 +00:00
Andrew Osmond
b45d20e3ac Bug 1792758 - Part 1. Add method to parse CSS filters without context for workers. r=emilio
This patch adds the ability to parse most CSS filters without a context.
OffscreenCanvas can use this on worker threads to provide support for
filter operations.

Differential Revision: https://phabricator.services.mozilla.com/D179994
2023-06-09 13:38:40 +00:00
Sean Feng
3ed2ae6c3a Update test_Bug 1792110.html to accommodate the common ancestor changes for mouseup r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D180379
2023-06-09 13:25:04 +00:00
Sean Feng
0a317bf105 Bug 1792110 - Updathe PIP tests to align with the latest change for dispatching click events r=edgar,niklas
Differential Revision: https://phabricator.services.mozilla.com/D179841
2023-06-09 13:25:04 +00:00
Sean Feng
19feafd6fd Bug 1792110 - Update the common ancestor finding logic for mouseup with mousedown r=edgar
The existing function doesn't not work for cases like when mousedown
and mouseup were happened in the same hierarchy but the mousedown target
was a different interactive element than the mouseup target. This
could be easily accomplished by setting `pointer-events: none` or
`display: none` to the `active` pseudo-class of the mousedown target.

This patch fixes this by when the logic tries to find the event target
tree of the mousedown target, it continues building up (by recursively looking
up the parents) the tree instead of stopping at the first interactive element.

Differential Revision: https://phabricator.services.mozilla.com/D178844
2023-06-09 13:25:04 +00:00
Dão Gottwald
db0d115d6a Bug 1837573 - Sync mots list of Tabbed Browser files with browser/modules/moz.build and browser/base/content/moz.build. r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D180406
2023-06-09 13:21:15 +00:00
Gregory Pappas
47e164dc13 Bug 1837608 - Remove unused gfx.allow-texture-direct-mapping pref r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D180422
2023-06-09 13:20:58 +00:00
Norisz Fay
bfab8fdfe8 Backed out changeset 2766c50b0ce5 (bug 1836369) for causing android build bustages CLOSED TREE 2023-06-09 15:16:18 +03:00
Norisz Fay
ceef84983b Backed out 3 changesets (bug 1409200) as requested by dev
Backed out changeset ea10214aa35f (bug 1409200)
Backed out changeset a66ea7d7f812 (bug 1409200)
Backed out changeset e8a83b1e7e08 (bug 1409200)
2023-06-09 15:11:48 +03:00
Emilio Cobos Álvarez
d4a4ca7c15 Bug 1836670 - Use NonNull in cssparser::CowRcStr. r=layout-reviewers,glandium,dlrobertson
This prevents the compiler from misoptimizing this code due to undefined
behavior.

Upstream PR: https://github.com/servo/rust-cssparser/pull/345

Differential Revision: https://phabricator.services.mozilla.com/D179921
2023-06-09 11:17:44 +00:00
Tooru Fujisawa
b87b4a2527 Bug 1826106 - Use JS::FrontendContext in Utility Process. r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D179430
2023-06-09 11:08:58 +00:00
Tooru Fujisawa
30f5b9aa94 Bug 1826105 - Use JS::IsValidJSON in Utility Process. r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D179429
2023-06-09 11:08:58 +00:00
Tooru Fujisawa
5cc53bab49 Bug 1834478 - Add public API to test and clear errors on JS::FrontendContext. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D179428
2023-06-09 11:08:58 +00:00
Bob Owen
18e588031f Bug 1821440: If process is in an app container, add the container SID to the COM ACL. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D180207
2023-06-09 10:41:07 +00:00
Tomislav Jovanovic
d8c77d393a Bug 1837559 - Don't read a pref directly in WebExtensionPolicy.quarantinedDomainsEnabled r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D180402
2023-06-09 10:29:06 +00:00
Gregory Pappas
6af857cf46 Bug 1558900 - Remove PLUGINS_NOTIFICATION_USER_ACTION_2 and PLUGINS_NOTIFICATION_SHOWN telemetry histograms r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D180380
2023-06-09 10:17:38 +00:00
serge-sans-paille
c1ead64934 Bug 1836369 - Only export XRE_GetBootstrap symbol from libxul r=glandium
Better control of the ABI has its own merit, but in that case, we
significantly shrink the amount of dynamic symbol, which in turns
reduces the size of the binary.

As this limits the exported symbol to one, there's no longer a risk to
conflict with libjs, so just remove the symbol versioning.

On linux64 opt build, this saves ~2.5MB on the installer size libxul.so

Differential Revision: https://phabricator.services.mozilla.com/D179806
2023-06-09 10:01:58 +00:00
Norisz Fay
e78fa454b2 Backed out changeset 7d3fb55b4418 (bug 1837370) for causing hazard bustage on StructuredCloneHolder.cpp CLOSED TREE 2023-06-09 13:53:18 +03:00
moz-wptsync-bot
64d2508f24 Bug 1835466 - [wpt-sync] Update web-platform-tests to 2fddaf1dc23b74df5080a9f54a9c20f12310e945, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 2fddaf1dc23b74df5080a9f54a9c20f12310e945
wpt-type: landing
2023-06-09 09:24:12 +00:00
dependabot[bot]
aac59fa0f1 Bug 1834425 [wpt PR 40145] - Bump requests from 2.30.0 to 2.31.0 in /tools, a=testonly
Automatic update from web-platform-tests
Bump requests from 2.30.0 to 2.31.0 in /tools

Bumps [requests](https://github.com/psf/requests) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: 2fddaf1dc23b74df5080a9f54a9c20f12310e945
wpt-pr: 40145
2023-06-09 09:24:12 +00:00
dependabot[bot]
777431537f Bug 1834459 [wpt PR 40156] - Bump requests from 2.30.0 to 2.31.0 in /tools/ci, a=testonly
Automatic update from web-platform-tests
Bump requests from 2.30.0 to 2.31.0 in /tools/ci

Bumps [requests](https://github.com/psf/requests) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: 707500a0474977b3eea2873288d9c395cd123626
wpt-pr: 40156
2023-06-09 09:24:11 +00:00
Luke Warlow
b4612a6118 Bug 1817661 [wpt PR 38585] - Test navigator.credentials.preventSilentAccess(), a=testonly
Automatic update from web-platform-tests
Test navigator.credentials.preventSilentAccess

--

wpt-commits: 213bd2dd2ebef6b052cf28a2017bb43e63c1e45f
wpt-pr: 38585
2023-06-09 09:24:10 +00:00
Daniil Sakhapov
ccf2223470 Bug 1834513 [wpt PR 40164] - Change motion path wpt test, a=testonly
Automatic update from web-platform-tests
Change motion path wpt test

Change is due to Chromium doesn't serialize correctly calc(px + %)
but it is not connected to Motion Path. This case is tested here:
https://wpt.fyi/results/css/css-values/calc-serialization.html
and here
https://wpt.fyi/results/css/css-values/calc-serialization-002.html

Change-Id: Ia799b96568cb62b13ea4a341c0fc1e3eeef6e6eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4555845
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1147781}

--

wpt-commits: 56b866cdc41d02117e9ddedeec7c04408e49af22
wpt-pr: 40164
2023-06-09 09:24:10 +00:00
Koji Ishii
663fe14c31 Bug 1834480 [wpt PR 40163] - Make break-spaces-{006,011}.html more robust, a=testonly
Automatic update from web-platform-tests
Make `break-spaces-{006,011}.html` more robust

This patch adds ".1" to the width so that the test can check
the `break-spaces` behavior more robustly without worrying
about floating point errors.

Bug: 911284, 1409445
Change-Id: Ia150ccee08ada462cb1f7c5e6d8b758a5ef7b7db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4553379
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Reviewed-by: Andreu Botella <abotella@igalia.com>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1147779}

--

wpt-commits: 0c1bc9103126e2e8ef72fad05ad43ebad20fc4a5
wpt-pr: 40163
2023-06-09 09:24:09 +00:00
moz-wptsync-bot
e39b3b6625 Bug 1834469 [wpt PR 40160] - Update wpt metadata, a=testonly
wpt-pr: 40160
wpt-type: metadata
2023-06-09 09:24:09 +00:00
Marcos Cáceres
29aed83675 Bug 1834469 [wpt PR 40160] - Notifications: test that silent defaults to null, a=testonly
Automatic update from web-platform-tests
Notifications: test that silent defaults to null

For https://github.com/whatwg/notifications/pull/194.
--

wpt-commits: ac2c4415f6ea3f0d08a2d19f0e104ce447054db1
wpt-pr: 40160
2023-06-09 09:24:08 +00:00
moz-wptsync-bot
735b1f6350 Bug 1834477 [wpt PR 40161] - Update wpt metadata, a=testonly
wpt-pr: 40161
wpt-type: metadata
2023-06-09 09:24:07 +00:00
Hyomin Kim
f3799f2e49 Bug 1834477 [wpt PR 40161] - Make shorthand serializer for "column-rule", a=testonly
Automatic update from web-platform-tests
Make shorthand serializer for "column-rule"

Make function GetShorthandValueForColumnRule to omit initial values
during shorthand serialization

Bug: 1429866
Change-Id: Ief5c04aed4c24c4f8d8412a978755d08d1cd89b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4546749
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Hyomin Kim <hyoputer.kim@samsung.com>
Cr-Commit-Position: refs/heads/main@{#1147743}

--

wpt-commits: eb55eef546c0cf04a8bd2c783ca6f6bcd72dacc3
wpt-pr: 40161
2023-06-09 09:24:07 +00:00
James Graham
c46159f630 Bug 1834351 [wpt PR 40131] - Fix format specifier in webdriver module, a=testonly
Automatic update from web-platform-tests
Fix format specifier in webdriver module

--

wpt-commits: e5d3dd0d81879bd700149fc6cd2873a458ed1a56
wpt-pr: 40131
2023-06-09 09:24:06 +00:00
James Craig
a1f4e4d8dd Bug 1834430 [wpt PR 40152] - typo: navigation -> nav, a=testonly
Automatic update from web-platform-tests
typo: navigation -> nav (#40152)

Typo was causing failures due to an element continuation.
--

wpt-commits: 928bfaf1d95c859e8310a014a6486fa8e3961f31
wpt-pr: 40152
2023-06-09 09:24:05 +00:00
moz-wptsync-bot
41881af16e Bug 1834132 [wpt PR 40108] - Update wpt metadata, a=testonly
wpt-pr: 40108
wpt-type: metadata
2023-06-09 09:24:05 +00:00
Brandon Stewart
51414395b9 Bug 1834132 [wpt PR 40108] - Add Compression Test to ensure handling large outputs during the flush stage, a=testonly
Automatic update from web-platform-tests
Add Compression Test to ensure handling large outputs during the flush stage (#40108)

Ensure compression streams handles large flush output during the closing stages
of the compression stream.
--

wpt-commits: 3b32d1c0b5635ccbba172461a68a81d5a85c8614
wpt-pr: 40108
2023-06-09 09:24:04 +00:00
moz-wptsync-bot
64483ff43d Bug 1834427 [wpt PR 40148] - Update wpt metadata, a=testonly
wpt-pr: 40148
wpt-type: metadata
2023-06-09 09:24:04 +00:00
Tim Nguyen
ac45bb0312 Bug 1834427 [wpt PR 40148] - Replace w3c.github.io/csswg-drafts links with drafts.csswg.org, a=testonly
Automatic update from web-platform-tests
Replace w3c.github.io/csswg-drafts links with drafts.csswg.org (#40148)

--

wpt-commits: 57c5006103146974adb3af50d325c3b6ce7153d0
wpt-pr: 40148
2023-06-09 09:24:03 +00:00
moz-wptsync-bot
3f7029639c Bug 1833973 [wpt PR 40084] - Update wpt metadata, a=testonly
wpt-pr: 40084
wpt-type: metadata
2023-06-09 09:24:02 +00:00
Xiaocheng Hu
3308b666c4 Bug 1833973 [wpt PR 40084] - [anchor-position] Support anchor-scroll with fragmented containers, a=testonly
Automatic update from web-platform-tests
[anchor-position] Support anchor-scroll with fragmented containers

We currently check only the first fragment of the containing block for
anchor-scroll, and therefore can fail if the containing block is
fragmented.

This patch fixes it by iterating through all the fragments and check
every NGPhysicalAnchorQuery there. It also provides two utility
functions that are better abstracted, so that clients like
anchor-scroll and possibly DevTools (in the future) don't need to
deal with fragmentation details.

This patch also reveals an issue with relpos inline containing block,
and marks it with TODOs and a currently failing test. It will be fixed
by a followup patch.

Bug: 1446442
Change-Id: Ia08fd094616c80b40d6cbb555ae3153fbfaea04c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4546546
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1147546}

--

wpt-commits: 490713f7fb0da11c5b5da3a65d4573e2cc83e1b4
wpt-pr: 40084
2023-06-09 09:24:02 +00:00
CanadaHonk
cb8d76969b Bug 1830847 [wpt PR 39803] - Remove tests for asymptotic special-cases for tan(), a=testonly
Automatic update from web-platform-tests
Remove tests for asymptotic special-cases for tan() (#39803)

--

wpt-commits: 241d93a6b815382b31b09515c48923e8600cdc96
wpt-pr: 39803
2023-06-09 09:24:01 +00:00
moz-wptsync-bot
a5fcaae49f Bug 1833186 [wpt PR 40014] - Update wpt metadata, a=testonly
wpt-pr: 40014
wpt-type: metadata
2023-06-09 09:24:00 +00:00
Kevin Ellis
faeae80974 Bug 1833186 [wpt PR 40014] - Implement deferred start time for a scroll-driven animation., a=testonly
Automatic update from web-platform-tests
Implement deferred start time for a scroll-driven animation.

Bug: 1441008
Change-Id: Iadeeee90f5cc8b05b80147d3b53e3b448d169ec2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4532499
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1147353}

--

wpt-commits: a4d663e6e09213bf599fb3a9dc66a52f2549c7fe
wpt-pr: 40014
2023-06-09 09:24:00 +00:00
Dominic Farolino
e97bcadea2 Bug 1834082 [wpt PR 40093] - Remove FencedFrameConfig URL attribute, a=testonly
Automatic update from web-platform-tests
Remove FencedFrameConfig URL attribute

We're removing what we colloquially refer to as "default mode" in fenced
frames, which is where you manually construct a `new
FencedFrameConfig()` object with a (usually) non-opaque URL, to use
fenced frames without relying on cross-site data from FLEDGE or Shared
Storage. If a use-case that requires this mode of fenced frames presents
itself in the future, we will re-add it. But for now, this entails:
  1. Removing the FencedFrameConfig#url IDL attribute
    - Handled by this CL
    - See corresponding spec change:
      https://github.com/WICG/fenced-frame/pull/88
  2. Removing the FencedFrameConfig web-exposed constructor
    - This will happen in a subsequent CL

We're removing the URL attribute of the FencedFrameConfig interface [1] because if fenced frames can only be used with FLEDGE/Shared Storage,
the URL member is always "opaque", since the true value depends on
cross-site data. An always "opaque"-returning attribute does not add any
value to web developers.

To carry out this change we must remove tests that rely on observing
the FencedFrameConfig#url attribute, as these tests will need to be
removed anyways when fully removing "default mode".

[1]: https://wicg.github.io/fenced-frame/#fenced-frame-config-interface

R=gtanzer@chromium.org

Bug: 1123606
Change-Id: Id29e3b9dac9241d84722c3695f59d9865485d4a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4547401
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1147330}

--

wpt-commits: 4eab05e5e460d28219d324c13e5adcc94c5db109
wpt-pr: 40093
2023-06-09 09:23:59 +00:00
Luke Warlow
22d00cf566 Bug 1834290 [wpt PR 40124] - Add scrollbar-width to animation property-list.js, a=testonly
Automatic update from web-platform-tests
Add scrollbar-width to animation property-list.js (#40124)

--

wpt-commits: e5037bee6c95f8e2f3fa09ac81719934e3b920e9
wpt-pr: 40124
2023-06-09 09:23:59 +00:00
moz-wptsync-bot
f719041868 Bug 1833511 [wpt PR 40037] - Update wpt metadata, a=testonly
wpt-pr: 40037
wpt-type: metadata
2023-06-09 09:23:58 +00:00
Camillia Smith Barnes
93ff319131 Bug 1833511 [wpt PR 40037] - Shared Storage: Add sharedStorageWritable option to fetch, a=testonly
Automatic update from web-platform-tests
Shared Storage: Add sharedStorageWritable option to fetch

We add the option to mark a request as eligible for writing to Shared
Storage, i.e. we add `sharedStorageWritable` to the `RequestInit` IDL
dictionary for `fetch()` and plumb it through to
`network::ResourceRequest`, subject to a `PermissionsPolicy` that may
change the value of the bit for redirects.

Integration tests will be added in the follow-up CL https://crrev.com/c/4519162.

This is part of a project to add support to writing to shared storage
from response headers. See
https://github.com/WICG/shared-storage/pull/70 for more information
and https://crrev.com/c/4444068 for a working prototype for `fetch()`.

Bug: 1434529,1218540
Change-Id: Ib133492bd90e8cc37b9bc0c7bc61861e0b2afc63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4517382
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Cammie Smith Barnes <cammie@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1147313}

--

wpt-commits: cd5b4ce47a0e019bb9e5e320a43f7c8e574c007f
wpt-pr: 40037
2023-06-09 09:23:57 +00:00
Jonathan Lee
c366d79885 Bug 1833980 [wpt PR 40086] - [wptrunner] Wait for TestRunnerManager threads to exit on interrupt, a=testonly
Automatic update from web-platform-tests
[wptrunner] Wait for TestRunnerManager threads to exit on interrupt (#40086)

When wptrunner is interrupted, the manager group sets its stop flag but
doesn't wait for the runner manager threads to acknowledge and join.
Besides possible resource leakage, this can cause the threads to
continue logging events after the main thread calls `shutdown()` on the
`web-platform-tests` logger, which is not allowed.

In this change, the main thread waits for the threads to join with a
timeout on an interrupt. The timeout needs to be long enough for the
threads to cycle through their event loops one more time, but not so
long as to appear unresponsive.
--

wpt-commits: 4428a332888632faa2f59d0319043e9acbd9afad
wpt-pr: 40086
2023-06-09 09:23:57 +00:00
moz-wptsync-bot
138751a3c9 Bug 1834347 [wpt PR 40129] - Update wpt metadata, a=testonly
wpt-pr: 40129
wpt-type: metadata
2023-06-09 09:23:56 +00:00
Ryan Reno
a769c518fe Bug 1834347 [wpt PR 40129] - [image-set] Add tests for negative and zero resolutions., a=testonly
Automatic update from web-platform-tests
[image-set] Add tests for negative and zero resolutions. (#40129)

calc() with negative resolution is supposed to clamp to zero. Zero
resolutions are supposed to be <invalid-image>'s from the css images
level 4 spec. This adds parsing and rendering test cases for those
situations.
--

wpt-commits: ba004353155163b0c356b753394e50d2dd6f0b87
wpt-pr: 40129
2023-06-09 09:23:55 +00:00
stp-ekioh
0c407ceded Bug 1834318 [wpt PR 40126] - Fix networkState_during_loadstart video sub-test., a=testonly
Automatic update from web-platform-tests
Fix networkState_during_loadstart video sub-test.

networkState_during_loadstart video sub-test now uses the video element rather than the audio element from the audio sub-test.

--

wpt-commits: 780ba7d2aef5b5147601b14ced34258ffa53b272
wpt-pr: 40126
2023-06-09 09:23:55 +00:00
moz-wptsync-bot
462bd8d523 Bug 1834299 [wpt PR 40125] - Update wpt metadata, a=testonly
wpt-pr: 40125
wpt-type: metadata
2023-06-09 09:23:54 +00:00
github-actions[bot]
3174dd5261 Bug 1834299 [wpt PR 40125] - Sync interfaces/ with @webref/idl 3.34.1, a=testonly
Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 3.34.1 (#40125)

Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
--

wpt-commits: 6119a0d0f7ea080dbdc345ea33b0c1b01e3d3fd1
wpt-pr: 40125
2023-06-09 09:23:54 +00:00