mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Update principals.rs
This commit is contained in:
parent
5bd417331f
commit
4e33454364
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue