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

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

Issue 2438593002: [NoStatePrefetch] Remove JS injection in tests (Closed)
Patch Set: PrefetchSimple: check the should-be-fetched resource is indeed fetched 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
Index: chrome/test/data/prerender/prefetch.js
diff --git a/chrome/test/data/prerender/prefetch.js b/chrome/test/data/prerender/prefetch.js
index 5649159694608da1c0b97ed31bc2b53a17d66d6e..b64c392c2f44d7d6d2359b01180aa604c418d0f2 100644
--- a/chrome/test/data/prerender/prefetch.js
+++ b/chrome/test/data/prerender/prefetch.js
@@ -2,6 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// JS for prefetch testing. As prefetch should not be executing
-// javascript, we just check that things don't exist.
-var scriptBool = true;
+var theScriptHasExecuted = true;
« no previous file with comments | « chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc ('k') | chrome/test/data/prerender/prefetch_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698