Given an array where elements have been removed indexOf will match undefined to the deleted elements. var a = [0, 1, 2, 3]; delete a[1]; a.indexOf(undefined) test case coming...
Created attachment 16002 [details] Testcase All text should be green
Your test case gives me: 4 false false -1 All are green. That would suggest we're already handling this correctly?
I strongly suspect this got fixed by my patch for bug 12963 and that the nightly used to test this was out-of-date.
Resolving as fixed per previous comments.