@@ -17,10 +17,6 @@ class OriginAttributes : public dom::OriginAttributesDictionary {
1717 public:
1818 OriginAttributes () = default ;
1919
20- explicit OriginAttributes (bool aInIsolatedMozBrowser) {
21- mInIsolatedMozBrowser = aInIsolatedMozBrowser;
22- }
23-
2420 explicit OriginAttributes (const OriginAttributesDictionary& aOther)
2521 : OriginAttributesDictionary(aOther) {}
2622
@@ -74,8 +70,7 @@ class OriginAttributes : public dom::OriginAttributesDictionary {
7470 }
7571
7672 [[nodiscard]] bool EqualsIgnoringFPD (const OriginAttributes& aOther) const {
77- return mInIsolatedMozBrowser == aOther.mInIsolatedMozBrowser &&
78- mUserContextId == aOther.mUserContextId &&
73+ return mUserContextId == aOther.mUserContextId &&
7974 mPrivateBrowsingId == aOther.mPrivateBrowsingId &&
8075 mGeckoViewSessionContextId == aOther.mGeckoViewSessionContextId ;
8176 }
@@ -159,11 +154,6 @@ class OriginAttributesPattern : public dom::OriginAttributesPatternDictionary {
159154
160155 // Performs a match of |aAttrs| against this pattern.
161156 bool Matches (const OriginAttributes& aAttrs) const {
162- if (mInIsolatedMozBrowser .WasPassed () &&
163- mInIsolatedMozBrowser .Value () != aAttrs.mInIsolatedMozBrowser ) {
164- return false ;
165- }
166-
167157 if (mUserContextId .WasPassed () &&
168158 mUserContextId .Value () != aAttrs.mUserContextId ) {
169159 return false ;
@@ -227,12 +217,6 @@ class OriginAttributesPattern : public dom::OriginAttributesPatternDictionary {
227217 }
228218
229219 bool Overlaps (const OriginAttributesPattern& aOther) const {
230- if (mInIsolatedMozBrowser .WasPassed () &&
231- aOther.mInIsolatedMozBrowser .WasPassed () &&
232- mInIsolatedMozBrowser .Value () != aOther.mInIsolatedMozBrowser .Value ()) {
233- return false ;
234- }
235-
236220 if (mUserContextId .WasPassed () && aOther.mUserContextId .WasPassed () &&
237221 mUserContextId .Value () != aOther.mUserContextId .Value ()) {
238222 return false ;
0 commit comments