Skip to content

Synchronous XMLHttpRequest on the main thread is deprecated #2384

@nitriques

Description

@nitriques

When running less.js in Chrome Canary (39.0.2171.95) I get a warning in the console

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

We are running into the same problem in Firefox and IE: there is a big FOUC while less is downloading files.

Is there a way to prevent this ? I understand the rationale of the deprecation, but for devs, it's still needed...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions