Commit Graph

801709 Commits

Author SHA1 Message Date
Csoregi Natalia
e3f07ad46e Backed out changeset d256ed1935f7 (bug 1759152) for causing leaks on FileSystem. CLOSED TREE 2022-07-15 14:10:39 +03:00
Tim Huang
ad7bfc5627 Bug 1778457 - Enable query parameter stripping in Private Browsing Mode if ETP strict is enabled. r=anti-tracking-reviewers,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D151655
2022-07-15 09:41:38 +00:00
Jari Jalkanen
f1f7e8a209 Bug 1759152 - Expose file system to workers. r=dom-storage-reviewers,jesup,janv
Depends on D149983

Differential Revision: https://phabricator.services.mozilla.com/D140862
2022-07-15 09:40:40 +00:00
Andi-Bogdan Postelnicu
bbf960e82c Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
Updated with rustfmt 1.4.38-stable (a8314ef 2022-06-27)
# ignore-this-changeset

Depends on D151908

Differential Revision: https://phabricator.services.mozilla.com/D151909
2022-07-15 09:37:22 +00:00
Iulian Moraru
450d8b0d6a Merge mozilla-central to autoland on a CLOSED TREE 2022-07-15 13:00:58 +03:00
Iulian Moraru
99c3ccc2f0 Merge autoland to mozilla-central. a=merge 2022-07-15 12:51:40 +03:00
Jon Coppeard
41f1157aa3 Bug 1779583 - Refactor gc::HeapSize and split out HeapSizeChild r=sfink
This creates a HeapSizeChild subclass that can be used for per-zone GC heap
size tracking. This requires an extra argument to pass the parent HeapSize.
Fortunately that is always to hand in the few places it is needed.

This eliminates the extra parent link in all cases and removes the conditional
update.

Differential Revision: https://phabricator.services.mozilla.com/D151832
2022-07-15 09:11:26 +00:00
Johan Lorenzo
08810d308b Bug 1778881 - part 2: Bump imgur max-run-time to 80 minutes in order to prevent unwanted timeouts r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D151730
2022-07-15 08:45:08 +00:00
Andi-Bogdan Postelnicu
806f346204 Bug 1519636 - Reformat recent changes to the Google coding style. r=marco
Updated with clang-format version 14.0.5 (taskcluster-ThuAJINyTKOILKeakawQZw)
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D151908
2022-07-15 08:27:50 +00:00
Andi-Bogdan Postelnicu
3fe05b85d6 Bug 1778358 - add c++17 flag to the static analysis test. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D151910
2022-07-15 08:26:25 +00:00
James Graham
cb29b0bf88 Bug 1779694 - Mark scrolling test as intermittent on desktop, a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D151912
2022-07-15 08:17:48 +00:00
Mozilla Releng Treescript
f7f2ce5efc no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
it -> ce5fe61ebb1361ccdfb219a7d6e8a703cadbd223
tg -> 369d2826e3404c2d738c285de7da3980bb19dfbf
uk -> 220e0e7a7025124dc61ce0b9b5cdb5de86c9c45a
vi -> 55841c53b0fe7e12bf9f5702e3d7e6b9c8c04380
2022-07-15 06:57:56 +00:00
Hiroyuki Ikezoe
f01e673d43 Bug 1774537 - Skip re-snapping if there's any async scroll is running. r=botond
Depends on D149497

Differential Revision: https://phabricator.services.mozilla.com/D150929
2022-07-15 06:47:38 +00:00
Hiroyuki Ikezoe
da8dbbfc2f Bug 1774537 - Propagate snap target ids for async scroll operations triggered on the main-thread, but will be processed in APZ. r=botond
Ideally we can write a wpt for this case, but it doesn't work due to
bug 1674687 and ClampAndAlignWithPixels [1] in our code. In the wpt we can use
waitForScrollTo [2] to wait for the end of an async scroll operation, say
a scrollBy call with `behavior: smooth`, at some point where it's close to the
final scroll destination APZ reports a fractional scroll offset close to the
destination, it will be clamped and rounded to the final destination value, thus
waitForScrollTo considers it reached to the end of the scroll operation. At the
moment APZ considers the async scroll is still in progress, which mean the snap
target ids haven't yet been reported to back the main-thread unfortunately.

[1] https://searchfox.org/mozilla-central/rev/170f06a720ddabee44c728b05ad30b18b066acca/layout/generic/nsGfxScrollFrame.cpp#2847
[2] https://searchfox.org/mozilla-central/rev/170f06a720ddabee44c728b05ad30b18b066acca/testing/web-platform/tests/css/css-scroll-snap/support/common.js#84

Depends on D149496

Differential Revision: https://phabricator.services.mozilla.com/D149497
2022-07-15 06:47:37 +00:00
Hiroyuki Ikezoe
34ca1c470f Bug 1774537 - Propagate last snap target id(s) from APZ to the content. r=botond
Depends on D149495

Differential Revision: https://phabricator.services.mozilla.com/D149496
2022-07-15 06:47:37 +00:00
Hiroyuki Ikezoe
74c13fe42c Bug 1774537 - Call SetState with WEEL_SCROLL or KEYBOARD_SCROLL in the case of instant scoll. r=botond
It will ensure an APZ:TransformEnd notification.

Differential Revision: https://phabricator.services.mozilla.com/D149495
2022-07-15 06:47:36 +00:00
Henrik Skupin
1ed1175d97 Bug 1774476 - [cdp] Delay initialization of CDP until browserStartupFinished. r=webdriver-reviewers,jgraham
Initializing CDP before the first window has been opened can break
the registration of the first browser window because a pre-loaded
window gets opened first before the gBrowser is attached.

This also prevents any CDP client to connect to any the JSONHandler
end-points before CDP is actually ready.

Differential Revision: https://phabricator.services.mozilla.com/D151843
2022-07-15 06:30:34 +00:00
Drew Willcoxon
86e5c90753 Bug 1779680 - Allow "www" to be omitted when searching with a prefix for adaptive history autofill. r=daisuke
Please see the bug for details. We recently improved the handling of "www" and
prefixes for adaptive history autofill and made it more like origin autofill,
and this revision makes it even more like origin autofill. Origin autofill
computes a `host_fixed` value that is the matching host except it doesn't
contain "www" if the user didn't type it. This revision does something similar
for adaptive history autofill by computing `url_fixed`. This also allows
`_processRow()` to be a little simpler for the adaptive history case and it's
almost exactly the same as the origin case now.

I changed the `:searchString` param so that it's `this._searchString` instead of
`queryContext.searchString`. That's consistent with the two other autofill
queries and it made fixing this bug easier.

I also added some comments that should be helpful.

Differential Revision: https://phabricator.services.mozilla.com/D151897
2022-07-15 04:58:14 +00:00
Kagami Sascha Rosylight
f61c528d6c Bug 1779000 - Part 3: Remove helper functions for prefs r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151505
2022-07-15 04:25:23 +00:00
Kagami Sascha Rosylight
931e4cc2ae Bug 1779000 - Part 2: Replace use of AtomicBoolPrefChangedCallback with StaticPrefs r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151504
2022-07-15 04:25:22 +00:00
Kagami Sascha Rosylight
f93cc7fa75 Bug 1779000 - Part 1: Remove dom.indexedDB.errorEventToSelfError r=asuth
This has never been documented/tested anywhere and has always been disabled since its start in 2017 in bug 1389913.

This removes the pref as https://github.com/w3c/IndexedDB/issues/49 decided not to propagate to window.onerror in 2019.

