Allow 'history.pushState' to modify query string for unique and file origins.

Add function equalIgnoringQueryAndFragment to ignore query and fragment for History.

BUG=618989

Review-Url: https://codereview.chromium.org/2060093002
Cr-Commit-Position: refs/heads/master@{#400418}
4 files changed