chromium/third_party/blink/public/mojom/navigation/renderer_eviction_reason.mojom

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

module blink.mojom;

// This enum lists eviction reasons from the renderer.
enum RendererEvictionReason {
  // JavaScript execution ocurrs.
  kJavaScriptExecution,
  // Datapipe for reading network requests has been passed as bytes consumer.
  // For example, when a response body is received before the page is frozen.
  kNetworkRequestDatapipeDrainedAsBytesConsumer,
  // Network request is redirected.
  kNetworkRequestRedirected,
  // Network request is open for too long.
  kNetworkRequestTimeout,
  // Network request buffers too much data.
  kNetworkExceedsBufferLimit,
  // Broadcast channel in back/forward cache received a message.
  kBroadcastChannelOnMessage,
};