Checks if the this's domain and host
match.
The domains match if this should be sent when making a request to host
, or that
this should be accepted when receiving a response from host
.
this |
a Cookie |
host |
a URI |
true if the domains match, false otherwise |