Bug 887437 - Optimize encodeURI(Component). r=h4writer