-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
If we move to a micro-queue for more things, we may have some issues with window.open
in some scenarios:
test page: http://static.iamstef.net/security-open.html
This may or may not be a blocker, but figured I would drop findings so far here. So we can decide.
What is this? Turns out, there are some security features that prevent window.open
from causing a window to open in several cases. specific if it seems to be not legimately the result of a user interaction either nothing happens, or a popup blocker UI is provided.
Now, the heuristics for "legit" vs "illegitimate" window.open
attempt is abit fuzzy.
Table depicting:
sync | micro task | raf | setTimeout | |
---|---|---|---|---|
Chrome 55 | ✓ | ✓ | blocker | ✓ |
Safari 9.1.2 | ✓ | nothing | nothing | ✓ |
Safari 10 | ? | ? | ? | ? |
FF 50 | ✓ | blocker | blocker | ✓ |
IE Edge | ? | ? | ? | ? |
IE 11 | ? | ? | ? | ? |
IE 10 | ? | ? | ? | ? |
IE 9 | ? | ? | ? | ? |
?
needs to be tested
CvX and zonetw
Metadata
Metadata
Assignees
Labels
No labels