Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

mozSystem parameter for window.XMLHttpRequest on FirefoxOS #2318

Closed
@colinfrei

Description

@colinfrei

To be allowed to do Cross-Domain requests in FirefoxOS you need the permission, and window.XMLHttpRequest has to be passed a constructor parameter like this:

new window.XMLHttpRequest({mozSystem: true}); 

See https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#XMLHttpRequest()

I currently patch Angular in the creatHttpBackend function to get this working, would be nice to not have to do that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions