Closed Bug 1144680 Opened 10 years ago Closed 10 years ago

The Reading List button from the Location Bar is available for in-content pages

Categories

(Firefox Graveyard :: Reading List, defect)

39 Branch
defect
Not set
normal

Tracking

(firefox38 verified, firefox39 verified)

VERIFIED FIXED
Firefox 39
Tracking Status
firefox38 --- verified
firefox39 --- verified

People

(Reporter: avaida, Assigned: florian)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Reproducible on: Nightly 39.0a1 (2015-03-18) Affected platforms: Ubuntu 14.04 (x64), Windows 7 (x64), Mac OS X 10.9.5. Preconditions: * browser.readinglist.enabled = true Steps to reproduce: 1. Launch Firefox. 2. Access an in-content page, (e.g.) about:preferences. 3. Check the Location Bar. Expected result: There's no "Add page to Reading List" button displayed in the Location Bar for this type of pages. Actual result: * The "Add page to Reading List" button is displayed in the Location Bar for in-content pages too. * Clicking the button does nothing and has no visual feedback for the end user. * Clicking the button results in the following error getting thrown in the Browser Console: > TypeError: document.getItems is not a function PageMetadata.jsm:125:39
Flags: qe-verify+
Attached patch Patch (obsolete) (deleted) — Splinter Review
This patch also fixes bug 1144684.
Assignee: nobody → florian
Status: NEW → ASSIGNED
Attachment #8580252 - Flags: review?(mhammond)
Hi Florian, can you provide a point value.
Iteration: --- → 39.2 - 23 Mar
Flags: needinfo?(florian)
Flags: firefox-backlog+
Points: --- → 3
Flags: needinfo?(florian)
Comment on attachment 8580252 [details] [diff] [review] Patch Review of attachment 8580252 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/base/content/browser-readinglist.js @@ +279,5 @@ > */ > togglePageByBrowser: Task.async(function* (browser) { > + let uri = browser.currentURI; > + if (uri.spec.startsWith("about:reader?")) > + uri = ReaderParent.parseReaderUrl(uri.spec); check null here
Attachment #8580252 - Flags: review?(mhammond) → review+
Attached file Patch v2 (deleted) —
Null check added.
Attachment #8580252 - Attachment is obsolete: true
Attachment #8580267 - Flags: review+
Blocks: 1132074
QA Contact: andrei.vaida
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Verified fixed on Nightly 39.0a1 (2015-03-23), using Ubuntu 14.04 (x64), Mac OS X 10.9.5 and Windows 7 (x64), with all the pages listed in about:about. Please note that Reader View is still available across platforms for the about:credits page, which redirects the user to https://www.mozilla.org/credits/. I think that's expected - Florian, what's your take on this?
Status: RESOLVED → VERIFIED
Flags: needinfo?(florian)
(In reply to Andrei Vaida, QA [:avaida] from comment #7) > Please note that Reader View is still available across platforms for the > about:credits page, which redirects the user to > https://www.mozilla.org/credits/. I think that's expected - Florian, what's > your take on this? Seems fine to me; thanks for checking! :)
Flags: needinfo?(florian)
Verified fixed on Aurora 38.0a2 (2015-03-29) as well, using Windows 7 (x64), Ubuntu 14.04 (x64) and Mac OS X 10.9.5, with all the pages from about:about.
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: