Update principals.rs

This commit is contained in:
Naveen Gattu 2021-12-01 06:43:35 -08:00 committed by GitHub
parent 5bd417331f
commit 4e33454364
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,6 +138,7 @@ 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
}
}