[M94 Migration][DA] Change Renderer has crashed page. 14/292314/2
authorK.Y. Lee <k-y.lee@samsung.com>
Fri, 10 Apr 2020 00:53:16 +0000 (09:53 +0900)
committerBot Blink <blinkbot@samsung.com>
Thu, 4 May 2023 06:10:17 +0000 (06:10 +0000)
Ref: https://review.tizen.org/gerrit/#/c/230404/

Change-Id: I8d36f529bae3b5bb013de624e2c92dbc8670cd0f
Signed-off-by: K.Y. Lee <k-y.lee@samsung.com>
tizen_src/ewk/efl_integration/eweb_view.cc

index e954aee073fb5ac29e14eeddd4674d2884e70d9d..740d302fdf562a070b5e17a23d8b661dea293014 100644 (file)
@@ -140,8 +140,55 @@ const base::FilePath::CharType kDefaultFileName[] =
 const char kReplaceChars[] = " ";
 const char kReplaceWith[] = "_";
 
+#if defined(OS_TIZEN_DA_PRODUCT)
+static const char* kRendererCrashedHTMLMessage =
+      "<html>"
+        "<head>"
+          "<meta name='viewport' content='width=device-width,"
+          "initial-scale=1.0, user-scalable=no'>"
+          "<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>"
+          "<title>"
+            "Renderer has crashed"
+          "</title>"
+          "<style type=text/css>"
+          "#body"
+          "{"
+          " background-color: #fff;"
+          " margin: 0;"
+          " padding: 0;"
+          "}"
+          "#Box"
+          "{"
+          " background: #fff;"
+          " width: 80%%;"
+          " min-width: 150px;"
+          " max-width: 750px;"
+          " margin: auto;"
+          " padding: 5px;"
+          " border: 1px solid #BFA3A3;"
+          " border-radius: 1px;"
+          " word-wrap:break-word"
+          "}"
+          "</style>"
+        "</head>"
+        "<body bgcolor=\"#CFCFCF\">"
+        "<div id=Box>"
+        "<h1 align=\"center\">"
+        "Renderer process has crashed!<br>"
+        "</h1>"
+        "<h2 align=\"left\">"
+        "Reload the page.<br>Reloading the page will fix the error.<br>"
+        "If the error remains, From the task manager, close all apps.<br>"
+        "If the error still remains, Reboot the device.<br>"
+         "</h2>"
+        "</div>"
+        "</body>"
+      "</html>"
+      ;
+#else
 static const char* kRendererCrashedHTMLMessage =
     "<html><body><h1>Renderer process has crashed!</h1></body></html>";
+#endif
 
 // email-app specific signal which informs that custom scrolling is started.
 const char* kCustomScrollBeginSignalName = "custom,scroll,begin";