Sean
a727d4fc52
Bug 1927594 - Part 1: Introduce better CORP headers aboutCertError messages r=necko-reviewers,fluent-reviewers,kershaw,valentin,bolsson
...
Differential Revision: https://phabricator.services.mozilla.com/D228072
2025-01-10 14:52:06 +00:00
Alexandru Marc
d3a6a84fb2
Backed out 4 changesets (bug 1325876) for causing wd failures @ navigation.spec.js CLOSED TREE
...
Backed out changeset b29ef3f14bf7 (bug 1325876)
Backed out changeset f8add6e2ef93 (bug 1325876)
Backed out changeset 41cc884f84c1 (bug 1325876)
Backed out changeset 014c9c77393a (bug 1325876)
2024-12-21 04:41:41 +02:00
Sean
b0c2a57e0a
Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D220193
2024-12-20 22:12:10 +00:00
Stanca Serban
29fc723e46
Backed out 4 changesets (bug 1325876) for causing wpt failures in 404-with-early-hints.h2.window.html. CLOSED TREE
...
Backed out changeset 1c2e847c0632 (bug 1325876)
Backed out changeset 8b56e7a25cdd (bug 1325876)
Backed out changeset 55446c955dbd (bug 1325876)
Backed out changeset a4ecb980de87 (bug 1325876)
2024-12-18 21:07:50 +02:00
Sean
b44e64d197
Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D220193
2024-12-18 15:54:19 +00:00
Norisz Fay
31b3da5965
Backed out 3 changesets (bug 1325876) for causing bc failures on browser_subdocument_downgrade.js CLOSED TREE
...
Backed out changeset aede2883237a (bug 1325876)
Backed out changeset decca0d92c74 (bug 1325876)
Backed out changeset 0bda3da380ac (bug 1325876)
2024-12-18 02:21:37 +02:00
Sean
3ed8e0bcce
Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D220193
2024-12-17 21:01:08 +00:00
Goloman Adrian
8d0f046600
Backed out 3 changesets (bug 1325876) for causing multiple bc failures.
...
Backed out changeset 10448d623bd4 (bug 1325876)
Backed out changeset 1092114b16b5 (bug 1325876)
Backed out changeset c0454be735a8 (bug 1325876)
2024-12-17 00:32:23 +02:00
Sean
70cdb54636
Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D220193
2024-12-16 20:36:38 +00:00
Goloman Adrian
8c75a42d06
Backed out 3 changesets (bug 1325876) for causing multiple failures. CLOSED TREE
...
Backed out changeset 4b1363236bcd (bug 1325876)
Backed out changeset b3c3a5d3c6b9 (bug 1325876)
Backed out changeset b5a8d01c0651 (bug 1325876)
2024-12-16 21:40:28 +02:00
Sean
5cca00d5b8
Bug 1325876 - Show internal error page for HTTP responses with error codes (4xx, 5xx) and Content-Length: 0 instead of blank page r=manuel,necko-reviewers,fluent-reviewers,jesup,bolsson,valentin,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D220193
2024-12-16 17:57:16 +00:00
Adam Vandolder
2ba689d99e
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-05 01:20:07 +00:00
Goloman Adrian
05b7d33317
Backed out changeset 4d19e4620e63 (bug 1924861) for causing bc failures @browser_stop_pending.js. CLOSED TREE
2024-12-04 09:11:45 +02:00
Adam Vandolder
87c9038ba7
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-04 04:17:36 +00:00
Cosmin Sabou
82fbc8fbe4
Backed out changeset a8d030efc4ea (bug 1924861) for causing bc failures on browser_stop_pending.
2024-12-02 01:21:14 +02:00
Adam Vandolder
f6e7455adc
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-01 04:13:01 +00:00
Sandor Molnar
7e190c9386
Backed out changeset b94afd94ed9c (bug 1924861) for causing multiple bc failures. CLOSED TREE
2024-11-30 20:40:15 +02:00
Adam Vandolder
5f7b028386
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-29 23:38:09 +00:00
Butkovits Atila
6a4f64d393
Backed out changeset 8c5bff1fa41a (bug 1924861) for causing failures at forward.py.
2024-11-26 12:51:09 +02:00
Adam Vandolder
fad0c07fe5
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-26 04:48:49 +00:00
Sandor Molnar
7058c42e18
Backed out changeset c64aebba09d9 (bug 1924861) for causing mochitest failures. CLOSED TREE
2024-11-26 03:17:30 +02:00
Adam Vandolder
2d308415a4
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-25 23:18:32 +00:00
Valentin Gosu
056ff7244b
Bug 1931514 - Remove nsITimedChannel.timingEnabled r=necko-reviewers,kershaw
...
Timing should always be enabled.
Differential Revision: https://phabricator.services.mozilla.com/D229340
2024-11-20 20:53:51 +00:00
Peter Van der Beken
27d9ac2edc
Bug 1927517 - Assertion failure: !(result & nsContentUtils::eParseHTMLInteger_ErrorOverflow), at /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp:5231. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D227520
2024-11-20 09:58:50 +00:00
Oliver Medhurst
55e56cc12f
Bug 1879820 - Consume user activation when clicking link opens a new window; r=smaug,zcorpan
...
Differential Revision: https://phabricator.services.mozilla.com/D201373
2024-11-19 08:19:04 +00:00
John Bieling
aa9ced3899
Bug 1921426 - Restore tabs.onUpdated event for missing protocol handler pages. r=robwu,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D224214
2024-11-18 21:15:08 +00:00
Jonathan Watt
650e5227e6
Bug 1931496. Some missed contentViewer to documentViewer renames. r=baku DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D229104
2024-11-15 11:01:18 +00:00
Zach Hoffman
c71e404372
Bug 266554 - Send Referer header on refresh. r=peterv,ckerschb,dom-core,smaug
...
This applies for refreshes resulting from either a `<meta>` refresh or
the Refresh header. Referrer Policy is honored.
Because exposing the referrer in a new place could have privacy
implications, this behavior is gated behind a disabled pref until
anti-tracking has been considered in bug 1928294.
Some WPTs that D227450 touches are cleaned up a bit.
Differential Revision: https://phabricator.services.mozilla.com/D227450
2024-11-14 16:27:34 +00:00
Zach Hoffman
5de6650eb6
Bug 266554 - Use document ReferrerInfo for refreshes. r=peterv,ckerschb,dom-core,smaug
...
When ReferrerInfo is exposed later in the patch set, using the document
referrer info instead of mReferrerInfo will matter, but for now,
behavior should be unchanged.
Optional argument aSendReferrer for the ReferrerInfo constructor is
added. Because the existing behavior of InitWithDocument setting
mSendReferrer to true is acceptable in all other cases, the
aSendReferrer argument is not passed to InitWithDocument and
nsIReferrerInfo.idl is unchanged.
Unused method ReferrerInfo::CloneWithNewSendReferrer is removed.
Differential Revision: https://phabricator.services.mozilla.com/D227449
2024-11-14 15:53:26 +00:00
Zach Hoffman
838ec2eb6a
Bug 266554 - Ensure document is non-null in nsDocShell::ForceRefreshURI. r=peterv,dom-core,smaug
...
This should be safe to do because Refreshes are applied only to
documents and not to subresources.
Differential Revision: https://phabricator.services.mozilla.com/D227448
2024-11-14 03:56:29 +00:00
Butkovits Atila
97758b43e2
Backed out 3 changesets (bug 266554) for causing failures at subresource.any.worker.html. CLOSED TREE
...
Backed out changeset 4df11a91b7ce (bug 266554)
Backed out changeset 20e57705bd19 (bug 266554)
Backed out changeset 031663eb54ba (bug 266554)
2024-11-14 05:33:02 +02:00
Zach Hoffman
a1768d4a23
Bug 266554 - Send Referer header on refresh. r=peterv,ckerschb,dom-core,smaug
...
This applies for refreshes resulting from either a `<meta>` refresh or
the Refresh header. Referrer Policy is honored.
Because exposing the referrer in a new place could have privacy
implications, this behavior is gated behind a disabled pref until
anti-tracking has been considered in bug 1928294.
Some WPTs that D227450 touches are cleaned up a bit.
Differential Revision: https://phabricator.services.mozilla.com/D227450
2024-11-14 02:09:02 +00:00
Zach Hoffman
8c6dd9f815
Bug 266554 - Use document ReferrerInfo for refreshes. r=peterv,ckerschb,dom-core,smaug
...
When ReferrerInfo is exposed later in the patch set, using the document
referrer info instead of mReferrerInfo will matter, but for now,
behavior should be unchanged.
Optional argument aSendReferrer for the ReferrerInfo constructor is
added. Because the existing behavior of InitWithDocument setting
mSendReferrer to true is acceptable in all other cases, the
aSendReferrer argument is not passed to InitWithDocument and
nsIReferrerInfo.idl is unchanged.
Unused method ReferrerInfo::CloneWithNewSendReferrer is removed.
Differential Revision: https://phabricator.services.mozilla.com/D227449
2024-11-14 02:09:02 +00:00
Zach Hoffman
e2150bda1b
Bug 266554 - Ensure document is non-null in nsDocShell::ForceRefreshURI. r=peterv,dom-core,smaug
...
This should be safe to do because Refreshes are applied only to
documents and not to subresources.
Differential Revision: https://phabricator.services.mozilla.com/D227448
2024-11-14 02:09:01 +00:00
Simon Friedberger
4fcd691190
Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D228588
2024-11-13 17:15:57 +00:00
Sandor Molnar
9e0c14a80e
Backed out changeset c4dfee1f9194 (bug 1919544) for causing bc failures @ browser_UrlbarInput_formatValue.js CLOSED TREE
2024-11-13 15:20:39 +02:00
Simon Friedberger
8eafd874fe
Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D228588
2024-11-13 11:44:43 +00:00
Emilio Cobos Álvarez
e923afbf46
Bug 1927967 - Use typed units for nsDocumentViewer bounds. r=hiro,dholbert
...
SVG is fine because it always uses an effective DPI of 1. The rest
already use and assume layout pixels.
Differential Revision: https://phabricator.services.mozilla.com/D228120
2024-11-06 12:37:39 +00:00
Adi
20c01e8bd9
Backed out changeset 816825f333b7 (bug 1909110) for causing bc failures @ browser_bug575561.js. CLOSED TREE
2024-10-29 16:27:31 +02:00
Tom Schuster
89f6452c39
Bug 1909110 - Apply CSP to media that would be loaded as a MediaDocument. r=necko-reviewers,nika,freddyb
...
Differential Revision: https://phabricator.services.mozilla.com/D221326
2024-10-29 13:05:25 +00:00
Norisz Fay
7c7d41d846
Backed out changeset 5b4cea7ea948 (bug 1924861) for causing mochitest failures on test_ext_tabs_goBack_goForward.html, test_bug1300461.html CLOSED TREE
2024-10-29 04:57:43 +02:00
Adam Vandolder
b0355ca479
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-10-29 00:27:19 +00:00
Zach Hoffman
14134ce9b2
Bug 1544428 - Do not dispatch popstate or hashchange when hasRef changes. r=jjaschke,dom-core,sessionstore-reviewers,dao,farre
...
This behavior was already agreed upon in
<https://github.com/whatwg/html/issues/7386 >, but bug 1544428 was an
implementation edge case needing to be fixed.
An exception is when the fragment contains a directive, in which case a
difference in `hasRef` is sufficient, to retain existing behavior WRT
directives.
Although bug 1544428 is about popstate, hashchange was erroneously being
dispatched, as well, which this patch fixes.
Some tests that depended on the old behavior are updated.
Differential Revision: https://phabricator.services.mozilla.com/D225567
2024-10-23 14:59:04 +00:00
Olli Pettay
2cd74a0e96
Bug 1801586, bring back the old behavior when session-history-in-parent isn't enabled, r=peterv
...
bug 1717765 changed the behavior for non-SHIP too, and https://searchfox.org/mozilla-central/rev/d0c13bb2a9c3a9ab6f5eb5a23230161928b079d9/docshell/base/nsDocShell.cpp#6922
seems to rely on the old behavior. We need to have DocumentViewer always when restoring from bfcache, and non-SHIP doesn't deal with failure cases well.
No test for this (at least not yet).
Differential Revision: https://phabricator.services.mozilla.com/D225409
2024-10-16 13:14:50 +00:00
Emilio Cobos Álvarez
7e3778ba99
Bug 1922956 - Further clean-up widget creation code-paths. r=win-reviewers,mac-reviewers,geckoview-reviewers,mstange,rkraesig,m_kato
...
This is all super-hacky (see a lot of the XXXcjones comments).
Simplify it... We never create widgets with a bare native parent but no
nsIWidget parent. Pass nsIWidgets and deal with things correctly.
There were also things that were dealing with stuff that can't happen,
like top level popups, children of PuppetWidgets, or such.
Instead of overriding Create(), let's just teach nsBaseWidget about
non-native (headless/puppet) widgets.
Remove lots of old APIs for the native window stuff that are unused
and/or unimplemented.
Differential Revision: https://phabricator.services.mozilla.com/D224613
2024-10-07 16:43:53 +00:00
Timothy Nikkel
c3d7871769
Bug 1922983. Avoid useless QI in nsDocShell::Get/SetWindowDraggingAllowed on every paint in content process. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D224671
2024-10-07 10:27:11 +00:00
Iulian Moraru
7387be52c2
Backed out changeset 4888b2f651bc (bug 1921972) for causing multiple failures. CLOSED TREE
2024-10-06 23:50:12 +03:00
Emilio Cobos Álvarez
0901d90ded
Bug 1921972 - Don't add external protocol navigations to the loadgroup. r=smaug,necko-reviewers
...
Much like we do with downloads (bug 1656925), these don't unload the
current document.
This prevents them from having mismatched flags, which asserts, see the
test-case.
Differential Revision: https://phabricator.services.mozilla.com/D224606
2024-10-06 19:33:02 +00:00
Peter Van der Beken
94b09a989c
Bug 1920960 - Simplify nsDocShellLoadState::CalculateChannelLoadFlags argument. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D223499
2024-10-02 12:26:40 +00:00
Andreas Farre
6a489c97d4
Bug 1909698 - Use URI from session history when coming out from bfcache. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D222118
2024-09-17 12:17:38 +00:00