aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Gattu <naveen.gattu@gmail.com>2021-12-01 06:43:35 -0800
committerGitHub <noreply@github.com>2021-12-01 06:43:35 -0800
commit4e33454364305faa26e2e307d6875b4307eb8451 (patch)
tree3c61dc2b8afe2af6a328c875080b2bd7872be723
parent5bd417331f7f6a3d32780e04606515ca87953c87 (diff)
downloadservo-4e33454364305faa26e2e307d6875b4307eb8451.tar.gz
servo-4e33454364305faa26e2e307d6875b4307eb8451.zip
Update principals.rs
-rw-r--r--components/script/dom/bindings/principals.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/bindings/principals.rs b/components/script/dom/bindings/principals.rs
index d693c52d01e..62ef578b1ae 100644
--- a/components/script/dom/bindings/principals.rs
+++ b/components/script/dom/bindings/principals.rs
@@ -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
}
}