Differential Revision: https://phabricator.services.mozilla.com/D151503
2022-07-15 04:25:22 +00:00
Cristian Tuns
98fd2e5e33 Backed out changeset 2e2286de9ab9 (bug 1779681) for causing mochitest failures on test_2d.fill.pattern.imageSmoothingEnabled.html CLOSED TREE 2022-07-15 00:30:32 -04:00
Glenn Watson
891c6e9288 Bug 1779387 - Restore clip root parenting for now r=gfx-reviewers,aosmond
There are some hit-test use cases that still rely on clip-chains
and invalid clip-chain handles inheriting from the root clip-id
for a pipeline.

This will become irrelevant once the clip-tree patches land next
week, but for now we can restore these to fix a regression going
out in a release.

Differential Revision: https://phabricator.services.mozilla.com/D151880
2022-07-15 04:16:07 +00:00
Thomas Wisniewski
e0b8db1aa4 Bug 1779529 - don't remove elements in the GPT SmartBlock shim when their slots don't need any content; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151894
2022-07-15 04:11:13 +00:00
criss
512ac8c6d0 Backed out 3 changesets (bug 1779000) for causing build bustages on ActorsParentCommon.cpp. CLOSED TREE
Backed out changeset f33bbb0568fa (bug 1779000)
Backed out changeset 31ba65d120ff (bug 1779000)
Backed out changeset f3a44c2ade2c (bug 1779000)
2022-07-15 06:52:44 +03:00
Kagami Sascha Rosylight
7d7b7cb561 Bug 979586 - Part 2: Add Pure/Constant extattrs to IDB interfaces when applicable r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D134555
2022-07-15 03:43:34 +00:00
Kagami Sascha Rosylight
91dd83f2a6 Bug 979586 - Part 1: Add missing SameObject/NewObject extattrs to IDB interfaces r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D134554
2022-07-15 03:43:33 +00:00
Geoff Lankow
4ca5dc8689 Bug 1779660 - Fix ephemeral background tasks tests on Thunderbird. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D151887
2022-07-15 03:42:14 +00:00
Kagami Sascha Rosylight
c28df77d9b Bug 1779000 - Part 3: Remove helper functions for prefs r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151505
2022-07-15 03:22:32 +00:00
Kagami Sascha Rosylight
d556fc498d Bug 1779000 - Part 2: Replace use of AtomicBoolPrefChangedCallback with StaticPrefs r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D151504
2022-07-15 03:22:31 +00:00
Kagami Sascha Rosylight
28ad9a860e Bug 1779000 - Part 1: Remove dom.indexedDB.errorEventToSelfError r=asuth
This has never been documented/tested anywhere and has always been disabled since its start in 2017 in bug 1389913.

This removes the pref as https://github.com/w3c/IndexedDB/issues/49 decided not to propagate to window.onerror in 2019.

Differential Revision: https://phabricator.services.mozilla.com/D151503
2022-07-15 03:22:31 +00:00
Emily McDonough
0a018773d2 Bug 1779496 - Make more of nsCSSProps constexpr r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D151768
2022-07-15 03:12:37 +00:00
Lee Salzman
8280927eaa Bug 1779681 - Mark WebGL framebuffer as initially valid in DrawTargetWebgl. r=aosmond,gfx-reviewers
mWebglValid gets initialized to false, but it will never get reset to true until the next
frame, causing us to render into Skia the first frame rather than accelerate. Therefor, we
should just initialize it to valid. Since it is cleared to zero initially, this is safe.

Differential Revision: https://phabricator.services.mozilla.com/D151896
2022-07-15 02:29:01 +00:00
Lee Salzman
d4bf5cfa1b Bug 1779684 - Mark more surface types as IsDataSourceSurface. r=aosmond,gfx-reviewers
We spend a significant amount of time in profiles allocating DataSourceSurfaceWrapper
when GetDataSurface is called inside DrawTargetWebgl. We can mark some more surface
types as IsDataSurface to work around this fairly easily.

