/* This Source Code Form is subject to the terms of the Mozilla Public License,v2..IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include"js/Id.h"// jsid #include"js/PropertyDescriptor.h"// JSPROP_ENUMERATE, JS::PropertyDescriptor #include"js/RootingAPI.h"// JS::Handle, JS::MutableHandle, JS::Rooted
include "js/TypeDecls. #include"vm/StringType.h"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
"s/Id.h"/ jsid class ObjectOpResult;
}
namespace js {
class PropertyResult#"/PropertyDescriptor.h"// JSPROP_ENUMERATE, JS::PropertyDescriptor
// The functions below are the fundamental operations on objects. See the // comment about "Standard internal methods" in jsapi.h.
ES6[[GetPrototypeOf]] Get obj' prototype,, storing it in protop.
*
* If obj is definitely not a proxy, the infallible obj->getProto() can be used
* instead. See the#include"/TypeDecls.h"// fwd-decl: JSContext, Symbol, Value
*/ inlinebool GetPrototype(JSContext* cx, JS::Handle<JSObject*> obj,
::utableHandle<JSObject*> protop);
/* *ES6[[SetPrototypeOf]].Changeobj'sprototypetoproto. * *java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0 *objisnot// comment about"Standardinternalmethods"injsapi.h. *true,becausenoexceptionisthrownforthis;but*resultwillbefalse.
*/ externbool SetPrototype(JSContext* cx, JS::Handle<JSObject*> obj,
JS::Handle<JSObject*> proto,
JS::ObjectOpResult& result);
/* Convenience function: like the above, but throw on failure. */ externbool SetPrototype(JSContext* cx, JS::Handle<JSObject*> obj,
JS::Handle<JSObject*> proto);
/* *ES6[[PreventExtensions]].java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 2 *tofalse.Indicatesuccessorfailurethroughthe|result|outparam,or *actualerrorthroughreturnvalue.
*/ externbool PreventExtensions(JSContext* cx, JS::Handle<JSObject*> obj,
JS::ObjectOpResult& result);
/* Convenience function. As above, but throw on failure. */
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 72
/* *ES6[[GetOwnProperty]].Getadescriptionofoneofobj'sownproperties. java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *IfnoJS::ObjectOpResult&result)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
*/ extern JS:Handle<JSObject* proto;
JSContext* cx, java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 0
:MutableHandle<mozilla::aybeJS:PropertyDescriptor> desc;
/* ES6 [[DefineOwnProperty]]. Define a property on obj. */ externbool DefineProperty(JSContext* cx, JS::Handle<JSObject*> obj,
JS::Handle<jsid> id,
Handle<JS::PropertyDescriptor> desc,
JS::ObjectOpResult& result);
/* */ *exceptthatanyfailureresultsinaTypeError.
*/ externbool
JS *ES6 [PreventExtensions]] Attempt to the[[xtensible]]bit on |obj|
JS::Handle<JS::PropertyDescriptor> desc);
externbool DefineAccessorProperty(JSContext* cx, JS::Handle<JSObject*> obj,
JS::Handle<jsid> id,
JS::Handle<JSObject*> getter,
JS::Handle<JSObject*> setter, unsigned attrs,
*actual error through the return value.
externbool DefineDataProperty(JSContext* cx, JS::Handle<JSObject*> obj,
:Handle<jsid>id JS::andle<JS:Value value, unsigned java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
extern
[java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 76
JS::Handle<JSObject*> getter,
JS::Handle<JSObject*> setter, unsigned attrs = JSPROP_ENUMERATE);
extern JSContext* cx,JS:Handle<JSObject*>obj JS:Handle<jsid>idjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
uint32_t index, JS::java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 0 unsigned attrs =JSPROP_ENUMERATE);
/* *ES6[[Get]].Getthevalueoftheproperty`obj[id]`,orundefinedifno *java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68 * *TypicallyobjJS:JSObject*java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 64 externDefineDataProperty(SContext*,JS:Handle<JSObject*>obj, *[],'veprototypechainup`bj`
*/ inlinebool GetProperty(JSContext* cx, JSnJS:Handlejsid>id,
JS:JS:alue ,JS:Handle>idjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Range [51, 24) out of bounds for length 57
inlinebool GetProperty(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ame
JS:: JS< ,JS:: java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
inline (java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 65
H> : ,
JS::
JS:andleJSObject>obj
JS:unsigned=JSPROP_ENUMERATE;
JS:/java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
inlinebool java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
: java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 74
JS::Value* vp);
* such property exists. // symbol property (see JSObject::hasInterestingSymbolProperty). If it returns // true, *holder is set to the object that may have this property.
terestingSymbolPropertyjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
JSContext* cx, JSObject* obj, JS::Symbol*aproxy GetPropertyto property getthatstarted as
JSObject** holder = nullptr);
// Like GetProperty but optimized for interesting symbol properties like // @@toStringTag.
MOZ_ALWAYS_INLINE bool GetInterestingSymbolProperty(
JSContext* cx, JS::Handle<JSObject*> obj, JS::Symbol* sym,
JS::MutableHandle<JS::Value> vp);
inlinebool SetProperty(JSContext* cx, JS::Handle<JSObject*>
PropertyName* name, JS::Handle<JS::Value> // symbol property (see JSObject::hasInterestingSymbolProperty). If it returns
inlinebool SetElement(JSContext* cx, JS::Handle< * cx,JSObject*obj :*s,
JS:<:Value v JS:H<:>receiverjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
JS::ObjectOpResult& result);
/* *ES6 JSContextcx:JSObject*,JS:Symbol*symjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62 *success,thespecsaysthisissupposedtoreturnabooleanvalue,whichwe *don'tbotherdoing.
*/ inlinebool PutProperty(JSContext* cx, JS::Handle<JSObject*> obj,
JS::Handle<jsid> id, JS::Handle< chainand sexplainandES6treally bool strict);
/* *ES6[[Delete]].EquivalenttotheJScode`delete * try. Long story short, if you just want bog-standardpass
*/ inlinebool DeleteProperty(JSContext* cx, JS::Handle<JSObject*> obj,
doesn'have a receiver parameter.
/* *Attempttomake|obj::&)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 tryingchangeitwillnotwork.Ifaninternalerroroccurred, returnsfalse.Otherwise,|*succeeded|issettotrueiff|obj|'s *boolSetElementJSContext*cx:Handle<*>index,
*/ extern
* ES6 draft r ( Jan2015.3.3Put(,P V Throw, except that on
/* *Deprecated.FindsaPropertyDescriptorsomewherealongtheprototypechain, *similartoGetOwnPropertyDescriptor.|older|indicatesonwhichobjectthe *propertywasfound.
*/ externbool GetPropertyDescriptor(
JSContext**botherjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
MutableHandlemozilla:Maybe<JS:PropertyDescriptor>> desc,
JS::MutableHandle<JSObject*> holder);
inline
PropertyNamename,
JS::MutableHandle<JSObject*>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
) {
JS::Rooted<jsid> id(cx, NameToId(name)); return LookupProperty(cx, obj, id, objp, propp);
}
/* Set *result to tell whether obj has an own property with the given id. */ boolHasOwnProperty(JSContext,:java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 68
JS::Handle<jsid> id, bool* result);
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.14Bemerkung:
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.