Module script::dom::bindings::proxyhandler
source · Expand description
Utilities for the implementation of JSAPI proxy handlers.
Structs§
- Property and method specs that correspond to the elements of
CrossOriginProperties(O)
.
Constants§
Functions§
- Append
« "then", @@toStringTag, @@hasInstance, @@isConcatSpreadable »
toprops
. This is used to implementCrossOriginOwnPropertyKeys
. - Implementation of
CrossOriginGet
. - Implementation of
CrossOriginGetOwnPropertyHelper
. - Evaluate
CrossOriginGetOwnPropertyHelper(proxy, id) != null
. SpiderMonkey-specific. - Implementation of
CrossOriginOwnPropertyKeys
. - Implementation of
CrossOriginPropertyFallback
. - Implementation of
CrossOriginSet
. - Defines an expando on the given
proxy
. - Deletes an expando off the given
proxy
. - Get the holder for cross-origin properties for the current global of the
JSContext
, creating one and storing it in a slot of the proxy object if it doesn’t exist yet. - Get the expando object, or create it if it doesn’t exist yet. Fails on JSAPI failure.
- Get the expando object, or null if there is none.
- If
proxy
(underneath any functionally-transparent wrapper proxies) has as its[[GetPrototypeOf]]
trap the ordinary[[GetPrototypeOf]]
behavior defined for ordinary objects, set*is_ordinary
to true and storeobj
’s prototype inproto
. Otherwise set*isOrdinary
to false. In case of error, both outparams have unspecified value. - id_
to_ 🔒 ⚠source - init⚠Initialize the infrastructure for DOM proxy objects.
- Reports whether the object is Extensible
- Implementation of
[[GetPrototypeOf]]
forLocation
. - Implementation of
[[Set]]
forLocation
. - Controls whether the Extensible bit can be changed
- Report a cross-origin denial for a property, Always returns
false
, so it can be used asreturn report_cross_origin_denial(...);
. - Set the property descriptor’s object to
obj
and set it to enumerable, and writable ifreadonly
is true. - Determine if this id shadows any existing properties for this proxy.