Closed Bug 829670 Opened 9 years ago Closed 9 years ago

JS warnings from browser.js on startup

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 21

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(1 file)

This is in getFocusedInput, regression from bug 725018.

01-11 13:13:45.427 E/GeckoConsole(29394): [JavaScript Warning: "TypeError: anonymous function does not always return a value" {file: "chrome://browser/content/browser.js" line: 995 column: 13 source: "      return focused;
01-11 13:13:45.427 E/GeckoConsole(29394): "}]
01-11 13:13:45.427 E/GeckoConsole(29394): [JavaScript Warning: "TypeError: anonymous function does not always return a value" {file: "chrome://browser/content/browser.js" line: 998 column: 13 source: "      return null;
01-11 13:13:45.427 E/GeckoConsole(29394): "}]
01-11 13:13:45.427 E/GeckoConsole(29394): [JavaScript Warning: "TypeError: anonymous function does not always return a value" {file: "chrome://browser/content/browser.js" line: 1008 column: 13 source: "      return focused;
01-11 13:13:45.427 E/GeckoConsole(29394): "}]
01-11 13:13:45.427 E/GeckoConsole(29394): [JavaScript Warning: "TypeError: anonymous function does not always return a value" {file: "chrome://browser/content/browser.js" line: 1010 column: 11 source: "    return null;
01-11 13:13:45.427 E/GeckoConsole(29394): "}]
Attached patch PatchSplinter Review
Assignee: nobody → bugmail.mozilla
Attachment #701188 - Flags: review?(wjohnston)
Attachment #701188 - Flags: review?(wjohnston) → review+
https://hg.mozilla.org/mozilla-central/rev/62ff0365d3b6
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 21
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.