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

856376 Коммитов

Автор SHA1 Сообщение Дата
Benjamin VanderSloot 71b97c689d Bug 1848783, part 4 - Don't send storage-access status update to same-origin frames in frame-only mode - r=anti-tracking-reviewers,timhuang
We already had cross-origin-but-same-site covered. But the WPT exposed same-origin as a bug.

Differential Revision: https://phabricator.services.mozilla.com/D186985
2023-09-20 16:14:39 +00:00
Benjamin VanderSloot 2810b58e9c Bug 1848783, part 3 - Add the site (sans port) to the permission keys of a content process - r=anti-tracking-reviewers,timhuang
without this, permissions set in the main process that are site-scoped on origins with non-null ports are not pushed out to the content process.

Differential Revision: https://phabricator.services.mozilla.com/D186984
2023-09-20 16:14:39 +00:00
Benjamin VanderSloot 57e314ac6e Bug 1848783, part 2 - Reorder checks in CheckCallingContextDecidesStorageAccessAPI - r=anti-tracking-reviewers,timhuang
Also, remove a too-early check for third-partyness from StorageAccessAPIHelper::CheckBrowserSettingsDecidesStorageAccessAPI- that gets checked later anyway and should not override an inactive document

Differential Revision: https://phabricator.services.mozilla.com/D186983
2023-09-20 16:14:39 +00:00
Benjamin VanderSloot f827c60a57 Bug 1848783, part 1 - Add active document check - r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D186982
2023-09-20 16:14:38 +00:00
Benjamin VanderSloot 84d4a57c66 Bug 1837168 - Update user activation check to be after the permission check - r=timhuang,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186981
2023-09-20 16:14:38 +00:00
Harshit Sohaney 2e46ed10a3 Bug 1835920 - Adding support for set_permission for storage-access-api wpt. r=webdriver-reviewers,bvandersloot,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D183890
2023-09-20 16:14:37 +00:00
Iain Ireland 208a2c1331 Bug 1852893: Note purged stubs when monomorphically inlining purged stubs r=jandem
Depends on D188660

Differential Revision: https://phabricator.services.mozilla.com/D188661
2023-09-20 16:01:37 +00:00
Iain Ireland 2619b8806e Bug 1852893: Note purged stubs in inlining root r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D188660
2023-09-20 16:01:37 +00:00
Eemeli Aro 6a03950096 Bug 1853638 - Fix protections dashboard menu tooltip. r=bvandersloot,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D188449
2023-09-20 15:40:48 +00:00
glob fe2d53e73a Bug 1853618 - address issue with GitHub PR closer, and optimise r=hwine DONTBUILD
- run action in the context of the target repo, rather than the fork
- use a cleaner way to obtain the pull request number
- utilise a sparse checkout to avoid unnecessary I/O

Differential Revision: https://phabricator.services.mozilla.com/D188430
2023-09-20 15:33:26 +00:00
Emily McMinn 18087b31fe Bug 1852621 - Update onboarding strings and expose them to localization r=fluent-reviewers,flod,negin
Differential Revision: https://phabricator.services.mozilla.com/D187943
2023-09-20 15:26:14 +00:00
Noemi Erli aaff5e1a23 Backed out changeset f8ef3d7a6294 (bug 1827651) for causing NSWorkspace related assertions CLOSED TREE 2023-09-20 19:13:08 +03:00
Andrew Osmond d113647ced Bug 1847660 - Integrate the GMP process with the Windows DLL blocklisting. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D187714
2023-09-20 14:49:06 +00:00
kriswright bf4647bc01 Bug 1827651 - Update launch code to use nondeprecated APIs. r=spohl
Some changes have to be made to the way we launch to accommodate the new method, noted below.

Differential Revision: https://phabricator.services.mozilla.com/D186701
2023-09-20 14:46:51 +00:00
kriswright 9d6978c488 Bug 1853190 - Add nimbus features to control thread prefs r=xpcom-reviewers,nika
This will be used for the experiment - I followed documentation on pref features here: https://experimenter.info/desktop-pref-experiments/#example-feature

