diff --git a/source b/source index ef1bff95b27..ff8f870c5c4 100644 --- a/source +++ b/source @@ -4876,6 +4876,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute data-x="">cross-origin-isolated", which has a default allowlist of 'self'. +
  • "focus-without-user-activation", which has a default allowlist of 'self'.
  • @@ -61520,6 +61524,11 @@ interface HTMLDialogElement : HTMLElement { are as follows:

      +
    1. If this algorithm is triggered without transient use + activation and the target is not allowed to use the "focus-without-user-activation" feature, + then return.

    2. +
    3. Let control be null.

    4. If subject has the autofocus @@ -80532,6 +80541,12 @@ dictionary ToggleEventInit : EventInit {

    5. If current is null, then return.

    6. +
    7. If this algorithm is triggered without transient user + activation and is not triggered by script execution from current's + ancestor navigables, and current's active document is not + allowed to use the " + focus-without-user-activation" feature, then return.

    8. +
    9. Run the focusing steps with current.

    10. If current is a top-level traversable, user agents are encouraged @@ -80551,6 +80566,12 @@ dictionary ToggleEventInit : EventInit { method on elements, when invoked, must run the following steps:

        +
      1. If this algorithm is triggered without transient user + activation and is not triggered by script execution from element's ancestor + navigables, and the element's node document is not allowed to use + the "focus-without-user-activation" + feature, then return.

      2. +
      3. If the element is marked as locked for focus, then return.

      4. Mark the element as locked for focus.

      5. @@ -80657,6 +80678,11 @@ dictionary ToggleEventInit : EventInit {
      6. If target's active sandboxing flag set has the sandboxed automatic features browsing context flag, then return.

      7. +
      8. If this algorithm is triggered without transient use + activation and the target is not allowed to use the "focus-without-user-activation" feature, + then return.

      9. +
      10. For each ancestorNavigable of target's ancestor navigables: if ancestorNavigable's active document's DragEventInit : MouseEventInit { element subject:

          +
        1. If this algorithm is triggered without transient use + activation and the target is not allowed to use the "focus-without-user-activation" feature, + then return.

        2. +
        3. If subject is a dialog element, then run the dialog focusing steps given subject and return.

        4. @@ -144394,6 +144425,7 @@ INSERT INTERFACES HERE Edward Welbourne, Edward Z. Yang, Ehsan Akhgari, + Ehsan Karamad, Eira Monstad, Eitan Adler, Eli Friedman, @@ -145032,6 +145064,7 @@ INSERT INTERFACES HERE Yu Han, Simon Spiegel, Simon Wülker, + Siye Liu, skeww, Smylers, Srirama Chandra Sekhar Mogali,