Open
Bug 957912
Opened 10 years ago
Updated 3 years ago
Images don't load when using Reader Mode on local pages with images
Categories
(Toolkit :: Reader Mode, defect, P5)
Toolkit
Reader Mode
Tracking
()
NEW
People
(Reporter: sohkamyung, Unassigned)
References
Details
(Whiteboard: [reader-mode-firefox-integration])
User Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 20140108004006 Steps to reproduce: I use custom wget scripts to grab web pages and then store it on my Android Table for offline viewing. I then use Readability Mode to read the offline web pages. My Android Device info: Model: Nexus 7 (2012 Edition) Android Version: 4.4.2 Build Number: KOT49H Actual results: Images that display properly in offline web view do not appear in readability mode. Running adb logcat shows the following errors: ===== E/GeckoConsole(13203): AboutReader: Init() E/GeckoConsole(13203): AboutReader: Feching toolbar, header and content notes from about:reader E/GeckoConsole(13203): AboutReader: Decoding query arguments E/GeckoConsole(13203): AboutReader: Loading from tab with ID: 0, URL: file:///storage/emulated/legacy/Local/Offline/www.nature.com/news/us-cold-snap-fuels-climate-debate-1.14485.html E/GeckoConsole(13203): Security Error: Content at about:reader?url=file%3A%2F%2F%2Fstorage%2Femulated%2Flegacy%2FLocal%2FOffline%2Fwww.nature.com%2Fnews%2Fus-cold-snap-fuels-climate-debate-1.14485.html&tabId=0 may not load or link to file:///storage/emulated/legacy/Local/Offline/www.nature.com/news/us-cold-snap-fuels-climate-debate-1.14485.html. E/GeckoConsole(13203): Security Error: Content at moz-nullprincipal:{b6033932-a63c-4c23-9785-4e93a3c17222} may not load or link to file:///storage/emulated/legacy/Local/Offline/www.nature.com/news/us-cold-snap-fuels-climate-debate-1.14485.html. [...] E/GeckoConsole(13203): Security Error: Content at about:reader?url=file%3A%2F%2F%2Fstorage%2Femulated%2Flegacy%2FLocal%2FOffline%2Fwww.nature.com%2Fnews%2Fus-cold-snap-fuels-climate-debate-1.14485.html&tabId=0 may not load or link to file:///storage/emulated/legacy/Local/Offline/www.nature.com/polopoly_fs/7.14750.1389215913%21/image/1.14485.jpg_gen/derivatives/landscape_630/1.14485.jpg. E/GeckoConsole(13203): Security Error: Content at about:reader?url=file%3A%2F%2F%2Fstorage%2Femulated%2Flegacy%2FLocal%2FOffline%2Fwww.nature.com%2Fnews%2Fus-cold-snap-fuels-climate-debate-1.14485.html&tabId=0 may not load or link to file:///storage/emulated/legacy/Local/Offline/www.nature.com/polopoly_fs/7.14750.1389215913%21/image/1.14485.jpg_gen/derivatives/landscape_630/1.14485.jpg. [...] ===== Expected results: Images that display properly in offline web view to appear in readability mode
Reporter | ||
Updated•10 years ago
|
OS: Linux → Android
Hardware: x86 → ARM
Comment 1•10 years ago
|
||
We natively support offline viewing once you've initially viewed and added the item to your reading list. Is there a reason you're saving locally? It's possible that the HTML you've saved is trying to do a network request to a server to fetch those pictures.
Reporter | ||
Comment 2•10 years ago
|
||
My workflow: 1. Use wget to download a bunch of links and store them on my local PC in a folder. The script also locally saves images I want (disallow ad images) 2. Connect my tablet, copy the folder to my tablet 3. View the links in the folder using Firefox via file:/// I am not constantly connected to the network, so I usually save the web links when I'm connected, then read offline. I do not believe the HTML is doing a network request to fetch the pictures. If I view the web page in Firefox in normal mode, I can see the images. If I then tap the Readability Icon to reformat the web page, the images are replaced with 'broken link' placeholders. Also, the logcat Security Error messages refer to file:/// URLs
Updated•10 years ago
|
Component: Readability → Reader Mode
Product: Firefox for Android → Toolkit
Version: Firefox 28 → unspecified
This bug doesn't just apply to "Platform: ARM Android", it has been merged with a similar issue for Firefox on PCs.
Uh, or so I thought, sorry. Clicked the wrong link in <https://bugzilla.mozilla.org/show_bug.cgi?id=1166829>.
Updated•8 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•8 years ago
|
Whiteboard: [reader-mode-firefox-integration]
Updated•3 years ago
|
Summary: Security Error encountered when accessing local storage in Readability Mode → Images don't load when using Reader Mode on local files
Updated•3 years ago
|
Severity: normal → S4
OS: Android → All
Hardware: ARM → All
Summary: Images don't load when using Reader Mode on local files → Images don't load when using Reader Mode on local pages with images
Version: unspecified → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•