Bug 1098168 - BaseIcon

I couldn't find where `index` comes from. Can you show me?