joseph / Monocle

A silky, tactile browser-based ebook JavaScript library.
http://monocle.inventivelabs.com.au
MIT License
743 stars 200 forks source link

Content Not getting rendered in jellybean webview using Monocle #179

Open sachinmca2005 opened 11 years ago

sachinmca2005 commented 11 years ago

I'm trying to render the content of index.htm by creating BookData Object in JellyBean webview but it is not rendering the content. It is showing a blank page with CSS loaded giving the appearance of book but no content is getting rendered.

The same is working perfectly fine in ICS and other versions of Android. Is there any limitation with jellybean webview?

buxpod commented 11 years ago

Same problem here, seems to load css correctly but non content. No prob on 4.0, it seems to happen only on 4.1.

tkminh commented 11 years ago

Yes, i have the same proble on JB 4.1.

When i check on Google Chrome on desktop, i see the error javascript here. Unsafe JavaScript attempt to access frame with URL file:///D:/MyFiles/Monocle/test/baseuris/cmpts/doc-1.html from frame with URL file:///D:/MyFiles/Monocle/test/baseuris/index.html. Domains, protocols and ports must match.

I think the google chrome not allow we use the other prototcol (Embedded Reader test), but firefox it works ok