https://bugzilla.wikimedia.org/show_bug.cgi?id=44063
Fomafix <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|Normal |Unprioritized --- Comment #7 from Fomafix <[email protected]> --- Yes, thats the reason: var o = { 'name': 42 } o['name'] >> 42 o['noname'] >> undefined o['watch'] >> watch() o.hasOwnProperty( 'name' ) >> true o.hasOwnProperty( 'noname' ) >> false o.hasOwnProperty( 'watch' ) >> false The solution would be to replace in line 104 if ( !paramInfo[prop][info.name] ) { by if ( !hasOwnProperty( paramInfo[prop][info.name] ) ) { -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
