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

Unified Diff: chrome/browser/download/save_page_browsertest.cc

Issue 1484093002: Allowing multiple SaveItems to have same URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nested-frames-more-involved-fix
Patch Set: Rebasing... Created 5 years 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 | « no previous file | content/browser/download/save_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/save_page_browsertest.cc
diff --git a/chrome/browser/download/save_page_browsertest.cc b/chrome/browser/download/save_page_browsertest.cc
index 1035804297b1eed093b6ff6cf9685b3aafaeef84..2d8904b2de4f6c563353c6a76bd404be35fe7078 100644
--- a/chrome/browser/download/save_page_browsertest.cc
+++ b/chrome/browser/download/save_page_browsertest.cc
@@ -1109,9 +1109,14 @@ IN_PROC_BROWSER_TEST_P(SavePageMultiFrameBrowserTest, RuntimeChanges) {
};
std::vector<std::string> expected_substrings(std::begin(arr), std::end(arr));
- // TODO(lukasza): crbug.com/106364: Fix complete-html mode as well.
- if (save_page_type == content::SAVE_PAGE_TYPE_AS_COMPLETE_HTML)
- return;
+ // TODO(lukasza): crbug.com/106364: Fix complete-html.
Randy Smith (Not in Mondays) 2015/12/03 20:58:28 Hmmm. Is this comment still up to date? This CL
Łukasz Anforowicz 2015/12/04 21:16:45 The comment is up to date. The test can be enable
Randy Smith (Not in Mondays) 2015/12/07 19:57:14 Willing to change "Fix complete-html" to "Expand c
Łukasz Anforowicz 2015/12/07 20:32:31 Done.
+ if (save_page_type == content::SAVE_PAGE_TYPE_AS_COMPLETE_HTML) {
+ std::string complete_html_arr[] = {
+ "frames-runtime-changes.htm: 4388232f-8d45-4d2e-9807-721b381be153",
+ };
+ expected_substrings = std::vector<std::string>(
+ std::begin(complete_html_arr), std::end(complete_html_arr));
+ }
GURL url(embedded_test_server()->GetURL(
"a.com", "/save_page/frames-runtime-changes.htm?do_runtime_changes=1"));
« no previous file with comments | « no previous file | content/browser/download/save_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698