diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /caps/OriginAttributes.cpp | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'caps/OriginAttributes.cpp')
-rw-r--r-- | caps/OriginAttributes.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/caps/OriginAttributes.cpp b/caps/OriginAttributes.cpp index 734a230495..211d6b00e7 100644 --- a/caps/OriginAttributes.cpp +++ b/caps/OriginAttributes.cpp @@ -229,10 +229,6 @@ void OriginAttributes::CreateSuffix(nsACString& aStr) const { // naming. // - if (mInIsolatedMozBrowser) { - params.Set(u"inBrowser"_ns, u"1"_ns); - } - if (mUserContextId != nsIScriptSecurityManager::DEFAULT_USER_CONTEXT_ID) { value.Truncate(); value.AppendInt(mUserContextId); @@ -328,14 +324,13 @@ bool OriginAttributes::PopulateFromSuffix(const nsACString& aStr) { MOZ_RELEASE_ASSERT(mPartitionKey.IsEmpty()); return URLParams::Parse( - Substring(aStr, 1, aStr.Length() - 1), + Substring(aStr, 1, aStr.Length() - 1), true, [this](const nsAString& aName, const nsAString& aValue) { if (aName.EqualsLiteral("inBrowser")) { if (!aValue.EqualsLiteral("1")) { return false; } - mInIsolatedMozBrowser = true; return true; } |