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

Unified Diff: content/browser/webui/web_ui_browsertest.cc

Issue 6902019: Revert 82950 - Add a test for checking that refreshing a page does load the same WebUI page.BUG=5... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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/data/webui/test_api.js ('k') | content/browser/webui/web_ui_test_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_browsertest.cc
===================================================================
--- content/browser/webui/web_ui_browsertest.cc (revision 82956)
+++ content/browser/webui/web_ui_browsertest.cc (working copy)
@@ -26,19 +26,15 @@
int line,
size_t message_start,
const std::string& str) {
- if (severity == logging::LOG_ERROR) {
+ if (severity == logging::LOG_ERROR)
error_messages_.push_back(str);
- return true;
- } else {
- // For debugging messages while developing tests.
- return false;
- }
+ return true;
}
WebUIBrowserTest::~WebUIBrowserTest() {}
bool WebUIBrowserTest::RunJavascriptFunction(const std::string& function_name) {
- return RunJavascriptUsingHandler(function_name, true);
+ return RunJavascriptUsingHandler(function_name, false);
}
bool WebUIBrowserTest::RunJavascriptTest(const std::string& test_name) {
« no previous file with comments | « chrome/test/data/webui/test_api.js ('k') | content/browser/webui/web_ui_test_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698