And perhaps it could be named `_waitForLocationPathname` or something similar?