GNOME Bugzilla – Bug 642762
[patch] xulrunner2: conditionally adapt to JS_GetScopeChain removal
Last modified: 2011-02-21 20:51:34 UTC
Adapt to new API breakage: http://hg.mozilla.org/mozilla-central/rev/b0bf06306261
Created attachment 181326 [details] [review] conditionally adapt to JS_GetScopeChain removal
Review of attachment 181326 [details] [review]: ::: gjs/jsapi-util.c @@ +915,3 @@ g_free(debugstr); + parent = JS_GetGlobalForScopeChain(context); I probably would have inlined the #ifdef here since there's only one caller rather than adding to compat.h, but it's fine either way.
I thought It'd be handier when removing xulrunner 1.9 support later on
This is an incorrect fix. I have a more proper fix in https://bugzilla.gnome.org/show_bug.cgi?id=642854 but havoc suggested that removing the fragile method might be better. Marking that bug as a duplicate of this. *** This bug has been marked as a duplicate of bug 642854 ***