From accb001b2c8a8aa7e8538467816a4b44e4d314ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Tue, 4 Nov 2025 18:07:20 +0100 Subject: [PATCH] Editorial: link directly to a Trusted Types algorithm (not section) This also aligns the capitalization with the capitalization in the Trusted Types spec. --- source | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/source b/source index 3a0d3fcc078..8f9a57dbdc8 100644 --- a/source +++ b/source @@ -4789,7 +4789,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • TrustedScript
  • data
  • TrustedScriptURL
  • -
  • Get Trusted Type compliant string
  • +
  • get trusted type compliant string
  • @@ -35429,7 +35429,7 @@ interface HTMLIFrameElement : HTMLElement {
    1. Let compliantString be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedHTML, this's relevant global object, the given value, "HTMLIFrameElement srcdoc", and "script".

    2. @@ -123416,7 +123416,7 @@ document.body.appendChild(frame)
    3. If isTrusted is false, set string to the result of invoking the - Get Trusted Type compliant string algorithm with + get trusted type compliant string algorithm with TrustedHTML, this's relevant global object, string, sink, and "script".

    4. @@ -123605,7 +123605,7 @@ enum DOMParserSupportedType {
      1. Let compliantString be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedHTML, this's relevant global object, string, "DOMParser parseFromString", and "script".

      2. @@ -123751,7 +123751,7 @@ enum DOMParserSupportedType {
        1. Let compliantHTML be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedHTML, this's relevant global object, html, "Element setHTMLUnsafe", and "script".

        2. @@ -123771,7 +123771,7 @@ enum DOMParserSupportedType {
          1. Let compliantHTML be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedHTML, this's relevant global object, html, "ShadowRoot setHTMLUnsafe", and "script".

          2. @@ -123809,7 +123809,7 @@ enum DOMParserSupportedType {
            1. Let compliantHTML be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedHTML, this's relevant global object, html, "Document parseHTMLUnsafe", and "script".

            2. @@ -123984,7 +123984,7 @@ enum DOMParserSupportedType {
              1. Let compliantString be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedHTML, this's relevant global object, the given value, "Element innerHTML", and "script".

              2. @@ -124015,7 +124015,7 @@ enum DOMParserSupportedType {
                1. Let compliantString be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedHTML, this's relevant global object, the given value, "ShadowRoot innerHTML", and "script".

                2. @@ -124083,7 +124083,7 @@ enum DOMParserSupportedType {
                  1. Let compliantString be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedHTML, this's relevant global object, the given value, "Element outerHTML", and "script".

                  2. @@ -124160,7 +124160,7 @@ enum DOMParserSupportedType {
                    1. Let compliantString be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedHTML, this's relevant global object, string, "Element insertAdjacentHTML", and "script".

                    2. @@ -124586,7 +124586,7 @@ interface XMLSerializer { methodName.

                    3. Set handler to the result of invoking the Get Trusted Type compliant string algorithm with + data-x="tt-getcompliantstring">get trusted type compliant string algorithm with TrustedScript, global, handler, sink, and "script".

                    @@ -131119,7 +131119,7 @@ enum WorkerType { "classic", "module" };
                    1. Let compliantScriptURL be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedScriptURL, this's relevant global object, scriptURL, "Worker constructor", and "script".

                    2. @@ -131244,7 +131244,7 @@ interface SharedWorker : EventTarget {
                      1. Let compliantScriptURL be the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedScriptURL, this's relevant global object, scriptURL, "SharedWorker constructor", and "script".

                      2. @@ -131482,7 +131482,7 @@ interface SharedWorker : EventTarget {
                        1. Append the result of invoking the Get Trusted Type compliant string algorithm with get trusted type compliant string algorithm with TrustedScriptURL, this's relevant global object, url, "WorkerGlobalScope importScripts", and "script" to urlStrings.