From d5ab88f678052a6470f510ff94626c0798764156 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 5 Jul 2015 20:11:39 -0700 Subject: [PATCH] Note JS Blocker issues so we can remove the workaround when it's fixed. --- src/General/CrossOrigin.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/General/CrossOrigin.coffee b/src/General/CrossOrigin.coffee index 0bb47a77f..14ea199a4 100644 --- a/src/General/CrossOrigin.coffee +++ b/src/General/CrossOrigin.coffee @@ -49,6 +49,7 @@ CrossOrigin = do -> else data = new Uint8Array xhr.response if typeof xhr.responseHeaders is 'object' + # XXX https://github.com/infernoboy/JavaScript-Blocker/issues/35 contentType = xhr.responseHeaders['Content-Type'] contentDisposition = xhr.responseHeaders['Content-Disposition'] else @@ -60,6 +61,7 @@ CrossOrigin = do -> onabort: -> cb null if workaround + # XXX https://github.com/infernoboy/JavaScript-Blocker/issues/35 options.overrideMimeType = options.mimeType = 'text/plain; charset=x-user-defined' else options.responseType = 'arraybuffer'