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 files151Next files →

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

gen/third_party/blink/public/mojom/persistent_renderer_prefs.mojom.m.js

JavaScript · 6,552 bytes
// third_party/blink/public/mojom/persistent_renderer_prefs.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';




/**
 * @implements {mojo.internal.interfaceSupport.PendingReceiver}
 */
export class PersistentRendererPrefsServicePendingReceiver {
  /**
   * @param {!MojoHandle|!mojo.internal.interfaceSupport.Endpoint} handle
   */
  constructor(handle) {
    /** @public {!mojo.internal.interfaceSupport.Endpoint} */
    this.handle = mojo.internal.interfaceSupport.getEndpointForReceiver(handle);
  }

  /** @param {string=} scope */
  bindInBrowser(scope = 'context') {
    mojo.internal.interfaceSupport.bind(
        this.handle, 'blink.mojom.PersistentRendererPrefsService', scope);
  }
}

/** @interface */
export class PersistentRendererPrefsServiceInterface {
  
  /**
   * @param { !boolean } value
   */

  setViewSourceLineWrapping(value) {}
}

/**
 * @implements { PersistentRendererPrefsServiceInterface }
 */
export class PersistentRendererPrefsServiceRemote {
  /** @param {MojoHandle|mojo.internal.interfaceSupport.Endpoint=} handle */
  constructor(handle = undefined) {
    /**
     * @private {!mojo.internal.interfaceSupport.InterfaceRemoteBase<!PersistentRendererPrefsServicePendingReceiver>}
     */
    this.proxy =
        new mojo.internal.interfaceSupport.InterfaceRemoteBase(
          PersistentRendererPrefsServicePendingReceiver,
          handle);

    /**
     * @public {!mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper<!PersistentRendererPrefsServicePendingReceiver>}
     */
    this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);

    /** @public {!mojo.internal.interfaceSupport.ConnectionErrorEventRouter} */
    this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
  }

  
  /**
   * @param { !boolean } value
   */

  setViewSourceLineWrapping(
      value) {
    this.proxy.sendMessage(
        0,
        PersistentRendererPrefsService_SetViewSourceLineWrapping_ParamsSpec.$,
        null,
        [
          value
        ],
        false);
  }
}

/**
 * An object which receives request messages for the PersistentRendererPrefsService
 * mojom interface. Must be constructed over an object which implements that
 * interface.
 */
export class PersistentRendererPrefsServiceReceiver {
  /**
   * @param {!PersistentRendererPrefsServiceInterface } impl
   */
  constructor(impl) {
    /** @private {!mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal<!PersistentRendererPrefsServiceRemote>} */
    this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(
        PersistentRendererPrefsServiceRemote);

    /**
     * @public {!mojo.internal.interfaceSupport.InterfaceReceiverHelper<!PersistentRendererPrefsServiceRemote>}
     */
    this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);


    this.helper_internal_.registerHandler(
        0,
        PersistentRendererPrefsService_SetViewSourceLineWrapping_ParamsSpec.$,
        null,
        impl.setViewSourceLineWrapping.bind(impl),
        false);
    /** @public {!mojo.internal.interfaceSupport.ConnectionErrorEventRouter} */
    this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
  }
}

export class PersistentRendererPrefsService {
  /**
   * @return {!string}
   */
  static get $interfaceName() {
    return "blink.mojom.PersistentRendererPrefsService";
  }

  /**
   * Returns a remote for this interface which sends messages to the browser.
   * The browser must have an interface request binder registered for this
   * interface and accessible to the calling document's frame.
   *
   * @return {!PersistentRendererPrefsServiceRemote}
   */
  static getRemote() {
    let remote = new PersistentRendererPrefsServiceRemote;
    remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
    return remote;
  }
}


/**
 * An object which receives request messages for the PersistentRendererPrefsService
 * mojom interface and dispatches them as callbacks. One callback receiver exists
 * on this object for each message defined in the mojom interface, and each
 * receiver can have any number of listeners added to it.
 */
export class PersistentRendererPrefsServiceCallbackRouter {
  constructor() {
    this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(
      PersistentRendererPrefsServiceRemote);

    /**
     * @public {!mojo.internal.interfaceSupport.InterfaceReceiverHelper<!PersistentRendererPrefsServiceRemote>}
     */
    this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);

    this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;

    /**
     * @public {!mojo.internal.interfaceSupport.InterfaceCallbackReceiver}
     */
    this.setViewSourceLineWrapping =
        new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(
            this.router_);

    this.helper_internal_.registerHandler(
        0,
        PersistentRendererPrefsService_SetViewSourceLineWrapping_ParamsSpec.$,
        null,
        this.setViewSourceLineWrapping.createReceiverHandler(false /* expectsResponse */),
        false);
    /** @public {!mojo.internal.interfaceSupport.ConnectionErrorEventRouter} */
    this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
  }

  /**
   * @param {number} id An ID returned by a prior call to addListener.
   * @return {boolean} True iff the identified listener was found and removed.
   */
  removeListener(id) {
    return this.router_.removeListener(id);
  }
}

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




mojo.internal.Struct(
    PersistentRendererPrefsService_SetViewSourceLineWrapping_ParamsSpec.$,
    'PersistentRendererPrefsService_SetViewSourceLineWrapping_Params',
    [
      mojo.internal.StructField(
        'value', 0,
        0,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
    ],
    [[0, 16],]);



/**
 * @record
 */
export class PersistentRendererPrefsService_SetViewSourceLineWrapping_Params {
  constructor() {
    /** @type { !boolean } */
    this.value;
  }
}