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

8981 Коммитов

Автор SHA1 Сообщение Дата
Andi-Bogdan Postelnicu 4efa1bd0ba Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-27 07:20:25 +00:00
Sandor Molnar 9db345d4c1 Backed out 2 changesets (bug 1276351) for causing build bustage in image/ClippedImage.cp CLOSED TREE
Backed out changeset e84598eb82c1 (bug 1276351)
Backed out changeset e940b0554484 (bug 1276351)
2023-03-25 14:16:43 +02:00
Andi-Bogdan Postelnicu 447f1e3358 Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-25 06:58:52 +00:00
Iulian Moraru 6d40eee997 Backed out 2 changesets (bug 1276351) for causing multiple failures.
Backed out changeset eeaf4f1e06af (bug 1276351)
Backed out changeset d44cb5704342 (bug 1276351)
2023-03-25 00:08:24 +02:00
Mark Banner 4a729cf9d7 Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D173450
2023-03-24 19:35:24 +00:00
Andi-Bogdan Postelnicu a1b827b503 Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-24 18:55:39 +00:00
Noemi Erli 50a2cc15fe Bug 1717403 - Disabled browser_bug670318.js on linux for causing frequent failures r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D173514
2023-03-24 12:56:08 +00:00
Sandor Molnar 4d6a262dee Merge autoland to mozilla-central a=merge 2023-03-22 23:12:50 +02:00
Olli Pettay 415571974a Bug 1818239, latter reload should win, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D173169
2023-03-22 14:51:47 +00:00
Cristina Horotan 678c52f5e7 Backed out changeset bb1f3463f21d (bug 1804684) for causing Bug 1823765 a=backout 2023-03-22 11:31:15 +02:00
Kershaw Chang 5e58575e28 Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-21 09:09:58 +00:00
Tom Schuster 2536630f8b Bug 1818250 - Add ShouldResistFingerprinting to WindowContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D172271
2023-03-20 18:52:25 +00:00
Nika Layzell f686782a80 Bug 1814686 - Part 2: Make nsDocShellLoadState not-null, and simplify handling of nsDOMNavigationTiming, r=necko-reviewers,valentin,smaug
These types were already non-nullable, with the serializer implementation not
supporting nullptr values. This patch converts the uses to be explicitly
non-nullable, and adds the relevant `WrapNotNull` changes.

Differential Revision: https://phabricator.services.mozilla.com/D168890
2023-03-20 15:40:38 +00:00
Nika Layzell 78fa962afb Bug 1814683 - Part 1: Combine parent/child fields in IPDL structs/unions, r=ipc-reviewers,necko-reviewers,mccr8
This combines the multiple fields or variants which were previously used to
track sided types like protocol types into a single field wrapped with a
SideVariant.

This will be used in the next part to avoid the need for default constructors
for actor types allowing the proper types to be used.

Differential Revision: https://phabricator.services.mozilla.com/D168879
2023-03-20 15:40:31 +00:00
lyavor 784f78bfb7 Bug 1804684 - Fragment navigation may change document URI scheme from https to http r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D165282
2023-03-20 13:46:20 +00:00
Sandor Molnar a67270c195 Backed out 2 changesets (bug 1804140) for causing multiple failures.
Backed out changeset 14243ef3e860 (bug 1804140)
Backed out changeset 8f4ae1ab430d (bug 1804140)
2023-03-20 14:33:35 +02:00
Peter Van der Beken 0a61153f2e Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-03-20 11:17:06 +00:00
Saira Abdulla 6a4ef6bc43 Bug 1822222 - Convert browser/actors/PageStyle* JSMs to ESMs. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D172674
2023-03-17 01:55:59 +00:00
Makoto Kato 1edefc131e Bug 1673068 - Get rid of nsILoadURIDelegate.loadURI. r=smaug,geckoview-reviewers,owlish
`nsILoadURIDelegate.loadURI` seems to be unused now.

Differential Revision: https://phabricator.services.mozilla.com/D172392
2023-03-17 01:41:50 +00:00
Nika Layzell d564908035 Bug 1810619 - Part 1: Be more precise in named lookup code, r=smaug,geckoview-reviewers,m_kato
This makes various changes to the named lookup/navigation code to make
them more precise, and avoid issues which could happen if a window is
closed while script is still executing.

This also should improve handling for inactive windows in some cases, by
more frequently working off of the WindowContext tree rather than the
BrowsingContext tree.

As part of these changes, some behaviour was changed around e.g. the
file URI exception to avoid the deprecated nsIPrincipal::GetURI method.
I don't believe the behaviour should have changed in a meaningful way.

