* Parse a request URL and determine whether this is a same-origin request as the application * document. * * @param {string|object} requestUrl The url of the request as a string that will be resolved * or a parsed URL object. * @returns {boolean} Whether the request is for the same origin as th
(requestUrl)
| 21821 | * @returns {boolean} Whether the request is for the same origin as the application document. |
| 21822 | */ |
| 21823 | function urlIsSameOrigin(requestUrl) { |
| 21824 | return urlsAreSameOrigin(requestUrl, originUrl); |
| 21825 | } |
| 21826 | |
| 21827 | /** |
| 21828 | * Parse a request URL and determine whether it is same-origin as the current document base URL. |
no test coverage detected