Differential Revision: https://phabricator.services.mozilla.com/D188365
2023-09-20 14:35:35 +00:00
Kelly Cochrane d3f578853d Bug 1852229 - Fix spacing between synced devices on Recent Browsing r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188640
2023-09-20 14:32:56 +00:00
Ryan Hunt 5924096d2d Bug 1854014 - wasm: Update our implementation limits for GC. r=yury
Add a limits.js test for all the new impl defined limits.
Fix off by one error in max types.
Add array.new_fixed restriction.

Differential Revision: https://phabricator.services.mozilla.com/D188646
2023-09-20 14:19:10 +00:00
Ryan Hunt 2a45f37e0f Bug 1847234 - wasm: Fix br_on_cast validation. r=bvisness
- Error on bits set in flags that we don't recognize
 - Fallback to immediate source type for source type when in unreachable code

Differential Revision: https://phabricator.services.mozilla.com/D188645
2023-09-20 14:19:10 +00:00
Ryan Hunt 2aeeedfce1 Bug 1854007 - wasm: Fix serialization of duplicate recursion groups with self references. r=bvisness
We store a *typedef -> u32 map on TypeContext which we can use to get the type index
for a type definition. When a module has multiple types that canonicalize to the
same value, we only store the first index in the map.

We use this map when serializing the type section. We currently serialize every
recursion group (even if it was already serialized). When deserializing we re-run
canonicalization which will de-duplicate this.

These two combined can cause a module with types:
 0: (type (struct (field 0)))
 1: (type (struct (field 1))) ;; identical to 0

To be serialized as:
 0: (type (struct (field 0)))
 1: (type (struct (field 0))) ;; not identical to 0!

The solution is to only encode the first recursion group and then
re-use it for the second recursion group.

Differential Revision: https://phabricator.services.mozilla.com/D188644
2023-09-20 14:19:10 +00:00
Ryan Hunt 306d3033f7 Bug 1854009 - wasm: Use load32 for loading subtyping depth. r=bvisness
The subtyping depth field on STV is 32-bits, we should use load32.

The hardcoded subtyping depth limit and LEB byte order currently
save us here, but we shouldn't rely on that.

Differential Revision: https://phabricator.services.mozilla.com/D188643
2023-09-20 14:19:09 +00:00
Paul Adenot 0bc3a1faa0 Bug 1839193 - Prefer using the sample-rate and channel count from the instance. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D188597
2023-09-20 14:17:51 +00:00
James Graham 978e984f33 Bug 1853427 - Don't call shutdown() on a already shutdown logger, r=ahal
`mach test` was unconditionally calling `shutdown()` on the logger,
which doesn't work if the harness (reasonably) already shut down the
logger itself. Add a new property to check if the logger has been shut
down, and check it before calling shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D188447
2023-09-20 13:41:07 +00:00
James Graham bc465a6e15 Bug 1853427 - Remove subsuite argument when invoked via mach test, r=Sasha
Unfortunately `mach test` makes unverified assumptions about the top
level kwargs of all test suites. This broke wpt because it was passing
around a `subsuite` argument that was previously ignored, but recently
caused a conflict in functions with signatures like
function(subsuite, **kwargs).

Fow now just remove the argument in the part of the wpt frontend that
handles data expected to be from `mach test`.

Differential Revision: https://phabricator.services.mozilla.com/D188446
2023-09-20 13:41:07 +00:00
Julien Pages 7fcc4657d8 Bug 1854011 - wasm: Enable final types by default in wasm-gc. r=yury
Also remove the flag --wasm-final-types and the browser pref.

Differential Revision: https://phabricator.services.mozilla.com/D188642
2023-09-20 13:33:39 +00:00
Jon Coppeard e6cfd42050 Bug 1854087 - Disallow copy construction of lock guards r=jandem
Disallows copy construction of lock guards and improves the lock guard tests.

Differential Revision: https://phabricator.services.mozilla.com/D188700
2023-09-20 13:21:46 +00:00
Andreas Farre db4483685e Bug 1852213 - Track who has the differing flag. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D188722
2023-09-20 13:15:24 +00:00
Ryan VanderMeulen e354c50bb7 Bug 1853966 - Change automated Desktop Beta build start time to M/W/F @ 13:00 UTC. r=jlorenzo DONTBUILD
Also adjust the l10n bump timing to remain in sync.

Differential Revision: https://phabricator.services.mozilla.com/D188611
2023-09-20 13:11:05 +00:00
Dão Gottwald 8b93385c56 Bug 1854103 - Remove --urlbar-popup-url-color. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D188707
2023-09-20 12:48:40 +00:00
Noemi Erli 0f87551c1b Backed out changeset 501704300cc1 (bug 1847660) for causing build bustages in GMPChild.cpp CLOSED TREE 2023-09-20 16:44:47 +03:00
Noemi Erli cbb5f1e1ac Backed out changeset 36af6059cb2b (bug 1845333) for causing failures in browser_opentabs_firefoxview_next.js CLOSED TREE 2023-09-20 16:09:51 +03:00
Noemi Erli d94457918a Backed out changeset cd49a95d80fd (bug 1851938) for causing leackcheck failures 2023-09-20 15:55:44 +03:00
Henrik Skupin 5ea3035f54 Bug 1853959 - [wdspec] Extend timeout for /webdriver/tests/bidi/input/perform_actions/invalid.py. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D188719
2023-09-20 12:33:58 +00:00
Alexandra Borovova cde1bb94e8 Bug 1853302 - [bidi] Do not send browsingContext.userPromptOpened event for unsupported prompt types. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D188711
2023-09-20 12:26:17 +00:00
David Shin 8cd256b8d7 Bug 1853758: Correctly sample color on canvas in the middle, not the edge. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D188672
2023-09-20 12:09:23 +00:00
Alexandra Borovova 04943f50d5 Bug 1854067 - [marionette] Unsubscribe correctly from PromptListener opened event. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D188710
2023-09-20 11:59:50 +00:00
Andreas Farre 1d72861f9f Bug 1799326 - Don't restore replaced browsing contexts from BFCache. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D188688
2023-09-20 11:50:49 +00:00
Andrew Osmond 829212a00d Bug 1847660 - Integrate the GMP process with the Windows DLL blocklisting. r=media-playback-reviewers,alwu
Depends on D187713

Differential Revision: https://phabricator.services.mozilla.com/D187714
2023-09-20 11:35:19 +00:00
Tooru Fujisawa ead9b2fdcd Bug 1851938 - Cancel and join ongoing AsyncScriptCompileTasks during shutdown. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D188675
2023-09-20 11:32:12 +00:00
Robert Longson c34751a9b6 Bug 1853727 - elements that map to style and are not animated do not print correctly r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D188703
2023-09-20 11:30:43 +00:00
Kagami Sascha Rosylight f030f6d0fc Bug 1814577 - Remove only the subitems of to-be-removed r=janv,dom-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174638
2023-09-20 11:29:06 +00:00
Kagami Sascha Rosylight 67604fafd9 Bug 1853927 - Support wildcard for subdirectory suffix r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D188591
2023-09-20 11:29:06 +00:00
Sarah Clements 927ae3c0b9 Bug 1845333 - Add submenu items to open tabs more menu r=fxview-reviewers,fluent-reviewers,desktop-theme-reviewers,sfoster,flod
* Modify panel-list and panel-item to support submenu list items
* Add submenu items for Move Tabs and Send Tabs to Devices to open tabs
* Add test coverage for submenu items in open tabs

Differential Revision: https://phabricator.services.mozilla.com/D186471
2023-09-20 11:25:44 +00:00
Noemi Erli 93c4b65fc8 Backed out changeset d881fdf179d0 (bug 1839193) for causing crashtest failures CLOSED TREE 2023-09-20 14:07:00 +03:00
CanadaHonk 8826c8dfd7 Bug 1448248 - Implement CSS attr() fallback r=emilio
Implemented support for fallback values in CSS attr():
`attr(<attr-name>, <attr-fallback>)`

Full syntax supported as of this rev:
`[namespace? `|`]? ident [`,` fallback]?`

Spec: https://drafts.csswg.org/css-values-5/#attr-notation

Also added a new WPT reftest for attr fallback without a type,
and some new attr serialization WPTs (namespace and fallback).

