Closed Bug 824100 Opened 12 years ago Closed 12 years ago

Remove use of for each...in in browser.js

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 825052

People

(Reporter: Margaret, Unassigned)

Details

for each...in is deprecated, so we shouldn't use it anymore: https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Statements/for_each...in

Besides the uses removed in bug 824044, the only other place I see us using this is in browser.js:
https://mxr.mozilla.org/gaia/source/apps/browser/js/browser.js#1402
https://mxr.mozilla.org/gaia/source/apps/browser/js/browser.js#1477
Duping to the bug that fixed this.
Resolution: FIXED → DUPLICATE
You need to log in before you can comment on or make changes to this bug.