Checks whether the given URL is cross-origin, compared to the origin of the current page (window.location
).
Note: for opaque origins ('null'), the check is quite conservative and always reports a cross-origin URL, although the real origins might be the same. The serialized representation of origins does not allow a more accurate check.
Param | Type | Default Value | Description |
---|---|---|---|
sHref | sap.ui.core.URI | The URL to check |
Method | Description |
---|