Index: content/test/data/web_ui_mojo.js |
diff --git a/content/test/data/web_ui_mojo.js b/content/test/data/web_ui_mojo.js |
index 3dc32293cf1aa17aaca0a48f931f1ca44ab9244b..086dc0041252bc901e67f7708a6d92436c7324b8 100644 |
--- a/content/test/data/web_ui_mojo.js |
+++ b/content/test/data/web_ui_mojo.js |
@@ -6,7 +6,7 @@ define('main', [ |
'mojo/public/js/bindings/connection', |
'content/test/data/web_ui_test_mojo_bindings.mojom', |
], function (connection, bindings) { |
- var retainedConnection, kIterations = 100, kBadValue = 13; |
+ var retainedConnection; |
function RendererTargetTest(bindings) { |
this.bindings_ = bindings; |
@@ -23,33 +23,6 @@ define('main', [ |
this.bindings_.pingResponse(); |
}; |
- RendererTargetTest.prototype.echo = function (arg) { |
- var i; |
- |
- // Ensure negative values are negative. |
- if (arg.si64 > 0) |
- arg.si64 = kBadValue; |
- |
- if (arg.si32 > 0) |
- arg.si32 = kBadValue; |
- |
- if (arg.si16 > 0) |
- arg.si16 = kBadValue; |
- |
- if (arg.si8 > 0) |
- arg.si8 = kBadValue; |
- |
- for (i = 0; i < kIterations; ++i) { |
- arg2 = new bindings.EchoArgs(); |
- arg2.si64 = -1; |
- arg2.si32 = -1; |
- arg2.si16 = -1; |
- arg2.si8 = -1; |
- arg2.name = "going"; |
- this.bindings_.echoResponse(arg, arg2); |
- } |
- }; |
- |
return function(handle) { |
retainedConnection = new connection.Connection( |
handle, RendererTargetTest, bindings.BrowserTargetProxy); |