It would be nice to have JSRetainPtr work with JSGlobalContextRefs so that anyone holding a reference to a JSGlobalContextRef could benefit from the ease of use of smart pointers.
Created attachment 92745 [details] Patch
Comment on attachment 92745 [details] Patch Thanks Dan! Committed in http://trac.webkit.org/changeset/86036