mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Issue #618 - Match JSAPI names with the changes in 9ca74147225eed305e28c7887f9b2251aeeb0f36
Ref: BZ 1388728
This commit is contained in:
parent
5838eded5f
commit
91a79c0ddc
5 changed files with 20 additions and 21 deletions
|
|
@ -4356,28 +4356,27 @@ extern JS_PUBLIC_API(JS::Value)
|
|||
GetModuleHostDefinedField(JSObject* module);
|
||||
|
||||
/*
|
||||
* Perform the ModuleDeclarationInstantiation operation on on the give source
|
||||
* text module record.
|
||||
* Perform the ModuleInstantiate operation on the given source text module
|
||||
* record.
|
||||
*
|
||||
* This transitively resolves all module dependencies (calling the
|
||||
* HostResolveImportedModule hook) and initializes the environment record for
|
||||
* the module.
|
||||
*/
|
||||
extern JS_PUBLIC_API(bool)
|
||||
ModuleDeclarationInstantiation(JSContext* cx, JS::HandleObject moduleRecord);
|
||||
ModuleInstantiate(JSContext* cx, JS::HandleObject moduleRecord);
|
||||
|
||||
/*
|
||||
* Perform the ModuleEvaluation operation on on the give source text module
|
||||
* record.
|
||||
* Perform the ModuleEvaluate operation on the given source text module record.
|
||||
*
|
||||
* This does nothing if this module has already been evaluated. Otherwise, it
|
||||
* transitively evaluates all dependences of this module and then evaluates this
|
||||
* module.
|
||||
*
|
||||
* ModuleDeclarationInstantiation must have completed prior to calling this.
|
||||
* ModuleInstantiate must have completed prior to calling this.
|
||||
*/
|
||||
extern JS_PUBLIC_API(bool)
|
||||
ModuleEvaluation(JSContext* cx, JS::HandleObject moduleRecord);
|
||||
ModuleEvaluate(JSContext* cx, JS::HandleObject moduleRecord);
|
||||
|
||||
/*
|
||||
* Get a list of the module specifiers used by a source text module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue