Temporarily replace resource lookup with simple strings.
authorViatcheslav Ostapenko <sl.ostapenko@samsung.com>
Wed, 30 Jul 2014 20:27:47 +0000 (16:27 -0400)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
tizen_src/impl/eweb_view.cc

index fb76a800b8c977f1f1458ec0dd09006382443677..98da375ff25e824dc506811ae0fc92d91cbdf485 100755 (executable)
@@ -2199,8 +2199,15 @@ std::string EWebView::GetErrorPage(const std::string& invalidUrl) {
   base::string16 url16;
   url16.assign(invalidUrl.begin(), invalidUrl.end());
 
+#if defined(EWK_BRINGUP)
+  std::string errorHead = "This webpage is not available";
+  std::string errorMessage = "The server at <ph name=\"" + invalidUrl + "\">&lt;strong&gt;$1&lt;/strong&gt;</ph> can't be found, because the DNS lookup failed.";
+#else
+  // Those strings were removed form webkit_strings.grd
+  // They exist in chrome/app/generated_resources.grd, but it is part of chrome that we don't use currently.
   std::string errorHead = l10n_util::GetStringUTF8(IDS_ERRORPAGES_HEADING_NOT_AVAILABLE);
   std::string errorMessage = l10n_util::GetStringFUTF8(IDS_ERRORPAGES_SUMMARY_NAME_NOT_RESOLVED, url16);
+#endif
 
   std::string html =
     "<html>"