Backed out changeset be0c71ad1f18 (bug 948227) under suspicion of turning mochitest-1 intermittently orange to hopefully fix a CLOSED TREE

This commit is contained in:
Wes Kocher 2014-01-30 17:17:01 -08:00
parent 00ec5c0a4b
commit e7b11adbbd

View File

@ -627,7 +627,9 @@ class GlobalObject : public JSObject
// Warn about use of the given __proto__ setter to attempt to mutate an
// object's [[Prototype]], if no prior warning was given.
static bool warnOnceAboutPrototypeMutation(JSContext *cx, HandleObject protoSetter) {
return warnOnceAbout(cx, protoSetter, WARNED_PROTO_SETTING_SLOW, JSMSG_PROTO_SETTING_SLOW);
// Temporarily disabled until the second half of bug 948583 lands.
//return warnOnceAbout(cx, protoSetter, WARNED_PROTO_SETTING_SLOW, JSMSG_PROTO_SETTING_SLOW);
return true;
}
static bool getOrCreateEval(JSContext *cx, Handle<GlobalObject*> global,