Bug 907727. Make sure to properly forward gets to the expando object for DOM proxies. r=peterv

This commit is contained in:
Boris Zbarsky 2013-08-22 09:46:27 -04:00
parent fcab832917
commit bd6ee8645b

View File

@ -7518,7 +7518,9 @@ if (expando) {
}
if (hasProp) {
return JS_GetPropertyById(cx, expando, id, vp);
// Forward the get to the expando object, but our receiver is whatever our
// receiver is.
return JS_ForwardGetPropertyTo(cx, expando, id, receiver, vp);
}
}"""