Closed Bug 765330 Opened 12 years ago Closed 12 years ago

javascript warning: variable redeclaration

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 16

People

(Reporter: kats, Unassigned)

Details

Attachments

(1 file)

06-15 18:56:58.829 E/GeckoConsole(22864): [JavaScript Warning: "TypeError: variable article redeclares argument" {file: "chrome://browser/content/browser.js" line: 5504 column: 12 source: "        let article = readability.parse();

"article" is an argument to the closure passed to "this.getArticleFromCache", but then there is a line of code "let article = ..." that redefines it.
Attachment #633981 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/mozilla-central/rev/c4bca70f9c9c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.