5digits / dactyl

Pentadactyl and other related Gecko extensions
Other
470 stars 98 forks source link

resource://dacyl-content/mappings.js:317: Ary#iterValues is deprecated: Please use Array#values instead #120

Open mario-grgic opened 8 years ago

mario-grgic commented 8 years ago

This is with Firefox 43 on Mac OS X and Pentadactyl hg 7250. Error message is printed first time you start Firefox and hit 'o':

resource://dacyl-content/mappings.js:317: Ary#iterValues is deprecated: Please use Array#values instead.

FLHerne commented 8 years ago

On Linux, with FF 43.0 and pentadacyl r7194.68871ff, I get several such messages:

chrome/common/modules/base.jsm:2029: Ary#iterValues is deprecated: Please use Array#values instead. chrome/common/modules/base.jsm:2014: toArray is deprecated: Please use Array.from instead. chrome/common/content/modes.js:312: Ary#iterValues is deprecated: Please use Array#values instead. chrome/common/modules/template.jsm:178: Ary#iterValues is deprecated: Please use Array#values instead. chrome/common/content/mappings.js:317: Ary#iterValues is deprecated: Please use Array#values instead.

jbylsma commented 8 years ago

Commit 27cdeb1, which started "ES6-ify{ing} some things", deprecated the iterValues method for Ary, Dactyl's extended Array class. The messages should go away once all the deprecated iterValues calls have been converted to Array#values. In the meantime, they should be harmless, if not a nagging reminder to finish the conversion.

polyzen commented 8 years ago

I'm getting the same errors as @FLHerne, except the last one is now mappings.js:318.

Penta master, FF 44.0.2, Arch Linux

reclaro commented 8 years ago

I ma having the same issue with FF 45.0.1, is there any workaround?