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

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

Issue 2826533002: Merge to M59: Only skip certain hidden elements at MHTML serialization (Closed)
Patch Set: Created 3 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 | « no previous file | third_party/WebKit/Source/web/WebFrameSerializer.cpp » ('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 444de2fddfd708bd10e645f01585e075af9098e4..80b0006368c0cbffff2fe8d94a521a78ec748392 100644
--- a/chrome/browser/download/save_page_browsertest.cc
+++ b/chrome/browser/download/save_page_browsertest.cc
@@ -1304,9 +1304,9 @@ IN_PROC_BROWSER_TEST_P(SavePageOriginalVsSavedComparisonTest, Style) {
GURL url(embedded_test_server()->GetURL("a.com", "/save_page/style.htm"));
- // The original page has 7 iframes. 2 of them are both hidden and affecting
- // no layout. So these two are excluded from the saved page.
- TestOriginalVsSavedPage(save_page_type, url, 7, 5, expected_substrings);
+ // The original page has 7 iframes. One of them that contains hidden attribute
+ // will be excluded from the saved page.
+ TestOriginalVsSavedPage(save_page_type, url, 7, 6, expected_substrings);
}
// Test for saving a page with broken subresources:
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebFrameSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698