cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Víctor Oliva Vidal (JIRA) <>
Subject [jira] [Commented] (CB-9558) Blob schemes won't load in iframes
Date Wed, 26 Aug 2015 14:12:46 GMT


Víctor Oliva Vidal commented on CB-9558:

I made the pull request: [GitHub|]

> Blob schemes won't load in iframes
> ----------------------------------
>                 Key: CB-9558
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.9.0
>            Reporter: Víctor Oliva Vidal
>            Priority: Minor
> Blob schemes won't load in iframes, even though blob:* is whitelisted.
> This is needed for special cases, like when using an epub reader ([ePub.js|]),
that downloads an epub, extracts it to a blob and displays it in an iframe.
> This currently works perfectly in cordova-android, but not in cordova-ios.
> I've debugged why it happens... the Whitelists says the scheme is allowed and the URL
is allowed, but then
> {code}
> [NSURLConnection canHandleRequest]
> {code}
> returns false, thus cancelling the request. Hardcoding "blob" as an allowed scheme (like
it's currently done with mailto, tel and sms) fixes this issue. I was about to put a pull
request in github when I saw your contributing guidelines.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message