Differential Revision: https://phabricator.services.mozilla.com/D176801
2023-09-20 10:50:05 +00:00
Jan Varga eb8cfe719f Bug 1749504 - Change QuotaManager::EnsureStorageIsInitializedInternal to be a private method; r=dom-storage-reviewers,jstutte
The goal to call QuotaManager::EnsureStorageIsInitializedInternal only from
InitOp has been achieved. It's now easy to change the method to be a private
method.

Changes done in this patch
- moved InitOp to the mozilla::dom::quota namespace
- added InitOp as a friend to QuotaManager
- changed QuotaManager::EnsureStorageIsInitializedInternal to be a private
   method

Differential Revision: https://phabricator.services.mozilla.com/D186208
2023-09-20 10:37:45 +00:00
Jan Varga 3a2a55bda1 Bug 1749504 - Convert TestFileOutputStream to use the new way to access a client directory; r=dom-storage-reviewers,jstutte
TestFileOutputStream currently doesn't create any client directory lock and
just directly bounces to the QuotaManager I/O thread where it ensures that
storage is initialized. This should be now replaced by calling
QuotaManager::OpenClientDirectory on the PBackground thread.

Changes done in this patch:
- added a PBackground task which is executed first
- added QuotaManager::OpenClientDirectory call on the PBackground thread
- removed QuotaManager::EnsureStorageIsInitializedInternal call on the IO
  thread

Differential Revision: https://phabricator.services.mozilla.com/D186207
2023-09-20 10:37:45 +00:00
Jan Varga dc25d97144 Bug 1749504 - Convert origin operations which require storage initialization to use the new way to access the storage directory; r=dom-storage-reviewers,jstutte
Origin operations which require storage initialization currently create a
universal directory lock first and then when the universal directorylock is
acquired, they bounce to the QuotaManager I/O thread where they ensure that
storage is initialized. This can be now replaced by just calling
QuotaManager::OpenStorageDirectory.

Changes done in this patch:
- replaced QuotaManager::CreateDirectoryLockInternal call with
  QuotaManager::OpenStorageDirectory in corresponding OpenDirectory
  implementations
- removed QuotaManager::EnsureStorageIsInitializedInternal call from
  corresponding DoDirectoryWork implementations
- added QuotaManager::AssertStorageIsInitializedInternal to corresponding
  DoDirectoryWork implementations

Differential Revision: https://phabricator.services.mozilla.com/D186206
2023-09-20 10:37:44 +00:00
Jan Varga d2162e1c48 Bug 1749504 - Make sure storage is initialized before saving origin access time; r=dom-storage-reviewers,jstutte
SaveOriginAccessTimeOp::DoDirectoryWork currently doesn't call
QuotaManager::EnsureStorageIsInitializedInternal and just expects that
something else initialized storage previously. This seems to work, but it would
be cleaner to always make sure that storage is initialized. However, adding
QuotaManager::EnsureStorageIsInitializedInternal revealed another problem.
Storage shudown or storage clearing acquires an exlusive lock over entire
storage area which essentially forces that all existing directory locks are
released first. When the last directory lock for an origin is released, saving
of origin access time is scheduled. The problem is that it's scheduled after
the exclusive lock for storage shutdown or storage clearing, so storage would
be initialized again in the end or access time wouldn't be saved at all due
to quota manager shutdown being already in progress.

Changes done in this patch:
- added QuotaManager::EnsureStorageIsInitializedInternal call to
  SaveOriginAccessTimeOp::DoDirectoryWork
- changed QuotaManager::UnregisterDirectoryLock to work with already cleared
  directory lock tables
- added a new QuotaManager::ClearDirectoryLockTables method
- added QuotaManager::ClearDirectoryLockTables call to
  ShutdownStorageOp::OpenDirectory and ClearStorageOp::OpenDirectory
- made ClearStorageOp and ShutdownStorageOp friend classes of QuotaManager

Differential Revision: https://phabricator.services.mozilla.com/D187877
2023-09-20 10:37:44 +00:00
Paul Adenot 4dc6bccc99 Bug 1839193 - Prefer using the sample-rate and channel count from the instance. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D188597
2023-09-20 09:54:14 +00:00
Peter Van der Beken dc9f2aec3b Bug 1690111 - Remove old TypedArray APIs. r=farre
Depends on D152498

Differential Revision: https://phabricator.services.mozilla.com/D187122
2023-09-20 09:42:03 +00:00