| Index: chrome/browser/ui/webui/javascript2webui.js
|
| diff --git a/chrome/browser/ui/webui/javascript2webui.js b/chrome/browser/ui/webui/javascript2webui.js
|
| index e39fa5e007fba671c9a33486e53990e5766940fe..8c24859285ea6be8c6ee3a1c596e1198cdad80a1 100644
|
| --- a/chrome/browser/ui/webui/javascript2webui.js
|
| +++ b/chrome/browser/ui/webui/javascript2webui.js
|
| @@ -32,6 +32,7 @@ function TEST_F(testFixture, testFunction, testBody) {
|
| var testGenPreamble = this[testFixture].prototype.testGenPreamble;
|
| var testGenPostamble = this[testFixture].prototype.testGenPostamble;
|
| var typedefCppFixture = this[testFixture].prototype.typedefCppFixture;
|
| + var doPrint = this[testFixture].prototype.print;
|
| var isAsync = this[testFixture].prototype.isAsync;
|
|
|
| if (typedefCppFixture && !(testFixture in typedeffedCppFixtures)) {
|
| @@ -50,7 +51,8 @@ function TEST_F(testFixture, testFunction, testBody) {
|
| if (browsePrintPreload) {
|
| print(' BrowsePrintPreload(GURL(WebUITestDataPathToURL(\n' +
|
| ' FILE_PATH_LITERAL("' + browsePrintPreload + '"))),\n' +
|
| - ' "' + testFixture + '", "' + testFunction + '");');
|
| + ' "' + testFixture + '", "' + testFunction + '",\n' +
|
| + ' ' + doPrint + ');');
|
| }
|
| print(' ASSERT_TRUE(RunJavascriptTestF(' + isAsync + ', ' +
|
| '"' + testFixture + '", ' +
|
|
|