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 files26
valencenavy/isolatedanarchy-publicRevision 826a1554d9bc

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

gen/ui/gfx/mojom/color_space.mojom.m.js

JavaScript · 3,776 bytes
// ui/gfx/mojom/color_space.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';


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

/**
 * @enum {number}
 */
export const ColorSpacePrimaryID = {
  
  INVALID: 0,
  BT709: 1,
  BT470M: 2,
  BT470BG: 3,
  SMPTE170M: 4,
  SMPTE240M: 5,
  FILM: 6,
  BT2020: 7,
  SMPTEST428_1: 8,
  SMPTEST431_2: 9,
  P3: 10,
  XYZ_D50: 11,
  ADOBE_RGB: 12,
  APPLE_GENERIC_RGB: 13,
  WIDE_GAMUT_COLOR_SPIN: 14,
  CUSTOM: 15,
  EBU_3213_E: 16,
  MIN_VALUE: 0,
  MAX_VALUE: 16,
};

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

/**
 * @enum {number}
 */
export const ColorSpaceTransferID = {
  
  INVALID: 0,
  BT709: 1,
  BT709_APPLE: 2,
  GAMMA18: 3,
  GAMMA22: 4,
  GAMMA24: 5,
  GAMMA28: 6,
  SMPTE170M: 7,
  SMPTE240M: 8,
  LINEAR: 9,
  LOG: 10,
  LOG_SQRT: 11,
  IEC61966_2_4: 12,
  BT1361_ECG: 13,
  SRGB: 14,
  BT2020_10: 15,
  BT2020_12: 16,
  PQ: 17,
  SMPTEST428_1: 18,
  HLG: 19,
  SRGB_HDR: 20,
  LINEAR_HDR: 21,
  CUSTOM: 22,
  CUSTOM_HDR: 23,
  SCRGB_LINEAR_80_NITS: 24,
  MIN_VALUE: 0,
  MAX_VALUE: 24,
};

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

/**
 * @enum {number}
 */
export const ColorSpaceMatrixID = {
  
  INVALID: 0,
  RGB: 1,
  BT709: 2,
  FCC: 3,
  BT470BG: 4,
  SMPTE170M: 5,
  SMPTE240M: 6,
  YCOCG: 7,
  BT2020_NCL: 8,
  YDZDX: 9,
  GBR: 10,
  MIN_VALUE: 0,
  MAX_VALUE: 10,
};

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

/**
 * @enum {number}
 */
export const ColorSpaceRangeID = {
  
  INVALID: 0,
  LIMITED: 1,
  FULL: 2,
  DERIVED: 3,
  MIN_VALUE: 0,
  MAX_VALUE: 3,
};


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




mojo.internal.Struct(
    ColorSpaceSpec.$,
    'ColorSpace',
    [
      mojo.internal.StructField(
        'primaries', 0,
        0,
        ColorSpacePrimaryIDSpec.$,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'transfer', 4,
        0,
        ColorSpaceTransferIDSpec.$,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'matrix', 8,
        0,
        ColorSpaceMatrixIDSpec.$,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'range', 12,
        0,
        ColorSpaceRangeIDSpec.$,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'customPrimaryMatrix', 16,
        0,
        mojo.internal.Array(mojo.internal.Float, false),
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'transferParams', 24,
        0,
        mojo.internal.Array(mojo.internal.Float, false),
        null,
        false /* nullable */,
        0,
      ),
    ],
    [[0, 40],]);



/**
 * @record
 */
export class ColorSpace {
  constructor() {
    /** @type { !ColorSpacePrimaryID } */
    this.primaries;
    /** @type { !ColorSpaceTransferID } */
    this.transfer;
    /** @type { !ColorSpaceMatrixID } */
    this.matrix;
    /** @type { !ColorSpaceRangeID } */
    this.range;
    /** @type { !Array<!number> } */
    this.customPrimaryMatrix;
    /** @type { !Array<!number> } */
    this.transferParams;
  }
}