This is a subtask of bug 14868.
Created attachment 16739 [details] Patch
Comment on attachment 16739 [details] Patch r=me
Committed revision 26811.