Bug 698495 part 2. Add an optional getElementIfPresent ObjectOps hook. r=waldo

This commit is contained in:
Boris Zbarsky
2011-11-04 12:19:00 -04:00
parent 747bb5da35
commit cf1b15171a
10 changed files with 58 additions and 1 deletions

View File

@@ -1296,6 +1296,8 @@ Class js::ArrayClass = {
array_getGeneric,
array_getProperty,
array_getElement,
NULL, /* getElementIfPresent, because this is hard for now for
slow arrays */
array_getSpecial,
array_setGeneric,
array_setProperty,