| Index: chrome/test/data/extensions/api_test/socket/api/background.js
|
| diff --git a/chrome/test/data/extensions/api_test/socket/api/background.js b/chrome/test/data/extensions/api_test/socket/api/background.js
|
| index 7f78b564ab9c7d340a3a2102b267e4d5a30aeed5..6a7493a2290783c3f167f32986149f63b16f032e 100644
|
| --- a/chrome/test/data/extensions/api_test/socket/api/background.js
|
| +++ b/chrome/test/data/extensions/api_test/socket/api/background.js
|
| @@ -236,13 +236,16 @@ var testSocketListening = function() {
|
|
|
| var onMessageReply = function(message) {
|
| var parts = message.split(":");
|
| - test_type = parts[0];
|
| + var test_type = parts[0];
|
| address = parts[1];
|
| port = parseInt(parts[2]);
|
| console.log("Running tests, protocol " + protocol + ", echo server " +
|
| address + ":" + port);
|
| if (test_type == 'tcp_server') {
|
| chrome.test.runTests([ testSocketListening ]);
|
| + } else if (test_type == 'multicast') {
|
| + console.log("Running multicast tests");
|
| + chrome.test.runTests([ testMulticast ]);
|
| } else {
|
| protocol = test_type;
|
| chrome.test.runTests([ testSocketCreation, testSending ]);
|
|
|