Seems like a clickjacking attack. Presumably you can use this to reveal passwords for other sites, depending on how the ui is coded.
the image attached to this issues actually shows an example, using an alert to show you the JS had access to your PW https://bugs.chromium.org/p/project-zero/issues/detail?id=14...