mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
60 lines
8.7 KiB
HTML
60 lines
8.7 KiB
HTML
<!DOCTYPE html><html lang="en-GB-oxendict"><head><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8"><meta property="og:image" content="https://tc39.es/ecmarkup/ecma-logo.png"><meta property="og:title" content="ECMAScript® 2026 Language Specification"><meta property="og:description" content="Introduction
|
|
This Ecma Standard defines the ECMAScript 2026 Language. It is the seventeenth edition of the ECMAScript Language Specification. ECMAScript is based on several originating technologies, the most well-known being JavaScript (Netscape) and JScript (Microsoft). The language was invent">
|
|
<link rel="icon" href="../img/favicon.ico">
|
|
<link rel="stylesheet" href="../assets/css/ecmarkup.css"><link rel="stylesheet" href="../assets/css/print.css" media="print">
|
|
|
|
<title>ECMAScript® 2026 Language Specification</title><script src="../assets/js/multipage.js?cache=Wu2V1pj2" defer=""></script><script src="../assets/js/ecmarkup.js?cache=BPFBckdu" defer=""></script><link rel="canonical" href="../#sec-host-layering-points"></head>
|
|
<body><div id="spec-container"><emu-annex id="sec-host-layering-points">
|
|
<h1><span class="secnum">Annex D <span class="annex-kind">(informative)</span></span> Host Layering Points</h1>
|
|
<p>See <emu-xref href="#sec-hosts-and-implementations" id="_ref_925"><a href="overview.html#sec-hosts-and-implementations">4.2</a></emu-xref> for the definition of <emu-xref href="#host" id="_ref_17281"><a href="overview.html#host">host</a></emu-xref>.</p>
|
|
|
|
<emu-annex id="sec-host-hooks-summary">
|
|
<h1><span class="secnum">D.1</span> Host Hooks</h1>
|
|
<p><b><emu-xref aoid="HostCallJobCallback" id="_ref_17282"><a href="executable-code-and-execution-contexts.html#sec-hostcalljobcallback">HostCallJobCallback</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostEnqueueFinalizationRegistryCleanupJob" id="_ref_17283"><a href="executable-code-and-execution-contexts.html#sec-host-cleanup-finalization-registry">HostEnqueueFinalizationRegistryCleanupJob</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostEnqueueGenericJob" id="_ref_17284"><a href="executable-code-and-execution-contexts.html#sec-hostenqueuegenericjob">HostEnqueueGenericJob</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostEnqueuePromiseJob" id="_ref_17285"><a href="executable-code-and-execution-contexts.html#sec-hostenqueuepromisejob">HostEnqueuePromiseJob</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostEnqueueTimeoutJob" id="_ref_17286"><a href="executable-code-and-execution-contexts.html#sec-hostenqueuetimeoutjob">HostEnqueueTimeoutJob</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostEnsureCanCompileStrings" id="_ref_17287"><a href="global-object.html#sec-hostensurecancompilestrings">HostEnsureCanCompileStrings</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostFinalizeImportMeta" id="_ref_17288"><a href="ecmascript-language-expressions.html#sec-hostfinalizeimportmeta">HostFinalizeImportMeta</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostGetImportMetaProperties" id="_ref_17289"><a href="ecmascript-language-expressions.html#sec-hostgetimportmetaproperties">HostGetImportMetaProperties</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostGrowSharedArrayBuffer" id="_ref_17290"><a href="structured-data.html#sec-hostgrowsharedarraybuffer">HostGrowSharedArrayBuffer</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostHasSourceTextAvailable" id="_ref_17291"><a href="fundamental-objects.html#sec-hosthassourcetextavailable">HostHasSourceTextAvailable</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostLoadImportedModule" id="_ref_17292"><a href="ecmascript-language-scripts-and-modules.html#sec-HostLoadImportedModule">HostLoadImportedModule</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostGetSupportedImportAttributes" id="_ref_17293"><a href="ecmascript-language-scripts-and-modules.html#sec-hostgetsupportedimportattributes">HostGetSupportedImportAttributes</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostMakeJobCallback" id="_ref_17294"><a href="executable-code-and-execution-contexts.html#sec-hostmakejobcallback">HostMakeJobCallback</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostPromiseRejectionTracker" id="_ref_17295"><a href="control-abstraction-objects.html#sec-host-promise-rejection-tracker">HostPromiseRejectionTracker</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="HostResizeArrayBuffer" id="_ref_17296"><a href="structured-data.html#sec-hostresizearraybuffer">HostResizeArrayBuffer</a></emu-xref>(...)</b></p>
|
|
<p><b><emu-xref aoid="InitializeHostDefinedRealm" id="_ref_17297"><a href="executable-code-and-execution-contexts.html#sec-initializehostdefinedrealm">InitializeHostDefinedRealm</a></emu-xref>(...)</b></p>
|
|
</emu-annex>
|
|
|
|
<emu-annex id="sec-host-defined-fields-summary">
|
|
<h1><span class="secnum">D.2</span> Host-defined Fields</h1>
|
|
<p><var class="field">[[HostDefined]]</var> on <emu-xref href="#realm-record" id="_ref_17298"><a href="executable-code-and-execution-contexts.html#realm-record">Realm Records</a></emu-xref>: See <emu-xref href="#table-realm-record-fields" id="_ref_926"><a href="executable-code-and-execution-contexts.html#table-realm-record-fields">Table 19</a></emu-xref>.</p>
|
|
<p><var class="field">[[HostDefined]]</var> on <emu-xref href="#script-record" id="_ref_17299"><a href="ecmascript-language-scripts-and-modules.html#script-record">Script Records</a></emu-xref>: See <emu-xref href="#table-script-records" id="_ref_927"><a href="ecmascript-language-scripts-and-modules.html#table-script-records">Table 34</a></emu-xref>.</p>
|
|
<p><var class="field">[[HostDefined]]</var> on <emu-xref href="#sec-abstract-module-records" id="_ref_17300"><a href="ecmascript-language-scripts-and-modules.html#sec-abstract-module-records">Module Records</a></emu-xref>: See <emu-xref href="#table-module-record-fields" id="_ref_928"><a href="ecmascript-language-scripts-and-modules.html#table-module-record-fields">Table 38</a></emu-xref>.</p>
|
|
<p><var class="field">[[HostDefined]]</var> on <emu-xref href="#sec-jobcallback-records" id="_ref_17301"><a href="executable-code-and-execution-contexts.html#sec-jobcallback-records">JobCallback Records</a></emu-xref>: See <emu-xref href="#table-jobcallback-records" id="_ref_929"><a href="executable-code-and-execution-contexts.html#table-jobcallback-records">Table 23</a></emu-xref>.</p>
|
|
<p><var class="field">[[HostSynchronizesWith]]</var> on Candidate Executions: See <emu-xref href="#table-candidate-execution-records" id="_ref_930"><a href="memory-model.html#table-candidate-execution-records">Table 96</a></emu-xref>.</p>
|
|
<p><var class="field">[[IsHTMLDDA]]</var>: See <emu-xref href="#sec-IsHTMLDDA-internal-slot" id="_ref_931"><a href="additional-ecmascript-features-for-web-browsers.html#sec-IsHTMLDDA-internal-slot">B.3.6</a></emu-xref>.</p>
|
|
</emu-annex>
|
|
|
|
<emu-annex id="sec-host-defined-objects-summary">
|
|
<h1><span class="secnum">D.3</span> Host-defined Objects</h1>
|
|
<p>The <emu-xref href="#sec-global-object" id="_ref_17302"><a href="global-object.html#sec-global-object">global object</a></emu-xref>: See clause <emu-xref href="#sec-global-object" id="_ref_932"><a href="global-object.html#sec-global-object">19</a></emu-xref>.</p>
|
|
</emu-annex>
|
|
|
|
<emu-annex id="sec-host-running-jobs">
|
|
<h1><span class="secnum">D.4</span> Running Jobs</h1>
|
|
<p>Preparation steps before, and cleanup steps after, invocation of <emu-xref href="#job" id="_ref_17303"><a href="executable-code-and-execution-contexts.html#job">Job</a></emu-xref> <emu-xref href="#sec-abstract-closure" id="_ref_17304"><a href="ecmascript-data-types-and-values.html#sec-abstract-closure">Abstract Closures</a></emu-xref>. See <emu-xref href="#sec-jobs" id="_ref_933"><a href="executable-code-and-execution-contexts.html#sec-jobs">9.5</a></emu-xref>.</p>
|
|
</emu-annex>
|
|
|
|
<emu-annex id="sec-host-internal-methods-of-exotic-objects">
|
|
<h1><span class="secnum">D.5</span> Internal Methods of Exotic Objects</h1>
|
|
<p>Any of the essential internal methods in <emu-xref href="#table-essential-internal-methods" id="_ref_934"><a href="ecmascript-data-types-and-values.html#table-essential-internal-methods">Table 4</a></emu-xref> for any <emu-xref href="#exotic-object" id="_ref_17305"><a href="ecmascript-data-types-and-values.html#exotic-object">exotic object</a></emu-xref> not specified within this specification.</p>
|
|
</emu-annex>
|
|
|
|
<emu-annex id="sec-host-built-in-objects-and-methods">
|
|
<h1><span class="secnum">D.6</span> Built-in Objects and Methods</h1>
|
|
<p>Any built-in objects and methods not defined within this specification, except as restricted in <emu-xref href="#sec-forbidden-extensions" id="_ref_935"><a href="error-handling-and-language-extensions.html#sec-forbidden-extensions">17.1</a></emu-xref>.</p>
|
|
</emu-annex>
|
|
</emu-annex></div></body></html> |