Revision control
Copy as Markdown
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
import Foundation
import WebKit
/// The BrowsingType determines what type of BrowsingContext we are in
public enum BrowsingType {
case externalNavigation
/// Internal navigation refers to navigation triggered internally by the user through entering a
/// URL in the URL bar manually for instance.
case internalNavigation
/// Redirection navigation refers to calls through the navigation delegation `WKNavigationDelegate`
/// This should not never be called by the Client
case redirectionNavigation(type: WKNavigationType)
}