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

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

Issue 2304953002: NoState Prefetch: nostate prefetch browser tests. (Closed)
Patch Set: histogram tests Created 4 years, 3 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
Index: chrome/test/data/prerender/prerender_prefetch.js
diff --git a/base/test/run_all_perftests.cc b/chrome/test/data/prerender/prerender_prefetch.js
similarity index 54%
copy from base/test/run_all_perftests.cc
copy to chrome/test/data/prerender/prerender_prefetch.js
index 6e38109376a64a39ed9c919ed59411db86734d87..5649159694608da1c0b97ed31bc2b53a17d66d6e 100644
--- a/base/test/run_all_perftests.cc
+++ b/chrome/test/data/prerender/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;

Powered by Google App Engine
This is Rietveld 408576698