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

Unified Diff: content/browser/database_browsertest.cc

Issue 62523004: Cleaned up version of issue 57433010 that should pass on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: All fixes. Created 7 years, 1 month 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: content/browser/database_browsertest.cc
diff --git a/content/browser/database_browsertest.cc b/content/browser/database_browsertest.cc
index 373a06f2a703c7eadd25c28fb180211bd758feb2..641e21c719d0bf92477bcf9423dac8ca5af4d335 100644
--- a/content/browser/database_browsertest.cc
+++ b/content/browser/database_browsertest.cc
@@ -254,6 +254,12 @@ IN_PROC_BROWSER_TEST_F(DatabaseTest, ModificationsPersistAfterRendererCrash) {
CompareRecords(shell(), "1");
}
+// Verify database modifications persist after crashing window.
+IN_PROC_BROWSER_TEST_F(DatabaseTest, CrashOnly) {
+ Navigate(shell());
+ CrashTab(shell()->web_contents());
+}
+
// Test to check if database modifications are persistent across windows in
// off the record window.
IN_PROC_BROWSER_TEST_F(DatabaseTest, OffTheRecordDBPersistentAcrossWindows) {

Powered by Google App Engine
This is Rietveld 408576698