fune/toolkit
Rob Wu 8b6f2a74f2 Bug 1826867 - Use NS_GetFinalChannelURI instead of GetURI in SessionHistoryEntry a=dmeehan
When redirects are involved, `DocumentLoadListener::DoOnStartRequest`
may call `ReplaceLoadingSessionHistoryEntryForLoad`, which updates the
history entry with the destination of a redirect. But if the redirection
target is a `moz-extension:`-URL, the URL becomes a jar:file:/file: URL.
This is because SessionHistoryInfo (in SessionHistoryEntry.cpp) looks up
the URL with `nsIChannel::GetURI`. For `moz-extension:`-URLs, the
underlying channel has a `jar:file:` or `file:` URL, as provided by
ExtensionProtocolHandler (via SubstitutingProtocolHandler::NewChannel).
For details, see https://bugzilla.mozilla.org/show_bug.cgi?id=1826867#c7

To fix this, this patch switches to `NS_GetFinalChannelURI` instead. For
more history on this type of bug and SessionHistoryInfo, see
https://bugzilla.mozilla.org/show_bug.cgi?id=1826867#c9

Original Revision: https://phabricator.services.mozilla.com/D234333

Differential Revision: https://phabricator.services.mozilla.com/D236901
2025-02-08 13:31:59 +00:00
..
actors Bug 1275612 - Don't allow any origins to send objects over WebChannel. a=RyanVM 2024-12-13 17:21:21 +00:00
components Bug 1826867 - Use NS_GetFinalChannelURI instead of GetURI in SessionHistoryEntry a=dmeehan 2025-02-08 13:31:59 +00:00
content Bug 1932482 - Add support for downloading GMP plugins from mirror URLs. a=pascalc 2024-12-13 09:59:33 +00:00
crashreporter Bug 1944784 - Fix collecting the errors encountered when generating minidumps r=cmartin, a=dmeehan 2025-02-03 15:31:33 +00:00
docs
library Bug 1914196 - Build with ScreenCaptureKit on macOS. a=RyanVM 2025-01-15 13:37:05 +00:00
locales Bug 1899516 - Warn user when missing unprivileged user namespace r=firefox-desktop-core-reviewers ,fluent-reviewers,Gijs,flod, a=dmeehan, l10n=bolsson 2024-07-15 12:11:54 +00:00
locales-preview
modules Bug 1275612 - Don't allow any origins to send objects over WebChannel. a=RyanVM 2024-12-13 17:21:21 +00:00
mozapps Bug 1939087 - Truncate long name and log warning a=dmeehan 2025-02-06 14:16:44 +00:00
profile Bug 1872482 - recreate non-ephemeral background task profile directory if it's missing r=mossop 2024-05-24 14:34:49 +00:00
system Bug 1899098 - No longer use GNU_CC, CLANG_CC and the likes in moz.build r=glandium 2024-06-04 09:42:12 +00:00
themes Backed out changeset 8729ceb8a558 (bug 1920998) for browser_ext_popup_select.js permafails. 2024-12-13 19:59:42 -05:00
xre Bug 1943650 - Command-line --help output misformatted after --dbus-service. r=emilio, a=RyanVM DONTBUILD 2025-01-26 12:28:50 +00:00
.eslintrc.js
l10n-registry.manifest
moz.build
moz.configure Bug 1901834 - Update pixman version requirement. a=RyanVM 2024-06-13 13:59:33 +00:00
toolkit.mozbuild Bug 1888234 - Allow for Thunderbird to replace gkrust-gtest crate. r=firefox-build-system-reviewers,glandium 2024-05-29 15:03:04 +00:00