Closed
Bug 1292903
Opened 8 years ago
Closed 8 years ago
Fennec crashes with about:reader;https://www.1843magazine.com/features/minds-turned-to-ash
Categories
(Firefox for Android Graveyard :: General, defect, P1)
Tracking
(firefox48 affected, firefox49 ?, fennec51+, firefox50 affected, firefox51 verified)
RESOLVED
FIXED
Firefox 51
People
(Reporter: jrmuizel, Assigned: ahunt)
Details
Attachments
(2 files)
STR: Load https://www.1843magazine.com/features/minds-turned-to-ash append 'about:reader;' to https://www.1843magazine.com/features/minds-turned-to-ash and load that. Fennec crashes. https://crash-stats.mozilla.com/report/index/1b012fdf-fe30-4974-b4e9-2b1262160806
Updated•8 years ago
|
tracking-fennec: --- → ?
status-firefox48:
--- → ?
status-firefox49:
--- → ?
status-firefox50:
--- → ?
status-firefox51:
--- → affected
OS: Unspecified → Android
Priority: -- → P1
Hardware: Unspecified → All
Comment 1•8 years ago
|
||
@ahunt: Can you take a look? I assume that stripAboutReaderURL() doesn't work correctly if some parts of an about:reader URL are missing.
Flags: needinfo?(ahunt)
Hey. Just for some context, this is one of those irritating sites that covers the article text with a CSS blank box if one has JS enabled (which I've been increasingly doing on mobile due to 3rd party advertiser tracking, hostile 3rd party code, and to save bandwidth/battery). So I thought I'd try typing in the about:reader url manually since there's no way to force it on for a website. I need to look into addons to see if there's an addon to force reader mode, or possibly just force off CSS for a website. Given this article is perfectly readable in w3m, I'm guessing forcing CSS off would do the trick.
Assignee | ||
Comment 4•8 years ago
|
||
Wow, we definitely shouldn't crash in this case, I'll try to fix this. JFYI the expected syntax is about:reader?url=URL.
Assignee: nobody → ahunt
Flags: needinfo?(ahunt)
Comment hidden (mozreview-request) |
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8779418 [details] Bug 1292903 - Use stripAboutReaderUrl in ToolbarDisplayLayout to avoid crashing on malformed about:reader URLs https://reviewboard.mozilla.org/r/70418/#review67686 ::: mobile/android/base/java/org/mozilla/gecko/reader/ReaderModeUtils.java:15 (Diff revision 1) > import android.net.Uri; > > public class ReaderModeUtils { > private static final String LOGTAG = "ReaderModeUtils"; > > public static String getUrlFromAboutReader(String aboutReaderUrl) { It looks like this is exactly what stripAboutReaderUrl() is doing. Maybe we should just call this one from ToolbarDisplayLayout?
Attachment #8779418 -
Flags: review?(s.kaspari)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8779418 [details] Bug 1292903 - Use stripAboutReaderUrl in ToolbarDisplayLayout to avoid crashing on malformed about:reader URLs https://reviewboard.mozilla.org/r/70418/#review68070
Attachment #8779418 -
Flags: review?(s.kaspari) → review+
Comment 10•8 years ago
|
||
mozreview-review |
Comment on attachment 8779793 [details] Bug 1292903 - Add comment explaining getUrlFromAboutReader https://reviewboard.mozilla.org/r/70724/#review68072
Attachment #8779793 -
Flags: review?(s.kaspari) → review+
tracking-fennec: ? → 51+
Comment 11•8 years ago
|
||
Pushed by ahunt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ad9a908a7489 Use stripAboutReaderUrl in ToolbarDisplayLayout to avoid crashing on malformed about:reader URLs r=sebastian https://hg.mozilla.org/integration/autoland/rev/808e3ed40d6c Add comment explaining getUrlFromAboutReader r=sebastian
Comment 12•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ad9a908a7489 https://hg.mozilla.org/mozilla-central/rev/808e3ed40d6c
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Comment 13•8 years ago
|
||
Verified as fixed using: Device: One A2001 (Android 5.1.1) Build: Firefox for Android 51.0a1 (2016-08-18) I can reproduce the crash on latest Aurora and Firefox for Android 48.0. On Firefox for Android 49 Beta 4, after adding about:reader to the link, Firefox becomes unresponsive, but does not crash:http://i.imgur.com/gEDoHCK.png As you can see, the three dot menu is hidden. Tapping the URL Bar does nothing.
Updated•8 years ago
|
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•