Bug 1093611 - AnchorElement.hash should be the encoded version of the href attribute's fragment r=smaug
Bug 1093611 - Add/modify tests making sure Link,URL,nsLocation::GetHash don't unescape characters r=smaug