Skip to content

Truly independent web browser

371 B
Raw Blame
/*
 * Copyright (c) 2022, Andrew Kaster <[email protected]>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

namespace Web::HTML {

class NavigatorOnLineMixin {
public:
    // https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-online
    // FIXME: Reflect actual connectivity status.
    bool on_line() const { return true; }
};

}