Add flag allow-modals to iframe sandbox

Issue #14609322 • Unassigned

Details

Author
Bin L.
Created
Nov 10, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

To disallow modal dialogs by default in sandboxed iframe:
The content inside sandboxed iframe should not be able to open modal dialogs unless the “allow-modals” flag is specified.
https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-modals

Both Chrome, Firefox and Webkit (and then Safari) are supporting it now:
https://googlechrome.github.io/samples/block-modal-dialogs-sandboxed-iframe/
https://bugzilla.mozilla.org/show_bug.cgi?id=1190641
https://bugs.webkit.org/show_bug.cgi?id=171321

Related iframe sandbox keyword bugs:
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/14609256/
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/10464339/

Attachments

0 attachments

    Comments and activity

    Nothing to see here! No one has commented on this issue yet.

    You need to sign in to your Microsoft account to add a comment.

    Sign in