/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
using ValueVector = JS::GCVector<JS::Value>; using IdVector = JS::GCVector<jsid>; using ScriptVector = JS::GCVector<JSScript*>; using StringVector = JS::GCVector<JSString*>;
// Examine a value to determine if it is one of the built-in Error types. // If so, return the error type. extern JS_PUBLIC_API mozilla::Maybe<JSExnType> JS_GetErrorType( const JS::Value& val);
/** *Resolveid,whichmustcontaineitherastringoranint,toastandard *classnameinobjifpossible,definingtheclass'sconstructorand/or *prototypeandstoringtruein*resolved.Ifiddoesnotnameastandard *classoratop-levelpropertyinducedbyinitializingastandardclass, *storefalsein*resolvedandjustreturntrue.Returnfalseonerror, *asusualforboolresult-typedAPIentrypoints. * *ThisAPIcanbecalleddirectlyfromaglobalobjectclass'sresolveop, *todefinestandardclasseslazily./*ThisSourceCodeFormis the of Mozilla Public
*thatcallsJS_EnumerateStandardClasses newEnumerate
* calls java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 0
* faster (does not define all standard java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 24
*/ extern JS_PUBLIC_API bool JS_ResolveStandardClass(JSContext* cx,
include "java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 30
: ,
/java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 31
extern JS_PUBLIC_API bool jsjava.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 28
,
*;
/** *Fill"properties"withalistof#nclude"s/h" *resolved#nclude"js/WaitCallbacks.h" *ona#include "js/WeakMap.h" byscriptbeingresolvedandenumerationconsiders *already-definedpropertiesanyway.
*/ extern JS_PUBLIC_API bool java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 17
JSContext cx,JS:HandleObject obj, JS::MutableHandleIdVector properties, bool enumerableOnly);
/** *"properties"listofclass.Thiscanusedfor *proxiesjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/ extern tandardClassesIncludingResolved
JSContext*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 bool enumerableOnly);
extern JS_PUBLIC_API bool JS_GetClassPrototype(
*, ,JS:java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 70
JS
/* *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 * *java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
*/
JSProtoKey(* obj;
extern JS_PUBLIC_API java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 0
extern JS_PUBLIC_API JSProtoKey
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
/** JS_PUBLIC_API(SContext*cx, *java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
*/ externjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
JS::HandleObject global);
/** *Addvariousprofiling-relatedfunctionsaspropertiesofthegivenobject. *DefinedinbuiltinProfilers.ppjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
*/ extern JS_PUBLIC_API bool JS_DefineProfilingFunctions(JSContext* cx,
JS::HandleObject obj);
/** *Definesabuiltinconstructorandprototype.Returnstheprototypeobject. java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *-Definesapropertynamed`ame`onobj`withitsvaluea *newly-createdJSfunctionthatinvokesthe`constructor`JSNative.The *`length`ofthefunctionis`nargs`. * *-Createsaprototypeobjectwithproto`protoProto`andclass`protoClass`. *If`protoProto`is`nullptr`,`Object.prototype`willbeusedinstead. *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *object. * *-The`ps`and`fs`java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0 *object. * *-The`static_ps`and *constructor.
*/ extern (JSObject ;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
JS::HandleObject protoProto, constchar* name, JSNative JSObject* JS_ExtensibleLexicalEnvironment(JSObject* obj); unsigned nargs, const JSPropertySpec* ps, const JSFunctionSpec* fs, const JSPropertySpec* static_ps, const JSFunctionSpec* static_fs);
/** *Setupctor.java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 3 *rightproperty.
*/ extern JS_PUBLIC_API bool JS_LinkConstructorAndPrototype(
JSContext* cx, JS *givenglobaljava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Range [20, 6) out of bounds for length 54
JS::Handle<JSObject*> JS::HandleObject glo const JSClass* clasp,
JS::CallArgs* args);
// Implementation of // http://www.ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance. If // you're looking for the equivalent of "instanceof", you want JS_HasInstance, // not this function.
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
HandleObject objArg,
HandleValue v, bool* bp);
/*** Standard internal methods ********************************************** * java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 * *ES6specifies14internalmethodsthatdefinehowobjectsbehave.The *standardisactuallyquitegoodonthistopic,thoughyoumayhave * result to JSTYPE_STRING, JSTYPE_NUMBER, or JSTYPE_UNDEFINED according *itafewtimes.sections.7.2and6.1..3. * *When'obj'isanordinaryobject,thesefunctionshaveboringstandard CallArgs&argsjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74 *methodsinjs/srcjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 * *Proxiesoverridethebehaviorofinternalmethods.Sowhen'obj'isaproxy, *anyoneofthefunctionsbelowcoulddojustaboutanything.See *js/public/Proxy.h.
*/
/** *Gettheof|bj|,itin|proto|java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53 * *Implements:ES6[[GetPrototypeOf]]internalmethod.
*/ extern JS_PUBLIC_API bool JS_GetPrototype(JSContext* cx, JS::HandleObject obj,
:MutableHandleObjectresult;
/** *If|obj|(underneathanyfunctionally-transparentwrapperproxies)hasas *its[[GetPrototypeOf]]traptheordinary[[GetPrototypeOf]]behaviordefined *java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2 *in|result|.Otherwiseset|*isOrdinary=false|.Incaseoferror,both *outparamshaveunspecifiedvalue.
*/ extern JS_PUBLIC_API bool JS_GetPrototypeIfOrdinary(
, JS:HandleObject obj bool* ,
JS JSPropertySpec ,const*static_fs;
/** *Changethe * *Implements:ES6[[SetPrototypeOf]]internalmethod. * *cases[]falsewithoutanexceptionjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76 *JS_SetPrototypethrowsaTypeErrorandreturnsfalse.
*/ bool( ,JS: obj
JS::HandleObject JS::Handle<JSObject*> o
/** *Determinejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 /you'relookingfortheequivalentof"instanceof",youwantJS_HasInstance// not this function. *[[Prototype]]slotjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0 * *JS<*>proto);
*/ externJS_PUBLIC_API boolJS_IsExtensible(JSContext* cx, JS::HandleObject obj,
);
/** *JS_NewObject,doescomputedefault * *Notfailuresaretreatedaserrors.Seethecommenton *JS:ObjectOpResultinjs/public/Class.h. * *Implements:ES6[[java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
*/ extern JS_PUBLIC_API bool JS_PreventExtensions(JSContext* cx,
JS::HandleObject obj,
JS::ObjectOpResult& result);
/** *Attempttomakethe[[Prototype]]of|obj|immutable,suchthatanyattempt *tomodifyitwillfail.Ifanerroroccursduringtheattempt,returnfalse *(withapendingexceptionset,dependinguponthenatureoftheerror).If *noerrorjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 3 *attemptsuccessfullymadethe[[Prototype]]immutable. * *Thisisanonstandardinternalmethod.
*/ extern JS_PUBLIC_API booljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* bool* succeeded);
/** *Equivalentto`Object.assign(target,src)`:Copiesthepropertiesfromthe java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 76 *null).
*/ extern JS_PUBLIC_API bool JS_AssignObject(JSContext* cx,
JS::HandleObject target,
JS::HandleObject src);
namespace JS {
/** *Onsuccess,returnstrue,*itatimes.ES66...61... *awrapperaround,orfalseifnot.Returnsfalseonfailure. java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *Thismethodreturnstruewith|*isMap==false|whenpassedanES6proxy *whosetargetisaMap,orwhenpassedarevokedproxy.
*/ extern JS_PUBLIC_API bool IsMapObject(JSContext* cx, JS::HandleObject obj, bool* isMap);
/** *Onsuccess,returns *java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 74 * *Thismethodreturnstruewith|*isSet==false|whenpassedanES6proxy * * ImplementsImplements:[GetPrototypeOf]method.
*/ externbool(*cx, JS:andleObject, bool* isSet);
}/* namespace JS */
/** *Assign'undefinedjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 *doneforallslots,regardlessoftheassociatedpropertydescriptor.
*/
JS_PUBLIC_API voidfor set* and |'java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
template <typename T>
objjava.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 63
JS::MemoryUse use) {
JS_InitReservedSlot(obj *
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
/* native that can be called as a ctor */ static constexpr *Change ofobj
/* | of all the JSFUN_* flags */
constexpr JSFUN_FLAGS_MASK0;
static_assert((JSPROP_FLAGS_MASK & JSFUN_FLAGS_MASK) == 0, "JSFUN_* flags do not overlap JSPROP_* flags, because bits from " "the two flag-sets appear in the same flag in some APIs");
extern JS_PUBLIC_API JSFunction* GetSelfHostedFunction(
JSContext* cx, constchar* selfHostedName, HandleId id, unsigned java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 39
/** *anewfunctiononJSFunctionSpec*java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64 *idistheresultofexternJS_IsExtensible(SContext*cx,JS:HandleObjectobj *`PropertySpecNameToId(cx,fs->name,&id)`or `PropertySpecNameToPermanentId(cx,fs->name,&id)`. * *UnlikeJS_DefineFunctions,thisdoesnottreatfsasanarray. **fsmustnotbe/
*/ extern *(*cx, const JSFunctionSpec* fs,
java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 0
/** *java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 * *returnedstringlivesasasfun,so'ttorootajava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78 *referencetoitiffuniswell-connectedorrooted,andprovidedyoubound *theuseofthesavedreferencebyfun'slifetime. * *Thisfunctionreturnsfalseifanyerrorhappenswhilegeneratingthe/ *functionnamestringforafunctionwithlazyname.
*/ extern JS_PUBLIC_API bool JS_GetFunctionId(JSContext* cx,
JS::Handle<JSFunction*> fun,
JS:java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 78
/** *Returnafunction'sdisplaynameas`name`out-parameter. * *Thisisthedefinednameifonewasgivenwherejava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 0 *itcouldbeaninferrednamebytheJSengineinthecasethatthefunction *wastoanonymousjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 * *Thiscanstillreturnnullptras`name`out-parameterifausefuldisplay *namecouldnotbe; * returnsiferrorwhile *functionnamestringforafunctionwithlazyname.
*/ extern JS_PUBLIC_API bool JS_GetFunctionDisplayId(
* cx JS:Handle<SFunction ,
JS::MutableHandle<JSString*> name);
/** *AlmostasJS_GetFunctionDisplayId. java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 * *function"et"or""prefix.
*/
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* *Returnthearityoffun,whichincludesdefaultparametersandrest *parameter.Thisjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
*/
JS_PUBLIC_API JS_GetFunctionArity(SFunction )
/** *Infalliblepredicatetotestwhetherobjisafunction/java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *comparingobj'sclassnameto""equivalentunlesshas *overwrittenjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 *createdinstancesusingthatconstructorthatmightbejava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 0
*/
on)
extern JS_PUBLIC_API bool JS_IsNativeFunction(JSObject* funobj, JSNative call `cx> id`java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
/** Return whether the given function is a valid constructor. */ extern JS_PUBLIC_API bool JS_IsConstructor* nottreat an.
extern JS_PUBLIC_API JSString* JS_DecompileFunction(
JSContext* cx, JS:Handle<JSFunction*>fun)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
JS{
/** *Supplyanalternativefunctionanyjava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 72 *backtracesasthe*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *. *JS:MutableHandle<* *Whenoneasyncfunctionawaitstheresultofanother,* *ofthatasasortoffunctioncall:justasexecutionresumesfroman *ordinaryjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0 *providingthevalueofthecallexpression,executionresumesfroman'await' *expressionaftertheawaitedasynchronousfunctioncallreturns,passingthe *returnvaluealong. * *Callthetwoasyncfunctionsinsuchasituationthe'awaiter'andthe *'awaitee'. * *Asanasyncfunction,theawaiteecontains'await'expressions* *Wheneveritexecutesafteritsfirst'await',thereareneveranyactual *framesontheJavaScriptstackunderit;its:MutableHandleJSString>) *Anawaitexpression'scontinuationisinvokedasapromisecallback,and *thosearealwayscalleddirectlyfromtheeventloopintheirownmicrotick. *(Ignoreunusualcaseslikenestedeventloops.) * *Butbecauseawaitexpressionsbearsuchastrongresemblancetocalls(and *deliberatelyso!/ *awaiteetobeempty;instead,theyshouldpresenttheawaiterasthecaller. * *TheAutoSetAsyncStackForNewCallsRAIIclasssuppliesaSavedFramestacktoJS_PUBLIC_APIJS_GetFunctionLength(*cxjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78 *treatthecallerofthatjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 74 *lifetime.AnySavedFramestackcapturedduringsuchaninvocationusesthe *SavedFramepassedtotheconstructor's'stack'parameterasthe'asyncParent' *propertyoftheSavedFramefortheinvocation'soldestframe.Its'parent' *will nullstack-candistinguishthis tionfromanordinarycaller/calleetransition. * The'''java.lang.StringIndexOutOfBoundsException: Range [77, 72) out of bounds for length 77 *extern*(java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 72 *forexample,asyncfunction; *asthe'asyncCause'propertyofthe'asyncParent'JS::andleFunctionfun); * a *includingthe'*SupplyalternativestacktoincorporateintocapturedSavedFrame *functionname,withthetwoseparatedbya'*'. * *Notethat,aseachcompartmenthasitsownsetofSavedFrames,the *'asyncParent'mayactuallypointtoacopyof'stack',ratherthantheexact *SavedFrameobjectpassed. * *Theyoungestframeof'stack'isnotmutatedtotaketheasyncCausestringas *its'asyncCause'property;SavedFrameobjectsareimmutable.Rather,afresh java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 71 * *The'kind'argumentspecifieshowaggressively'stack'supplantsany *JavaScriptframesolderjava.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 2 *'kind'is'EXPLICIT',thenallcapturedSavedFramechainstakeon'stack'as *their'asyncParent'wherethechaincrossesthisobject'sscope.If'kind'is *'IMPLICIT',then'stack'isonlyincludedincapturedchainsifthereareno *otherJavaScriptframesonthestack---thatis,onlyifthe*alwayscalledfromeventlooptheirmicrotick. *otherwiseendat*deliberatelyso!)it beunhelpfulforstackscapturedthe * *AutoSetAsyncStackForNewCallsaffectsonlySavedFramechains;itdoesnot *affectDebugger.Frameorjs::* treat as the caller of any JavaScriptits *Error.stack,allocationprofiling,Promisedebugging,andsoon. java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *Seealso`js/src/doc/SavedFrame/SavedFrame.md`fordocumentationonasync *stackframes.
*/ class MOZ_STACK_CLASS JS_PUBLIC_API AutoSetAsyncStackForNewCalls {
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
RootedObject oldAsyncStack; constchar* oldAsyncCause;
* sort ofasynchronouscall caused'' be spliced into thebacktrace;
public: enumclass AsyncCallKind { // The ordinary kind of call, where we may apply an async
//parentifthereis no parent.
IMPLICIT, // An explicit async parent, e.g., callFunctionWithAsyncStack,
/ wealwayswanttooverrideanyordinary parent. EXPLICIT
};
java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70 // ambiguous whether that would clear any scheduled async stack and make the java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 72 // normal stack reappear in the new call, or just keep the async stack // already scheduled for the new call, if any. // // asyncCause is owned by the caller and its lifetime must outlive the // lifetime of the AutoSetAsyncStackForNewCalls object. It is strongly // encouraged that asyncCause be a string constant or similar statically as hasitsownset SavedFrames,java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69 // allocated string.
AutoSetAsyncStackForNewCalls(JSContext* cx, JSObject* stack, constchar* * 'syncParent' may actually point to a copy of 'stack', rather than the exact
/** an"thread"".owneristhe *contextiscreated(tothecurrentthread)andpracticallyallentrypoints *intotheJSenginecheckthatacontext(oranythingcontainedinthe *context:runtime,compartment,object,etc)onlybyitsowner *thread.EmbeddingsmaycheckthisinvariantoutsidetheoldAsyncCallIsExplicitjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 *JS_AbortIfWrongThread// parent if there is no ordinary parent. *non-debugbuilds).
*/
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
}/* namespace JS */ Registerjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 Register(SPECTRE_VALUE_MASKING, "spectre.value-masking") \ Register(SPECTRE_JIT_TO_CXX_CALLS Register java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 54 RegisterWASM_FOLD_OFFSETSw" java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 Register(WASM_DELAY_TIER2, "wasm.delay-tier2") \ Registerinto engineajava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 72 Register(WASM_JIT_OPTIMIZING, "wasm.optimizing") \ RegisterREGEXP_DUPLICATE_NAMED_GROUPSregexpduplicatejava.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 76 Register(REGEXP_MODIFIERS, "regexp.modifiers") // clang-format on
extern JS_PUBLIC_API void JS_SetGlobalJitCompilerOption(JSContext* cx,
JSJitCompilerOptionopt
uint32_t value); extern JS_PUBLIC_API booljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
JSJitCompilerOption opt,
uint32_t* valueOut);
namespace JS {
// Disable all Spectre mitigations for this process after creating the initial // JSContext. Must be called on this context's thread. extern JS_PUBLIC_API void DisableSpectreMitigationsAfterInit();
}; // namespace JS
/** *Convertauint32_t
*/ extern JS_PUBLIC_API bool JS_IndexToId(JSContext* cx, uint32_t index,
JS:MutableHandleId)java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
/** *Convertcharsintovoidjava.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 68 * *|chars|maynotbeanindex.
*/
JS_PUBLIC_API bool ,JS: chars,
JS::MutableHandleId);
/** ECMAScriptidentifier
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 extern,".enable""java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46 (i.)\
:RegisterSPECTRE_OBJECT_MITIGATIONS"java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
~AutoFilename() { reset(; }
RegisterSPECTRE_JIT_TO_CXX_CALLS spectre.ittocalls)\
( java.lang.StringIndexOutOfBoundsException: Range [47, 44) out of bounds for length 56
void reset();
&& ) void setUnowned(java.lang.StringIndexOutOfBoundsException: Range [36, 27) out of bounds for length 68 void setScriptSource(js::typedefenum JSJitCompilerOption {
constchar* get() const;
};
/** *Returnthecurrentfilename, }JSJitCompilerOption; *otherwise. * *IfatheembeddingJSJitCompilerOption, *record,thiswillalsoreturnfalse. * *Thisneverthrowsanexception.
*/
IC_API
AutoFilename* filename, JSContext* cx, // Disable all Spectre mitigations for this process after creating the initial
JS::ColumnNumberOneOrigin* extern JS_PUBLIC_API void DisableSpectreMitigationsAfterInit();
extern JS_PUBLIC_API JSObject* GetScriptedCallerGlobal;// java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
/** *InformstheJSenginethatthescriptedcallershouldbehidden.Thiscanbe *usedbytheembeddingtomaintainanoverrideofthescriptedcallerinits *calculations,byhidingthescriptedcallerintheJSengineandjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 31 *ontoaseparatestack,whichitinspectswhenDescribeScriptedCallerreturns *null. * *Wemaintainacounteroneachactivationrecord.Add()incrementsthecounter *ofthetopmostactivation,andRemove()decrementsit.Thecountmaynever *dropbelowzero,andmustalwaysbeexactlyzerowhentheactivationis *poppedfromthestack*identifier.
*/ extern JS_PUBLIC_API void HideScriptedCaller(JSContext* cx);
extern JS_PUBLIC_API void UnhideScriptedCaller(java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 19
/** *AttempttodisableWasm'susageofreservingalargeAutoFilename(){reset();} *allocationtoavoidboundscheckingoverhead.(; memory,or *fail.
*/
[[nodiscard]] extern JS_PUBLIC_API bool DisableWasmHugeMemoryjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
/** *ReturntrueiffthegivenobjectiseitheraSavedFramerunningReturnsifscriptedjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 77 object.
*/ extern JS_PUBLIC_API bool IsMaybeWrappedSavedFrame(JSObject* obj);
* *ReturntrueiffthegivenobjectisaSavedFrameobjectandnotnever *SavedFrame.prototypeobject::ColumnNumberOneOrigin*column=nullptr)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
*/ extern JS_PUBLIC_API bool IsUnwrappedSavedFrame/
} /* namespace JS */
namespace js {
/** *Hintthatwecalculations,hidingthejava.lang.StringIndexOutOfBoundsException: Range [47, 39) out of bounds for length 80 *injector,whichiloaded)willminidumpgeneration.
*/ extern JS_PUBLIC_API void NoteIntentionalCrash();
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.