diff --git a/source b/source index f5f93fd5276..7a4eae7d2fa 100644 --- a/source +++ b/source @@ -28615,14 +28615,55 @@ interface HTMLIFrameElement : HTMLElement {
  • If document's browsing context is a top-level browsing context, then return true.

  • -
  • If document's browsing context has a - browsing context container that is an iframe element with an - allowattribute attribute specified, and whose node document is - allowed to use the feature indicated by allowattribute, then return - true.

  • +
  • +

    If allowattribute is allowfullscreen, then follow these substeps:

    + +
      +
    1. If document's browsing context has + a browsing context container that is an iframe element with an + allowattribute attribute specified, and whose node document is + allowed to use the feature indicated by allowattribute, then return + true.

    2. +
    + +

    This step is legacy behavior for the allowfullscreen attribute that should not be used + for new features. If possible this will be removed, see issue 2143.

    +
  • + +
  • +

    Otherwise, follow these substeps:

    + +
      +
    1. If document has the allowattribute flag set, and + document's browsing context has a + browsing context container that is an iframe element whose + node document is allowed to use the feature indicated by + allowattribute, then return true.

    2. +
    +
  • Return false.

  • + +

    To set the allow* flags for a Document document means to + run these steps:

    + +
      +
    1. If document's browsing context has a + browsing context container that is an iframe element, let + iframe be that element. Otherwise, abort these steps.

    2. + +
    3. If iframe has an allowpaymentrequest attribute specified, then + set the allowpaymentrequest flag on document.

    4. + +
    5. If iframe has an allowusermedia attribute specified, then set the + allowusermedia flag on document.

    6. +

    @@ -76907,6 +76948,8 @@ dictionary DragEventInit : MouseEventInit {
  • Implement the sandboxing for document.

  • +
  • Set the allow* flags for document.

  • +
  • Set settingsObject's execution ready flag.

  • @@ -82163,6 +82206,8 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O
  • Implement the sandboxing for the Document.

  • +
  • Set the allow* flags for the Document.

  • +
  • Set settingsObject's execution ready flag.