The rules about when StringImpl objects can be modified are confusing. For the most part they are treated as immutable. Our idea is to now make them all immutable.
Created attachment 18041 [details] patch
I suspect this may fix the issue mentioned in bug 11555.
Comment on attachment 18041 [details] patch r=me
Committed revision 28976.