Bug 851788 - Back out 5593cd83590e to fix crashes caused by self-hosted Array extras in conjunction with debugging stuff.  (The backout is slightly updated to take into account the changes made by e644bc44f39f, just to be clear.)  JSD, we love you.  r=Waldo, a=bajaj