Skip to content
This repository was archived by the owner on Sep 20, 2019. It is now read-only.
This repository was archived by the owner on Sep 20, 2019. It is now read-only.

Make throttling attachedCallback when using MutationObserver polyfill an option #416

@kevinpschaaf

Description

@kevinpschaaf

Currently when the MutationObserver polyfill is used, attached callbacks are throttled using setTimeout in an attempt to avoid flakiness around DOM mutation events (which the polyfills relies on) which are thought to be related to bugs when IE is under heavy DOM operations, although we have failed to recreate the "flakiness" in recent time.

Since using setTimeout makes it very difficult to reason about the completion of async tasks (as opposed to async tasks using microtask timing, which makes it somewhat easier to reason about), we are planning to disable that behavior, but make the setTimeout throttling an option so it can be used in emergency.

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