Created attachment 624889 [details] [diff] [review]
Using a nsDependentString and a conversion function makes it easier to support strings in unions (and makes us less dependent on quickstub stuff ;-)). Not sure if ConvertJSValueToString should be inlined as I did.
Comment on attachment 624889 [details] [diff] [review]
r=me if you make the commit comment better.