mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +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();
|
let other_origin = other.origin();
|
||||||
obj_origin.same_origin_domain(&other_origin)
|
obj_origin.same_origin_domain(&other_origin)
|
||||||
} else {
|
} else {
|
||||||
|
warn!("Received null JSPrincipals asrgument.")
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue