Expand description
Utilities for the implementation of JSAPI proxy handlers.
Structs§
- Cross
Origin Properties - Property and method specs that correspond to the elements of
CrossOriginProperties(O).
Constants§
- CROSS_
ORIGIN_ PROPERTY_ HOLDER_ WEAK_ MAP_ SLOT - In WindowProxy and ProxyObject, the second slot is reserved for the cross-origin property holder weak map. This is a weak map between the realm and a property holder which stores objects that are used in cross origin realms.
Functions§
- cross_
origin_ get - Implementation of
CrossOriginGet. - cross_
origin_ get_ own_ property_ helper - Implementation of
CrossOriginGetOwnPropertyHelper. - cross_
origin_ own_ property_ keys - Implementation of
CrossOriginOwnPropertyKeys. - cross_
origin_ property_ fallback - Implementation of
CrossOriginPropertyFallback. - cross_
origin_ ⚠set - Implementation of
CrossOriginSet. - init
- Initialize the infrastructure for DOM proxy objects.
- is_
extensible ⚠ - Reports whether the object is Extensible
- is_
platform_ object_ same_ origin - https://html.spec.whatwg.org/multipage/#isplatformobjectsameorigin-(-o-)
- maybe_
cross_ origin_ get_ prototype - Implementation of
[[GetPrototypeOf]]forLocation. - maybe_
cross_ ⚠origin_ get_ prototype_ if_ ordinary_ rawcx - Safety
- maybe_
cross_ ⚠origin_ set_ prototype_ rawcx - Implementation of
[[SetPrototypeOf]]forLocationandWindowProxy. - prevent_
extensions ⚠ - Controls whether the Extensible bit can be changed
- report_
cross_ origin_ denial - Report a cross-origin denial for a property, Always returns
false, so it can be used asreturn report_cross_origin_denial(...);. - set_
property_ descriptor - Set the property descriptor’s object to
objand set it to enumerable, and writable ifreadonlyis true.