| // Copyright 2020 The Chromium Authors. All rights reserved. |
| // 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, |
| kCorpNotSameSite, |
| }; |