In the scenario outlined in the OP; an XSS on another www.google.com page is hypothesized:
https://accounts.google.com/reallyuglyurl?lotsofvars=true&XSS=here
once that hypothetical XSS is discovered, then the attacker can pushstate the page with the XSS to look like the login page...