Closed Bug 1010445 Opened 11 years ago Closed 11 years ago

JavaScript Error: "TypeError: aElement.getAttribute is not a function" {file: "chrome://browser/content/CastingApps.js" line: 184}]

Categories

(Firefox for Android Graveyard :: Screencasting, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 32

People

(Reporter: nalexander, Assigned: nalexander)

References

Details

Attachments

(1 file)

I see E GeckoConsole(5681) [JavaScript Error: "TypeError: aElement.getAttribute is not a function" {file: "chrome://browser/content/CastingApps.js" line: 184}] when long-pressing an element in Fennec. The issue is that the instanceof checks throughout CastingApps.js are not correct: we have !x instanceof Klass instead of !(x instanceof Klass). I quickly audited m/a/chrome/content/*js and I see the error only in CastingApps.js.
Trivial fix is trivial.
Attachment #8422645 - Flags: review?(wjohnston)
m/a/modules looks clean too.
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Blocks: 921924
Attachment #8422645 - Flags: review?(wjohnston) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: