mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Allow null principals to subsume any other principal.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user