Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal.

This commit is contained in:
Jason Orendorff
2010-09-30 19:47:10 -05:00
parent 2b6a727a40
commit 3ad5e4dfa9
21 changed files with 1685 additions and 8 deletions

View File

@@ -2683,7 +2683,7 @@ array_indexOfHelper(JSContext *cx, JSBool isLast, uintN argc, Value *vp)
return JS_FALSE;
}
if (!hole && StrictlyEqual(cx, *vp, tosearch)) {
vp->setNumber(i);
vp->setNumber(i);
return JS_TRUE;
}
if (i == stop)