Allow null principals to subsume any other principal.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews
2024-12-13 18:30:12 -05:00
committed by GitHub
parent 2328145c25
commit 5bd1543e16

View File

@@ -198,7 +198,6 @@ pub unsafe extern "C" fn subsumes(obj: *mut JSPrincipals, other: *mut JSPrincipa
let other_origin = other.origin();
obj_origin.same_origin_domain(&other_origin)
} else {
warn!("Received null JSPrincipals asrgument.");
false
true
}
}