JS strict warnings in gGestureSupport code because functions don't always return a value

RESOLVED FIXED in Firefox 15

Status

()

Firefox
General
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: dao, Assigned: dao)

Tracking

Trunk
Firefox 15
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 621074 [details] [diff] [review]
patch

JavaScript strict warning: chrome://browser/content/browser.js, line 4658: function GS_handleEvent does not always return a value
JavaScript strict warning: chrome://browser/content/browser.js, line 4630: function GS_handleEvent does not always return a value
JavaScript strict warning: chrome://browser/content/browser.js, line 4805: anonymous function does not always return a value

Also, _doAction always returns a value, but it's never looked at.
Attachment #621074 - Flags: review?(fryn)

Comment 1

5 years ago
Comment on attachment 621074 [details] [diff] [review]
patch

Thanks for converting the inefficient forEach.
Attachment #621074 - Flags: review?(fryn) → review+
(Assignee)

Comment 2

5 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/341e99692944
Target Milestone: --- → Firefox 15
https://hg.mozilla.org/mozilla-central/rev/341e99692944
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.