Commit Graph

4276 Commits

Author SHA1 Message Date
Sean
c73aeda52c Bug 1325876 - Add a pref for showing 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
2025-01-27 21:05:42 +00:00
Sean
11eae78bbe Bug 1763671 - Part 1: Add a preference to disable basic HTTP Auth r=necko-reviewers,fluent-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D225797
2025-01-27 16:19:31 +00:00
Florian Quèze
9bb52886b8 Bug 1935420 - Migrate histograms to use Glean APIs for BFCACHE_*, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D234182
2025-01-27 13:47:11 +00:00
Stanca Serban
149deaac25 Backed out 3 changesets (bug 1325876) for causing Linux related puppeteer failures. CLOSED TREE
Backed out changeset 2dcbd388c95f (bug 1325876)
Backed out changeset ba3a433729a6 (bug 1325876)
Backed out changeset 42f5ed6abce5 (bug 1325876)
2025-01-24 03:47:23 +02:00
Sean
5f773583d7 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
2025-01-23 21:57:37 +00:00
Sean
3cbfca1937 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-21 19:46:52 +00:00
Florian Quèze
6203c6c238 Bug 1879329 - add the missing includes, r=chutten,necko-reviewers,cookie-reviewers,valentin.
Differential Revision: https://phabricator.services.mozilla.com/D234757
2025-01-21 11:21:45 +00:00
Sandor Molnar
08b7f7de38 Backed out 2 changesets (bug 1927594) for causing wpt failures. CLOSED TREE
Backed out changeset 46a8e41b53dc (bug 1927594)
Backed out changeset bde1ce0e09eb (bug 1927594)
2025-01-18 07:44:42 +02:00
Sean
120797515f 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-17 22:42:29 +00:00
Cristina Horotan
5986f62c76 Backed out 2 changesets (bug 1927594) for causing bc failures at browser_aboutCertError_corp.js on a CLOSED TREE
Backed out changeset 839a0b0afda8 (bug 1927594)
Backed out changeset 69b747cc13d1 (bug 1927594)
2025-01-17 02:03:35 +02:00
Sean
86dd2ce1e1 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-16 20:24:45 +00:00
Sandor Molnar
dccfdca702 Backed out 2 changesets (bug 1927594) for causing bc failures @ browser_aboutCertError_corp.js CLOSED TREE
Backed out changeset bc1b92ad914c (bug 1927594)
Backed out changeset de234c6a4a0a (bug 1927594)
2025-01-15 03:03:41 +02:00
Sean
52ca4d0dbf 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-14 22:04:20 +00:00
Edgar Chen
b298946c00 Bug 1934807 - Consider file: URIs as the same domain for the purpose of frame navigation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D232451
2025-01-13 00:19:00 +00:00
Butkovits Atila
573c79c8f0 Backed out changeset 7d26eb9ace6e (bug 1927594) for causing failurfes at iframe-coep-disallow.h2.html. CLOSED TREE 2025-01-10 19:05:02 +02:00
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