Exploit databaseDownload repository ZIP
GH-839c07bcf7b2d736ed82c382de889ad5
valencenavy/isolatedanarchy-public
Sources for CVE-2026-87492
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files14
valencenavy/isolatedanarchy-publicRevision 826a1554d9bc
- ↑..Parent directory
- file_system_access_access_handle_host.mojom.m.js
- file_system_access_cloud_identifier.mojom.m.js
- file_system_access_data_transfer_token.mojom.m.js
- file_system_access_directory_handle.mojom.m.js
- file_system_access_error.mojom.m.js
- file_system_access_file_delegate_host.mojom.m.js
- file_system_access_file_handle.mojom.m.js
- file_system_access_file_modification_host.mojom.m.js
- file_system_access_file_writer.mojom.m.js
- file_system_access_manager.mojom.m.js
- file_system_access_observer.mojom.m.js
- file_system_access_observer_host.mojom.m.js
- file_system_access_permission_mode.mojom.m.js
- file_system_access_transfer_token.mojom.m.js
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
gen/third_party/blink/public/mojom/file_system_access/file_system_access_data_transfer_token.mojom.m.js
JavaScript · 9,327 bytes// third_party/blink/public/mojom/file_system_access/file_system_access_data_transfer_token.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';
/**
* @implements {mojo.internal.interfaceSupport.PendingReceiver}
*/
export class FileSystemAccessDataTransferTokenPendingReceiver {
/**
* @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.FileSystemAccessDataTransferToken', scope);
}
}
/** @interface */
export class FileSystemAccessDataTransferTokenInterface {
/**
* @return {!Promise<{
id: !mojoBase_mojom_UnguessableToken,
* }>}
*/
getInternalId() {}
/**
* @param { !FileSystemAccessDataTransferTokenPendingReceiver } tokenClone
*/
clone(tokenClone) {}
}
/**
* @implements { FileSystemAccessDataTransferTokenInterface }
*/
export class FileSystemAccessDataTransferTokenRemote {
/** @param {MojoHandle|mojo.internal.interfaceSupport.Endpoint=} handle */
constructor(handle = undefined) {
/**
* @private {!mojo.internal.interfaceSupport.InterfaceRemoteBase<!FileSystemAccessDataTransferTokenPendingReceiver>}
*/
this.proxy =
new mojo.internal.interfaceSupport.InterfaceRemoteBase(
FileSystemAccessDataTransferTokenPendingReceiver,
handle);
/**
* @public {!mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper<!FileSystemAccessDataTransferTokenPendingReceiver>}
*/
this.$ = new mojo.internal.interfaceSupport.InterfaceRemoteBaseWrapper(this.proxy);
/** @public {!mojo.internal.interfaceSupport.ConnectionErrorEventRouter} */
this.onConnectionError = this.proxy.getConnectionErrorEventRouter();
}
/**
* @return {!Promise<{
id: !mojoBase_mojom_UnguessableToken,
* }>}
*/
getInternalId() {
return this.proxy.sendMessage(
0,
FileSystemAccessDataTransferToken_GetInternalId_ParamsSpec.$,
FileSystemAccessDataTransferToken_GetInternalId_ResponseParamsSpec.$,
[
],
false);
}
/**
* @param { !FileSystemAccessDataTransferTokenPendingReceiver } tokenClone
*/
clone(
tokenClone) {
this.proxy.sendMessage(
1,
FileSystemAccessDataTransferToken_Clone_ParamsSpec.$,
null,
[
tokenClone
],
false);
}
}
/**
* An object which receives request messages for the FileSystemAccessDataTransferToken
* mojom interface. Must be constructed over an object which implements that
* interface.
*/
export class FileSystemAccessDataTransferTokenReceiver {
/**
* @param {!FileSystemAccessDataTransferTokenInterface } impl
*/
constructor(impl) {
/** @private {!mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal<!FileSystemAccessDataTransferTokenRemote>} */
this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(
FileSystemAccessDataTransferTokenRemote);
/**
* @public {!mojo.internal.interfaceSupport.InterfaceReceiverHelper<!FileSystemAccessDataTransferTokenRemote>}
*/
this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
this.helper_internal_.registerHandler(
0,
FileSystemAccessDataTransferToken_GetInternalId_ParamsSpec.$,
FileSystemAccessDataTransferToken_GetInternalId_ResponseParamsSpec.$,
impl.getInternalId.bind(impl),
false);
this.helper_internal_.registerHandler(
1,
FileSystemAccessDataTransferToken_Clone_ParamsSpec.$,
null,
impl.clone.bind(impl),
false);
/** @public {!mojo.internal.interfaceSupport.ConnectionErrorEventRouter} */
this.onConnectionError = this.helper_internal_.getConnectionErrorEventRouter();
}
}
export class FileSystemAccessDataTransferToken {
/**
* @return {!string}
*/
static get $interfaceName() {
return "blink.mojom.FileSystemAccessDataTransferToken";
}
/**
* 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 {!FileSystemAccessDataTransferTokenRemote}
*/
static getRemote() {
let remote = new FileSystemAccessDataTransferTokenRemote;
remote.$.bindNewPipeAndPassReceiver().bindInBrowser();
return remote;
}
}
/**
* An object which receives request messages for the FileSystemAccessDataTransferToken
* 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 FileSystemAccessDataTransferTokenCallbackRouter {
constructor() {
this.helper_internal_ = new mojo.internal.interfaceSupport.InterfaceReceiverHelperInternal(
FileSystemAccessDataTransferTokenRemote);
/**
* @public {!mojo.internal.interfaceSupport.InterfaceReceiverHelper<!FileSystemAccessDataTransferTokenRemote>}
*/
this.$ = new mojo.internal.interfaceSupport.InterfaceReceiverHelper(this.helper_internal_);
this.router_ = new mojo.internal.interfaceSupport.CallbackRouter;
/**
* @public {!mojo.internal.interfaceSupport.InterfaceCallbackReceiver}
*/
this.getInternalId =
new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(
this.router_);
this.helper_internal_.registerHandler(
0,
FileSystemAccessDataTransferToken_GetInternalId_ParamsSpec.$,
FileSystemAccessDataTransferToken_GetInternalId_ResponseParamsSpec.$,
this.getInternalId.createReceiverHandler(true /* expectsResponse */),
false);
/**
* @public {!mojo.internal.interfaceSupport.InterfaceCallbackReceiver}
*/
this.clone =
new mojo.internal.interfaceSupport.InterfaceCallbackReceiver(
this.router_);
this.helper_internal_.registerHandler(
1,
FileSystemAccessDataTransferToken_Clone_ParamsSpec.$,
null,
this.clone.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 FileSystemAccessDataTransferToken_GetInternalId_ParamsSpec =
{ $: /** @type {!mojo.internal.MojomType} */ ({}) };
/**
* @const { {$:!mojo.internal.MojomType}}
*/
export const FileSystemAccessDataTransferToken_GetInternalId_ResponseParamsSpec =
{ $: /** @type {!mojo.internal.MojomType} */ ({}) };
/**
* @const { {$:!mojo.internal.MojomType}}
*/
export const FileSystemAccessDataTransferToken_Clone_ParamsSpec =
{ $: /** @type {!mojo.internal.MojomType} */ ({}) };
mojo.internal.Struct(
FileSystemAccessDataTransferToken_GetInternalId_ParamsSpec.$,
'FileSystemAccessDataTransferToken_GetInternalId_Params',
[
],
[[0, 8],]);
/**
* @record
*/
export class FileSystemAccessDataTransferToken_GetInternalId_Params {
constructor() {
}
}
mojo.internal.Struct(
FileSystemAccessDataTransferToken_GetInternalId_ResponseParamsSpec.$,
'FileSystemAccessDataTransferToken_GetInternalId_ResponseParams',
[
mojo.internal.StructField(
'id', 0,
0,
mojoBase_mojom_UnguessableTokenSpec.$,
null,
false /* nullable */,
0,
),
],
[[0, 16],]);
/**
* @record
*/
export class FileSystemAccessDataTransferToken_GetInternalId_ResponseParams {
constructor() {
/** @type { !mojoBase_mojom_UnguessableToken } */
this.id;
}
}
mojo.internal.Struct(
FileSystemAccessDataTransferToken_Clone_ParamsSpec.$,
'FileSystemAccessDataTransferToken_Clone_Params',
[
mojo.internal.StructField(
'tokenClone', 0,
0,
mojo.internal.InterfaceRequest(FileSystemAccessDataTransferTokenPendingReceiver),
null,
false /* nullable */,
0,
),
],
[[0, 16],]);
/**
* @record
*/
export class FileSystemAccessDataTransferToken_Clone_Params {
constructor() {
/** @type { !FileSystemAccessDataTransferTokenPendingReceiver } */
this.tokenClone;
}
}