This function having the same name as a function on `navigator` seems pretty dangerous since it's API is entirely different.