Open Bug 1128124 Opened 11 years ago Updated 3 years ago

While running a Firefox build getting a Type:Error doc.documentElement is undefined in Readibility.js(411:0)

Categories

(Firefox :: General, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: shreyaslakhe, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36 Steps to reproduce: I was using the nighlty build. In nightly build opening the site 'http://www.espncricinfo.com/new-zealand-v-pakistan-2014-15/engine/match/749795.html'. It gives the following typeError Actual results: It gave a typeError: doc.documentElement is undefined(Readibility.js) Expected results: There should have been no typeError
Component: Untriaged → General
Product: Firefox → Core
Product: Core → Firefox
I can reproduce (after setting about:config pref "reader.parse-on-load.enabled" to true). Nightly 38.0a1 (2015-01-30) --> Confirming.
Version: unspecified → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
The line in question is: > this._articleDir = doc.documentElement.getAttribute("dir"); http://hg.mozilla.org/mozilla-central/annotate/d7e156a7a0a6/toolkit/components/reader/content/Readability.js#l411 hg blame says this line was added in bug 800188 --> adding dependency on that bug.
Depends on: 800188
Depends on: 1232445
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.