chromium/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_error_page_browsertest.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <string>

#include "base/containers/flat_map.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/web_applications/test/isolated_web_app_test_utils.h"
#include "chrome/browser/ui/web_applications/test/web_app_browsertest_util.h"
#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_info.h"
#include "chrome/browser/web_applications/test/web_app_icon_waiter.h"
#include "components/webapps/common/web_app_id.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/url_loader_interceptor.h"
#include "net/base/net_errors.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "url/gurl.h"
#include "url/origin.h"

namespace {

base::flat_map</*error code*/ net::Error, /*error message*/ std::string>
    kTestCases{};

}  // namespace

namespace web_app {

class IsolatedWebAppErrorPageTest : public IsolatedWebAppBrowserTestHarness {};

IN_PROC_BROWSER_TEST_F(IsolatedWebAppErrorPageTest, UsesWebAppErrorPage) {}

IN_PROC_BROWSER_TEST_F(IsolatedWebAppErrorPageTest,
                       SetsCorrectMessageForErrorCode) {}

}  // namespace web_app