Commit b904969c authored by mkwst@chromium.org's avatar mkwst@chromium.org

Extension documentation generation no longer relies on layoutTestController.

`layoutTestController` was recently renamed to `testRunner`. See
http://lists.webkit.org/pipermail/webkit-dev/2012-August/021746.html for
context.

BUG=140791

Review URL: https://chromiumcodereview.appspot.com/10825200

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150308 0039d316-1c4b-4281-b951-d872f2087c98
parent 06529485
......@@ -8,9 +8,9 @@ var currentPage;
var result = {};
function init() {
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
} else {
console.error("No layout test controller");
}
......@@ -47,8 +47,8 @@ function done() {
"#BEGIN" + JSON.stringify(result) + "#END");
preNode.appendChild(textNode);
document.getElementsByTagName("body")[0].appendChild(preNode);
if (window.layoutTestController)
layoutTestController.notifyDone();
if (window.testRunner)
testRunner.notifyDone();
}
}
</script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment