Check whether history.pushState is supported

Bug: 45923
Change-Id: I0fa7313e0b2051b356703f9f0a5bb7bce2423f2f
Merge "Check whether history.pushState is supported"