Exploit database

GH-839c07bcf7b2d736ed82c382de889ad5

valencenavy/isolatedanarchy-public

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-87492

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files48

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

gen/services/viz/public/mojom/compositing/copy_output_result.mojom.m.js

JavaScript · 4,210 bytes
// services/viz/public/mojom/compositing/copy_output_result.mojom.m.js is auto generated by mojom_bindings_generator.py, do not edit

// 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.

import {mojo} from '../../../../../mojo/public/js/bindings.js';

import {
  Mailbox as gpu_mojom_Mailbox,
  MailboxSpec as gpu_mojom_MailboxSpec
} from '../../../../../gpu/ipc/common/mailbox.mojom.m.js';

import {
  Rect as gfx_mojom_Rect,
  RectSpec as gfx_mojom_RectSpec
} from '../../../../../ui/gfx/geometry/mojom/geometry.mojom.m.js';

import {
  ColorSpace as gfx_mojom_ColorSpace,
  ColorSpaceSpec as gfx_mojom_ColorSpaceSpec
} from '../../../../../ui/gfx/mojom/color_space.mojom.m.js';

import {
  BitmapInSharedMemory as viz_mojom_BitmapInSharedMemory,
  BitmapInSharedMemorySpec as viz_mojom_BitmapInSharedMemorySpec
} from './bitmap_in_shared_memory.mojom.m.js';

import {
  TextureReleaserRemote as viz_mojom_TextureReleaserRemote,
  TextureReleaserPendingReceiver as viz_mojom_TextureReleaserPendingReceiver
} from './texture_releaser.mojom.m.js';


/**
 * @const { {$: !mojo.internal.MojomType} }
 */
export const CopyOutputResultFormatSpec = { $: mojo.internal.Enum() };

/**
 * @enum {number}
 */
export const CopyOutputResultFormat = {
  
  RGBA: 0,
  MIN_VALUE: 0,
  MAX_VALUE: 0,
};

/**
 * @const { {$: !mojo.internal.MojomType} }
 */
export const CopyOutputResultDestinationSpec = { $: mojo.internal.Enum() };

/**
 * @enum {number}
 */
export const CopyOutputResultDestination = {
  
  kSystemMemory: 0,
  kSharedImage: 1,
  MIN_VALUE: 0,
  MAX_VALUE: 1,
};

/**
 * @const { {$: !mojo.internal.MojomType} }
 */
export const CopyOutputResultErrorSpec = { $: mojo.internal.Enum() };

/**
 * @enum {number}
 */
export const CopyOutputResultError = {
  
  kNone: 0,
  kUnknown: 1,
  kTimeout: 2,
  kEmbeddingTokenChanged: 3,
  MIN_VALUE: 0,
  MAX_VALUE: 3,
};


/**
 * @const { {$:!mojo.internal.MojomType}}
 */
export const CopyOutputResultSpec =
    { $: /** @type {!mojo.internal.MojomType} */ ({}) };




mojo.internal.Struct(
    CopyOutputResultSpec.$,
    'CopyOutputResult',
    [
      mojo.internal.StructField(
        'format', 0,
        0,
        CopyOutputResultFormatSpec.$,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'destination', 4,
        0,
        CopyOutputResultDestinationSpec.$,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'rect', 8,
        0,
        gfx_mojom_RectSpec.$,
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'bitmap', 16,
        0,
        viz_mojom_BitmapInSharedMemorySpec.$,
        null,
        true /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'mailbox', 24,
        0,
        gpu_mojom_MailboxSpec.$,
        null,
        true /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'colorSpace', 32,
        0,
        gfx_mojom_ColorSpaceSpec.$,
        null,
        true /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'releaser', 40,
        0,
        mojo.internal.InterfaceProxy(viz_mojom_TextureReleaserRemote),
        null,
        true /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'error', 48,
        0,
        CopyOutputResultErrorSpec.$,
        0,
        false /* nullable */,
        0,
      ),
    ],
    [[0, 64],]);



/**
 * @record
 */
export class CopyOutputResult {
  constructor() {
    /** @type { !CopyOutputResultFormat } */
    this.format;
    /** @type { !CopyOutputResultDestination } */
    this.destination;
    /** @type { !gfx_mojom_Rect } */
    this.rect;
    /** @type { (viz_mojom_BitmapInSharedMemory|undefined) } */
    this.bitmap;
    /** @type { (gpu_mojom_Mailbox|undefined) } */
    this.mailbox;
    /** @type { (gfx_mojom_ColorSpace|undefined) } */
    this.colorSpace;
    /** @type { (viz_mojom_TextureReleaserRemote|undefined) } */
    this.releaser;
    /** @type { !CopyOutputResultError } */
    this.error;
  }
}