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

Unified Diff: chrome/test/data/prerender/prefetch.js

Issue 2304953002: NoState Prefetch: nostate prefetch browser tests. (Closed)
Patch Set: Remove final_status.cc as it had only formatting changes. Created 4 years, 2 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 | « chrome/test/BUILD.gn ('k') | chrome/test/data/prerender/prefetch2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/prerender/prefetch.js
diff --git a/base/test/run_all_perftests.cc b/chrome/test/data/prerender/prefetch.js
similarity index 54%
copy from base/test/run_all_perftests.cc
copy to chrome/test/data/prerender/prefetch.js
index 6e38109376a64a39ed9c919ed59411db86734d87..5649159694608da1c0b97ed31bc2b53a17d66d6e 100644
--- a/base/test/run_all_perftests.cc
+++ b/chrome/test/data/prerender/prefetch.js
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/test/perf_test_suite.h"
-
-int main(int argc, char** argv) {
- return base::PerfTestSuite(argc, argv).Run();
-}
+// JS for prefetch testing. As prefetch should not be executing
+// javascript, we just check that things don't exist.
+var scriptBool = true;
« no previous file with comments | « chrome/test/BUILD.gn ('k') | chrome/test/data/prerender/prefetch2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698