Index: third_party/WebKit/Source/devtools/front_end/common/TestBase.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/common/TestBase.js b/third_party/WebKit/Source/devtools/front_end/common/TestBase.js |
index 48fecf7b697d0870db5d3949e70af6ad0db2556f..5b9cb4bef726aebb7b0bc36403ca1189ca5dbb55 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/common/TestBase.js |
+++ b/third_party/WebKit/Source/devtools/front_end/common/TestBase.js |
@@ -79,7 +79,6 @@ |
clearTimeout(this.timerId_); |
this.timerId_ = -1; |
} |
- this.controlTaken_ = false; |
this.reportOk_(); |
}; |
@@ -108,7 +107,7 @@ |
/** |
* Run specified test on a fresh instance of the test suite. |
- * @param {Array<string>} args method name followed by its parameters. |
+ * @param {string} name Name of a test method from implementation class. |
*/ |
WebInspector.TestBase.prototype.dispatch = function(args) |
{ |
@@ -122,19 +121,6 @@ |
} |
}; |
- |
-/** |
- * Wrap an async method with TestBase.{takeControl(), releaseControl()} |
- * and invoke TestBase.reportOk_ upon completion. |
- * @param {Array<string>} args method name followed by its parameters. |
- */ |
-WebInspector.TestBase.prototype.waitForAsync = function(var_args) |
-{ |
- var args = Array.prototype.slice.call(arguments); |
- this.takeControl(); |
- args.push(this.releaseControl.bind(this)); |
- this.dispatch(args); |
-}; |
/** |
* Overrides the method with specified name until it's called first time. |