This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 975
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not accidentally show password as username
fix #7649 Test Plan: 1. automated tests for notificationBar should pass 2. changing the password on https://reg.ebay.com/reg/ChangePwd and clicking 'submit' should not show the current password in the notification bar
- Loading branch information
1 parent
58b98a5
commit 56537e5
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<body> | ||
<script> | ||
window.onload = window.setTimeout(function () { | ||
if (!document.querySelector('#password').value) { | ||
document.querySelector('#password').value = 'secret' | ||
document.querySelector('#old-password').value = 'secret' | ||
document.querySelector('#new-password').value = 'secret2' | ||
document.querySelector('#submit').click() | ||
} | ||
}, 200) | ||
</script> | ||
<form action="/blah" name="ChangePassForm" id="ChangePassForm"> | ||
<input type="hidden" id="countryId" name="countryId" value="1" /> | ||
<input type="hidden" name="MfcISAPICommand" value="HandleNewPassword"> | ||
<input type="hidden" name="srt" value="01"><div class="rclSir"></div> | ||
<input id='password' type="password" name="user" /> | ||
<input id='old-password' type="password" autocomplete="current-password" /> | ||
<input id='new-password' type="password" autocomplete="new-password" /> | ||
<input id="submit" type="submit" value="Change password" /> | ||
</form> | ||
</body> |