diff options
Diffstat (limited to 'webkit/glue/dom_operations_unittest.cc')
-rw-r--r-- | webkit/glue/dom_operations_unittest.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/webkit/glue/dom_operations_unittest.cc b/webkit/glue/dom_operations_unittest.cc index b5487b2..92955da 100644 --- a/webkit/glue/dom_operations_unittest.cc +++ b/webkit/glue/dom_operations_unittest.cc @@ -51,8 +51,15 @@ void DomOperationsTests::GetSavableResourceLinksForPage( &referrers_list, &frames_list); + const char* savable_schemes[] = { + "http", + "https", + "file", + NULL + }; + ASSERT_TRUE(webkit_glue::GetAllSavableResourceLinksForCurrentPage( - test_shell_->webView(), file_url, &result)); + test_shell_->webView(), file_url, &result, savable_schemes)); // Check all links of sub-resource for (std::vector<GURL>::const_iterator cit = resources_list.begin(); cit != resources_list.end(); ++cit) { |