Bug 747617 - fix document.all and swap JSClass::{construct,hasInstance} so this doesn't happen again (r=bz)

This commit is contained in:
Luke Wagner
2012-05-07 12:44:08 -07:00
parent 9ac37ace80
commit 645efe19ef
13 changed files with 55 additions and 36 deletions

View File

@@ -1325,8 +1325,8 @@ Class js::StopIterationClass = {
NULL, /* finalize */
NULL, /* checkAccess */
NULL, /* call */
NULL, /* construct */
stopiter_hasInstance
stopiter_hasInstance,
NULL /* construct */
};
#if JS_HAS_GENERATORS