Skip to content

Moving to micro-task for stuff #181

@stefanpenner

Description

@stefanpenner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions