Closed
Bug 1125364
Opened 10 years ago
Closed 10 years ago
TypeError: content is null in AboutReaderListener
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 38
People
(Reporter: Margaret, Assigned: Margaret)
References
Details
Attachments
(2 files)
1.57 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
1.68 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Spotted this in the console.
*************************
A coding exception was thrown in a Promise resolution callback.
See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise
Full message: TypeError: content is null
Full stack: AboutReaderListener.handleEvent/<@chrome://browser/content/content.js:513:15
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:870:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:749:7
this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:691:37
*************************
Assignee | ||
Comment 1•10 years ago
|
||
Similarly to bug 1125396, I found this while working on browser-chrome tests. I assume that content is null if the content window was destroyed while we were off parsing the document, so I think this is also a valid error case.
(I couldn't figure out how to make dependent review board reviews, so I'm just uploading this the old school way.)
Attachment #8554039 -
Flags: review?(jaws)
Assignee | ||
Comment 2•10 years ago
|
||
This logic is also in Fennec!
I should see if there's a way we could move this logic into a shared place... maybe in ReaderMode.jsm.
Attachment #8554040 -
Flags: review?(mark.finkle)
Updated•10 years ago
|
Attachment #8554040 -
Flags: review?(mark.finkle) → review+
Updated•10 years ago
|
Attachment #8554039 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/eddbe152474e
https://hg.mozilla.org/mozilla-central/rev/0219a6e83e4b
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Updated•10 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•