Closed Bug 1155055 Opened 9 years ago Closed 9 years ago

Unnecessary return in tabScrolling property in toolkit/content/widgets/autocomplete.xml.

Categories

(Toolkit :: Autocomplete, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

https://dxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/autocomplete.xml#306
>       <property name="tabScrolling"
>                 onset="return this.setAttribute('tabscrolling', val); return val;"
>                 onget="return this.getAttribute('tabscrolling') == 'true';"/>

onset returns the value returned from setAttribute, which is void.
Attachment #8593231 - Flags: review?(gavin.sharp) → review+
https://hg.mozilla.org/mozilla-central/rev/ad8fc5dffc9c
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Blocks: 1160770
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: