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 files11

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

gen/ui/display/mojom/display.mojom.m.js

JavaScript · 5,374 bytes
// ui/display/mojom/display.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 {
  Point as gfx_mojom_Point,
  PointSpec as gfx_mojom_PointSpec,
  Rect as gfx_mojom_Rect,
  RectSpec as gfx_mojom_RectSpec,
  Size as gfx_mojom_Size,
  SizeSpec as gfx_mojom_SizeSpec
} from '../../gfx/geometry/mojom/geometry.mojom.m.js';

import {
  DisplayColorSpaces as gfx_mojom_DisplayColorSpaces,
  DisplayColorSpacesSpec as gfx_mojom_DisplayColorSpacesSpec
} from '../../gfx/mojom/display_color_spaces.mojom.m.js';


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

/**
 * @enum {number}
 */
export const Rotation = {
  
  VALUE_0: 0,
  VALUE_90: 1,
  VALUE_180: 2,
  VALUE_270: 3,
  MIN_VALUE: 0,
  MAX_VALUE: 3,
};

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

/**
 * @enum {number}
 */
export const TouchSupport = {
  
  UNKNOWN: 0,
  AVAILABLE: 1,
  UNAVAILABLE: 2,
  MIN_VALUE: 0,
  MAX_VALUE: 2,
};

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

/**
 * @enum {number}
 */
export const AccelerometerSupport = {
  
  UNKNOWN: 0,
  AVAILABLE: 1,
  UNAVAILABLE: 2,
  MIN_VALUE: 0,
  MAX_VALUE: 2,
};


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




mojo.internal.Struct(
    DisplaySpec.$,
    'Display',
    [
      mojo.internal.StructField(
        'id', 0,
        0,
        mojo.internal.Int64,
        BigInt(0),
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'bounds', 8,
        0,
        gfx_mojom_RectSpec.$,
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'sizeInPixels', 16,
        0,
        gfx_mojom_SizeSpec.$,
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'nativeOrigin', 24,
        0,
        gfx_mojom_PointSpec.$,
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'workArea', 32,
        0,
        gfx_mojom_RectSpec.$,
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'deviceScaleFactor', 40,
        0,
        mojo.internal.Float,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'rotation', 44,
        0,
        RotationSpec.$,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'touchSupport', 48,
        0,
        TouchSupportSpec.$,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'accelerometerSupport', 52,
        0,
        AccelerometerSupportSpec.$,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'maximumCursorSize', 56,
        0,
        gfx_mojom_SizeSpec.$,
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'colorSpaces', 64,
        0,
        gfx_mojom_DisplayColorSpacesSpec.$,
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'colorDepth', 72,
        0,
        mojo.internal.Int32,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'depthPerComponent', 76,
        0,
        mojo.internal.Int32,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'isMonochrome', 80,
        0,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'displayFrequency', 84,
        0,
        mojo.internal.Float,
        0,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'label', 88,
        0,
        mojo.internal.String,
        null,
        false /* nullable */,
        0,
      ),
    ],
    [[0, 104],]);



/**
 * @record
 */
export class Display {
  constructor() {
    /** @type { !bigint } */
    this.id;
    /** @type { !gfx_mojom_Rect } */
    this.bounds;
    /** @type { !gfx_mojom_Size } */
    this.sizeInPixels;
    /** @type { !gfx_mojom_Point } */
    this.nativeOrigin;
    /** @type { !gfx_mojom_Rect } */
    this.workArea;
    /** @type { !number } */
    this.deviceScaleFactor;
    /** @type { !Rotation } */
    this.rotation;
    /** @type { !TouchSupport } */
    this.touchSupport;
    /** @type { !AccelerometerSupport } */
    this.accelerometerSupport;
    /** @type { !gfx_mojom_Size } */
    this.maximumCursorSize;
    /** @type { !gfx_mojom_DisplayColorSpaces } */
    this.colorSpaces;
    /** @type { !number } */
    this.colorDepth;
    /** @type { !number } */
    this.depthPerComponent;
    /** @type { !boolean } */
    this.isMonochrome;
    /** @type { !number } */
    this.displayFrequency;
    /** @type { !string } */
    this.label;
  }
}