Closed Bug 1216480 Opened 9 years ago Closed 8 years ago

block dialogs from confirm(), print(), etc. in iframe[sandbox]

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1190641

People

(Reporter: freddy, Unassigned)

Details

(Whiteboard: [domsecurity-backlog])

Let's disallow opening modal dialogs from sandboxed iframes by default. Chrome and Edge already do this.

This should include
* `alert()`
* `confirm()`
* `prompt`
* `print()`
* `showModalDialog()`
* `beforeunload`
and possibly more?
Is this in the spec?  Should it be?
Flags: needinfo?(fbraun)
Whiteboard: [domsecurity-backlog]
(In reply to Tanvi Vyas [:tanvi] from comment #1)
> Is this in the spec?  Should it be?

Thanks Mike!  Removing freddy's needinfo.
Flags: needinfo?(fbraun)
Looks like bz is picking this up in bug 1190641.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.