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

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

gen/services/network/public/mojom/cookie_partition_key.mojom.m.js

JavaScript · 2,892 bytes
// services/network/public/mojom/cookie_partition_key.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 {
  UnguessableToken as mojoBase_mojom_UnguessableToken,
  UnguessableTokenSpec as mojoBase_mojom_UnguessableTokenSpec
} from '../../../../mojo/public/mojom/base/unguessable_token.mojom.m.js';

import {
  SchemefulSite as network_mojom_SchemefulSite,
  SchemefulSiteSpec as network_mojom_SchemefulSiteSpec
} from './schemeful_site.mojom.m.js';


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

/**
 * @enum {number}
 */
export const AncestorChainBit = {
  
  kSameSite: 0,
  kCrossSite: 1,
  MIN_VALUE: 0,
  MAX_VALUE: 1,
};


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

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




mojo.internal.Struct(
    CookiePartitionKeySpec.$,
    'CookiePartitionKey',
    [
      mojo.internal.StructField(
        'site', 0,
        0,
        network_mojom_SchemefulSiteSpec.$,
        null,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'nonce', 8,
        0,
        mojoBase_mojom_UnguessableTokenSpec.$,
        null,
        true /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'ancestorChainBit', 16,
        0,
        AncestorChainBitSpec.$,
        AncestorChainBit.kCrossSite,
        false /* nullable */,
        0,
      ),
    ],
    [[0, 32],]);



/**
 * @record
 */
export class CookiePartitionKey {
  constructor() {
    /** @type { !network_mojom_SchemefulSite } */
    this.site;
    /** @type { (mojoBase_mojom_UnguessableToken|undefined) } */
    this.nonce;
    /** @type { !AncestorChainBit } */
    this.ancestorChainBit;
  }
}



mojo.internal.Struct(
    CookiePartitionKeyCollectionSpec.$,
    'CookiePartitionKeyCollection',
    [
      mojo.internal.StructField(
        'containsAllPartitions', 0,
        0,
        mojo.internal.Bool,
        false,
        false /* nullable */,
        0,
      ),
      mojo.internal.StructField(
        'keys', 8,
        0,
        mojo.internal.Array(CookiePartitionKeySpec.$, false),
        null,
        false /* nullable */,
        0,
      ),
    ],
    [[0, 24],]);



/**
 * @record
 */
export class CookiePartitionKeyCollection {
  constructor() {
    /** @type { !boolean } */
    this.containsAllPartitions;
    /** @type { !Array<!CookiePartitionKey> } */
    this.keys;
  }
}