| Index: chrome/browser/resources/gaia_auth/test/content.js
|
| diff --git a/chrome/browser/resources/gaia_auth/test/content.js b/chrome/browser/resources/gaia_auth/test/content.js
|
| index 459a5b059506edf2289e39c06f5ff3bda3d4cd13..1bf055f03e2163c024c6283cf39273c51e664888 100644
|
| --- a/chrome/browser/resources/gaia_auth/test/content.js
|
| +++ b/chrome/browser/resources/gaia_auth/test/content.js
|
| @@ -15,16 +15,20 @@ function getQueryParam(key, defaultVal) {
|
| return qs[1];
|
| }
|
|
|
| +console.log(document.URL);
|
| if (document.URL.match(/https\:\/\/www\.google\.com\/accounts\/ServiceLogin/) ||
|
| document.URL.match(/https\:\/\/accounts\.google\.com\/ServiceLogin/) ||
|
| document.URL.match(
|
| /https\:\/\/gaiastaging\.corp\.google\.com\/ServiceLogin/) ||
|
| - document.URL.match(/https\:\/\/insecure\.com\/accounts\/ServiceLogin/)) {
|
| + document.URL.match(/https\:\/\/insecure\.com\/accounts\/ServiceLogin/) ||
|
| + document.URL.match(/http\:\/\/localhost(:[0-9]*)?\/ServiceLogin/)) {
|
| var testEmail = unescape(getQueryParam('test_email'));
|
| var testPassword = unescape(getQueryParam('test_pwd'));
|
| + var testContinue = unescape(getQueryParam('continue'));
|
| console.log('Got test account info: ' + testEmail + '/' + testPassword);
|
| document.getElementById('Email').value = testEmail;
|
| document.getElementById('Passwd').value = testPassword;
|
| + document.getElementById('continue').value = testContinue;
|
| console.log('Form field changed!');
|
| if (testEmail != '') {
|
| document.getElementById('signIn').click();
|
|
|