Differential Revision: https://phabricator.services.mozilla.com/D171755
2023-03-15 21:57:03 +00:00
Florian Quèze 839d8942f2 Bug 1822062 - avoid sending NotifyVisited IPCs with no URIs, r=emilio.
Differential Revision: https://phabricator.services.mozilla.com/D172688
2023-03-15 18:29:59 +00:00
Peter Van der Beken 8a2d0af2a0 Bug 1789296 - Intermittent /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/window-open-aboutblank.html. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D172249
2023-03-15 16:06:37 +00:00
Iulian Moraru 801dae8f2c Backed out 14 changesets (bug 1607634, bug 1814683, bug 1815177, bug 1814686) for causing build bustages on MaybeStorageBase. CLOSED TREE
Backed out changeset ae1c0551cea5 (bug 1815177)
Backed out changeset a11cafaa1884 (bug 1814686)
Backed out changeset 621507521762 (bug 1814686)
Backed out changeset ad692c73e381 (bug 1814686)
Backed out changeset 3be031e503dc (bug 1607634)
Backed out changeset aebbaa145d2d (bug 1607634)
Backed out changeset 9aa1f346fe14 (bug 1607634)
Backed out changeset e3eb77ad55ca (bug 1607634)
Backed out changeset e60591e5d5cf (bug 1607634)
Backed out changeset 6e43042d204a (bug 1814683)
Backed out changeset 1706e88652d6 (bug 1814683)
Backed out changeset 6878a1590e91 (bug 1814683)
Backed out changeset b1c980c834d8 (bug 1814683)
Backed out changeset 94480b82d102 (bug 1814683)
2023-03-15 01:58:36 +02:00
Nika Layzell 99ef2e2b47 Bug 1814686 - Part 2: Make nsDocShellLoadState not-null, and simplify handling of nsDOMNavigationTiming, r=necko-reviewers,valentin,smaug
These types were already non-nullable, with the serializer implementation not
supporting nullptr values. This patch converts the uses to be explicitly
non-nullable, and adds the relevant `WrapNotNull` changes.

Differential Revision: https://phabricator.services.mozilla.com/D168890
2023-03-14 19:31:42 +00:00
Nika Layzell 97577629c0 Bug 1814683 - Part 1: Combine parent/child fields in IPDL structs/unions, r=ipc-reviewers,necko-reviewers,mccr8
This combines the multiple fields or variants which were previously used to
track sided types like protocol types into a single field wrapped with a
SideVariant.

This will be used in the next part to avoid the need for default constructors
for actor types allowing the proper types to be used.

Differential Revision: https://phabricator.services.mozilla.com/D168879
2023-03-14 19:31:36 +00:00
Gijs Kruitbosch 9e0531a790 Bug 1718082 - move hasSiblings from BrowserChild to BC and update as a synced field, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D171645
2023-03-13 17:32:08 +00:00
Gijs Kruitbosch f64b33fbe8 Bug 1718082 - move isAppTab from docshell to browsing context, r=nika,rpl
Differential Revision: https://phabricator.services.mozilla.com/D171412
2023-03-13 17:32:07 +00:00
Marian-Vasile Laza ee72efd1e9 Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang a60df34ad0 Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-13 11:12:33 +00:00
Cristian Tuns 2af0d81d29 Backed out 2 changesets (bug 1810619) for causing wd failures in dom_content_loaded.py CLOSED TREE
Backed out changeset 81d6ef111d4f (bug 1810619)
Backed out changeset 637be53c4d27 (bug 1810619)
2023-03-09 01:22:56 -05:00
Nika Layzell eece505eef Bug 1810619 - Part 1: Be more precise in named lookup code, r=smaug,geckoview-reviewers,m_kato
This makes various changes to the named lookup/navigation code to make
them more precise, and avoid issues which could happen if a window is
closed while script is still executing.

This also should improve handling for inactive windows in some cases, by
more frequently working off of the WindowContext tree rather than the
BrowsingContext tree.

As part of these changes, some behaviour was changed around e.g. the
file URI exception to avoid the deprecated nsIPrincipal::GetURI method.
I don't believe the behaviour should have changed in a meaningful way.

Differential Revision: https://phabricator.services.mozilla.com/D171755
2023-03-08 21:09:20 +00:00
Peter Van der Beken 9f3dd9247b Bug 1812033 - Intermittent Assertion failure: !existingEntry == !existingLoadingInfo, at /builds/worker/checkouts/gecko/docshell/base/CanonicalBrowsingContext.cpp:568. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D171090
2023-03-07 16:46:34 +00:00
Jens Stutte b1a1a8b6b4 Bug 1816025 - Downgrade diagnostic assertion in BrowsingContextGroup::EnsureHostProcess. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D171457
2023-03-02 18:45:46 +00:00
Csoregi Natalia 5ddfea87da Backed out changeset 6b47f8d493b3 (bug 1816025) for causing assertion failures. CLOSED TREE 2023-03-02 19:26:01 +02:00
Jens Stutte c07444c356 Bug 1816025 - Downgrade diagnostic assertion in BrowsingContextGroup::EnsureHostProcess. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D171457
2023-03-02 15:06:23 +00:00
Jens Stutte 9f73d70d9c Bug 1811746 - Check embedderBrowser process if IsShuttingDown before re-use. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D171222
2023-03-02 13:03:51 +00:00
Paul Zuehlcke 15c7095f11 Bug 1818956 - Convert URLQueryStringStripper to XPCOM service and init on profile-on-change. r=anti-tracking-reviewers,necko-reviewers,jesup,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D171392
2023-03-02 11:18:07 +00:00
Brad Werth 94e5db7b03 Bug 1768495 Part 2: Pause or resume compositor when CanonicalBrowsingContext recomputes its visibility. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D169345
2023-02-28 23:16:56 +00:00
Andreas Farre 3575a37276 Bug 1775927 - Make sure progress listener isn't gc'd. r=peterv
nsIWebProgressListener is stored as a weak reference in
nsIWebProgress. To not have it garbage collected we need to keep a
reference to it.

