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:
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.
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:
+ +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.
Return false.
To set the allow* flags for a Document
document means to
+ run these steps:
If document's browsing context has a
+ browsing context container that is an iframe
element, let
+ iframe be that element. Otherwise, abort these steps.
If iframe has an allowpaymentrequest
attribute specified, then
+ set the allowpaymentrequest flag on document.
If iframe has an allowusermedia
attribute specified, then set the
+ allowusermedia flag on document.
Implement the sandboxing for document.
Set the allow* flags for document.
Set settingsObject's execution ready flag.
Implement the sandboxing for the Document
.
Set the allow* flags for the Document
.
Set settingsObject's execution ready flag.