pub unsafe fn report_cross_origin_denial(
    cx: JSContext,
    id: HandleId,
    access: &str,
) -> bool
Expand description

Report a cross-origin denial for a property, Always returns false, so it can be used as return report_cross_origin_denial(...);.

What this function does corresponds to the operations in https://html.spec.whatwg.org/multipage/#the-location-interface denoted as “Throw a SecurityError DOMException”.