Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
haanhvu committed Dec 15, 2024
1 parent a889a8c commit ea0ef33
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

import mozilla.components.browser.errorpages.ErrorType;

import org.chromium.net.NetError;

public class InternalPages {

private static ErrorType fromSessionErrorToErrorType(int error) {
Expand Down Expand Up @@ -145,13 +147,6 @@ public static byte[] createErrorPageData(Context context,
.replace("<ul>", "<ul role=\"presentation\">")
.replace("%css%", css)
.replace("%advancedSSLStyle%", showSSLAdvanced ? "block" : "none");
/*html = html
.replace("%button%", "something")
.replace("%messageShort%", "something")
.replace("%messageLong%", "something")
.replace("<ul>", "<ul role=\"presentation\">")
.replace("%css%", css)
.replace("%advancedSSLStyle%", showSSLAdvanced ? "block" : "none");*/

if (uri != null) {
html = html.replace("%url%", uri);
Expand Down

0 comments on commit ea0ef33

Please sign in to comment.