| Index: LayoutTests/http/tests/serviceworker/resources/test-helpers.js
|
| diff --git a/LayoutTests/http/tests/serviceworker/resources/test-helpers.js b/LayoutTests/http/tests/serviceworker/resources/test-helpers.js
|
| index 5f9cc5936e34a697d2a32f8974e43acc12b434dc..190a329a78796b2e55134725020ca0a8afc80411 100644
|
| --- a/LayoutTests/http/tests/serviceworker/resources/test-helpers.js
|
| +++ b/LayoutTests/http/tests/serviceworker/resources/test-helpers.js
|
| @@ -188,21 +188,10 @@ function test_login(test, origin, username, password, cookie) {
|
| });
|
| }
|
|
|
| -function login(test) {
|
| - return test_login(test, 'http://127.0.0.1:8000',
|
| - 'username1', 'password1', 'cookie1')
|
| +function login(local, remote, test) {
|
| + return test_login(test, local, 'username1', 'password1', 'cookie1')
|
| .then(function() {
|
| - return test_login(test, 'http://localhost:8000',
|
| - 'username2', 'password2', 'cookie2');
|
| - });
|
| -}
|
| -
|
| -function login_https(test) {
|
| - return test_login(test, 'https://127.0.0.1:8443',
|
| - 'username1s', 'password1s', 'cookie1')
|
| - .then(function() {
|
| - return test_login(test, 'https://localhost:8443',
|
| - 'username2s', 'password2s', 'cookie2');
|
| + return test_login(test, remote, 'username2', 'password2', 'cookie2');
|
| });
|
| }
|
|
|
|
|