Index: content/test/ppapi/ppapi_test.cc |
diff --git a/content/test/ppapi/ppapi_test.cc b/content/test/ppapi/ppapi_test.cc |
index 0c3e5294400f11f69100a6e3122b3558d463064e..20d4c6dc8ac367823d4b8736cc798354c3313708 100644 |
--- a/content/test/ppapi/ppapi_test.cc |
+++ b/content/test/ppapi/ppapi_test.cc |
@@ -73,6 +73,13 @@ void PPAPITestBase::RunTest(const std::string& test_case) { |
RunTestURL(url); |
} |
+void PPAPITestBase::RunTestAndReload(const std::string& test_case) { |
+ GURL url = GetTestFileUrl(test_case); |
+ RunTestURL(url); |
+ // If that passed, we simply run the test again, which navigates again. |
+ RunTestURL(url); |
+} |
+ |
void PPAPITestBase::RunTestURL(const GURL& test_url) { |
// See comment above TestingInstance in ppapi/test/testing_instance.h. |
// Basically it sends messages using the DOM automation controller. The |