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

Unified Diff: chrome/browser/errorpage_browsertest.cc

Issue 207553008: Surface button for loading stale cache copy on net error page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Shift text to match behavior doc. Created 6 years, 9 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/browser/errorpage_browsertest.cc
diff --git a/chrome/browser/errorpage_browsertest.cc b/chrome/browser/errorpage_browsertest.cc
index a82698f8e6bdae7b2b911d01bc9e88abcd55f981..84b3fe16e48957d6f9f00fbbf4152815f152fd84 100644
--- a/chrome/browser/errorpage_browsertest.cc
+++ b/chrome/browser/errorpage_browsertest.cc
@@ -254,7 +254,7 @@ class ErrorPageTest : public InProcessBrowserTest {
const char* js_cache_probe =
"try {\n"
" domAutomationController.send(\n"
- " templateData.staleCopyInCache ? 'yes' : 'no');\n"
+ " 'staleCopyInCache' in templateData ? 'yes' : 'no');\n"
"} catch (e) {\n"
" domAutomationController.send(e.message);\n"
"}\n";

Powered by Google App Engine
This is Rietveld 408576698