mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 497355 - Assertion failure: STOBJ_GET_CLASS(obj) != &js_BlockClass, at /Users/moztest/comm/main/src/mozilla/js/src/jsscope.cpp:79. r=igor
This commit is contained in:
parent
1ebc0fdd83
commit
aaeccd8701
@ -2672,7 +2672,8 @@ js_XDRBlockObject(JSXDRState *xdr, JSObject **objp)
|
||||
if (xdr->mode == JSXDR_DECODE) {
|
||||
if (!js_DefineNativeProperty(cx, obj, ATOM_TO_JSID(atom),
|
||||
JSVAL_VOID, NULL, NULL,
|
||||
JSPROP_ENUMERATE | JSPROP_PERMANENT,
|
||||
JSPROP_ENUMERATE | JSPROP_PERMANENT |
|
||||
JSPROP_SHARED,
|
||||
SPROP_HAS_SHORTID, shortid, NULL)) {
|
||||
ok = JS_FALSE;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user