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)
Tracking
(firefox38 verified, firefox39 verified)
VERIFIED
FIXED
Firefox 39
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+
Assignee | ||
Comment 1•10 years ago
|
||
This patch also fixes bug 1144684.
Comment 2•10 years ago
|
||
Hi Florian, can you provide a point value.
Iteration: --- → 39.2 - 23 Mar
Flags: needinfo?(florian)
Flags: firefox-backlog+
Assignee | ||
Updated•10 years ago
|
Points: --- → 3
Flags: needinfo?(florian)
Comment 3•10 years ago
|
||
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+
Assignee | ||
Comment 4•10 years ago
|
||
Null check added.
Attachment #8580252 -
Attachment is obsolete: true
Attachment #8580267 -
Flags: review+
Assignee | ||
Comment 5•10 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Reporter | ||
Updated•10 years ago
|
QA Contact: andrei.vaida
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Reporter | ||
Comment 7•10 years ago
|
||
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?
Assignee | ||
Comment 8•10 years ago
|
||
(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)
Comment 9•10 years ago
|
||
status-firefox38:
--- → fixed
Reporter | ||
Comment 10•10 years ago
|
||
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.
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•