Differential Revision: https://phabricator.services.mozilla.com/D171228
2023-02-28 15:57:19 +00:00
Makoto Kato aa3ccd258b Bug 1618885 - Remove unused is_fennec. r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,sgalich,robwu,calu
is_fennec is unused now, let's remove it.

Differential Revision: https://phabricator.services.mozilla.com/D170849
2023-02-27 01:44:18 +00:00
Peter Van der Beken ff0a13060a Bug 1818124 - Perma [tier 2] /builds/worker/checkouts/gecko/docshell/test/navigation/test_blockBFCache.html:101:5 | Unknown property access Services.appinfo.fission. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D170679
2023-02-25 17:26:41 +00:00
Julian Descottes b52f247f59 Bug 1816898 - Fix docshell/test/unit/test_allowJavascript.js for thunderbird r=nika
The browsing context might be replaced after the navigation

Differential Revision: https://phabricator.services.mozilla.com/D170596
2023-02-23 21:35:20 +00:00
Peter Van der Beken f1d59a32c8 Bug 1804803 - Hit MOZ_CRASH(DocumentLoadListener::Open for invalid history entry due to mismatch of 'Invalid LoadId'). r=smaug
When we start the load for a reload, check that the entry we're trying to
reload is still connected to session history.

Differential Revision: https://phabricator.services.mozilla.com/D165049
2023-02-21 15:09:09 +00:00
Peter Van der Beken bffd25e220 Bug 1816697 - Fix chrome tests that fail if session-history-in-parent is enabled without Fission. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D169825
2023-02-21 14:58:35 +00:00
Peter Van der Beken d6fe05cdfd Bug 1816697 - Change test annotations for tests that fail/only succeed with session-history-in-parent. r=smaug
Some of the tests that fail (or only succeed) with SHIP are currently marked for
Fission. This makes them fail once we turn on SHIP without Fission.

Differential Revision: https://phabricator.services.mozilla.com/D169824
2023-02-21 14:58:35 +00:00
Emilio Cobos Álvarez e22c322da5 Bug 1812868 - Tweak RDM and theme setup. r=mstange
This is in order to make nsPresContext::UseOverlayScrollbars() thread-safe for
stylo usage.

Document::GetBrowsingContext() does ref-counting of main-thread-only
objects, and we don't want that.

Similarly nsPresContext::Theme() mutates the pres context which is not
something we can do from multiple threads.

Reviewed in: https://phabricator.services.mozilla.com/D168148
2023-02-20 00:01:11 +01:00
Sandor Molnar 2bc700c04b Backed out 2 changesets (bug 1812868) for causing bug 1817539. CLOSED TREE
Backed out changeset 07c689de250c (bug 1812868)
Backed out changeset e7d370501c50 (bug 1812868)
2023-02-18 09:34:04 +02:00
Emilio Cobos Álvarez ad4bd6a3ba Bug 1812868 - Expose scrollbar-inline-size as a CSS variable to chrome code. r=mstange
For that we need to:

 * Make GetDPIRatioForScrollbarPart thread-safe: This was using the
   widget for bug 1727289, but just looking at the print preview scale
   is enough to fix that.

 * Make nsPresContext::UseOverlayScrollbars() thread-safe: We store the
   RDM pane stuff in the pres context.

The rest is pretty straight-forward.

Differential Revision: https://phabricator.services.mozilla.com/D168148
2023-02-17 21:15:06 +00:00
Emilio Cobos Álvarez be40d4df76 Bug 1814668 - Fix viewport size invalidation on MVM changes. r=hiro
The MVM doesn't change the document viewer bounds nor the view manager
bounds (maybe it used to?). Right now when exiting RDM, depending on the
order of operations (if MVM reset is the last thing to happen) we end up
with a wrong viewport size, because nsDocShell::SetSize is
short-circuited here[1].

Instead, force a resize reflow with the current dimensions which is what
the dynamic toolbar code also does, for example.

[1]: https://searchfox.org/mozilla-central/rev/5ccb73c0217d1710b10d6e6e297cf3396d10ec23/view/nsViewManager.cpp#172

Differential Revision: https://phabricator.services.mozilla.com/D169806
2023-02-15 13:58:40 +00:00
Emilio Cobos Álvarez 5e8315e1d3 Bug 1814668 - Invalidate media queries when BrowsingContext::TouchEventsOverride changes. r=hiro
Refactor the code a little bit to share more code.

Differential Revision: https://phabricator.services.mozilla.com/D169805
2023-02-15 13:57:59 +00:00