Skip to content

GM.xmlHttpRequest not passing blob or arraybuffer responses back correctly on iOS #212

Description

@fx-chun

On iOS Userscripts, the following yields {} and undefined respectively for a given URL to a binary file:

GM.xmlHttpRequest({
                    method: "GET",
                    url: href,
                    responseType: "arraybuffer", // or blob
                    onload: function(res) {
                        console.log(res.response);
                        console.log(res.response.prototype);
                    }
})

.. whereas the same on Tampermonkey passes back a complete ArrayBuffer as part of its response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    Status
    Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions