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

Unified Diff: chrome/tools/test/generate_mime_tests.pl

Issue 10827182: Rename layoutTestController to testRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 4 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 | « no previous file | content/browser/appcache/appcache_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/test/generate_mime_tests.pl
diff --git a/chrome/tools/test/generate_mime_tests.pl b/chrome/tools/test/generate_mime_tests.pl
index 616c421a4ff1453185fdc78bf8544a7b8027ea5e..aee6fd1b8004f3fd3e270b188368b8c9a26a80e1 100755
--- a/chrome/tools/test/generate_mime_tests.pl
+++ b/chrome/tools/test/generate_mime_tests.pl
@@ -217,8 +217,8 @@ foreach $content_type ( @content_type) {
print OUT "This HTML is used to test HTTP content-type \"$content_type\"".
" by having multiple iframes render different types of content for the".
" same HTTP content-type header.\n";
- print OUT "<script>\n if(window.layoutTestController)\n " .
- "window.layoutTestController.waitUntilDone();\n</script>\n";
+ print OUT "<script>\n if(window.testRunner)\n " .
+ "window.testRunner.waitUntilDone();\n</script>\n";
print OUT "<html>\n<body>\n<br>Well here are the frames !<br>\n";
foreach $parameter ( @parameter ) {
@@ -239,8 +239,8 @@ foreach $content_type ( @content_type) {
}
print OUT "</body>\n</html>\n";
- print OUT "<script>\n if(window.layoutTestController)\n ".
- "layoutTestController.notifyDone();\n</script>";
+ print OUT "<script>\n if(window.testRunner)\n ".
+ "testRunner.notifyDone();\n</script>";
close OUT;
}
« no previous file with comments | « no previous file | content/browser/appcache/appcache_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698