forked from mirrors/0ad
c3710c9632
JS_NewObject has no parent or proto arg anymore, use JS_NewObjectWithGivenProto instead. Patch by leper. Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1136906 https://bugzilla.mozilla.org/show_bug.cgi?id=1127443 and https://bugzilla.mozilla.org/show_bug.cgi?id=1136345 This was SVN commit r18668.