Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7243)

Unified Diff: chrome/test/data/extensions/api_test/websocket/test.js

Issue 11115011: Revert 161572 - WebSocket test server migration on ExtensionApiTest.WebSocket (third trial) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/test.json ('k') | net/data/websocket/echo_wsh.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/websocket/test.js
===================================================================
--- chrome/test/data/extensions/api_test/websocket/test.js (revision 161574)
+++ chrome/test/data/extensions/api_test/websocket/test.js (working copy)
@@ -3,7 +3,8 @@
// found in the LICENSE file.
function echoTest(port) {
- var url = "ws://localhost:" + port + "/echo";
+ var url =
+ "ws://localhost:" + port + "/websocket/tests/hybi/workers/resources/echo";
var ws = new WebSocket(url);
var MESSAGE_A = "message a";
var MESSAGE_B = "message b";
@@ -33,11 +34,8 @@
};
}
-chrome.test.getConfig(function(config) {
- chrome.test.runTests([
- function runEchoTest() {
- echoTest(config.testWebSocketPort);
- }
- ]);
-});
-
+chrome.test.runTests([
+ chrome.test.getConfig(function(config) {
+ echoTest(config.testWebSocketPort);
+ })
+]);
« no previous file with comments | « chrome/common/extensions/api/test.json ('k') | net/data/websocket/echo_wsh.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698