chromium/services/network/public/mojom/blocked_by_response_reason.mojom

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

module network.mojom;

// This enum is used by to communicate the reason a request was blocked from
// the network service to the browser. The blocking reasons pertain to
// security features such as CORP, COEP, and COOP.
enum BlockedByResponseReason {
  kCoepFrameResourceNeedsCoepHeader,
  kCoopSandboxedIFrameCannotNavigateToCoopPage,
  kCorpNotSameOrigin,
  kCorpNotSameOriginAfterDefaultedToSameOriginByCoep,
  kCorpNotSameOriginAfterDefaultedToSameOriginByDip,
  kCorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip,
  kCorpNotSameSite,
};