Closed
Bug 1228282
Opened 9 years ago
Closed 9 years ago
In some configurations feed reader breaks completely
Categories
(Firefox Graveyard :: RSS Discovery and Preview, defect)
Firefox Graveyard
RSS Discovery and Preview
Tracking
(firefox43 fixed, firefox44 fixed, firefox45 fixed, b2g-v2.5 fixed)
RESOLVED
FIXED
Firefox 45
People
(Reporter: Gijs, Assigned: Gijs)
References
Details
(Keywords: regression)
Attachments
(1 file)
40 bytes,
text/x-review-board-request
|
mak
:
review+
lizzard
:
approval-mozilla-aurora+
lizzard
:
approval-mozilla-beta+
|
Details |
STR:
1. clean profile
2. set the following prefs:
browser.feeds.handler.default = "client"
browser.feeds.handlers.application = "path/to/some/app/like/Thunderbird.app(or.exe)"
3. open http://feeds.bbci.co.uk/news/rss.xml?edition=uk
ER:
see feed
AR:
Everything is broken. Errors in console:
ReferenceError: aMenuitem is not defined FeedWriter.js:639:5
Use of Mutation Events is deprecated. Use MutationObserver instead. menulist.xml:240:16
ReferenceError: aMenuitem is not defined FeedWriter.js:639:5
NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "aMenuitem is not defined" {file: "jar:file:///Applications/Firefox.app/Contents/Resources/browser/omni.ja!/components/FeedWriter.js" line: 639}]'[JavaScript Error: "aMenuitem is not defined" {file: "jar:file:///Applications/Firefox.app/Contents/Resources/browser/omni.ja!/components/FeedWriter.js" line: 639}]' when calling method: [nsIDOMGlobalPropertyInitializer::init] subscribe.js:13:0
TypeError: this._feedWriter is null
Assignee | ||
Comment 1•9 years ago
|
||
Spot what's wrong here:
https://hg.mozilla.org/mozilla-central/file/35916735b8afc5b0732e00f9aeb56bf846bba7f4/browser/components/feeds/FeedWriter.js#l646
646 _initMenuItemWithFile: function(aMenuItem, aFile) {
647 var label = this._getFileDisplayName(aFile);
648 var image = this._getFileIconURL(aFile);
649 aMenuitem.setAttribute('label', label);
650 aMenuitem.setAttribute('image', image);
651 },
I can't wait for us to have proper linting in place so we catch this kind of cruft.
Blocks: 1018062
Keywords: regression
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1228282 - fix use of aMenuItem in FeedWriter's _initMenuItemWithFile to unbreak feed reader UI, r?mak
Attachment #8692467 -
Flags: review?(mak77)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
status-firefox43:
--- → affected
status-firefox44:
--- → affected
Comment 3•9 years ago
|
||
Comment on attachment 8692467 [details]
MozReview Request: Bug 1228282 - fix use of aMenuItem in FeedWriter's _initMenuItemWithFile to unbreak feed reader UI, r?mak
https://reviewboard.mozilla.org/r/26267/#review23701
Attachment #8692467 -
Flags: review?(mak77) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8692467 [details]
MozReview Request: Bug 1228282 - fix use of aMenuItem in FeedWriter's _initMenuItemWithFile to unbreak feed reader UI, r?mak
Approval Request Comment
[Feature/regressing bug #]: bug 1018062
[User impact if declined]: feed reader completely broken in some circumstances
[Describe test coverage new/current, TreeHerder]: well, clearly the test coverage isn't good enough... but rather than testing for the specific thing here (which is likely "tricky" to get right on infra because it relies on executables existing to even hit this path) I would prefer to invest in linting. I'll post to fx-dev about it.
[Risks and why]: zero risk patch. No, seriously. Look at the patch.
[String/UUID change made/needed]: no.
Attachment #8692467 -
Flags: approval-mozilla-beta?
Attachment #8692467 -
Flags: approval-mozilla-aurora?
Comment 6•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Comment 7•9 years ago
|
||
Comment on attachment 8692467 [details]
MozReview Request: Bug 1228282 - fix use of aMenuItem in FeedWriter's _initMenuItemWithFile to unbreak feed reader UI, r?mak
Typo fIx. Please uplift thIs sImple patch to aurora and beta.
Attachment #8692467 -
Flags: approval-mozilla-beta?
Attachment #8692467 -
Flags: approval-mozilla-beta+
Attachment #8692467 -
Flags: approval-mozilla-aurora?
Attachment #8692467 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 8•9 years ago
|
||
Comment 9•9 years ago
|
||
bugherder uplift |
status-b2g-v2.5:
--- → fixed
Updated•6 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•