You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by André Fiedler <an...@me.com> on 2012/09/05 22:14:55 UTC
Received Unhandled URL data:text/html,...
Seems like PhoneGap/Cordova can´t handle data URL´s. These are required by Mozilla´s PDF.JS to render a PDF page.
Does anyone know a work around?
https://github.com/SunboX/st2_pdf_panel/issues/1
Same issue described here:
https://groups.google.com/forum/?fro...ap/EqjMcmO1Ez4
and here:
http://pastebin.com/XXUYvJQX
Re: Received Unhandled URL data:text/html,...
Posted by Andrew Grieve <ag...@chromium.org>.
done - https://issues.apache.org/jira/browse/CB-1383
On Thu, Sep 6, 2012 at 4:11 PM, Filip Maj <fi...@adobe.com> wrote:
> Thanks!
>
> On 9/6/12 1:07 PM, "Andrew Grieve" <ag...@chromium.org> wrote:
>
> >Yes we should! I'll take care of it.
> >
> >
> >On Thu, Sep 6, 2012 at 3:23 PM, Filip Maj <fi...@adobe.com> wrote:
> >
> >> We should add this test to mobile-spec!
> >>
> >> On 9/6/12 6:38 AM, "Andrew Grieve" <ag...@chromium.org> wrote:
> >>
> >> >Thanks for pointing this out Andre!
> >> >
> >> >Confirmed that this is a white-list related error on both iOS and
> >> >Android. I imagine we want to always allow data URIs through the
> >> >whitelist.
> >> >
> >> >Created issues:
> >> >
> >> >https://issues.apache.org/jira/browse/CB-1379
> >> >https://issues.apache.org/jira/browse/CB-1380
> >> >
> >> >
> >> >Should be an easy fix and you should be able to patch in the code
> >>change
> >> >when we fix it.
> >> >
> >> >These are the only two platforms I know how to test. Are there other
> >> >platforms that you've found this to be a problem on?
> >> >
> >> >
> >> >On Wed, Sep 5, 2012 at 4:58 PM, André Fiedler <an...@me.com>
> >> >wrote:
> >> >
> >> >> This Test Case will fail in PhoneGap/Cordova:
> >> >>
> >> >> https://gist.github.com/3644626
> >> >>
> >> >>
> >> >> Am 05.09.2012 um 22:14 schrieb André Fiedler <an...@me.com>:
> >> >>
> >> >> > Seems like PhoneGap/Cordova can´t handle data URL´s. These are
> >> >>required
> >> >> by Mozilla´s PDF.JS to render a PDF page.
> >> >> >
> >> >> > Does anyone know a work around?
> >> >> >
> >> >> > https://github.com/SunboX/st2_pdf_panel/issues/1
> >> >> >
> >> >> > Same issue described here:
> >> >> > https://groups.google.com/forum/?fro...ap/EqjMcmO1Ez4
> >> >> > and here:
> >> >> > http://pastebin.com/XXUYvJQX
> >> >>
> >> >>
> >>
> >>
>
>
Re: Received Unhandled URL data:text/html,...
Posted by Filip Maj <fi...@adobe.com>.
Thanks!
On 9/6/12 1:07 PM, "Andrew Grieve" <ag...@chromium.org> wrote:
>Yes we should! I'll take care of it.
>
>
>On Thu, Sep 6, 2012 at 3:23 PM, Filip Maj <fi...@adobe.com> wrote:
>
>> We should add this test to mobile-spec!
>>
>> On 9/6/12 6:38 AM, "Andrew Grieve" <ag...@chromium.org> wrote:
>>
>> >Thanks for pointing this out Andre!
>> >
>> >Confirmed that this is a white-list related error on both iOS and
>> >Android. I imagine we want to always allow data URIs through the
>> >whitelist.
>> >
>> >Created issues:
>> >
>> >https://issues.apache.org/jira/browse/CB-1379
>> >https://issues.apache.org/jira/browse/CB-1380
>> >
>> >
>> >Should be an easy fix and you should be able to patch in the code
>>change
>> >when we fix it.
>> >
>> >These are the only two platforms I know how to test. Are there other
>> >platforms that you've found this to be a problem on?
>> >
>> >
>> >On Wed, Sep 5, 2012 at 4:58 PM, André Fiedler <an...@me.com>
>> >wrote:
>> >
>> >> This Test Case will fail in PhoneGap/Cordova:
>> >>
>> >> https://gist.github.com/3644626
>> >>
>> >>
>> >> Am 05.09.2012 um 22:14 schrieb André Fiedler <an...@me.com>:
>> >>
>> >> > Seems like PhoneGap/Cordova can´t handle data URL´s. These are
>> >>required
>> >> by Mozilla´s PDF.JS to render a PDF page.
>> >> >
>> >> > Does anyone know a work around?
>> >> >
>> >> > https://github.com/SunboX/st2_pdf_panel/issues/1
>> >> >
>> >> > Same issue described here:
>> >> > https://groups.google.com/forum/?fro...ap/EqjMcmO1Ez4
>> >> > and here:
>> >> > http://pastebin.com/XXUYvJQX
>> >>
>> >>
>>
>>
Re: Received Unhandled URL data:text/html,...
Posted by Andrew Grieve <ag...@chromium.org>.
Yes we should! I'll take care of it.
On Thu, Sep 6, 2012 at 3:23 PM, Filip Maj <fi...@adobe.com> wrote:
> We should add this test to mobile-spec!
>
> On 9/6/12 6:38 AM, "Andrew Grieve" <ag...@chromium.org> wrote:
>
> >Thanks for pointing this out Andre!
> >
> >Confirmed that this is a white-list related error on both iOS and
> >Android. I imagine we want to always allow data URIs through the
> >whitelist.
> >
> >Created issues:
> >
> >https://issues.apache.org/jira/browse/CB-1379
> >https://issues.apache.org/jira/browse/CB-1380
> >
> >
> >Should be an easy fix and you should be able to patch in the code change
> >when we fix it.
> >
> >These are the only two platforms I know how to test. Are there other
> >platforms that you've found this to be a problem on?
> >
> >
> >On Wed, Sep 5, 2012 at 4:58 PM, André Fiedler <an...@me.com>
> >wrote:
> >
> >> This Test Case will fail in PhoneGap/Cordova:
> >>
> >> https://gist.github.com/3644626
> >>
> >>
> >> Am 05.09.2012 um 22:14 schrieb André Fiedler <an...@me.com>:
> >>
> >> > Seems like PhoneGap/Cordova can´t handle data URL´s. These are
> >>required
> >> by Mozilla´s PDF.JS to render a PDF page.
> >> >
> >> > Does anyone know a work around?
> >> >
> >> > https://github.com/SunboX/st2_pdf_panel/issues/1
> >> >
> >> > Same issue described here:
> >> > https://groups.google.com/forum/?fro...ap/EqjMcmO1Ez4
> >> > and here:
> >> > http://pastebin.com/XXUYvJQX
> >>
> >>
>
>
Re: Received Unhandled URL data:text/html,...
Posted by Filip Maj <fi...@adobe.com>.
We should add this test to mobile-spec!
On 9/6/12 6:38 AM, "Andrew Grieve" <ag...@chromium.org> wrote:
>Thanks for pointing this out Andre!
>
>Confirmed that this is a white-list related error on both iOS and
>Android. I imagine we want to always allow data URIs through the
>whitelist.
>
>Created issues:
>
>https://issues.apache.org/jira/browse/CB-1379
>https://issues.apache.org/jira/browse/CB-1380
>
>
>Should be an easy fix and you should be able to patch in the code change
>when we fix it.
>
>These are the only two platforms I know how to test. Are there other
>platforms that you've found this to be a problem on?
>
>
>On Wed, Sep 5, 2012 at 4:58 PM, André Fiedler <an...@me.com>
>wrote:
>
>> This Test Case will fail in PhoneGap/Cordova:
>>
>> https://gist.github.com/3644626
>>
>>
>> Am 05.09.2012 um 22:14 schrieb André Fiedler <an...@me.com>:
>>
>> > Seems like PhoneGap/Cordova can´t handle data URL´s. These are
>>required
>> by Mozilla´s PDF.JS to render a PDF page.
>> >
>> > Does anyone know a work around?
>> >
>> > https://github.com/SunboX/st2_pdf_panel/issues/1
>> >
>> > Same issue described here:
>> > https://groups.google.com/forum/?fro...ap/EqjMcmO1Ez4
>> > and here:
>> > http://pastebin.com/XXUYvJQX
>>
>>
Re: Received Unhandled URL data:text/html,...
Posted by Andrew Grieve <ag...@chromium.org>.
Thanks for pointing this out Andre!
Confirmed that this is a white-list related error on both iOS and
Android. I imagine we want to always allow data URIs through the whitelist.
Created issues:
https://issues.apache.org/jira/browse/CB-1379
https://issues.apache.org/jira/browse/CB-1380
Should be an easy fix and you should be able to patch in the code change
when we fix it.
These are the only two platforms I know how to test. Are there other
platforms that you've found this to be a problem on?
On Wed, Sep 5, 2012 at 4:58 PM, André Fiedler <an...@me.com> wrote:
> This Test Case will fail in PhoneGap/Cordova:
>
> https://gist.github.com/3644626
>
>
> Am 05.09.2012 um 22:14 schrieb André Fiedler <an...@me.com>:
>
> > Seems like PhoneGap/Cordova can´t handle data URL´s. These are required
> by Mozilla´s PDF.JS to render a PDF page.
> >
> > Does anyone know a work around?
> >
> > https://github.com/SunboX/st2_pdf_panel/issues/1
> >
> > Same issue described here:
> > https://groups.google.com/forum/?fro...ap/EqjMcmO1Ez4
> > and here:
> > http://pastebin.com/XXUYvJQX
>
>
Re: Received Unhandled URL data:text/html,...
Posted by André Fiedler <an...@me.com>.
This Test Case will fail in PhoneGap/Cordova:
https://gist.github.com/3644626
Am 05.09.2012 um 22:14 schrieb André Fiedler <an...@me.com>:
> Seems like PhoneGap/Cordova can´t handle data URL´s. These are required by Mozilla´s PDF.JS to render a PDF page.
>
> Does anyone know a work around?
>
> https://github.com/SunboX/st2_pdf_panel/issues/1
>
> Same issue described here:
> https://groups.google.com/forum/?fro...ap/EqjMcmO1Ez4
> and here:
> http://pastebin.com/XXUYvJQX