Differential Revision: https://phabricator.services.mozilla.com/D151898
2022-07-15 02:27:58 +00:00
Cristian Tuns
fe3db4dbf0 Backed out changeset 6d3f5ad32cd2 (bug 1779559) for causing multiple bc failures CLOSED TREE 2022-07-14 22:24:52 -04:00
Kagami Sascha Rosylight
9cdd68e23c Bug 1354500 - Part 4: Remove indexedDB permission uses from scripts r=dom-storage-reviewers,rpl,asuth
Differential Revision: https://phabricator.services.mozilla.com/D151419
2022-07-15 01:55:28 +00:00
Kagami Sascha Rosylight
17bf285cb0 Bug 1354500 - Part 3: Remove indexedDB/PermissionRequestBase r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D151418
2022-07-15 01:55:27 +00:00
Kagami Sascha Rosylight
cdb7d00f1e Bug 1354500 - Part 2: Remove IDBDatabase#storage r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D151417
2022-07-15 01:55:26 +00:00
Kagami Sascha Rosylight
0e82d63d54 Bug 1354500 - Part 1: Remove options parameter from nsDOMWindowUtils::GetFileReferences r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D151416
2022-07-15 01:55:26 +00:00
Tooru Fujisawa
243a193bbf Bug 1776376 - Disallow setting a breakpoint for JSOp::SetAliasedVar ".generator". r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D151848
2022-07-15 01:25:44 +00:00
Pranshu Agrawal
a16a2f2cd1 Bug 1510647 Lint Warning: Missing @IntDef in Switch. r=m_kato,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151653
2022-07-15 01:20:26 +00:00
Tom Ritter
8cc6e9c4f1 Bug 1779670: Fix the ImageLib Bugzilla Component in moz.yaml files r=gfx-reviewers,jrmuizel DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D151892
2022-07-15 01:01:11 +00:00
Emilio Cobos Álvarez
ddb69613e8 Bug 1779559 - Make tabbrowser manage chrome BC activeness. r=Gijs
Just like it manages content, so that we stop chrome animations and such
in hidden or fully-occluded windows too. This already happened on macOS
for minimized windows via PauseCompositor, but this should be better and
more consistent.

Differential Revision: https://phabricator.services.mozilla.com/D151818
2022-07-15 00:22:01 +00:00
scott
7f866652f7 Bug 1779648 - Pocket panels, reverting to old package so old panels still work for now. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D151879
2022-07-15 00:04:59 +00:00
Shane Hughes
5914448a92 Bug 1779335 - Add new menu to Synced Tabs sidebar context. r=Gijs,fluent-reviewers
Add an "Open in New Container Tab" menu to the Synced Tabs sidebar
context menu, to match similar menus elsewhere in tab menus.

Differential Revision: https://phabricator.services.mozilla.com/D151777
2022-07-14 22:28:14 +00:00
Shane Hughes
4cfc1d51cd Bug 1779349 - Simplify Synced Tabs sidebar context l10n. r=Gijs,fluent-reviewers
Replace some fluent strings that cover the same ground as existing
strings that see more use. This will make the (English) diction more
consistent between the context menus.

Differential Revision: https://phabricator.services.mozilla.com/D151775
2022-07-14 22:28:14 +00:00
James Teh
6c7598c3fe Bug 1772050: Don't call Attributes() in Android's HandleLiveRegionEvent. r=eeejay
Attributes() might do computation that we'll just throw away; e.g. building a CachedTableAccessible.
In a content process, cached data structures like this will never get used by a client, so building them will always be wasteful.
Instead, use nsAccUtils::SetLiveContainerAttributes, which only computes live region stuff.

Differential Revision: https://phabricator.services.mozilla.com/D151799
2022-07-14 21:58:37 +00:00
criss
c2ed3856fd Merge mozilla-central to autoland on a CLOSED TREE 2022-07-15 00:46:48 +03:00
criss
5ea9694f10 Merge autoland to mozilla-central. a=merge 2022-07-15 00:43:42 +03:00
Lee Salzman
66e7608873 Bug 1779342 - Force any Skia snapshots to copy the shmem before it deallocs. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D151876
2022-07-14 21:15:45 +00:00