Created attachment 702415 [details] [diff] [review] Patch We want to get rid of JSProtoKey as part of the JSAPI eventually, and this stands in the way. Plus it's not used outside js/src. http://mxr.mozilla.org/mozilla-central/search?string=js_GetClassPrototype&case=on&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
...and I apparently filed bug 725888 to do exactly this, and if I look at the change rev there, I removed it from jsfriendapi.h and added it to jsobj.h -- preserving the friend-API-ness of it. I have no idea why I did this.