Parse a request URL and determine whether this is a same-origin request as the application document.
The url of the request as a string that will be resolved or a parsed URL object.
Whether the request is for the same origin as the application document.
Parse a request URL and determine whether this is a same-origin request as the application document.