Closed
Bug 1230087
Opened 9 years ago
Closed 9 years ago
updateReaderButton: tab-content.js, line 337: TypeError: content is null
Categories
(Firefox Graveyard :: Reading List, defect)
Firefox Graveyard
Reading List
Tracking
(firefox45 affected, firefox46 fixed)
RESOLVED
FIXED
Firefox 46
People
(Reporter: jruderman, Assigned: jaws)
Details
(Keywords: testcase)
Attachments
(2 files)
284 bytes,
text/html
|
Details | |
1.10 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
JavaScript error: chrome://browser/content/tab-content.js, line 337: TypeError: content is null In bug 1186346, a null check for |content| was added to |get isAboutReader|. Should |updateReaderButton| be fixed in the same way? > /** > * NB: this function will update the state of the reader button asynchronously > * after the next mozAfterPaint call (assuming reader mode is enabled and > * this is a suitable document). Calling it on things which won't be > * painted is not going to work. > */ > updateReaderButton: function(forceNonArticle) { > if (!ReaderMode.isEnabledForParseOnLoad || this.isAboutReader || > !(content.document instanceof content.HTMLDocument) || > content.document.mozSyntheticDocument) { > return; > } > > this.scheduleReadabilityCheckPostPaint(forceNonArticle); > },
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(jaws)
Assignee | ||
Comment 1•9 years ago
|
||
Apologies for the poor commit message, couldn't think of anything more descriptive.
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Flags: needinfo?(jaws)
Attachment #8698100 -
Flags: review?(gijskruitbosch+bugs)
Updated•9 years ago
|
Attachment #8698100 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 3•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5ce3cd508888
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•