JavaScriptCore should be weaned off isMainThread().
Created attachment 53976 [details] patch (not for review) Putting up patch to let the EWS try it out.
Comment on attachment 53976 [details] patch (not for review) r=me
Fixed in r58012.