diff --git a/source b/source index e8aed324d00..8c49418adf4 100644 --- a/source +++ b/source @@ -3009,7 +3009,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The HostEnqueuePromiseJob abstract operation
  • The HostEnqueueTimeoutJob abstract operation
  • The HostEnsureCanAddPrivateElement abstract operation
  • -
  • The HostEnsureCanCompileStrings abstract operation
  • The HostLoadImportedModule abstract operation
  • The HostMakeJobCallback abstract operation
  • The HostPromiseRejectionTracker abstract operation
  • @@ -3072,6 +3071,15 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The TypedArray Constructors table
  • +

    Users agents that support JavaScript must also implement the Dynamic Code Brand + Checks proposal. The following terms are defined there, and used in this specification: + JSDYNAMICCODEBRANDCHECKS

    + + +

    Users agents that support JavaScript must also implement ECMAScript Internationalization API. JSINTL

    @@ -4613,6 +4621,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • TrustedHTML
  • data
  • TrustedScript
  • +
  • data
  • TrustedScriptURL
  • Get Trusted Type compliant string
  • @@ -108912,18 +108921,39 @@ dictionary PromiseRejectionEventInit : EventInit -
    HostEnsureCanCompileStrings(realm)
    +
    HostEnsureCanCompileStrings(realm, + parameterStrings, bodyString, codeString, compilationType, + parameterArgs, bodyArg)

    JavaScript contains an implementation-defined HostEnsureCanCompileStrings(realm) - abstract operation. User agents must use the following implementation: JAVASCRIPT + data-x="js-HostEnsureCanCompileStrings">HostEnsureCanCompileStrings abstract operation, + redefined by the Dynamic Code Brand Checks proposal. User agents must use + the following implementation: JAVASCRIPT JSDYNAMICCODEBRANDCHECKS

    1. Perform ? EnsureCSPDoesNotBlockStringCompilation(realm). + data-x="csp-EnsureCSPDoesNotBlockStringCompilation">EnsureCSPDoesNotBlockStringCompilation(realm, + parameterStrings, bodyString, codeString, + compilationType, parameterArgs, bodyArg). CSP

    +
    HostGetCodeForEval(argument)
    + +

    The Dynamic Code Brand Checks proposal contains an + implementation-defined HostGetCodeForEval(argument) abstract operation. + User agents must use the following implementation: JSDYNAMICCODEBRANDCHECKS + +

      +
    1. If argument is a TrustedScript object, + then return argument's data.

    2. + +
    3. Otherwise, return no-code.

    4. +
    +
    HostPromiseRejectionTracker(promise, operation)

    JavaScript contains an implementation-defined DOMParserSupportedType {

  • Assert: handler is a string.

  • Perform HostEnsureCanCompileStrings(realm). - If this throws an exception, catch it, report the exception, and abort these - steps.

  • + data-x="csp-EnsureCSPDoesNotBlockStringCompilation">EnsureCSPDoesNotBlockStringCompilation
    (realm, + « », handler, handler, timer, « », handler). If this throws + an exception, catch it, report the exception, and abort these steps.

    +
  • Let settings object be global's relevant settings object.

  • @@ -143177,6 +143208,9 @@ INSERT INTERFACES HERE
    [JSERRORSTACKS]
    (Non-normative) Error Stacks. Ecma International.
    +
    [JSDYNAMICCODEBRANDCHECKS]
    +
    Dynamic code brand checks. Ecma International.
    +
    [JSIMPORTATTRIBUTES]
    Import attributes. Ecma International.