history.replaceState(..., location.href) clearing page-action icons.

history.replaceState() can confuse the browser into thinking that a reload is happening when there is, in fact, an in-page navigation.  After checking that we're not crossing an origin boundary, we can let the otherwise untrusted renderer resolve the ambiguity.

BUG=144640

Review URL: https://chromiumcodereview.appspot.com/10871090

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154287 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed